@eristack/qups
Version:
Quantity / unit price / subtotal (QUPS) with 2-of-3 sources of truth, plus modifiers and tax — business line pricing on @eristack/money
26 lines (25 loc) • 733 B
JavaScript
import {
QUPS_COLLECTIONS,
createBackseatPricingLineStore,
createBackseatPricingProfileStore
} from "../../chunk-CJS77QP5.js";
import "../../chunk-UP24CFOV.js";
// src/backseat/store/index.ts
import { createIndexedDbBackseatStore } from "@eristack/backseat/store";
function createIndexedDbQupsStores(options = {}) {
const backseatStore = createIndexedDbBackseatStore({
dbName: options.dbName
});
return {
backseatStore,
profiles: createBackseatPricingProfileStore(backseatStore),
lines: createBackseatPricingLineStore(backseatStore)
};
}
export {
QUPS_COLLECTIONS,
createBackseatPricingLineStore,
createBackseatPricingProfileStore,
createIndexedDbQupsStores
};
//# sourceMappingURL=index.js.map