|
1 | 1 | import { drizzleZeroConfig } from "drizzle-zero"; |
2 | | -import * as drizzleSchema from "@drizzle-zero/db/schema"; |
| 2 | +import * as drizzleSchema from "./drizzle"; |
3 | 3 |
|
4 | 4 | export const schema = drizzleZeroConfig(drizzleSchema, { |
5 | 5 | tables: { |
6 | | - user: { |
7 | | - createdAt: true, |
8 | | - updatedAt: true, |
9 | | - id: true, |
10 | | - name: true, |
11 | | - partner: true, |
12 | | - email: true, |
13 | | - customTypeJson: true, |
14 | | - customInterfaceJson: true, |
15 | | - testInterface: true, |
16 | | - testType: true, |
17 | | - testExportedType: true, |
18 | | - }, |
19 | | - medium: { |
20 | | - createdAt: true, |
21 | | - updatedAt: true, |
22 | | - id: true, |
23 | | - name: true, |
24 | | - }, |
25 | | - message: { |
26 | | - createdAt: true, |
27 | | - updatedAt: true, |
28 | | - id: true, |
29 | | - senderId: true, |
30 | | - mediumId: true, |
31 | | - body: true, |
32 | | - metadata: true, |
33 | | - }, |
34 | 6 | allTypes: true, |
| 7 | + analyticsDashboard: true, |
| 8 | + analyticsWidget: true, |
| 9 | + analyticsWidgetQuery: true, |
| 10 | + benefitEnrollment: true, |
| 11 | + benefitPlan: true, |
| 12 | + billingInvoice: true, |
| 13 | + billingInvoiceLine: true, |
| 14 | + budget: true, |
| 15 | + budgetLine: true, |
| 16 | + crmAccount: true, |
| 17 | + crmActivity: true, |
| 18 | + crmActivityType: true, |
| 19 | + crmContact: true, |
| 20 | + crmNote: true, |
| 21 | + crmOpportunity: true, |
| 22 | + crmOpportunityStageHistory: true, |
| 23 | + crmPipelineStage: true, |
| 24 | + department: true, |
| 25 | + documentFile: true, |
| 26 | + documentFileVersion: true, |
| 27 | + documentFolder: true, |
| 28 | + documentLibrary: true, |
| 29 | + documentSharing: true, |
| 30 | + employeeDocument: true, |
| 31 | + employeeProfile: true, |
| 32 | + employmentHistory: true, |
| 33 | + expenseItem: true, |
| 34 | + expenseReport: true, |
| 35 | + filters: true, |
35 | 36 | friendship: true, |
36 | | - filters: { |
37 | | - id: true, |
38 | | - name: true, |
39 | | - parentId: true, |
40 | | - }, |
| 37 | + integrationCredential: true, |
| 38 | + integrationEvent: true, |
| 39 | + integrationWebhook: true, |
| 40 | + inventoryItem: true, |
| 41 | + inventoryLevel: true, |
| 42 | + inventoryLocation: true, |
| 43 | + ledgerAccount: true, |
| 44 | + ledgerEntry: true, |
| 45 | + ledgerTransaction: true, |
| 46 | + marketingAudience: true, |
| 47 | + marketingCampaign: true, |
| 48 | + marketingCampaignAudience: true, |
| 49 | + marketingCampaignChannel: true, |
| 50 | + marketingChannel: true, |
| 51 | + medium: true, |
| 52 | + message: true, |
| 53 | + omittedTable: true, |
| 54 | + orderItem: true, |
| 55 | + orderPayment: true, |
| 56 | + orderTable: true, |
| 57 | + payment: true, |
| 58 | + product: true, |
| 59 | + productCategory: true, |
| 60 | + productMedia: true, |
| 61 | + productVariant: true, |
| 62 | + project: true, |
| 63 | + projectAssignment: true, |
| 64 | + projectAttachment: true, |
| 65 | + projectAudit: true, |
| 66 | + projectComment: true, |
| 67 | + projectNote: true, |
| 68 | + projectPhase: true, |
| 69 | + projectTag: true, |
| 70 | + projectTask: true, |
| 71 | + projectTaskTag: true, |
| 72 | + projectTaskTagLink: true, |
| 73 | + shipment: true, |
| 74 | + shipmentItem: true, |
| 75 | + supportTicket: true, |
| 76 | + supportTicketAssignment: true, |
| 77 | + supportTicketAudit: true, |
| 78 | + supportTicketMessage: true, |
| 79 | + supportTicketTag: true, |
| 80 | + supportTicketTagLink: true, |
| 81 | + team: true, |
| 82 | + timeEntry: true, |
| 83 | + timesheet: true, |
| 84 | + user: true, |
41 | 85 | }, |
42 | 86 | manyToMany: { |
43 | 87 | user: { |
|
0 commit comments