@revealui/db 0.2.1 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audit-store.d.ts.map +1 -1
- package/dist/audit-store.js.map +1 -1
- package/dist/cleanup/cross-db-cleanup.d.ts +82 -0
- package/dist/cleanup/cross-db-cleanup.d.ts.map +1 -0
- package/dist/cleanup/cross-db-cleanup.js +189 -0
- package/dist/cleanup/cross-db-cleanup.js.map +1 -0
- package/dist/cleanup/index.d.ts +11 -0
- package/dist/cleanup/index.d.ts.map +1 -0
- package/dist/cleanup/index.js +11 -0
- package/dist/cleanup/index.js.map +1 -0
- package/dist/cleanup/rag-site-cleanup.d.ts +58 -0
- package/dist/cleanup/rag-site-cleanup.d.ts.map +1 -0
- package/dist/cleanup/rag-site-cleanup.js +68 -0
- package/dist/cleanup/rag-site-cleanup.js.map +1 -0
- package/dist/cleanup/stale-tokens.d.ts +37 -0
- package/dist/cleanup/stale-tokens.d.ts.map +1 -0
- package/dist/cleanup/stale-tokens.js +113 -0
- package/dist/cleanup/stale-tokens.js.map +1 -0
- package/dist/client/index.d.ts +14 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +49 -13
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.d.ts.map +1 -1
- package/dist/crypto.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/log-transport.d.ts.map +1 -1
- package/dist/log-transport.js +3 -1
- package/dist/log-transport.js.map +1 -1
- package/dist/pool.d.ts +2 -1
- package/dist/pool.d.ts.map +1 -1
- package/dist/pool.js +56 -22
- package/dist/pool.js.map +1 -1
- package/dist/queries/boards.d.ts +13 -1
- package/dist/queries/boards.d.ts.map +1 -1
- package/dist/queries/boards.js +5 -2
- package/dist/queries/boards.js.map +1 -1
- package/dist/queries/code-provenance.d.ts.map +1 -1
- package/dist/queries/code-provenance.js.map +1 -1
- package/dist/queries/conversations.d.ts +29 -0
- package/dist/queries/conversations.d.ts.map +1 -0
- package/dist/queries/conversations.js +80 -0
- package/dist/queries/conversations.js.map +1 -0
- package/dist/queries/media.d.ts +9 -0
- package/dist/queries/media.d.ts.map +1 -1
- package/dist/queries/media.js +23 -13
- package/dist/queries/media.js.map +1 -1
- package/dist/queries/orders.d.ts +87 -0
- package/dist/queries/orders.d.ts.map +1 -0
- package/dist/queries/orders.js +36 -0
- package/dist/queries/orders.js.map +1 -0
- package/dist/queries/pages.d.ts +10 -0
- package/dist/queries/pages.d.ts.map +1 -1
- package/dist/queries/pages.js +19 -5
- package/dist/queries/pages.js.map +1 -1
- package/dist/queries/posts.d.ts +41 -0
- package/dist/queries/posts.d.ts.map +1 -1
- package/dist/queries/posts.js +38 -5
- package/dist/queries/posts.js.map +1 -1
- package/dist/queries/products.d.ts +102 -0
- package/dist/queries/products.d.ts.map +1 -0
- package/dist/queries/products.js +55 -0
- package/dist/queries/products.js.map +1 -0
- package/dist/queries/sites.d.ts +36 -1
- package/dist/queries/sites.d.ts.map +1 -1
- package/dist/queries/sites.js +45 -5
- package/dist/queries/sites.js.map +1 -1
- package/dist/queries/ticket-comments.d.ts +34 -1
- package/dist/queries/ticket-comments.d.ts.map +1 -1
- package/dist/queries/ticket-comments.js +32 -1
- package/dist/queries/ticket-comments.js.map +1 -1
- package/dist/queries/ticket-labels.d.ts +10 -0
- package/dist/queries/ticket-labels.d.ts.map +1 -1
- package/dist/queries/ticket-labels.js +4 -0
- package/dist/queries/ticket-labels.js.map +1 -1
- package/dist/queries/tickets.d.ts +42 -1
- package/dist/queries/tickets.d.ts.map +1 -1
- package/dist/queries/tickets.js +28 -7
- package/dist/queries/tickets.js.map +1 -1
- package/dist/queries/users.d.ts +221 -0
- package/dist/queries/users.d.ts.map +1 -0
- package/dist/queries/users.js +94 -0
- package/dist/queries/users.js.map +1 -0
- package/dist/schema/accounts.d.ts +962 -0
- package/dist/schema/accounts.d.ts.map +1 -0
- package/dist/schema/accounts.js +117 -0
- package/dist/schema/accounts.js.map +1 -0
- package/dist/schema/agents.d.ts +216 -1
- package/dist/schema/agents.d.ts.map +1 -1
- package/dist/schema/agents.js +61 -6
- package/dist/schema/agents.js.map +1 -1
- package/dist/schema/api-keys.d.ts +17 -0
- package/dist/schema/api-keys.d.ts.map +1 -1
- package/dist/schema/api-keys.js +3 -0
- package/dist/schema/api-keys.js.map +1 -1
- package/dist/schema/app-logs.d.ts.map +1 -1
- package/dist/schema/app-logs.js.map +1 -1
- package/dist/schema/audit-log.d.ts.map +1 -1
- package/dist/schema/audit-log.js.map +1 -1
- package/dist/schema/circuit-breaker.d.ts +139 -0
- package/dist/schema/circuit-breaker.d.ts.map +1 -0
- package/dist/schema/circuit-breaker.js +28 -0
- package/dist/schema/circuit-breaker.js.map +1 -0
- package/dist/schema/cms.d.ts +68 -0
- package/dist/schema/cms.d.ts.map +1 -1
- package/dist/schema/cms.js +18 -4
- package/dist/schema/cms.js.map +1 -1
- package/dist/schema/code-provenance.d.ts.map +1 -1
- package/dist/schema/code-provenance.js.map +1 -1
- package/dist/schema/collab-edits.d.ts.map +1 -1
- package/dist/schema/collab-edits.js +2 -2
- package/dist/schema/collab-edits.js.map +1 -1
- package/dist/schema/coordination.d.ts +967 -0
- package/dist/schema/coordination.d.ts.map +1 -0
- package/dist/schema/coordination.js +109 -0
- package/dist/schema/coordination.js.map +1 -0
- package/dist/schema/crdt-operations.d.ts.map +1 -1
- package/dist/schema/crdt-operations.js.map +1 -1
- package/dist/schema/error-events.d.ts.map +1 -1
- package/dist/schema/error-events.js.map +1 -1
- package/dist/schema/gdpr.d.ts +529 -0
- package/dist/schema/gdpr.d.ts.map +1 -0
- package/dist/schema/gdpr.js +93 -0
- package/dist/schema/gdpr.js.map +1 -0
- package/dist/schema/index.d.ts +44 -1
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +93 -0
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/jobs.d.ts +242 -0
- package/dist/schema/jobs.d.ts.map +1 -0
- package/dist/schema/jobs.js +48 -0
- package/dist/schema/jobs.js.map +1 -0
- package/dist/schema/licenses.d.ts +68 -0
- package/dist/schema/licenses.d.ts.map +1 -1
- package/dist/schema/licenses.js +11 -2
- package/dist/schema/licenses.js.map +1 -1
- package/dist/schema/magic-links.d.ts +136 -0
- package/dist/schema/magic-links.d.ts.map +1 -0
- package/dist/schema/magic-links.js +32 -0
- package/dist/schema/magic-links.js.map +1 -0
- package/dist/schema/marketplace.d.ts +496 -0
- package/dist/schema/marketplace.d.ts.map +1 -0
- package/dist/schema/marketplace.js +114 -0
- package/dist/schema/marketplace.js.map +1 -0
- package/dist/schema/node-ids.d.ts.map +1 -1
- package/dist/schema/node-ids.js.map +1 -1
- package/dist/schema/oauth-accounts.d.ts +34 -0
- package/dist/schema/oauth-accounts.d.ts.map +1 -1
- package/dist/schema/oauth-accounts.js +5 -0
- package/dist/schema/oauth-accounts.js.map +1 -1
- package/dist/schema/pages.d.ts +34 -0
- package/dist/schema/pages.d.ts.map +1 -1
- package/dist/schema/pages.js +14 -4
- package/dist/schema/pages.js.map +1 -1
- package/dist/schema/passkeys.d.ts +208 -0
- package/dist/schema/passkeys.d.ts.map +1 -0
- package/dist/schema/passkeys.js +48 -0
- package/dist/schema/passkeys.js.map +1 -0
- package/dist/schema/password-reset-tokens.d.ts.map +1 -1
- package/dist/schema/password-reset-tokens.js +5 -2
- package/dist/schema/password-reset-tokens.js.map +1 -1
- package/dist/schema/products.d.ts +519 -0
- package/dist/schema/products.d.ts.map +1 -0
- package/dist/schema/products.js +101 -0
- package/dist/schema/products.js.map +1 -0
- package/dist/schema/rag.d.ts.map +1 -1
- package/dist/schema/rag.js +5 -2
- package/dist/schema/rag.js.map +1 -1
- package/dist/schema/rate-limits.d.ts.map +1 -1
- package/dist/schema/rate-limits.js +5 -2
- package/dist/schema/rate-limits.js.map +1 -1
- package/dist/schema/rest.d.ts +12 -2
- package/dist/schema/rest.d.ts.map +1 -1
- package/dist/schema/rest.js +12 -2
- package/dist/schema/rest.js.map +1 -1
- package/dist/schema/revealcoin.d.ts +267 -0
- package/dist/schema/revealcoin.d.ts.map +1 -0
- package/dist/schema/revealcoin.js +54 -0
- package/dist/schema/revealcoin.js.map +1 -0
- package/dist/schema/sites.d.ts +34 -0
- package/dist/schema/sites.d.ts.map +1 -1
- package/dist/schema/sites.js +15 -3
- package/dist/schema/sites.js.map +1 -1
- package/dist/schema/tenants.d.ts +188 -0
- package/dist/schema/tenants.d.ts.map +1 -0
- package/dist/schema/tenants.js +14 -0
- package/dist/schema/tenants.js.map +1 -0
- package/dist/schema/tickets.d.ts.map +1 -1
- package/dist/schema/tickets.js +17 -5
- package/dist/schema/tickets.js.map +1 -1
- package/dist/schema/users.d.ts +174 -0
- package/dist/schema/users.d.ts.map +1 -1
- package/dist/schema/users.js +31 -3
- package/dist/schema/users.js.map +1 -1
- package/dist/schema/vector.d.ts +10 -3
- package/dist/schema/vector.d.ts.map +1 -1
- package/dist/schema/vector.js +11 -4
- package/dist/schema/vector.js.map +1 -1
- package/dist/schema/waitlist.d.ts.map +1 -1
- package/dist/schema/waitlist.js.map +1 -1
- package/dist/schema/webhook-events.d.ts.map +1 -1
- package/dist/schema/webhook-events.js.map +1 -1
- package/dist/schema/yjs-documents.d.ts.map +1 -1
- package/dist/schema/yjs-documents.js.map +1 -1
- package/dist/scripts/cleanup-expired.d.ts +12 -0
- package/dist/scripts/cleanup-expired.d.ts.map +1 -0
- package/dist/scripts/cleanup-expired.js +50 -0
- package/dist/scripts/cleanup-expired.js.map +1 -0
- package/dist/types/database.d.ts +387 -2
- package/dist/types/database.d.ts.map +1 -1
- package/dist/types/database.js +80 -1
- package/dist/types/database.js.map +1 -1
- package/dist/types/discover.d.ts +2 -2
- package/dist/types/discover.d.ts.map +1 -1
- package/dist/types/discover.js +16 -16
- package/dist/types/discover.js.map +1 -1
- package/dist/types/extract-relationships.d.ts.map +1 -1
- package/dist/types/extract-relationships.js.map +1 -1
- package/dist/types/generate-contracts.js +1 -1
- package/dist/types/generate-contracts.js.map +1 -1
- package/dist/types/generate-zod-schemas.js.map +1 -1
- package/dist/types/generate.js.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/introspect.d.ts.map +1 -1
- package/dist/types/introspect.js +0 -1
- package/dist/types/introspect.js.map +1 -1
- package/dist/types/stripe-schema.d.ts.map +1 -1
- package/dist/types/stripe-schema.js +7 -2
- package/dist/types/stripe-schema.js.map +1 -1
- package/dist/utils/soft-delete.d.ts +45 -0
- package/dist/utils/soft-delete.d.ts.map +1 -0
- package/dist/utils/soft-delete.js +45 -0
- package/dist/utils/soft-delete.js.map +1 -0
- package/dist/validation/cross-db.d.ts +60 -0
- package/dist/validation/cross-db.d.ts.map +1 -0
- package/dist/validation/cross-db.js +146 -0
- package/dist/validation/cross-db.js.map +1 -0
- package/package.json +60 -12
- package/dist/queries/optimized-queries.d.ts +0 -89
- package/dist/queries/optimized-queries.d.ts.map +0 -1
- package/dist/queries/optimized-queries.js +0 -371
- package/dist/queries/optimized-queries.js.map +0 -1
- package/dist/queries/todos.d.ts +0 -37
- package/dist/queries/todos.d.ts.map +0 -1
- package/dist/queries/todos.js +0 -37
- package/dist/queries/todos.js.map +0 -1
- package/dist/schema/query.d.ts +0 -11
- package/dist/schema/query.d.ts.map +0 -1
- package/dist/schema/query.js +0 -11
- package/dist/schema/query.js.map +0 -1
- package/dist/schema/todos.d.ts +0 -98
- package/dist/schema/todos.d.ts.map +0 -1
- package/dist/schema/todos.js +0 -12
- package/dist/schema/todos.js.map +0 -1
package/dist/types/database.d.ts
CHANGED
|
@@ -4,12 +4,24 @@
|
|
|
4
4
|
* This file is auto-generated by packages/db/src/types/generate.ts
|
|
5
5
|
* DO NOT MODIFY MANUALLY - regenerate using: pnpm generate:types
|
|
6
6
|
*
|
|
7
|
-
* Generated: 2026-03-
|
|
7
|
+
* Generated: 2026-03-28T02:03:54.538Z
|
|
8
8
|
*
|
|
9
9
|
* This type matches the Supabase Database type structure for feature parity.
|
|
10
10
|
* Tables are automatically discovered from packages/db/src/schema/*.ts
|
|
11
11
|
*/
|
|
12
|
-
import type { agentActions, agentContexts, agentMemories, appLogs, auditLog, boardColumns, boards, codeProvenance, codeReviews, collabEdits, conversations, crdtOperations, errorEvents, failedAttempts, globalFooter, globalHeader, globalSettings, licenses, media, messages, nodeIdMappings, oauthAccounts, pageRevisions, pages, passwordResetTokens, posts, processedWebhookEvents, ragChunks, ragDocuments, ragWorkspaces, rateLimits, registeredAgents, sessions, siteCollaborators, sites, syncMetadata, tenantProviderConfigs, ticketComments, ticketLabelAssignments, ticketLabels, tickets, userApiKeys, userDevices, users, waitlist, yjsDocuments } from '../schema/index.js';
|
|
12
|
+
import type { accountEntitlements, accountMemberships, accounts, accountSubscriptions, agentActions, agentContexts, agentMemories, agentTaskUsage, aiMemorySessions, appLogs, auditLog, billingCatalog, boardColumns, boards, circuitBreakerState, codeProvenance, codeReviews, collabEdits, conversations, coordinationAgents, coordinationEvents, coordinationFileClaims, coordinationMail, coordinationQueueItems, coordinationSessions, coordinationWorkItems, crdtOperations, errorEvents, failedAttempts, gdprBreaches, gdprConsents, gdprDeletionRequests, globalFooter, globalHeader, globalSettings, jobs, licenses, magicLinks, marketplaceServers, marketplaceTransactions, media, messages, nodeIdMappings, oauthAccounts, orders, pageRevisions, pages, passkeys, passwordResetTokens, posts, processedWebhookEvents, products, ragChunks, ragDocuments, ragWorkspaces, rateLimits, registeredAgents, revealcoinPayments, revealcoinPriceSnapshots, sessions, siteCollaborators, sites, syncMetadata, tenantProviderConfigs, tenants, ticketComments, ticketLabelAssignments, ticketLabels, tickets, usageMeters, userApiKeys, userDevices, users, waitlist, yjsDocuments } from '../schema/index.js';
|
|
13
|
+
export type AccountEntitlementsRow = typeof accountEntitlements.$inferSelect;
|
|
14
|
+
export type AccountEntitlementsInsert = typeof accountEntitlements.$inferInsert;
|
|
15
|
+
export type AccountEntitlementsUpdate = Partial<AccountEntitlementsInsert>;
|
|
16
|
+
export type AccountMembershipsRow = typeof accountMemberships.$inferSelect;
|
|
17
|
+
export type AccountMembershipsInsert = typeof accountMemberships.$inferInsert;
|
|
18
|
+
export type AccountMembershipsUpdate = Partial<AccountMembershipsInsert>;
|
|
19
|
+
export type AccountsRow = typeof accounts.$inferSelect;
|
|
20
|
+
export type AccountsInsert = typeof accounts.$inferInsert;
|
|
21
|
+
export type AccountsUpdate = Partial<AccountsInsert>;
|
|
22
|
+
export type AccountSubscriptionsRow = typeof accountSubscriptions.$inferSelect;
|
|
23
|
+
export type AccountSubscriptionsInsert = typeof accountSubscriptions.$inferInsert;
|
|
24
|
+
export type AccountSubscriptionsUpdate = Partial<AccountSubscriptionsInsert>;
|
|
13
25
|
export type AgentActionsRow = typeof agentActions.$inferSelect;
|
|
14
26
|
export type AgentActionsInsert = typeof agentActions.$inferInsert;
|
|
15
27
|
export type AgentActionsUpdate = Partial<AgentActionsInsert>;
|
|
@@ -19,18 +31,30 @@ export type AgentContextsUpdate = Partial<AgentContextsInsert>;
|
|
|
19
31
|
export type AgentMemoriesRow = typeof agentMemories.$inferSelect;
|
|
20
32
|
export type AgentMemoriesInsert = typeof agentMemories.$inferInsert;
|
|
21
33
|
export type AgentMemoriesUpdate = Partial<AgentMemoriesInsert>;
|
|
34
|
+
export type AgentTaskUsageRow = typeof agentTaskUsage.$inferSelect;
|
|
35
|
+
export type AgentTaskUsageInsert = typeof agentTaskUsage.$inferInsert;
|
|
36
|
+
export type AgentTaskUsageUpdate = Partial<AgentTaskUsageInsert>;
|
|
37
|
+
export type AiMemorySessionsRow = typeof aiMemorySessions.$inferSelect;
|
|
38
|
+
export type AiMemorySessionsInsert = typeof aiMemorySessions.$inferInsert;
|
|
39
|
+
export type AiMemorySessionsUpdate = Partial<AiMemorySessionsInsert>;
|
|
22
40
|
export type AppLogsRow = typeof appLogs.$inferSelect;
|
|
23
41
|
export type AppLogsInsert = typeof appLogs.$inferInsert;
|
|
24
42
|
export type AppLogsUpdate = Partial<AppLogsInsert>;
|
|
25
43
|
export type AuditLogRow = typeof auditLog.$inferSelect;
|
|
26
44
|
export type AuditLogInsert = typeof auditLog.$inferInsert;
|
|
27
45
|
export type AuditLogUpdate = Partial<AuditLogInsert>;
|
|
46
|
+
export type BillingCatalogRow = typeof billingCatalog.$inferSelect;
|
|
47
|
+
export type BillingCatalogInsert = typeof billingCatalog.$inferInsert;
|
|
48
|
+
export type BillingCatalogUpdate = Partial<BillingCatalogInsert>;
|
|
28
49
|
export type BoardColumnsRow = typeof boardColumns.$inferSelect;
|
|
29
50
|
export type BoardColumnsInsert = typeof boardColumns.$inferInsert;
|
|
30
51
|
export type BoardColumnsUpdate = Partial<BoardColumnsInsert>;
|
|
31
52
|
export type BoardsRow = typeof boards.$inferSelect;
|
|
32
53
|
export type BoardsInsert = typeof boards.$inferInsert;
|
|
33
54
|
export type BoardsUpdate = Partial<BoardsInsert>;
|
|
55
|
+
export type CircuitBreakerStateRow = typeof circuitBreakerState.$inferSelect;
|
|
56
|
+
export type CircuitBreakerStateInsert = typeof circuitBreakerState.$inferInsert;
|
|
57
|
+
export type CircuitBreakerStateUpdate = Partial<CircuitBreakerStateInsert>;
|
|
34
58
|
export type CodeProvenanceRow = typeof codeProvenance.$inferSelect;
|
|
35
59
|
export type CodeProvenanceInsert = typeof codeProvenance.$inferInsert;
|
|
36
60
|
export type CodeProvenanceUpdate = Partial<CodeProvenanceInsert>;
|
|
@@ -43,6 +67,27 @@ export type CollabEditsUpdate = Partial<CollabEditsInsert>;
|
|
|
43
67
|
export type ConversationsRow = typeof conversations.$inferSelect;
|
|
44
68
|
export type ConversationsInsert = typeof conversations.$inferInsert;
|
|
45
69
|
export type ConversationsUpdate = Partial<ConversationsInsert>;
|
|
70
|
+
export type CoordinationAgentsRow = typeof coordinationAgents.$inferSelect;
|
|
71
|
+
export type CoordinationAgentsInsert = typeof coordinationAgents.$inferInsert;
|
|
72
|
+
export type CoordinationAgentsUpdate = Partial<CoordinationAgentsInsert>;
|
|
73
|
+
export type CoordinationEventsRow = typeof coordinationEvents.$inferSelect;
|
|
74
|
+
export type CoordinationEventsInsert = typeof coordinationEvents.$inferInsert;
|
|
75
|
+
export type CoordinationEventsUpdate = Partial<CoordinationEventsInsert>;
|
|
76
|
+
export type CoordinationFileClaimsRow = typeof coordinationFileClaims.$inferSelect;
|
|
77
|
+
export type CoordinationFileClaimsInsert = typeof coordinationFileClaims.$inferInsert;
|
|
78
|
+
export type CoordinationFileClaimsUpdate = Partial<CoordinationFileClaimsInsert>;
|
|
79
|
+
export type CoordinationMailRow = typeof coordinationMail.$inferSelect;
|
|
80
|
+
export type CoordinationMailInsert = typeof coordinationMail.$inferInsert;
|
|
81
|
+
export type CoordinationMailUpdate = Partial<CoordinationMailInsert>;
|
|
82
|
+
export type CoordinationQueueItemsRow = typeof coordinationQueueItems.$inferSelect;
|
|
83
|
+
export type CoordinationQueueItemsInsert = typeof coordinationQueueItems.$inferInsert;
|
|
84
|
+
export type CoordinationQueueItemsUpdate = Partial<CoordinationQueueItemsInsert>;
|
|
85
|
+
export type CoordinationSessionsRow = typeof coordinationSessions.$inferSelect;
|
|
86
|
+
export type CoordinationSessionsInsert = typeof coordinationSessions.$inferInsert;
|
|
87
|
+
export type CoordinationSessionsUpdate = Partial<CoordinationSessionsInsert>;
|
|
88
|
+
export type CoordinationWorkItemsRow = typeof coordinationWorkItems.$inferSelect;
|
|
89
|
+
export type CoordinationWorkItemsInsert = typeof coordinationWorkItems.$inferInsert;
|
|
90
|
+
export type CoordinationWorkItemsUpdate = Partial<CoordinationWorkItemsInsert>;
|
|
46
91
|
export type CrdtOperationsRow = typeof crdtOperations.$inferSelect;
|
|
47
92
|
export type CrdtOperationsInsert = typeof crdtOperations.$inferInsert;
|
|
48
93
|
export type CrdtOperationsUpdate = Partial<CrdtOperationsInsert>;
|
|
@@ -52,6 +97,15 @@ export type ErrorEventsUpdate = Partial<ErrorEventsInsert>;
|
|
|
52
97
|
export type FailedAttemptsRow = typeof failedAttempts.$inferSelect;
|
|
53
98
|
export type FailedAttemptsInsert = typeof failedAttempts.$inferInsert;
|
|
54
99
|
export type FailedAttemptsUpdate = Partial<FailedAttemptsInsert>;
|
|
100
|
+
export type GdprBreachesRow = typeof gdprBreaches.$inferSelect;
|
|
101
|
+
export type GdprBreachesInsert = typeof gdprBreaches.$inferInsert;
|
|
102
|
+
export type GdprBreachesUpdate = Partial<GdprBreachesInsert>;
|
|
103
|
+
export type GdprConsentsRow = typeof gdprConsents.$inferSelect;
|
|
104
|
+
export type GdprConsentsInsert = typeof gdprConsents.$inferInsert;
|
|
105
|
+
export type GdprConsentsUpdate = Partial<GdprConsentsInsert>;
|
|
106
|
+
export type GdprDeletionRequestsRow = typeof gdprDeletionRequests.$inferSelect;
|
|
107
|
+
export type GdprDeletionRequestsInsert = typeof gdprDeletionRequests.$inferInsert;
|
|
108
|
+
export type GdprDeletionRequestsUpdate = Partial<GdprDeletionRequestsInsert>;
|
|
55
109
|
export type GlobalFooterRow = typeof globalFooter.$inferSelect;
|
|
56
110
|
export type GlobalFooterInsert = typeof globalFooter.$inferInsert;
|
|
57
111
|
export type GlobalFooterUpdate = Partial<GlobalFooterInsert>;
|
|
@@ -61,9 +115,21 @@ export type GlobalHeaderUpdate = Partial<GlobalHeaderInsert>;
|
|
|
61
115
|
export type GlobalSettingsRow = typeof globalSettings.$inferSelect;
|
|
62
116
|
export type GlobalSettingsInsert = typeof globalSettings.$inferInsert;
|
|
63
117
|
export type GlobalSettingsUpdate = Partial<GlobalSettingsInsert>;
|
|
118
|
+
export type JobsRow = typeof jobs.$inferSelect;
|
|
119
|
+
export type JobsInsert = typeof jobs.$inferInsert;
|
|
120
|
+
export type JobsUpdate = Partial<JobsInsert>;
|
|
64
121
|
export type LicensesRow = typeof licenses.$inferSelect;
|
|
65
122
|
export type LicensesInsert = typeof licenses.$inferInsert;
|
|
66
123
|
export type LicensesUpdate = Partial<LicensesInsert>;
|
|
124
|
+
export type MagicLinksRow = typeof magicLinks.$inferSelect;
|
|
125
|
+
export type MagicLinksInsert = typeof magicLinks.$inferInsert;
|
|
126
|
+
export type MagicLinksUpdate = Partial<MagicLinksInsert>;
|
|
127
|
+
export type MarketplaceServersRow = typeof marketplaceServers.$inferSelect;
|
|
128
|
+
export type MarketplaceServersInsert = typeof marketplaceServers.$inferInsert;
|
|
129
|
+
export type MarketplaceServersUpdate = Partial<MarketplaceServersInsert>;
|
|
130
|
+
export type MarketplaceTransactionsRow = typeof marketplaceTransactions.$inferSelect;
|
|
131
|
+
export type MarketplaceTransactionsInsert = typeof marketplaceTransactions.$inferInsert;
|
|
132
|
+
export type MarketplaceTransactionsUpdate = Partial<MarketplaceTransactionsInsert>;
|
|
67
133
|
export type MediaRow = typeof media.$inferSelect;
|
|
68
134
|
export type MediaInsert = typeof media.$inferInsert;
|
|
69
135
|
export type MediaUpdate = Partial<MediaInsert>;
|
|
@@ -76,12 +142,18 @@ export type NodeIdMappingsUpdate = Partial<NodeIdMappingsInsert>;
|
|
|
76
142
|
export type OauthAccountsRow = typeof oauthAccounts.$inferSelect;
|
|
77
143
|
export type OauthAccountsInsert = typeof oauthAccounts.$inferInsert;
|
|
78
144
|
export type OauthAccountsUpdate = Partial<OauthAccountsInsert>;
|
|
145
|
+
export type OrdersRow = typeof orders.$inferSelect;
|
|
146
|
+
export type OrdersInsert = typeof orders.$inferInsert;
|
|
147
|
+
export type OrdersUpdate = Partial<OrdersInsert>;
|
|
79
148
|
export type PageRevisionsRow = typeof pageRevisions.$inferSelect;
|
|
80
149
|
export type PageRevisionsInsert = typeof pageRevisions.$inferInsert;
|
|
81
150
|
export type PageRevisionsUpdate = Partial<PageRevisionsInsert>;
|
|
82
151
|
export type PagesRow = typeof pages.$inferSelect;
|
|
83
152
|
export type PagesInsert = typeof pages.$inferInsert;
|
|
84
153
|
export type PagesUpdate = Partial<PagesInsert>;
|
|
154
|
+
export type PasskeysRow = typeof passkeys.$inferSelect;
|
|
155
|
+
export type PasskeysInsert = typeof passkeys.$inferInsert;
|
|
156
|
+
export type PasskeysUpdate = Partial<PasskeysInsert>;
|
|
85
157
|
export type PasswordResetTokensRow = typeof passwordResetTokens.$inferSelect;
|
|
86
158
|
export type PasswordResetTokensInsert = typeof passwordResetTokens.$inferInsert;
|
|
87
159
|
export type PasswordResetTokensUpdate = Partial<PasswordResetTokensInsert>;
|
|
@@ -91,6 +163,9 @@ export type PostsUpdate = Partial<PostsInsert>;
|
|
|
91
163
|
export type ProcessedWebhookEventsRow = typeof processedWebhookEvents.$inferSelect;
|
|
92
164
|
export type ProcessedWebhookEventsInsert = typeof processedWebhookEvents.$inferInsert;
|
|
93
165
|
export type ProcessedWebhookEventsUpdate = Partial<ProcessedWebhookEventsInsert>;
|
|
166
|
+
export type ProductsRow = typeof products.$inferSelect;
|
|
167
|
+
export type ProductsInsert = typeof products.$inferInsert;
|
|
168
|
+
export type ProductsUpdate = Partial<ProductsInsert>;
|
|
94
169
|
export type RagChunksRow = typeof ragChunks.$inferSelect;
|
|
95
170
|
export type RagChunksInsert = typeof ragChunks.$inferInsert;
|
|
96
171
|
export type RagChunksUpdate = Partial<RagChunksInsert>;
|
|
@@ -106,6 +181,12 @@ export type RateLimitsUpdate = Partial<RateLimitsInsert>;
|
|
|
106
181
|
export type RegisteredAgentsRow = typeof registeredAgents.$inferSelect;
|
|
107
182
|
export type RegisteredAgentsInsert = typeof registeredAgents.$inferInsert;
|
|
108
183
|
export type RegisteredAgentsUpdate = Partial<RegisteredAgentsInsert>;
|
|
184
|
+
export type RevealcoinPaymentsRow = typeof revealcoinPayments.$inferSelect;
|
|
185
|
+
export type RevealcoinPaymentsInsert = typeof revealcoinPayments.$inferInsert;
|
|
186
|
+
export type RevealcoinPaymentsUpdate = Partial<RevealcoinPaymentsInsert>;
|
|
187
|
+
export type RevealcoinPriceSnapshotsRow = typeof revealcoinPriceSnapshots.$inferSelect;
|
|
188
|
+
export type RevealcoinPriceSnapshotsInsert = typeof revealcoinPriceSnapshots.$inferInsert;
|
|
189
|
+
export type RevealcoinPriceSnapshotsUpdate = Partial<RevealcoinPriceSnapshotsInsert>;
|
|
109
190
|
export type SessionsRow = typeof sessions.$inferSelect;
|
|
110
191
|
export type SessionsInsert = typeof sessions.$inferInsert;
|
|
111
192
|
export type SessionsUpdate = Partial<SessionsInsert>;
|
|
@@ -121,6 +202,9 @@ export type SyncMetadataUpdate = Partial<SyncMetadataInsert>;
|
|
|
121
202
|
export type TenantProviderConfigsRow = typeof tenantProviderConfigs.$inferSelect;
|
|
122
203
|
export type TenantProviderConfigsInsert = typeof tenantProviderConfigs.$inferInsert;
|
|
123
204
|
export type TenantProviderConfigsUpdate = Partial<TenantProviderConfigsInsert>;
|
|
205
|
+
export type TenantsRow = typeof tenants.$inferSelect;
|
|
206
|
+
export type TenantsInsert = typeof tenants.$inferInsert;
|
|
207
|
+
export type TenantsUpdate = Partial<TenantsInsert>;
|
|
124
208
|
export type TicketCommentsRow = typeof ticketComments.$inferSelect;
|
|
125
209
|
export type TicketCommentsInsert = typeof ticketComments.$inferInsert;
|
|
126
210
|
export type TicketCommentsUpdate = Partial<TicketCommentsInsert>;
|
|
@@ -133,6 +217,9 @@ export type TicketLabelsUpdate = Partial<TicketLabelsInsert>;
|
|
|
133
217
|
export type TicketsRow = typeof tickets.$inferSelect;
|
|
134
218
|
export type TicketsInsert = typeof tickets.$inferInsert;
|
|
135
219
|
export type TicketsUpdate = Partial<TicketsInsert>;
|
|
220
|
+
export type UsageMetersRow = typeof usageMeters.$inferSelect;
|
|
221
|
+
export type UsageMetersInsert = typeof usageMeters.$inferInsert;
|
|
222
|
+
export type UsageMetersUpdate = Partial<UsageMetersInsert>;
|
|
136
223
|
export type UserApiKeysRow = typeof userApiKeys.$inferSelect;
|
|
137
224
|
export type UserApiKeysInsert = typeof userApiKeys.$inferInsert;
|
|
138
225
|
export type UserApiKeysUpdate = Partial<UserApiKeysInsert>;
|
|
@@ -167,53 +254,110 @@ export type Relationship = {
|
|
|
167
254
|
* - many() = isOneToOne: false
|
|
168
255
|
*/
|
|
169
256
|
export type DatabaseRelationships = {
|
|
257
|
+
accountEntitlements: Relationship[];
|
|
258
|
+
accountMemberships: Relationship[];
|
|
259
|
+
accounts: Relationship[];
|
|
260
|
+
accountSubscriptions: Relationship[];
|
|
170
261
|
agentActions: Relationship[];
|
|
171
262
|
agentContexts: Relationship[];
|
|
172
263
|
agentMemories: Relationship[];
|
|
264
|
+
agentTaskUsage: Relationship[];
|
|
265
|
+
aiMemorySessions: Relationship[];
|
|
173
266
|
appLogs: Relationship[];
|
|
174
267
|
auditLog: Relationship[];
|
|
268
|
+
billingCatalog: Relationship[];
|
|
175
269
|
boardColumns: Relationship[];
|
|
176
270
|
boards: Relationship[];
|
|
271
|
+
circuitBreakerState: Relationship[];
|
|
177
272
|
codeProvenance: Relationship[];
|
|
178
273
|
codeReviews: Relationship[];
|
|
179
274
|
collabEdits: Relationship[];
|
|
180
275
|
conversations: Relationship[];
|
|
276
|
+
coordinationAgents: Relationship[];
|
|
277
|
+
coordinationEvents: Relationship[];
|
|
278
|
+
coordinationFileClaims: Relationship[];
|
|
279
|
+
coordinationMail: Relationship[];
|
|
280
|
+
coordinationQueueItems: Relationship[];
|
|
281
|
+
coordinationSessions: Relationship[];
|
|
282
|
+
coordinationWorkItems: Relationship[];
|
|
181
283
|
crdtOperations: Relationship[];
|
|
182
284
|
errorEvents: Relationship[];
|
|
183
285
|
failedAttempts: Relationship[];
|
|
286
|
+
gdprBreaches: Relationship[];
|
|
287
|
+
gdprConsents: Relationship[];
|
|
288
|
+
gdprDeletionRequests: Relationship[];
|
|
184
289
|
globalFooter: Relationship[];
|
|
185
290
|
globalHeader: Relationship[];
|
|
186
291
|
globalSettings: Relationship[];
|
|
292
|
+
jobs: Relationship[];
|
|
187
293
|
licenses: Relationship[];
|
|
294
|
+
magicLinks: Relationship[];
|
|
295
|
+
marketplaceServers: Relationship[];
|
|
296
|
+
marketplaceTransactions: Relationship[];
|
|
188
297
|
media: Relationship[];
|
|
189
298
|
messages: Relationship[];
|
|
190
299
|
nodeIdMappings: Relationship[];
|
|
191
300
|
oauthAccounts: Relationship[];
|
|
301
|
+
orders: Relationship[];
|
|
192
302
|
pageRevisions: Relationship[];
|
|
193
303
|
pages: Relationship[];
|
|
304
|
+
passkeys: Relationship[];
|
|
194
305
|
passwordResetTokens: Relationship[];
|
|
195
306
|
posts: Relationship[];
|
|
196
307
|
processedWebhookEvents: Relationship[];
|
|
308
|
+
products: Relationship[];
|
|
197
309
|
ragChunks: Relationship[];
|
|
198
310
|
ragDocuments: Relationship[];
|
|
199
311
|
ragWorkspaces: Relationship[];
|
|
200
312
|
rateLimits: Relationship[];
|
|
201
313
|
registeredAgents: Relationship[];
|
|
314
|
+
revealcoinPayments: Relationship[];
|
|
315
|
+
revealcoinPriceSnapshots: Relationship[];
|
|
202
316
|
sessions: Relationship[];
|
|
203
317
|
siteCollaborators: Relationship[];
|
|
204
318
|
sites: Relationship[];
|
|
205
319
|
syncMetadata: Relationship[];
|
|
206
320
|
tenantProviderConfigs: Relationship[];
|
|
321
|
+
tenants: Relationship[];
|
|
207
322
|
ticketComments: Relationship[];
|
|
208
323
|
ticketLabelAssignments: Relationship[];
|
|
209
324
|
ticketLabels: Relationship[];
|
|
210
325
|
tickets: Relationship[];
|
|
326
|
+
usageMeters: Relationship[];
|
|
211
327
|
userApiKeys: Relationship[];
|
|
212
328
|
userDevices: Relationship[];
|
|
213
329
|
users: Relationship[];
|
|
214
330
|
waitlist: Relationship[];
|
|
215
331
|
yjsDocuments: Relationship[];
|
|
216
332
|
};
|
|
333
|
+
export declare const accountEntitlementsRelationships: readonly [{
|
|
334
|
+
readonly foreignKeyName: "account_entitlements_account_id_accounts_id_fk";
|
|
335
|
+
readonly columns: ["account_id"];
|
|
336
|
+
readonly isOneToOne: true;
|
|
337
|
+
readonly referencedRelation: "accounts";
|
|
338
|
+
readonly referencedColumns: ["id"];
|
|
339
|
+
}];
|
|
340
|
+
export declare const accountMembershipsRelationships: readonly [{
|
|
341
|
+
readonly foreignKeyName: "account_memberships_account_id_accounts_id_fk";
|
|
342
|
+
readonly columns: ["account_id"];
|
|
343
|
+
readonly isOneToOne: true;
|
|
344
|
+
readonly referencedRelation: "accounts";
|
|
345
|
+
readonly referencedColumns: ["id"];
|
|
346
|
+
}, {
|
|
347
|
+
readonly foreignKeyName: "account_memberships_user_id_users_id_fk";
|
|
348
|
+
readonly columns: ["user_id"];
|
|
349
|
+
readonly isOneToOne: true;
|
|
350
|
+
readonly referencedRelation: "users";
|
|
351
|
+
readonly referencedColumns: ["id"];
|
|
352
|
+
}];
|
|
353
|
+
export declare const accountsRelationships: readonly Relationship[];
|
|
354
|
+
export declare const accountSubscriptionsRelationships: readonly [{
|
|
355
|
+
readonly foreignKeyName: "account_subscriptions_account_id_accounts_id_fk";
|
|
356
|
+
readonly columns: ["account_id"];
|
|
357
|
+
readonly isOneToOne: true;
|
|
358
|
+
readonly referencedRelation: "accounts";
|
|
359
|
+
readonly referencedColumns: ["id"];
|
|
360
|
+
}];
|
|
217
361
|
export declare const agentActionsRelationships: readonly [{
|
|
218
362
|
readonly foreignKeyName: "agent_actions_conversation_id_conversations_id_fk";
|
|
219
363
|
readonly columns: ["conversation_id"];
|
|
@@ -235,8 +379,11 @@ export declare const agentMemoriesRelationships: readonly [{
|
|
|
235
379
|
readonly referencedRelation: "users";
|
|
236
380
|
readonly referencedColumns: ["id"];
|
|
237
381
|
}];
|
|
382
|
+
export declare const agentTaskUsageRelationships: readonly Relationship[];
|
|
383
|
+
export declare const aiMemorySessionsRelationships: readonly Relationship[];
|
|
238
384
|
export declare const appLogsRelationships: readonly Relationship[];
|
|
239
385
|
export declare const auditLogRelationships: readonly Relationship[];
|
|
386
|
+
export declare const billingCatalogRelationships: readonly Relationship[];
|
|
240
387
|
export declare const boardColumnsRelationships: readonly [{
|
|
241
388
|
readonly foreignKeyName: "board_columns_board_id_boards_id_fk";
|
|
242
389
|
readonly columns: ["board_id"];
|
|
@@ -251,6 +398,7 @@ export declare const boardsRelationships: readonly [{
|
|
|
251
398
|
readonly referencedRelation: "users";
|
|
252
399
|
readonly referencedColumns: ["id"];
|
|
253
400
|
}];
|
|
401
|
+
export declare const circuitBreakerStateRelationships: readonly Relationship[];
|
|
254
402
|
export declare const codeProvenanceRelationships: readonly [{
|
|
255
403
|
readonly foreignKeyName: "code_provenance_reviewed_by_users_id_fk";
|
|
256
404
|
readonly columns: ["reviewed_by"];
|
|
@@ -285,12 +433,23 @@ export declare const conversationsRelationships: readonly [{
|
|
|
285
433
|
readonly referencedRelation: "users";
|
|
286
434
|
readonly referencedColumns: ["id"];
|
|
287
435
|
}];
|
|
436
|
+
export declare const coordinationAgentsRelationships: readonly Relationship[];
|
|
437
|
+
export declare const coordinationEventsRelationships: readonly Relationship[];
|
|
438
|
+
export declare const coordinationFileClaimsRelationships: readonly Relationship[];
|
|
439
|
+
export declare const coordinationMailRelationships: readonly Relationship[];
|
|
440
|
+
export declare const coordinationQueueItemsRelationships: readonly Relationship[];
|
|
441
|
+
export declare const coordinationSessionsRelationships: readonly Relationship[];
|
|
442
|
+
export declare const coordinationWorkItemsRelationships: readonly Relationship[];
|
|
288
443
|
export declare const crdtOperationsRelationships: readonly Relationship[];
|
|
289
444
|
export declare const errorEventsRelationships: readonly Relationship[];
|
|
290
445
|
export declare const failedAttemptsRelationships: readonly Relationship[];
|
|
446
|
+
export declare const gdprBreachesRelationships: readonly Relationship[];
|
|
447
|
+
export declare const gdprConsentsRelationships: readonly Relationship[];
|
|
448
|
+
export declare const gdprDeletionRequestsRelationships: readonly Relationship[];
|
|
291
449
|
export declare const globalFooterRelationships: readonly Relationship[];
|
|
292
450
|
export declare const globalHeaderRelationships: readonly Relationship[];
|
|
293
451
|
export declare const globalSettingsRelationships: readonly Relationship[];
|
|
452
|
+
export declare const jobsRelationships: readonly Relationship[];
|
|
294
453
|
export declare const licensesRelationships: readonly [{
|
|
295
454
|
readonly foreignKeyName: "licenses_user_id_users_id_fk";
|
|
296
455
|
readonly columns: ["user_id"];
|
|
@@ -298,6 +457,27 @@ export declare const licensesRelationships: readonly [{
|
|
|
298
457
|
readonly referencedRelation: "users";
|
|
299
458
|
readonly referencedColumns: ["id"];
|
|
300
459
|
}];
|
|
460
|
+
export declare const magicLinksRelationships: readonly [{
|
|
461
|
+
readonly foreignKeyName: "magic_links_user_id_users_id_fk";
|
|
462
|
+
readonly columns: ["user_id"];
|
|
463
|
+
readonly isOneToOne: true;
|
|
464
|
+
readonly referencedRelation: "users";
|
|
465
|
+
readonly referencedColumns: ["id"];
|
|
466
|
+
}];
|
|
467
|
+
export declare const marketplaceServersRelationships: readonly [{
|
|
468
|
+
readonly foreignKeyName: "marketplace_servers_developer_id_users_id_fk";
|
|
469
|
+
readonly columns: ["developer_id"];
|
|
470
|
+
readonly isOneToOne: true;
|
|
471
|
+
readonly referencedRelation: "users";
|
|
472
|
+
readonly referencedColumns: ["id"];
|
|
473
|
+
}];
|
|
474
|
+
export declare const marketplaceTransactionsRelationships: readonly [{
|
|
475
|
+
readonly foreignKeyName: "marketplace_transactions_server_id_marketplace_servers_id_fk";
|
|
476
|
+
readonly columns: ["server_id"];
|
|
477
|
+
readonly isOneToOne: true;
|
|
478
|
+
readonly referencedRelation: "marketplace_servers";
|
|
479
|
+
readonly referencedColumns: ["id"];
|
|
480
|
+
}];
|
|
301
481
|
export declare const mediaRelationships: readonly [{
|
|
302
482
|
readonly foreignKeyName: "media_uploaded_by_users_id_fk";
|
|
303
483
|
readonly columns: ["uploaded_by"];
|
|
@@ -314,6 +494,13 @@ export declare const oauthAccountsRelationships: readonly [{
|
|
|
314
494
|
readonly referencedRelation: "users";
|
|
315
495
|
readonly referencedColumns: ["id"];
|
|
316
496
|
}];
|
|
497
|
+
export declare const ordersRelationships: readonly [{
|
|
498
|
+
readonly foreignKeyName: "orders_customer_id_users_id_fk";
|
|
499
|
+
readonly columns: ["customer_id"];
|
|
500
|
+
readonly isOneToOne: true;
|
|
501
|
+
readonly referencedRelation: "users";
|
|
502
|
+
readonly referencedColumns: ["id"];
|
|
503
|
+
}];
|
|
317
504
|
export declare const pageRevisionsRelationships: readonly [{
|
|
318
505
|
readonly foreignKeyName: "page_revisions_page_id_pages_id_fk";
|
|
319
506
|
readonly columns: ["page_id"];
|
|
@@ -340,6 +527,13 @@ export declare const pagesRelationships: readonly [{
|
|
|
340
527
|
readonly referencedRelation: "pages";
|
|
341
528
|
readonly referencedColumns: ["id"];
|
|
342
529
|
}];
|
|
530
|
+
export declare const passkeysRelationships: readonly [{
|
|
531
|
+
readonly foreignKeyName: "passkeys_user_id_users_id_fk";
|
|
532
|
+
readonly columns: ["user_id"];
|
|
533
|
+
readonly isOneToOne: true;
|
|
534
|
+
readonly referencedRelation: "users";
|
|
535
|
+
readonly referencedColumns: ["id"];
|
|
536
|
+
}];
|
|
343
537
|
export declare const passwordResetTokensRelationships: readonly [{
|
|
344
538
|
readonly foreignKeyName: "password_reset_tokens_user_id_users_id_fk";
|
|
345
539
|
readonly columns: ["user_id"];
|
|
@@ -361,11 +555,20 @@ export declare const postsRelationships: readonly [{
|
|
|
361
555
|
readonly referencedColumns: ["id"];
|
|
362
556
|
}];
|
|
363
557
|
export declare const processedWebhookEventsRelationships: readonly Relationship[];
|
|
558
|
+
export declare const productsRelationships: readonly [{
|
|
559
|
+
readonly foreignKeyName: "products_owner_id_users_id_fk";
|
|
560
|
+
readonly columns: ["owner_id"];
|
|
561
|
+
readonly isOneToOne: true;
|
|
562
|
+
readonly referencedRelation: "users";
|
|
563
|
+
readonly referencedColumns: ["id"];
|
|
564
|
+
}];
|
|
364
565
|
export declare const ragChunksRelationships: readonly Relationship[];
|
|
365
566
|
export declare const ragDocumentsRelationships: readonly Relationship[];
|
|
366
567
|
export declare const ragWorkspacesRelationships: readonly Relationship[];
|
|
367
568
|
export declare const rateLimitsRelationships: readonly Relationship[];
|
|
368
569
|
export declare const registeredAgentsRelationships: readonly Relationship[];
|
|
570
|
+
export declare const revealcoinPaymentsRelationships: readonly Relationship[];
|
|
571
|
+
export declare const revealcoinPriceSnapshotsRelationships: readonly Relationship[];
|
|
369
572
|
export declare const sessionsRelationships: readonly [{
|
|
370
573
|
readonly foreignKeyName: "sessions_user_id_users_id_fk";
|
|
371
574
|
readonly columns: ["user_id"];
|
|
@@ -407,6 +610,7 @@ export declare const tenantProviderConfigsRelationships: readonly [{
|
|
|
407
610
|
readonly referencedRelation: "users";
|
|
408
611
|
readonly referencedColumns: ["id"];
|
|
409
612
|
}];
|
|
613
|
+
export declare const tenantsRelationships: readonly Relationship[];
|
|
410
614
|
export declare const ticketCommentsRelationships: readonly [{
|
|
411
615
|
readonly foreignKeyName: "ticket_comments_ticket_id_tickets_id_fk";
|
|
412
616
|
readonly columns: ["ticket_id"];
|
|
@@ -465,6 +669,13 @@ export declare const ticketsRelationships: readonly [{
|
|
|
465
669
|
readonly referencedRelation: "tickets";
|
|
466
670
|
readonly referencedColumns: ["id"];
|
|
467
671
|
}];
|
|
672
|
+
export declare const usageMetersRelationships: readonly [{
|
|
673
|
+
readonly foreignKeyName: "usage_meters_account_id_accounts_id_fk";
|
|
674
|
+
readonly columns: ["account_id"];
|
|
675
|
+
readonly isOneToOne: true;
|
|
676
|
+
readonly referencedRelation: "accounts";
|
|
677
|
+
readonly referencedColumns: ["id"];
|
|
678
|
+
}];
|
|
468
679
|
export declare const userApiKeysRelationships: readonly [{
|
|
469
680
|
readonly foreignKeyName: "user_api_keys_user_id_users_id_fk";
|
|
470
681
|
readonly columns: ["user_id"];
|
|
@@ -502,6 +713,30 @@ export interface DatabaseEnums {
|
|
|
502
713
|
export type Database = {
|
|
503
714
|
public: {
|
|
504
715
|
Tables: {
|
|
716
|
+
account_entitlements: {
|
|
717
|
+
Row: AccountEntitlementsRow;
|
|
718
|
+
Insert: AccountEntitlementsInsert;
|
|
719
|
+
Update: AccountEntitlementsUpdate;
|
|
720
|
+
Relationships: typeof accountEntitlementsRelationships;
|
|
721
|
+
};
|
|
722
|
+
account_memberships: {
|
|
723
|
+
Row: AccountMembershipsRow;
|
|
724
|
+
Insert: AccountMembershipsInsert;
|
|
725
|
+
Update: AccountMembershipsUpdate;
|
|
726
|
+
Relationships: typeof accountMembershipsRelationships;
|
|
727
|
+
};
|
|
728
|
+
accounts: {
|
|
729
|
+
Row: AccountsRow;
|
|
730
|
+
Insert: AccountsInsert;
|
|
731
|
+
Update: AccountsUpdate;
|
|
732
|
+
Relationships: typeof accountsRelationships;
|
|
733
|
+
};
|
|
734
|
+
account_subscriptions: {
|
|
735
|
+
Row: AccountSubscriptionsRow;
|
|
736
|
+
Insert: AccountSubscriptionsInsert;
|
|
737
|
+
Update: AccountSubscriptionsUpdate;
|
|
738
|
+
Relationships: typeof accountSubscriptionsRelationships;
|
|
739
|
+
};
|
|
505
740
|
agent_actions: {
|
|
506
741
|
Row: AgentActionsRow;
|
|
507
742
|
Insert: AgentActionsInsert;
|
|
@@ -520,6 +755,18 @@ export type Database = {
|
|
|
520
755
|
Update: AgentMemoriesUpdate;
|
|
521
756
|
Relationships: typeof agentMemoriesRelationships;
|
|
522
757
|
};
|
|
758
|
+
agent_task_usage: {
|
|
759
|
+
Row: AgentTaskUsageRow;
|
|
760
|
+
Insert: AgentTaskUsageInsert;
|
|
761
|
+
Update: AgentTaskUsageUpdate;
|
|
762
|
+
Relationships: typeof agentTaskUsageRelationships;
|
|
763
|
+
};
|
|
764
|
+
ai_memory_sessions: {
|
|
765
|
+
Row: AiMemorySessionsRow;
|
|
766
|
+
Insert: AiMemorySessionsInsert;
|
|
767
|
+
Update: AiMemorySessionsUpdate;
|
|
768
|
+
Relationships: typeof aiMemorySessionsRelationships;
|
|
769
|
+
};
|
|
523
770
|
app_logs: {
|
|
524
771
|
Row: AppLogsRow;
|
|
525
772
|
Insert: AppLogsInsert;
|
|
@@ -532,6 +779,12 @@ export type Database = {
|
|
|
532
779
|
Update: AuditLogUpdate;
|
|
533
780
|
Relationships: typeof auditLogRelationships;
|
|
534
781
|
};
|
|
782
|
+
billing_catalog: {
|
|
783
|
+
Row: BillingCatalogRow;
|
|
784
|
+
Insert: BillingCatalogInsert;
|
|
785
|
+
Update: BillingCatalogUpdate;
|
|
786
|
+
Relationships: typeof billingCatalogRelationships;
|
|
787
|
+
};
|
|
535
788
|
board_columns: {
|
|
536
789
|
Row: BoardColumnsRow;
|
|
537
790
|
Insert: BoardColumnsInsert;
|
|
@@ -544,6 +797,12 @@ export type Database = {
|
|
|
544
797
|
Update: BoardsUpdate;
|
|
545
798
|
Relationships: typeof boardsRelationships;
|
|
546
799
|
};
|
|
800
|
+
circuit_breaker_state: {
|
|
801
|
+
Row: CircuitBreakerStateRow;
|
|
802
|
+
Insert: CircuitBreakerStateInsert;
|
|
803
|
+
Update: CircuitBreakerStateUpdate;
|
|
804
|
+
Relationships: typeof circuitBreakerStateRelationships;
|
|
805
|
+
};
|
|
547
806
|
code_provenance: {
|
|
548
807
|
Row: CodeProvenanceRow;
|
|
549
808
|
Insert: CodeProvenanceInsert;
|
|
@@ -568,6 +827,48 @@ export type Database = {
|
|
|
568
827
|
Update: ConversationsUpdate;
|
|
569
828
|
Relationships: typeof conversationsRelationships;
|
|
570
829
|
};
|
|
830
|
+
coordination_agents: {
|
|
831
|
+
Row: CoordinationAgentsRow;
|
|
832
|
+
Insert: CoordinationAgentsInsert;
|
|
833
|
+
Update: CoordinationAgentsUpdate;
|
|
834
|
+
Relationships: typeof coordinationAgentsRelationships;
|
|
835
|
+
};
|
|
836
|
+
coordination_events: {
|
|
837
|
+
Row: CoordinationEventsRow;
|
|
838
|
+
Insert: CoordinationEventsInsert;
|
|
839
|
+
Update: CoordinationEventsUpdate;
|
|
840
|
+
Relationships: typeof coordinationEventsRelationships;
|
|
841
|
+
};
|
|
842
|
+
coordination_file_claims: {
|
|
843
|
+
Row: CoordinationFileClaimsRow;
|
|
844
|
+
Insert: CoordinationFileClaimsInsert;
|
|
845
|
+
Update: CoordinationFileClaimsUpdate;
|
|
846
|
+
Relationships: typeof coordinationFileClaimsRelationships;
|
|
847
|
+
};
|
|
848
|
+
coordination_mail: {
|
|
849
|
+
Row: CoordinationMailRow;
|
|
850
|
+
Insert: CoordinationMailInsert;
|
|
851
|
+
Update: CoordinationMailUpdate;
|
|
852
|
+
Relationships: typeof coordinationMailRelationships;
|
|
853
|
+
};
|
|
854
|
+
coordination_queue_items: {
|
|
855
|
+
Row: CoordinationQueueItemsRow;
|
|
856
|
+
Insert: CoordinationQueueItemsInsert;
|
|
857
|
+
Update: CoordinationQueueItemsUpdate;
|
|
858
|
+
Relationships: typeof coordinationQueueItemsRelationships;
|
|
859
|
+
};
|
|
860
|
+
coordination_sessions: {
|
|
861
|
+
Row: CoordinationSessionsRow;
|
|
862
|
+
Insert: CoordinationSessionsInsert;
|
|
863
|
+
Update: CoordinationSessionsUpdate;
|
|
864
|
+
Relationships: typeof coordinationSessionsRelationships;
|
|
865
|
+
};
|
|
866
|
+
coordination_work_items: {
|
|
867
|
+
Row: CoordinationWorkItemsRow;
|
|
868
|
+
Insert: CoordinationWorkItemsInsert;
|
|
869
|
+
Update: CoordinationWorkItemsUpdate;
|
|
870
|
+
Relationships: typeof coordinationWorkItemsRelationships;
|
|
871
|
+
};
|
|
571
872
|
crdt_operations: {
|
|
572
873
|
Row: CrdtOperationsRow;
|
|
573
874
|
Insert: CrdtOperationsInsert;
|
|
@@ -586,6 +887,24 @@ export type Database = {
|
|
|
586
887
|
Update: FailedAttemptsUpdate;
|
|
587
888
|
Relationships: typeof failedAttemptsRelationships;
|
|
588
889
|
};
|
|
890
|
+
gdpr_breaches: {
|
|
891
|
+
Row: GdprBreachesRow;
|
|
892
|
+
Insert: GdprBreachesInsert;
|
|
893
|
+
Update: GdprBreachesUpdate;
|
|
894
|
+
Relationships: typeof gdprBreachesRelationships;
|
|
895
|
+
};
|
|
896
|
+
gdpr_consents: {
|
|
897
|
+
Row: GdprConsentsRow;
|
|
898
|
+
Insert: GdprConsentsInsert;
|
|
899
|
+
Update: GdprConsentsUpdate;
|
|
900
|
+
Relationships: typeof gdprConsentsRelationships;
|
|
901
|
+
};
|
|
902
|
+
gdpr_deletion_requests: {
|
|
903
|
+
Row: GdprDeletionRequestsRow;
|
|
904
|
+
Insert: GdprDeletionRequestsInsert;
|
|
905
|
+
Update: GdprDeletionRequestsUpdate;
|
|
906
|
+
Relationships: typeof gdprDeletionRequestsRelationships;
|
|
907
|
+
};
|
|
589
908
|
global_footer: {
|
|
590
909
|
Row: GlobalFooterRow;
|
|
591
910
|
Insert: GlobalFooterInsert;
|
|
@@ -604,12 +923,36 @@ export type Database = {
|
|
|
604
923
|
Update: GlobalSettingsUpdate;
|
|
605
924
|
Relationships: typeof globalSettingsRelationships;
|
|
606
925
|
};
|
|
926
|
+
jobs: {
|
|
927
|
+
Row: JobsRow;
|
|
928
|
+
Insert: JobsInsert;
|
|
929
|
+
Update: JobsUpdate;
|
|
930
|
+
Relationships: typeof jobsRelationships;
|
|
931
|
+
};
|
|
607
932
|
licenses: {
|
|
608
933
|
Row: LicensesRow;
|
|
609
934
|
Insert: LicensesInsert;
|
|
610
935
|
Update: LicensesUpdate;
|
|
611
936
|
Relationships: typeof licensesRelationships;
|
|
612
937
|
};
|
|
938
|
+
magic_links: {
|
|
939
|
+
Row: MagicLinksRow;
|
|
940
|
+
Insert: MagicLinksInsert;
|
|
941
|
+
Update: MagicLinksUpdate;
|
|
942
|
+
Relationships: typeof magicLinksRelationships;
|
|
943
|
+
};
|
|
944
|
+
marketplace_servers: {
|
|
945
|
+
Row: MarketplaceServersRow;
|
|
946
|
+
Insert: MarketplaceServersInsert;
|
|
947
|
+
Update: MarketplaceServersUpdate;
|
|
948
|
+
Relationships: typeof marketplaceServersRelationships;
|
|
949
|
+
};
|
|
950
|
+
marketplace_transactions: {
|
|
951
|
+
Row: MarketplaceTransactionsRow;
|
|
952
|
+
Insert: MarketplaceTransactionsInsert;
|
|
953
|
+
Update: MarketplaceTransactionsUpdate;
|
|
954
|
+
Relationships: typeof marketplaceTransactionsRelationships;
|
|
955
|
+
};
|
|
613
956
|
media: {
|
|
614
957
|
Row: MediaRow;
|
|
615
958
|
Insert: MediaInsert;
|
|
@@ -634,6 +977,12 @@ export type Database = {
|
|
|
634
977
|
Update: OauthAccountsUpdate;
|
|
635
978
|
Relationships: typeof oauthAccountsRelationships;
|
|
636
979
|
};
|
|
980
|
+
orders: {
|
|
981
|
+
Row: OrdersRow;
|
|
982
|
+
Insert: OrdersInsert;
|
|
983
|
+
Update: OrdersUpdate;
|
|
984
|
+
Relationships: typeof ordersRelationships;
|
|
985
|
+
};
|
|
637
986
|
page_revisions: {
|
|
638
987
|
Row: PageRevisionsRow;
|
|
639
988
|
Insert: PageRevisionsInsert;
|
|
@@ -646,6 +995,12 @@ export type Database = {
|
|
|
646
995
|
Update: PagesUpdate;
|
|
647
996
|
Relationships: typeof pagesRelationships;
|
|
648
997
|
};
|
|
998
|
+
passkeys: {
|
|
999
|
+
Row: PasskeysRow;
|
|
1000
|
+
Insert: PasskeysInsert;
|
|
1001
|
+
Update: PasskeysUpdate;
|
|
1002
|
+
Relationships: typeof passkeysRelationships;
|
|
1003
|
+
};
|
|
649
1004
|
password_reset_tokens: {
|
|
650
1005
|
Row: PasswordResetTokensRow;
|
|
651
1006
|
Insert: PasswordResetTokensInsert;
|
|
@@ -664,6 +1019,12 @@ export type Database = {
|
|
|
664
1019
|
Update: ProcessedWebhookEventsUpdate;
|
|
665
1020
|
Relationships: typeof processedWebhookEventsRelationships;
|
|
666
1021
|
};
|
|
1022
|
+
products: {
|
|
1023
|
+
Row: ProductsRow;
|
|
1024
|
+
Insert: ProductsInsert;
|
|
1025
|
+
Update: ProductsUpdate;
|
|
1026
|
+
Relationships: typeof productsRelationships;
|
|
1027
|
+
};
|
|
667
1028
|
rag_chunks: {
|
|
668
1029
|
Row: RagChunksRow;
|
|
669
1030
|
Insert: RagChunksInsert;
|
|
@@ -694,6 +1055,18 @@ export type Database = {
|
|
|
694
1055
|
Update: RegisteredAgentsUpdate;
|
|
695
1056
|
Relationships: typeof registeredAgentsRelationships;
|
|
696
1057
|
};
|
|
1058
|
+
revealcoin_payments: {
|
|
1059
|
+
Row: RevealcoinPaymentsRow;
|
|
1060
|
+
Insert: RevealcoinPaymentsInsert;
|
|
1061
|
+
Update: RevealcoinPaymentsUpdate;
|
|
1062
|
+
Relationships: typeof revealcoinPaymentsRelationships;
|
|
1063
|
+
};
|
|
1064
|
+
revealcoin_price_snapshots: {
|
|
1065
|
+
Row: RevealcoinPriceSnapshotsRow;
|
|
1066
|
+
Insert: RevealcoinPriceSnapshotsInsert;
|
|
1067
|
+
Update: RevealcoinPriceSnapshotsUpdate;
|
|
1068
|
+
Relationships: typeof revealcoinPriceSnapshotsRelationships;
|
|
1069
|
+
};
|
|
697
1070
|
sessions: {
|
|
698
1071
|
Row: SessionsRow;
|
|
699
1072
|
Insert: SessionsInsert;
|
|
@@ -724,6 +1097,12 @@ export type Database = {
|
|
|
724
1097
|
Update: TenantProviderConfigsUpdate;
|
|
725
1098
|
Relationships: typeof tenantProviderConfigsRelationships;
|
|
726
1099
|
};
|
|
1100
|
+
tenants: {
|
|
1101
|
+
Row: TenantsRow;
|
|
1102
|
+
Insert: TenantsInsert;
|
|
1103
|
+
Update: TenantsUpdate;
|
|
1104
|
+
Relationships: typeof tenantsRelationships;
|
|
1105
|
+
};
|
|
727
1106
|
ticket_comments: {
|
|
728
1107
|
Row: TicketCommentsRow;
|
|
729
1108
|
Insert: TicketCommentsInsert;
|
|
@@ -748,6 +1127,12 @@ export type Database = {
|
|
|
748
1127
|
Update: TicketsUpdate;
|
|
749
1128
|
Relationships: typeof ticketsRelationships;
|
|
750
1129
|
};
|
|
1130
|
+
usage_meters: {
|
|
1131
|
+
Row: UsageMetersRow;
|
|
1132
|
+
Insert: UsageMetersInsert;
|
|
1133
|
+
Update: UsageMetersUpdate;
|
|
1134
|
+
Relationships: typeof usageMetersRelationships;
|
|
1135
|
+
};
|
|
751
1136
|
user_api_keys: {
|
|
752
1137
|
Row: UserApiKeysRow;
|
|
753
1138
|
Insert: UserApiKeysInsert;
|