@tearleads/client-sdk 0.1.43 → 0.1.45
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/client/containerDocumentDiscovery.js +71 -29
- package/client/containerDocumentDiscovery.js.map +1 -1
- package/client/deviceFirst.js +4 -5
- package/client/deviceFirst.js.map +1 -1
- package/data/persistence/container-contents/containerContentsPersistence.js +2 -3
- package/data/persistence/container-contents/containerContentsPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerCreateIntentSettlement.js +16 -16
- package/data/persistence/container-contents/containerCreateIntentSettlement.js.map +1 -1
- package/data/persistence/container-contents/containerDeletionPersistence.js +5 -11
- package/data/persistence/container-contents/containerDeletionPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerDocumentReassignment.js +13 -13
- package/data/persistence/container-contents/containerDocumentReassignment.js.map +1 -1
- package/data/persistence/container-contents/containerHydrationPersistence.js +7 -4
- package/data/persistence/container-contents/containerHydrationPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerIntentPersistence.js +43 -42
- package/data/persistence/container-contents/containerIntentPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js +15 -20
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerMoveAbandonPersistence.js +1 -6
- package/data/persistence/container-contents/containerMoveAbandonPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerMoveIntentRows.js +9 -8
- package/data/persistence/container-contents/containerMoveIntentRows.js.map +1 -1
- package/data/persistence/container-contents/containerReconcilePersistence.js +4 -8
- package/data/persistence/container-contents/containerReconcilePersistence.js.map +1 -1
- package/data/persistence/container-contents/containerRecoveryPersistence.js +20 -19
- package/data/persistence/container-contents/containerRecoveryPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerRemovalWork.js +10 -10
- package/data/persistence/container-contents/containerRemovalWork.js.map +1 -1
- package/data/persistence/container-contents/containerStructuralRepair.js +21 -44
- package/data/persistence/container-contents/containerStructuralRepair.js.map +1 -1
- package/data/persistence/container-contents/documentLinkRemovalRepair.js +12 -11
- package/data/persistence/container-contents/documentLinkRemovalRepair.js.map +1 -1
- package/data/persistence/container-contents/documentMoveIntentPersistence.js +53 -28
- package/data/persistence/container-contents/documentMoveIntentPersistence.js.map +1 -1
- package/data/persistence/container-contents/documentPlacementIntentEnqueue.js +9 -8
- package/data/persistence/container-contents/documentPlacementIntentEnqueue.js.map +1 -1
- package/data/persistence/container-contents/documentPurgePlacement.js +6 -6
- package/data/persistence/container-contents/documentPurgePlacement.js.map +1 -1
- package/data/persistence/container-contents/dormantContainerMetadata.js +1 -5
- package/data/persistence/container-contents/dormantContainerMetadata.js.map +1 -1
- package/data/persistence/container-contents/pendingContainerCreate.js +5 -5
- package/data/persistence/container-contents/pendingContainerCreate.js.map +1 -1
- package/data/persistence/containers/containerPersistence.js +10 -27
- package/data/persistence/containers/containerPersistence.js.map +1 -1
- package/data/persistence/containers/containerSyncWatermarkPersistence.d.ts +11 -3
- package/data/persistence/containers/containerSyncWatermarkPersistence.js +46 -58
- package/data/persistence/containers/containerSyncWatermarkPersistence.js.map +1 -1
- package/data/persistence/containers/documentContainerProjectionPersistence.js +2 -2
- package/data/persistence/containers/documentContainerProjectionPersistence.js.map +1 -1
- package/data/persistence/containers/documentPlacement.js +10 -10
- package/data/persistence/containers/documentPlacement.js.map +1 -1
- package/data/persistence/documents/internal/discardDocument.js +5 -5
- package/data/persistence/documents/internal/discardDocument.js.map +1 -1
- package/data/persistence/documents/internal/documentDeletionPersistence.js +7 -9
- package/data/persistence/documents/internal/documentDeletionPersistence.js.map +1 -1
- package/data/persistence/documents/internal/documentMutationPersistence.js +6 -8
- package/data/persistence/documents/internal/documentMutationPersistence.js.map +1 -1
- package/data/persistence/documents/internal/ensureDocumentsSchema.js +2 -2
- package/data/persistence/documents/internal/ensureDocumentsSchema.js.map +1 -1
- package/data/persistence/documents/internal/orphanSideRows.js +3 -22
- package/data/persistence/documents/internal/orphanSideRows.js.map +1 -1
- package/data/persistence/organizations/organizationDataUsagePersistence.js +31 -64
- package/data/persistence/organizations/organizationDataUsagePersistence.js.map +1 -1
- package/data/persistence/organizations/organizationReadModelPurge.js +1 -5
- package/data/persistence/organizations/organizationReadModelPurge.js.map +1 -1
- package/data/persistence/principalCurrentAcknowledgementPersistence.js +24 -17
- package/data/persistence/principalCurrentAcknowledgementPersistence.js.map +1 -1
- package/data/persistence/principalHistoryIncompleteRetention.js +3 -9
- package/data/persistence/principalHistoryIncompleteRetention.js.map +1 -1
- package/data/persistence/principalHistoryStagePersistence.d.ts +3 -9
- package/data/persistence/principalHistoryStagePersistence.js +15 -25
- package/data/persistence/principalHistoryStagePersistence.js.map +1 -1
- package/data/persistence/principalHistoryStageRetention.js +16 -15
- package/data/persistence/principalHistoryStageRetention.js.map +1 -1
- package/data/persistence/principalHistoryUnpublishedRetention.js +6 -13
- package/data/persistence/principalHistoryUnpublishedRetention.js.map +1 -1
- package/data/sqlite/containerSchema.d.ts +84 -180
- package/data/sqlite/containerSchema.js +14 -23
- package/data/sqlite/containerSchema.js.map +1 -1
- package/data/sqlite/documentPlacementIntentSchema.js +3 -50
- package/data/sqlite/documentPlacementIntentSchema.js.map +1 -1
- package/data/sqlite/documentSyncFailurePersistence.d.ts +16 -6
- package/data/sqlite/documentSyncFailurePersistence.js +44 -54
- package/data/sqlite/documentSyncFailurePersistence.js.map +1 -1
- package/data/sqlite/{documentPlacementIntentSchema.d.ts → localIntentSchema.d.ts} +162 -88
- package/data/sqlite/localIntentSchema.js +90 -0
- package/data/sqlite/localIntentSchema.js.map +1 -0
- package/data/sqlite/organizationDataUsageSchema.js +11 -17
- package/data/sqlite/organizationDataUsageSchema.js.map +1 -1
- package/data/sqlite/principalHistoryRetentionSchema.js +0 -15
- package/data/sqlite/principalHistoryRetentionSchema.js.map +1 -1
- package/data/sqlite/principalHistoryStageSchema.d.ts +44 -2
- package/data/sqlite/principalHistoryStageSchema.js +14 -2
- package/data/sqlite/principalHistoryStageSchema.js.map +1 -1
- package/data/sqlite/schema.d.ts +1019 -2284
- package/data/sqlite/schema.js +48 -169
- package/data/sqlite/schema.js.map +1 -1
- package/internal/api-client/ApiClient.d.ts +6 -34
- package/internal/api-client/ApiClient.js +8 -10
- package/internal/api-client/ApiClient.js.map +1 -1
- package/internal/api-client/apiRequestRuntime.d.ts +2 -0
- package/internal/api-client/apiRequestRuntime.js +4 -0
- package/internal/api-client/apiRequestRuntime.js.map +1 -1
- package/internal/api-client/requestInternals.js +7 -7
- package/internal/api-client/requestInternals.js.map +1 -1
- package/internal/api-client/routes/containers/reads.d.ts +13 -7
- package/internal/api-client/routes/containers/reads.js +36 -15
- package/internal/api-client/routes/containers/reads.js.map +1 -1
- package/internal/api-client/types.d.ts +1 -5
- package/internal/api-client/types.js.map +1 -1
- package/internal/validators/containerReadRefinements.js +15 -5
- package/internal/validators/containerReadRefinements.js.map +1 -1
- package/internal/validators/containerReadSchemas.d.ts +36 -0
- package/internal/validators/containerReadSchemas.js +64 -1
- package/internal/validators/containerReadSchemas.js.map +1 -1
- package/internal/validators/operation/containerReads.d.ts +118 -182
- package/internal/validators/operation/containerReads.js +20 -54
- package/internal/validators/operation/containerReads.js.map +1 -1
- package/internal/validators/operation/index.d.ts +1 -1
- package/internal/validators/operation/index.js +1 -1
- package/internal/validators/operation/index.js.map +1 -1
- package/internal/validators/operation/registry.d.ts +2 -2
- package/internal/validators/operation/registry.js +2 -2
- package/internal/validators/operation/registry.js.map +1 -1
- package/internal/validators/request/containerDocumentLanes.d.ts +23 -0
- package/internal/validators/request/containerDocumentLanes.js +23 -0
- package/internal/validators/request/containerDocumentLanes.js.map +1 -0
- package/internal/validators/request/containerParentLanes.js +5 -35
- package/internal/validators/request/containerParentLanes.js.map +1 -1
- package/internal/validators/request/index.d.ts +1 -0
- package/internal/validators/request/index.js +1 -0
- package/internal/validators/request/index.js.map +1 -1
- package/internal/validators/response/containerDocumentLanes.d.ts +82 -0
- package/internal/validators/response/containerDocumentLanes.js +35 -0
- package/internal/validators/response/containerDocumentLanes.js.map +1 -0
- package/internal/validators/response/containerParentLanes.js +3 -15
- package/internal/validators/response/containerParentLanes.js.map +1 -1
- package/internal/validators/response/index.d.ts +2 -1
- package/internal/validators/response/index.js +1 -1
- package/internal/validators/response/index.js.map +1 -1
- package/package.json +1 -1
- package/sync/reconciliation/knownContainerSweep.js +57 -54
- package/sync/reconciliation/knownContainerSweep.js.map +1 -1
- package/sync/reconciliation/reconcileContainer.js +49 -17
- package/sync/reconciliation/reconcileContainer.js.map +1 -1
- package/sync/reconciliation/service.js +44 -16
- package/sync/reconciliation/service.js.map +1 -1
- package/sync/reconciliation/serviceTypes.d.ts +23 -2
- package/sync/reconciliation/serviceTypes.js.map +1 -1
- package/workflows/container-contents/containerDocumentListing.js +92 -38
- package/workflows/container-contents/containerDocumentListing.js.map +1 -1
- package/workflows/container-contents/containerPersistence.d.ts +8 -2
- package/workflows/container-contents/containerPersistence.js +6 -7
- package/workflows/container-contents/containerPersistence.js.map +1 -1
- package/workflows/container-contents/documentDiscovery.d.ts +3 -3
- package/workflows/container-contents/documentDiscovery.js +24 -96
- package/workflows/container-contents/documentDiscovery.js.map +1 -1
- package/workflows/container-contents/documentDiscoveryApply.js +65 -0
- package/workflows/container-contents/documentDiscoveryApply.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryLanes.js +53 -0
- package/workflows/container-contents/documentDiscoveryLanes.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryTypes.d.ts +25 -19
- package/workflows/container-contents/documentDiscoveryTypes.js.map +1 -1
- package/workflows/container-contents/documentPriming.js +6 -10
- package/workflows/container-contents/documentPriming.js.map +1 -1
- package/workflows/container-contents/documentQueries/sql.js +11 -10
- package/workflows/container-contents/documentQueries/sql.js.map +1 -1
- package/workflows/container-contents/documentQueries.js +2 -2
- package/workflows/container-contents/documentQueries.js.map +1 -1
- package/workflows/container-contents/pendingDownloads.js +2 -5
- package/workflows/container-contents/pendingDownloads.js.map +1 -1
- package/workflows/container-contents/pendingWrites/deferredTails.js +3 -11
- package/workflows/container-contents/pendingWrites/deferredTails.js.map +1 -1
- package/workflows/container-contents/pendingWrites/sources.js +56 -80
- package/workflows/container-contents/pendingWrites/sources.js.map +1 -1
- package/workflows/container-contents/pendingWrites.js +6 -4
- package/workflows/container-contents/pendingWrites.js.map +1 -1
- package/workflows/container-contents/remoteContainerState.js +2 -1
- package/workflows/container-contents/remoteContainerState.js.map +1 -1
- package/workflows/container-contents/remoteHydration/laneFetchMarkers.js +11 -17
- package/workflows/container-contents/remoteHydration/laneFetchMarkers.js.map +1 -1
- package/workflows/sync/remoteReset.js +16 -23
- package/workflows/sync/remoteReset.js.map +1 -1
- package/workflows/sync/remoteResetCursorScope.js +10 -18
- package/workflows/sync/remoteResetCursorScope.js.map +1 -1
- package/workflows/sync/remoteResetPrincipalScope.js +1 -2
- package/workflows/sync/remoteResetPrincipalScope.js.map +1 -1
- package/workflows/sync/remoteResetScope.js +18 -18
- package/workflows/sync/remoteResetScope.js.map +1 -1
package/data/sqlite/schema.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { containerDocumentTombstoneHolds } from "./containerDocumentTombstoneHoldSchema.js";
|
|
2
2
|
import { organizationReadModelTables } from "./organizationReadModelTableRegistry.js";
|
|
3
3
|
import { type SqlTableSchema } from "./sqlTableSchema.js";
|
|
4
|
-
export { containerHydrationTombstones,
|
|
4
|
+
export { containerHydrationTombstones, containers, dormantContainerMetadata, dormantMetadataSweepRequests, supersededContainerBindings, } from "./containerSchema.js";
|
|
5
5
|
export { documentAttachmentBlobProjection, documentPendingAttachments, } from "./documentAttachmentSchema.js";
|
|
6
|
-
export {
|
|
6
|
+
export { inContainerIntentLanes, inLocalIntentLane, LOCAL_INTENT_LANES, LOCAL_INTENT_SUBJECT, localIntents, } from "./localIntentSchema.js";
|
|
7
7
|
export { principalPolicies, principalPolicyBundleHistory, principalPolicyBundleReferences, principalPolicyCheckpoints, principalPolicyOrganizations, } from "./principalPolicySchema.js";
|
|
8
8
|
export { securityIncidents } from "./securityIncidentSchema.js";
|
|
9
9
|
export { containerDocumentTombstoneHolds, organizationReadModelTables };
|
|
@@ -44,6 +44,14 @@ export { containerDocumentTombstoneHolds, organizationReadModelTables };
|
|
|
44
44
|
* - `recoveryGeneration`: Atomic raw-history recovery writer fence.
|
|
45
45
|
* - `recoveryDocumentId`: Former server id for cross-client post-purge recreation.
|
|
46
46
|
* - `pullContinuation`: Durable progress for the next bounded remote pull.
|
|
47
|
+
* - `syncFailureStatus`, `syncFailureMessage`, `syncFailureAttemptedAt`: The
|
|
48
|
+
* last terminal sync failure or quarantined incoming update for this scope.
|
|
49
|
+
* The durable write queue (queued rows of `documentHistoryUpdates`) has no
|
|
50
|
+
* status columns, so these let the write-queue view and footer explain why
|
|
51
|
+
* the document is blocked. `syncFailureMessage` is non-null exactly when a
|
|
52
|
+
* failure is recorded; a newer failure replaces the old, and a later fully
|
|
53
|
+
* validated sync pass, a remote reset, or the scope's teardown clears all
|
|
54
|
+
* three.
|
|
47
55
|
* - `updatedAt`: Local timestamp for the last persisted runtime-state update.
|
|
48
56
|
*
|
|
49
57
|
* Indexes:
|
|
@@ -336,60 +344,31 @@ export declare const documents: import("drizzle-orm/sqlite-core").SQLiteTableWit
|
|
|
336
344
|
}, {}, {
|
|
337
345
|
length: number | undefined;
|
|
338
346
|
}>;
|
|
339
|
-
|
|
340
|
-
name: "
|
|
347
|
+
syncFailureStatus: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
348
|
+
name: "sync_failure_status";
|
|
341
349
|
tableName: "documents";
|
|
342
|
-
dataType: "
|
|
343
|
-
columnType: "
|
|
344
|
-
data:
|
|
345
|
-
driverParam:
|
|
346
|
-
notNull:
|
|
350
|
+
dataType: "number";
|
|
351
|
+
columnType: "SQLiteInteger";
|
|
352
|
+
data: number;
|
|
353
|
+
driverParam: number;
|
|
354
|
+
notNull: false;
|
|
347
355
|
hasDefault: false;
|
|
348
356
|
isPrimaryKey: false;
|
|
349
357
|
isAutoincrement: false;
|
|
350
358
|
hasRuntimeDefault: false;
|
|
351
|
-
enumValues:
|
|
359
|
+
enumValues: undefined;
|
|
352
360
|
baseColumn: never;
|
|
353
361
|
identity: undefined;
|
|
354
362
|
generated: undefined;
|
|
355
|
-
}, {}, {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
dialect: "sqlite";
|
|
360
|
-
}>;
|
|
361
|
-
/**
|
|
362
|
-
* Last terminal sync failure or quarantined incoming update per document scope.
|
|
363
|
-
*
|
|
364
|
-
* The durable write queue (queued rows of `documentHistoryUpdates`) has no
|
|
365
|
-
* status columns — a row is either queued or settled. Terminal submissions and
|
|
366
|
-
* incoming updates that cannot be decrypted or imported are recorded here so
|
|
367
|
-
* the write-queue view and footer can surface why the document is blocked.
|
|
368
|
-
* Rows are upserted per scope and deleted only after a later fully validated
|
|
369
|
-
* sync pass succeeds or the scope's local state is torn down.
|
|
370
|
-
*
|
|
371
|
-
* Columns:
|
|
372
|
-
* - `appKind`: Local document namespace matching `documents.appKind`.
|
|
373
|
-
* - `localId`: Local document id matching `documents.localId`.
|
|
374
|
-
* - `status`: HTTP status of the failed submission when known.
|
|
375
|
-
* - `message`: Human-readable failure description for queue display.
|
|
376
|
-
* - `attemptedAt`: Timestamp of the failed attempt.
|
|
377
|
-
*
|
|
378
|
-
* Indexes:
|
|
379
|
-
* - `(appKind, localId)` is the primary key and keeps one failure per scope.
|
|
380
|
-
*/
|
|
381
|
-
export declare const documentSyncFailures: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
382
|
-
name: "document_sync_failures";
|
|
383
|
-
schema: undefined;
|
|
384
|
-
columns: {
|
|
385
|
-
appKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
386
|
-
name: "app_kind";
|
|
387
|
-
tableName: "document_sync_failures";
|
|
363
|
+
}, {}, {}>;
|
|
364
|
+
syncFailureMessage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
365
|
+
name: "sync_failure_message";
|
|
366
|
+
tableName: "documents";
|
|
388
367
|
dataType: "string";
|
|
389
368
|
columnType: "SQLiteText";
|
|
390
369
|
data: string;
|
|
391
370
|
driverParam: string;
|
|
392
|
-
notNull:
|
|
371
|
+
notNull: false;
|
|
393
372
|
hasDefault: false;
|
|
394
373
|
isPrimaryKey: false;
|
|
395
374
|
isAutoincrement: false;
|
|
@@ -401,54 +380,18 @@ export declare const documentSyncFailures: import("drizzle-orm/sqlite-core").SQL
|
|
|
401
380
|
}, {}, {
|
|
402
381
|
length: number | undefined;
|
|
403
382
|
}>;
|
|
404
|
-
|
|
405
|
-
name: "
|
|
406
|
-
tableName: "
|
|
383
|
+
syncFailureAttemptedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
384
|
+
name: "sync_failure_attempted_at";
|
|
385
|
+
tableName: "documents";
|
|
407
386
|
dataType: "string";
|
|
408
387
|
columnType: "SQLiteText";
|
|
409
388
|
data: string;
|
|
410
389
|
driverParam: string;
|
|
411
|
-
notNull: true;
|
|
412
|
-
hasDefault: false;
|
|
413
|
-
isPrimaryKey: false;
|
|
414
|
-
isAutoincrement: false;
|
|
415
|
-
hasRuntimeDefault: false;
|
|
416
|
-
enumValues: [string, ...string[]];
|
|
417
|
-
baseColumn: never;
|
|
418
|
-
identity: undefined;
|
|
419
|
-
generated: undefined;
|
|
420
|
-
}, {}, {
|
|
421
|
-
length: number | undefined;
|
|
422
|
-
}>;
|
|
423
|
-
status: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
424
|
-
name: "status";
|
|
425
|
-
tableName: "document_sync_failures";
|
|
426
|
-
dataType: "number";
|
|
427
|
-
columnType: "SQLiteInteger";
|
|
428
|
-
data: number;
|
|
429
|
-
driverParam: number;
|
|
430
390
|
notNull: false;
|
|
431
391
|
hasDefault: false;
|
|
432
392
|
isPrimaryKey: false;
|
|
433
393
|
isAutoincrement: false;
|
|
434
394
|
hasRuntimeDefault: false;
|
|
435
|
-
enumValues: undefined;
|
|
436
|
-
baseColumn: never;
|
|
437
|
-
identity: undefined;
|
|
438
|
-
generated: undefined;
|
|
439
|
-
}, {}, {}>;
|
|
440
|
-
message: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
441
|
-
name: "message";
|
|
442
|
-
tableName: "document_sync_failures";
|
|
443
|
-
dataType: "string";
|
|
444
|
-
columnType: "SQLiteText";
|
|
445
|
-
data: string;
|
|
446
|
-
driverParam: string;
|
|
447
|
-
notNull: true;
|
|
448
|
-
hasDefault: false;
|
|
449
|
-
isPrimaryKey: false;
|
|
450
|
-
isAutoincrement: false;
|
|
451
|
-
hasRuntimeDefault: false;
|
|
452
395
|
enumValues: [string, ...string[]];
|
|
453
396
|
baseColumn: never;
|
|
454
397
|
identity: undefined;
|
|
@@ -456,9 +399,9 @@ export declare const documentSyncFailures: import("drizzle-orm/sqlite-core").SQL
|
|
|
456
399
|
}, {}, {
|
|
457
400
|
length: number | undefined;
|
|
458
401
|
}>;
|
|
459
|
-
|
|
460
|
-
name: "
|
|
461
|
-
tableName: "
|
|
402
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
403
|
+
name: "updated_at";
|
|
404
|
+
tableName: "documents";
|
|
462
405
|
dataType: "string";
|
|
463
406
|
columnType: "SQLiteText";
|
|
464
407
|
data: string;
|
|
@@ -1631,98 +1574,39 @@ export declare const documentProjectionText: import("drizzle-orm/sqlite-core").S
|
|
|
1631
1574
|
dialect: "sqlite";
|
|
1632
1575
|
}>;
|
|
1633
1576
|
/**
|
|
1634
|
-
*
|
|
1577
|
+
* Per-lane sync state for container data: the server cursor and the local
|
|
1578
|
+
* freshness marker share one row per lane.
|
|
1635
1579
|
*
|
|
1636
|
-
*
|
|
1637
|
-
*
|
|
1638
|
-
*
|
|
1639
|
-
*
|
|
1580
|
+
* Container sync is split into lanes, such as a parent-container child lane or
|
|
1581
|
+
* a container-document membership lane. The cursor lets the next request
|
|
1582
|
+
* resume without replaying the entire tree. The freshness marker records the
|
|
1583
|
+
* last fully drained check independently of the cursor: empty server
|
|
1584
|
+
* responses do not always carry a new watermark, but startup still needs to
|
|
1585
|
+
* know that it recently checked the lane before polling again.
|
|
1640
1586
|
*
|
|
1641
1587
|
* Columns:
|
|
1642
|
-
* - `
|
|
1643
|
-
*
|
|
1644
|
-
* - `
|
|
1645
|
-
*
|
|
1646
|
-
* - `
|
|
1647
|
-
*
|
|
1648
|
-
* - `
|
|
1649
|
-
*
|
|
1650
|
-
* - `
|
|
1651
|
-
*
|
|
1652
|
-
*
|
|
1653
|
-
* - `createdAt`: Intent creation timestamp used for FIFO sync.
|
|
1654
|
-
* - `updatedAt`: Local timestamp for the latest status/error change.
|
|
1588
|
+
* - `laneKind`: Sync lane category, such as `container_parent` or
|
|
1589
|
+
* `container_documents`.
|
|
1590
|
+
* - `laneId`: Lane identity. Root parent sync uses `root`, child sync uses a
|
|
1591
|
+
* parent-prefixed container id, and document lanes use the container id.
|
|
1592
|
+
* - `watermarkUpdatedAt`: Server `updatedAt` value for the stored watermark;
|
|
1593
|
+
* null until a watermark is saved.
|
|
1594
|
+
* - `watermarkId`: Server id tie-breaker for the stored watermark; null
|
|
1595
|
+
* exactly when `watermarkUpdatedAt` is.
|
|
1596
|
+
* - `updatedAt`: Local timestamp for when the cursor was saved.
|
|
1597
|
+
* - `checkedAt`: Local timestamp for the most recent fully drained lane check;
|
|
1598
|
+
* null until one completes.
|
|
1655
1599
|
*
|
|
1656
1600
|
* Indexes:
|
|
1657
|
-
* - `
|
|
1658
|
-
* - `containerId` is unique so each local container has one create intent.
|
|
1659
|
-
* - `(syncStatus, createdAt)` supports listing pending intents in creation
|
|
1660
|
-
* order.
|
|
1601
|
+
* - `(laneKind, laneId)` is the primary key and stores one row per lane.
|
|
1661
1602
|
*/
|
|
1662
|
-
export declare const
|
|
1663
|
-
name: "
|
|
1603
|
+
export declare const containerSyncWatermarks: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1604
|
+
name: "container_sync_watermarks";
|
|
1664
1605
|
schema: undefined;
|
|
1665
1606
|
columns: {
|
|
1666
|
-
|
|
1667
|
-
name: "
|
|
1668
|
-
tableName: "
|
|
1669
|
-
dataType: "string";
|
|
1670
|
-
columnType: "SQLiteText";
|
|
1671
|
-
data: string;
|
|
1672
|
-
driverParam: string;
|
|
1673
|
-
notNull: false;
|
|
1674
|
-
hasDefault: false;
|
|
1675
|
-
isPrimaryKey: false;
|
|
1676
|
-
isAutoincrement: false;
|
|
1677
|
-
hasRuntimeDefault: false;
|
|
1678
|
-
enumValues: [string, ...string[]];
|
|
1679
|
-
baseColumn: never;
|
|
1680
|
-
identity: undefined;
|
|
1681
|
-
generated: undefined;
|
|
1682
|
-
}, {}, {
|
|
1683
|
-
length: number | undefined;
|
|
1684
|
-
}>;
|
|
1685
|
-
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1686
|
-
name: "container_id";
|
|
1687
|
-
tableName: "container_create_intents";
|
|
1688
|
-
dataType: "string";
|
|
1689
|
-
columnType: "SQLiteText";
|
|
1690
|
-
data: string;
|
|
1691
|
-
driverParam: string;
|
|
1692
|
-
notNull: true;
|
|
1693
|
-
hasDefault: false;
|
|
1694
|
-
isPrimaryKey: false;
|
|
1695
|
-
isAutoincrement: false;
|
|
1696
|
-
hasRuntimeDefault: false;
|
|
1697
|
-
enumValues: [string, ...string[]];
|
|
1698
|
-
baseColumn: never;
|
|
1699
|
-
identity: undefined;
|
|
1700
|
-
generated: undefined;
|
|
1701
|
-
}, {}, {
|
|
1702
|
-
length: number | undefined;
|
|
1703
|
-
}>;
|
|
1704
|
-
parentContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1705
|
-
name: "parent_container_id";
|
|
1706
|
-
tableName: "container_create_intents";
|
|
1707
|
-
dataType: "string";
|
|
1708
|
-
columnType: "SQLiteText";
|
|
1709
|
-
data: string;
|
|
1710
|
-
driverParam: string;
|
|
1711
|
-
notNull: true;
|
|
1712
|
-
hasDefault: false;
|
|
1713
|
-
isPrimaryKey: false;
|
|
1714
|
-
isAutoincrement: false;
|
|
1715
|
-
hasRuntimeDefault: false;
|
|
1716
|
-
enumValues: [string, ...string[]];
|
|
1717
|
-
baseColumn: never;
|
|
1718
|
-
identity: undefined;
|
|
1719
|
-
generated: undefined;
|
|
1720
|
-
}, {}, {
|
|
1721
|
-
length: number | undefined;
|
|
1722
|
-
}>;
|
|
1723
|
-
intentType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1724
|
-
name: "intent_type";
|
|
1725
|
-
tableName: "container_create_intents";
|
|
1607
|
+
laneKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1608
|
+
name: "lane_kind";
|
|
1609
|
+
tableName: "container_sync_watermarks";
|
|
1726
1610
|
dataType: "string";
|
|
1727
1611
|
columnType: "SQLiteText";
|
|
1728
1612
|
data: string;
|
|
@@ -1739,9 +1623,9 @@ export declare const containerCreateIntents: import("drizzle-orm/sqlite-core").S
|
|
|
1739
1623
|
}, {}, {
|
|
1740
1624
|
length: number | undefined;
|
|
1741
1625
|
}>;
|
|
1742
|
-
|
|
1743
|
-
name: "
|
|
1744
|
-
tableName: "
|
|
1626
|
+
laneId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1627
|
+
name: "lane_id";
|
|
1628
|
+
tableName: "container_sync_watermarks";
|
|
1745
1629
|
dataType: "string";
|
|
1746
1630
|
columnType: "SQLiteText";
|
|
1747
1631
|
data: string;
|
|
@@ -1758,28 +1642,9 @@ export declare const containerCreateIntents: import("drizzle-orm/sqlite-core").S
|
|
|
1758
1642
|
}, {}, {
|
|
1759
1643
|
length: number | undefined;
|
|
1760
1644
|
}>;
|
|
1761
|
-
|
|
1762
|
-
name: "
|
|
1763
|
-
tableName: "
|
|
1764
|
-
dataType: "string";
|
|
1765
|
-
columnType: "SQLiteText";
|
|
1766
|
-
data: string;
|
|
1767
|
-
driverParam: string;
|
|
1768
|
-
notNull: false;
|
|
1769
|
-
hasDefault: false;
|
|
1770
|
-
isPrimaryKey: false;
|
|
1771
|
-
isAutoincrement: false;
|
|
1772
|
-
hasRuntimeDefault: false;
|
|
1773
|
-
enumValues: [string, ...string[]];
|
|
1774
|
-
baseColumn: never;
|
|
1775
|
-
identity: undefined;
|
|
1776
|
-
generated: undefined;
|
|
1777
|
-
}, {}, {
|
|
1778
|
-
length: number | undefined;
|
|
1779
|
-
}>;
|
|
1780
|
-
remoteMetadataDocumentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1781
|
-
name: "remote_metadata_document_id";
|
|
1782
|
-
tableName: "container_create_intents";
|
|
1645
|
+
watermarkUpdatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1646
|
+
name: "watermark_updated_at";
|
|
1647
|
+
tableName: "container_sync_watermarks";
|
|
1783
1648
|
dataType: "string";
|
|
1784
1649
|
columnType: "SQLiteText";
|
|
1785
1650
|
data: string;
|
|
@@ -1796,9 +1661,9 @@ export declare const containerCreateIntents: import("drizzle-orm/sqlite-core").S
|
|
|
1796
1661
|
}, {}, {
|
|
1797
1662
|
length: number | undefined;
|
|
1798
1663
|
}>;
|
|
1799
|
-
|
|
1800
|
-
name: "
|
|
1801
|
-
tableName: "
|
|
1664
|
+
watermarkId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1665
|
+
name: "watermark_id";
|
|
1666
|
+
tableName: "container_sync_watermarks";
|
|
1802
1667
|
dataType: "string";
|
|
1803
1668
|
columnType: "SQLiteText";
|
|
1804
1669
|
data: string;
|
|
@@ -1815,9 +1680,9 @@ export declare const containerCreateIntents: import("drizzle-orm/sqlite-core").S
|
|
|
1815
1680
|
}, {}, {
|
|
1816
1681
|
length: number | undefined;
|
|
1817
1682
|
}>;
|
|
1818
|
-
|
|
1819
|
-
name: "
|
|
1820
|
-
tableName: "
|
|
1683
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1684
|
+
name: "updated_at";
|
|
1685
|
+
tableName: "container_sync_watermarks";
|
|
1821
1686
|
dataType: "string";
|
|
1822
1687
|
columnType: "SQLiteText";
|
|
1823
1688
|
data: string;
|
|
@@ -1834,9 +1699,9 @@ export declare const containerCreateIntents: import("drizzle-orm/sqlite-core").S
|
|
|
1834
1699
|
}, {}, {
|
|
1835
1700
|
length: number | undefined;
|
|
1836
1701
|
}>;
|
|
1837
|
-
|
|
1838
|
-
name: "
|
|
1839
|
-
tableName: "
|
|
1702
|
+
checkedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1703
|
+
name: "checked_at";
|
|
1704
|
+
tableName: "container_sync_watermarks";
|
|
1840
1705
|
dataType: "string";
|
|
1841
1706
|
columnType: "SQLiteText";
|
|
1842
1707
|
data: string;
|
|
@@ -1853,956 +1718,35 @@ export declare const containerCreateIntents: import("drizzle-orm/sqlite-core").S
|
|
|
1853
1718
|
}, {}, {
|
|
1854
1719
|
length: number | undefined;
|
|
1855
1720
|
}>;
|
|
1856
|
-
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1857
|
-
name: "created_at";
|
|
1858
|
-
tableName: "container_create_intents";
|
|
1859
|
-
dataType: "string";
|
|
1860
|
-
columnType: "SQLiteText";
|
|
1861
|
-
data: string;
|
|
1862
|
-
driverParam: string;
|
|
1863
|
-
notNull: true;
|
|
1864
|
-
hasDefault: false;
|
|
1865
|
-
isPrimaryKey: false;
|
|
1866
|
-
isAutoincrement: false;
|
|
1867
|
-
hasRuntimeDefault: false;
|
|
1868
|
-
enumValues: [string, ...string[]];
|
|
1869
|
-
baseColumn: never;
|
|
1870
|
-
identity: undefined;
|
|
1871
|
-
generated: undefined;
|
|
1872
|
-
}, {}, {
|
|
1873
|
-
length: number | undefined;
|
|
1874
|
-
}>;
|
|
1875
|
-
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1876
|
-
name: "updated_at";
|
|
1877
|
-
tableName: "container_create_intents";
|
|
1878
|
-
dataType: "string";
|
|
1879
|
-
columnType: "SQLiteText";
|
|
1880
|
-
data: string;
|
|
1881
|
-
driverParam: string;
|
|
1882
|
-
notNull: true;
|
|
1883
|
-
hasDefault: false;
|
|
1884
|
-
isPrimaryKey: false;
|
|
1885
|
-
isAutoincrement: false;
|
|
1886
|
-
hasRuntimeDefault: false;
|
|
1887
|
-
enumValues: [string, ...string[]];
|
|
1888
|
-
baseColumn: never;
|
|
1889
|
-
identity: undefined;
|
|
1890
|
-
generated: undefined;
|
|
1891
|
-
}, {}, {
|
|
1892
|
-
length: number | undefined;
|
|
1893
|
-
}>;
|
|
1894
1721
|
};
|
|
1895
1722
|
dialect: "sqlite";
|
|
1896
1723
|
}>;
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
* - `syncStatus`: Current sync state, currently `pending` or `blocked`.
|
|
1912
|
-
* - `lastError`: Last sync error message for retry/debug display.
|
|
1913
|
-
* - `lastAttemptedAt`: Timestamp of the last replay attempt.
|
|
1914
|
-
* - `createdAt`: Intent creation timestamp used for FIFO sync.
|
|
1915
|
-
* - `updatedAt`: Local timestamp for the latest target/status/error change.
|
|
1916
|
-
*
|
|
1917
|
-
* Indexes:
|
|
1918
|
-
* - `id` is the primary key.
|
|
1919
|
-
* - `containerId` is unique so same-container moves coalesce to one intent.
|
|
1920
|
-
* - `(syncStatus, createdAt)` supports listing pending intents in queue order.
|
|
1921
|
-
*/
|
|
1922
|
-
export declare const containerMoveIntents: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1923
|
-
name: "container_move_intents";
|
|
1924
|
-
schema: undefined;
|
|
1925
|
-
columns: {
|
|
1926
|
-
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1927
|
-
name: "id";
|
|
1928
|
-
tableName: "container_move_intents";
|
|
1929
|
-
dataType: "string";
|
|
1930
|
-
columnType: "SQLiteText";
|
|
1931
|
-
data: string;
|
|
1932
|
-
driverParam: string;
|
|
1933
|
-
notNull: false;
|
|
1934
|
-
hasDefault: false;
|
|
1935
|
-
isPrimaryKey: false;
|
|
1936
|
-
isAutoincrement: false;
|
|
1937
|
-
hasRuntimeDefault: false;
|
|
1938
|
-
enumValues: [string, ...string[]];
|
|
1939
|
-
baseColumn: never;
|
|
1940
|
-
identity: undefined;
|
|
1941
|
-
generated: undefined;
|
|
1942
|
-
}, {}, {
|
|
1943
|
-
length: number | undefined;
|
|
1944
|
-
}>;
|
|
1945
|
-
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1946
|
-
name: "container_id";
|
|
1947
|
-
tableName: "container_move_intents";
|
|
1948
|
-
dataType: "string";
|
|
1949
|
-
columnType: "SQLiteText";
|
|
1950
|
-
data: string;
|
|
1951
|
-
driverParam: string;
|
|
1952
|
-
notNull: true;
|
|
1953
|
-
hasDefault: false;
|
|
1954
|
-
isPrimaryKey: false;
|
|
1955
|
-
isAutoincrement: false;
|
|
1956
|
-
hasRuntimeDefault: false;
|
|
1957
|
-
enumValues: [string, ...string[]];
|
|
1958
|
-
baseColumn: never;
|
|
1959
|
-
identity: undefined;
|
|
1960
|
-
generated: undefined;
|
|
1961
|
-
}, {}, {
|
|
1962
|
-
length: number | undefined;
|
|
1963
|
-
}>;
|
|
1964
|
-
parentContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1965
|
-
name: "parent_container_id";
|
|
1966
|
-
tableName: "container_move_intents";
|
|
1967
|
-
dataType: "string";
|
|
1968
|
-
columnType: "SQLiteText";
|
|
1969
|
-
data: string;
|
|
1970
|
-
driverParam: string;
|
|
1971
|
-
notNull: true;
|
|
1972
|
-
hasDefault: false;
|
|
1973
|
-
isPrimaryKey: false;
|
|
1974
|
-
isAutoincrement: false;
|
|
1975
|
-
hasRuntimeDefault: false;
|
|
1976
|
-
enumValues: [string, ...string[]];
|
|
1977
|
-
baseColumn: never;
|
|
1978
|
-
identity: undefined;
|
|
1979
|
-
generated: undefined;
|
|
1980
|
-
}, {}, {
|
|
1981
|
-
length: number | undefined;
|
|
1982
|
-
}>;
|
|
1983
|
-
previousParentContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1984
|
-
name: "previous_parent_container_id";
|
|
1985
|
-
tableName: "container_move_intents";
|
|
1986
|
-
dataType: "string";
|
|
1987
|
-
columnType: "SQLiteText";
|
|
1988
|
-
data: string;
|
|
1989
|
-
driverParam: string;
|
|
1990
|
-
notNull: false;
|
|
1991
|
-
hasDefault: false;
|
|
1992
|
-
isPrimaryKey: false;
|
|
1993
|
-
isAutoincrement: false;
|
|
1994
|
-
hasRuntimeDefault: false;
|
|
1995
|
-
enumValues: [string, ...string[]];
|
|
1996
|
-
baseColumn: never;
|
|
1997
|
-
identity: undefined;
|
|
1998
|
-
generated: undefined;
|
|
1999
|
-
}, {}, {
|
|
2000
|
-
length: number | undefined;
|
|
2001
|
-
}>;
|
|
2002
|
-
intentType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2003
|
-
name: "intent_type";
|
|
2004
|
-
tableName: "container_move_intents";
|
|
2005
|
-
dataType: "string";
|
|
2006
|
-
columnType: "SQLiteText";
|
|
2007
|
-
data: string;
|
|
2008
|
-
driverParam: string;
|
|
2009
|
-
notNull: true;
|
|
2010
|
-
hasDefault: false;
|
|
2011
|
-
isPrimaryKey: false;
|
|
2012
|
-
isAutoincrement: false;
|
|
2013
|
-
hasRuntimeDefault: false;
|
|
2014
|
-
enumValues: [string, ...string[]];
|
|
2015
|
-
baseColumn: never;
|
|
2016
|
-
identity: undefined;
|
|
2017
|
-
generated: undefined;
|
|
2018
|
-
}, {}, {
|
|
2019
|
-
length: number | undefined;
|
|
2020
|
-
}>;
|
|
2021
|
-
syncStatus: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2022
|
-
name: "sync_status";
|
|
2023
|
-
tableName: "container_move_intents";
|
|
2024
|
-
dataType: "string";
|
|
2025
|
-
columnType: "SQLiteText";
|
|
2026
|
-
data: string;
|
|
2027
|
-
driverParam: string;
|
|
2028
|
-
notNull: true;
|
|
2029
|
-
hasDefault: false;
|
|
2030
|
-
isPrimaryKey: false;
|
|
2031
|
-
isAutoincrement: false;
|
|
2032
|
-
hasRuntimeDefault: false;
|
|
2033
|
-
enumValues: [string, ...string[]];
|
|
2034
|
-
baseColumn: never;
|
|
2035
|
-
identity: undefined;
|
|
2036
|
-
generated: undefined;
|
|
2037
|
-
}, {}, {
|
|
2038
|
-
length: number | undefined;
|
|
2039
|
-
}>;
|
|
2040
|
-
lastError: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2041
|
-
name: "last_error";
|
|
2042
|
-
tableName: "container_move_intents";
|
|
2043
|
-
dataType: "string";
|
|
2044
|
-
columnType: "SQLiteText";
|
|
2045
|
-
data: string;
|
|
2046
|
-
driverParam: string;
|
|
2047
|
-
notNull: false;
|
|
2048
|
-
hasDefault: false;
|
|
2049
|
-
isPrimaryKey: false;
|
|
2050
|
-
isAutoincrement: false;
|
|
2051
|
-
hasRuntimeDefault: false;
|
|
2052
|
-
enumValues: [string, ...string[]];
|
|
2053
|
-
baseColumn: never;
|
|
2054
|
-
identity: undefined;
|
|
2055
|
-
generated: undefined;
|
|
2056
|
-
}, {}, {
|
|
2057
|
-
length: number | undefined;
|
|
2058
|
-
}>;
|
|
2059
|
-
lastAttemptedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2060
|
-
name: "last_attempted_at";
|
|
2061
|
-
tableName: "container_move_intents";
|
|
2062
|
-
dataType: "string";
|
|
2063
|
-
columnType: "SQLiteText";
|
|
2064
|
-
data: string;
|
|
2065
|
-
driverParam: string;
|
|
2066
|
-
notNull: false;
|
|
2067
|
-
hasDefault: false;
|
|
2068
|
-
isPrimaryKey: false;
|
|
2069
|
-
isAutoincrement: false;
|
|
2070
|
-
hasRuntimeDefault: false;
|
|
2071
|
-
enumValues: [string, ...string[]];
|
|
2072
|
-
baseColumn: never;
|
|
2073
|
-
identity: undefined;
|
|
2074
|
-
generated: undefined;
|
|
2075
|
-
}, {}, {
|
|
2076
|
-
length: number | undefined;
|
|
2077
|
-
}>;
|
|
2078
|
-
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2079
|
-
name: "created_at";
|
|
2080
|
-
tableName: "container_move_intents";
|
|
2081
|
-
dataType: "string";
|
|
2082
|
-
columnType: "SQLiteText";
|
|
2083
|
-
data: string;
|
|
2084
|
-
driverParam: string;
|
|
2085
|
-
notNull: true;
|
|
2086
|
-
hasDefault: false;
|
|
2087
|
-
isPrimaryKey: false;
|
|
2088
|
-
isAutoincrement: false;
|
|
2089
|
-
hasRuntimeDefault: false;
|
|
2090
|
-
enumValues: [string, ...string[]];
|
|
2091
|
-
baseColumn: never;
|
|
2092
|
-
identity: undefined;
|
|
2093
|
-
generated: undefined;
|
|
2094
|
-
}, {}, {
|
|
2095
|
-
length: number | undefined;
|
|
2096
|
-
}>;
|
|
2097
|
-
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2098
|
-
name: "updated_at";
|
|
2099
|
-
tableName: "container_move_intents";
|
|
2100
|
-
dataType: "string";
|
|
2101
|
-
columnType: "SQLiteText";
|
|
2102
|
-
data: string;
|
|
2103
|
-
driverParam: string;
|
|
2104
|
-
notNull: true;
|
|
2105
|
-
hasDefault: false;
|
|
2106
|
-
isPrimaryKey: false;
|
|
2107
|
-
isAutoincrement: false;
|
|
2108
|
-
hasRuntimeDefault: false;
|
|
2109
|
-
enumValues: [string, ...string[]];
|
|
2110
|
-
baseColumn: never;
|
|
2111
|
-
identity: undefined;
|
|
2112
|
-
generated: undefined;
|
|
2113
|
-
}, {}, {
|
|
2114
|
-
length: number | undefined;
|
|
2115
|
-
}>;
|
|
2116
|
-
};
|
|
2117
|
-
dialect: "sqlite";
|
|
2118
|
-
}>;
|
|
2119
|
-
/**
|
|
2120
|
-
* Per-lane sync cursors for container data.
|
|
2121
|
-
*
|
|
2122
|
-
* Container sync is split into lanes, such as a parent-container child lane or
|
|
2123
|
-
* a container-document membership lane. This table stores the last accepted
|
|
2124
|
-
* server watermark for each lane so the next sync request can resume without
|
|
2125
|
-
* replaying the entire tree.
|
|
2126
|
-
*
|
|
2127
|
-
* Columns:
|
|
2128
|
-
* - `laneKind`: Sync lane category, such as `container_parent` or
|
|
2129
|
-
* `container_documents`.
|
|
2130
|
-
* - `laneId`: Lane identity. Root parent sync uses `root`, child sync uses a
|
|
2131
|
-
* parent-prefixed container id, and document lanes use the container id.
|
|
2132
|
-
* - `watermarkUpdatedAt`: Server `updatedAt` value for the stored watermark.
|
|
2133
|
-
* - `watermarkId`: Server id tie-breaker for the stored watermark.
|
|
2134
|
-
* - `updatedAt`: Local timestamp for when the cursor was saved.
|
|
2135
|
-
*
|
|
2136
|
-
* Indexes:
|
|
2137
|
-
* - `(laneKind, laneId)` is the primary key and stores one cursor per lane.
|
|
2138
|
-
*/
|
|
2139
|
-
export declare const containerSyncWatermarks: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2140
|
-
name: "container_sync_watermarks";
|
|
2141
|
-
schema: undefined;
|
|
2142
|
-
columns: {
|
|
2143
|
-
laneKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2144
|
-
name: "lane_kind";
|
|
2145
|
-
tableName: "container_sync_watermarks";
|
|
2146
|
-
dataType: "string";
|
|
2147
|
-
columnType: "SQLiteText";
|
|
2148
|
-
data: string;
|
|
2149
|
-
driverParam: string;
|
|
2150
|
-
notNull: true;
|
|
2151
|
-
hasDefault: false;
|
|
2152
|
-
isPrimaryKey: false;
|
|
2153
|
-
isAutoincrement: false;
|
|
2154
|
-
hasRuntimeDefault: false;
|
|
2155
|
-
enumValues: [string, ...string[]];
|
|
2156
|
-
baseColumn: never;
|
|
2157
|
-
identity: undefined;
|
|
2158
|
-
generated: undefined;
|
|
2159
|
-
}, {}, {
|
|
2160
|
-
length: number | undefined;
|
|
2161
|
-
}>;
|
|
2162
|
-
laneId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2163
|
-
name: "lane_id";
|
|
2164
|
-
tableName: "container_sync_watermarks";
|
|
2165
|
-
dataType: "string";
|
|
2166
|
-
columnType: "SQLiteText";
|
|
2167
|
-
data: string;
|
|
2168
|
-
driverParam: string;
|
|
2169
|
-
notNull: true;
|
|
2170
|
-
hasDefault: false;
|
|
2171
|
-
isPrimaryKey: false;
|
|
2172
|
-
isAutoincrement: false;
|
|
2173
|
-
hasRuntimeDefault: false;
|
|
2174
|
-
enumValues: [string, ...string[]];
|
|
2175
|
-
baseColumn: never;
|
|
2176
|
-
identity: undefined;
|
|
2177
|
-
generated: undefined;
|
|
2178
|
-
}, {}, {
|
|
2179
|
-
length: number | undefined;
|
|
2180
|
-
}>;
|
|
2181
|
-
watermarkUpdatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2182
|
-
name: "watermark_updated_at";
|
|
2183
|
-
tableName: "container_sync_watermarks";
|
|
2184
|
-
dataType: "string";
|
|
2185
|
-
columnType: "SQLiteText";
|
|
2186
|
-
data: string;
|
|
2187
|
-
driverParam: string;
|
|
2188
|
-
notNull: true;
|
|
2189
|
-
hasDefault: false;
|
|
2190
|
-
isPrimaryKey: false;
|
|
2191
|
-
isAutoincrement: false;
|
|
2192
|
-
hasRuntimeDefault: false;
|
|
2193
|
-
enumValues: [string, ...string[]];
|
|
2194
|
-
baseColumn: never;
|
|
2195
|
-
identity: undefined;
|
|
2196
|
-
generated: undefined;
|
|
2197
|
-
}, {}, {
|
|
2198
|
-
length: number | undefined;
|
|
2199
|
-
}>;
|
|
2200
|
-
watermarkId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2201
|
-
name: "watermark_id";
|
|
2202
|
-
tableName: "container_sync_watermarks";
|
|
2203
|
-
dataType: "string";
|
|
2204
|
-
columnType: "SQLiteText";
|
|
2205
|
-
data: string;
|
|
2206
|
-
driverParam: string;
|
|
2207
|
-
notNull: true;
|
|
2208
|
-
hasDefault: false;
|
|
2209
|
-
isPrimaryKey: false;
|
|
2210
|
-
isAutoincrement: false;
|
|
2211
|
-
hasRuntimeDefault: false;
|
|
2212
|
-
enumValues: [string, ...string[]];
|
|
2213
|
-
baseColumn: never;
|
|
2214
|
-
identity: undefined;
|
|
2215
|
-
generated: undefined;
|
|
2216
|
-
}, {}, {
|
|
2217
|
-
length: number | undefined;
|
|
2218
|
-
}>;
|
|
2219
|
-
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2220
|
-
name: "updated_at";
|
|
2221
|
-
tableName: "container_sync_watermarks";
|
|
2222
|
-
dataType: "string";
|
|
2223
|
-
columnType: "SQLiteText";
|
|
2224
|
-
data: string;
|
|
2225
|
-
driverParam: string;
|
|
2226
|
-
notNull: true;
|
|
2227
|
-
hasDefault: false;
|
|
2228
|
-
isPrimaryKey: false;
|
|
2229
|
-
isAutoincrement: false;
|
|
2230
|
-
hasRuntimeDefault: false;
|
|
2231
|
-
enumValues: [string, ...string[]];
|
|
2232
|
-
baseColumn: never;
|
|
2233
|
-
identity: undefined;
|
|
2234
|
-
generated: undefined;
|
|
2235
|
-
}, {}, {
|
|
2236
|
-
length: number | undefined;
|
|
2237
|
-
}>;
|
|
2238
|
-
};
|
|
2239
|
-
dialect: "sqlite";
|
|
2240
|
-
}>;
|
|
2241
|
-
/**
|
|
2242
|
-
* Local freshness markers for container sync lanes.
|
|
2243
|
-
*
|
|
2244
|
-
* These rows track the last successful API check for a lane independently from
|
|
2245
|
-
* server watermarks. Empty server responses do not always include a new
|
|
2246
|
-
* watermark, but the client still needs to remember that it recently checked
|
|
2247
|
-
* the lane so startup can use cached container state without polling every
|
|
2248
|
-
* time a container tree opens.
|
|
2249
|
-
*
|
|
2250
|
-
* Columns:
|
|
2251
|
-
* - `laneKind`: Sync lane category matching `containerSyncWatermarks`.
|
|
2252
|
-
* - `laneId`: Lane identity matching `containerSyncWatermarks`.
|
|
2253
|
-
* - `checkedAt`: Local timestamp for the most recent successful lane check.
|
|
2254
|
-
*
|
|
2255
|
-
* Indexes:
|
|
2256
|
-
* - `(laneKind, laneId)` is the primary key and stores one marker per lane.
|
|
2257
|
-
*/
|
|
2258
|
-
export declare const containerSyncLaneChecks: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2259
|
-
name: "container_sync_lane_checks";
|
|
2260
|
-
schema: undefined;
|
|
2261
|
-
columns: {
|
|
2262
|
-
laneKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2263
|
-
name: "lane_kind";
|
|
2264
|
-
tableName: "container_sync_lane_checks";
|
|
2265
|
-
dataType: "string";
|
|
2266
|
-
columnType: "SQLiteText";
|
|
2267
|
-
data: string;
|
|
2268
|
-
driverParam: string;
|
|
2269
|
-
notNull: true;
|
|
2270
|
-
hasDefault: false;
|
|
2271
|
-
isPrimaryKey: false;
|
|
2272
|
-
isAutoincrement: false;
|
|
2273
|
-
hasRuntimeDefault: false;
|
|
2274
|
-
enumValues: [string, ...string[]];
|
|
2275
|
-
baseColumn: never;
|
|
2276
|
-
identity: undefined;
|
|
2277
|
-
generated: undefined;
|
|
2278
|
-
}, {}, {
|
|
2279
|
-
length: number | undefined;
|
|
2280
|
-
}>;
|
|
2281
|
-
laneId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2282
|
-
name: "lane_id";
|
|
2283
|
-
tableName: "container_sync_lane_checks";
|
|
2284
|
-
dataType: "string";
|
|
2285
|
-
columnType: "SQLiteText";
|
|
2286
|
-
data: string;
|
|
2287
|
-
driverParam: string;
|
|
2288
|
-
notNull: true;
|
|
2289
|
-
hasDefault: false;
|
|
2290
|
-
isPrimaryKey: false;
|
|
2291
|
-
isAutoincrement: false;
|
|
2292
|
-
hasRuntimeDefault: false;
|
|
2293
|
-
enumValues: [string, ...string[]];
|
|
2294
|
-
baseColumn: never;
|
|
2295
|
-
identity: undefined;
|
|
2296
|
-
generated: undefined;
|
|
2297
|
-
}, {}, {
|
|
2298
|
-
length: number | undefined;
|
|
2299
|
-
}>;
|
|
2300
|
-
checkedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2301
|
-
name: "checked_at";
|
|
2302
|
-
tableName: "container_sync_lane_checks";
|
|
2303
|
-
dataType: "string";
|
|
2304
|
-
columnType: "SQLiteText";
|
|
2305
|
-
data: string;
|
|
2306
|
-
driverParam: string;
|
|
2307
|
-
notNull: true;
|
|
2308
|
-
hasDefault: false;
|
|
2309
|
-
isPrimaryKey: false;
|
|
2310
|
-
isAutoincrement: false;
|
|
2311
|
-
hasRuntimeDefault: false;
|
|
2312
|
-
enumValues: [string, ...string[]];
|
|
2313
|
-
baseColumn: never;
|
|
2314
|
-
identity: undefined;
|
|
2315
|
-
generated: undefined;
|
|
2316
|
-
}, {}, {
|
|
2317
|
-
length: number | undefined;
|
|
2318
|
-
}>;
|
|
2319
|
-
};
|
|
2320
|
-
dialect: "sqlite";
|
|
2321
|
-
}>;
|
|
2322
|
-
export declare const documentTables: ReadonlyArray<SqlTableSchema>;
|
|
2323
|
-
export declare const principalPolicyTables: ReadonlyArray<SqlTableSchema>;
|
|
2324
|
-
export declare const keyingCheckpointTables: ReadonlyArray<SqlTableSchema>;
|
|
2325
|
-
export declare const trustedUserIdentityPinTables: ReadonlyArray<SqlTableSchema>;
|
|
2326
|
-
export declare const containerTables: readonly SqlTableSchema[];
|
|
2327
|
-
export declare const documentContainerProjectionTables: ReadonlyArray<SqlTableSchema>;
|
|
2328
|
-
export declare const documentMoveIntentTables: ReadonlyArray<SqlTableSchema>;
|
|
2329
|
-
export declare const documentProjectionTables: ReadonlyArray<SqlTableSchema>;
|
|
2330
|
-
export declare const containerCreateIntentTables: ReadonlyArray<SqlTableSchema>;
|
|
2331
|
-
export declare const containerMoveIntentTables: ReadonlyArray<SqlTableSchema>;
|
|
2332
|
-
export declare const containerSyncWatermarkTables: ReadonlyArray<SqlTableSchema>;
|
|
2333
|
-
export declare const clientSqlTables: ReadonlyArray<SqlTableSchema>;
|
|
2334
|
-
export declare const clientSQLiteSchema: {
|
|
2335
|
-
organizationProvisioningAttempts: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2336
|
-
name: "organization_provisioning_attempts";
|
|
2337
|
-
schema: undefined;
|
|
2338
|
-
columns: {
|
|
2339
|
-
replacedOrganizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2340
|
-
name: "replaced_organization_id";
|
|
2341
|
-
tableName: "organization_provisioning_attempts";
|
|
2342
|
-
dataType: "string";
|
|
2343
|
-
columnType: "SQLiteText";
|
|
2344
|
-
data: string;
|
|
2345
|
-
driverParam: string;
|
|
2346
|
-
notNull: true;
|
|
2347
|
-
hasDefault: false;
|
|
2348
|
-
isPrimaryKey: true;
|
|
2349
|
-
isAutoincrement: false;
|
|
2350
|
-
hasRuntimeDefault: false;
|
|
2351
|
-
enumValues: [string, ...string[]];
|
|
2352
|
-
baseColumn: never;
|
|
2353
|
-
identity: undefined;
|
|
2354
|
-
generated: undefined;
|
|
2355
|
-
}, {}, {
|
|
2356
|
-
length: number | undefined;
|
|
2357
|
-
}>;
|
|
2358
|
-
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2359
|
-
name: "user_id";
|
|
2360
|
-
tableName: "organization_provisioning_attempts";
|
|
2361
|
-
dataType: "string";
|
|
2362
|
-
columnType: "SQLiteText";
|
|
2363
|
-
data: string;
|
|
2364
|
-
driverParam: string;
|
|
2365
|
-
notNull: true;
|
|
2366
|
-
hasDefault: false;
|
|
2367
|
-
isPrimaryKey: false;
|
|
2368
|
-
isAutoincrement: false;
|
|
2369
|
-
hasRuntimeDefault: false;
|
|
2370
|
-
enumValues: [string, ...string[]];
|
|
2371
|
-
baseColumn: never;
|
|
2372
|
-
identity: undefined;
|
|
2373
|
-
generated: undefined;
|
|
2374
|
-
}, {}, {
|
|
2375
|
-
length: number | undefined;
|
|
2376
|
-
}>;
|
|
2377
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2378
|
-
name: "organization_id";
|
|
2379
|
-
tableName: "organization_provisioning_attempts";
|
|
2380
|
-
dataType: "string";
|
|
2381
|
-
columnType: "SQLiteText";
|
|
2382
|
-
data: string;
|
|
2383
|
-
driverParam: string;
|
|
2384
|
-
notNull: true;
|
|
2385
|
-
hasDefault: false;
|
|
2386
|
-
isPrimaryKey: false;
|
|
2387
|
-
isAutoincrement: false;
|
|
2388
|
-
hasRuntimeDefault: false;
|
|
2389
|
-
enumValues: [string, ...string[]];
|
|
2390
|
-
baseColumn: never;
|
|
2391
|
-
identity: undefined;
|
|
2392
|
-
generated: undefined;
|
|
2393
|
-
}, {}, {
|
|
2394
|
-
length: number | undefined;
|
|
2395
|
-
}>;
|
|
2396
|
-
rootContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2397
|
-
name: "root_container_id";
|
|
2398
|
-
tableName: "organization_provisioning_attempts";
|
|
2399
|
-
dataType: "string";
|
|
2400
|
-
columnType: "SQLiteText";
|
|
2401
|
-
data: string;
|
|
2402
|
-
driverParam: string;
|
|
2403
|
-
notNull: true;
|
|
2404
|
-
hasDefault: false;
|
|
2405
|
-
isPrimaryKey: false;
|
|
2406
|
-
isAutoincrement: false;
|
|
2407
|
-
hasRuntimeDefault: false;
|
|
2408
|
-
enumValues: [string, ...string[]];
|
|
2409
|
-
baseColumn: never;
|
|
2410
|
-
identity: undefined;
|
|
2411
|
-
generated: undefined;
|
|
2412
|
-
}, {}, {
|
|
2413
|
-
length: number | undefined;
|
|
2414
|
-
}>;
|
|
2415
|
-
serializedArtifacts: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2416
|
-
name: "serialized_artifacts";
|
|
2417
|
-
tableName: "organization_provisioning_attempts";
|
|
2418
|
-
dataType: "string";
|
|
2419
|
-
columnType: "SQLiteText";
|
|
2420
|
-
data: string;
|
|
2421
|
-
driverParam: string;
|
|
2422
|
-
notNull: true;
|
|
2423
|
-
hasDefault: false;
|
|
2424
|
-
isPrimaryKey: false;
|
|
2425
|
-
isAutoincrement: false;
|
|
2426
|
-
hasRuntimeDefault: false;
|
|
2427
|
-
enumValues: [string, ...string[]];
|
|
2428
|
-
baseColumn: never;
|
|
2429
|
-
identity: undefined;
|
|
2430
|
-
generated: undefined;
|
|
2431
|
-
}, {}, {
|
|
2432
|
-
length: number | undefined;
|
|
2433
|
-
}>;
|
|
2434
|
-
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2435
|
-
name: "created_at";
|
|
2436
|
-
tableName: "organization_provisioning_attempts";
|
|
2437
|
-
dataType: "string";
|
|
2438
|
-
columnType: "SQLiteText";
|
|
2439
|
-
data: string;
|
|
2440
|
-
driverParam: string;
|
|
2441
|
-
notNull: true;
|
|
2442
|
-
hasDefault: false;
|
|
2443
|
-
isPrimaryKey: false;
|
|
2444
|
-
isAutoincrement: false;
|
|
2445
|
-
hasRuntimeDefault: false;
|
|
2446
|
-
enumValues: [string, ...string[]];
|
|
2447
|
-
baseColumn: never;
|
|
2448
|
-
identity: undefined;
|
|
2449
|
-
generated: undefined;
|
|
2450
|
-
}, {}, {
|
|
2451
|
-
length: number | undefined;
|
|
2452
|
-
}>;
|
|
2453
|
-
};
|
|
2454
|
-
dialect: "sqlite";
|
|
2455
|
-
}>;
|
|
2456
|
-
organizationDataUsageSnapshots: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2457
|
-
name: "organization_data_usage_snapshots";
|
|
2458
|
-
schema: undefined;
|
|
2459
|
-
columns: {
|
|
2460
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2461
|
-
name: "organization_id";
|
|
2462
|
-
tableName: "organization_data_usage_snapshots";
|
|
2463
|
-
dataType: "string";
|
|
2464
|
-
columnType: "SQLiteText";
|
|
2465
|
-
data: string;
|
|
2466
|
-
driverParam: string;
|
|
2467
|
-
notNull: true;
|
|
2468
|
-
hasDefault: false;
|
|
2469
|
-
isPrimaryKey: false;
|
|
2470
|
-
isAutoincrement: false;
|
|
2471
|
-
hasRuntimeDefault: false;
|
|
2472
|
-
enumValues: [string, ...string[]];
|
|
2473
|
-
baseColumn: never;
|
|
2474
|
-
identity: undefined;
|
|
2475
|
-
generated: undefined;
|
|
2476
|
-
}, {}, {
|
|
2477
|
-
length: number | undefined;
|
|
2478
|
-
}>;
|
|
2479
|
-
requesterUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2480
|
-
name: "requester_user_id";
|
|
2481
|
-
tableName: "organization_data_usage_snapshots";
|
|
2482
|
-
dataType: "string";
|
|
2483
|
-
columnType: "SQLiteText";
|
|
2484
|
-
data: string;
|
|
2485
|
-
driverParam: string;
|
|
2486
|
-
notNull: true;
|
|
2487
|
-
hasDefault: false;
|
|
2488
|
-
isPrimaryKey: false;
|
|
2489
|
-
isAutoincrement: false;
|
|
2490
|
-
hasRuntimeDefault: false;
|
|
2491
|
-
enumValues: [string, ...string[]];
|
|
2492
|
-
baseColumn: never;
|
|
2493
|
-
identity: undefined;
|
|
2494
|
-
generated: undefined;
|
|
2495
|
-
}, {}, {
|
|
2496
|
-
length: number | undefined;
|
|
2497
|
-
}>;
|
|
2498
|
-
projectionVersion: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2499
|
-
name: "projection_version";
|
|
2500
|
-
tableName: "organization_data_usage_snapshots";
|
|
2501
|
-
dataType: "number";
|
|
2502
|
-
columnType: "SQLiteInteger";
|
|
2503
|
-
data: number;
|
|
2504
|
-
driverParam: number;
|
|
2505
|
-
notNull: true;
|
|
2506
|
-
hasDefault: false;
|
|
2507
|
-
isPrimaryKey: false;
|
|
2508
|
-
isAutoincrement: false;
|
|
2509
|
-
hasRuntimeDefault: false;
|
|
2510
|
-
enumValues: undefined;
|
|
2511
|
-
baseColumn: never;
|
|
2512
|
-
identity: undefined;
|
|
2513
|
-
generated: undefined;
|
|
2514
|
-
}, {}, {}>;
|
|
2515
|
-
blobCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2516
|
-
name: "blob_count";
|
|
2517
|
-
tableName: "organization_data_usage_snapshots";
|
|
2518
|
-
dataType: "number";
|
|
2519
|
-
columnType: "SQLiteInteger";
|
|
2520
|
-
data: number;
|
|
2521
|
-
driverParam: number;
|
|
2522
|
-
notNull: true;
|
|
2523
|
-
hasDefault: false;
|
|
2524
|
-
isPrimaryKey: false;
|
|
2525
|
-
isAutoincrement: false;
|
|
2526
|
-
hasRuntimeDefault: false;
|
|
2527
|
-
enumValues: undefined;
|
|
2528
|
-
baseColumn: never;
|
|
2529
|
-
identity: undefined;
|
|
2530
|
-
generated: undefined;
|
|
2531
|
-
}, {}, {}>;
|
|
2532
|
-
blobByteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2533
|
-
name: "blob_byte_length";
|
|
2534
|
-
tableName: "organization_data_usage_snapshots";
|
|
2535
|
-
dataType: "number";
|
|
2536
|
-
columnType: "SQLiteInteger";
|
|
2537
|
-
data: number;
|
|
2538
|
-
driverParam: number;
|
|
2539
|
-
notNull: true;
|
|
2540
|
-
hasDefault: false;
|
|
2541
|
-
isPrimaryKey: false;
|
|
2542
|
-
isAutoincrement: false;
|
|
2543
|
-
hasRuntimeDefault: false;
|
|
2544
|
-
enumValues: undefined;
|
|
2545
|
-
baseColumn: never;
|
|
2546
|
-
identity: undefined;
|
|
2547
|
-
generated: undefined;
|
|
2548
|
-
}, {}, {}>;
|
|
2549
|
-
documentByteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2550
|
-
name: "document_byte_length";
|
|
2551
|
-
tableName: "organization_data_usage_snapshots";
|
|
2552
|
-
dataType: "number";
|
|
2553
|
-
columnType: "SQLiteInteger";
|
|
2554
|
-
data: number;
|
|
2555
|
-
driverParam: number;
|
|
2556
|
-
notNull: true;
|
|
2557
|
-
hasDefault: false;
|
|
2558
|
-
isPrimaryKey: false;
|
|
2559
|
-
isAutoincrement: false;
|
|
2560
|
-
hasRuntimeDefault: false;
|
|
2561
|
-
enumValues: undefined;
|
|
2562
|
-
baseColumn: never;
|
|
2563
|
-
identity: undefined;
|
|
2564
|
-
generated: undefined;
|
|
2565
|
-
}, {}, {}>;
|
|
2566
|
-
documentCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2567
|
-
name: "document_count";
|
|
2568
|
-
tableName: "organization_data_usage_snapshots";
|
|
2569
|
-
dataType: "number";
|
|
2570
|
-
columnType: "SQLiteInteger";
|
|
2571
|
-
data: number;
|
|
2572
|
-
driverParam: number;
|
|
2573
|
-
notNull: true;
|
|
2574
|
-
hasDefault: false;
|
|
2575
|
-
isPrimaryKey: false;
|
|
2576
|
-
isAutoincrement: false;
|
|
2577
|
-
hasRuntimeDefault: false;
|
|
2578
|
-
enumValues: undefined;
|
|
2579
|
-
baseColumn: never;
|
|
2580
|
-
identity: undefined;
|
|
2581
|
-
generated: undefined;
|
|
2582
|
-
}, {}, {}>;
|
|
2583
|
-
documentUpdateCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2584
|
-
name: "document_update_count";
|
|
2585
|
-
tableName: "organization_data_usage_snapshots";
|
|
2586
|
-
dataType: "number";
|
|
2587
|
-
columnType: "SQLiteInteger";
|
|
2588
|
-
data: number;
|
|
2589
|
-
driverParam: number;
|
|
2590
|
-
notNull: true;
|
|
2591
|
-
hasDefault: false;
|
|
2592
|
-
isPrimaryKey: false;
|
|
2593
|
-
isAutoincrement: false;
|
|
2594
|
-
hasRuntimeDefault: false;
|
|
2595
|
-
enumValues: undefined;
|
|
2596
|
-
baseColumn: never;
|
|
2597
|
-
identity: undefined;
|
|
2598
|
-
generated: undefined;
|
|
2599
|
-
}, {}, {}>;
|
|
2600
|
-
totalByteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2601
|
-
name: "total_byte_length";
|
|
2602
|
-
tableName: "organization_data_usage_snapshots";
|
|
2603
|
-
dataType: "number";
|
|
2604
|
-
columnType: "SQLiteInteger";
|
|
2605
|
-
data: number;
|
|
2606
|
-
driverParam: number;
|
|
2607
|
-
notNull: true;
|
|
2608
|
-
hasDefault: false;
|
|
2609
|
-
isPrimaryKey: false;
|
|
2610
|
-
isAutoincrement: false;
|
|
2611
|
-
hasRuntimeDefault: false;
|
|
2612
|
-
enumValues: undefined;
|
|
2613
|
-
baseColumn: never;
|
|
2614
|
-
identity: undefined;
|
|
2615
|
-
generated: undefined;
|
|
2616
|
-
}, {}, {}>;
|
|
2617
|
-
refreshedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2618
|
-
name: "refreshed_at";
|
|
2619
|
-
tableName: "organization_data_usage_snapshots";
|
|
2620
|
-
dataType: "string";
|
|
2621
|
-
columnType: "SQLiteText";
|
|
2622
|
-
data: string;
|
|
2623
|
-
driverParam: string;
|
|
2624
|
-
notNull: true;
|
|
2625
|
-
hasDefault: false;
|
|
2626
|
-
isPrimaryKey: false;
|
|
2627
|
-
isAutoincrement: false;
|
|
2628
|
-
hasRuntimeDefault: false;
|
|
2629
|
-
enumValues: [string, ...string[]];
|
|
2630
|
-
baseColumn: never;
|
|
2631
|
-
identity: undefined;
|
|
2632
|
-
generated: undefined;
|
|
2633
|
-
}, {}, {
|
|
2634
|
-
length: number | undefined;
|
|
2635
|
-
}>;
|
|
2636
|
-
};
|
|
2637
|
-
dialect: "sqlite";
|
|
2638
|
-
}>;
|
|
2639
|
-
organizationDataUsageCategories: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2640
|
-
name: "organization_data_usage_categories";
|
|
2641
|
-
schema: undefined;
|
|
2642
|
-
columns: {
|
|
2643
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2644
|
-
name: "organization_id";
|
|
2645
|
-
tableName: "organization_data_usage_categories";
|
|
2646
|
-
dataType: "string";
|
|
2647
|
-
columnType: "SQLiteText";
|
|
2648
|
-
data: string;
|
|
2649
|
-
driverParam: string;
|
|
2650
|
-
notNull: true;
|
|
2651
|
-
hasDefault: false;
|
|
2652
|
-
isPrimaryKey: false;
|
|
2653
|
-
isAutoincrement: false;
|
|
2654
|
-
hasRuntimeDefault: false;
|
|
2655
|
-
enumValues: [string, ...string[]];
|
|
2656
|
-
baseColumn: never;
|
|
2657
|
-
identity: undefined;
|
|
2658
|
-
generated: undefined;
|
|
2659
|
-
}, {}, {
|
|
2660
|
-
length: number | undefined;
|
|
2661
|
-
}>;
|
|
2662
|
-
requesterUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2663
|
-
name: "requester_user_id";
|
|
2664
|
-
tableName: "organization_data_usage_categories";
|
|
2665
|
-
dataType: "string";
|
|
2666
|
-
columnType: "SQLiteText";
|
|
2667
|
-
data: string;
|
|
2668
|
-
driverParam: string;
|
|
2669
|
-
notNull: true;
|
|
2670
|
-
hasDefault: false;
|
|
2671
|
-
isPrimaryKey: false;
|
|
2672
|
-
isAutoincrement: false;
|
|
2673
|
-
hasRuntimeDefault: false;
|
|
2674
|
-
enumValues: [string, ...string[]];
|
|
2675
|
-
baseColumn: never;
|
|
2676
|
-
identity: undefined;
|
|
2677
|
-
generated: undefined;
|
|
2678
|
-
}, {}, {
|
|
2679
|
-
length: number | undefined;
|
|
2680
|
-
}>;
|
|
2681
|
-
category: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2682
|
-
name: "category";
|
|
2683
|
-
tableName: "organization_data_usage_categories";
|
|
2684
|
-
dataType: "string";
|
|
2685
|
-
columnType: "SQLiteText";
|
|
2686
|
-
data: string;
|
|
2687
|
-
driverParam: string;
|
|
2688
|
-
notNull: true;
|
|
2689
|
-
hasDefault: false;
|
|
2690
|
-
isPrimaryKey: false;
|
|
2691
|
-
isAutoincrement: false;
|
|
2692
|
-
hasRuntimeDefault: false;
|
|
2693
|
-
enumValues: [string, ...string[]];
|
|
2694
|
-
baseColumn: never;
|
|
2695
|
-
identity: undefined;
|
|
2696
|
-
generated: undefined;
|
|
2697
|
-
}, {}, {
|
|
2698
|
-
length: number | undefined;
|
|
2699
|
-
}>;
|
|
2700
|
-
byteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2701
|
-
name: "byte_length";
|
|
2702
|
-
tableName: "organization_data_usage_categories";
|
|
2703
|
-
dataType: "number";
|
|
2704
|
-
columnType: "SQLiteInteger";
|
|
2705
|
-
data: number;
|
|
2706
|
-
driverParam: number;
|
|
2707
|
-
notNull: true;
|
|
2708
|
-
hasDefault: false;
|
|
2709
|
-
isPrimaryKey: false;
|
|
2710
|
-
isAutoincrement: false;
|
|
2711
|
-
hasRuntimeDefault: false;
|
|
2712
|
-
enumValues: undefined;
|
|
2713
|
-
baseColumn: never;
|
|
2714
|
-
identity: undefined;
|
|
2715
|
-
generated: undefined;
|
|
2716
|
-
}, {}, {}>;
|
|
2717
|
-
documentCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2718
|
-
name: "document_count";
|
|
2719
|
-
tableName: "organization_data_usage_categories";
|
|
2720
|
-
dataType: "number";
|
|
2721
|
-
columnType: "SQLiteInteger";
|
|
2722
|
-
data: number;
|
|
2723
|
-
driverParam: number;
|
|
2724
|
-
notNull: true;
|
|
2725
|
-
hasDefault: false;
|
|
2726
|
-
isPrimaryKey: false;
|
|
2727
|
-
isAutoincrement: false;
|
|
2728
|
-
hasRuntimeDefault: false;
|
|
2729
|
-
enumValues: undefined;
|
|
2730
|
-
baseColumn: never;
|
|
2731
|
-
identity: undefined;
|
|
2732
|
-
generated: undefined;
|
|
2733
|
-
}, {}, {}>;
|
|
2734
|
-
updateCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2735
|
-
name: "update_count";
|
|
2736
|
-
tableName: "organization_data_usage_categories";
|
|
2737
|
-
dataType: "number";
|
|
2738
|
-
columnType: "SQLiteInteger";
|
|
2739
|
-
data: number;
|
|
2740
|
-
driverParam: number;
|
|
2741
|
-
notNull: true;
|
|
2742
|
-
hasDefault: false;
|
|
2743
|
-
isPrimaryKey: false;
|
|
2744
|
-
isAutoincrement: false;
|
|
2745
|
-
hasRuntimeDefault: false;
|
|
2746
|
-
enumValues: undefined;
|
|
2747
|
-
baseColumn: never;
|
|
2748
|
-
identity: undefined;
|
|
2749
|
-
generated: undefined;
|
|
2750
|
-
}, {}, {}>;
|
|
2751
|
-
};
|
|
2752
|
-
dialect: "sqlite";
|
|
2753
|
-
}>;
|
|
2754
|
-
organizationReadModelState: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2755
|
-
name: "organization_read_model_state";
|
|
1724
|
+
export declare const documentTables: ReadonlyArray<SqlTableSchema>;
|
|
1725
|
+
export declare const principalPolicyTables: ReadonlyArray<SqlTableSchema>;
|
|
1726
|
+
export declare const keyingCheckpointTables: ReadonlyArray<SqlTableSchema>;
|
|
1727
|
+
export declare const trustedUserIdentityPinTables: ReadonlyArray<SqlTableSchema>;
|
|
1728
|
+
export declare const containerTables: readonly SqlTableSchema[];
|
|
1729
|
+
export declare const documentContainerProjectionTables: ReadonlyArray<SqlTableSchema>;
|
|
1730
|
+
export declare const localIntentTables: ReadonlyArray<SqlTableSchema>;
|
|
1731
|
+
export declare const documentPlacementIntentTables: ReadonlyArray<SqlTableSchema>;
|
|
1732
|
+
export declare const documentProjectionTables: ReadonlyArray<SqlTableSchema>;
|
|
1733
|
+
export declare const containerSyncWatermarkTables: ReadonlyArray<SqlTableSchema>;
|
|
1734
|
+
export declare const clientSqlTables: ReadonlyArray<SqlTableSchema>;
|
|
1735
|
+
export declare const clientSQLiteSchema: {
|
|
1736
|
+
organizationProvisioningAttempts: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1737
|
+
name: "organization_provisioning_attempts";
|
|
2756
1738
|
schema: undefined;
|
|
2757
1739
|
columns: {
|
|
2758
|
-
|
|
2759
|
-
name: "
|
|
2760
|
-
tableName: "
|
|
2761
|
-
dataType: "string";
|
|
2762
|
-
columnType: "SQLiteText";
|
|
2763
|
-
data: string;
|
|
2764
|
-
driverParam: string;
|
|
2765
|
-
notNull: true;
|
|
2766
|
-
hasDefault: false;
|
|
2767
|
-
isPrimaryKey: false;
|
|
2768
|
-
isAutoincrement: false;
|
|
2769
|
-
hasRuntimeDefault: false;
|
|
2770
|
-
enumValues: [string, ...string[]];
|
|
2771
|
-
baseColumn: never;
|
|
2772
|
-
identity: undefined;
|
|
2773
|
-
generated: undefined;
|
|
2774
|
-
}, {}, {
|
|
2775
|
-
length: number | undefined;
|
|
2776
|
-
}>;
|
|
2777
|
-
cursor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2778
|
-
name: "cursor";
|
|
2779
|
-
tableName: "organization_read_model_state";
|
|
1740
|
+
replacedOrganizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1741
|
+
name: "replaced_organization_id";
|
|
1742
|
+
tableName: "organization_provisioning_attempts";
|
|
2780
1743
|
dataType: "string";
|
|
2781
1744
|
columnType: "SQLiteText";
|
|
2782
1745
|
data: string;
|
|
2783
1746
|
driverParam: string;
|
|
2784
1747
|
notNull: true;
|
|
2785
1748
|
hasDefault: false;
|
|
2786
|
-
isPrimaryKey:
|
|
2787
|
-
isAutoincrement: false;
|
|
2788
|
-
hasRuntimeDefault: false;
|
|
2789
|
-
enumValues: [string, ...string[]];
|
|
2790
|
-
baseColumn: never;
|
|
2791
|
-
identity: undefined;
|
|
2792
|
-
generated: undefined;
|
|
2793
|
-
}, {}, {
|
|
2794
|
-
length: number | undefined;
|
|
2795
|
-
}>;
|
|
2796
|
-
profileDocumentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2797
|
-
name: "profile_document_id";
|
|
2798
|
-
tableName: "organization_read_model_state";
|
|
2799
|
-
dataType: "string";
|
|
2800
|
-
columnType: "SQLiteText";
|
|
2801
|
-
data: string;
|
|
2802
|
-
driverParam: string;
|
|
2803
|
-
notNull: false;
|
|
2804
|
-
hasDefault: false;
|
|
2805
|
-
isPrimaryKey: false;
|
|
1749
|
+
isPrimaryKey: true;
|
|
2806
1750
|
isAutoincrement: false;
|
|
2807
1751
|
hasRuntimeDefault: false;
|
|
2808
1752
|
enumValues: [string, ...string[]];
|
|
@@ -2812,9 +1756,9 @@ export declare const clientSQLiteSchema: {
|
|
|
2812
1756
|
}, {}, {
|
|
2813
1757
|
length: number | undefined;
|
|
2814
1758
|
}>;
|
|
2815
|
-
|
|
2816
|
-
name: "
|
|
2817
|
-
tableName: "
|
|
1759
|
+
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1760
|
+
name: "user_id";
|
|
1761
|
+
tableName: "organization_provisioning_attempts";
|
|
2818
1762
|
dataType: "string";
|
|
2819
1763
|
columnType: "SQLiteText";
|
|
2820
1764
|
data: string;
|
|
@@ -2831,9 +1775,9 @@ export declare const clientSQLiteSchema: {
|
|
|
2831
1775
|
}, {}, {
|
|
2832
1776
|
length: number | undefined;
|
|
2833
1777
|
}>;
|
|
2834
|
-
|
|
2835
|
-
name: "
|
|
2836
|
-
tableName: "
|
|
1778
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1779
|
+
name: "organization_id";
|
|
1780
|
+
tableName: "organization_provisioning_attempts";
|
|
2837
1781
|
dataType: "string";
|
|
2838
1782
|
columnType: "SQLiteText";
|
|
2839
1783
|
data: string;
|
|
@@ -2850,9 +1794,9 @@ export declare const clientSQLiteSchema: {
|
|
|
2850
1794
|
}, {}, {
|
|
2851
1795
|
length: number | undefined;
|
|
2852
1796
|
}>;
|
|
2853
|
-
|
|
2854
|
-
name: "
|
|
2855
|
-
tableName: "
|
|
1797
|
+
rootContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1798
|
+
name: "root_container_id";
|
|
1799
|
+
tableName: "organization_provisioning_attempts";
|
|
2856
1800
|
dataType: "string";
|
|
2857
1801
|
columnType: "SQLiteText";
|
|
2858
1802
|
data: string;
|
|
@@ -2869,43 +1813,9 @@ export declare const clientSQLiteSchema: {
|
|
|
2869
1813
|
}, {}, {
|
|
2870
1814
|
length: number | undefined;
|
|
2871
1815
|
}>;
|
|
2872
|
-
|
|
2873
|
-
name: "
|
|
2874
|
-
tableName: "
|
|
2875
|
-
dataType: "number";
|
|
2876
|
-
columnType: "SQLiteInteger";
|
|
2877
|
-
data: number;
|
|
2878
|
-
driverParam: number;
|
|
2879
|
-
notNull: true;
|
|
2880
|
-
hasDefault: false;
|
|
2881
|
-
isPrimaryKey: false;
|
|
2882
|
-
isAutoincrement: false;
|
|
2883
|
-
hasRuntimeDefault: false;
|
|
2884
|
-
enumValues: undefined;
|
|
2885
|
-
baseColumn: never;
|
|
2886
|
-
identity: undefined;
|
|
2887
|
-
generated: undefined;
|
|
2888
|
-
}, {}, {}>;
|
|
2889
|
-
organizationKeyEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2890
|
-
name: "organization_key_epoch";
|
|
2891
|
-
tableName: "organization_read_model_state";
|
|
2892
|
-
dataType: "number";
|
|
2893
|
-
columnType: "SQLiteInteger";
|
|
2894
|
-
data: number;
|
|
2895
|
-
driverParam: number;
|
|
2896
|
-
notNull: true;
|
|
2897
|
-
hasDefault: false;
|
|
2898
|
-
isPrimaryKey: false;
|
|
2899
|
-
isAutoincrement: false;
|
|
2900
|
-
hasRuntimeDefault: false;
|
|
2901
|
-
enumValues: undefined;
|
|
2902
|
-
baseColumn: never;
|
|
2903
|
-
identity: undefined;
|
|
2904
|
-
generated: undefined;
|
|
2905
|
-
}, {}, {}>;
|
|
2906
|
-
organizationKeyFingerprint: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2907
|
-
name: "organization_key_fingerprint";
|
|
2908
|
-
tableName: "organization_read_model_state";
|
|
1816
|
+
serializedArtifacts: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1817
|
+
name: "serialized_artifacts";
|
|
1818
|
+
tableName: "organization_provisioning_attempts";
|
|
2909
1819
|
dataType: "string";
|
|
2910
1820
|
columnType: "SQLiteText";
|
|
2911
1821
|
data: string;
|
|
@@ -2922,26 +1832,9 @@ export declare const clientSQLiteSchema: {
|
|
|
2922
1832
|
}, {}, {
|
|
2923
1833
|
length: number | undefined;
|
|
2924
1834
|
}>;
|
|
2925
|
-
|
|
2926
|
-
name: "
|
|
2927
|
-
tableName: "
|
|
2928
|
-
dataType: "number";
|
|
2929
|
-
columnType: "SQLiteInteger";
|
|
2930
|
-
data: number;
|
|
2931
|
-
driverParam: number;
|
|
2932
|
-
notNull: true;
|
|
2933
|
-
hasDefault: false;
|
|
2934
|
-
isPrimaryKey: false;
|
|
2935
|
-
isAutoincrement: false;
|
|
2936
|
-
hasRuntimeDefault: false;
|
|
2937
|
-
enumValues: undefined;
|
|
2938
|
-
baseColumn: never;
|
|
2939
|
-
identity: undefined;
|
|
2940
|
-
generated: undefined;
|
|
2941
|
-
}, {}, {}>;
|
|
2942
|
-
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2943
|
-
name: "updated_at";
|
|
2944
|
-
tableName: "organization_read_model_state";
|
|
1835
|
+
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1836
|
+
name: "created_at";
|
|
1837
|
+
tableName: "organization_provisioning_attempts";
|
|
2945
1838
|
dataType: "string";
|
|
2946
1839
|
columnType: "SQLiteText";
|
|
2947
1840
|
data: string;
|
|
@@ -2961,13 +1854,13 @@ export declare const clientSQLiteSchema: {
|
|
|
2961
1854
|
};
|
|
2962
1855
|
dialect: "sqlite";
|
|
2963
1856
|
}>;
|
|
2964
|
-
|
|
2965
|
-
name: "
|
|
1857
|
+
organizationDataUsageSnapshots: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1858
|
+
name: "organization_data_usage_snapshots";
|
|
2966
1859
|
schema: undefined;
|
|
2967
1860
|
columns: {
|
|
2968
1861
|
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2969
1862
|
name: "organization_id";
|
|
2970
|
-
tableName: "
|
|
1863
|
+
tableName: "organization_data_usage_snapshots";
|
|
2971
1864
|
dataType: "string";
|
|
2972
1865
|
columnType: "SQLiteText";
|
|
2973
1866
|
data: string;
|
|
@@ -2984,9 +1877,9 @@ export declare const clientSQLiteSchema: {
|
|
|
2984
1877
|
}, {}, {
|
|
2985
1878
|
length: number | undefined;
|
|
2986
1879
|
}>;
|
|
2987
|
-
|
|
2988
|
-
name: "
|
|
2989
|
-
tableName: "
|
|
1880
|
+
requesterUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1881
|
+
name: "requester_user_id";
|
|
1882
|
+
tableName: "organization_data_usage_snapshots";
|
|
2990
1883
|
dataType: "string";
|
|
2991
1884
|
columnType: "SQLiteText";
|
|
2992
1885
|
data: string;
|
|
@@ -3003,12 +1896,12 @@ export declare const clientSQLiteSchema: {
|
|
|
3003
1896
|
}, {}, {
|
|
3004
1897
|
length: number | undefined;
|
|
3005
1898
|
}>;
|
|
3006
|
-
|
|
3007
|
-
name: "
|
|
3008
|
-
tableName: "
|
|
3009
|
-
dataType: "
|
|
3010
|
-
columnType: "
|
|
3011
|
-
data:
|
|
1899
|
+
projectionVersion: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1900
|
+
name: "projection_version";
|
|
1901
|
+
tableName: "organization_data_usage_snapshots";
|
|
1902
|
+
dataType: "number";
|
|
1903
|
+
columnType: "SQLiteInteger";
|
|
1904
|
+
data: number;
|
|
3012
1905
|
driverParam: number;
|
|
3013
1906
|
notNull: true;
|
|
3014
1907
|
hasDefault: false;
|
|
@@ -3020,73 +1913,60 @@ export declare const clientSQLiteSchema: {
|
|
|
3020
1913
|
identity: undefined;
|
|
3021
1914
|
generated: undefined;
|
|
3022
1915
|
}, {}, {}>;
|
|
3023
|
-
|
|
3024
|
-
name: "
|
|
3025
|
-
tableName: "
|
|
3026
|
-
dataType: "
|
|
3027
|
-
columnType: "
|
|
3028
|
-
data:
|
|
3029
|
-
driverParam:
|
|
1916
|
+
blobCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1917
|
+
name: "blob_count";
|
|
1918
|
+
tableName: "organization_data_usage_snapshots";
|
|
1919
|
+
dataType: "number";
|
|
1920
|
+
columnType: "SQLiteInteger";
|
|
1921
|
+
data: number;
|
|
1922
|
+
driverParam: number;
|
|
3030
1923
|
notNull: true;
|
|
3031
1924
|
hasDefault: false;
|
|
3032
1925
|
isPrimaryKey: false;
|
|
3033
1926
|
isAutoincrement: false;
|
|
3034
1927
|
hasRuntimeDefault: false;
|
|
3035
|
-
enumValues:
|
|
1928
|
+
enumValues: undefined;
|
|
3036
1929
|
baseColumn: never;
|
|
3037
1930
|
identity: undefined;
|
|
3038
1931
|
generated: undefined;
|
|
3039
|
-
}, {}, {
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
schema: undefined;
|
|
3048
|
-
columns: {
|
|
3049
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3050
|
-
name: "organization_id";
|
|
3051
|
-
tableName: "organization_read_model_directory_users";
|
|
3052
|
-
dataType: "string";
|
|
3053
|
-
columnType: "SQLiteText";
|
|
3054
|
-
data: string;
|
|
3055
|
-
driverParam: string;
|
|
1932
|
+
}, {}, {}>;
|
|
1933
|
+
blobByteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1934
|
+
name: "blob_byte_length";
|
|
1935
|
+
tableName: "organization_data_usage_snapshots";
|
|
1936
|
+
dataType: "number";
|
|
1937
|
+
columnType: "SQLiteInteger";
|
|
1938
|
+
data: number;
|
|
1939
|
+
driverParam: number;
|
|
3056
1940
|
notNull: true;
|
|
3057
1941
|
hasDefault: false;
|
|
3058
1942
|
isPrimaryKey: false;
|
|
3059
1943
|
isAutoincrement: false;
|
|
3060
1944
|
hasRuntimeDefault: false;
|
|
3061
|
-
enumValues:
|
|
1945
|
+
enumValues: undefined;
|
|
3062
1946
|
baseColumn: never;
|
|
3063
1947
|
identity: undefined;
|
|
3064
1948
|
generated: undefined;
|
|
3065
|
-
}, {}, {
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
data: string;
|
|
3074
|
-
driverParam: string;
|
|
1949
|
+
}, {}, {}>;
|
|
1950
|
+
documentByteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1951
|
+
name: "document_byte_length";
|
|
1952
|
+
tableName: "organization_data_usage_snapshots";
|
|
1953
|
+
dataType: "number";
|
|
1954
|
+
columnType: "SQLiteInteger";
|
|
1955
|
+
data: number;
|
|
1956
|
+
driverParam: number;
|
|
3075
1957
|
notNull: true;
|
|
3076
1958
|
hasDefault: false;
|
|
3077
1959
|
isPrimaryKey: false;
|
|
3078
1960
|
isAutoincrement: false;
|
|
3079
1961
|
hasRuntimeDefault: false;
|
|
3080
|
-
enumValues:
|
|
3081
|
-
baseColumn: never;
|
|
3082
|
-
identity: undefined;
|
|
3083
|
-
generated: undefined;
|
|
3084
|
-
}, {}, {
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
name: "sort_order";
|
|
3089
|
-
tableName: "organization_read_model_directory_users";
|
|
1962
|
+
enumValues: undefined;
|
|
1963
|
+
baseColumn: never;
|
|
1964
|
+
identity: undefined;
|
|
1965
|
+
generated: undefined;
|
|
1966
|
+
}, {}, {}>;
|
|
1967
|
+
documentCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1968
|
+
name: "document_count";
|
|
1969
|
+
tableName: "organization_data_usage_snapshots";
|
|
3090
1970
|
dataType: "number";
|
|
3091
1971
|
columnType: "SQLiteInteger";
|
|
3092
1972
|
data: number;
|
|
@@ -3101,47 +1981,43 @@ export declare const clientSQLiteSchema: {
|
|
|
3101
1981
|
identity: undefined;
|
|
3102
1982
|
generated: undefined;
|
|
3103
1983
|
}, {}, {}>;
|
|
3104
|
-
|
|
3105
|
-
name: "
|
|
3106
|
-
tableName: "
|
|
3107
|
-
dataType: "
|
|
3108
|
-
columnType: "
|
|
3109
|
-
data:
|
|
3110
|
-
driverParam:
|
|
1984
|
+
documentUpdateCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1985
|
+
name: "document_update_count";
|
|
1986
|
+
tableName: "organization_data_usage_snapshots";
|
|
1987
|
+
dataType: "number";
|
|
1988
|
+
columnType: "SQLiteInteger";
|
|
1989
|
+
data: number;
|
|
1990
|
+
driverParam: number;
|
|
3111
1991
|
notNull: true;
|
|
3112
1992
|
hasDefault: false;
|
|
3113
1993
|
isPrimaryKey: false;
|
|
3114
1994
|
isAutoincrement: false;
|
|
3115
1995
|
hasRuntimeDefault: false;
|
|
3116
|
-
enumValues:
|
|
1996
|
+
enumValues: undefined;
|
|
3117
1997
|
baseColumn: never;
|
|
3118
1998
|
identity: undefined;
|
|
3119
1999
|
generated: undefined;
|
|
3120
|
-
}, {}, {
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
data: string;
|
|
3129
|
-
driverParam: string;
|
|
2000
|
+
}, {}, {}>;
|
|
2001
|
+
totalByteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2002
|
+
name: "total_byte_length";
|
|
2003
|
+
tableName: "organization_data_usage_snapshots";
|
|
2004
|
+
dataType: "number";
|
|
2005
|
+
columnType: "SQLiteInteger";
|
|
2006
|
+
data: number;
|
|
2007
|
+
driverParam: number;
|
|
3130
2008
|
notNull: true;
|
|
3131
2009
|
hasDefault: false;
|
|
3132
2010
|
isPrimaryKey: false;
|
|
3133
2011
|
isAutoincrement: false;
|
|
3134
2012
|
hasRuntimeDefault: false;
|
|
3135
|
-
enumValues:
|
|
2013
|
+
enumValues: undefined;
|
|
3136
2014
|
baseColumn: never;
|
|
3137
2015
|
identity: undefined;
|
|
3138
2016
|
generated: undefined;
|
|
3139
|
-
}, {}, {
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
name: "encapsulation_public_key";
|
|
3144
|
-
tableName: "organization_read_model_directory_users";
|
|
2017
|
+
}, {}, {}>;
|
|
2018
|
+
categoryBreakdownJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2019
|
+
name: "category_breakdown_json";
|
|
2020
|
+
tableName: "organization_data_usage_snapshots";
|
|
3145
2021
|
dataType: "string";
|
|
3146
2022
|
columnType: "SQLiteText";
|
|
3147
2023
|
data: string;
|
|
@@ -3158,9 +2034,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3158
2034
|
}, {}, {
|
|
3159
2035
|
length: number | undefined;
|
|
3160
2036
|
}>;
|
|
3161
|
-
|
|
3162
|
-
name: "
|
|
3163
|
-
tableName: "
|
|
2037
|
+
refreshedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2038
|
+
name: "refreshed_at";
|
|
2039
|
+
tableName: "organization_data_usage_snapshots";
|
|
3164
2040
|
dataType: "string";
|
|
3165
2041
|
columnType: "SQLiteText";
|
|
3166
2042
|
data: string;
|
|
@@ -3177,26 +2053,16 @@ export declare const clientSQLiteSchema: {
|
|
|
3177
2053
|
}, {}, {
|
|
3178
2054
|
length: number | undefined;
|
|
3179
2055
|
}>;
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
isAutoincrement: false;
|
|
3191
|
-
hasRuntimeDefault: false;
|
|
3192
|
-
enumValues: undefined;
|
|
3193
|
-
baseColumn: never;
|
|
3194
|
-
identity: undefined;
|
|
3195
|
-
generated: undefined;
|
|
3196
|
-
}, {}, {}>;
|
|
3197
|
-
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3198
|
-
name: "created_at";
|
|
3199
|
-
tableName: "organization_read_model_directory_users";
|
|
2056
|
+
};
|
|
2057
|
+
dialect: "sqlite";
|
|
2058
|
+
}>;
|
|
2059
|
+
organizationReadModelState: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2060
|
+
name: "organization_read_model_state";
|
|
2061
|
+
schema: undefined;
|
|
2062
|
+
columns: {
|
|
2063
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2064
|
+
name: "organization_id";
|
|
2065
|
+
tableName: "organization_read_model_state";
|
|
3200
2066
|
dataType: "string";
|
|
3201
2067
|
columnType: "SQLiteText";
|
|
3202
2068
|
data: string;
|
|
@@ -3213,9 +2079,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3213
2079
|
}, {}, {
|
|
3214
2080
|
length: number | undefined;
|
|
3215
2081
|
}>;
|
|
3216
|
-
|
|
3217
|
-
name: "
|
|
3218
|
-
tableName: "
|
|
2082
|
+
cursor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2083
|
+
name: "cursor";
|
|
2084
|
+
tableName: "organization_read_model_state";
|
|
3219
2085
|
dataType: "string";
|
|
3220
2086
|
columnType: "SQLiteText";
|
|
3221
2087
|
data: string;
|
|
@@ -3234,7 +2100,7 @@ export declare const clientSQLiteSchema: {
|
|
|
3234
2100
|
}>;
|
|
3235
2101
|
profileDocumentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3236
2102
|
name: "profile_document_id";
|
|
3237
|
-
tableName: "
|
|
2103
|
+
tableName: "organization_read_model_state";
|
|
3238
2104
|
dataType: "string";
|
|
3239
2105
|
columnType: "SQLiteText";
|
|
3240
2106
|
data: string;
|
|
@@ -3251,9 +2117,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3251
2117
|
}, {}, {
|
|
3252
2118
|
length: number | undefined;
|
|
3253
2119
|
}>;
|
|
3254
|
-
|
|
3255
|
-
name: "
|
|
3256
|
-
tableName: "
|
|
2120
|
+
memberGroupId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2121
|
+
name: "member_group_id";
|
|
2122
|
+
tableName: "organization_read_model_state";
|
|
3257
2123
|
dataType: "string";
|
|
3258
2124
|
columnType: "SQLiteText";
|
|
3259
2125
|
data: string;
|
|
@@ -3270,9 +2136,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3270
2136
|
}, {}, {
|
|
3271
2137
|
length: number | undefined;
|
|
3272
2138
|
}>;
|
|
3273
|
-
|
|
3274
|
-
name: "
|
|
3275
|
-
tableName: "
|
|
2139
|
+
memberGroupStateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2140
|
+
name: "member_group_state_hash";
|
|
2141
|
+
tableName: "organization_read_model_state";
|
|
3276
2142
|
dataType: "string";
|
|
3277
2143
|
columnType: "SQLiteText";
|
|
3278
2144
|
data: string;
|
|
@@ -3289,14 +2155,14 @@ export declare const clientSQLiteSchema: {
|
|
|
3289
2155
|
}, {}, {
|
|
3290
2156
|
length: number | undefined;
|
|
3291
2157
|
}>;
|
|
3292
|
-
|
|
3293
|
-
name: "
|
|
3294
|
-
tableName: "
|
|
2158
|
+
organizationStateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2159
|
+
name: "organization_state_hash";
|
|
2160
|
+
tableName: "organization_read_model_state";
|
|
3295
2161
|
dataType: "string";
|
|
3296
2162
|
columnType: "SQLiteText";
|
|
3297
2163
|
data: string;
|
|
3298
2164
|
driverParam: string;
|
|
3299
|
-
notNull:
|
|
2165
|
+
notNull: true;
|
|
3300
2166
|
hasDefault: false;
|
|
3301
2167
|
isPrimaryKey: false;
|
|
3302
2168
|
isAutoincrement: false;
|
|
@@ -3308,54 +2174,43 @@ export declare const clientSQLiteSchema: {
|
|
|
3308
2174
|
}, {}, {
|
|
3309
2175
|
length: number | undefined;
|
|
3310
2176
|
}>;
|
|
3311
|
-
|
|
3312
|
-
name: "
|
|
3313
|
-
tableName: "
|
|
3314
|
-
dataType: "
|
|
3315
|
-
columnType: "
|
|
3316
|
-
data:
|
|
3317
|
-
driverParam:
|
|
3318
|
-
notNull:
|
|
2177
|
+
organizationStateVersion: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2178
|
+
name: "organization_state_version";
|
|
2179
|
+
tableName: "organization_read_model_state";
|
|
2180
|
+
dataType: "number";
|
|
2181
|
+
columnType: "SQLiteInteger";
|
|
2182
|
+
data: number;
|
|
2183
|
+
driverParam: number;
|
|
2184
|
+
notNull: true;
|
|
3319
2185
|
hasDefault: false;
|
|
3320
2186
|
isPrimaryKey: false;
|
|
3321
2187
|
isAutoincrement: false;
|
|
3322
2188
|
hasRuntimeDefault: false;
|
|
3323
|
-
enumValues:
|
|
2189
|
+
enumValues: undefined;
|
|
3324
2190
|
baseColumn: never;
|
|
3325
2191
|
identity: undefined;
|
|
3326
2192
|
generated: undefined;
|
|
3327
|
-
}, {}, {
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
schema: undefined;
|
|
3336
|
-
columns: {
|
|
3337
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3338
|
-
name: "organization_id";
|
|
3339
|
-
tableName: "organization_read_model_groups";
|
|
3340
|
-
dataType: "string";
|
|
3341
|
-
columnType: "SQLiteText";
|
|
3342
|
-
data: string;
|
|
3343
|
-
driverParam: string;
|
|
2193
|
+
}, {}, {}>;
|
|
2194
|
+
organizationKeyEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2195
|
+
name: "organization_key_epoch";
|
|
2196
|
+
tableName: "organization_read_model_state";
|
|
2197
|
+
dataType: "number";
|
|
2198
|
+
columnType: "SQLiteInteger";
|
|
2199
|
+
data: number;
|
|
2200
|
+
driverParam: number;
|
|
3344
2201
|
notNull: true;
|
|
3345
2202
|
hasDefault: false;
|
|
3346
2203
|
isPrimaryKey: false;
|
|
3347
2204
|
isAutoincrement: false;
|
|
3348
2205
|
hasRuntimeDefault: false;
|
|
3349
|
-
enumValues:
|
|
2206
|
+
enumValues: undefined;
|
|
3350
2207
|
baseColumn: never;
|
|
3351
2208
|
identity: undefined;
|
|
3352
2209
|
generated: undefined;
|
|
3353
|
-
}, {}, {
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
name: "group_id";
|
|
3358
|
-
tableName: "organization_read_model_groups";
|
|
2210
|
+
}, {}, {}>;
|
|
2211
|
+
organizationKeyFingerprint: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2212
|
+
name: "organization_key_fingerprint";
|
|
2213
|
+
tableName: "organization_read_model_state";
|
|
3359
2214
|
dataType: "string";
|
|
3360
2215
|
columnType: "SQLiteText";
|
|
3361
2216
|
data: string;
|
|
@@ -3372,9 +2227,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3372
2227
|
}, {}, {
|
|
3373
2228
|
length: number | undefined;
|
|
3374
2229
|
}>;
|
|
3375
|
-
|
|
3376
|
-
name: "
|
|
3377
|
-
tableName: "
|
|
2230
|
+
organizationMemberCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2231
|
+
name: "organization_member_count";
|
|
2232
|
+
tableName: "organization_read_model_state";
|
|
3378
2233
|
dataType: "number";
|
|
3379
2234
|
columnType: "SQLiteInteger";
|
|
3380
2235
|
data: number;
|
|
@@ -3389,9 +2244,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3389
2244
|
identity: undefined;
|
|
3390
2245
|
generated: undefined;
|
|
3391
2246
|
}, {}, {}>;
|
|
3392
|
-
|
|
3393
|
-
name: "
|
|
3394
|
-
tableName: "
|
|
2247
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2248
|
+
name: "updated_at";
|
|
2249
|
+
tableName: "organization_read_model_state";
|
|
3395
2250
|
dataType: "string";
|
|
3396
2251
|
columnType: "SQLiteText";
|
|
3397
2252
|
data: string;
|
|
@@ -3408,9 +2263,16 @@ export declare const clientSQLiteSchema: {
|
|
|
3408
2263
|
}, {}, {
|
|
3409
2264
|
length: number | undefined;
|
|
3410
2265
|
}>;
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
2266
|
+
};
|
|
2267
|
+
dialect: "sqlite";
|
|
2268
|
+
}>;
|
|
2269
|
+
organizationReadModelRequesters: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2270
|
+
name: "organization_read_model_requesters";
|
|
2271
|
+
schema: undefined;
|
|
2272
|
+
columns: {
|
|
2273
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2274
|
+
name: "organization_id";
|
|
2275
|
+
tableName: "organization_read_model_requesters";
|
|
3414
2276
|
dataType: "string";
|
|
3415
2277
|
columnType: "SQLiteText";
|
|
3416
2278
|
data: string;
|
|
@@ -3427,9 +2289,28 @@ export declare const clientSQLiteSchema: {
|
|
|
3427
2289
|
}, {}, {
|
|
3428
2290
|
length: number | undefined;
|
|
3429
2291
|
}>;
|
|
3430
|
-
|
|
3431
|
-
name: "
|
|
3432
|
-
tableName: "
|
|
2292
|
+
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2293
|
+
name: "user_id";
|
|
2294
|
+
tableName: "organization_read_model_requesters";
|
|
2295
|
+
dataType: "string";
|
|
2296
|
+
columnType: "SQLiteText";
|
|
2297
|
+
data: string;
|
|
2298
|
+
driverParam: string;
|
|
2299
|
+
notNull: true;
|
|
2300
|
+
hasDefault: false;
|
|
2301
|
+
isPrimaryKey: false;
|
|
2302
|
+
isAutoincrement: false;
|
|
2303
|
+
hasRuntimeDefault: false;
|
|
2304
|
+
enumValues: [string, ...string[]];
|
|
2305
|
+
baseColumn: never;
|
|
2306
|
+
identity: undefined;
|
|
2307
|
+
generated: undefined;
|
|
2308
|
+
}, {}, {
|
|
2309
|
+
length: number | undefined;
|
|
2310
|
+
}>;
|
|
2311
|
+
isOrgAdmin: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2312
|
+
name: "is_org_admin";
|
|
2313
|
+
tableName: "organization_read_model_requesters";
|
|
3433
2314
|
dataType: "boolean";
|
|
3434
2315
|
columnType: "SQLiteBoolean";
|
|
3435
2316
|
data: boolean;
|
|
@@ -3444,14 +2325,14 @@ export declare const clientSQLiteSchema: {
|
|
|
3444
2325
|
identity: undefined;
|
|
3445
2326
|
generated: undefined;
|
|
3446
2327
|
}, {}, {}>;
|
|
3447
|
-
|
|
3448
|
-
name: "
|
|
3449
|
-
tableName: "
|
|
2328
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2329
|
+
name: "updated_at";
|
|
2330
|
+
tableName: "organization_read_model_requesters";
|
|
3450
2331
|
dataType: "string";
|
|
3451
2332
|
columnType: "SQLiteText";
|
|
3452
2333
|
data: string;
|
|
3453
2334
|
driverParam: string;
|
|
3454
|
-
notNull:
|
|
2335
|
+
notNull: true;
|
|
3455
2336
|
hasDefault: false;
|
|
3456
2337
|
isPrimaryKey: false;
|
|
3457
2338
|
isAutoincrement: false;
|
|
@@ -3460,51 +2341,43 @@ export declare const clientSQLiteSchema: {
|
|
|
3460
2341
|
baseColumn: never;
|
|
3461
2342
|
identity: undefined;
|
|
3462
2343
|
generated: undefined;
|
|
3463
|
-
}, {}, {
|
|
3464
|
-
length: number | undefined;
|
|
3465
|
-
}>;
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
generated: undefined;
|
|
3482
|
-
}, {}, {}>;
|
|
3483
|
-
keyEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3484
|
-
name: "key_epoch";
|
|
3485
|
-
tableName: "organization_read_model_groups";
|
|
3486
|
-
dataType: "number";
|
|
3487
|
-
columnType: "SQLiteInteger";
|
|
3488
|
-
data: number;
|
|
3489
|
-
driverParam: number;
|
|
3490
|
-
notNull: false;
|
|
2344
|
+
}, {}, {
|
|
2345
|
+
length: number | undefined;
|
|
2346
|
+
}>;
|
|
2347
|
+
};
|
|
2348
|
+
dialect: "sqlite";
|
|
2349
|
+
}>;
|
|
2350
|
+
organizationReadModelDirectoryUsers: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2351
|
+
name: "organization_read_model_directory_users";
|
|
2352
|
+
schema: undefined;
|
|
2353
|
+
columns: {
|
|
2354
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2355
|
+
name: "organization_id";
|
|
2356
|
+
tableName: "organization_read_model_directory_users";
|
|
2357
|
+
dataType: "string";
|
|
2358
|
+
columnType: "SQLiteText";
|
|
2359
|
+
data: string;
|
|
2360
|
+
driverParam: string;
|
|
2361
|
+
notNull: true;
|
|
3491
2362
|
hasDefault: false;
|
|
3492
2363
|
isPrimaryKey: false;
|
|
3493
2364
|
isAutoincrement: false;
|
|
3494
2365
|
hasRuntimeDefault: false;
|
|
3495
|
-
enumValues:
|
|
2366
|
+
enumValues: [string, ...string[]];
|
|
3496
2367
|
baseColumn: never;
|
|
3497
2368
|
identity: undefined;
|
|
3498
2369
|
generated: undefined;
|
|
3499
|
-
}, {}, {
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
2370
|
+
}, {}, {
|
|
2371
|
+
length: number | undefined;
|
|
2372
|
+
}>;
|
|
2373
|
+
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2374
|
+
name: "user_id";
|
|
2375
|
+
tableName: "organization_read_model_directory_users";
|
|
3503
2376
|
dataType: "string";
|
|
3504
2377
|
columnType: "SQLiteText";
|
|
3505
2378
|
data: string;
|
|
3506
2379
|
driverParam: string;
|
|
3507
|
-
notNull:
|
|
2380
|
+
notNull: true;
|
|
3508
2381
|
hasDefault: false;
|
|
3509
2382
|
isPrimaryKey: false;
|
|
3510
2383
|
isAutoincrement: false;
|
|
@@ -3516,14 +2389,14 @@ export declare const clientSQLiteSchema: {
|
|
|
3516
2389
|
}, {}, {
|
|
3517
2390
|
length: number | undefined;
|
|
3518
2391
|
}>;
|
|
3519
|
-
|
|
3520
|
-
name: "
|
|
3521
|
-
tableName: "
|
|
2392
|
+
sortOrder: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2393
|
+
name: "sort_order";
|
|
2394
|
+
tableName: "organization_read_model_directory_users";
|
|
3522
2395
|
dataType: "number";
|
|
3523
2396
|
columnType: "SQLiteInteger";
|
|
3524
2397
|
data: number;
|
|
3525
2398
|
driverParam: number;
|
|
3526
|
-
notNull:
|
|
2399
|
+
notNull: true;
|
|
3527
2400
|
hasDefault: false;
|
|
3528
2401
|
isPrimaryKey: false;
|
|
3529
2402
|
isAutoincrement: false;
|
|
@@ -3533,14 +2406,14 @@ export declare const clientSQLiteSchema: {
|
|
|
3533
2406
|
identity: undefined;
|
|
3534
2407
|
generated: undefined;
|
|
3535
2408
|
}, {}, {}>;
|
|
3536
|
-
|
|
3537
|
-
name: "
|
|
3538
|
-
tableName: "
|
|
2409
|
+
signingKeyFingerprint: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2410
|
+
name: "signing_key_fingerprint";
|
|
2411
|
+
tableName: "organization_read_model_directory_users";
|
|
3539
2412
|
dataType: "string";
|
|
3540
2413
|
columnType: "SQLiteText";
|
|
3541
2414
|
data: string;
|
|
3542
2415
|
driverParam: string;
|
|
3543
|
-
notNull:
|
|
2416
|
+
notNull: true;
|
|
3544
2417
|
hasDefault: false;
|
|
3545
2418
|
isPrimaryKey: false;
|
|
3546
2419
|
isAutoincrement: false;
|
|
@@ -3552,16 +2425,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3552
2425
|
}, {}, {
|
|
3553
2426
|
length: number | undefined;
|
|
3554
2427
|
}>;
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
organizationReadModelGroupMembers: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3559
|
-
name: "organization_read_model_group_members";
|
|
3560
|
-
schema: undefined;
|
|
3561
|
-
columns: {
|
|
3562
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3563
|
-
name: "organization_id";
|
|
3564
|
-
tableName: "organization_read_model_group_members";
|
|
2428
|
+
signingPublicKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2429
|
+
name: "signing_public_key";
|
|
2430
|
+
tableName: "organization_read_model_directory_users";
|
|
3565
2431
|
dataType: "string";
|
|
3566
2432
|
columnType: "SQLiteText";
|
|
3567
2433
|
data: string;
|
|
@@ -3578,9 +2444,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3578
2444
|
}, {}, {
|
|
3579
2445
|
length: number | undefined;
|
|
3580
2446
|
}>;
|
|
3581
|
-
|
|
3582
|
-
name: "
|
|
3583
|
-
tableName: "
|
|
2447
|
+
encapsulationPublicKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2448
|
+
name: "encapsulation_public_key";
|
|
2449
|
+
tableName: "organization_read_model_directory_users";
|
|
3584
2450
|
dataType: "string";
|
|
3585
2451
|
columnType: "SQLiteText";
|
|
3586
2452
|
data: string;
|
|
@@ -3597,9 +2463,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3597
2463
|
}, {}, {
|
|
3598
2464
|
length: number | undefined;
|
|
3599
2465
|
}>;
|
|
3600
|
-
|
|
3601
|
-
name: "
|
|
3602
|
-
tableName: "
|
|
2466
|
+
encapsulationKeyFingerprint: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2467
|
+
name: "encapsulation_key_fingerprint";
|
|
2468
|
+
tableName: "organization_read_model_directory_users";
|
|
3603
2469
|
dataType: "string";
|
|
3604
2470
|
columnType: "SQLiteText";
|
|
3605
2471
|
data: string;
|
|
@@ -3616,12 +2482,12 @@ export declare const clientSQLiteSchema: {
|
|
|
3616
2482
|
}, {}, {
|
|
3617
2483
|
length: number | undefined;
|
|
3618
2484
|
}>;
|
|
3619
|
-
|
|
3620
|
-
name: "
|
|
3621
|
-
tableName: "
|
|
3622
|
-
dataType: "
|
|
3623
|
-
columnType: "
|
|
3624
|
-
data:
|
|
2485
|
+
isPersonalOrganizationOwner: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2486
|
+
name: "is_personal_organization_owner";
|
|
2487
|
+
tableName: "organization_read_model_directory_users";
|
|
2488
|
+
dataType: "boolean";
|
|
2489
|
+
columnType: "SQLiteBoolean";
|
|
2490
|
+
data: boolean;
|
|
3625
2491
|
driverParam: number;
|
|
3626
2492
|
notNull: true;
|
|
3627
2493
|
hasDefault: false;
|
|
@@ -3633,9 +2499,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3633
2499
|
identity: undefined;
|
|
3634
2500
|
generated: undefined;
|
|
3635
2501
|
}, {}, {}>;
|
|
3636
|
-
|
|
3637
|
-
name: "
|
|
3638
|
-
tableName: "
|
|
2502
|
+
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2503
|
+
name: "created_at";
|
|
2504
|
+
tableName: "organization_read_model_directory_users";
|
|
3639
2505
|
dataType: "string";
|
|
3640
2506
|
columnType: "SQLiteText";
|
|
3641
2507
|
data: string;
|
|
@@ -3652,9 +2518,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3652
2518
|
}, {}, {
|
|
3653
2519
|
length: number | undefined;
|
|
3654
2520
|
}>;
|
|
3655
|
-
|
|
3656
|
-
name: "
|
|
3657
|
-
tableName: "
|
|
2521
|
+
status: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2522
|
+
name: "status";
|
|
2523
|
+
tableName: "organization_read_model_directory_users";
|
|
3658
2524
|
dataType: "string";
|
|
3659
2525
|
columnType: "SQLiteText";
|
|
3660
2526
|
data: string;
|
|
@@ -3671,21 +2537,14 @@ export declare const clientSQLiteSchema: {
|
|
|
3671
2537
|
}, {}, {
|
|
3672
2538
|
length: number | undefined;
|
|
3673
2539
|
}>;
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
organizationReadModelContainerGrants: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3678
|
-
name: "organization_read_model_container_grants";
|
|
3679
|
-
schema: undefined;
|
|
3680
|
-
columns: {
|
|
3681
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3682
|
-
name: "organization_id";
|
|
3683
|
-
tableName: "organization_read_model_container_grants";
|
|
2540
|
+
profileDocumentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2541
|
+
name: "profile_document_id";
|
|
2542
|
+
tableName: "organization_read_model_directory_users";
|
|
3684
2543
|
dataType: "string";
|
|
3685
2544
|
columnType: "SQLiteText";
|
|
3686
2545
|
data: string;
|
|
3687
2546
|
driverParam: string;
|
|
3688
|
-
notNull:
|
|
2547
|
+
notNull: false;
|
|
3689
2548
|
hasDefault: false;
|
|
3690
2549
|
isPrimaryKey: false;
|
|
3691
2550
|
isAutoincrement: false;
|
|
@@ -3697,9 +2556,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3697
2556
|
}, {}, {
|
|
3698
2557
|
length: number | undefined;
|
|
3699
2558
|
}>;
|
|
3700
|
-
|
|
3701
|
-
name: "
|
|
3702
|
-
tableName: "
|
|
2559
|
+
joinedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2560
|
+
name: "joined_at";
|
|
2561
|
+
tableName: "organization_read_model_directory_users";
|
|
3703
2562
|
dataType: "string";
|
|
3704
2563
|
columnType: "SQLiteText";
|
|
3705
2564
|
data: string;
|
|
@@ -3716,9 +2575,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3716
2575
|
}, {}, {
|
|
3717
2576
|
length: number | undefined;
|
|
3718
2577
|
}>;
|
|
3719
|
-
|
|
3720
|
-
name: "
|
|
3721
|
-
tableName: "
|
|
2578
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2579
|
+
name: "updated_at";
|
|
2580
|
+
tableName: "organization_read_model_directory_users";
|
|
3722
2581
|
dataType: "string";
|
|
3723
2582
|
columnType: "SQLiteText";
|
|
3724
2583
|
data: string;
|
|
@@ -3735,14 +2594,14 @@ export declare const clientSQLiteSchema: {
|
|
|
3735
2594
|
}, {}, {
|
|
3736
2595
|
length: number | undefined;
|
|
3737
2596
|
}>;
|
|
3738
|
-
|
|
3739
|
-
name: "
|
|
3740
|
-
tableName: "
|
|
2597
|
+
disabledAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2598
|
+
name: "disabled_at";
|
|
2599
|
+
tableName: "organization_read_model_directory_users";
|
|
3741
2600
|
dataType: "string";
|
|
3742
2601
|
columnType: "SQLiteText";
|
|
3743
2602
|
data: string;
|
|
3744
2603
|
driverParam: string;
|
|
3745
|
-
notNull:
|
|
2604
|
+
notNull: false;
|
|
3746
2605
|
hasDefault: false;
|
|
3747
2606
|
isPrimaryKey: false;
|
|
3748
2607
|
isAutoincrement: false;
|
|
@@ -3754,26 +2613,35 @@ export declare const clientSQLiteSchema: {
|
|
|
3754
2613
|
}, {}, {
|
|
3755
2614
|
length: number | undefined;
|
|
3756
2615
|
}>;
|
|
3757
|
-
|
|
3758
|
-
name: "
|
|
3759
|
-
tableName: "
|
|
3760
|
-
dataType: "
|
|
3761
|
-
columnType: "
|
|
3762
|
-
data:
|
|
3763
|
-
driverParam:
|
|
3764
|
-
notNull:
|
|
2616
|
+
disabledByUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2617
|
+
name: "disabled_by_user_id";
|
|
2618
|
+
tableName: "organization_read_model_directory_users";
|
|
2619
|
+
dataType: "string";
|
|
2620
|
+
columnType: "SQLiteText";
|
|
2621
|
+
data: string;
|
|
2622
|
+
driverParam: string;
|
|
2623
|
+
notNull: false;
|
|
3765
2624
|
hasDefault: false;
|
|
3766
2625
|
isPrimaryKey: false;
|
|
3767
2626
|
isAutoincrement: false;
|
|
3768
2627
|
hasRuntimeDefault: false;
|
|
3769
|
-
enumValues:
|
|
2628
|
+
enumValues: [string, ...string[]];
|
|
3770
2629
|
baseColumn: never;
|
|
3771
2630
|
identity: undefined;
|
|
3772
2631
|
generated: undefined;
|
|
3773
|
-
}, {}, {
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
2632
|
+
}, {}, {
|
|
2633
|
+
length: number | undefined;
|
|
2634
|
+
}>;
|
|
2635
|
+
};
|
|
2636
|
+
dialect: "sqlite";
|
|
2637
|
+
}>;
|
|
2638
|
+
organizationReadModelGroups: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2639
|
+
name: "organization_read_model_groups";
|
|
2640
|
+
schema: undefined;
|
|
2641
|
+
columns: {
|
|
2642
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2643
|
+
name: "organization_id";
|
|
2644
|
+
tableName: "organization_read_model_groups";
|
|
3777
2645
|
dataType: "string";
|
|
3778
2646
|
columnType: "SQLiteText";
|
|
3779
2647
|
data: string;
|
|
@@ -3790,9 +2658,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3790
2658
|
}, {}, {
|
|
3791
2659
|
length: number | undefined;
|
|
3792
2660
|
}>;
|
|
3793
|
-
|
|
3794
|
-
name: "
|
|
3795
|
-
tableName: "
|
|
2661
|
+
groupId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2662
|
+
name: "group_id";
|
|
2663
|
+
tableName: "organization_read_model_groups";
|
|
3796
2664
|
dataType: "string";
|
|
3797
2665
|
columnType: "SQLiteText";
|
|
3798
2666
|
data: string;
|
|
@@ -3809,9 +2677,9 @@ export declare const clientSQLiteSchema: {
|
|
|
3809
2677
|
}, {}, {
|
|
3810
2678
|
length: number | undefined;
|
|
3811
2679
|
}>;
|
|
3812
|
-
|
|
3813
|
-
name: "
|
|
3814
|
-
tableName: "
|
|
2680
|
+
sortOrder: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2681
|
+
name: "sort_order";
|
|
2682
|
+
tableName: "organization_read_model_groups";
|
|
3815
2683
|
dataType: "number";
|
|
3816
2684
|
columnType: "SQLiteInteger";
|
|
3817
2685
|
data: number;
|
|
@@ -3826,43 +2694,28 @@ export declare const clientSQLiteSchema: {
|
|
|
3826
2694
|
identity: undefined;
|
|
3827
2695
|
generated: undefined;
|
|
3828
2696
|
}, {}, {}>;
|
|
3829
|
-
|
|
3830
|
-
name: "
|
|
3831
|
-
tableName: "
|
|
3832
|
-
dataType: "
|
|
3833
|
-
columnType: "
|
|
3834
|
-
data:
|
|
3835
|
-
driverParam:
|
|
3836
|
-
notNull: true;
|
|
3837
|
-
hasDefault: false;
|
|
3838
|
-
isPrimaryKey: false;
|
|
3839
|
-
isAutoincrement: false;
|
|
3840
|
-
hasRuntimeDefault: false;
|
|
3841
|
-
enumValues: undefined;
|
|
3842
|
-
baseColumn: never;
|
|
3843
|
-
identity: undefined;
|
|
3844
|
-
generated: undefined;
|
|
3845
|
-
}, {}, {}>;
|
|
3846
|
-
metadataAccessEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3847
|
-
name: "metadata_access_epoch";
|
|
3848
|
-
tableName: "organization_read_model_container_grants";
|
|
3849
|
-
dataType: "number";
|
|
3850
|
-
columnType: "SQLiteInteger";
|
|
3851
|
-
data: number;
|
|
3852
|
-
driverParam: number;
|
|
2697
|
+
name: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2698
|
+
name: "name";
|
|
2699
|
+
tableName: "organization_read_model_groups";
|
|
2700
|
+
dataType: "string";
|
|
2701
|
+
columnType: "SQLiteText";
|
|
2702
|
+
data: string;
|
|
2703
|
+
driverParam: string;
|
|
3853
2704
|
notNull: true;
|
|
3854
2705
|
hasDefault: false;
|
|
3855
2706
|
isPrimaryKey: false;
|
|
3856
2707
|
isAutoincrement: false;
|
|
3857
2708
|
hasRuntimeDefault: false;
|
|
3858
|
-
enumValues:
|
|
2709
|
+
enumValues: [string, ...string[]];
|
|
3859
2710
|
baseColumn: never;
|
|
3860
2711
|
identity: undefined;
|
|
3861
2712
|
generated: undefined;
|
|
3862
|
-
}, {}, {
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
2713
|
+
}, {}, {
|
|
2714
|
+
length: number | undefined;
|
|
2715
|
+
}>;
|
|
2716
|
+
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2717
|
+
name: "created_at";
|
|
2718
|
+
tableName: "organization_read_model_groups";
|
|
3866
2719
|
dataType: "string";
|
|
3867
2720
|
columnType: "SQLiteText";
|
|
3868
2721
|
data: string;
|
|
@@ -3879,9 +2732,26 @@ export declare const clientSQLiteSchema: {
|
|
|
3879
2732
|
}, {}, {
|
|
3880
2733
|
length: number | undefined;
|
|
3881
2734
|
}>;
|
|
3882
|
-
|
|
3883
|
-
name: "
|
|
3884
|
-
tableName: "
|
|
2735
|
+
isBuiltin: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2736
|
+
name: "is_builtin";
|
|
2737
|
+
tableName: "organization_read_model_groups";
|
|
2738
|
+
dataType: "boolean";
|
|
2739
|
+
columnType: "SQLiteBoolean";
|
|
2740
|
+
data: boolean;
|
|
2741
|
+
driverParam: number;
|
|
2742
|
+
notNull: true;
|
|
2743
|
+
hasDefault: false;
|
|
2744
|
+
isPrimaryKey: false;
|
|
2745
|
+
isAutoincrement: false;
|
|
2746
|
+
hasRuntimeDefault: false;
|
|
2747
|
+
enumValues: undefined;
|
|
2748
|
+
baseColumn: never;
|
|
2749
|
+
identity: undefined;
|
|
2750
|
+
generated: undefined;
|
|
2751
|
+
}, {}, {}>;
|
|
2752
|
+
stateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2753
|
+
name: "state_hash";
|
|
2754
|
+
tableName: "organization_read_model_groups";
|
|
3885
2755
|
dataType: "string";
|
|
3886
2756
|
columnType: "SQLiteText";
|
|
3887
2757
|
data: string;
|
|
@@ -3898,47 +2768,43 @@ export declare const clientSQLiteSchema: {
|
|
|
3898
2768
|
}, {}, {
|
|
3899
2769
|
length: number | undefined;
|
|
3900
2770
|
}>;
|
|
3901
|
-
|
|
3902
|
-
name: "
|
|
3903
|
-
tableName: "
|
|
3904
|
-
dataType: "
|
|
3905
|
-
columnType: "
|
|
3906
|
-
data:
|
|
3907
|
-
driverParam:
|
|
2771
|
+
stateVersion: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2772
|
+
name: "state_version";
|
|
2773
|
+
tableName: "organization_read_model_groups";
|
|
2774
|
+
dataType: "number";
|
|
2775
|
+
columnType: "SQLiteInteger";
|
|
2776
|
+
data: number;
|
|
2777
|
+
driverParam: number;
|
|
3908
2778
|
notNull: false;
|
|
3909
2779
|
hasDefault: false;
|
|
3910
2780
|
isPrimaryKey: false;
|
|
3911
2781
|
isAutoincrement: false;
|
|
3912
2782
|
hasRuntimeDefault: false;
|
|
3913
|
-
enumValues:
|
|
2783
|
+
enumValues: undefined;
|
|
3914
2784
|
baseColumn: never;
|
|
3915
2785
|
identity: undefined;
|
|
3916
2786
|
generated: undefined;
|
|
3917
|
-
}, {}, {
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
driverParam: string;
|
|
3927
|
-
notNull: true;
|
|
2787
|
+
}, {}, {}>;
|
|
2788
|
+
keyEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2789
|
+
name: "key_epoch";
|
|
2790
|
+
tableName: "organization_read_model_groups";
|
|
2791
|
+
dataType: "number";
|
|
2792
|
+
columnType: "SQLiteInteger";
|
|
2793
|
+
data: number;
|
|
2794
|
+
driverParam: number;
|
|
2795
|
+
notNull: false;
|
|
3928
2796
|
hasDefault: false;
|
|
3929
2797
|
isPrimaryKey: false;
|
|
3930
2798
|
isAutoincrement: false;
|
|
3931
2799
|
hasRuntimeDefault: false;
|
|
3932
|
-
enumValues:
|
|
2800
|
+
enumValues: undefined;
|
|
3933
2801
|
baseColumn: never;
|
|
3934
2802
|
identity: undefined;
|
|
3935
2803
|
generated: undefined;
|
|
3936
|
-
}, {}, {
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
name: "user_id";
|
|
3941
|
-
tableName: "organization_read_model_container_grants";
|
|
2804
|
+
}, {}, {}>;
|
|
2805
|
+
keyFingerprint: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2806
|
+
name: "key_fingerprint";
|
|
2807
|
+
tableName: "organization_read_model_groups";
|
|
3942
2808
|
dataType: "string";
|
|
3943
2809
|
columnType: "SQLiteText";
|
|
3944
2810
|
data: string;
|
|
@@ -3955,28 +2821,26 @@ export declare const clientSQLiteSchema: {
|
|
|
3955
2821
|
}, {}, {
|
|
3956
2822
|
length: number | undefined;
|
|
3957
2823
|
}>;
|
|
3958
|
-
|
|
3959
|
-
name: "
|
|
3960
|
-
tableName: "
|
|
3961
|
-
dataType: "
|
|
3962
|
-
columnType: "
|
|
3963
|
-
data:
|
|
3964
|
-
driverParam:
|
|
2824
|
+
memberCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2825
|
+
name: "member_count";
|
|
2826
|
+
tableName: "organization_read_model_groups";
|
|
2827
|
+
dataType: "number";
|
|
2828
|
+
columnType: "SQLiteInteger";
|
|
2829
|
+
data: number;
|
|
2830
|
+
driverParam: number;
|
|
3965
2831
|
notNull: false;
|
|
3966
2832
|
hasDefault: false;
|
|
3967
2833
|
isPrimaryKey: false;
|
|
3968
2834
|
isAutoincrement: false;
|
|
3969
2835
|
hasRuntimeDefault: false;
|
|
3970
|
-
enumValues:
|
|
2836
|
+
enumValues: undefined;
|
|
3971
2837
|
baseColumn: never;
|
|
3972
2838
|
identity: undefined;
|
|
3973
2839
|
generated: undefined;
|
|
3974
|
-
}, {}, {
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
name: "group_id";
|
|
3979
|
-
tableName: "organization_read_model_container_grants";
|
|
2840
|
+
}, {}, {}>;
|
|
2841
|
+
membersStateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2842
|
+
name: "members_state_hash";
|
|
2843
|
+
tableName: "organization_read_model_groups";
|
|
3980
2844
|
dataType: "string";
|
|
3981
2845
|
columnType: "SQLiteText";
|
|
3982
2846
|
data: string;
|
|
@@ -3996,32 +2860,13 @@ export declare const clientSQLiteSchema: {
|
|
|
3996
2860
|
};
|
|
3997
2861
|
dialect: "sqlite";
|
|
3998
2862
|
}>;
|
|
3999
|
-
|
|
4000
|
-
name: "
|
|
2863
|
+
organizationReadModelGroupMembers: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2864
|
+
name: "organization_read_model_group_members";
|
|
4001
2865
|
schema: undefined;
|
|
4002
2866
|
columns: {
|
|
4003
2867
|
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4004
2868
|
name: "organization_id";
|
|
4005
|
-
tableName: "
|
|
4006
|
-
dataType: "string";
|
|
4007
|
-
columnType: "SQLiteText";
|
|
4008
|
-
data: string;
|
|
4009
|
-
driverParam: string;
|
|
4010
|
-
notNull: true;
|
|
4011
|
-
hasDefault: false;
|
|
4012
|
-
isPrimaryKey: false;
|
|
4013
|
-
isAutoincrement: false;
|
|
4014
|
-
hasRuntimeDefault: false;
|
|
4015
|
-
enumValues: [string, ...string[]];
|
|
4016
|
-
baseColumn: never;
|
|
4017
|
-
identity: undefined;
|
|
4018
|
-
generated: undefined;
|
|
4019
|
-
}, {}, {
|
|
4020
|
-
length: number | undefined;
|
|
4021
|
-
}>;
|
|
4022
|
-
requesterUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4023
|
-
name: "requester_user_id";
|
|
4024
|
-
tableName: "organization_presentation_denials";
|
|
2869
|
+
tableName: "organization_read_model_group_members";
|
|
4025
2870
|
dataType: "string";
|
|
4026
2871
|
columnType: "SQLiteText";
|
|
4027
2872
|
data: string;
|
|
@@ -4038,9 +2883,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4038
2883
|
}, {}, {
|
|
4039
2884
|
length: number | undefined;
|
|
4040
2885
|
}>;
|
|
4041
|
-
|
|
4042
|
-
name: "
|
|
4043
|
-
tableName: "
|
|
2886
|
+
groupId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2887
|
+
name: "group_id";
|
|
2888
|
+
tableName: "organization_read_model_group_members";
|
|
4044
2889
|
dataType: "string";
|
|
4045
2890
|
columnType: "SQLiteText";
|
|
4046
2891
|
data: string;
|
|
@@ -4057,9 +2902,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4057
2902
|
}, {}, {
|
|
4058
2903
|
length: number | undefined;
|
|
4059
2904
|
}>;
|
|
4060
|
-
|
|
4061
|
-
name: "
|
|
4062
|
-
tableName: "
|
|
2905
|
+
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2906
|
+
name: "user_id";
|
|
2907
|
+
tableName: "organization_read_model_group_members";
|
|
4063
2908
|
dataType: "string";
|
|
4064
2909
|
columnType: "SQLiteText";
|
|
4065
2910
|
data: string;
|
|
@@ -4076,35 +2921,26 @@ export declare const clientSQLiteSchema: {
|
|
|
4076
2921
|
}, {}, {
|
|
4077
2922
|
length: number | undefined;
|
|
4078
2923
|
}>;
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
documentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4087
|
-
name: "document_id";
|
|
4088
|
-
tableName: "document_container_projection";
|
|
4089
|
-
dataType: "string";
|
|
4090
|
-
columnType: "SQLiteText";
|
|
4091
|
-
data: string;
|
|
4092
|
-
driverParam: string;
|
|
2924
|
+
sortOrder: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2925
|
+
name: "sort_order";
|
|
2926
|
+
tableName: "organization_read_model_group_members";
|
|
2927
|
+
dataType: "number";
|
|
2928
|
+
columnType: "SQLiteInteger";
|
|
2929
|
+
data: number;
|
|
2930
|
+
driverParam: number;
|
|
4093
2931
|
notNull: true;
|
|
4094
2932
|
hasDefault: false;
|
|
4095
2933
|
isPrimaryKey: false;
|
|
4096
2934
|
isAutoincrement: false;
|
|
4097
2935
|
hasRuntimeDefault: false;
|
|
4098
|
-
enumValues:
|
|
2936
|
+
enumValues: undefined;
|
|
4099
2937
|
baseColumn: never;
|
|
4100
2938
|
identity: undefined;
|
|
4101
2939
|
generated: undefined;
|
|
4102
|
-
}, {}, {
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
name: "container_id";
|
|
4107
|
-
tableName: "document_container_projection";
|
|
2940
|
+
}, {}, {}>;
|
|
2941
|
+
stateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2942
|
+
name: "state_hash";
|
|
2943
|
+
tableName: "organization_read_model_group_members";
|
|
4108
2944
|
dataType: "string";
|
|
4109
2945
|
columnType: "SQLiteText";
|
|
4110
2946
|
data: string;
|
|
@@ -4121,9 +2957,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4121
2957
|
}, {}, {
|
|
4122
2958
|
length: number | undefined;
|
|
4123
2959
|
}>;
|
|
4124
|
-
|
|
4125
|
-
name: "
|
|
4126
|
-
tableName: "
|
|
2960
|
+
role: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2961
|
+
name: "role";
|
|
2962
|
+
tableName: "organization_read_model_group_members";
|
|
4127
2963
|
dataType: "string";
|
|
4128
2964
|
columnType: "SQLiteText";
|
|
4129
2965
|
data: string;
|
|
@@ -4143,32 +2979,13 @@ export declare const clientSQLiteSchema: {
|
|
|
4143
2979
|
};
|
|
4144
2980
|
dialect: "sqlite";
|
|
4145
2981
|
}>;
|
|
4146
|
-
|
|
4147
|
-
name: "
|
|
2982
|
+
organizationReadModelContainerGrants: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2983
|
+
name: "organization_read_model_container_grants";
|
|
4148
2984
|
schema: undefined;
|
|
4149
2985
|
columns: {
|
|
4150
|
-
|
|
4151
|
-
name: "
|
|
4152
|
-
tableName: "
|
|
4153
|
-
dataType: "string";
|
|
4154
|
-
columnType: "SQLiteText";
|
|
4155
|
-
data: string;
|
|
4156
|
-
driverParam: string;
|
|
4157
|
-
notNull: false;
|
|
4158
|
-
hasDefault: false;
|
|
4159
|
-
isPrimaryKey: false;
|
|
4160
|
-
isAutoincrement: false;
|
|
4161
|
-
hasRuntimeDefault: false;
|
|
4162
|
-
enumValues: [string, ...string[]];
|
|
4163
|
-
baseColumn: never;
|
|
4164
|
-
identity: undefined;
|
|
4165
|
-
generated: undefined;
|
|
4166
|
-
}, {}, {
|
|
4167
|
-
length: number | undefined;
|
|
4168
|
-
}>;
|
|
4169
|
-
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4170
|
-
name: "local_id";
|
|
4171
|
-
tableName: "document_move_intents";
|
|
2986
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2987
|
+
name: "organization_id";
|
|
2988
|
+
tableName: "organization_read_model_container_grants";
|
|
4172
2989
|
dataType: "string";
|
|
4173
2990
|
columnType: "SQLiteText";
|
|
4174
2991
|
data: string;
|
|
@@ -4185,9 +3002,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4185
3002
|
}, {}, {
|
|
4186
3003
|
length: number | undefined;
|
|
4187
3004
|
}>;
|
|
4188
|
-
|
|
4189
|
-
name: "
|
|
4190
|
-
tableName: "
|
|
3005
|
+
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3006
|
+
name: "container_id";
|
|
3007
|
+
tableName: "organization_read_model_container_grants";
|
|
4191
3008
|
dataType: "string";
|
|
4192
3009
|
columnType: "SQLiteText";
|
|
4193
3010
|
data: string;
|
|
@@ -4204,9 +3021,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4204
3021
|
}, {}, {
|
|
4205
3022
|
length: number | undefined;
|
|
4206
3023
|
}>;
|
|
4207
|
-
|
|
4208
|
-
name: "
|
|
4209
|
-
tableName: "
|
|
3024
|
+
subjectType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3025
|
+
name: "subject_type";
|
|
3026
|
+
tableName: "organization_read_model_container_grants";
|
|
4210
3027
|
dataType: "string";
|
|
4211
3028
|
columnType: "SQLiteText";
|
|
4212
3029
|
data: string;
|
|
@@ -4223,14 +3040,14 @@ export declare const clientSQLiteSchema: {
|
|
|
4223
3040
|
}, {}, {
|
|
4224
3041
|
length: number | undefined;
|
|
4225
3042
|
}>;
|
|
4226
|
-
|
|
4227
|
-
name: "
|
|
4228
|
-
tableName: "
|
|
3043
|
+
subjectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3044
|
+
name: "subject_id";
|
|
3045
|
+
tableName: "organization_read_model_container_grants";
|
|
4229
3046
|
dataType: "string";
|
|
4230
3047
|
columnType: "SQLiteText";
|
|
4231
3048
|
data: string;
|
|
4232
3049
|
driverParam: string;
|
|
4233
|
-
notNull:
|
|
3050
|
+
notNull: true;
|
|
4234
3051
|
hasDefault: false;
|
|
4235
3052
|
isPrimaryKey: false;
|
|
4236
3053
|
isAutoincrement: false;
|
|
@@ -4242,15 +3059,15 @@ export declare const clientSQLiteSchema: {
|
|
|
4242
3059
|
}, {}, {
|
|
4243
3060
|
length: number | undefined;
|
|
4244
3061
|
}>;
|
|
4245
|
-
|
|
4246
|
-
name: "
|
|
4247
|
-
tableName: "
|
|
4248
|
-
dataType: "
|
|
4249
|
-
columnType: "
|
|
4250
|
-
data:
|
|
3062
|
+
sortOrder: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3063
|
+
name: "sort_order";
|
|
3064
|
+
tableName: "organization_read_model_container_grants";
|
|
3065
|
+
dataType: "number";
|
|
3066
|
+
columnType: "SQLiteInteger";
|
|
3067
|
+
data: number;
|
|
4251
3068
|
driverParam: number;
|
|
4252
3069
|
notNull: true;
|
|
4253
|
-
hasDefault:
|
|
3070
|
+
hasDefault: false;
|
|
4254
3071
|
isPrimaryKey: false;
|
|
4255
3072
|
isAutoincrement: false;
|
|
4256
3073
|
hasRuntimeDefault: false;
|
|
@@ -4259,9 +3076,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4259
3076
|
identity: undefined;
|
|
4260
3077
|
generated: undefined;
|
|
4261
3078
|
}, {}, {}>;
|
|
4262
|
-
|
|
4263
|
-
name: "
|
|
4264
|
-
tableName: "
|
|
3079
|
+
accessLevel: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3080
|
+
name: "access_level";
|
|
3081
|
+
tableName: "organization_read_model_container_grants";
|
|
4265
3082
|
dataType: "string";
|
|
4266
3083
|
columnType: "SQLiteText";
|
|
4267
3084
|
data: string;
|
|
@@ -4278,9 +3095,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4278
3095
|
}, {}, {
|
|
4279
3096
|
length: number | undefined;
|
|
4280
3097
|
}>;
|
|
4281
|
-
|
|
4282
|
-
name: "
|
|
4283
|
-
tableName: "
|
|
3098
|
+
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3099
|
+
name: "created_at";
|
|
3100
|
+
tableName: "organization_read_model_container_grants";
|
|
4284
3101
|
dataType: "string";
|
|
4285
3102
|
columnType: "SQLiteText";
|
|
4286
3103
|
data: string;
|
|
@@ -4297,66 +3114,60 @@ export declare const clientSQLiteSchema: {
|
|
|
4297
3114
|
}, {}, {
|
|
4298
3115
|
length: number | undefined;
|
|
4299
3116
|
}>;
|
|
4300
|
-
|
|
4301
|
-
name: "
|
|
4302
|
-
tableName: "
|
|
4303
|
-
dataType: "
|
|
4304
|
-
columnType: "
|
|
4305
|
-
data:
|
|
4306
|
-
driverParam:
|
|
4307
|
-
notNull:
|
|
3117
|
+
depth: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3118
|
+
name: "depth";
|
|
3119
|
+
tableName: "organization_read_model_container_grants";
|
|
3120
|
+
dataType: "number";
|
|
3121
|
+
columnType: "SQLiteInteger";
|
|
3122
|
+
data: number;
|
|
3123
|
+
driverParam: number;
|
|
3124
|
+
notNull: true;
|
|
4308
3125
|
hasDefault: false;
|
|
4309
3126
|
isPrimaryKey: false;
|
|
4310
3127
|
isAutoincrement: false;
|
|
4311
3128
|
hasRuntimeDefault: false;
|
|
4312
|
-
enumValues:
|
|
3129
|
+
enumValues: undefined;
|
|
4313
3130
|
baseColumn: never;
|
|
4314
3131
|
identity: undefined;
|
|
4315
3132
|
generated: undefined;
|
|
4316
|
-
}, {}, {
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
driverParam: string;
|
|
4326
|
-
notNull: false;
|
|
3133
|
+
}, {}, {}>;
|
|
3134
|
+
isBuiltin: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3135
|
+
name: "is_builtin";
|
|
3136
|
+
tableName: "organization_read_model_container_grants";
|
|
3137
|
+
dataType: "boolean";
|
|
3138
|
+
columnType: "SQLiteBoolean";
|
|
3139
|
+
data: boolean;
|
|
3140
|
+
driverParam: number;
|
|
3141
|
+
notNull: true;
|
|
4327
3142
|
hasDefault: false;
|
|
4328
3143
|
isPrimaryKey: false;
|
|
4329
3144
|
isAutoincrement: false;
|
|
4330
3145
|
hasRuntimeDefault: false;
|
|
4331
|
-
enumValues:
|
|
3146
|
+
enumValues: undefined;
|
|
4332
3147
|
baseColumn: never;
|
|
4333
3148
|
identity: undefined;
|
|
4334
3149
|
generated: undefined;
|
|
4335
|
-
}, {}, {
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
data: string;
|
|
4344
|
-
driverParam: string;
|
|
3150
|
+
}, {}, {}>;
|
|
3151
|
+
metadataAccessEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3152
|
+
name: "metadata_access_epoch";
|
|
3153
|
+
tableName: "organization_read_model_container_grants";
|
|
3154
|
+
dataType: "number";
|
|
3155
|
+
columnType: "SQLiteInteger";
|
|
3156
|
+
data: number;
|
|
3157
|
+
driverParam: number;
|
|
4345
3158
|
notNull: true;
|
|
4346
3159
|
hasDefault: false;
|
|
4347
3160
|
isPrimaryKey: false;
|
|
4348
3161
|
isAutoincrement: false;
|
|
4349
3162
|
hasRuntimeDefault: false;
|
|
4350
|
-
enumValues:
|
|
3163
|
+
enumValues: undefined;
|
|
4351
3164
|
baseColumn: never;
|
|
4352
3165
|
identity: undefined;
|
|
4353
3166
|
generated: undefined;
|
|
4354
|
-
}, {}, {
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
name: "updated_at";
|
|
4359
|
-
tableName: "document_move_intents";
|
|
3167
|
+
}, {}, {}>;
|
|
3168
|
+
metadataAccessStateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3169
|
+
name: "metadata_access_state_hash";
|
|
3170
|
+
tableName: "organization_read_model_container_grants";
|
|
4360
3171
|
dataType: "string";
|
|
4361
3172
|
columnType: "SQLiteText";
|
|
4362
3173
|
data: string;
|
|
@@ -4373,21 +3184,14 @@ export declare const clientSQLiteSchema: {
|
|
|
4373
3184
|
}, {}, {
|
|
4374
3185
|
length: number | undefined;
|
|
4375
3186
|
}>;
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
documentIntentLinkTargets: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
4380
|
-
name: "document_intent_link_targets";
|
|
4381
|
-
schema: undefined;
|
|
4382
|
-
columns: {
|
|
4383
|
-
intentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4384
|
-
name: "intent_id";
|
|
4385
|
-
tableName: "document_intent_link_targets";
|
|
3187
|
+
metadataDocumentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3188
|
+
name: "metadata_document_id";
|
|
3189
|
+
tableName: "organization_read_model_container_grants";
|
|
4386
3190
|
dataType: "string";
|
|
4387
3191
|
columnType: "SQLiteText";
|
|
4388
3192
|
data: string;
|
|
4389
3193
|
driverParam: string;
|
|
4390
|
-
notNull:
|
|
3194
|
+
notNull: false;
|
|
4391
3195
|
hasDefault: false;
|
|
4392
3196
|
isPrimaryKey: false;
|
|
4393
3197
|
isAutoincrement: false;
|
|
@@ -4399,28 +3203,28 @@ export declare const clientSQLiteSchema: {
|
|
|
4399
3203
|
}, {}, {
|
|
4400
3204
|
length: number | undefined;
|
|
4401
3205
|
}>;
|
|
4402
|
-
|
|
4403
|
-
name: "
|
|
4404
|
-
tableName: "
|
|
3206
|
+
parentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3207
|
+
name: "parent_id";
|
|
3208
|
+
tableName: "organization_read_model_container_grants";
|
|
4405
3209
|
dataType: "string";
|
|
4406
3210
|
columnType: "SQLiteText";
|
|
4407
|
-
data:
|
|
3211
|
+
data: string;
|
|
4408
3212
|
driverParam: string;
|
|
4409
|
-
notNull:
|
|
4410
|
-
hasDefault:
|
|
3213
|
+
notNull: false;
|
|
3214
|
+
hasDefault: false;
|
|
4411
3215
|
isPrimaryKey: false;
|
|
4412
3216
|
isAutoincrement: false;
|
|
4413
3217
|
hasRuntimeDefault: false;
|
|
4414
|
-
enumValues: [
|
|
3218
|
+
enumValues: [string, ...string[]];
|
|
4415
3219
|
baseColumn: never;
|
|
4416
3220
|
identity: undefined;
|
|
4417
3221
|
generated: undefined;
|
|
4418
3222
|
}, {}, {
|
|
4419
3223
|
length: number | undefined;
|
|
4420
3224
|
}>;
|
|
4421
|
-
|
|
4422
|
-
name: "
|
|
4423
|
-
tableName: "
|
|
3225
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3226
|
+
name: "updated_at";
|
|
3227
|
+
tableName: "organization_read_model_container_grants";
|
|
4424
3228
|
dataType: "string";
|
|
4425
3229
|
columnType: "SQLiteText";
|
|
4426
3230
|
data: string;
|
|
@@ -4437,16 +3241,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4437
3241
|
}, {}, {
|
|
4438
3242
|
length: number | undefined;
|
|
4439
3243
|
}>;
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
documentProjection: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
4444
|
-
name: "document_projection";
|
|
4445
|
-
schema: undefined;
|
|
4446
|
-
columns: {
|
|
4447
|
-
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4448
|
-
name: "local_id";
|
|
4449
|
-
tableName: "document_projection";
|
|
3244
|
+
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3245
|
+
name: "user_id";
|
|
3246
|
+
tableName: "organization_read_model_container_grants";
|
|
4450
3247
|
dataType: "string";
|
|
4451
3248
|
columnType: "SQLiteText";
|
|
4452
3249
|
data: string;
|
|
@@ -4463,9 +3260,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4463
3260
|
}, {}, {
|
|
4464
3261
|
length: number | undefined;
|
|
4465
3262
|
}>;
|
|
4466
|
-
|
|
4467
|
-
name: "
|
|
4468
|
-
tableName: "
|
|
3263
|
+
signingKeyFingerprint: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3264
|
+
name: "signing_key_fingerprint";
|
|
3265
|
+
tableName: "organization_read_model_container_grants";
|
|
4469
3266
|
dataType: "string";
|
|
4470
3267
|
columnType: "SQLiteText";
|
|
4471
3268
|
data: string;
|
|
@@ -4482,9 +3279,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4482
3279
|
}, {}, {
|
|
4483
3280
|
length: number | undefined;
|
|
4484
3281
|
}>;
|
|
4485
|
-
|
|
4486
|
-
name: "
|
|
4487
|
-
tableName: "
|
|
3282
|
+
groupId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3283
|
+
name: "group_id";
|
|
3284
|
+
tableName: "organization_read_model_container_grants";
|
|
4488
3285
|
dataType: "string";
|
|
4489
3286
|
columnType: "SQLiteText";
|
|
4490
3287
|
data: string;
|
|
@@ -4501,14 +3298,21 @@ export declare const clientSQLiteSchema: {
|
|
|
4501
3298
|
}, {}, {
|
|
4502
3299
|
length: number | undefined;
|
|
4503
3300
|
}>;
|
|
3301
|
+
};
|
|
3302
|
+
dialect: "sqlite";
|
|
3303
|
+
}>;
|
|
3304
|
+
organizationPresentationDenials: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3305
|
+
name: "organization_presentation_denials";
|
|
3306
|
+
schema: undefined;
|
|
3307
|
+
columns: {
|
|
4504
3308
|
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4505
3309
|
name: "organization_id";
|
|
4506
|
-
tableName: "
|
|
3310
|
+
tableName: "organization_presentation_denials";
|
|
4507
3311
|
dataType: "string";
|
|
4508
3312
|
columnType: "SQLiteText";
|
|
4509
3313
|
data: string;
|
|
4510
3314
|
driverParam: string;
|
|
4511
|
-
notNull:
|
|
3315
|
+
notNull: true;
|
|
4512
3316
|
hasDefault: false;
|
|
4513
3317
|
isPrimaryKey: false;
|
|
4514
3318
|
isAutoincrement: false;
|
|
@@ -4520,15 +3324,15 @@ export declare const clientSQLiteSchema: {
|
|
|
4520
3324
|
}, {}, {
|
|
4521
3325
|
length: number | undefined;
|
|
4522
3326
|
}>;
|
|
4523
|
-
|
|
4524
|
-
name: "
|
|
4525
|
-
tableName: "
|
|
3327
|
+
requesterUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3328
|
+
name: "requester_user_id";
|
|
3329
|
+
tableName: "organization_presentation_denials";
|
|
4526
3330
|
dataType: "string";
|
|
4527
3331
|
columnType: "SQLiteText";
|
|
4528
3332
|
data: string;
|
|
4529
3333
|
driverParam: string;
|
|
4530
3334
|
notNull: true;
|
|
4531
|
-
hasDefault:
|
|
3335
|
+
hasDefault: false;
|
|
4532
3336
|
isPrimaryKey: false;
|
|
4533
3337
|
isAutoincrement: false;
|
|
4534
3338
|
hasRuntimeDefault: false;
|
|
@@ -4539,15 +3343,15 @@ export declare const clientSQLiteSchema: {
|
|
|
4539
3343
|
}, {}, {
|
|
4540
3344
|
length: number | undefined;
|
|
4541
3345
|
}>;
|
|
4542
|
-
|
|
4543
|
-
name: "
|
|
4544
|
-
tableName: "
|
|
3346
|
+
projection: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3347
|
+
name: "projection";
|
|
3348
|
+
tableName: "organization_presentation_denials";
|
|
4545
3349
|
dataType: "string";
|
|
4546
3350
|
columnType: "SQLiteText";
|
|
4547
3351
|
data: string;
|
|
4548
3352
|
driverParam: string;
|
|
4549
3353
|
notNull: true;
|
|
4550
|
-
hasDefault:
|
|
3354
|
+
hasDefault: false;
|
|
4551
3355
|
isPrimaryKey: false;
|
|
4552
3356
|
isAutoincrement: false;
|
|
4553
3357
|
hasRuntimeDefault: false;
|
|
@@ -4558,9 +3362,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4558
3362
|
}, {}, {
|
|
4559
3363
|
length: number | undefined;
|
|
4560
3364
|
}>;
|
|
4561
|
-
|
|
4562
|
-
name: "
|
|
4563
|
-
tableName: "
|
|
3365
|
+
deniedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3366
|
+
name: "denied_at";
|
|
3367
|
+
tableName: "organization_presentation_denials";
|
|
4564
3368
|
dataType: "string";
|
|
4565
3369
|
columnType: "SQLiteText";
|
|
4566
3370
|
data: string;
|
|
@@ -4580,13 +3384,13 @@ export declare const clientSQLiteSchema: {
|
|
|
4580
3384
|
};
|
|
4581
3385
|
dialect: "sqlite";
|
|
4582
3386
|
}>;
|
|
4583
|
-
|
|
4584
|
-
name: "
|
|
3387
|
+
documentContainerProjection: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3388
|
+
name: "document_container_projection";
|
|
4585
3389
|
schema: undefined;
|
|
4586
3390
|
columns: {
|
|
4587
|
-
|
|
4588
|
-
name: "
|
|
4589
|
-
tableName: "
|
|
3391
|
+
documentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3392
|
+
name: "document_id";
|
|
3393
|
+
tableName: "document_container_projection";
|
|
4590
3394
|
dataType: "string";
|
|
4591
3395
|
columnType: "SQLiteText";
|
|
4592
3396
|
data: string;
|
|
@@ -4603,9 +3407,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4603
3407
|
}, {}, {
|
|
4604
3408
|
length: number | undefined;
|
|
4605
3409
|
}>;
|
|
4606
|
-
|
|
4607
|
-
name: "
|
|
4608
|
-
tableName: "
|
|
3410
|
+
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3411
|
+
name: "container_id";
|
|
3412
|
+
tableName: "document_container_projection";
|
|
4609
3413
|
dataType: "string";
|
|
4610
3414
|
columnType: "SQLiteText";
|
|
4611
3415
|
data: string;
|
|
@@ -4622,9 +3426,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4622
3426
|
}, {}, {
|
|
4623
3427
|
length: number | undefined;
|
|
4624
3428
|
}>;
|
|
4625
|
-
|
|
4626
|
-
name: "
|
|
4627
|
-
tableName: "
|
|
3429
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3430
|
+
name: "updated_at";
|
|
3431
|
+
tableName: "document_container_projection";
|
|
4628
3432
|
dataType: "string";
|
|
4629
3433
|
columnType: "SQLiteText";
|
|
4630
3434
|
data: string;
|
|
@@ -4641,9 +3445,16 @@ export declare const clientSQLiteSchema: {
|
|
|
4641
3445
|
}, {}, {
|
|
4642
3446
|
length: number | undefined;
|
|
4643
3447
|
}>;
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
3448
|
+
};
|
|
3449
|
+
dialect: "sqlite";
|
|
3450
|
+
}>;
|
|
3451
|
+
localIntents: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3452
|
+
name: "local_intents";
|
|
3453
|
+
schema: undefined;
|
|
3454
|
+
columns: {
|
|
3455
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3456
|
+
name: "id";
|
|
3457
|
+
tableName: "local_intents";
|
|
4647
3458
|
dataType: "string";
|
|
4648
3459
|
columnType: "SQLiteText";
|
|
4649
3460
|
data: string;
|
|
@@ -4660,9 +3471,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4660
3471
|
}, {}, {
|
|
4661
3472
|
length: number | undefined;
|
|
4662
3473
|
}>;
|
|
4663
|
-
|
|
4664
|
-
name: "
|
|
4665
|
-
tableName: "
|
|
3474
|
+
lane: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3475
|
+
name: "lane";
|
|
3476
|
+
tableName: "local_intents";
|
|
4666
3477
|
dataType: "string";
|
|
4667
3478
|
columnType: "SQLiteText";
|
|
4668
3479
|
data: string;
|
|
@@ -4679,26 +3490,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4679
3490
|
}, {}, {
|
|
4680
3491
|
length: number | undefined;
|
|
4681
3492
|
}>;
|
|
4682
|
-
|
|
4683
|
-
name: "
|
|
4684
|
-
tableName: "
|
|
4685
|
-
dataType: "number";
|
|
4686
|
-
columnType: "SQLiteInteger";
|
|
4687
|
-
data: number;
|
|
4688
|
-
driverParam: number;
|
|
4689
|
-
notNull: true;
|
|
4690
|
-
hasDefault: false;
|
|
4691
|
-
isPrimaryKey: false;
|
|
4692
|
-
isAutoincrement: false;
|
|
4693
|
-
hasRuntimeDefault: false;
|
|
4694
|
-
enumValues: undefined;
|
|
4695
|
-
baseColumn: never;
|
|
4696
|
-
identity: undefined;
|
|
4697
|
-
generated: undefined;
|
|
4698
|
-
}, {}, {}>;
|
|
4699
|
-
contentSha256: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4700
|
-
name: "content_sha256";
|
|
4701
|
-
tableName: "document_pending_attachments";
|
|
3493
|
+
intentType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3494
|
+
name: "intent_type";
|
|
3495
|
+
tableName: "local_intents";
|
|
4702
3496
|
dataType: "string";
|
|
4703
3497
|
columnType: "SQLiteText";
|
|
4704
3498
|
data: string;
|
|
@@ -4715,9 +3509,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4715
3509
|
}, {}, {
|
|
4716
3510
|
length: number | undefined;
|
|
4717
3511
|
}>;
|
|
4718
|
-
|
|
4719
|
-
name: "
|
|
4720
|
-
tableName: "
|
|
3512
|
+
subjectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3513
|
+
name: "subject_id";
|
|
3514
|
+
tableName: "local_intents";
|
|
4721
3515
|
dataType: "string";
|
|
4722
3516
|
columnType: "SQLiteText";
|
|
4723
3517
|
data: string;
|
|
@@ -4734,9 +3528,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4734
3528
|
}, {}, {
|
|
4735
3529
|
length: number | undefined;
|
|
4736
3530
|
}>;
|
|
4737
|
-
|
|
4738
|
-
name: "
|
|
4739
|
-
tableName: "
|
|
3531
|
+
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3532
|
+
name: "local_id";
|
|
3533
|
+
tableName: "local_intents";
|
|
4740
3534
|
dataType: "string";
|
|
4741
3535
|
columnType: "SQLiteText";
|
|
4742
3536
|
data: string;
|
|
@@ -4753,14 +3547,14 @@ export declare const clientSQLiteSchema: {
|
|
|
4753
3547
|
}, {}, {
|
|
4754
3548
|
length: number | undefined;
|
|
4755
3549
|
}>;
|
|
4756
|
-
|
|
4757
|
-
name: "
|
|
4758
|
-
tableName: "
|
|
3550
|
+
targetContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3551
|
+
name: "target_container_id";
|
|
3552
|
+
tableName: "local_intents";
|
|
4759
3553
|
dataType: "string";
|
|
4760
3554
|
columnType: "SQLiteText";
|
|
4761
3555
|
data: string;
|
|
4762
3556
|
driverParam: string;
|
|
4763
|
-
notNull:
|
|
3557
|
+
notNull: true;
|
|
4764
3558
|
hasDefault: false;
|
|
4765
3559
|
isPrimaryKey: false;
|
|
4766
3560
|
isAutoincrement: false;
|
|
@@ -4772,9 +3566,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4772
3566
|
}, {}, {
|
|
4773
3567
|
length: number | undefined;
|
|
4774
3568
|
}>;
|
|
4775
|
-
|
|
4776
|
-
name: "
|
|
4777
|
-
tableName: "
|
|
3569
|
+
sourceContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3570
|
+
name: "source_container_id";
|
|
3571
|
+
tableName: "local_intents";
|
|
4778
3572
|
dataType: "string";
|
|
4779
3573
|
columnType: "SQLiteText";
|
|
4780
3574
|
data: string;
|
|
@@ -4791,15 +3585,15 @@ export declare const clientSQLiteSchema: {
|
|
|
4791
3585
|
}, {}, {
|
|
4792
3586
|
length: number | undefined;
|
|
4793
3587
|
}>;
|
|
4794
|
-
|
|
4795
|
-
name: "
|
|
4796
|
-
tableName: "
|
|
4797
|
-
dataType: "
|
|
4798
|
-
columnType: "
|
|
4799
|
-
data:
|
|
3588
|
+
replaceLinkedContainers: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3589
|
+
name: "replace_linked_containers";
|
|
3590
|
+
tableName: "local_intents";
|
|
3591
|
+
dataType: "boolean";
|
|
3592
|
+
columnType: "SQLiteBoolean";
|
|
3593
|
+
data: boolean;
|
|
4800
3594
|
driverParam: number;
|
|
4801
|
-
notNull:
|
|
4802
|
-
hasDefault:
|
|
3595
|
+
notNull: true;
|
|
3596
|
+
hasDefault: true;
|
|
4803
3597
|
isPrimaryKey: false;
|
|
4804
3598
|
isAutoincrement: false;
|
|
4805
3599
|
hasRuntimeDefault: false;
|
|
@@ -4808,26 +3602,28 @@ export declare const clientSQLiteSchema: {
|
|
|
4808
3602
|
identity: undefined;
|
|
4809
3603
|
generated: undefined;
|
|
4810
3604
|
}, {}, {}>;
|
|
4811
|
-
|
|
4812
|
-
name: "
|
|
4813
|
-
tableName: "
|
|
4814
|
-
dataType: "
|
|
4815
|
-
columnType: "
|
|
4816
|
-
data:
|
|
4817
|
-
driverParam:
|
|
3605
|
+
remoteContainerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3606
|
+
name: "remote_container_id";
|
|
3607
|
+
tableName: "local_intents";
|
|
3608
|
+
dataType: "string";
|
|
3609
|
+
columnType: "SQLiteText";
|
|
3610
|
+
data: string;
|
|
3611
|
+
driverParam: string;
|
|
4818
3612
|
notNull: false;
|
|
4819
3613
|
hasDefault: false;
|
|
4820
3614
|
isPrimaryKey: false;
|
|
4821
3615
|
isAutoincrement: false;
|
|
4822
3616
|
hasRuntimeDefault: false;
|
|
4823
|
-
enumValues:
|
|
3617
|
+
enumValues: [string, ...string[]];
|
|
4824
3618
|
baseColumn: never;
|
|
4825
3619
|
identity: undefined;
|
|
4826
3620
|
generated: undefined;
|
|
4827
|
-
}, {}, {
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
3621
|
+
}, {}, {
|
|
3622
|
+
length: number | undefined;
|
|
3623
|
+
}>;
|
|
3624
|
+
remoteMetadataDocumentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3625
|
+
name: "remote_metadata_document_id";
|
|
3626
|
+
tableName: "local_intents";
|
|
4831
3627
|
dataType: "string";
|
|
4832
3628
|
columnType: "SQLiteText";
|
|
4833
3629
|
data: string;
|
|
@@ -4844,9 +3640,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4844
3640
|
}, {}, {
|
|
4845
3641
|
length: number | undefined;
|
|
4846
3642
|
}>;
|
|
4847
|
-
|
|
4848
|
-
name: "
|
|
4849
|
-
tableName: "
|
|
3643
|
+
remoteMetadataAccessStateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3644
|
+
name: "remote_metadata_access_state_hash";
|
|
3645
|
+
tableName: "local_intents";
|
|
4850
3646
|
dataType: "string";
|
|
4851
3647
|
columnType: "SQLiteText";
|
|
4852
3648
|
data: string;
|
|
@@ -4863,21 +3659,33 @@ export declare const clientSQLiteSchema: {
|
|
|
4863
3659
|
}, {}, {
|
|
4864
3660
|
length: number | undefined;
|
|
4865
3661
|
}>;
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
3662
|
+
syncStatus: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3663
|
+
name: "sync_status";
|
|
3664
|
+
tableName: "local_intents";
|
|
3665
|
+
dataType: "string";
|
|
3666
|
+
columnType: "SQLiteText";
|
|
3667
|
+
data: string;
|
|
3668
|
+
driverParam: string;
|
|
3669
|
+
notNull: true;
|
|
3670
|
+
hasDefault: false;
|
|
3671
|
+
isPrimaryKey: false;
|
|
3672
|
+
isAutoincrement: false;
|
|
3673
|
+
hasRuntimeDefault: false;
|
|
3674
|
+
enumValues: [string, ...string[]];
|
|
3675
|
+
baseColumn: never;
|
|
3676
|
+
identity: undefined;
|
|
3677
|
+
generated: undefined;
|
|
3678
|
+
}, {}, {
|
|
3679
|
+
length: number | undefined;
|
|
3680
|
+
}>;
|
|
3681
|
+
lastError: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3682
|
+
name: "last_error";
|
|
3683
|
+
tableName: "local_intents";
|
|
4876
3684
|
dataType: "string";
|
|
4877
3685
|
columnType: "SQLiteText";
|
|
4878
3686
|
data: string;
|
|
4879
3687
|
driverParam: string;
|
|
4880
|
-
notNull:
|
|
3688
|
+
notNull: false;
|
|
4881
3689
|
hasDefault: false;
|
|
4882
3690
|
isPrimaryKey: false;
|
|
4883
3691
|
isAutoincrement: false;
|
|
@@ -4889,14 +3697,14 @@ export declare const clientSQLiteSchema: {
|
|
|
4889
3697
|
}, {}, {
|
|
4890
3698
|
length: number | undefined;
|
|
4891
3699
|
}>;
|
|
4892
|
-
|
|
4893
|
-
name: "
|
|
4894
|
-
tableName: "
|
|
3700
|
+
lastAttemptedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3701
|
+
name: "last_attempted_at";
|
|
3702
|
+
tableName: "local_intents";
|
|
4895
3703
|
dataType: "string";
|
|
4896
3704
|
columnType: "SQLiteText";
|
|
4897
3705
|
data: string;
|
|
4898
3706
|
driverParam: string;
|
|
4899
|
-
notNull:
|
|
3707
|
+
notNull: false;
|
|
4900
3708
|
hasDefault: false;
|
|
4901
3709
|
isPrimaryKey: false;
|
|
4902
3710
|
isAutoincrement: false;
|
|
@@ -4908,14 +3716,14 @@ export declare const clientSQLiteSchema: {
|
|
|
4908
3716
|
}, {}, {
|
|
4909
3717
|
length: number | undefined;
|
|
4910
3718
|
}>;
|
|
4911
|
-
|
|
4912
|
-
name: "
|
|
4913
|
-
tableName: "
|
|
3719
|
+
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3720
|
+
name: "created_at";
|
|
3721
|
+
tableName: "local_intents";
|
|
4914
3722
|
dataType: "string";
|
|
4915
3723
|
columnType: "SQLiteText";
|
|
4916
3724
|
data: string;
|
|
4917
3725
|
driverParam: string;
|
|
4918
|
-
notNull:
|
|
3726
|
+
notNull: true;
|
|
4919
3727
|
hasDefault: false;
|
|
4920
3728
|
isPrimaryKey: false;
|
|
4921
3729
|
isAutoincrement: false;
|
|
@@ -4927,9 +3735,9 @@ export declare const clientSQLiteSchema: {
|
|
|
4927
3735
|
}, {}, {
|
|
4928
3736
|
length: number | undefined;
|
|
4929
3737
|
}>;
|
|
4930
|
-
|
|
4931
|
-
name: "
|
|
4932
|
-
tableName: "
|
|
3738
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3739
|
+
name: "updated_at";
|
|
3740
|
+
tableName: "local_intents";
|
|
4933
3741
|
dataType: "string";
|
|
4934
3742
|
columnType: "SQLiteText";
|
|
4935
3743
|
data: string;
|
|
@@ -4946,14 +3754,21 @@ export declare const clientSQLiteSchema: {
|
|
|
4946
3754
|
}, {}, {
|
|
4947
3755
|
length: number | undefined;
|
|
4948
3756
|
}>;
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
3757
|
+
};
|
|
3758
|
+
dialect: "sqlite";
|
|
3759
|
+
}>;
|
|
3760
|
+
documentIntentLinkTargets: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3761
|
+
name: "document_intent_link_targets";
|
|
3762
|
+
schema: undefined;
|
|
3763
|
+
columns: {
|
|
3764
|
+
intentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3765
|
+
name: "intent_id";
|
|
3766
|
+
tableName: "document_intent_link_targets";
|
|
4952
3767
|
dataType: "string";
|
|
4953
3768
|
columnType: "SQLiteText";
|
|
4954
3769
|
data: string;
|
|
4955
3770
|
driverParam: string;
|
|
4956
|
-
notNull:
|
|
3771
|
+
notNull: true;
|
|
4957
3772
|
hasDefault: false;
|
|
4958
3773
|
isPrimaryKey: false;
|
|
4959
3774
|
isAutoincrement: false;
|
|
@@ -4965,26 +3780,28 @@ export declare const clientSQLiteSchema: {
|
|
|
4965
3780
|
}, {}, {
|
|
4966
3781
|
length: number | undefined;
|
|
4967
3782
|
}>;
|
|
4968
|
-
|
|
4969
|
-
name: "
|
|
4970
|
-
tableName: "
|
|
4971
|
-
dataType: "
|
|
4972
|
-
columnType: "
|
|
4973
|
-
data:
|
|
4974
|
-
driverParam:
|
|
3783
|
+
operation: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3784
|
+
name: "operation";
|
|
3785
|
+
tableName: "document_intent_link_targets";
|
|
3786
|
+
dataType: "string";
|
|
3787
|
+
columnType: "SQLiteText";
|
|
3788
|
+
data: "link" | "unlink";
|
|
3789
|
+
driverParam: string;
|
|
4975
3790
|
notNull: true;
|
|
4976
|
-
hasDefault:
|
|
3791
|
+
hasDefault: true;
|
|
4977
3792
|
isPrimaryKey: false;
|
|
4978
3793
|
isAutoincrement: false;
|
|
4979
3794
|
hasRuntimeDefault: false;
|
|
4980
|
-
enumValues:
|
|
3795
|
+
enumValues: ["link", "unlink"];
|
|
4981
3796
|
baseColumn: never;
|
|
4982
3797
|
identity: undefined;
|
|
4983
3798
|
generated: undefined;
|
|
4984
|
-
}, {}, {
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
3799
|
+
}, {}, {
|
|
3800
|
+
length: number | undefined;
|
|
3801
|
+
}>;
|
|
3802
|
+
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3803
|
+
name: "container_id";
|
|
3804
|
+
tableName: "document_intent_link_targets";
|
|
4988
3805
|
dataType: "string";
|
|
4989
3806
|
columnType: "SQLiteText";
|
|
4990
3807
|
data: string;
|
|
@@ -5001,14 +3818,21 @@ export declare const clientSQLiteSchema: {
|
|
|
5001
3818
|
}, {}, {
|
|
5002
3819
|
length: number | undefined;
|
|
5003
3820
|
}>;
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
3821
|
+
};
|
|
3822
|
+
dialect: "sqlite";
|
|
3823
|
+
}>;
|
|
3824
|
+
documentProjection: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3825
|
+
name: "document_projection";
|
|
3826
|
+
schema: undefined;
|
|
3827
|
+
columns: {
|
|
3828
|
+
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3829
|
+
name: "local_id";
|
|
3830
|
+
tableName: "document_projection";
|
|
5007
3831
|
dataType: "string";
|
|
5008
3832
|
columnType: "SQLiteText";
|
|
5009
3833
|
data: string;
|
|
5010
3834
|
driverParam: string;
|
|
5011
|
-
notNull:
|
|
3835
|
+
notNull: false;
|
|
5012
3836
|
hasDefault: false;
|
|
5013
3837
|
isPrimaryKey: false;
|
|
5014
3838
|
isAutoincrement: false;
|
|
@@ -5020,9 +3844,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5020
3844
|
}, {}, {
|
|
5021
3845
|
length: number | undefined;
|
|
5022
3846
|
}>;
|
|
5023
|
-
|
|
5024
|
-
name: "
|
|
5025
|
-
tableName: "
|
|
3847
|
+
documentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3848
|
+
name: "document_id";
|
|
3849
|
+
tableName: "document_projection";
|
|
5026
3850
|
dataType: "string";
|
|
5027
3851
|
columnType: "SQLiteText";
|
|
5028
3852
|
data: string;
|
|
@@ -5039,23 +3863,16 @@ export declare const clientSQLiteSchema: {
|
|
|
5039
3863
|
}, {}, {
|
|
5040
3864
|
length: number | undefined;
|
|
5041
3865
|
}>;
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
documentOrphanBlobReclaims: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
5046
|
-
name: "document_orphan_blob_reclaims";
|
|
5047
|
-
schema: undefined;
|
|
5048
|
-
columns: {
|
|
5049
|
-
storageKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5050
|
-
name: "storage_key";
|
|
5051
|
-
tableName: "document_orphan_blob_reclaims";
|
|
3866
|
+
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3867
|
+
name: "container_id";
|
|
3868
|
+
tableName: "document_projection";
|
|
5052
3869
|
dataType: "string";
|
|
5053
3870
|
columnType: "SQLiteText";
|
|
5054
3871
|
data: string;
|
|
5055
3872
|
driverParam: string;
|
|
5056
|
-
notNull:
|
|
3873
|
+
notNull: false;
|
|
5057
3874
|
hasDefault: false;
|
|
5058
|
-
isPrimaryKey:
|
|
3875
|
+
isPrimaryKey: false;
|
|
5059
3876
|
isAutoincrement: false;
|
|
5060
3877
|
hasRuntimeDefault: false;
|
|
5061
3878
|
enumValues: [string, ...string[]];
|
|
@@ -5065,16 +3882,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5065
3882
|
}, {}, {
|
|
5066
3883
|
length: number | undefined;
|
|
5067
3884
|
}>;
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
containerCreateIntents: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
5072
|
-
name: "container_create_intents";
|
|
5073
|
-
schema: undefined;
|
|
5074
|
-
columns: {
|
|
5075
|
-
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5076
|
-
name: "id";
|
|
5077
|
-
tableName: "container_create_intents";
|
|
3885
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3886
|
+
name: "organization_id";
|
|
3887
|
+
tableName: "document_projection";
|
|
5078
3888
|
dataType: "string";
|
|
5079
3889
|
columnType: "SQLiteText";
|
|
5080
3890
|
data: string;
|
|
@@ -5091,15 +3901,15 @@ export declare const clientSQLiteSchema: {
|
|
|
5091
3901
|
}, {}, {
|
|
5092
3902
|
length: number | undefined;
|
|
5093
3903
|
}>;
|
|
5094
|
-
|
|
5095
|
-
name: "
|
|
5096
|
-
tableName: "
|
|
3904
|
+
documentKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3905
|
+
name: "document_kind";
|
|
3906
|
+
tableName: "document_projection";
|
|
5097
3907
|
dataType: "string";
|
|
5098
3908
|
columnType: "SQLiteText";
|
|
5099
3909
|
data: string;
|
|
5100
3910
|
driverParam: string;
|
|
5101
3911
|
notNull: true;
|
|
5102
|
-
hasDefault:
|
|
3912
|
+
hasDefault: true;
|
|
5103
3913
|
isPrimaryKey: false;
|
|
5104
3914
|
isAutoincrement: false;
|
|
5105
3915
|
hasRuntimeDefault: false;
|
|
@@ -5110,15 +3920,15 @@ export declare const clientSQLiteSchema: {
|
|
|
5110
3920
|
}, {}, {
|
|
5111
3921
|
length: number | undefined;
|
|
5112
3922
|
}>;
|
|
5113
|
-
|
|
5114
|
-
name: "
|
|
5115
|
-
tableName: "
|
|
3923
|
+
title: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3924
|
+
name: "title";
|
|
3925
|
+
tableName: "document_projection";
|
|
5116
3926
|
dataType: "string";
|
|
5117
3927
|
columnType: "SQLiteText";
|
|
5118
3928
|
data: string;
|
|
5119
3929
|
driverParam: string;
|
|
5120
3930
|
notNull: true;
|
|
5121
|
-
hasDefault:
|
|
3931
|
+
hasDefault: true;
|
|
5122
3932
|
isPrimaryKey: false;
|
|
5123
3933
|
isAutoincrement: false;
|
|
5124
3934
|
hasRuntimeDefault: false;
|
|
@@ -5129,9 +3939,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5129
3939
|
}, {}, {
|
|
5130
3940
|
length: number | undefined;
|
|
5131
3941
|
}>;
|
|
5132
|
-
|
|
5133
|
-
name: "
|
|
5134
|
-
tableName: "
|
|
3942
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3943
|
+
name: "updated_at";
|
|
3944
|
+
tableName: "document_projection";
|
|
5135
3945
|
dataType: "string";
|
|
5136
3946
|
columnType: "SQLiteText";
|
|
5137
3947
|
data: string;
|
|
@@ -5148,9 +3958,16 @@ export declare const clientSQLiteSchema: {
|
|
|
5148
3958
|
}, {}, {
|
|
5149
3959
|
length: number | undefined;
|
|
5150
3960
|
}>;
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
3961
|
+
};
|
|
3962
|
+
dialect: "sqlite";
|
|
3963
|
+
}>;
|
|
3964
|
+
documentPendingAttachments: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3965
|
+
name: "document_pending_attachments";
|
|
3966
|
+
schema: undefined;
|
|
3967
|
+
columns: {
|
|
3968
|
+
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3969
|
+
name: "local_id";
|
|
3970
|
+
tableName: "document_pending_attachments";
|
|
5154
3971
|
dataType: "string";
|
|
5155
3972
|
columnType: "SQLiteText";
|
|
5156
3973
|
data: string;
|
|
@@ -5167,14 +3984,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5167
3984
|
}, {}, {
|
|
5168
3985
|
length: number | undefined;
|
|
5169
3986
|
}>;
|
|
5170
|
-
|
|
5171
|
-
name: "
|
|
5172
|
-
tableName: "
|
|
3987
|
+
slotId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3988
|
+
name: "slot_id";
|
|
3989
|
+
tableName: "document_pending_attachments";
|
|
5173
3990
|
dataType: "string";
|
|
5174
3991
|
columnType: "SQLiteText";
|
|
5175
3992
|
data: string;
|
|
5176
3993
|
driverParam: string;
|
|
5177
|
-
notNull:
|
|
3994
|
+
notNull: true;
|
|
5178
3995
|
hasDefault: false;
|
|
5179
3996
|
isPrimaryKey: false;
|
|
5180
3997
|
isAutoincrement: false;
|
|
@@ -5186,14 +4003,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5186
4003
|
}, {}, {
|
|
5187
4004
|
length: number | undefined;
|
|
5188
4005
|
}>;
|
|
5189
|
-
|
|
5190
|
-
name: "
|
|
5191
|
-
tableName: "
|
|
4006
|
+
name: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4007
|
+
name: "name";
|
|
4008
|
+
tableName: "document_pending_attachments";
|
|
5192
4009
|
dataType: "string";
|
|
5193
4010
|
columnType: "SQLiteText";
|
|
5194
4011
|
data: string;
|
|
5195
4012
|
driverParam: string;
|
|
5196
|
-
notNull:
|
|
4013
|
+
notNull: true;
|
|
5197
4014
|
hasDefault: false;
|
|
5198
4015
|
isPrimaryKey: false;
|
|
5199
4016
|
isAutoincrement: false;
|
|
@@ -5205,9 +4022,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5205
4022
|
}, {}, {
|
|
5206
4023
|
length: number | undefined;
|
|
5207
4024
|
}>;
|
|
5208
|
-
|
|
5209
|
-
name: "
|
|
5210
|
-
tableName: "
|
|
4025
|
+
mimeType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4026
|
+
name: "mime_type";
|
|
4027
|
+
tableName: "document_pending_attachments";
|
|
5211
4028
|
dataType: "string";
|
|
5212
4029
|
columnType: "SQLiteText";
|
|
5213
4030
|
data: string;
|
|
@@ -5224,14 +4041,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5224
4041
|
}, {}, {
|
|
5225
4042
|
length: number | undefined;
|
|
5226
4043
|
}>;
|
|
5227
|
-
|
|
5228
|
-
name: "
|
|
5229
|
-
tableName: "
|
|
4044
|
+
storageKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4045
|
+
name: "storage_key";
|
|
4046
|
+
tableName: "document_pending_attachments";
|
|
5230
4047
|
dataType: "string";
|
|
5231
4048
|
columnType: "SQLiteText";
|
|
5232
4049
|
data: string;
|
|
5233
4050
|
driverParam: string;
|
|
5234
|
-
notNull:
|
|
4051
|
+
notNull: true;
|
|
5235
4052
|
hasDefault: false;
|
|
5236
4053
|
isPrimaryKey: false;
|
|
5237
4054
|
isAutoincrement: false;
|
|
@@ -5243,14 +4060,31 @@ export declare const clientSQLiteSchema: {
|
|
|
5243
4060
|
}, {}, {
|
|
5244
4061
|
length: number | undefined;
|
|
5245
4062
|
}>;
|
|
5246
|
-
|
|
5247
|
-
name: "
|
|
5248
|
-
tableName: "
|
|
4063
|
+
byteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4064
|
+
name: "byte_length";
|
|
4065
|
+
tableName: "document_pending_attachments";
|
|
4066
|
+
dataType: "number";
|
|
4067
|
+
columnType: "SQLiteInteger";
|
|
4068
|
+
data: number;
|
|
4069
|
+
driverParam: number;
|
|
4070
|
+
notNull: true;
|
|
4071
|
+
hasDefault: false;
|
|
4072
|
+
isPrimaryKey: false;
|
|
4073
|
+
isAutoincrement: false;
|
|
4074
|
+
hasRuntimeDefault: false;
|
|
4075
|
+
enumValues: undefined;
|
|
4076
|
+
baseColumn: never;
|
|
4077
|
+
identity: undefined;
|
|
4078
|
+
generated: undefined;
|
|
4079
|
+
}, {}, {}>;
|
|
4080
|
+
contentSha256: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4081
|
+
name: "content_sha256";
|
|
4082
|
+
tableName: "document_pending_attachments";
|
|
5249
4083
|
dataType: "string";
|
|
5250
4084
|
columnType: "SQLiteText";
|
|
5251
4085
|
data: string;
|
|
5252
4086
|
driverParam: string;
|
|
5253
|
-
notNull:
|
|
4087
|
+
notNull: true;
|
|
5254
4088
|
hasDefault: false;
|
|
5255
4089
|
isPrimaryKey: false;
|
|
5256
4090
|
isAutoincrement: false;
|
|
@@ -5264,7 +4098,7 @@ export declare const clientSQLiteSchema: {
|
|
|
5264
4098
|
}>;
|
|
5265
4099
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5266
4100
|
name: "created_at";
|
|
5267
|
-
tableName: "
|
|
4101
|
+
tableName: "document_pending_attachments";
|
|
5268
4102
|
dataType: "string";
|
|
5269
4103
|
columnType: "SQLiteText";
|
|
5270
4104
|
data: string;
|
|
@@ -5281,14 +4115,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5281
4115
|
}, {}, {
|
|
5282
4116
|
length: number | undefined;
|
|
5283
4117
|
}>;
|
|
5284
|
-
|
|
5285
|
-
name: "
|
|
5286
|
-
tableName: "
|
|
4118
|
+
uploadBlobId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4119
|
+
name: "upload_blob_id";
|
|
4120
|
+
tableName: "document_pending_attachments";
|
|
5287
4121
|
dataType: "string";
|
|
5288
4122
|
columnType: "SQLiteText";
|
|
5289
4123
|
data: string;
|
|
5290
4124
|
driverParam: string;
|
|
5291
|
-
notNull:
|
|
4125
|
+
notNull: false;
|
|
5292
4126
|
hasDefault: false;
|
|
5293
4127
|
isPrimaryKey: false;
|
|
5294
4128
|
isAutoincrement: false;
|
|
@@ -5300,16 +4134,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5300
4134
|
}, {}, {
|
|
5301
4135
|
length: number | undefined;
|
|
5302
4136
|
}>;
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
containerMoveIntents: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
5307
|
-
name: "container_move_intents";
|
|
5308
|
-
schema: undefined;
|
|
5309
|
-
columns: {
|
|
5310
|
-
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5311
|
-
name: "id";
|
|
5312
|
-
tableName: "container_move_intents";
|
|
4137
|
+
uploadContentKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4138
|
+
name: "upload_content_key";
|
|
4139
|
+
tableName: "document_pending_attachments";
|
|
5313
4140
|
dataType: "string";
|
|
5314
4141
|
columnType: "SQLiteText";
|
|
5315
4142
|
data: string;
|
|
@@ -5326,33 +4153,67 @@ export declare const clientSQLiteSchema: {
|
|
|
5326
4153
|
}, {}, {
|
|
5327
4154
|
length: number | undefined;
|
|
5328
4155
|
}>;
|
|
5329
|
-
|
|
5330
|
-
name: "
|
|
5331
|
-
tableName: "
|
|
4156
|
+
uploadIv: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4157
|
+
name: "upload_iv";
|
|
4158
|
+
tableName: "document_pending_attachments";
|
|
5332
4159
|
dataType: "string";
|
|
5333
4160
|
columnType: "SQLiteText";
|
|
5334
4161
|
data: string;
|
|
5335
4162
|
driverParam: string;
|
|
5336
|
-
notNull:
|
|
4163
|
+
notNull: false;
|
|
4164
|
+
hasDefault: false;
|
|
4165
|
+
isPrimaryKey: false;
|
|
4166
|
+
isAutoincrement: false;
|
|
4167
|
+
hasRuntimeDefault: false;
|
|
4168
|
+
enumValues: [string, ...string[]];
|
|
4169
|
+
baseColumn: never;
|
|
4170
|
+
identity: undefined;
|
|
4171
|
+
generated: undefined;
|
|
4172
|
+
}, {}, {
|
|
4173
|
+
length: number | undefined;
|
|
4174
|
+
}>;
|
|
4175
|
+
uploadContentKeyEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4176
|
+
name: "upload_content_key_epoch";
|
|
4177
|
+
tableName: "document_pending_attachments";
|
|
4178
|
+
dataType: "number";
|
|
4179
|
+
columnType: "SQLiteInteger";
|
|
4180
|
+
data: number;
|
|
4181
|
+
driverParam: number;
|
|
4182
|
+
notNull: false;
|
|
4183
|
+
hasDefault: false;
|
|
4184
|
+
isPrimaryKey: false;
|
|
4185
|
+
isAutoincrement: false;
|
|
4186
|
+
hasRuntimeDefault: false;
|
|
4187
|
+
enumValues: undefined;
|
|
4188
|
+
baseColumn: never;
|
|
4189
|
+
identity: undefined;
|
|
4190
|
+
generated: undefined;
|
|
4191
|
+
}, {}, {}>;
|
|
4192
|
+
uploadPartSize: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4193
|
+
name: "upload_part_size";
|
|
4194
|
+
tableName: "document_pending_attachments";
|
|
4195
|
+
dataType: "number";
|
|
4196
|
+
columnType: "SQLiteInteger";
|
|
4197
|
+
data: number;
|
|
4198
|
+
driverParam: number;
|
|
4199
|
+
notNull: false;
|
|
5337
4200
|
hasDefault: false;
|
|
5338
4201
|
isPrimaryKey: false;
|
|
5339
4202
|
isAutoincrement: false;
|
|
5340
4203
|
hasRuntimeDefault: false;
|
|
5341
|
-
enumValues:
|
|
4204
|
+
enumValues: undefined;
|
|
5342
4205
|
baseColumn: never;
|
|
5343
4206
|
identity: undefined;
|
|
5344
4207
|
generated: undefined;
|
|
5345
|
-
}, {}, {
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
name: "parent_container_id";
|
|
5350
|
-
tableName: "container_move_intents";
|
|
4208
|
+
}, {}, {}>;
|
|
4209
|
+
uploadPlaintextSha256: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4210
|
+
name: "upload_plaintext_sha256";
|
|
4211
|
+
tableName: "document_pending_attachments";
|
|
5351
4212
|
dataType: "string";
|
|
5352
4213
|
columnType: "SQLiteText";
|
|
5353
4214
|
data: string;
|
|
5354
4215
|
driverParam: string;
|
|
5355
|
-
notNull:
|
|
4216
|
+
notNull: false;
|
|
5356
4217
|
hasDefault: false;
|
|
5357
4218
|
isPrimaryKey: false;
|
|
5358
4219
|
isAutoincrement: false;
|
|
@@ -5364,9 +4225,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5364
4225
|
}, {}, {
|
|
5365
4226
|
length: number | undefined;
|
|
5366
4227
|
}>;
|
|
5367
|
-
|
|
5368
|
-
name: "
|
|
5369
|
-
tableName: "
|
|
4228
|
+
uploadStageId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4229
|
+
name: "upload_stage_id";
|
|
4230
|
+
tableName: "document_pending_attachments";
|
|
5370
4231
|
dataType: "string";
|
|
5371
4232
|
columnType: "SQLiteText";
|
|
5372
4233
|
data: string;
|
|
@@ -5383,9 +4244,16 @@ export declare const clientSQLiteSchema: {
|
|
|
5383
4244
|
}, {}, {
|
|
5384
4245
|
length: number | undefined;
|
|
5385
4246
|
}>;
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
4247
|
+
};
|
|
4248
|
+
dialect: "sqlite";
|
|
4249
|
+
}>;
|
|
4250
|
+
documentAttachmentBlobProjection: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
4251
|
+
name: "document_attachment_blob_projection";
|
|
4252
|
+
schema: undefined;
|
|
4253
|
+
columns: {
|
|
4254
|
+
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4255
|
+
name: "local_id";
|
|
4256
|
+
tableName: "document_attachment_blob_projection";
|
|
5389
4257
|
dataType: "string";
|
|
5390
4258
|
columnType: "SQLiteText";
|
|
5391
4259
|
data: string;
|
|
@@ -5402,9 +4270,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5402
4270
|
}, {}, {
|
|
5403
4271
|
length: number | undefined;
|
|
5404
4272
|
}>;
|
|
5405
|
-
|
|
5406
|
-
name: "
|
|
5407
|
-
tableName: "
|
|
4273
|
+
slotId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4274
|
+
name: "slot_id";
|
|
4275
|
+
tableName: "document_attachment_blob_projection";
|
|
5408
4276
|
dataType: "string";
|
|
5409
4277
|
columnType: "SQLiteText";
|
|
5410
4278
|
data: string;
|
|
@@ -5421,9 +4289,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5421
4289
|
}, {}, {
|
|
5422
4290
|
length: number | undefined;
|
|
5423
4291
|
}>;
|
|
5424
|
-
|
|
5425
|
-
name: "
|
|
5426
|
-
tableName: "
|
|
4292
|
+
blobId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4293
|
+
name: "blob_id";
|
|
4294
|
+
tableName: "document_attachment_blob_projection";
|
|
5427
4295
|
dataType: "string";
|
|
5428
4296
|
columnType: "SQLiteText";
|
|
5429
4297
|
data: string;
|
|
@@ -5440,14 +4308,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5440
4308
|
}, {}, {
|
|
5441
4309
|
length: number | undefined;
|
|
5442
4310
|
}>;
|
|
5443
|
-
|
|
5444
|
-
name: "
|
|
5445
|
-
tableName: "
|
|
4311
|
+
storageKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4312
|
+
name: "storage_key";
|
|
4313
|
+
tableName: "document_attachment_blob_projection";
|
|
5446
4314
|
dataType: "string";
|
|
5447
4315
|
columnType: "SQLiteText";
|
|
5448
4316
|
data: string;
|
|
5449
4317
|
driverParam: string;
|
|
5450
|
-
notNull:
|
|
4318
|
+
notNull: true;
|
|
5451
4319
|
hasDefault: false;
|
|
5452
4320
|
isPrimaryKey: false;
|
|
5453
4321
|
isAutoincrement: false;
|
|
@@ -5459,14 +4327,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5459
4327
|
}, {}, {
|
|
5460
4328
|
length: number | undefined;
|
|
5461
4329
|
}>;
|
|
5462
|
-
|
|
5463
|
-
name: "
|
|
5464
|
-
tableName: "
|
|
4330
|
+
mimeType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4331
|
+
name: "mime_type";
|
|
4332
|
+
tableName: "document_attachment_blob_projection";
|
|
5465
4333
|
dataType: "string";
|
|
5466
4334
|
columnType: "SQLiteText";
|
|
5467
4335
|
data: string;
|
|
5468
4336
|
driverParam: string;
|
|
5469
|
-
notNull:
|
|
4337
|
+
notNull: false;
|
|
5470
4338
|
hasDefault: false;
|
|
5471
4339
|
isPrimaryKey: false;
|
|
5472
4340
|
isAutoincrement: false;
|
|
@@ -5478,9 +4346,26 @@ export declare const clientSQLiteSchema: {
|
|
|
5478
4346
|
}, {}, {
|
|
5479
4347
|
length: number | undefined;
|
|
5480
4348
|
}>;
|
|
5481
|
-
|
|
5482
|
-
name: "
|
|
5483
|
-
tableName: "
|
|
4349
|
+
byteLength: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4350
|
+
name: "byte_length";
|
|
4351
|
+
tableName: "document_attachment_blob_projection";
|
|
4352
|
+
dataType: "number";
|
|
4353
|
+
columnType: "SQLiteInteger";
|
|
4354
|
+
data: number;
|
|
4355
|
+
driverParam: number;
|
|
4356
|
+
notNull: true;
|
|
4357
|
+
hasDefault: false;
|
|
4358
|
+
isPrimaryKey: false;
|
|
4359
|
+
isAutoincrement: false;
|
|
4360
|
+
hasRuntimeDefault: false;
|
|
4361
|
+
enumValues: undefined;
|
|
4362
|
+
baseColumn: never;
|
|
4363
|
+
identity: undefined;
|
|
4364
|
+
generated: undefined;
|
|
4365
|
+
}, {}, {}>;
|
|
4366
|
+
contentSha256: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4367
|
+
name: "content_sha256";
|
|
4368
|
+
tableName: "document_attachment_blob_projection";
|
|
5484
4369
|
dataType: "string";
|
|
5485
4370
|
columnType: "SQLiteText";
|
|
5486
4371
|
data: string;
|
|
@@ -5497,16 +4382,9 @@ export declare const clientSQLiteSchema: {
|
|
|
5497
4382
|
}, {}, {
|
|
5498
4383
|
length: number | undefined;
|
|
5499
4384
|
}>;
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
containerSyncLaneChecks: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
5504
|
-
name: "container_sync_lane_checks";
|
|
5505
|
-
schema: undefined;
|
|
5506
|
-
columns: {
|
|
5507
|
-
laneKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5508
|
-
name: "lane_kind";
|
|
5509
|
-
tableName: "container_sync_lane_checks";
|
|
4385
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4386
|
+
name: "updated_at";
|
|
4387
|
+
tableName: "document_attachment_blob_projection";
|
|
5510
4388
|
dataType: "string";
|
|
5511
4389
|
columnType: "SQLiteText";
|
|
5512
4390
|
data: string;
|
|
@@ -5523,14 +4401,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5523
4401
|
}, {}, {
|
|
5524
4402
|
length: number | undefined;
|
|
5525
4403
|
}>;
|
|
5526
|
-
|
|
5527
|
-
name: "
|
|
5528
|
-
tableName: "
|
|
4404
|
+
detachedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4405
|
+
name: "detached_at";
|
|
4406
|
+
tableName: "document_attachment_blob_projection";
|
|
5529
4407
|
dataType: "string";
|
|
5530
4408
|
columnType: "SQLiteText";
|
|
5531
4409
|
data: string;
|
|
5532
4410
|
driverParam: string;
|
|
5533
|
-
notNull:
|
|
4411
|
+
notNull: false;
|
|
5534
4412
|
hasDefault: false;
|
|
5535
4413
|
isPrimaryKey: false;
|
|
5536
4414
|
isAutoincrement: false;
|
|
@@ -5542,16 +4420,23 @@ export declare const clientSQLiteSchema: {
|
|
|
5542
4420
|
}, {}, {
|
|
5543
4421
|
length: number | undefined;
|
|
5544
4422
|
}>;
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
4423
|
+
};
|
|
4424
|
+
dialect: "sqlite";
|
|
4425
|
+
}>;
|
|
4426
|
+
documentOrphanBlobReclaims: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
4427
|
+
name: "document_orphan_blob_reclaims";
|
|
4428
|
+
schema: undefined;
|
|
4429
|
+
columns: {
|
|
4430
|
+
storageKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4431
|
+
name: "storage_key";
|
|
4432
|
+
tableName: "document_orphan_blob_reclaims";
|
|
5548
4433
|
dataType: "string";
|
|
5549
4434
|
columnType: "SQLiteText";
|
|
5550
4435
|
data: string;
|
|
5551
4436
|
driverParam: string;
|
|
5552
4437
|
notNull: true;
|
|
5553
4438
|
hasDefault: false;
|
|
5554
|
-
isPrimaryKey:
|
|
4439
|
+
isPrimaryKey: true;
|
|
5555
4440
|
isAutoincrement: false;
|
|
5556
4441
|
hasRuntimeDefault: false;
|
|
5557
4442
|
enumValues: [string, ...string[]];
|
|
@@ -5613,7 +4498,7 @@ export declare const clientSQLiteSchema: {
|
|
|
5613
4498
|
columnType: "SQLiteText";
|
|
5614
4499
|
data: string;
|
|
5615
4500
|
driverParam: string;
|
|
5616
|
-
notNull:
|
|
4501
|
+
notNull: false;
|
|
5617
4502
|
hasDefault: false;
|
|
5618
4503
|
isPrimaryKey: false;
|
|
5619
4504
|
isAutoincrement: false;
|
|
@@ -5632,7 +4517,7 @@ export declare const clientSQLiteSchema: {
|
|
|
5632
4517
|
columnType: "SQLiteText";
|
|
5633
4518
|
data: string;
|
|
5634
4519
|
driverParam: string;
|
|
5635
|
-
notNull:
|
|
4520
|
+
notNull: false;
|
|
5636
4521
|
hasDefault: false;
|
|
5637
4522
|
isPrimaryKey: false;
|
|
5638
4523
|
isAutoincrement: false;
|
|
@@ -5651,7 +4536,26 @@ export declare const clientSQLiteSchema: {
|
|
|
5651
4536
|
columnType: "SQLiteText";
|
|
5652
4537
|
data: string;
|
|
5653
4538
|
driverParam: string;
|
|
5654
|
-
notNull:
|
|
4539
|
+
notNull: false;
|
|
4540
|
+
hasDefault: false;
|
|
4541
|
+
isPrimaryKey: false;
|
|
4542
|
+
isAutoincrement: false;
|
|
4543
|
+
hasRuntimeDefault: false;
|
|
4544
|
+
enumValues: [string, ...string[]];
|
|
4545
|
+
baseColumn: never;
|
|
4546
|
+
identity: undefined;
|
|
4547
|
+
generated: undefined;
|
|
4548
|
+
}, {}, {
|
|
4549
|
+
length: number | undefined;
|
|
4550
|
+
}>;
|
|
4551
|
+
checkedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4552
|
+
name: "checked_at";
|
|
4553
|
+
tableName: "container_sync_watermarks";
|
|
4554
|
+
dataType: "string";
|
|
4555
|
+
columnType: "SQLiteText";
|
|
4556
|
+
data: string;
|
|
4557
|
+
driverParam: string;
|
|
4558
|
+
notNull: false;
|
|
5655
4559
|
hasDefault: false;
|
|
5656
4560
|
isPrimaryKey: false;
|
|
5657
4561
|
isAutoincrement: false;
|
|
@@ -5765,15 +4669,15 @@ export declare const clientSQLiteSchema: {
|
|
|
5765
4669
|
}, {}, {
|
|
5766
4670
|
length: number | undefined;
|
|
5767
4671
|
}>;
|
|
5768
|
-
|
|
5769
|
-
name: "
|
|
4672
|
+
displayName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4673
|
+
name: "display_name";
|
|
5770
4674
|
tableName: "containers";
|
|
5771
4675
|
dataType: "string";
|
|
5772
4676
|
columnType: "SQLiteText";
|
|
5773
4677
|
data: string;
|
|
5774
4678
|
driverParam: string;
|
|
5775
|
-
notNull:
|
|
5776
|
-
hasDefault:
|
|
4679
|
+
notNull: false;
|
|
4680
|
+
hasDefault: false;
|
|
5777
4681
|
isPrimaryKey: false;
|
|
5778
4682
|
isAutoincrement: false;
|
|
5779
4683
|
hasRuntimeDefault: false;
|
|
@@ -5784,14 +4688,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5784
4688
|
}, {}, {
|
|
5785
4689
|
length: number | undefined;
|
|
5786
4690
|
}>;
|
|
5787
|
-
|
|
5788
|
-
name: "
|
|
4691
|
+
icon: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4692
|
+
name: "icon";
|
|
5789
4693
|
tableName: "containers";
|
|
5790
4694
|
dataType: "string";
|
|
5791
4695
|
columnType: "SQLiteText";
|
|
5792
4696
|
data: string;
|
|
5793
4697
|
driverParam: string;
|
|
5794
|
-
notNull:
|
|
4698
|
+
notNull: false;
|
|
5795
4699
|
hasDefault: false;
|
|
5796
4700
|
isPrimaryKey: false;
|
|
5797
4701
|
isAutoincrement: false;
|
|
@@ -5803,15 +4707,15 @@ export declare const clientSQLiteSchema: {
|
|
|
5803
4707
|
}, {}, {
|
|
5804
4708
|
length: number | undefined;
|
|
5805
4709
|
}>;
|
|
5806
|
-
|
|
5807
|
-
name: "
|
|
4710
|
+
effectiveAccessLevel: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4711
|
+
name: "effective_access_level";
|
|
5808
4712
|
tableName: "containers";
|
|
5809
4713
|
dataType: "string";
|
|
5810
4714
|
columnType: "SQLiteText";
|
|
5811
4715
|
data: string;
|
|
5812
4716
|
driverParam: string;
|
|
5813
4717
|
notNull: true;
|
|
5814
|
-
hasDefault:
|
|
4718
|
+
hasDefault: true;
|
|
5815
4719
|
isPrimaryKey: false;
|
|
5816
4720
|
isAutoincrement: false;
|
|
5817
4721
|
hasRuntimeDefault: false;
|
|
@@ -5822,14 +4726,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5822
4726
|
}, {}, {
|
|
5823
4727
|
length: number | undefined;
|
|
5824
4728
|
}>;
|
|
5825
|
-
|
|
5826
|
-
name: "
|
|
4729
|
+
localCreatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4730
|
+
name: "local_created_at";
|
|
5827
4731
|
tableName: "containers";
|
|
5828
4732
|
dataType: "string";
|
|
5829
4733
|
columnType: "SQLiteText";
|
|
5830
4734
|
data: string;
|
|
5831
4735
|
driverParam: string;
|
|
5832
|
-
notNull:
|
|
4736
|
+
notNull: true;
|
|
5833
4737
|
hasDefault: false;
|
|
5834
4738
|
isPrimaryKey: false;
|
|
5835
4739
|
isAutoincrement: false;
|
|
@@ -5841,39 +4745,13 @@ export declare const clientSQLiteSchema: {
|
|
|
5841
4745
|
}, {}, {
|
|
5842
4746
|
length: number | undefined;
|
|
5843
4747
|
}>;
|
|
5844
|
-
|
|
5845
|
-
name: "
|
|
4748
|
+
localUpdatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4749
|
+
name: "local_updated_at";
|
|
5846
4750
|
tableName: "containers";
|
|
5847
4751
|
dataType: "string";
|
|
5848
4752
|
columnType: "SQLiteText";
|
|
5849
4753
|
data: string;
|
|
5850
4754
|
driverParam: string;
|
|
5851
|
-
notNull: false;
|
|
5852
|
-
hasDefault: false;
|
|
5853
|
-
isPrimaryKey: false;
|
|
5854
|
-
isAutoincrement: false;
|
|
5855
|
-
hasRuntimeDefault: false;
|
|
5856
|
-
enumValues: [string, ...string[]];
|
|
5857
|
-
baseColumn: never;
|
|
5858
|
-
identity: undefined;
|
|
5859
|
-
generated: undefined;
|
|
5860
|
-
}, {}, {
|
|
5861
|
-
length: number | undefined;
|
|
5862
|
-
}>;
|
|
5863
|
-
};
|
|
5864
|
-
dialect: "sqlite";
|
|
5865
|
-
}>;
|
|
5866
|
-
containerHydrationTombstones: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
5867
|
-
name: "container_hydration_tombstones";
|
|
5868
|
-
schema: undefined;
|
|
5869
|
-
columns: {
|
|
5870
|
-
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5871
|
-
name: "container_id";
|
|
5872
|
-
tableName: "container_hydration_tombstones";
|
|
5873
|
-
dataType: "string";
|
|
5874
|
-
columnType: "SQLiteText";
|
|
5875
|
-
data: string;
|
|
5876
|
-
driverParam: string;
|
|
5877
4755
|
notNull: true;
|
|
5878
4756
|
hasDefault: false;
|
|
5879
4757
|
isPrimaryKey: false;
|
|
@@ -5886,48 +4764,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5886
4764
|
}, {}, {
|
|
5887
4765
|
length: number | undefined;
|
|
5888
4766
|
}>;
|
|
5889
|
-
|
|
5890
|
-
name: "
|
|
5891
|
-
tableName: "
|
|
5892
|
-
dataType: "number";
|
|
5893
|
-
columnType: "SQLiteInteger";
|
|
5894
|
-
data: number;
|
|
5895
|
-
driverParam: number;
|
|
5896
|
-
notNull: true;
|
|
5897
|
-
hasDefault: true;
|
|
5898
|
-
isPrimaryKey: false;
|
|
5899
|
-
isAutoincrement: false;
|
|
5900
|
-
hasRuntimeDefault: false;
|
|
5901
|
-
enumValues: undefined;
|
|
5902
|
-
baseColumn: never;
|
|
5903
|
-
identity: undefined;
|
|
5904
|
-
generated: undefined;
|
|
5905
|
-
}, {}, {}>;
|
|
5906
|
-
cleared: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5907
|
-
name: "cleared";
|
|
5908
|
-
tableName: "container_hydration_tombstones";
|
|
5909
|
-
dataType: "boolean";
|
|
5910
|
-
columnType: "SQLiteBoolean";
|
|
5911
|
-
data: boolean;
|
|
5912
|
-
driverParam: number;
|
|
5913
|
-
notNull: true;
|
|
5914
|
-
hasDefault: true;
|
|
5915
|
-
isPrimaryKey: false;
|
|
5916
|
-
isAutoincrement: false;
|
|
5917
|
-
hasRuntimeDefault: false;
|
|
5918
|
-
enumValues: undefined;
|
|
5919
|
-
baseColumn: never;
|
|
5920
|
-
identity: undefined;
|
|
5921
|
-
generated: undefined;
|
|
5922
|
-
}, {}, {}>;
|
|
5923
|
-
reason: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5924
|
-
name: "reason";
|
|
5925
|
-
tableName: "container_hydration_tombstones";
|
|
4767
|
+
serverCreatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4768
|
+
name: "server_created_at";
|
|
4769
|
+
tableName: "containers";
|
|
5926
4770
|
dataType: "string";
|
|
5927
4771
|
columnType: "SQLiteText";
|
|
5928
4772
|
data: string;
|
|
5929
4773
|
driverParam: string;
|
|
5930
|
-
notNull:
|
|
4774
|
+
notNull: false;
|
|
5931
4775
|
hasDefault: false;
|
|
5932
4776
|
isPrimaryKey: false;
|
|
5933
4777
|
isAutoincrement: false;
|
|
@@ -5939,14 +4783,14 @@ export declare const clientSQLiteSchema: {
|
|
|
5939
4783
|
}, {}, {
|
|
5940
4784
|
length: number | undefined;
|
|
5941
4785
|
}>;
|
|
5942
|
-
|
|
5943
|
-
name: "
|
|
5944
|
-
tableName: "
|
|
4786
|
+
serverUpdatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4787
|
+
name: "server_updated_at";
|
|
4788
|
+
tableName: "containers";
|
|
5945
4789
|
dataType: "string";
|
|
5946
4790
|
columnType: "SQLiteText";
|
|
5947
4791
|
data: string;
|
|
5948
4792
|
driverParam: string;
|
|
5949
|
-
notNull:
|
|
4793
|
+
notNull: false;
|
|
5950
4794
|
hasDefault: false;
|
|
5951
4795
|
isPrimaryKey: false;
|
|
5952
4796
|
isAutoincrement: false;
|
|
@@ -5961,37 +4805,18 @@ export declare const clientSQLiteSchema: {
|
|
|
5961
4805
|
};
|
|
5962
4806
|
dialect: "sqlite";
|
|
5963
4807
|
}>;
|
|
5964
|
-
|
|
5965
|
-
name: "
|
|
4808
|
+
containerHydrationTombstones: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
4809
|
+
name: "container_hydration_tombstones";
|
|
5966
4810
|
schema: undefined;
|
|
5967
4811
|
columns: {
|
|
5968
|
-
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5969
|
-
name: "container_id";
|
|
5970
|
-
tableName: "
|
|
5971
|
-
dataType: "string";
|
|
5972
|
-
columnType: "SQLiteText";
|
|
5973
|
-
data: string;
|
|
5974
|
-
driverParam: string;
|
|
5975
|
-
notNull: false;
|
|
5976
|
-
hasDefault: false;
|
|
5977
|
-
isPrimaryKey: false;
|
|
5978
|
-
isAutoincrement: false;
|
|
5979
|
-
hasRuntimeDefault: false;
|
|
5980
|
-
enumValues: [string, ...string[]];
|
|
5981
|
-
baseColumn: never;
|
|
5982
|
-
identity: undefined;
|
|
5983
|
-
generated: undefined;
|
|
5984
|
-
}, {}, {
|
|
5985
|
-
length: number | undefined;
|
|
5986
|
-
}>;
|
|
5987
|
-
displayName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5988
|
-
name: "display_name";
|
|
5989
|
-
tableName: "container_projection";
|
|
4812
|
+
containerId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4813
|
+
name: "container_id";
|
|
4814
|
+
tableName: "container_hydration_tombstones";
|
|
5990
4815
|
dataType: "string";
|
|
5991
4816
|
columnType: "SQLiteText";
|
|
5992
4817
|
data: string;
|
|
5993
4818
|
driverParam: string;
|
|
5994
|
-
notNull:
|
|
4819
|
+
notNull: true;
|
|
5995
4820
|
hasDefault: false;
|
|
5996
4821
|
isPrimaryKey: false;
|
|
5997
4822
|
isAutoincrement: false;
|
|
@@ -6003,14 +4828,48 @@ export declare const clientSQLiteSchema: {
|
|
|
6003
4828
|
}, {}, {
|
|
6004
4829
|
length: number | undefined;
|
|
6005
4830
|
}>;
|
|
6006
|
-
|
|
6007
|
-
name: "
|
|
6008
|
-
tableName: "
|
|
4831
|
+
generation: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4832
|
+
name: "generation";
|
|
4833
|
+
tableName: "container_hydration_tombstones";
|
|
4834
|
+
dataType: "number";
|
|
4835
|
+
columnType: "SQLiteInteger";
|
|
4836
|
+
data: number;
|
|
4837
|
+
driverParam: number;
|
|
4838
|
+
notNull: true;
|
|
4839
|
+
hasDefault: true;
|
|
4840
|
+
isPrimaryKey: false;
|
|
4841
|
+
isAutoincrement: false;
|
|
4842
|
+
hasRuntimeDefault: false;
|
|
4843
|
+
enumValues: undefined;
|
|
4844
|
+
baseColumn: never;
|
|
4845
|
+
identity: undefined;
|
|
4846
|
+
generated: undefined;
|
|
4847
|
+
}, {}, {}>;
|
|
4848
|
+
cleared: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4849
|
+
name: "cleared";
|
|
4850
|
+
tableName: "container_hydration_tombstones";
|
|
4851
|
+
dataType: "boolean";
|
|
4852
|
+
columnType: "SQLiteBoolean";
|
|
4853
|
+
data: boolean;
|
|
4854
|
+
driverParam: number;
|
|
4855
|
+
notNull: true;
|
|
4856
|
+
hasDefault: true;
|
|
4857
|
+
isPrimaryKey: false;
|
|
4858
|
+
isAutoincrement: false;
|
|
4859
|
+
hasRuntimeDefault: false;
|
|
4860
|
+
enumValues: undefined;
|
|
4861
|
+
baseColumn: never;
|
|
4862
|
+
identity: undefined;
|
|
4863
|
+
generated: undefined;
|
|
4864
|
+
}, {}, {}>;
|
|
4865
|
+
reason: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4866
|
+
name: "reason";
|
|
4867
|
+
tableName: "container_hydration_tombstones";
|
|
6009
4868
|
dataType: "string";
|
|
6010
4869
|
columnType: "SQLiteText";
|
|
6011
4870
|
data: string;
|
|
6012
4871
|
driverParam: string;
|
|
6013
|
-
notNull:
|
|
4872
|
+
notNull: true;
|
|
6014
4873
|
hasDefault: false;
|
|
6015
4874
|
isPrimaryKey: false;
|
|
6016
4875
|
isAutoincrement: false;
|
|
@@ -6024,7 +4883,7 @@ export declare const clientSQLiteSchema: {
|
|
|
6024
4883
|
}>;
|
|
6025
4884
|
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6026
4885
|
name: "updated_at";
|
|
6027
|
-
tableName: "
|
|
4886
|
+
tableName: "container_hydration_tombstones";
|
|
6028
4887
|
dataType: "string";
|
|
6029
4888
|
columnType: "SQLiteText";
|
|
6030
4889
|
data: string;
|
|
@@ -6508,121 +5367,6 @@ export declare const clientSQLiteSchema: {
|
|
|
6508
5367
|
};
|
|
6509
5368
|
dialect: "sqlite";
|
|
6510
5369
|
}>;
|
|
6511
|
-
principalHistoryStageScopes: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
6512
|
-
name: "principal_history_stage_scopes";
|
|
6513
|
-
schema: undefined;
|
|
6514
|
-
columns: {
|
|
6515
|
-
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6516
|
-
name: "id";
|
|
6517
|
-
tableName: "principal_history_stage_scopes";
|
|
6518
|
-
dataType: "string";
|
|
6519
|
-
columnType: "SQLiteText";
|
|
6520
|
-
data: string;
|
|
6521
|
-
driverParam: string;
|
|
6522
|
-
notNull: true;
|
|
6523
|
-
hasDefault: false;
|
|
6524
|
-
isPrimaryKey: true;
|
|
6525
|
-
isAutoincrement: false;
|
|
6526
|
-
hasRuntimeDefault: false;
|
|
6527
|
-
enumValues: [string, ...string[]];
|
|
6528
|
-
baseColumn: never;
|
|
6529
|
-
identity: undefined;
|
|
6530
|
-
generated: undefined;
|
|
6531
|
-
}, {}, {
|
|
6532
|
-
length: number | undefined;
|
|
6533
|
-
}>;
|
|
6534
|
-
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6535
|
-
name: "organization_id";
|
|
6536
|
-
tableName: "principal_history_stage_scopes";
|
|
6537
|
-
dataType: "string";
|
|
6538
|
-
columnType: "SQLiteText";
|
|
6539
|
-
data: string;
|
|
6540
|
-
driverParam: string;
|
|
6541
|
-
notNull: true;
|
|
6542
|
-
hasDefault: false;
|
|
6543
|
-
isPrimaryKey: false;
|
|
6544
|
-
isAutoincrement: false;
|
|
6545
|
-
hasRuntimeDefault: false;
|
|
6546
|
-
enumValues: [string, ...string[]];
|
|
6547
|
-
baseColumn: never;
|
|
6548
|
-
identity: undefined;
|
|
6549
|
-
generated: undefined;
|
|
6550
|
-
}, {}, {
|
|
6551
|
-
length: number | undefined;
|
|
6552
|
-
}>;
|
|
6553
|
-
scopeId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6554
|
-
name: "scope_id";
|
|
6555
|
-
tableName: "principal_history_stage_scopes";
|
|
6556
|
-
dataType: "string";
|
|
6557
|
-
columnType: "SQLiteText";
|
|
6558
|
-
data: string;
|
|
6559
|
-
driverParam: string;
|
|
6560
|
-
notNull: true;
|
|
6561
|
-
hasDefault: false;
|
|
6562
|
-
isPrimaryKey: false;
|
|
6563
|
-
isAutoincrement: false;
|
|
6564
|
-
hasRuntimeDefault: false;
|
|
6565
|
-
enumValues: [string, ...string[]];
|
|
6566
|
-
baseColumn: never;
|
|
6567
|
-
identity: undefined;
|
|
6568
|
-
generated: undefined;
|
|
6569
|
-
}, {}, {
|
|
6570
|
-
length: number | undefined;
|
|
6571
|
-
}>;
|
|
6572
|
-
afterVersion: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6573
|
-
name: "after_version";
|
|
6574
|
-
tableName: "principal_history_stage_scopes";
|
|
6575
|
-
dataType: "number";
|
|
6576
|
-
columnType: "SQLiteInteger";
|
|
6577
|
-
data: number;
|
|
6578
|
-
driverParam: number;
|
|
6579
|
-
notNull: true;
|
|
6580
|
-
hasDefault: false;
|
|
6581
|
-
isPrimaryKey: false;
|
|
6582
|
-
isAutoincrement: false;
|
|
6583
|
-
hasRuntimeDefault: false;
|
|
6584
|
-
enumValues: undefined;
|
|
6585
|
-
baseColumn: never;
|
|
6586
|
-
identity: undefined;
|
|
6587
|
-
generated: undefined;
|
|
6588
|
-
}, {}, {}>;
|
|
6589
|
-
complete: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6590
|
-
name: "complete";
|
|
6591
|
-
tableName: "principal_history_stage_scopes";
|
|
6592
|
-
dataType: "boolean";
|
|
6593
|
-
columnType: "SQLiteBoolean";
|
|
6594
|
-
data: boolean;
|
|
6595
|
-
driverParam: number;
|
|
6596
|
-
notNull: true;
|
|
6597
|
-
hasDefault: false;
|
|
6598
|
-
isPrimaryKey: false;
|
|
6599
|
-
isAutoincrement: false;
|
|
6600
|
-
hasRuntimeDefault: false;
|
|
6601
|
-
enumValues: undefined;
|
|
6602
|
-
baseColumn: never;
|
|
6603
|
-
identity: undefined;
|
|
6604
|
-
generated: undefined;
|
|
6605
|
-
}, {}, {}>;
|
|
6606
|
-
touchedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6607
|
-
name: "touched_at";
|
|
6608
|
-
tableName: "principal_history_stage_scopes";
|
|
6609
|
-
dataType: "number";
|
|
6610
|
-
columnType: "SQLiteInteger";
|
|
6611
|
-
data: number;
|
|
6612
|
-
driverParam: number;
|
|
6613
|
-
notNull: true;
|
|
6614
|
-
hasDefault: false;
|
|
6615
|
-
isPrimaryKey: false;
|
|
6616
|
-
isAutoincrement: false;
|
|
6617
|
-
hasRuntimeDefault: false;
|
|
6618
|
-
enumValues: undefined;
|
|
6619
|
-
baseColumn: never;
|
|
6620
|
-
identity: undefined;
|
|
6621
|
-
generated: undefined;
|
|
6622
|
-
}, {}, {}>;
|
|
6623
|
-
};
|
|
6624
|
-
dialect: "sqlite";
|
|
6625
|
-
}>;
|
|
6626
5370
|
principalKeyEnvelopeArchive: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
6627
5371
|
name: "principal_key_envelope_archive";
|
|
6628
5372
|
schema: undefined;
|
|
@@ -7171,6 +5915,25 @@ export declare const clientSQLiteSchema: {
|
|
|
7171
5915
|
}, {}, {
|
|
7172
5916
|
length: number | undefined;
|
|
7173
5917
|
}>;
|
|
5918
|
+
scopeId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5919
|
+
name: "scope_id";
|
|
5920
|
+
tableName: "principal_history_stages";
|
|
5921
|
+
dataType: "string";
|
|
5922
|
+
columnType: "SQLiteText";
|
|
5923
|
+
data: string;
|
|
5924
|
+
driverParam: string;
|
|
5925
|
+
notNull: true;
|
|
5926
|
+
hasDefault: false;
|
|
5927
|
+
isPrimaryKey: false;
|
|
5928
|
+
isAutoincrement: false;
|
|
5929
|
+
hasRuntimeDefault: false;
|
|
5930
|
+
enumValues: [string, ...string[]];
|
|
5931
|
+
baseColumn: never;
|
|
5932
|
+
identity: undefined;
|
|
5933
|
+
generated: undefined;
|
|
5934
|
+
}, {}, {
|
|
5935
|
+
length: number | undefined;
|
|
5936
|
+
}>;
|
|
7174
5937
|
currentJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7175
5938
|
name: "current_json";
|
|
7176
5939
|
tableName: "principal_history_stages";
|
|
@@ -7224,6 +5987,23 @@ export declare const clientSQLiteSchema: {
|
|
|
7224
5987
|
identity: undefined;
|
|
7225
5988
|
generated: undefined;
|
|
7226
5989
|
}, {}, {}>;
|
|
5990
|
+
touchedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
5991
|
+
name: "touched_at";
|
|
5992
|
+
tableName: "principal_history_stages";
|
|
5993
|
+
dataType: "number";
|
|
5994
|
+
columnType: "SQLiteInteger";
|
|
5995
|
+
data: number;
|
|
5996
|
+
driverParam: number;
|
|
5997
|
+
notNull: true;
|
|
5998
|
+
hasDefault: false;
|
|
5999
|
+
isPrimaryKey: false;
|
|
6000
|
+
isAutoincrement: false;
|
|
6001
|
+
hasRuntimeDefault: false;
|
|
6002
|
+
enumValues: undefined;
|
|
6003
|
+
baseColumn: never;
|
|
6004
|
+
identity: undefined;
|
|
6005
|
+
generated: undefined;
|
|
6006
|
+
}, {}, {}>;
|
|
7227
6007
|
progress: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7228
6008
|
name: "progress";
|
|
7229
6009
|
tableName: "principal_history_stages";
|
|
@@ -7697,40 +6477,31 @@ export declare const clientSQLiteSchema: {
|
|
|
7697
6477
|
}, {}, {
|
|
7698
6478
|
length: number | undefined;
|
|
7699
6479
|
}>;
|
|
7700
|
-
|
|
7701
|
-
name: "
|
|
6480
|
+
syncFailureStatus: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6481
|
+
name: "sync_failure_status";
|
|
7702
6482
|
tableName: "documents";
|
|
7703
|
-
dataType: "
|
|
7704
|
-
columnType: "
|
|
7705
|
-
data:
|
|
7706
|
-
driverParam:
|
|
7707
|
-
notNull:
|
|
6483
|
+
dataType: "number";
|
|
6484
|
+
columnType: "SQLiteInteger";
|
|
6485
|
+
data: number;
|
|
6486
|
+
driverParam: number;
|
|
6487
|
+
notNull: false;
|
|
7708
6488
|
hasDefault: false;
|
|
7709
6489
|
isPrimaryKey: false;
|
|
7710
6490
|
isAutoincrement: false;
|
|
7711
6491
|
hasRuntimeDefault: false;
|
|
7712
|
-
enumValues:
|
|
6492
|
+
enumValues: undefined;
|
|
7713
6493
|
baseColumn: never;
|
|
7714
6494
|
identity: undefined;
|
|
7715
6495
|
generated: undefined;
|
|
7716
|
-
}, {}, {
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
dialect: "sqlite";
|
|
7721
|
-
}>;
|
|
7722
|
-
documentSyncFailures: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
7723
|
-
name: "document_sync_failures";
|
|
7724
|
-
schema: undefined;
|
|
7725
|
-
columns: {
|
|
7726
|
-
appKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7727
|
-
name: "app_kind";
|
|
7728
|
-
tableName: "document_sync_failures";
|
|
6496
|
+
}, {}, {}>;
|
|
6497
|
+
syncFailureMessage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6498
|
+
name: "sync_failure_message";
|
|
6499
|
+
tableName: "documents";
|
|
7729
6500
|
dataType: "string";
|
|
7730
6501
|
columnType: "SQLiteText";
|
|
7731
6502
|
data: string;
|
|
7732
6503
|
driverParam: string;
|
|
7733
|
-
notNull:
|
|
6504
|
+
notNull: false;
|
|
7734
6505
|
hasDefault: false;
|
|
7735
6506
|
isPrimaryKey: false;
|
|
7736
6507
|
isAutoincrement: false;
|
|
@@ -7742,54 +6513,18 @@ export declare const clientSQLiteSchema: {
|
|
|
7742
6513
|
}, {}, {
|
|
7743
6514
|
length: number | undefined;
|
|
7744
6515
|
}>;
|
|
7745
|
-
|
|
7746
|
-
name: "
|
|
7747
|
-
tableName: "
|
|
6516
|
+
syncFailureAttemptedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6517
|
+
name: "sync_failure_attempted_at";
|
|
6518
|
+
tableName: "documents";
|
|
7748
6519
|
dataType: "string";
|
|
7749
6520
|
columnType: "SQLiteText";
|
|
7750
6521
|
data: string;
|
|
7751
6522
|
driverParam: string;
|
|
7752
|
-
notNull: true;
|
|
7753
|
-
hasDefault: false;
|
|
7754
|
-
isPrimaryKey: false;
|
|
7755
|
-
isAutoincrement: false;
|
|
7756
|
-
hasRuntimeDefault: false;
|
|
7757
|
-
enumValues: [string, ...string[]];
|
|
7758
|
-
baseColumn: never;
|
|
7759
|
-
identity: undefined;
|
|
7760
|
-
generated: undefined;
|
|
7761
|
-
}, {}, {
|
|
7762
|
-
length: number | undefined;
|
|
7763
|
-
}>;
|
|
7764
|
-
status: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7765
|
-
name: "status";
|
|
7766
|
-
tableName: "document_sync_failures";
|
|
7767
|
-
dataType: "number";
|
|
7768
|
-
columnType: "SQLiteInteger";
|
|
7769
|
-
data: number;
|
|
7770
|
-
driverParam: number;
|
|
7771
6523
|
notNull: false;
|
|
7772
6524
|
hasDefault: false;
|
|
7773
6525
|
isPrimaryKey: false;
|
|
7774
6526
|
isAutoincrement: false;
|
|
7775
6527
|
hasRuntimeDefault: false;
|
|
7776
|
-
enumValues: undefined;
|
|
7777
|
-
baseColumn: never;
|
|
7778
|
-
identity: undefined;
|
|
7779
|
-
generated: undefined;
|
|
7780
|
-
}, {}, {}>;
|
|
7781
|
-
message: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7782
|
-
name: "message";
|
|
7783
|
-
tableName: "document_sync_failures";
|
|
7784
|
-
dataType: "string";
|
|
7785
|
-
columnType: "SQLiteText";
|
|
7786
|
-
data: string;
|
|
7787
|
-
driverParam: string;
|
|
7788
|
-
notNull: true;
|
|
7789
|
-
hasDefault: false;
|
|
7790
|
-
isPrimaryKey: false;
|
|
7791
|
-
isAutoincrement: false;
|
|
7792
|
-
hasRuntimeDefault: false;
|
|
7793
6528
|
enumValues: [string, ...string[]];
|
|
7794
6529
|
baseColumn: never;
|
|
7795
6530
|
identity: undefined;
|
|
@@ -7797,9 +6532,9 @@ export declare const clientSQLiteSchema: {
|
|
|
7797
6532
|
}, {}, {
|
|
7798
6533
|
length: number | undefined;
|
|
7799
6534
|
}>;
|
|
7800
|
-
|
|
7801
|
-
name: "
|
|
7802
|
-
tableName: "
|
|
6535
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
6536
|
+
name: "updated_at";
|
|
6537
|
+
tableName: "documents";
|
|
7803
6538
|
dataType: "string";
|
|
7804
6539
|
columnType: "SQLiteText";
|
|
7805
6540
|
data: string;
|