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:
michaelschal committed 2025-08-13 11:00:27 +00:00
1 parent 967f34ae7f
commit 955f3d3b3d
1 file changed
+12
+12
View File
@@ -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(),