Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -39,14 +39,6 @@ model User {
|
||||
createdGroups Group[]
|
||||
groups GroupUser[]
|
||||
logs Log[]
|
||||
createdRows Row[]
|
||||
createdRowComments RowComment[]
|
||||
createdRowCommentReactions RowCommentReaction[]
|
||||
createdEntityViews EntityView[] @relation("createdByUser")
|
||||
rowPermissions RowPermission[]
|
||||
assignedTasks RowTask[] @relation("assignedToUser")
|
||||
completedTasks RowTask[] @relation("completedByUser")
|
||||
createdRowTasks RowTask[] @relation("createdByUser")
|
||||
tenants TenantUser[]
|
||||
invitation TenantUserInvitation? @relation("createdUser")
|
||||
sentInvitations TenantUserInvitation[] @relation("fromUser")
|
||||
@@ -54,12 +46,10 @@ model User {
|
||||
revokedInvitations TenantUserInvitation[] @relation("revokedByUser")
|
||||
roles UserRole[]
|
||||
readEmails EmailRead[]
|
||||
entityViews EntityView[]
|
||||
onboardingSessions OnboardingSession[]
|
||||
tenantIpAddresses TenantIpAddress[]
|
||||
analyticsUniqueSessions AnalyticsUniqueVisitor[]
|
||||
metricLogs MetricLog[]
|
||||
formulaLogs FormulaLog[]
|
||||
knowledgeBaseArticles KnowledgeBaseArticle[]
|
||||
events Event[]
|
||||
workflowsCreated Workflow[] @relation("createdByUser")
|
||||
@@ -68,6 +58,9 @@ model User {
|
||||
workflowCredentialsCreated WorkflowCredential[]
|
||||
feedback Feedback[]
|
||||
supportTickets SupportTicket[]
|
||||
assignedSupportTickets SupportTicket[] @relation("supportTicketAssignee")
|
||||
supportTicketMessages SupportTicketMessage[] @relation("supportTicketMessageAuthor")
|
||||
adminTenantNotesAuthored AdminTenantNote[] @relation("adminTenantNoteAuthor")
|
||||
credits Credit[]
|
||||
portals Portal[]
|
||||
impersonationAuditsActor ImpersonationAudit[] @relation("ImpersonationAuditActor")
|
||||
@@ -79,8 +72,8 @@ model User {
|
||||
deviceTokens DeviceToken[]
|
||||
magicLinkTokens MagicLinkToken[]
|
||||
|
||||
appsInstalled App[] @relation("appInstalledByUser")
|
||||
appSyncRuns AppSyncRun[] @relation("appSyncRunCreatedByUser")
|
||||
// Apps-Engine (R-P5) uses bare String scalars for tenantId/createdByUserId
|
||||
// (AD-21) — no back-relations here.
|
||||
|
||||
sitesCreated Site[] @relation("sitesCreatedByUser")
|
||||
|
||||
@@ -135,8 +128,6 @@ model Tenant {
|
||||
apiKeyLogs ApiKeyLog[]
|
||||
groups Group[]
|
||||
logs Log[]
|
||||
rows Row[]
|
||||
rowPermissions RowPermission[]
|
||||
subscription TenantSubscription?
|
||||
productConfiguration TenantProductConfiguration?
|
||||
featureOverrides TenantFeatureOverride[]
|
||||
@@ -147,20 +138,15 @@ model Tenant {
|
||||
inboundAddresses TenantInboundAddress[]
|
||||
events Event[]
|
||||
fromRegistration Registration?
|
||||
entityViews EntityView[]
|
||||
emailSenders EmailSender[]
|
||||
campaigns Campaign[]
|
||||
outboundEmails OutboundEmail[]
|
||||
onboardingSessions OnboardingSession[]
|
||||
onboardingDemoProvisionings OnboardingDemoProvisioning[]
|
||||
ipAddresses TenantIpAddress[]
|
||||
tenantSettingsRow TenantSettingsRow?
|
||||
metricLogs MetricLog[]
|
||||
formulaLogs FormulaLog[]
|
||||
knowledgeBases KnowledgeBase[]
|
||||
types TenantType[]
|
||||
entityProperties Property[]
|
||||
entityGroupConfigurations EntityGroupConfiguration[]
|
||||
entityTemplates EntityTemplate[]
|
||||
workflows Workflow[]
|
||||
workflowExecutions WorkflowExecution[]
|
||||
workflowVariables WorkflowVariable[]
|
||||
@@ -172,6 +158,7 @@ model Tenant {
|
||||
portalsUsers PortalUser[]
|
||||
widgets Widget[]
|
||||
impersonationAudits ImpersonationAudit[]
|
||||
adminTenantNotes AdminTenantNote[]
|
||||
notificationDeliveries NotificationDelivery[]
|
||||
notificationPreferences UserNotificationPreference[]
|
||||
deviceTokens DeviceToken[]
|
||||
@@ -180,9 +167,13 @@ model Tenant {
|
||||
theme String?
|
||||
themeConfig String?
|
||||
|
||||
apps App[]
|
||||
dataConnections DataConnection[]
|
||||
appSyncRuns AppSyncRun[]
|
||||
// Apps-Engine (R-P5): App is global; DataConnection/AppSyncRun use bare
|
||||
// tenantId scalars (AD-21) — no back-relations here.
|
||||
|
||||
// Global du/Sie formality toggle (Anrede). Default "du" keeps the effective
|
||||
// i18next language equal to the base locale, so existing rendering stays
|
||||
// byte-identical; "sie" resolves to the "<locale>-formal" variant.
|
||||
anrede String? @default("du")
|
||||
|
||||
sites Site[]
|
||||
|
||||
@@ -246,6 +237,10 @@ model TenantUser {
|
||||
status Int
|
||||
tenant Tenant @relation(fields: [tenantId], references: [id], onDelete: Cascade)
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@unique([tenantId, userId])
|
||||
@@index([userId])
|
||||
@@index([tenantId, status])
|
||||
}
|
||||
|
||||
model TenantUserInvitation {
|
||||
|
||||
Reference in new issue
Block a user