@tearleads/client-sdk 0.1.41 → 0.1.43
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/Tearleads.js +3 -0
- package/client/Tearleads.js.map +1 -1
- package/data/blobs/transferPool.js +35 -8
- package/data/blobs/transferPool.js.map +1 -1
- package/data/containers/shared/projection.js +12 -0
- package/data/containers/shared/projection.js.map +1 -1
- package/data/documents/blob/shared/types.d.ts +2 -3
- package/data/documents/blob/shared/types.js.map +1 -1
- package/data/documents/shared/events.js +0 -1
- package/data/documents/shared/events.js.map +1 -1
- package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js +2 -0
- package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js.map +1 -1
- package/data/keyingProjectionVerification/checkpointContext.d.ts +12 -0
- package/data/keyingProjectionVerification/checkpointContext.js +16 -0
- package/data/keyingProjectionVerification/checkpointContext.js.map +1 -1
- package/data/keyingProjectionVerification/containerDestinationVerification.js +3 -1
- package/data/keyingProjectionVerification/containerDestinationVerification.js.map +1 -1
- package/data/keyingProjectionVerification/containerProjectionVerification.js +12 -6
- package/data/keyingProjectionVerification/containerProjectionVerification.js.map +1 -1
- package/data/keyingProjectionVerification/documentProjectionVerification.js +10 -4
- package/data/keyingProjectionVerification/documentProjectionVerification.js.map +1 -1
- package/data/persistence/container-contents/containerContentsPersistence.js +6 -22
- package/data/persistence/container-contents/containerContentsPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js +5 -15
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerPendingUpdatePersistence.js +6 -15
- package/data/persistence/container-contents/containerPendingUpdatePersistence.js.map +1 -1
- package/data/persistence/container-contents/containerRecoveryPersistence.js +3 -4
- package/data/persistence/container-contents/containerRecoveryPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerRemovalWork.js +3 -5
- package/data/persistence/container-contents/containerRemovalWork.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/documents/documentsPersistence.js +4 -9
- package/data/persistence/documents/documentsPersistence.js.map +1 -1
- package/data/persistence/documents/internal/discardDocument.js +1 -2
- package/data/persistence/documents/internal/discardDocument.js.map +1 -1
- package/data/persistence/documents/internal/documentDeletionPersistence.js +1 -2
- package/data/persistence/documents/internal/documentDeletionPersistence.js.map +1 -1
- package/data/persistence/documents/internal/documentMutationPersistence.js +17 -25
- package/data/persistence/documents/internal/documentMutationPersistence.js.map +1 -1
- package/data/persistence/documents/internal/orphanSideRows.js +2 -14
- package/data/persistence/documents/internal/orphanSideRows.js.map +1 -1
- package/data/persistence/documents/internal/syncQueuePersistence.js +3 -3
- package/data/persistence/documents/internal/syncQueuePersistence.js.map +1 -1
- package/data/persistence/keyingCheckpointAdvancePersistence.js +27 -8
- package/data/persistence/keyingCheckpointAdvancePersistence.js.map +1 -1
- package/data/persistence/verifiedManifestBundlePersistence.d.ts +45 -0
- package/data/persistence/verifiedManifestBundlePersistence.js +282 -0
- package/data/persistence/verifiedManifestBundlePersistence.js.map +1 -0
- package/data/sqlite/documentHistoryPersistence.d.ts +9 -3
- package/data/sqlite/documentHistoryPersistence.js +31 -8
- package/data/sqlite/documentHistoryPersistence.js.map +1 -1
- package/data/sqlite/documentPendingUpdatePersistence.d.ts +58 -11
- package/data/sqlite/documentPendingUpdatePersistence.js +137 -63
- package/data/sqlite/documentPendingUpdatePersistence.js.map +1 -1
- package/data/sqlite/documentPersistence.d.ts +1 -1
- package/data/sqlite/documentPersistence.js +1 -1
- package/data/sqlite/documentPersistence.js.map +1 -1
- package/data/sqlite/documentPersistenceTypes.d.ts +2 -2
- package/data/sqlite/documentPersistenceTypes.js.map +1 -1
- package/data/sqlite/documentRecordPersistence.js +5 -4
- package/data/sqlite/documentRecordPersistence.js.map +1 -1
- package/data/sqlite/schema.d.ts +350 -443
- package/data/sqlite/schema.js +49 -47
- package/data/sqlite/schema.js.map +1 -1
- package/data/sqlite/verifiedManifestBundleSchema.d.ts +174 -0
- package/data/sqlite/verifiedManifestBundleSchema.js +36 -0
- package/data/sqlite/verifiedManifestBundleSchema.js.map +1 -0
- package/internal/api-client/ApiClient.d.ts +17 -19
- package/internal/api-client/ApiClient.js +10 -11
- package/internal/api-client/ApiClient.js.map +1 -1
- package/internal/api-client/binaryRequestOperationTransport.d.ts +18 -0
- package/internal/api-client/index.d.ts +2 -1
- package/internal/api-client/index.js +1 -1
- package/internal/api-client/index.js.map +1 -1
- package/internal/api-client/operationTransportFactory.d.ts +6 -0
- package/internal/api-client/principalHistoryRequest.js +8 -2
- package/internal/api-client/principalHistoryRequest.js.map +1 -1
- package/internal/api-client/principalHistoryRequestContext.js +15 -5
- package/internal/api-client/principalHistoryRequestContext.js.map +1 -1
- package/internal/api-client/routes/blobs/get.d.ts +7 -0
- package/internal/api-client/routes/blobs/get.js.map +1 -1
- package/internal/api-client/routes/blobs/multipart.js +1 -11
- package/internal/api-client/routes/blobs/multipart.js.map +1 -1
- package/internal/api-client/routes/blobs/multipartUpload.d.ts +14 -0
- package/internal/api-client/routes/blobs/multipartUpload.js +94 -43
- package/internal/api-client/routes/blobs/multipartUpload.js.map +1 -1
- package/internal/api-client/routes/writerProjections.js +6 -3
- package/internal/api-client/routes/writerProjections.js.map +1 -1
- package/internal/api-client/verifiedManifestCitations.d.ts +23 -0
- package/internal/api-client/verifiedManifestCitations.js +60 -0
- package/internal/api-client/verifiedManifestCitations.js.map +1 -0
- package/internal/api-client/writerProjectionRequests.js +75 -14
- package/internal/api-client/writerProjectionRequests.js.map +1 -1
- package/internal/crypto/index.d.ts +0 -1
- package/internal/crypto/index.js +0 -1
- package/internal/crypto/index.js.map +1 -1
- package/internal/validators/knownManifestsRefinements.js +5 -0
- package/internal/validators/knownManifestsRefinements.js.map +1 -0
- package/internal/validators/operation/attachments.d.ts +80 -160
- package/internal/validators/operation/auth.d.ts +760 -1664
- package/internal/validators/operation/blobDownloads.js +1 -1
- package/internal/validators/operation/blobDownloads.js.map +1 -1
- package/internal/validators/operation/containerMutations.d.ts +416 -856
- package/internal/validators/operation/documentMutations.d.ts +120 -264
- package/internal/validators/operation/documentSync.d.ts +40 -80
- 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/multipartBlobs.d.ts +70 -190
- package/internal/validators/operation/multipartBlobs.js +2 -24
- package/internal/validators/operation/multipartBlobs.js.map +1 -1
- package/internal/validators/operation/multipartPartUploads.d.ts +5 -5
- package/internal/validators/operation/multipartPartUploads.js +6 -20
- package/internal/validators/operation/multipartPartUploads.js.map +1 -1
- package/internal/validators/operation/organizations.d.ts +882 -1906
- package/internal/validators/operation/principals.d.ts +120 -240
- package/internal/validators/operation/registry.d.ts +1 -2
- package/internal/validators/operation/registry.js +1 -2
- package/internal/validators/operation/registry.js.map +1 -1
- package/internal/validators/operation/writerProjections.d.ts +85 -319
- package/internal/validators/operation/writerProjections.js +11 -11
- package/internal/validators/operation/writerProjections.js.map +1 -1
- package/internal/validators/request/blob.d.ts +100 -201
- package/internal/validators/request/blob.js +6 -13
- package/internal/validators/request/blob.js.map +1 -1
- package/internal/validators/request/container.d.ts +136 -272
- package/internal/validators/request/container.js +16 -10
- package/internal/validators/request/container.js.map +1 -1
- package/internal/validators/request/containerManifestRef.d.ts +54 -0
- package/internal/validators/request/containerManifestRef.js +28 -0
- package/internal/validators/request/containerManifestRef.js.map +1 -0
- package/internal/validators/request/containerMetadata.d.ts +160 -368
- package/internal/validators/request/document.d.ts +100 -245
- package/internal/validators/request/document.js +1 -2
- package/internal/validators/request/document.js.map +1 -1
- package/internal/validators/request/documentSyncSchema.d.ts +42 -109
- package/internal/validators/request/documentSyncSchema.js +8 -25
- package/internal/validators/request/documentSyncSchema.js.map +1 -1
- package/internal/validators/request/index.d.ts +1 -1
- package/internal/validators/request/index.js +1 -1
- package/internal/validators/request/index.js.map +1 -1
- package/internal/validators/request/organization.d.ts +160 -320
- package/internal/validators/request/organizationProvisioning.d.ts +2424 -5312
- package/internal/validators/request/principal.d.ts +160 -320
- package/internal/validators/request/registration.d.ts +760 -1664
- package/internal/validators/response/blob.d.ts +48 -27
- package/internal/validators/response/blob.js +3 -10
- package/internal/validators/response/blob.js.map +1 -1
- package/internal/validators/response/container.d.ts +429 -20
- package/internal/validators/response/container.js +40 -5
- package/internal/validators/response/container.js.map +1 -1
- package/internal/validators/response/documentMutation.d.ts +440 -20
- package/internal/validators/response/documentMutation.js +33 -3
- package/internal/validators/response/documentMutation.js.map +1 -1
- package/internal/validators/response/index.d.ts +4 -3
- package/internal/validators/response/index.js +4 -3
- package/internal/validators/response/index.js.map +1 -1
- package/internal/validators/response/manifestBundleReferences.js +79 -0
- package/internal/validators/response/manifestBundleReferences.js.map +1 -0
- package/internal/validators/response/writerProjectionWire.d.ts +19 -0
- package/internal/validators/response/writerProjectionWire.js +132 -0
- package/internal/validators/response/writerProjectionWire.js.map +1 -0
- package/internal/validators/schema.js +20 -0
- package/internal/validators/schema.js.map +1 -1
- package/internal/validators/util/blob.d.ts +7 -0
- package/internal/validators/util/blob.js +7 -0
- package/internal/validators/util/blob.js.map +1 -1
- package/internal/validators/util/blobTransferSchemas.d.ts +41 -0
- package/internal/validators/util/blobTransferSchemas.js +39 -0
- package/internal/validators/util/blobTransferSchemas.js.map +1 -0
- package/internal/validators/util/containerLimits.d.ts +7 -0
- package/internal/validators/util/containerLimits.js +7 -0
- package/internal/validators/util/containerLimits.js.map +1 -1
- package/internal/validators/util/index.d.ts +3 -2
- package/internal/validators/util/index.js +3 -2
- package/internal/validators/util/index.js.map +1 -1
- package/internal/validators/util/knownManifestWire.d.ts +11 -0
- package/internal/validators/util/knownManifestWire.js +28 -0
- package/internal/validators/util/knownManifestWire.js.map +1 -0
- package/internal/validators/writerProjectionRefinements.js +5 -0
- package/internal/validators/writerProjectionRefinements.js.map +1 -1
- package/package.json +1 -1
- package/workflows/blobs/multipartFirstParts.js +82 -0
- package/workflows/blobs/multipartFirstParts.js.map +1 -0
- package/workflows/blobs/multipartStageResolution.js +83 -0
- package/workflows/blobs/multipartStageResolution.js.map +1 -0
- package/workflows/blobs/multipartUpload.js +45 -89
- package/workflows/blobs/multipartUpload.js.map +1 -1
- package/workflows/container-contents/documentPriming.js +2 -1
- package/workflows/container-contents/documentPriming.js.map +1 -1
- package/workflows/container-contents/documentQueries/sql.js +4 -4
- package/workflows/container-contents/documentQueries/sql.js.map +1 -1
- package/workflows/container-contents/pendingWrites/deferredTails.js +6 -3
- package/workflows/container-contents/pendingWrites/deferredTails.js.map +1 -1
- package/workflows/container-contents/pendingWrites/sources.js +2 -1
- package/workflows/container-contents/pendingWrites/sources.js.map +1 -1
- package/workflows/container-contents/pendingWrites.js +2 -1
- package/workflows/container-contents/pendingWrites.js.map +1 -1
- package/workflows/containers/child/create.js +3 -3
- package/workflows/containers/child/create.js.map +1 -1
- package/workflows/containers/child/move.js +2 -2
- package/workflows/containers/child/move.js.map +1 -1
- package/workflows/containers/child/mutationRequestCore.js +5 -4
- package/workflows/containers/child/mutationRequestCore.js.map +1 -1
- package/workflows/containers/child/recitePlan.js +3 -2
- package/workflows/containers/child/recitePlan.js.map +1 -1
- package/workflows/containers/child/sharePlanCore.js +2 -2
- package/workflows/containers/child/sharePlanCore.js.map +1 -1
- package/workflows/containers/root/create.js +2 -2
- package/workflows/containers/root/create.js.map +1 -1
- package/workflows/registration/provisioningBootstrapBuilders.d.ts +20 -51
- package/workflows/sync/remoteReset.js +11 -9
- package/workflows/sync/remoteReset.js.map +1 -1
- package/workflows/sync/remoteResetPlans.js +6 -3
- package/workflows/sync/remoteResetPlans.js.map +1 -1
- package/internal/api-client/projectionHistoryTransport.js +0 -107
- package/internal/api-client/projectionHistoryTransport.js.map +0 -1
- package/internal/api-client/verifiedProjectionHistory.d.ts +0 -4
- package/internal/api-client/verifiedProjectionHistory.js +0 -12
- package/internal/api-client/verifiedProjectionHistory.js.map +0 -1
- package/internal/crypto/projectionHistory.d.ts +0 -14
- package/internal/crypto/projectionHistory.js +0 -90
- package/internal/crypto/projectionHistory.js.map +0 -1
- package/internal/crypto/projectionHistorySlots.d.ts +0 -13
- package/internal/crypto/projectionHistorySlots.js +0 -81
- package/internal/crypto/projectionHistorySlots.js.map +0 -1
- package/internal/validators/operation/blobTransferSchemas.js +0 -11
- package/internal/validators/operation/blobTransferSchemas.js.map +0 -1
- package/internal/validators/projectionHistoryRefinements.js +0 -5
- package/internal/validators/projectionHistoryRefinements.js.map +0 -1
- package/internal/validators/util/projectionHistoryWire.d.ts +0 -23
- package/internal/validators/util/projectionHistoryWire.js +0 -33
- package/internal/validators/util/projectionHistoryWire.js.map +0 -1
package/data/sqlite/schema.d.ts
CHANGED
|
@@ -358,210 +358,11 @@ export declare const documents: import("drizzle-orm/sqlite-core").SQLiteTableWit
|
|
|
358
358
|
};
|
|
359
359
|
dialect: "sqlite";
|
|
360
360
|
}>;
|
|
361
|
-
/**
|
|
362
|
-
* Outbound Loro updates waiting to be accepted by sync.
|
|
363
|
-
*
|
|
364
|
-
* Each row stores one locally produced update for a document scope. The queue is
|
|
365
|
-
* replayed in creation order and acknowledged rows are deleted after sync
|
|
366
|
-
* writes the corresponding server commit or persisted document state.
|
|
367
|
-
*
|
|
368
|
-
* Columns:
|
|
369
|
-
* - `id`: Client-generated queue id used for acknowledgement deletes.
|
|
370
|
-
* - `appKind`: Local document namespace matching `documents.appKind`.
|
|
371
|
-
* - `localId`: Local document id matching `documents.localId`.
|
|
372
|
-
* - `updateData`: Serialized Loro update payload.
|
|
373
|
-
* - `partialStartVersionVector`: Version vector before this partial update.
|
|
374
|
-
* - `partialEndVersionVector`: Version vector after this partial update.
|
|
375
|
-
* - `sourceVersionVector`: Optional source vector used to avoid re-enqueuing
|
|
376
|
-
* updates that came from sync.
|
|
377
|
-
* - `createdAt`: Queue insertion timestamp used for deterministic replay.
|
|
378
|
-
*
|
|
379
|
-
* Indexes:
|
|
380
|
-
* - `id` is the primary key for targeted deletes.
|
|
381
|
-
* - `(appKind, localId, createdAt)` supports ordered pending-update scans for a
|
|
382
|
-
* document scope.
|
|
383
|
-
*/
|
|
384
|
-
export declare const documentPendingUpdates: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
385
|
-
name: "document_pending_updates";
|
|
386
|
-
schema: undefined;
|
|
387
|
-
columns: {
|
|
388
|
-
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
389
|
-
name: "id";
|
|
390
|
-
tableName: "document_pending_updates";
|
|
391
|
-
dataType: "string";
|
|
392
|
-
columnType: "SQLiteText";
|
|
393
|
-
data: string;
|
|
394
|
-
driverParam: string;
|
|
395
|
-
notNull: false;
|
|
396
|
-
hasDefault: false;
|
|
397
|
-
isPrimaryKey: false;
|
|
398
|
-
isAutoincrement: false;
|
|
399
|
-
hasRuntimeDefault: false;
|
|
400
|
-
enumValues: [string, ...string[]];
|
|
401
|
-
baseColumn: never;
|
|
402
|
-
identity: undefined;
|
|
403
|
-
generated: undefined;
|
|
404
|
-
}, {}, {
|
|
405
|
-
length: number | undefined;
|
|
406
|
-
}>;
|
|
407
|
-
appKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
408
|
-
name: "app_kind";
|
|
409
|
-
tableName: "document_pending_updates";
|
|
410
|
-
dataType: "string";
|
|
411
|
-
columnType: "SQLiteText";
|
|
412
|
-
data: string;
|
|
413
|
-
driverParam: string;
|
|
414
|
-
notNull: true;
|
|
415
|
-
hasDefault: false;
|
|
416
|
-
isPrimaryKey: false;
|
|
417
|
-
isAutoincrement: false;
|
|
418
|
-
hasRuntimeDefault: false;
|
|
419
|
-
enumValues: [string, ...string[]];
|
|
420
|
-
baseColumn: never;
|
|
421
|
-
identity: undefined;
|
|
422
|
-
generated: undefined;
|
|
423
|
-
}, {}, {
|
|
424
|
-
length: number | undefined;
|
|
425
|
-
}>;
|
|
426
|
-
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
427
|
-
name: "local_id";
|
|
428
|
-
tableName: "document_pending_updates";
|
|
429
|
-
dataType: "string";
|
|
430
|
-
columnType: "SQLiteText";
|
|
431
|
-
data: string;
|
|
432
|
-
driverParam: string;
|
|
433
|
-
notNull: true;
|
|
434
|
-
hasDefault: false;
|
|
435
|
-
isPrimaryKey: false;
|
|
436
|
-
isAutoincrement: false;
|
|
437
|
-
hasRuntimeDefault: false;
|
|
438
|
-
enumValues: [string, ...string[]];
|
|
439
|
-
baseColumn: never;
|
|
440
|
-
identity: undefined;
|
|
441
|
-
generated: undefined;
|
|
442
|
-
}, {}, {
|
|
443
|
-
length: number | undefined;
|
|
444
|
-
}>;
|
|
445
|
-
updateData: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
446
|
-
name: "update_data";
|
|
447
|
-
tableName: "document_pending_updates";
|
|
448
|
-
dataType: "string";
|
|
449
|
-
columnType: "SQLiteText";
|
|
450
|
-
data: string;
|
|
451
|
-
driverParam: string;
|
|
452
|
-
notNull: true;
|
|
453
|
-
hasDefault: false;
|
|
454
|
-
isPrimaryKey: false;
|
|
455
|
-
isAutoincrement: false;
|
|
456
|
-
hasRuntimeDefault: false;
|
|
457
|
-
enumValues: [string, ...string[]];
|
|
458
|
-
baseColumn: never;
|
|
459
|
-
identity: undefined;
|
|
460
|
-
generated: undefined;
|
|
461
|
-
}, {}, {
|
|
462
|
-
length: number | undefined;
|
|
463
|
-
}>;
|
|
464
|
-
partialStartVersionVector: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
465
|
-
name: "partial_start_version_vector";
|
|
466
|
-
tableName: "document_pending_updates";
|
|
467
|
-
dataType: "string";
|
|
468
|
-
columnType: "SQLiteText";
|
|
469
|
-
data: string;
|
|
470
|
-
driverParam: string;
|
|
471
|
-
notNull: true;
|
|
472
|
-
hasDefault: false;
|
|
473
|
-
isPrimaryKey: false;
|
|
474
|
-
isAutoincrement: false;
|
|
475
|
-
hasRuntimeDefault: false;
|
|
476
|
-
enumValues: [string, ...string[]];
|
|
477
|
-
baseColumn: never;
|
|
478
|
-
identity: undefined;
|
|
479
|
-
generated: undefined;
|
|
480
|
-
}, {}, {
|
|
481
|
-
length: number | undefined;
|
|
482
|
-
}>;
|
|
483
|
-
partialEndVersionVector: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
484
|
-
name: "partial_end_version_vector";
|
|
485
|
-
tableName: "document_pending_updates";
|
|
486
|
-
dataType: "string";
|
|
487
|
-
columnType: "SQLiteText";
|
|
488
|
-
data: string;
|
|
489
|
-
driverParam: string;
|
|
490
|
-
notNull: true;
|
|
491
|
-
hasDefault: false;
|
|
492
|
-
isPrimaryKey: false;
|
|
493
|
-
isAutoincrement: false;
|
|
494
|
-
hasRuntimeDefault: false;
|
|
495
|
-
enumValues: [string, ...string[]];
|
|
496
|
-
baseColumn: never;
|
|
497
|
-
identity: undefined;
|
|
498
|
-
generated: undefined;
|
|
499
|
-
}, {}, {
|
|
500
|
-
length: number | undefined;
|
|
501
|
-
}>;
|
|
502
|
-
sourceVersionVector: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
503
|
-
name: "source_version_vector";
|
|
504
|
-
tableName: "document_pending_updates";
|
|
505
|
-
dataType: "string";
|
|
506
|
-
columnType: "SQLiteText";
|
|
507
|
-
data: string;
|
|
508
|
-
driverParam: string;
|
|
509
|
-
notNull: false;
|
|
510
|
-
hasDefault: false;
|
|
511
|
-
isPrimaryKey: false;
|
|
512
|
-
isAutoincrement: false;
|
|
513
|
-
hasRuntimeDefault: false;
|
|
514
|
-
enumValues: [string, ...string[]];
|
|
515
|
-
baseColumn: never;
|
|
516
|
-
identity: undefined;
|
|
517
|
-
generated: undefined;
|
|
518
|
-
}, {}, {
|
|
519
|
-
length: number | undefined;
|
|
520
|
-
}>;
|
|
521
|
-
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
522
|
-
name: "created_at";
|
|
523
|
-
tableName: "document_pending_updates";
|
|
524
|
-
dataType: "string";
|
|
525
|
-
columnType: "SQLiteText";
|
|
526
|
-
data: string;
|
|
527
|
-
driverParam: string;
|
|
528
|
-
notNull: true;
|
|
529
|
-
hasDefault: false;
|
|
530
|
-
isPrimaryKey: false;
|
|
531
|
-
isAutoincrement: false;
|
|
532
|
-
hasRuntimeDefault: false;
|
|
533
|
-
enumValues: [string, ...string[]];
|
|
534
|
-
baseColumn: never;
|
|
535
|
-
identity: undefined;
|
|
536
|
-
generated: undefined;
|
|
537
|
-
}, {}, {
|
|
538
|
-
length: number | undefined;
|
|
539
|
-
}>;
|
|
540
|
-
rekeyCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
541
|
-
name: "rekey_count";
|
|
542
|
-
tableName: "document_pending_updates";
|
|
543
|
-
dataType: "number";
|
|
544
|
-
columnType: "SQLiteInteger";
|
|
545
|
-
data: number;
|
|
546
|
-
driverParam: number;
|
|
547
|
-
notNull: true;
|
|
548
|
-
hasDefault: true;
|
|
549
|
-
isPrimaryKey: false;
|
|
550
|
-
isAutoincrement: false;
|
|
551
|
-
hasRuntimeDefault: false;
|
|
552
|
-
enumValues: undefined;
|
|
553
|
-
baseColumn: never;
|
|
554
|
-
identity: undefined;
|
|
555
|
-
generated: undefined;
|
|
556
|
-
}, {}, {}>;
|
|
557
|
-
};
|
|
558
|
-
dialect: "sqlite";
|
|
559
|
-
}>;
|
|
560
361
|
/**
|
|
561
362
|
* Last terminal sync failure or quarantined incoming update per document scope.
|
|
562
363
|
*
|
|
563
|
-
* The durable write queue (`
|
|
564
|
-
* row is either
|
|
364
|
+
* The durable write queue (queued rows of `documentHistoryUpdates`) has no
|
|
365
|
+
* status columns — a row is either queued or settled. Terminal submissions and
|
|
565
366
|
* incoming updates that cannot be decrypted or imported are recorded here so
|
|
566
367
|
* the write-queue view and footer can surface why the document is blocked.
|
|
567
368
|
* Rows are upserted per scope and deleted only after a later fully validated
|
|
@@ -809,6 +610,38 @@ export declare const documentHistoryCheckpoints: import("drizzle-orm/sqlite-core
|
|
|
809
610
|
};
|
|
810
611
|
dialect: "sqlite";
|
|
811
612
|
}>;
|
|
613
|
+
/**
|
|
614
|
+
* The local update log: one row per Loro update, serving as both the history
|
|
615
|
+
* tail (restore = checkpoint + tail) and the outbound write queue.
|
|
616
|
+
*
|
|
617
|
+
* Every locally authored update is stored once. While it waits for sync it
|
|
618
|
+
* carries an `updateId` (the id submitted to the server) and the version-vector
|
|
619
|
+
* metadata the submission needs; settlement clears them, leaving the row as
|
|
620
|
+
* ordinary tail history until compaction folds it into a checkpoint.
|
|
621
|
+
*
|
|
622
|
+
* Columns:
|
|
623
|
+
* - `id`: Row id; tail compaction deletes by it.
|
|
624
|
+
* - `appKind`, `localId`: Document scope matching `documents`.
|
|
625
|
+
* - `updateData`: Serialized Loro update payload.
|
|
626
|
+
* - `origin`: "local" (authored on this device) or "remote" (decrypted
|
|
627
|
+
* pulled update) for tail rows. Restores use it to advance the
|
|
628
|
+
* outgoing-delta marker across remote rows — their ops are already
|
|
629
|
+
* server-side — while a local row left behind by a crash stays below the
|
|
630
|
+
* marker so the next edit re-derives and sends it. "outbox" marks a queued
|
|
631
|
+
* update with no tail role (container metadata, whose content is its
|
|
632
|
+
* checkpoint, and full-state re-uploads after a remote reset); restores and
|
|
633
|
+
* compaction never see it and settlement deletes it.
|
|
634
|
+
* - `createdAt`: Insertion timestamp; with `rowid`, deterministic replay order.
|
|
635
|
+
* - `updateId`: Present exactly while the row is queued for sync; rekeyed
|
|
636
|
+
* after a lost acknowledgement poisons the submitted id.
|
|
637
|
+
* - `partialStartVersionVector` / `partialEndVersionVector`: Version vectors
|
|
638
|
+
* around a queued partial update.
|
|
639
|
+
* - `sourceVersionVector`: Present on a queued rotation baseline checkpoint.
|
|
640
|
+
* - `rekeyCount`: Durable bound on rekeys of a queued row.
|
|
641
|
+
*
|
|
642
|
+
* Invariant: compaction never deletes a queued row, so a checkpoint can cover
|
|
643
|
+
* a queued update's operations without removing it from the queue.
|
|
644
|
+
*/
|
|
812
645
|
export declare const documentHistoryUpdates: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
813
646
|
name: "document_history_updates";
|
|
814
647
|
schema: undefined;
|
|
@@ -927,6 +760,99 @@ export declare const documentHistoryUpdates: import("drizzle-orm/sqlite-core").S
|
|
|
927
760
|
}, {}, {
|
|
928
761
|
length: number | undefined;
|
|
929
762
|
}>;
|
|
763
|
+
updateId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
764
|
+
name: "update_id";
|
|
765
|
+
tableName: "document_history_updates";
|
|
766
|
+
dataType: "string";
|
|
767
|
+
columnType: "SQLiteText";
|
|
768
|
+
data: string;
|
|
769
|
+
driverParam: string;
|
|
770
|
+
notNull: false;
|
|
771
|
+
hasDefault: false;
|
|
772
|
+
isPrimaryKey: false;
|
|
773
|
+
isAutoincrement: false;
|
|
774
|
+
hasRuntimeDefault: false;
|
|
775
|
+
enumValues: [string, ...string[]];
|
|
776
|
+
baseColumn: never;
|
|
777
|
+
identity: undefined;
|
|
778
|
+
generated: undefined;
|
|
779
|
+
}, {}, {
|
|
780
|
+
length: number | undefined;
|
|
781
|
+
}>;
|
|
782
|
+
partialStartVersionVector: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
783
|
+
name: "partial_start_version_vector";
|
|
784
|
+
tableName: "document_history_updates";
|
|
785
|
+
dataType: "string";
|
|
786
|
+
columnType: "SQLiteText";
|
|
787
|
+
data: string;
|
|
788
|
+
driverParam: string;
|
|
789
|
+
notNull: false;
|
|
790
|
+
hasDefault: false;
|
|
791
|
+
isPrimaryKey: false;
|
|
792
|
+
isAutoincrement: false;
|
|
793
|
+
hasRuntimeDefault: false;
|
|
794
|
+
enumValues: [string, ...string[]];
|
|
795
|
+
baseColumn: never;
|
|
796
|
+
identity: undefined;
|
|
797
|
+
generated: undefined;
|
|
798
|
+
}, {}, {
|
|
799
|
+
length: number | undefined;
|
|
800
|
+
}>;
|
|
801
|
+
partialEndVersionVector: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
802
|
+
name: "partial_end_version_vector";
|
|
803
|
+
tableName: "document_history_updates";
|
|
804
|
+
dataType: "string";
|
|
805
|
+
columnType: "SQLiteText";
|
|
806
|
+
data: string;
|
|
807
|
+
driverParam: string;
|
|
808
|
+
notNull: false;
|
|
809
|
+
hasDefault: false;
|
|
810
|
+
isPrimaryKey: false;
|
|
811
|
+
isAutoincrement: false;
|
|
812
|
+
hasRuntimeDefault: false;
|
|
813
|
+
enumValues: [string, ...string[]];
|
|
814
|
+
baseColumn: never;
|
|
815
|
+
identity: undefined;
|
|
816
|
+
generated: undefined;
|
|
817
|
+
}, {}, {
|
|
818
|
+
length: number | undefined;
|
|
819
|
+
}>;
|
|
820
|
+
sourceVersionVector: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
821
|
+
name: "source_version_vector";
|
|
822
|
+
tableName: "document_history_updates";
|
|
823
|
+
dataType: "string";
|
|
824
|
+
columnType: "SQLiteText";
|
|
825
|
+
data: string;
|
|
826
|
+
driverParam: string;
|
|
827
|
+
notNull: false;
|
|
828
|
+
hasDefault: false;
|
|
829
|
+
isPrimaryKey: false;
|
|
830
|
+
isAutoincrement: false;
|
|
831
|
+
hasRuntimeDefault: false;
|
|
832
|
+
enumValues: [string, ...string[]];
|
|
833
|
+
baseColumn: never;
|
|
834
|
+
identity: undefined;
|
|
835
|
+
generated: undefined;
|
|
836
|
+
}, {}, {
|
|
837
|
+
length: number | undefined;
|
|
838
|
+
}>;
|
|
839
|
+
rekeyCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
840
|
+
name: "rekey_count";
|
|
841
|
+
tableName: "document_history_updates";
|
|
842
|
+
dataType: "number";
|
|
843
|
+
columnType: "SQLiteInteger";
|
|
844
|
+
data: number;
|
|
845
|
+
driverParam: number;
|
|
846
|
+
notNull: true;
|
|
847
|
+
hasDefault: true;
|
|
848
|
+
isPrimaryKey: false;
|
|
849
|
+
isAutoincrement: false;
|
|
850
|
+
hasRuntimeDefault: false;
|
|
851
|
+
enumValues: undefined;
|
|
852
|
+
baseColumn: never;
|
|
853
|
+
identity: undefined;
|
|
854
|
+
generated: undefined;
|
|
855
|
+
}, {}, {}>;
|
|
930
856
|
};
|
|
931
857
|
dialect: "sqlite";
|
|
932
858
|
}>;
|
|
@@ -7489,184 +7415,15 @@ export declare const clientSQLiteSchema: {
|
|
|
7489
7415
|
documents: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
7490
7416
|
name: "documents";
|
|
7491
7417
|
schema: undefined;
|
|
7492
|
-
columns: {
|
|
7493
|
-
appKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7494
|
-
name: "app_kind";
|
|
7495
|
-
tableName: "documents";
|
|
7496
|
-
dataType: "string";
|
|
7497
|
-
columnType: "SQLiteText";
|
|
7498
|
-
data: string;
|
|
7499
|
-
driverParam: string;
|
|
7500
|
-
notNull: true;
|
|
7501
|
-
hasDefault: false;
|
|
7502
|
-
isPrimaryKey: false;
|
|
7503
|
-
isAutoincrement: false;
|
|
7504
|
-
hasRuntimeDefault: false;
|
|
7505
|
-
enumValues: [string, ...string[]];
|
|
7506
|
-
baseColumn: never;
|
|
7507
|
-
identity: undefined;
|
|
7508
|
-
generated: undefined;
|
|
7509
|
-
}, {}, {
|
|
7510
|
-
length: number | undefined;
|
|
7511
|
-
}>;
|
|
7512
|
-
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7513
|
-
name: "local_id";
|
|
7514
|
-
tableName: "documents";
|
|
7515
|
-
dataType: "string";
|
|
7516
|
-
columnType: "SQLiteText";
|
|
7517
|
-
data: string;
|
|
7518
|
-
driverParam: string;
|
|
7519
|
-
notNull: true;
|
|
7520
|
-
hasDefault: false;
|
|
7521
|
-
isPrimaryKey: false;
|
|
7522
|
-
isAutoincrement: false;
|
|
7523
|
-
hasRuntimeDefault: false;
|
|
7524
|
-
enumValues: [string, ...string[]];
|
|
7525
|
-
baseColumn: never;
|
|
7526
|
-
identity: undefined;
|
|
7527
|
-
generated: undefined;
|
|
7528
|
-
}, {}, {
|
|
7529
|
-
length: number | undefined;
|
|
7530
|
-
}>;
|
|
7531
|
-
documentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7532
|
-
name: "document_id";
|
|
7533
|
-
tableName: "documents";
|
|
7534
|
-
dataType: "string";
|
|
7535
|
-
columnType: "SQLiteText";
|
|
7536
|
-
data: string;
|
|
7537
|
-
driverParam: string;
|
|
7538
|
-
notNull: false;
|
|
7539
|
-
hasDefault: false;
|
|
7540
|
-
isPrimaryKey: false;
|
|
7541
|
-
isAutoincrement: false;
|
|
7542
|
-
hasRuntimeDefault: false;
|
|
7543
|
-
enumValues: [string, ...string[]];
|
|
7544
|
-
baseColumn: never;
|
|
7545
|
-
identity: undefined;
|
|
7546
|
-
generated: undefined;
|
|
7547
|
-
}, {}, {
|
|
7548
|
-
length: number | undefined;
|
|
7549
|
-
}>;
|
|
7550
|
-
accessEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7551
|
-
name: "access_epoch";
|
|
7552
|
-
tableName: "documents";
|
|
7553
|
-
dataType: "number";
|
|
7554
|
-
columnType: "SQLiteInteger";
|
|
7555
|
-
data: number;
|
|
7556
|
-
driverParam: number;
|
|
7557
|
-
notNull: true;
|
|
7558
|
-
hasDefault: true;
|
|
7559
|
-
isPrimaryKey: false;
|
|
7560
|
-
isAutoincrement: false;
|
|
7561
|
-
hasRuntimeDefault: false;
|
|
7562
|
-
enumValues: undefined;
|
|
7563
|
-
baseColumn: never;
|
|
7564
|
-
identity: undefined;
|
|
7565
|
-
generated: undefined;
|
|
7566
|
-
}, {}, {}>;
|
|
7567
|
-
accessStateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7568
|
-
name: "access_state_hash";
|
|
7569
|
-
tableName: "documents";
|
|
7570
|
-
dataType: "string";
|
|
7571
|
-
columnType: "SQLiteText";
|
|
7572
|
-
data: string;
|
|
7573
|
-
driverParam: string;
|
|
7574
|
-
notNull: false;
|
|
7575
|
-
hasDefault: false;
|
|
7576
|
-
isPrimaryKey: false;
|
|
7577
|
-
isAutoincrement: false;
|
|
7578
|
-
hasRuntimeDefault: false;
|
|
7579
|
-
enumValues: [string, ...string[]];
|
|
7580
|
-
baseColumn: never;
|
|
7581
|
-
identity: undefined;
|
|
7582
|
-
generated: undefined;
|
|
7583
|
-
}, {}, {
|
|
7584
|
-
length: number | undefined;
|
|
7585
|
-
}>;
|
|
7586
|
-
effectiveAccessLevel: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7587
|
-
name: "effective_access_level";
|
|
7588
|
-
tableName: "documents";
|
|
7589
|
-
dataType: "string";
|
|
7590
|
-
columnType: "SQLiteText";
|
|
7591
|
-
data: string;
|
|
7592
|
-
driverParam: string;
|
|
7593
|
-
notNull: true;
|
|
7594
|
-
hasDefault: true;
|
|
7595
|
-
isPrimaryKey: false;
|
|
7596
|
-
isAutoincrement: false;
|
|
7597
|
-
hasRuntimeDefault: false;
|
|
7598
|
-
enumValues: [string, ...string[]];
|
|
7599
|
-
baseColumn: never;
|
|
7600
|
-
identity: undefined;
|
|
7601
|
-
generated: undefined;
|
|
7602
|
-
}, {}, {
|
|
7603
|
-
length: number | undefined;
|
|
7604
|
-
}>;
|
|
7605
|
-
lastCommitLsn: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7606
|
-
name: "last_commit_lsn";
|
|
7607
|
-
tableName: "documents";
|
|
7608
|
-
dataType: "string";
|
|
7609
|
-
columnType: "SQLiteText";
|
|
7610
|
-
data: string;
|
|
7611
|
-
driverParam: string;
|
|
7612
|
-
notNull: false;
|
|
7613
|
-
hasDefault: false;
|
|
7614
|
-
isPrimaryKey: false;
|
|
7615
|
-
isAutoincrement: false;
|
|
7616
|
-
hasRuntimeDefault: false;
|
|
7617
|
-
enumValues: [string, ...string[]];
|
|
7618
|
-
baseColumn: never;
|
|
7619
|
-
identity: undefined;
|
|
7620
|
-
generated: undefined;
|
|
7621
|
-
}, {}, {
|
|
7622
|
-
length: number | undefined;
|
|
7623
|
-
}>;
|
|
7624
|
-
documentManifestBundle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7625
|
-
name: "document_manifest_bundle";
|
|
7626
|
-
tableName: "documents";
|
|
7627
|
-
dataType: "string";
|
|
7628
|
-
columnType: "SQLiteText";
|
|
7629
|
-
data: string;
|
|
7630
|
-
driverParam: string;
|
|
7631
|
-
notNull: false;
|
|
7632
|
-
hasDefault: false;
|
|
7633
|
-
isPrimaryKey: false;
|
|
7634
|
-
isAutoincrement: false;
|
|
7635
|
-
hasRuntimeDefault: false;
|
|
7636
|
-
enumValues: [string, ...string[]];
|
|
7637
|
-
baseColumn: never;
|
|
7638
|
-
identity: undefined;
|
|
7639
|
-
generated: undefined;
|
|
7640
|
-
}, {}, {
|
|
7641
|
-
length: number | undefined;
|
|
7642
|
-
}>;
|
|
7643
|
-
contentKeyBundle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7644
|
-
name: "content_key_bundle";
|
|
7645
|
-
tableName: "documents";
|
|
7646
|
-
dataType: "string";
|
|
7647
|
-
columnType: "SQLiteText";
|
|
7648
|
-
data: string;
|
|
7649
|
-
driverParam: string;
|
|
7650
|
-
notNull: false;
|
|
7651
|
-
hasDefault: false;
|
|
7652
|
-
isPrimaryKey: false;
|
|
7653
|
-
isAutoincrement: false;
|
|
7654
|
-
hasRuntimeDefault: false;
|
|
7655
|
-
enumValues: [string, ...string[]];
|
|
7656
|
-
baseColumn: never;
|
|
7657
|
-
identity: undefined;
|
|
7658
|
-
generated: undefined;
|
|
7659
|
-
}, {}, {
|
|
7660
|
-
length: number | undefined;
|
|
7661
|
-
}>;
|
|
7662
|
-
documentKekTargets: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7663
|
-
name: "document_kek_targets";
|
|
7418
|
+
columns: {
|
|
7419
|
+
appKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7420
|
+
name: "app_kind";
|
|
7664
7421
|
tableName: "documents";
|
|
7665
7422
|
dataType: "string";
|
|
7666
7423
|
columnType: "SQLiteText";
|
|
7667
7424
|
data: string;
|
|
7668
7425
|
driverParam: string;
|
|
7669
|
-
notNull:
|
|
7426
|
+
notNull: true;
|
|
7670
7427
|
hasDefault: false;
|
|
7671
7428
|
isPrimaryKey: false;
|
|
7672
7429
|
isAutoincrement: false;
|
|
@@ -7678,14 +7435,14 @@ export declare const clientSQLiteSchema: {
|
|
|
7678
7435
|
}, {}, {
|
|
7679
7436
|
length: number | undefined;
|
|
7680
7437
|
}>;
|
|
7681
|
-
|
|
7682
|
-
name: "
|
|
7438
|
+
localId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7439
|
+
name: "local_id";
|
|
7683
7440
|
tableName: "documents";
|
|
7684
7441
|
dataType: "string";
|
|
7685
7442
|
columnType: "SQLiteText";
|
|
7686
7443
|
data: string;
|
|
7687
7444
|
driverParam: string;
|
|
7688
|
-
notNull:
|
|
7445
|
+
notNull: true;
|
|
7689
7446
|
hasDefault: false;
|
|
7690
7447
|
isPrimaryKey: false;
|
|
7691
7448
|
isAutoincrement: false;
|
|
@@ -7697,8 +7454,8 @@ export declare const clientSQLiteSchema: {
|
|
|
7697
7454
|
}, {}, {
|
|
7698
7455
|
length: number | undefined;
|
|
7699
7456
|
}>;
|
|
7700
|
-
|
|
7701
|
-
name: "
|
|
7457
|
+
documentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7458
|
+
name: "document_id";
|
|
7702
7459
|
tableName: "documents";
|
|
7703
7460
|
dataType: "string";
|
|
7704
7461
|
columnType: "SQLiteText";
|
|
@@ -7716,8 +7473,8 @@ export declare const clientSQLiteSchema: {
|
|
|
7716
7473
|
}, {}, {
|
|
7717
7474
|
length: number | undefined;
|
|
7718
7475
|
}>;
|
|
7719
|
-
|
|
7720
|
-
name: "
|
|
7476
|
+
accessEpoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7477
|
+
name: "access_epoch";
|
|
7721
7478
|
tableName: "documents";
|
|
7722
7479
|
dataType: "number";
|
|
7723
7480
|
columnType: "SQLiteInteger";
|
|
@@ -7733,8 +7490,8 @@ export declare const clientSQLiteSchema: {
|
|
|
7733
7490
|
identity: undefined;
|
|
7734
7491
|
generated: undefined;
|
|
7735
7492
|
}, {}, {}>;
|
|
7736
|
-
|
|
7737
|
-
name: "
|
|
7493
|
+
accessStateHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7494
|
+
name: "access_state_hash";
|
|
7738
7495
|
tableName: "documents";
|
|
7739
7496
|
dataType: "string";
|
|
7740
7497
|
columnType: "SQLiteText";
|
|
@@ -7752,8 +7509,8 @@ export declare const clientSQLiteSchema: {
|
|
|
7752
7509
|
}, {}, {
|
|
7753
7510
|
length: number | undefined;
|
|
7754
7511
|
}>;
|
|
7755
|
-
|
|
7756
|
-
name: "
|
|
7512
|
+
effectiveAccessLevel: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7513
|
+
name: "effective_access_level";
|
|
7757
7514
|
tableName: "documents";
|
|
7758
7515
|
dataType: "string";
|
|
7759
7516
|
columnType: "SQLiteText";
|
|
@@ -7771,14 +7528,14 @@ export declare const clientSQLiteSchema: {
|
|
|
7771
7528
|
}, {}, {
|
|
7772
7529
|
length: number | undefined;
|
|
7773
7530
|
}>;
|
|
7774
|
-
|
|
7775
|
-
name: "
|
|
7531
|
+
lastCommitLsn: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7532
|
+
name: "last_commit_lsn";
|
|
7776
7533
|
tableName: "documents";
|
|
7777
7534
|
dataType: "string";
|
|
7778
7535
|
columnType: "SQLiteText";
|
|
7779
7536
|
data: string;
|
|
7780
7537
|
driverParam: string;
|
|
7781
|
-
notNull:
|
|
7538
|
+
notNull: false;
|
|
7782
7539
|
hasDefault: false;
|
|
7783
7540
|
isPrimaryKey: false;
|
|
7784
7541
|
isAutoincrement: false;
|
|
@@ -7790,16 +7547,9 @@ export declare const clientSQLiteSchema: {
|
|
|
7790
7547
|
}, {}, {
|
|
7791
7548
|
length: number | undefined;
|
|
7792
7549
|
}>;
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
documentPendingUpdates: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
7797
|
-
name: "document_pending_updates";
|
|
7798
|
-
schema: undefined;
|
|
7799
|
-
columns: {
|
|
7800
|
-
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7801
|
-
name: "id";
|
|
7802
|
-
tableName: "document_pending_updates";
|
|
7550
|
+
documentManifestBundle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7551
|
+
name: "document_manifest_bundle";
|
|
7552
|
+
tableName: "documents";
|
|
7803
7553
|
dataType: "string";
|
|
7804
7554
|
columnType: "SQLiteText";
|
|
7805
7555
|
data: string;
|
|
@@ -7816,14 +7566,14 @@ export declare const clientSQLiteSchema: {
|
|
|
7816
7566
|
}, {}, {
|
|
7817
7567
|
length: number | undefined;
|
|
7818
7568
|
}>;
|
|
7819
|
-
|
|
7820
|
-
name: "
|
|
7821
|
-
tableName: "
|
|
7569
|
+
contentKeyBundle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7570
|
+
name: "content_key_bundle";
|
|
7571
|
+
tableName: "documents";
|
|
7822
7572
|
dataType: "string";
|
|
7823
7573
|
columnType: "SQLiteText";
|
|
7824
7574
|
data: string;
|
|
7825
7575
|
driverParam: string;
|
|
7826
|
-
notNull:
|
|
7576
|
+
notNull: false;
|
|
7827
7577
|
hasDefault: false;
|
|
7828
7578
|
isPrimaryKey: false;
|
|
7829
7579
|
isAutoincrement: false;
|
|
@@ -7835,14 +7585,14 @@ export declare const clientSQLiteSchema: {
|
|
|
7835
7585
|
}, {}, {
|
|
7836
7586
|
length: number | undefined;
|
|
7837
7587
|
}>;
|
|
7838
|
-
|
|
7839
|
-
name: "
|
|
7840
|
-
tableName: "
|
|
7588
|
+
documentKekTargets: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7589
|
+
name: "document_kek_targets";
|
|
7590
|
+
tableName: "documents";
|
|
7841
7591
|
dataType: "string";
|
|
7842
7592
|
columnType: "SQLiteText";
|
|
7843
7593
|
data: string;
|
|
7844
7594
|
driverParam: string;
|
|
7845
|
-
notNull:
|
|
7595
|
+
notNull: false;
|
|
7846
7596
|
hasDefault: false;
|
|
7847
7597
|
isPrimaryKey: false;
|
|
7848
7598
|
isAutoincrement: false;
|
|
@@ -7854,14 +7604,14 @@ export declare const clientSQLiteSchema: {
|
|
|
7854
7604
|
}, {}, {
|
|
7855
7605
|
length: number | undefined;
|
|
7856
7606
|
}>;
|
|
7857
|
-
|
|
7858
|
-
name: "
|
|
7859
|
-
tableName: "
|
|
7607
|
+
pendingBaseVersion: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7608
|
+
name: "pending_base_version";
|
|
7609
|
+
tableName: "documents";
|
|
7860
7610
|
dataType: "string";
|
|
7861
7611
|
columnType: "SQLiteText";
|
|
7862
7612
|
data: string;
|
|
7863
7613
|
driverParam: string;
|
|
7864
|
-
notNull:
|
|
7614
|
+
notNull: false;
|
|
7865
7615
|
hasDefault: false;
|
|
7866
7616
|
isPrimaryKey: false;
|
|
7867
7617
|
isAutoincrement: false;
|
|
@@ -7873,14 +7623,14 @@ export declare const clientSQLiteSchema: {
|
|
|
7873
7623
|
}, {}, {
|
|
7874
7624
|
length: number | undefined;
|
|
7875
7625
|
}>;
|
|
7876
|
-
|
|
7877
|
-
name: "
|
|
7878
|
-
tableName: "
|
|
7626
|
+
pullContinuation: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7627
|
+
name: "pull_continuation";
|
|
7628
|
+
tableName: "documents";
|
|
7879
7629
|
dataType: "string";
|
|
7880
7630
|
columnType: "SQLiteText";
|
|
7881
7631
|
data: string;
|
|
7882
7632
|
driverParam: string;
|
|
7883
|
-
notNull:
|
|
7633
|
+
notNull: false;
|
|
7884
7634
|
hasDefault: false;
|
|
7885
7635
|
isPrimaryKey: false;
|
|
7886
7636
|
isAutoincrement: false;
|
|
@@ -7892,28 +7642,26 @@ export declare const clientSQLiteSchema: {
|
|
|
7892
7642
|
}, {}, {
|
|
7893
7643
|
length: number | undefined;
|
|
7894
7644
|
}>;
|
|
7895
|
-
|
|
7896
|
-
name: "
|
|
7897
|
-
tableName: "
|
|
7898
|
-
dataType: "
|
|
7899
|
-
columnType: "
|
|
7900
|
-
data:
|
|
7901
|
-
driverParam:
|
|
7645
|
+
recoveryGeneration: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7646
|
+
name: "recovery_generation";
|
|
7647
|
+
tableName: "documents";
|
|
7648
|
+
dataType: "number";
|
|
7649
|
+
columnType: "SQLiteInteger";
|
|
7650
|
+
data: number;
|
|
7651
|
+
driverParam: number;
|
|
7902
7652
|
notNull: true;
|
|
7903
|
-
hasDefault:
|
|
7653
|
+
hasDefault: true;
|
|
7904
7654
|
isPrimaryKey: false;
|
|
7905
7655
|
isAutoincrement: false;
|
|
7906
7656
|
hasRuntimeDefault: false;
|
|
7907
|
-
enumValues:
|
|
7657
|
+
enumValues: undefined;
|
|
7908
7658
|
baseColumn: never;
|
|
7909
7659
|
identity: undefined;
|
|
7910
7660
|
generated: undefined;
|
|
7911
|
-
}, {}, {
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
name: "source_version_vector";
|
|
7916
|
-
tableName: "document_pending_updates";
|
|
7661
|
+
}, {}, {}>;
|
|
7662
|
+
recoveryDocumentId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7663
|
+
name: "recovery_document_id";
|
|
7664
|
+
tableName: "documents";
|
|
7917
7665
|
dataType: "string";
|
|
7918
7666
|
columnType: "SQLiteText";
|
|
7919
7667
|
data: string;
|
|
@@ -7930,15 +7678,15 @@ export declare const clientSQLiteSchema: {
|
|
|
7930
7678
|
}, {}, {
|
|
7931
7679
|
length: number | undefined;
|
|
7932
7680
|
}>;
|
|
7933
|
-
|
|
7934
|
-
name: "
|
|
7935
|
-
tableName: "
|
|
7681
|
+
snapshotEndVersion: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7682
|
+
name: "snapshot_end_version";
|
|
7683
|
+
tableName: "documents";
|
|
7936
7684
|
dataType: "string";
|
|
7937
7685
|
columnType: "SQLiteText";
|
|
7938
7686
|
data: string;
|
|
7939
7687
|
driverParam: string;
|
|
7940
7688
|
notNull: true;
|
|
7941
|
-
hasDefault:
|
|
7689
|
+
hasDefault: true;
|
|
7942
7690
|
isPrimaryKey: false;
|
|
7943
7691
|
isAutoincrement: false;
|
|
7944
7692
|
hasRuntimeDefault: false;
|
|
@@ -7949,23 +7697,25 @@ export declare const clientSQLiteSchema: {
|
|
|
7949
7697
|
}, {}, {
|
|
7950
7698
|
length: number | undefined;
|
|
7951
7699
|
}>;
|
|
7952
|
-
|
|
7953
|
-
name: "
|
|
7954
|
-
tableName: "
|
|
7955
|
-
dataType: "
|
|
7956
|
-
columnType: "
|
|
7957
|
-
data:
|
|
7958
|
-
driverParam:
|
|
7700
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
7701
|
+
name: "updated_at";
|
|
7702
|
+
tableName: "documents";
|
|
7703
|
+
dataType: "string";
|
|
7704
|
+
columnType: "SQLiteText";
|
|
7705
|
+
data: string;
|
|
7706
|
+
driverParam: string;
|
|
7959
7707
|
notNull: true;
|
|
7960
|
-
hasDefault:
|
|
7708
|
+
hasDefault: false;
|
|
7961
7709
|
isPrimaryKey: false;
|
|
7962
7710
|
isAutoincrement: false;
|
|
7963
7711
|
hasRuntimeDefault: false;
|
|
7964
|
-
enumValues:
|
|
7712
|
+
enumValues: [string, ...string[]];
|
|
7965
7713
|
baseColumn: never;
|
|
7966
7714
|
identity: undefined;
|
|
7967
7715
|
generated: undefined;
|
|
7968
|
-
}, {}, {
|
|
7716
|
+
}, {}, {
|
|
7717
|
+
length: number | undefined;
|
|
7718
|
+
}>;
|
|
7969
7719
|
};
|
|
7970
7720
|
dialect: "sqlite";
|
|
7971
7721
|
}>;
|
|
@@ -9001,6 +8751,163 @@ export declare const clientSQLiteSchema: {
|
|
|
9001
8751
|
};
|
|
9002
8752
|
dialect: "sqlite";
|
|
9003
8753
|
}>;
|
|
8754
|
+
verifiedAccessManifestBundles: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
8755
|
+
name: "verified_access_manifest_bundles";
|
|
8756
|
+
schema: undefined;
|
|
8757
|
+
columns: {
|
|
8758
|
+
manifestHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8759
|
+
name: "manifest_hash";
|
|
8760
|
+
tableName: "verified_access_manifest_bundles";
|
|
8761
|
+
dataType: "string";
|
|
8762
|
+
columnType: "SQLiteText";
|
|
8763
|
+
data: string;
|
|
8764
|
+
driverParam: string;
|
|
8765
|
+
notNull: true;
|
|
8766
|
+
hasDefault: false;
|
|
8767
|
+
isPrimaryKey: true;
|
|
8768
|
+
isAutoincrement: false;
|
|
8769
|
+
hasRuntimeDefault: false;
|
|
8770
|
+
enumValues: [string, ...string[]];
|
|
8771
|
+
baseColumn: never;
|
|
8772
|
+
identity: undefined;
|
|
8773
|
+
generated: undefined;
|
|
8774
|
+
}, {}, {
|
|
8775
|
+
length: number | undefined;
|
|
8776
|
+
}>;
|
|
8777
|
+
organizationId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8778
|
+
name: "organization_id";
|
|
8779
|
+
tableName: "verified_access_manifest_bundles";
|
|
8780
|
+
dataType: "string";
|
|
8781
|
+
columnType: "SQLiteText";
|
|
8782
|
+
data: string;
|
|
8783
|
+
driverParam: string;
|
|
8784
|
+
notNull: true;
|
|
8785
|
+
hasDefault: false;
|
|
8786
|
+
isPrimaryKey: false;
|
|
8787
|
+
isAutoincrement: false;
|
|
8788
|
+
hasRuntimeDefault: false;
|
|
8789
|
+
enumValues: [string, ...string[]];
|
|
8790
|
+
baseColumn: never;
|
|
8791
|
+
identity: undefined;
|
|
8792
|
+
generated: undefined;
|
|
8793
|
+
}, {}, {
|
|
8794
|
+
length: number | undefined;
|
|
8795
|
+
}>;
|
|
8796
|
+
objectKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8797
|
+
name: "object_kind";
|
|
8798
|
+
tableName: "verified_access_manifest_bundles";
|
|
8799
|
+
dataType: "string";
|
|
8800
|
+
columnType: "SQLiteText";
|
|
8801
|
+
data: string;
|
|
8802
|
+
driverParam: string;
|
|
8803
|
+
notNull: true;
|
|
8804
|
+
hasDefault: false;
|
|
8805
|
+
isPrimaryKey: false;
|
|
8806
|
+
isAutoincrement: false;
|
|
8807
|
+
hasRuntimeDefault: false;
|
|
8808
|
+
enumValues: [string, ...string[]];
|
|
8809
|
+
baseColumn: never;
|
|
8810
|
+
identity: undefined;
|
|
8811
|
+
generated: undefined;
|
|
8812
|
+
}, {}, {
|
|
8813
|
+
length: number | undefined;
|
|
8814
|
+
}>;
|
|
8815
|
+
objectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8816
|
+
name: "object_id";
|
|
8817
|
+
tableName: "verified_access_manifest_bundles";
|
|
8818
|
+
dataType: "string";
|
|
8819
|
+
columnType: "SQLiteText";
|
|
8820
|
+
data: string;
|
|
8821
|
+
driverParam: string;
|
|
8822
|
+
notNull: true;
|
|
8823
|
+
hasDefault: false;
|
|
8824
|
+
isPrimaryKey: false;
|
|
8825
|
+
isAutoincrement: false;
|
|
8826
|
+
hasRuntimeDefault: false;
|
|
8827
|
+
enumValues: [string, ...string[]];
|
|
8828
|
+
baseColumn: never;
|
|
8829
|
+
identity: undefined;
|
|
8830
|
+
generated: undefined;
|
|
8831
|
+
}, {}, {
|
|
8832
|
+
length: number | undefined;
|
|
8833
|
+
}>;
|
|
8834
|
+
epoch: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8835
|
+
name: "epoch";
|
|
8836
|
+
tableName: "verified_access_manifest_bundles";
|
|
8837
|
+
dataType: "number";
|
|
8838
|
+
columnType: "SQLiteInteger";
|
|
8839
|
+
data: number;
|
|
8840
|
+
driverParam: number;
|
|
8841
|
+
notNull: true;
|
|
8842
|
+
hasDefault: false;
|
|
8843
|
+
isPrimaryKey: false;
|
|
8844
|
+
isAutoincrement: false;
|
|
8845
|
+
hasRuntimeDefault: false;
|
|
8846
|
+
enumValues: undefined;
|
|
8847
|
+
baseColumn: never;
|
|
8848
|
+
identity: undefined;
|
|
8849
|
+
generated: undefined;
|
|
8850
|
+
}, {}, {}>;
|
|
8851
|
+
bundleJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8852
|
+
name: "bundle_json";
|
|
8853
|
+
tableName: "verified_access_manifest_bundles";
|
|
8854
|
+
dataType: "string";
|
|
8855
|
+
columnType: "SQLiteText";
|
|
8856
|
+
data: string;
|
|
8857
|
+
driverParam: string;
|
|
8858
|
+
notNull: true;
|
|
8859
|
+
hasDefault: false;
|
|
8860
|
+
isPrimaryKey: false;
|
|
8861
|
+
isAutoincrement: false;
|
|
8862
|
+
hasRuntimeDefault: false;
|
|
8863
|
+
enumValues: [string, ...string[]];
|
|
8864
|
+
baseColumn: never;
|
|
8865
|
+
identity: undefined;
|
|
8866
|
+
generated: undefined;
|
|
8867
|
+
}, {}, {
|
|
8868
|
+
length: number | undefined;
|
|
8869
|
+
}>;
|
|
8870
|
+
bundleDigest: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8871
|
+
name: "bundle_digest";
|
|
8872
|
+
tableName: "verified_access_manifest_bundles";
|
|
8873
|
+
dataType: "string";
|
|
8874
|
+
columnType: "SQLiteText";
|
|
8875
|
+
data: string;
|
|
8876
|
+
driverParam: string;
|
|
8877
|
+
notNull: true;
|
|
8878
|
+
hasDefault: false;
|
|
8879
|
+
isPrimaryKey: false;
|
|
8880
|
+
isAutoincrement: false;
|
|
8881
|
+
hasRuntimeDefault: false;
|
|
8882
|
+
enumValues: [string, ...string[]];
|
|
8883
|
+
baseColumn: never;
|
|
8884
|
+
identity: undefined;
|
|
8885
|
+
generated: undefined;
|
|
8886
|
+
}, {}, {
|
|
8887
|
+
length: number | undefined;
|
|
8888
|
+
}>;
|
|
8889
|
+
verifiedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
8890
|
+
name: "verified_at";
|
|
8891
|
+
tableName: "verified_access_manifest_bundles";
|
|
8892
|
+
dataType: "string";
|
|
8893
|
+
columnType: "SQLiteText";
|
|
8894
|
+
data: string;
|
|
8895
|
+
driverParam: string;
|
|
8896
|
+
notNull: true;
|
|
8897
|
+
hasDefault: false;
|
|
8898
|
+
isPrimaryKey: false;
|
|
8899
|
+
isAutoincrement: false;
|
|
8900
|
+
hasRuntimeDefault: false;
|
|
8901
|
+
enumValues: [string, ...string[]];
|
|
8902
|
+
baseColumn: never;
|
|
8903
|
+
identity: undefined;
|
|
8904
|
+
generated: undefined;
|
|
8905
|
+
}, {}, {
|
|
8906
|
+
length: number | undefined;
|
|
8907
|
+
}>;
|
|
8908
|
+
};
|
|
8909
|
+
dialect: "sqlite";
|
|
8910
|
+
}>;
|
|
9004
8911
|
trustedUserIdentityPins: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
9005
8912
|
name: "trusted_user_identity_pins";
|
|
9006
8913
|
schema: undefined;
|