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
@@ -32,22 +32,17 @@ model AppConfiguration {
|
||||
}
|
||||
|
||||
model Log {
|
||||
id String @id @default(cuid())
|
||||
createdAt DateTime @default(now())
|
||||
tenantId String?
|
||||
userId String?
|
||||
apiKeyId String?
|
||||
rowId String?
|
||||
url String
|
||||
action String
|
||||
details String?
|
||||
commentId String?
|
||||
apiKey ApiKey? @relation(fields: [apiKeyId], references: [id], onDelete: Cascade)
|
||||
comment RowComment? @relation(fields: [commentId], references: [id])
|
||||
row Row? @relation(fields: [rowId], references: [id])
|
||||
tenant Tenant? @relation(fields: [tenantId], references: [id], onDelete: Cascade)
|
||||
user User? @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
webhookLogs EntityWebhookLog[]
|
||||
id String @id @default(cuid())
|
||||
createdAt DateTime @default(now())
|
||||
tenantId String?
|
||||
userId String?
|
||||
apiKeyId String?
|
||||
url String
|
||||
action String
|
||||
details String?
|
||||
apiKey ApiKey? @relation(fields: [apiKeyId], references: [id], onDelete: Cascade)
|
||||
tenant Tenant? @relation(fields: [tenantId], references: [id], onDelete: Cascade)
|
||||
user User? @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
}
|
||||
|
||||
model AuditEvent {
|
||||
@@ -68,6 +63,15 @@ model AuditEvent {
|
||||
dataSensitivity String @default("internal")
|
||||
regulatoryScope String[] @default([])
|
||||
metadata Json?
|
||||
// Structured field-level change capture (ENTITY-MODEL §Domäne 2, AK-P3 DoD 2).
|
||||
// Nullable/additive: legacy rows and callers without diff capture stay valid.
|
||||
// NOT part of the eventHash digest — the chain payload is frozen; binding
|
||||
// diffs into the chain is a coordinated R-P1b follow-up.
|
||||
beforeDiff Json?
|
||||
afterDiff Json?
|
||||
// Persisted German summary line; viewers fall back to a derived summary
|
||||
// when null (pre-existing rows).
|
||||
summaryText String?
|
||||
previousHash String?
|
||||
eventHash String?
|
||||
|
||||
@@ -80,9 +84,9 @@ model AuditEvent {
|
||||
}
|
||||
|
||||
model IdempotencyKey {
|
||||
id String @id @default(cuid())
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
id String @id @default(cuid())
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
expiresAt DateTime?
|
||||
scope String
|
||||
key String
|
||||
@@ -106,15 +110,14 @@ model ApiKey {
|
||||
keyLastFour String?
|
||||
hashedAt DateTime?
|
||||
keyVersion Int @default(1)
|
||||
scopes Json @default("[\"public_api:read\"]")
|
||||
alias String
|
||||
expires DateTime?
|
||||
active Boolean
|
||||
createdByUser User @relation(fields: [createdByUserId], references: [id], onDelete: Cascade)
|
||||
tenant Tenant @relation(fields: [tenantId], references: [id], onDelete: Cascade)
|
||||
entities ApiKeyEntity[]
|
||||
apiKeyLogs ApiKeyLog[]
|
||||
logs Log[]
|
||||
createdRows Row[]
|
||||
tenantIpAddresses TenantIpAddress[]
|
||||
|
||||
@@unique([tenantId, alias])
|
||||
|
||||
Reference in new issue
Block a user