@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
24 lines • 638 B
TypeScript
export type DrizzleDialect = "pgsql" | "mysql" | "sqlite";
/**
* App-owned Drizzle database handle.
* Typed loosely so real `drizzle(...)` clients inject without friction.
*/
export interface DrizzleLikeDb {
insert: (table: any) => {
values: (values: any) => any;
};
select: () => {
from: (table: any) => {
where: (condition: any) => any;
};
};
update: (table: any) => {
set: (values: any) => {
where: (condition: any) => any;
};
};
delete: (table: any) => {
where: (condition: any) => any;
};
}
//# sourceMappingURL=types.d.ts.map