@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
5 lines • 391 B
TypeScript
/** Runtime source of truth for {@link QupsTruthMode} — do not duplicate in consumers. */
export declare const QUPS_TRUTH_MODES: readonly ["quantity+unitPrice", "quantity+subtotal", "unitPrice+subtotal"];
export type QupsTruthMode = (typeof QUPS_TRUTH_MODES)[number];
export declare function isQupsTruthMode(value: unknown): value is QupsTruthMode;
//# sourceMappingURL=truth-mode.d.ts.map