From 955f3d3b3d65e58c179ca9b129f3f6bdc96ed855 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Wed, 13 Aug 2025 11:00:27 +0000 Subject: [PATCH] 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 --- shared/schema.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/shared/schema.ts b/shared/schema.ts index 7f49911..b0e8e9e 100644 --- a/shared/schema.ts +++ b/shared/schema.ts @@ -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(),