mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Add schemas for NocoDB configuration and invoice verification
Add Zod schemas for inserting NocoDB configuration and invoice verification cache data. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7c468936-2a88-4686-ac0a-84921a45222d Replit-Commit-Checkpoint-Type: full_checkpoint
This commit is contained in:
1 parent
967f34ae7f
commit
955f3d3b3d
1 file changed
+12
@@ -174,6 +174,18 @@ export const invoiceVerificationCache = pgTable("invoice_verification_cache", {
|
||||
updatedAt: timestamp("updated_at").defaultNow(),
|
||||
});
|
||||
|
||||
export const insertNocodbConfigSchema = createInsertSchema(nocodbConfig).omit({
|
||||
id: true,
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
});
|
||||
|
||||
export const insertInvoiceVerificationCacheSchema = createInsertSchema(invoiceVerificationCache).omit({
|
||||
id: true,
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
});
|
||||
|
||||
// Customer Orders (Commandes Client)
|
||||
export const customerOrders = pgTable("customer_orders", {
|
||||
id: serial("id").primaryKey(),
|
||||
|
||||
Reference in new issue
Block a user