@seedprotocol/sdk 0.7.9-next.1189.g5e63267 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseFileManager-BAlySv8w.js +650 -0
- package/dist/BaseFileManager-BAlySv8w.js.map +1 -0
- package/dist/{Item-CG5IhPtL.js → Item-Bf4kWKpH.js} +5576 -6649
- package/dist/Item-Bf4kWKpH.js.map +1 -0
- package/dist/{ModelProperty-DDD47KVm.js → ModelProperty-BlaEgb_U.js} +345 -709
- package/dist/ModelProperty-BlaEgb_U.js.map +1 -0
- package/dist/Schema-J_1f6p0c.js +1456 -0
- package/dist/Schema-J_1f6p0c.js.map +1 -0
- package/dist/{SchemaValidationService-CZzKNL04.js → SchemaValidationService-CnmKyzR-.js} +6 -9
- package/dist/{SchemaValidationService-CZzKNL04.js.map → SchemaValidationService-CnmKyzR-.js.map} +1 -1
- package/dist/{configurePlatform-Dukm2QwO.js → configurePlatform-CiOJ1R3q.js} +3 -12
- package/dist/configurePlatform-CiOJ1R3q.js.map +1 -0
- package/dist/db/drizzle/0026_add_content_hash_to_schemas.sql +1 -0
- package/dist/db/drizzle/0027_link_metadata_property_ids.sql +74 -0
- package/dist/db/drizzle/0028_add_definition_to_properties.sql +17 -0
- package/dist/db/drizzle/0029_dedupe_chain_uids_add_unique_indexes.sql +120 -0
- package/dist/db/drizzle/meta/0026_snapshot.json +1659 -0
- package/dist/db/drizzle/meta/0027_snapshot.json +1659 -0
- package/dist/db/drizzle/meta/0028_snapshot.json +1666 -0
- package/dist/db/drizzle/meta/0029_snapshot.json +1691 -0
- package/dist/db/drizzle/meta/_journal.json +29 -1
- package/dist/{detachRowsBeforeDelete-Di1enVUF.js → detachRowsBeforeDelete-sEaUwlOU.js} +2 -13
- package/dist/{detachRowsBeforeDelete-Di1enVUF.js.map → detachRowsBeforeDelete-sEaUwlOU.js.map} +1 -1
- package/dist/dist/{index-rOTW-2QZ.d.ts → BaseFileManager-BAlySv8w.d.ts} +1407 -2700
- package/dist/dist/BaseFileManager-BAlySv8w.d.ts.map +1 -0
- package/dist/dist/{configurePlatform-Dukm2QwO.d.ts → configurePlatform-CiOJ1R3q.d.ts} +1 -1
- package/dist/dist/configurePlatform-CiOJ1R3q.d.ts.map +1 -0
- package/dist/dist/{index-DxHpPNfn.d.ts → index-D0V-mjCV.d.ts} +39 -1
- package/dist/dist/{index-DxHpPNfn.d.ts.map → index-D0V-mjCV.d.ts.map} +1 -1
- package/dist/dist/{index.node-WsEJCOwC.d.ts → index.node-CYPemH-t.d.ts} +157 -5
- package/dist/dist/{index.node-WsEJCOwC.d.ts.map → index.node-CYPemH-t.d.ts.map} +1 -1
- package/dist/dist/platform.node.d.ts +2 -2
- package/dist/eas-wB_fQ8Tc.js +32 -0
- package/dist/eas-wB_fQ8Tc.js.map +1 -0
- package/dist/errors-DLSoqSHG.js +6550 -0
- package/dist/errors-DLSoqSHG.js.map +1 -0
- package/dist/getPublishPayload-BnIwpwz1.js +760 -0
- package/dist/getPublishPayload-BnIwpwz1.js.map +1 -0
- package/dist/getPublishPendingDiff-D6_-A5ns.js +125 -0
- package/dist/getPublishPendingDiff-D6_-A5ns.js.map +1 -0
- package/dist/getPublishUploads-sS6JfPgz.js +783 -0
- package/dist/getPublishUploads-sS6JfPgz.js.map +1 -0
- package/dist/{index-DQoyhp2c.js → index-BVBmz_cc.js} +11 -14
- package/dist/index-BVBmz_cc.js.map +1 -0
- package/dist/index-CYGWPoOx.js +27 -0
- package/dist/index-CYGWPoOx.js.map +1 -0
- package/dist/{index-DxHpPNfn.js → index-D0V-mjCV.js} +2 -2
- package/dist/index-D0V-mjCV.js.map +1 -0
- package/dist/index-DmTtj1nk.js +817 -0
- package/dist/index-DmTtj1nk.js.map +1 -0
- package/dist/{index.browser-QPWBkLJA.js → index.browser-CUmBVYen.js} +397 -356
- package/dist/index.browser-CUmBVYen.js.map +1 -0
- package/dist/{index.node-WsEJCOwC.js → index.node-CYPemH-t.js} +10 -10
- package/dist/index.node-CYPemH-t.js.map +1 -0
- package/dist/main.js +23 -1075
- package/dist/main.js.map +1 -1
- package/dist/modelPropertyRecordSchemas-C7UgA5TH.js +48 -0
- package/dist/modelPropertyRecordSchemas-C7UgA5TH.js.map +1 -0
- package/dist/node.js +14 -18
- package/dist/node.js.map +1 -1
- package/dist/platform.browser.js +8 -13
- package/dist/platform.browser.js.map +1 -1
- package/dist/platform.node.js +6 -16
- package/dist/platform.node.js.map +1 -1
- package/dist/property-BxUYznH0.js +87 -0
- package/dist/property-BxUYznH0.js.map +1 -0
- package/dist/publishGraph-EcB40Uii.js +311 -0
- package/dist/publishGraph-EcB40Uii.js.map +1 -0
- package/dist/readHtmlBodyForStorageSeed-D6KPtWoR.js +110 -0
- package/dist/readHtmlBodyForStorageSeed-D6KPtWoR.js.map +1 -0
- package/dist/seedSchema/ModelSchema.ts +4 -0
- package/dist/seedSchema/ModelSchemaSchema.ts +5 -2
- package/dist/seedSchema/PendingWriteSchema.ts +4 -1
- package/dist/seedSchema/SchemaSchema.ts +3 -0
- package/dist/seedSchema/SeedSchema.ts +8 -2
- package/dist/seedSchema/VersionSchema.ts +7 -2
- package/dist/seedSchema/attestedUid.ts +10 -0
- package/dist/src/Item/Item.d.ts +32 -30
- package/dist/src/Item/Item.d.ts.map +1 -1
- package/dist/src/Item/loadItem.d.ts +12 -0
- package/dist/src/Item/loadItem.d.ts.map +1 -0
- package/dist/src/Item/service/itemMachineSingle.d.ts +2 -13
- package/dist/src/Item/service/itemMachineSingle.d.ts.map +1 -1
- package/dist/src/ItemProperty/ItemProperty.d.ts +77 -46
- package/dist/src/ItemProperty/ItemProperty.d.ts.map +1 -1
- package/dist/src/ItemProperty/loadProperty.d.ts +11 -0
- package/dist/src/ItemProperty/loadProperty.d.ts.map +1 -0
- package/dist/src/ItemProperty/propertyWrite.d.ts +54 -0
- package/dist/src/ItemProperty/propertyWrite.d.ts.map +1 -0
- package/dist/src/ItemProperty/{service/actors/saveValueToDb/rowContext.d.ts → rowContext.d.ts} +1 -1
- package/dist/src/ItemProperty/rowContext.d.ts.map +1 -0
- package/dist/src/ItemProperty/service/actors/hydrateFromDb.d.ts +6 -0
- package/dist/src/ItemProperty/service/actors/hydrateFromDb.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/modelPropertyRecordSchemas.d.ts +5 -15
- package/dist/src/ItemProperty/service/actors/modelPropertyRecordSchemas.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/propertyMachine.d.ts +4 -50
- package/dist/src/ItemProperty/service/propertyMachine.d.ts.map +1 -1
- package/dist/src/Model/Model.d.ts +26 -56
- package/dist/src/Model/Model.d.ts.map +1 -1
- package/dist/src/Model/createModelProperties.d.ts +10 -0
- package/dist/src/Model/createModelProperties.d.ts.map +1 -0
- package/dist/src/Model/loadModel.d.ts +13 -0
- package/dist/src/Model/loadModel.d.ts.map +1 -0
- package/dist/src/Model/service/actors/validateModel.d.ts.map +1 -1
- package/dist/src/Model/service/modelMachine.d.ts +5 -114
- package/dist/src/Model/service/modelMachine.d.ts.map +1 -1
- package/dist/src/ModelProperty/ModelProperty.d.ts +44 -37
- package/dist/src/ModelProperty/ModelProperty.d.ts.map +1 -1
- package/dist/src/ModelProperty/service/actors/compareAndMarkDraft.d.ts.map +1 -1
- package/dist/src/ModelProperty/service/actors/validateProperty.d.ts.map +1 -1
- package/dist/src/ModelProperty/service/modelPropertyMachine.d.ts +6 -77
- package/dist/src/ModelProperty/service/modelPropertyMachine.d.ts.map +1 -1
- package/dist/src/Schema/Schema.d.ts +36 -37
- package/dist/src/Schema/Schema.d.ts.map +1 -1
- package/dist/src/Schema/loadOrCreateSchema.d.ts +21 -0
- package/dist/src/Schema/loadOrCreateSchema.d.ts.map +1 -0
- package/dist/src/Schema/service/schemaMachine.d.ts +7 -125
- package/dist/src/Schema/service/schemaMachine.d.ts.map +1 -1
- package/dist/src/browser/db/Db.d.ts.map +1 -1
- package/dist/src/browser/db/changeFeed.d.ts +2 -18
- package/dist/src/browser/db/changeFeed.d.ts.map +1 -1
- package/dist/src/browser/db/drizzleFiles.d.ts +6 -2
- package/dist/src/browser/db/drizzleFiles.d.ts.map +1 -1
- package/dist/src/browser/workers/filesDownload.d.ts.map +1 -1
- package/dist/src/browser/workers/imageResize.d.ts.map +1 -1
- package/dist/src/client/ClientManager.d.ts +90 -57
- package/dist/src/client/ClientManager.d.ts.map +1 -1
- package/dist/src/client/actors/addModelsToDb.d.ts +9 -7
- package/dist/src/client/actors/addModelsToDb.d.ts.map +1 -1
- package/dist/src/client/actors/dbInit.d.ts +3 -3
- package/dist/src/client/actors/dbInit.d.ts.map +1 -1
- package/dist/src/client/actors/fileSystemInit.d.ts +3 -3
- package/dist/src/client/actors/fileSystemInit.d.ts.map +1 -1
- package/dist/src/client/actors/platformClassesInit.d.ts +10 -5
- package/dist/src/client/actors/platformClassesInit.d.ts.map +1 -1
- package/dist/src/client/actors/processSchemaFiles.d.ts +18 -3
- package/dist/src/client/actors/processSchemaFiles.d.ts.map +1 -1
- package/dist/src/client/actors/saveConfig.d.ts +6 -3
- package/dist/src/client/actors/saveConfig.d.ts.map +1 -1
- package/dist/src/client/clientManagerMachine.d.ts +22 -20
- package/dist/src/client/clientManagerMachine.d.ts.map +1 -1
- package/dist/src/client/constants.d.ts +1 -9
- package/dist/src/client/constants.d.ts.map +1 -1
- package/dist/src/client/readiness.d.ts +26 -0
- package/dist/src/client/readiness.d.ts.map +1 -0
- package/dist/src/db/read/currentPropertyRow.d.ts +61 -0
- package/dist/src/db/read/currentPropertyRow.d.ts.map +1 -0
- package/dist/src/db/read/findSeedRow.d.ts +20 -0
- package/dist/src/db/read/findSeedRow.d.ts.map +1 -0
- package/dist/src/db/read/findSeedRowsByUid.d.ts +4 -1
- package/dist/src/db/read/findSeedRowsByUid.d.ts.map +1 -1
- package/dist/src/db/read/getAttesterForSeed.d.ts +1 -1
- package/dist/src/db/read/getAttesterForSeed.d.ts.map +1 -1
- package/dist/src/db/read/getItemData.d.ts.map +1 -1
- package/dist/src/db/read/getItemProperties.d.ts +5 -0
- package/dist/src/db/read/getItemProperties.d.ts.map +1 -1
- package/dist/src/db/read/getMetadataAttestationUidsForSeedUid.d.ts.map +1 -1
- package/dist/src/db/read/getModelSchemas.d.ts +0 -7
- package/dist/src/db/read/getModelSchemas.d.ts.map +1 -1
- package/dist/src/db/read/getModelsData.d.ts.map +1 -1
- package/dist/src/db/read/getPropertyClear.d.ts +5 -1
- package/dist/src/db/read/getPropertyClear.d.ts.map +1 -1
- package/dist/src/db/read/getPublishPayload.d.ts +35 -40
- package/dist/src/db/read/getPublishPayload.d.ts.map +1 -1
- package/dist/src/db/read/getPublishPendingDiff.d.ts +2 -2
- package/dist/src/db/read/getPublishPendingDiff.d.ts.map +1 -1
- package/dist/src/db/read/getPublishUploads.d.ts +59 -28
- package/dist/src/db/read/getPublishUploads.d.ts.map +1 -1
- package/dist/src/db/read/getSchemaUidForModel.d.ts.map +1 -1
- package/dist/src/db/read/getSeedPublishState.d.ts.map +1 -1
- package/dist/src/db/read/getSeedPublisher.d.ts.map +1 -1
- package/dist/src/db/read/getVersionsForSeedUid.d.ts.map +1 -1
- package/dist/src/db/read/isSeedRevoked.d.ts.map +1 -1
- package/dist/src/db/read/localModelSchemaLookups.d.ts +8 -0
- package/dist/src/db/read/localModelSchemaLookups.d.ts.map +1 -0
- package/dist/src/db/read/metadataProperty.d.ts +104 -0
- package/dist/src/db/read/metadataProperty.d.ts.map +1 -0
- package/dist/src/db/read/publishGraph.d.ts +148 -0
- package/dist/src/db/read/publishGraph.d.ts.map +1 -0
- package/dist/src/db/read/resolveModelRecord.d.ts +26 -2
- package/dist/src/db/read/resolveModelRecord.d.ts.map +1 -1
- package/dist/src/db/read/resolveRelatedSeedRef.d.ts +1 -7
- package/dist/src/db/read/resolveRelatedSeedRef.d.ts.map +1 -1
- package/dist/src/db/read/subqueries/metadataLatest.d.ts +3 -1
- package/dist/src/db/read/subqueries/metadataLatest.d.ts.map +1 -1
- package/dist/src/db/read/summarizePublishWork.d.ts +13 -5
- package/dist/src/db/read/summarizePublishWork.d.ts.map +1 -1
- package/dist/src/db/write/applyPropertyAttestationUidsFromPublish.d.ts +20 -21
- package/dist/src/db/write/applyPropertyAttestationUidsFromPublish.d.ts.map +1 -1
- package/dist/src/db/write/createMetadata.d.ts.map +1 -1
- package/dist/src/db/write/createNewItem.d.ts.map +1 -1
- package/dist/src/db/write/createSeeds.d.ts +5 -1
- package/dist/src/db/write/createSeeds.d.ts.map +1 -1
- package/dist/src/db/write/definitions.d.ts +127 -0
- package/dist/src/db/write/definitions.d.ts.map +1 -0
- package/dist/src/db/write/mergeChainRows.d.ts +22 -0
- package/dist/src/db/write/mergeChainRows.d.ts.map +1 -0
- package/dist/src/db/write/saveDefinition.d.ts +29 -0
- package/dist/src/db/write/saveDefinition.d.ts.map +1 -0
- package/dist/src/db/write/updateSeedUid.d.ts +4 -2
- package/dist/src/db/write/updateSeedUid.d.ts.map +1 -1
- package/dist/src/db/write/updateVersionUid.d.ts +12 -4
- package/dist/src/db/write/updateVersionUid.d.ts.map +1 -1
- package/dist/src/db/write/writeModelUids.d.ts +10 -0
- package/dist/src/db/write/writeModelUids.d.ts.map +1 -0
- package/dist/src/eas.d.ts +8 -6
- package/dist/src/eas.d.ts.map +1 -1
- package/dist/src/events/files/download.d.ts.map +1 -1
- package/dist/src/events/item/syncDbWithEas.d.ts.map +1 -1
- package/dist/src/helpers/arweaveContentTags.d.ts +1 -1
- package/dist/src/helpers/arweaveContentTags.d.ts.map +1 -1
- package/dist/src/helpers/compareMetadataRowsLatestFirst.d.ts +18 -3
- package/dist/src/helpers/compareMetadataRowsLatestFirst.d.ts.map +1 -1
- package/dist/src/helpers/constants.d.ts +5 -2
- package/dist/src/helpers/constants.d.ts.map +1 -1
- package/dist/src/helpers/dataUrl.d.ts +10 -0
- package/dist/src/helpers/dataUrl.d.ts.map +1 -0
- package/dist/src/helpers/db.d.ts +54 -105
- package/dist/src/helpers/db.d.ts.map +1 -1
- package/dist/src/helpers/ensureImageLocal.d.ts.map +1 -1
- package/dist/src/helpers/entity/contextUpdate.d.ts +20 -0
- package/dist/src/helpers/entity/contextUpdate.d.ts.map +1 -0
- package/dist/src/helpers/entity/draftSaveErrors.d.ts +5 -0
- package/dist/src/helpers/entity/draftSaveErrors.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityCache.d.ts +65 -3
- package/dist/src/helpers/entity/entityCache.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityCommon.d.ts +0 -22
- package/dist/src/helpers/entity/entityCommon.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityLifecycle.d.ts +75 -0
- package/dist/src/helpers/entity/entityLifecycle.d.ts.map +1 -0
- package/dist/src/helpers/entity/entityLiveQuery.d.ts +1 -23
- package/dist/src/helpers/entity/entityLiveQuery.d.ts.map +1 -1
- package/dist/src/helpers/htmlEmbeddedDataUriPublish.d.ts +4 -9
- package/dist/src/helpers/htmlEmbeddedDataUriPublish.d.ts.map +1 -1
- package/dist/src/helpers/index.d.ts +2 -24
- package/dist/src/helpers/index.d.ts.map +1 -1
- package/dist/src/helpers/localImageBlobUrl.d.ts +7 -0
- package/dist/src/helpers/localImageBlobUrl.d.ts.map +1 -0
- package/dist/src/helpers/mediaRef.d.ts +3 -70
- package/dist/src/helpers/mediaRef.d.ts.map +1 -1
- package/dist/src/helpers/metadataPropertyNames.d.ts +34 -26
- package/dist/src/helpers/metadataPropertyNames.d.ts.map +1 -1
- package/dist/src/helpers/mimeTypes.d.ts +2 -1
- package/dist/src/helpers/mimeTypes.d.ts.map +1 -1
- package/dist/src/helpers/model.d.ts.map +1 -1
- package/dist/src/helpers/ownership.d.ts.map +1 -1
- package/dist/src/helpers/property.d.ts +21 -26
- package/dist/src/helpers/property.d.ts.map +1 -1
- package/dist/src/helpers/propertyDefinition.d.ts +59 -0
- package/dist/src/helpers/propertyDefinition.d.ts.map +1 -0
- package/dist/src/helpers/readHtmlBodyForStorageSeed.d.ts.map +1 -1
- package/dist/src/helpers/relationSeedRef.d.ts +0 -7
- package/dist/src/helpers/relationSeedRef.d.ts.map +1 -1
- package/dist/src/helpers/schema.d.ts +24 -38
- package/dist/src/helpers/schema.d.ts.map +1 -1
- package/dist/src/helpers/schemaApply.d.ts +135 -0
- package/dist/src/helpers/schemaApply.d.ts.map +1 -0
- package/dist/src/helpers/tabEvents.d.ts.map +1 -1
- package/dist/src/helpers/updateSchema.d.ts +2 -18
- package/dist/src/helpers/updateSchema.d.ts.map +1 -1
- package/dist/src/imports/index.d.ts +1 -1
- package/dist/src/imports/index.d.ts.map +1 -1
- package/dist/src/imports/json.d.ts +8 -78
- package/dist/src/imports/json.d.ts.map +1 -1
- package/dist/src/index.d.ts +13 -13
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/interfaces/IItem.d.ts +5 -0
- package/dist/src/interfaces/IItem.d.ts.map +1 -1
- package/dist/src/interfaces/IItemProperty.d.ts +9 -7
- package/dist/src/interfaces/IItemProperty.d.ts.map +1 -1
- package/dist/src/node/db/Db.d.ts.map +1 -1
- package/dist/src/node/index.d.ts +2 -1
- package/dist/src/node/index.d.ts.map +1 -1
- package/dist/src/outbox/conflicts.d.ts +2 -0
- package/dist/src/outbox/conflicts.d.ts.map +1 -1
- package/dist/src/outbox/itemAppliers.d.ts +63 -14
- package/dist/src/outbox/itemAppliers.d.ts.map +1 -1
- package/dist/src/outbox/outbox.d.ts +14 -3
- package/dist/src/outbox/outbox.d.ts.map +1 -1
- package/dist/src/outbox/pendingValues.d.ts +3 -1
- package/dist/src/outbox/pendingValues.d.ts.map +1 -1
- package/dist/src/outbox/storageValueRow.d.ts +7 -0
- package/dist/src/outbox/storageValueRow.d.ts.map +1 -0
- package/dist/src/platform/configurePlatform.d.ts.map +1 -1
- package/dist/src/platform/index.browser.d.ts.map +1 -1
- package/dist/src/platform/index.node.d.ts.map +1 -1
- package/dist/src/seedSchema/ModelSchema.d.ts +19 -0
- package/dist/src/seedSchema/ModelSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/ModelSchemaSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/PendingWriteSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/SchemaSchema.d.ts +19 -0
- package/dist/src/seedSchema/SchemaSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/SeedSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/VersionSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/attestedUid.d.ts +9 -0
- package/dist/src/seedSchema/attestedUid.d.ts.map +1 -0
- package/dist/src/storageValue/content.d.ts +45 -0
- package/dist/src/storageValue/content.d.ts.map +1 -0
- package/dist/src/storageValue/findFile.d.ts +7 -0
- package/dist/src/storageValue/findFile.d.ts.map +1 -0
- package/dist/src/storageValue/resolve.d.ts +71 -0
- package/dist/src/storageValue/resolve.d.ts.map +1 -0
- package/dist/src/storageValue/save.d.ts +24 -0
- package/dist/src/storageValue/save.d.ts.map +1 -0
- package/dist/src/storageValue/stage.d.ts +22 -0
- package/dist/src/storageValue/stage.d.ts.map +1 -0
- package/dist/src/types/db.d.ts +0 -14
- package/dist/src/types/db.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +3 -3
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/machines.d.ts +1 -1
- package/dist/src/types/machines.d.ts.map +1 -1
- package/dist/src/types/property.d.ts +9 -24
- package/dist/src/types/property.d.ts.map +1 -1
- package/dist/src/types/publish.d.ts +1 -1
- package/dist/src/types/publish.d.ts.map +1 -1
- package/dist/{syncDbWithEas-BMHoou6X.js → syncDbWithEas-CA7PvBgu.js} +112 -162
- package/dist/syncDbWithEas-CA7PvBgu.js.map +1 -0
- package/dist/tabEvents-CaVmngqr.js +3804 -0
- package/dist/tabEvents-CaVmngqr.js.map +1 -0
- package/dist/{tolerantWebAccess-BHndShch.js → tolerantWebAccess-BJqViq08.js} +10 -15
- package/dist/{tolerantWebAccess-BHndShch.js.map → tolerantWebAccess-BJqViq08.js.map} +1 -1
- package/dist/{resolveModelForSyncedSeed-fIURvYRV.js → updateSeedRevokedAt-BL9Bg-G7.js} +30 -4
- package/dist/updateSeedRevokedAt-BL9Bg-G7.js.map +1 -0
- package/package.json +6 -6
- package/dist/ClientManager-DqL0q_eu.js +0 -5292
- package/dist/ClientManager-DqL0q_eu.js.map +0 -1
- package/dist/Item-CG5IhPtL.js.map +0 -1
- package/dist/ModelProperty-DDD47KVm.js.map +0 -1
- package/dist/Schema-BS8oR7QV.js +0 -4370
- package/dist/Schema-BS8oR7QV.js.map +0 -1
- package/dist/backfillMetadataPropertyIds-C7P7FL6F.js +0 -72
- package/dist/backfillMetadataPropertyIds-C7P7FL6F.js.map +0 -1
- package/dist/changeFeed-M8sGbOrW.js +0 -726
- package/dist/changeFeed-M8sGbOrW.js.map +0 -1
- package/dist/configurePlatform-Dukm2QwO.js.map +0 -1
- package/dist/dist/ClientManager-DqL0q_eu.d.ts +0 -952
- package/dist/dist/ClientManager-DqL0q_eu.d.ts.map +0 -1
- package/dist/dist/Item-CG5IhPtL.d.ts +0 -1115
- package/dist/dist/Item-CG5IhPtL.d.ts.map +0 -1
- package/dist/dist/ModelProperty-DDD47KVm.d.ts +0 -315
- package/dist/dist/ModelProperty-DDD47KVm.d.ts.map +0 -1
- package/dist/dist/Schema-BS8oR7QV.d.ts +0 -432
- package/dist/dist/Schema-BS8oR7QV.d.ts.map +0 -1
- package/dist/dist/SchemaValidationService-CZzKNL04.d.ts +0 -118
- package/dist/dist/SchemaValidationService-CZzKNL04.d.ts.map +0 -1
- package/dist/dist/backfillMetadataPropertyIds-C7P7FL6F.d.ts +0 -7
- package/dist/dist/backfillMetadataPropertyIds-C7P7FL6F.d.ts.map +0 -1
- package/dist/dist/changeFeed-M8sGbOrW.d.ts +0 -160
- package/dist/dist/changeFeed-M8sGbOrW.d.ts.map +0 -1
- package/dist/dist/configurePlatform-Dukm2QwO.d.ts.map +0 -1
- package/dist/dist/detachRowsBeforeDelete-Di1enVUF.d.ts +0 -13
- package/dist/dist/detachRowsBeforeDelete-Di1enVUF.d.ts.map +0 -1
- package/dist/dist/eas-B5VJolSj.d.ts +0 -12
- package/dist/dist/eas-B5VJolSj.d.ts.map +0 -1
- package/dist/dist/errors-C1qUEZ7A.d.ts +0 -25
- package/dist/dist/errors-C1qUEZ7A.d.ts.map +0 -1
- package/dist/dist/errors-CS3nDpUU.d.ts +0 -515
- package/dist/dist/errors-CS3nDpUU.d.ts.map +0 -1
- package/dist/dist/eventBus-7vxTCc3a.d.ts +0 -18
- package/dist/dist/eventBus-7vxTCc3a.d.ts.map +0 -1
- package/dist/dist/findSeedRowsByUid-CuQmK7An.d.ts +0 -13
- package/dist/dist/findSeedRowsByUid-CuQmK7An.d.ts.map +0 -1
- package/dist/dist/getItem-Uha3_H0t.d.ts +0 -6
- package/dist/dist/getItem-Uha3_H0t.d.ts.map +0 -1
- package/dist/dist/getPublishPayload-pbin4lk8.d.ts +0 -65
- package/dist/dist/getPublishPayload-pbin4lk8.d.ts.map +0 -1
- package/dist/dist/getPublishPendingDiff-ByIaPvCn.d.ts +0 -18
- package/dist/dist/getPublishPendingDiff-ByIaPvCn.d.ts.map +0 -1
- package/dist/dist/getPublishUploads-BBqiowVc.d.ts +0 -89
- package/dist/dist/getPublishUploads-BBqiowVc.d.ts.map +0 -1
- package/dist/dist/index-DQoyhp2c.d.ts +0 -6
- package/dist/dist/index-DQoyhp2c.d.ts.map +0 -1
- package/dist/dist/index-njjjo74v.d.ts +0 -14
- package/dist/dist/index-njjjo74v.d.ts.map +0 -1
- package/dist/dist/index-rOTW-2QZ.d.ts.map +0 -1
- package/dist/dist/index.browser-QPWBkLJA.d.ts +0 -9959
- package/dist/dist/index.browser-QPWBkLJA.d.ts.map +0 -1
- package/dist/dist/mimeTypes-C9r76DCH.d.ts +0 -30
- package/dist/dist/mimeTypes-C9r76DCH.d.ts.map +0 -1
- package/dist/dist/model-oHA3YhOd.d.ts +0 -6
- package/dist/dist/model-oHA3YhOd.d.ts.map +0 -1
- package/dist/dist/modelPropertyRecordSchemas-onFOG2x6.d.ts +0 -7
- package/dist/dist/modelPropertyRecordSchemas-onFOG2x6.d.ts.map +0 -1
- package/dist/dist/platform.browser.d.ts +0 -3
- package/dist/dist/platform.browser.d.ts.map +0 -1
- package/dist/dist/property-C85DCD7K.d.ts +0 -37
- package/dist/dist/property-C85DCD7K.d.ts.map +0 -1
- package/dist/dist/propertyValidationRules-CjUPOFeu.d.ts +0 -13
- package/dist/dist/propertyValidationRules-CjUPOFeu.d.ts.map +0 -1
- package/dist/dist/publishDraftGraph-DBWAN72w.d.ts +0 -93
- package/dist/dist/publishDraftGraph-DBWAN72w.d.ts.map +0 -1
- package/dist/dist/resolveModelForSyncedSeed-fIURvYRV.d.ts +0 -21
- package/dist/dist/resolveModelForSyncedSeed-fIURvYRV.d.ts.map +0 -1
- package/dist/dist/syncDbWithEas-BMHoou6X.d.ts +0 -13
- package/dist/dist/syncDbWithEas-BMHoou6X.d.ts.map +0 -1
- package/dist/dist/tolerantWebAccess-BHndShch.d.ts +0 -113
- package/dist/dist/tolerantWebAccess-BHndShch.d.ts.map +0 -1
- package/dist/dist/updateSeedRevokedAt-DpfG6ztE.d.ts +0 -11
- package/dist/dist/updateSeedRevokedAt-DpfG6ztE.d.ts.map +0 -1
- package/dist/eas-B5VJolSj.js +0 -67
- package/dist/eas-B5VJolSj.js.map +0 -1
- package/dist/errors-CS3nDpUU.js +0 -4006
- package/dist/errors-CS3nDpUU.js.map +0 -1
- package/dist/eventBus-7vxTCc3a.js +0 -64
- package/dist/eventBus-7vxTCc3a.js.map +0 -1
- package/dist/findSeedRowsByUid-CuQmK7An.js +0 -47
- package/dist/findSeedRowsByUid-CuQmK7An.js.map +0 -1
- package/dist/getItem-Uha3_H0t.js +0 -45
- package/dist/getItem-Uha3_H0t.js.map +0 -1
- package/dist/getPublishPayload-pbin4lk8.js +0 -1736
- package/dist/getPublishPayload-pbin4lk8.js.map +0 -1
- package/dist/getPublishPendingDiff-ByIaPvCn.js +0 -118
- package/dist/getPublishPendingDiff-ByIaPvCn.js.map +0 -1
- package/dist/getPublishUploads-BBqiowVc.js +0 -1080
- package/dist/getPublishUploads-BBqiowVc.js.map +0 -1
- package/dist/index-DQoyhp2c.js.map +0 -1
- package/dist/index-DxHpPNfn.js.map +0 -1
- package/dist/index-njjjo74v.js +0 -29
- package/dist/index-njjjo74v.js.map +0 -1
- package/dist/index-rOTW-2QZ.js +0 -4760
- package/dist/index-rOTW-2QZ.js.map +0 -1
- package/dist/index.browser-QPWBkLJA.js.map +0 -1
- package/dist/index.node-WsEJCOwC.js.map +0 -1
- package/dist/mimeTypes-C9r76DCH.js +0 -209
- package/dist/mimeTypes-C9r76DCH.js.map +0 -1
- package/dist/model-oHA3YhOd.js +0 -29
- package/dist/model-oHA3YhOd.js.map +0 -1
- package/dist/modelPropertyRecordSchemas-onFOG2x6.js +0 -94
- package/dist/modelPropertyRecordSchemas-onFOG2x6.js.map +0 -1
- package/dist/property-C85DCD7K.js +0 -289
- package/dist/property-C85DCD7K.js.map +0 -1
- package/dist/propertyValidationRules-CjUPOFeu.js +0 -73
- package/dist/propertyValidationRules-CjUPOFeu.js.map +0 -1
- package/dist/publishDraftGraph-DBWAN72w.js +0 -505
- package/dist/publishDraftGraph-DBWAN72w.js.map +0 -1
- package/dist/resolveModelForSyncedSeed-fIURvYRV.js.map +0 -1
- package/dist/src/Item/service/actors/loadOrCreateItem.d.ts +0 -5
- package/dist/src/Item/service/actors/loadOrCreateItem.d.ts.map +0 -1
- package/dist/src/Item/service/actors/waitForDb.d.ts +0 -4
- package/dist/src/Item/service/actors/waitForDb.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/loadOrCreateProperty.d.ts +0 -5
- package/dist/src/ItemProperty/service/actors/loadOrCreateProperty.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/analyzeInput.d.ts +0 -5
- package/dist/src/ItemProperty/service/actors/saveValueToDb/analyzeInput.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/index.d.ts +0 -6
- package/dist/src/ItemProperty/service/actors/saveValueToDb/index.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/rowContext.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveFile.d.ts +0 -24
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveFile.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveHtml.d.ts +0 -5
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveHtml.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveImage.d.ts +0 -5
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveImage.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveItemStorage.d.ts +0 -10
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveItemStorage.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/storageValue.d.ts +0 -22
- package/dist/src/ItemProperty/service/actors/saveValueToDb/storageValue.d.ts.map +0 -1
- package/dist/src/ItemProperty/service/actors/waitForDb.d.ts +0 -4
- package/dist/src/ItemProperty/service/actors/waitForDb.d.ts.map +0 -1
- package/dist/src/Model/service/actors/createModelProperties.d.ts +0 -9
- package/dist/src/Model/service/actors/createModelProperties.d.ts.map +0 -1
- package/dist/src/Model/service/actors/loadOrCreateModel.d.ts +0 -5
- package/dist/src/Model/service/actors/loadOrCreateModel.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/checkExistingSchema.d.ts +0 -5
- package/dist/src/Schema/service/actors/checkExistingSchema.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/createModelInstances.d.ts +0 -11
- package/dist/src/Schema/service/actors/createModelInstances.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/createPropertyInstances.d.ts +0 -12
- package/dist/src/Schema/service/actors/createPropertyInstances.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/validateSchema.d.ts +0 -5
- package/dist/src/Schema/service/actors/validateSchema.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/verifyModelInstancesInCache.d.ts +0 -6
- package/dist/src/Schema/service/actors/verifyModelInstancesInCache.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/verifyModelsInDb.d.ts +0 -7
- package/dist/src/Schema/service/actors/verifyModelsInDb.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/verifyPropertiesInDb.d.ts +0 -8
- package/dist/src/Schema/service/actors/verifyPropertiesInDb.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/verifyPropertyInstancesInCache.d.ts +0 -6
- package/dist/src/Schema/service/actors/verifyPropertyInstancesInCache.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/verifySchemaInDb.d.ts +0 -7
- package/dist/src/Schema/service/actors/verifySchemaInDb.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/writeModelsToDb.d.ts +0 -9
- package/dist/src/Schema/service/actors/writeModelsToDb.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/writePropertiesToDb.d.ts +0 -10
- package/dist/src/Schema/service/actors/writePropertiesToDb.d.ts.map +0 -1
- package/dist/src/Schema/service/actors/writeSchemaToDb.d.ts +0 -11
- package/dist/src/Schema/service/actors/writeSchemaToDb.d.ts.map +0 -1
- package/dist/src/browser/helpers/ArweaveClient.d.ts +0 -14
- package/dist/src/browser/helpers/ArweaveClient.d.ts.map +0 -1
- package/dist/src/browser/helpers/EasClient.d.ts +0 -10
- package/dist/src/browser/helpers/EasClient.d.ts.map +0 -1
- package/dist/src/browser/helpers/QueryClient.d.ts +0 -9
- package/dist/src/browser/helpers/QueryClient.d.ts.map +0 -1
- package/dist/src/client/actors/addModelsToStore.d.ts +0 -4
- package/dist/src/client/actors/addModelsToStore.d.ts.map +0 -1
- package/dist/src/db/backfillMetadataPropertyIds.d.ts +0 -7
- package/dist/src/db/backfillMetadataPropertyIds.d.ts.map +0 -1
- package/dist/src/db/read/getItem.d.ts +0 -3
- package/dist/src/db/read/getItem.d.ts.map +0 -1
- package/dist/src/db/read/getPropertyData.d.ts +0 -4
- package/dist/src/db/read/getPropertyData.d.ts.map +0 -1
- package/dist/src/db/read/getRelatedItemsForPublish.d.ts +0 -10
- package/dist/src/db/read/getRelatedItemsForPublish.d.ts.map +0 -1
- package/dist/src/db/read/getSeedData.d.ts +0 -12
- package/dist/src/db/read/getSeedData.d.ts.map +0 -1
- package/dist/src/db/read/itemLoads.d.ts +0 -20
- package/dist/src/db/read/itemLoads.d.ts.map +0 -1
- package/dist/src/db/read/publishDraftGraph.d.ts +0 -64
- package/dist/src/db/read/publishDraftGraph.d.ts.map +0 -1
- package/dist/src/db/write/linkModelToSchema.d.ts +0 -12
- package/dist/src/db/write/linkModelToSchema.d.ts.map +0 -1
- package/dist/src/helpers/ArweaveClient/BaseArweaveClient.d.ts +0 -2
- package/dist/src/helpers/ArweaveClient/BaseArweaveClient.d.ts.map +0 -1
- package/dist/src/helpers/ArweaveClient/arweaveL1UploadApi.d.ts +0 -2
- package/dist/src/helpers/ArweaveClient/arweaveL1UploadApi.d.ts.map +0 -1
- package/dist/src/helpers/ArweaveClient/selectReadGateway.d.ts +0 -2
- package/dist/src/helpers/ArweaveClient/selectReadGateway.d.ts.map +0 -1
- package/dist/src/helpers/ArweaveClient/uploadApiVerification.d.ts +0 -2
- package/dist/src/helpers/ArweaveClient/uploadApiVerification.d.ts.map +0 -1
- package/dist/src/helpers/EasClient/BaseEasClient.d.ts +0 -2
- package/dist/src/helpers/EasClient/BaseEasClient.d.ts.map +0 -1
- package/dist/src/helpers/QueryClient/BaseQueryClient.d.ts +0 -2
- package/dist/src/helpers/QueryClient/BaseQueryClient.d.ts.map +0 -1
- package/dist/src/helpers/easUid.d.ts +0 -2
- package/dist/src/helpers/easUid.d.ts.map +0 -1
- package/dist/src/helpers/entity/entityDestroy.d.ts +0 -49
- package/dist/src/helpers/entity/entityDestroy.d.ts.map +0 -1
- package/dist/src/helpers/entity/entityFind.d.ts +0 -52
- package/dist/src/helpers/entity/entityFind.d.ts.map +0 -1
- package/dist/src/helpers/entity/entityState.d.ts +0 -28
- package/dist/src/helpers/entity/entityState.d.ts.map +0 -1
- package/dist/src/helpers/entity/entityUnload.d.ts +0 -56
- package/dist/src/helpers/entity/entityUnload.d.ts.map +0 -1
- package/dist/src/helpers/entity/evictionEpoch.d.ts +0 -43
- package/dist/src/helpers/entity/evictionEpoch.d.ts.map +0 -1
- package/dist/src/helpers/entity/index.d.ts +0 -12
- package/dist/src/helpers/entity/index.d.ts.map +0 -1
- package/dist/src/helpers/gateway/gatewayState.d.ts +0 -2
- package/dist/src/helpers/gateway/gatewayState.d.ts.map +0 -1
- package/dist/src/helpers/gateway/resolveSeedGatewayEndpoints.d.ts +0 -2
- package/dist/src/helpers/gateway/resolveSeedGatewayEndpoints.d.ts.map +0 -1
- package/dist/src/helpers/gateway/seedGatewayConfig.d.ts +0 -2
- package/dist/src/helpers/gateway/seedGatewayConfig.d.ts.map +0 -1
- package/dist/src/helpers/getSchemaForItemProperty.d.ts +0 -15
- package/dist/src/helpers/getSchemaForItemProperty.d.ts.map +0 -1
- package/dist/src/helpers/getSegmentedItemProperties.d.ts +0 -10
- package/dist/src/helpers/getSegmentedItemProperties.d.ts.map +0 -1
- package/dist/src/helpers/isSqliteUniqueConstraintError.d.ts +0 -7
- package/dist/src/helpers/isSqliteUniqueConstraintError.d.ts.map +0 -1
- package/dist/src/helpers/propertyValidationRules.d.ts +0 -20
- package/dist/src/helpers/propertyValidationRules.d.ts.map +0 -1
- package/dist/src/helpers/propertyWriteTickets.d.ts +0 -11
- package/dist/src/helpers/propertyWriteTickets.d.ts.map +0 -1
- package/dist/src/helpers/reconcilePropertyDraftRows.d.ts +0 -10
- package/dist/src/helpers/reconcilePropertyDraftRows.d.ts.map +0 -1
- package/dist/src/helpers/waitForEntityIdle.d.ts +0 -21
- package/dist/src/helpers/waitForEntityIdle.d.ts.map +0 -1
- package/dist/src/interfaces/IQueryClient.d.ts +0 -15
- package/dist/src/interfaces/IQueryClient.d.ts.map +0 -1
- package/dist/src/node/helpers/ArweaveClient.d.ts +0 -5
- package/dist/src/node/helpers/ArweaveClient.d.ts.map +0 -1
- package/dist/src/node/helpers/EasClient.d.ts +0 -5
- package/dist/src/node/helpers/EasClient.d.ts.map +0 -1
- package/dist/src/node/helpers/QueryClient.d.ts +0 -5
- package/dist/src/node/helpers/QueryClient.d.ts.map +0 -1
- package/dist/src/services/write/actors/validateEntity.d.ts +0 -6
- package/dist/src/services/write/actors/validateEntity.d.ts.map +0 -1
- package/dist/src/services/write/actors/writeToDatabase.d.ts +0 -14
- package/dist/src/services/write/actors/writeToDatabase.d.ts.map +0 -1
- package/dist/src/services/write/writeProcessMachine.d.ts +0 -56
- package/dist/src/services/write/writeProcessMachine.d.ts.map +0 -1
- package/dist/src/stores/eas.d.ts +0 -2
- package/dist/src/stores/eas.d.ts.map +0 -1
- package/dist/src/types/arweave.d.ts +0 -57
- package/dist/src/types/arweave.d.ts.map +0 -1
- package/dist/src/types/gateway.d.ts +0 -2
- package/dist/src/types/gateway.d.ts.map +0 -1
- package/dist/syncDbWithEas-BMHoou6X.js.map +0 -1
- package/dist/updateSeedRevokedAt-DpfG6ztE.js +0 -31
- package/dist/updateSeedRevokedAt-DpfG6ztE.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.browser-QPWBkLJA.d.ts","sourceRoot":"","sources":["../index.browser-QPWBkLJA.js"],"names":[],"mappings":"AAi5JA;;;;;;EAQC;AAxnHD,gEAEC;AAunHD;;;GAGG;AACH,qDAEC;AAhgHD;IAEQ,gDAAsB;IACtB,8FAA8F;IAC9F,6BAAsC;IAE1C,+CAKC;IACD,0CAKC;IACD,8DAMC;IACD,sDAuCC;IACD,4CAGC;IACD;;;;sBAGC;IACD;;;sBAGC;IACD,oCAEC;IACD,uCASC;IACD,qDAIC;IACD,6CAeC;IACD,4CAcC;IACD,mDASC;IACD,mDAWC;IACD;;;;;;OAMG;IACH,sBAL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,mCAiBC;IACD,mEAMC;IACD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,2BA2DC;CACJ;AA+CD;IACI,kCAEC;IACD,qGAEC;IACD,mEAqDC;IACD;;;SAgBC;IACD,yDAYC;IACD;;;;;;;;;;;;UAyCC;CACJ;AAGD;IACI,mGAAmG;IACnG,oBAMC;IAHO,eAA6D;CAIxE;AAQD;IACI;;;;MA8BC;IAFG;;;;kBAA8B;CAGrC;8BAh4J6B,iBAAiB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MIME type to the extension a downloaded file gets. One canonical extension per type (the
|
|
3
|
-
* first one listed here wins over {@link EXTENSION_TO_MIME}'s aliases), plus a few common
|
|
4
|
-
* non-canonical spellings a gateway may send.
|
|
5
|
-
*/
|
|
6
|
-
declare const MIME_TO_EXTENSION: {
|
|
7
|
-
'image/jpeg': string;
|
|
8
|
-
'image/svg+xml': string;
|
|
9
|
-
'image/x-icon': string;
|
|
10
|
-
'image/tiff': string;
|
|
11
|
-
'text/html': string;
|
|
12
|
-
'text/plain': string;
|
|
13
|
-
'text/markdown': string;
|
|
14
|
-
'text/javascript': string;
|
|
15
|
-
'audio/mpeg': string;
|
|
16
|
-
'audio/ogg': string;
|
|
17
|
-
'audio/mp4': string;
|
|
18
|
-
'video/mp4': string;
|
|
19
|
-
'video/quicktime': string;
|
|
20
|
-
'video/ogg': string;
|
|
21
|
-
};
|
|
22
|
-
/** Extension (no dot) for a MIME type, if it has a well-known one. */
|
|
23
|
-
declare function getExtensionForMimeType(mimeType: any): any;
|
|
24
|
-
/**
|
|
25
|
-
* Best MIME type for upload bytes: the source's own type (a Blob/File `type`) when it is specific,
|
|
26
|
-
* then the file name's extension, then the bytes' signature.
|
|
27
|
-
*/
|
|
28
|
-
declare function resolveUploadMimeType(params: any): any;
|
|
29
|
-
export { MIME_TO_EXTENSION as M, getExtensionForMimeType as g, resolveUploadMimeType as r };
|
|
30
|
-
//# sourceMappingURL=mimeTypes-C9r76DCH.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mimeTypes-C9r76DCH.d.ts","sourceRoot":"","sources":["../mimeTypes-C9r76DCH.js"],"names":[],"mappings":"AAmFA;;;;GAIG;AACH;;;;;;;;;;;;;;;EAkCK;AAyBL,sEAAsE;AACtE,6DAGC;AAgDD;;;GAGG;AACH,yDAE4D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"model-oHA3YhOd.d.ts","sourceRoot":"","sources":["../model-oHA3YhOd.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,6DAqBC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Every property's record schema for one model, read from the database (properties table, ref
|
|
3
|
-
* model names, validation rules from the schema), keyed by property name. Empty when the model has
|
|
4
|
-
* no row. Rejects when the model can't be resolved (e.g. an ambiguous name).
|
|
5
|
-
*/
|
|
6
|
-
export function loadModelPropertyRecordSchemas(modelName: any, modelFileId: any, db: any): any;
|
|
7
|
-
//# sourceMappingURL=modelPropertyRecordSchemas-onFOG2x6.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modelPropertyRecordSchemas-onFOG2x6.d.ts","sourceRoot":"","sources":["../modelPropertyRecordSchemas-onFOG2x6.js"],"names":[],"mappings":"AAyBA;;;;GAIG;AACH,+FAaC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"platform.browser.d.ts","sourceRoot":"","sources":["../platform.browser.js"],"names":[],"mappings":""}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gets the propertyRecordSchema object for a given model and property name.
|
|
3
|
-
*
|
|
4
|
-
* The propertyRecordSchema is the property definition object that contains
|
|
5
|
-
* information about the property's data type, storage configuration, and
|
|
6
|
-
* relationship details (for Relation and List types).
|
|
7
|
-
*
|
|
8
|
-
* This function first checks the database for property definitions (which may
|
|
9
|
-
* have been edited), then falls back to schema files. This ensures that
|
|
10
|
-
* edited properties persist across page reloads.
|
|
11
|
-
*
|
|
12
|
-
* This function handles property names that end with 'Id' or 'Ids' by automatically
|
|
13
|
-
* looking up the base property name in the schema (e.g., 'authorId' -> 'author',
|
|
14
|
-
* 'tagIds' -> 'tags').
|
|
15
|
-
*
|
|
16
|
-
* @param modelName - The name of the model (e.g., 'Article', 'Author')
|
|
17
|
-
* @param propertyName - The name of the property (e.g., 'title', 'author', 'authorId', 'tags', 'tagIds')
|
|
18
|
-
* @returns The propertyRecordSchema object (TProperty with optional _propertyFileId) or undefined if not found
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```typescript
|
|
22
|
-
* const schema = await getPropertySchema('Article', 'title')
|
|
23
|
-
* // Returns: { dataType: 'Text', ... }
|
|
24
|
-
*
|
|
25
|
-
* const relationSchema = await getPropertySchema('Article', 'author')
|
|
26
|
-
* // Returns: { dataType: 'Relation', ref: 'Author', ... }
|
|
27
|
-
*
|
|
28
|
-
* // Also works with Id/Ids suffixes
|
|
29
|
-
* const relationSchemaById = await getPropertySchema('Article', 'authorId')
|
|
30
|
-
* // Returns: { dataType: 'Relation', ref: 'Author', ... }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export function getPropertySchema(modelName: any, propertyName: any, scope?: {}): Promise<any>;
|
|
34
|
-
import { g as normalizePropertyRecordSchema } from './index-rOTW-2QZ.js';
|
|
35
|
-
export { normalizePropertyRecordSchema };
|
|
36
|
-
export { M as ModelPropertyDataTypes, P as Property, T as THtmlEmbeddedDataUriPolicy, a as TProperty, b as TPropertyConstructor, c as TPropertyDataType, d as TPropertyDefs, e as TStorageType, i as isDataType, n as normalizeDataType } from "./index-rOTW-2QZ.js";
|
|
37
|
-
//# sourceMappingURL=property-C85DCD7K.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"property-C85DCD7K.d.ts","sourceRoot":"","sources":["../property-C85DCD7K.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,+FAyOC;mDA5RkI,qBAAqB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* resolvePropertyValidationRules for several properties of one model. The stored schema data is
|
|
3
|
-
* read and parsed once for all the properties the loaded schema has no rules for.
|
|
4
|
-
*/
|
|
5
|
-
export function resolveModelValidationRules(modelName: any, propertyNames: any, scope?: {}): Promise<Map<any, any>>;
|
|
6
|
-
/**
|
|
7
|
-
* A property's validation rules (enum, pattern, minLength, maxLength). The properties table has
|
|
8
|
-
* no column for them, so they come from the loaded schema or ModelProperty instance
|
|
9
|
-
* (getPropertySchema) or, when that isn't loaded yet, from the schema data stored with the
|
|
10
|
-
* model's schema row.
|
|
11
|
-
*/
|
|
12
|
-
export function resolvePropertyValidationRules(modelName: any, propertyName: any, scope?: {}): Promise<any>;
|
|
13
|
-
//# sourceMappingURL=propertyValidationRules-CjUPOFeu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"propertyValidationRules-CjUPOFeu.d.ts","sourceRoot":"","sources":["../propertyValidationRules-CjUPOFeu.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH,oHAqDC;AAnED;;;;;GAKG;AACH,4GAGC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The items one internal read loads (a publish payload build, a publish walk). `getItem` and
|
|
3
|
-
* `Item.find` take a cache hold on each item they return; `release()` drops this read's holds, so
|
|
4
|
-
* an item nobody else holds stops instead of staying loaded for the session. A read that hands
|
|
5
|
-
* none of these items to its caller releases them when it is done.
|
|
6
|
-
*/
|
|
7
|
-
declare class ItemLoads {
|
|
8
|
-
held: any[];
|
|
9
|
-
getItem(params: any): Promise<any>;
|
|
10
|
-
find(params: any): Promise<any>;
|
|
11
|
-
/** Adds an item the caller loaded (one hold) to the holds `release()` drops. */
|
|
12
|
-
keep(item: any): any;
|
|
13
|
-
/** Drops every hold this read took, except one hold on each item in `except`, which passes to the caller. */
|
|
14
|
-
release(except?: any[]): void;
|
|
15
|
-
}
|
|
16
|
-
declare function getSegmentedItemProperties(item: any): Promise<{
|
|
17
|
-
itemBasicProperties: any[];
|
|
18
|
-
itemRelationProperties: any[];
|
|
19
|
-
itemListProperties: any[];
|
|
20
|
-
itemUploadProperties: {
|
|
21
|
-
itemProperty: any;
|
|
22
|
-
childProperties: never[];
|
|
23
|
-
}[];
|
|
24
|
-
itemImageProperties: any[];
|
|
25
|
-
}>;
|
|
26
|
-
/** The seed was attested and that attestation was revoked (unpublished). */
|
|
27
|
-
declare function isUnpublishedSeed(row: any): boolean;
|
|
28
|
-
/** The seed is attested and its attestation is live. */
|
|
29
|
-
declare function isLivePublishedSeed(row: any): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* The draft items a publish of an item carries along, and how it walks to them.
|
|
32
|
-
*
|
|
33
|
-
* A publish attests the item and every draft item (no seed uid yet) reachable from it through
|
|
34
|
-
* relation and list-of-relation properties, each with its full property set. Already-published
|
|
35
|
-
* targets are referenced by their current uid and not walked into; revoked ones stop the publish
|
|
36
|
-
* (RelatedItemUnpublishedError). getPublishPayload, getPublishUploads, getPublishUploadData (publish
|
|
37
|
-
* package), summarizePublishWork and the Html-embedded image co-publish all walk this graph in the
|
|
38
|
-
* same order: depth first, properties in item order (relations, then lists), list members in order.
|
|
39
|
-
*
|
|
40
|
-
* Cycles: an item can only attest the uid of a seed published before it in the same publish, so a
|
|
41
|
-
* ref back to an item still being walked (an ancestor that gets a new seed in this publish) can't be
|
|
42
|
-
* attested. Such a property is deferred: left out of this publish (it keeps no uid, so the next
|
|
43
|
-
* publish of its item attests it, with the target's uid). For A ↔ B reached from A, A attests B's
|
|
44
|
-
* uid and B's relation to A is deferred.
|
|
45
|
-
*/
|
|
46
|
-
/** Relation properties that point at model items (not Image/File/Html/Json storage seeds). */
|
|
47
|
-
declare function draftWalkProperties(segmented: any): {
|
|
48
|
-
relationProperties: any;
|
|
49
|
-
listProperties: any;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* The local seed row a relation/list/image ref points at, by local id or uid. A uid resolves as
|
|
53
|
-
* {@link findSeedRowsByUid} resolves it (the order EAS sync matches seeds in): the old uid of a seed
|
|
54
|
-
* that was unpublished and published again resolves to that seed, through its old version rows.
|
|
55
|
-
* Null when nothing local matches (e.g. a published uid with no local copy).
|
|
56
|
-
*/
|
|
57
|
-
declare function findRelatedSeedRow({ seedLocalId, seedUid, }: {
|
|
58
|
-
seedLocalId: any;
|
|
59
|
-
seedUid: any;
|
|
60
|
-
}): Promise<any>;
|
|
61
|
-
declare function getPublishDraftGraph(root: any, options: any): Promise<{
|
|
62
|
-
drafts: any[];
|
|
63
|
-
deferredProperties: Set<any>;
|
|
64
|
-
backReferences: Map<any, any>;
|
|
65
|
-
}>;
|
|
66
|
-
/**
|
|
67
|
-
* Name of the item's Html property whose value is the Html seed `htmlSeedLocalId`: the property
|
|
68
|
-
* that refers to the images embedded in that Html (htmlEmbeddedImageCoPublish rows).
|
|
69
|
-
*/
|
|
70
|
-
declare function htmlPropertyNameForHtmlSeed(item: any, htmlSeedLocalId: any): any;
|
|
71
|
-
/**
|
|
72
|
-
* True when the item's seed attestation was revoked (`seeds.revoked_at` set, by unpublish or EAS
|
|
73
|
-
* sync). Such a seed can't take new versions: publishing again creates a new seed attestation
|
|
74
|
-
* (see "Republishing" in docs/ATTESTATION_REVOCATION.md).
|
|
75
|
-
*/
|
|
76
|
-
declare function isSeedRevoked(seedLocalId: any): Promise<boolean>;
|
|
77
|
-
declare var publishDraftGraph: Readonly<{
|
|
78
|
-
__proto__: null;
|
|
79
|
-
draftWalkProperties: typeof draftWalkProperties;
|
|
80
|
-
getPublishDraftGraph: typeof getPublishDraftGraph;
|
|
81
|
-
getsNewSeed: typeof getsNewSeed;
|
|
82
|
-
propertySeedRefs: typeof propertySeedRefs;
|
|
83
|
-
}>;
|
|
84
|
-
/** Model a relation/list/image property points at, from its definition. */
|
|
85
|
-
declare function relatedModelNameFromDef(propertyDef: any): any;
|
|
86
|
-
/** Runs `read` with `loads`, or with its own ItemLoads released when `read` settles. */
|
|
87
|
-
declare function withItemLoads(loads: any, read: any): Promise<any>;
|
|
88
|
-
/** The item gets a new seed attestation in this publish: a draft, or a revoked seed published again. */
|
|
89
|
-
declare function getsNewSeed(item: any): Promise<boolean>;
|
|
90
|
-
/** Seed refs held by a relation property (one) or a list property (each member). */
|
|
91
|
-
declare function propertySeedRefs(prop: any, isList: any): any[];
|
|
92
|
-
export { ItemLoads as I, getSegmentedItemProperties as a, isUnpublishedSeed as b, isLivePublishedSeed as c, draftWalkProperties as d, findRelatedSeedRow as f, getPublishDraftGraph as g, htmlPropertyNameForHtmlSeed as h, isSeedRevoked as i, publishDraftGraph as p, relatedModelNameFromDef as r, withItemLoads as w };
|
|
93
|
-
//# sourceMappingURL=publishDraftGraph-DBWAN72w.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publishDraftGraph-DBWAN72w.d.ts","sourceRoot":"","sources":["../publishDraftGraph-DBWAN72w.js"],"names":[],"mappings":"AAsMA;;;;;GAKG;AACH;IAEQ,YAAc;IAElB,mCAIC;IACD,gCAKC;IACD,gFAAgF;IAChF,qBAIC;IACD,6GAA6G;IAC7G,8BAYC;CACJ;AAvID;;;;;;;;;GA4FC;AAwGD,4EAA4E;AAC5E,sDAAoH;AAHpH,wDAAwD;AACxD,wDAAuH;AAkCvH;;;;;;;;;;;;;;;GAeG;AACH,8FAA8F;AAC9F;;;EAMC;AAhFD;;;;;GAKG;AACH;;;iBAeC;AA6GD;;;;GAuFC;AAjLD;;;GAGG;AACH,mFAWC;AAhFD;;;;GAIG;AACH,mEAYC;AAmOD;;;;;;GAMG;AAvMH,2EAA2E;AAC3E,gEAYC;AA3ED,wFAAwF;AACxF,oEAQC;AAyID,wGAAwG;AACxG,0DAEC;AA1BD,oFAAoF;AACpF,iEAoBC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** Emitted when background work skips a seed whose model name exists in several schemas. */
|
|
2
|
-
declare const MODEL_AMBIGUOUS_EVENT: "model:ambiguous";
|
|
3
|
-
/**
|
|
4
|
-
* Seam for matching an EAS-synced seed to a local model (its schemaFileId).
|
|
5
|
-
*
|
|
6
|
-
* EAS identifies a seed's model only by name (`bytes32 <model_name>`), so when several local schemas
|
|
7
|
-
* define a model with that name the seed alone can't say which one it is. The original plan was to
|
|
8
|
-
* match by the seed's properties and metadata; docs/adr/0006-schema-scoped-seeds.md replaced it.
|
|
9
|
-
*
|
|
10
|
-
* TODO(eas-synced-seed-model-resolution): not implemented yet. Returns undefined, so callers fall
|
|
11
|
-
* back to the name, which throws AmbiguousModelError when the name is ambiguous.
|
|
12
|
-
*/
|
|
13
|
-
declare function resolveModelForSyncedSeed(_seed: any): Promise<undefined>;
|
|
14
|
-
/**
|
|
15
|
-
* Run background work for one seed; if it hits an ambiguous model name, log, emit
|
|
16
|
-
* MODEL_AMBIGUOUS_EVENT and return undefined (skip) instead of failing the whole job. Loading the
|
|
17
|
-
* item directly still throws, so the problem surfaces where the app touches it.
|
|
18
|
-
*/
|
|
19
|
-
declare function skipSeedOnAmbiguousModel(seed: any, context: any, work: any): Promise<any>;
|
|
20
|
-
export { MODEL_AMBIGUOUS_EVENT as M, resolveModelForSyncedSeed as r, skipSeedOnAmbiguousModel as s };
|
|
21
|
-
//# sourceMappingURL=resolveModelForSyncedSeed-fIURvYRV.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolveModelForSyncedSeed-fIURvYRV.d.ts","sourceRoot":"","sources":["../resolveModelForSyncedSeed-fIURvYRV.js"],"names":[],"mappings":"AAKA,4FAA4F;AAC5F,qCAA8B,iBAAiB,CAAC;AAChD;;;;;;;;;GASG;AACH,2EAEC;AACD;;;;GAIG;AACH,4FAkBC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Rows per versions INSERT. A row binds at most one parameter per `versions` column (12 today, 10
|
|
3
|
-
* set by sync), so a batch binds at most 600: under SQLite's old default limit of 999 host
|
|
4
|
-
* parameters (sqlite-wasm and libsql allow more). saveEasVersionsBatches.test.ts checks this.
|
|
5
|
-
*/
|
|
6
|
-
export const VERSION_INSERT_BATCH: 50;
|
|
7
|
-
/**
|
|
8
|
-
* Core sync logic: fetches item attestations from EAS for configured models and given addresses,
|
|
9
|
-
* then saves seeds, versions, and properties to the local DB.
|
|
10
|
-
* Uses owned + watched addresses from DB when addresses are not provided.
|
|
11
|
-
*/
|
|
12
|
-
export function runSyncFromEas(options: any): Promise<void>;
|
|
13
|
-
//# sourceMappingURL=syncDbWithEas-BMHoou6X.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syncDbWithEas-BMHoou6X.d.ts","sourceRoot":"","sources":["../syncDbWithEas-BMHoou6X.js"],"names":[],"mappings":"AA4YA;;;;GAIG;AACH,mCAA6B,EAAE,CAAC;AAyfhC;;;;GAIG;AACH,4DAsFC"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/** Drop-in for `WebAccess` in `configureSingle({ backend, handle })`. */
|
|
2
|
-
export const TolerantWebAccess: {
|
|
3
|
-
name: string;
|
|
4
|
-
create(options: any): Promise<TolerantWebAccessFS>;
|
|
5
|
-
options: {
|
|
6
|
-
readonly handle: {
|
|
7
|
-
readonly type: "object";
|
|
8
|
-
readonly required: true;
|
|
9
|
-
};
|
|
10
|
-
readonly metadata: {
|
|
11
|
-
readonly type: "string";
|
|
12
|
-
readonly required: false;
|
|
13
|
-
};
|
|
14
|
-
readonly disableHandleCache: {
|
|
15
|
-
readonly type: "boolean";
|
|
16
|
-
readonly required: false;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* WebAccessFS mounts by walking all of OPFS and reading every file's size, and one unreadable
|
|
22
|
-
* entry fails the whole mount. This variant skips such entries instead. A skipped file is still
|
|
23
|
-
* listed by readdir, and WebAccessFS.stat() indexes it lazily on first use, once it is readable.
|
|
24
|
-
*
|
|
25
|
-
* It also makes overwrites with shorter content shrink the file (see `write` and `touch`), without
|
|
26
|
-
* cutting off bytes another context (a tab, a worker writing through a SyncAccessHandle) added to a
|
|
27
|
-
* file this mount had indexed at a smaller size: OPFS only shrinks for a truncate made through this
|
|
28
|
-
* mount, and stat() re-reads a file's size when OPFS changed since this mount last looked.
|
|
29
|
-
*
|
|
30
|
-
* Overrides @zenfs/dom 1.2.9 / @zenfs/core 2.5.6 internals (`_loadHandles`, `_loadMetadata`,
|
|
31
|
-
* `crossCopy`, `stat`, `write`, `touch`, `remove`, `get`, `_handles`, `_sync`, `_isInitialized`,
|
|
32
|
-
* `index`, and `vfs.Handle#truncate`/`truncateSync`, see `trackTruncates`); both packages are pinned
|
|
33
|
-
* to exact versions, and tolerantWebAccess.test.ts / opfsOverwrite.test.ts cover the coupling.
|
|
34
|
-
*/
|
|
35
|
-
export class TolerantWebAccessFS extends WebAccessFS {
|
|
36
|
-
constructor(root: any, disableHandleCache: any);
|
|
37
|
-
/**
|
|
38
|
-
* Truncates made through this mount that OPFS doesn't have yet, by path. ZenFS truncates by
|
|
39
|
-
* lowering the inode's size and syncing it later, so only these may shrink the OPFS file: an
|
|
40
|
-
* inode that is merely smaller than the file is a stale view of a file someone else grew.
|
|
41
|
-
*/
|
|
42
|
-
_truncates: Map<any, any>;
|
|
43
|
-
/** Each OPFS file as this mount last saw it, to notice writes made elsewhere. */
|
|
44
|
-
_seen: Map<any, any>;
|
|
45
|
-
/**
|
|
46
|
-
* Called by vfs.Handle#truncate(Sync) for files on this mount (see `trackTruncates`). Returns an
|
|
47
|
-
* undo for a truncate the handle then rejects.
|
|
48
|
-
*/
|
|
49
|
-
_noteTruncate(path: any, length: any): () => void;
|
|
50
|
-
/**
|
|
51
|
-
* The sync API's in-memory copy (a StoreFS) truncates by setting the size alone and keeps the old
|
|
52
|
-
* bytes, which a later write past that size then exposes in place of zeros. Cut them off there
|
|
53
|
-
* too. Called by vfs.Handle#truncate(Sync) once the truncate went through.
|
|
54
|
-
*/
|
|
55
|
-
_truncateCache(path: any, length: any): void;
|
|
56
|
-
_takeTruncate(path: any, pending: any): void;
|
|
57
|
-
_changed(path: any): void;
|
|
58
|
-
_remember(path: any, file: any): void;
|
|
59
|
-
/** Another context changed the file: the next stat() refreshes the sync API's in-memory copy. */
|
|
60
|
-
_markChangedElsewhere(path: any): void;
|
|
61
|
-
/**
|
|
62
|
-
* The index holds each file's size from when this mount last looked, and another context may
|
|
63
|
-
* have written the file since. Re-read it from OPFS, so opening a file (an append goes to its
|
|
64
|
-
* size) and reading it see the true file, and refresh the in-memory copy behind the sync API when
|
|
65
|
-
* the file changed. Costs one getFile() per stat of a regular file; contents are only read when
|
|
66
|
-
* the file changed.
|
|
67
|
-
*/
|
|
68
|
-
stat(path: any): Promise<Inode>;
|
|
69
|
-
/** Replaces the sync API's in-memory copy of `path` with `file`, if it holds one. */
|
|
70
|
-
_recache(path: any, inode: any, file: any): Promise<void>;
|
|
71
|
-
/**
|
|
72
|
-
* WebAccessFS.write opens the file with `keepExistingData` and never truncates, so a whole-file
|
|
73
|
-
* overwrite with shorter content (open 'w', then a write at 0) kept the old tail on disk. Here a
|
|
74
|
-
* truncate this mount made since the file was last written (open 'w', ftruncate) is applied in
|
|
75
|
-
* the same writable as the data: the file is cut to that length first (a write past it leaves
|
|
76
|
-
* zeros in the gap, as POSIX does). Without one, the data goes over the file OPFS has, whatever
|
|
77
|
-
* size this mount last saw: appends and writes at an offset never cut off bytes another context
|
|
78
|
-
* wrote.
|
|
79
|
-
*/
|
|
80
|
-
write(path: any, buffer: any, offset: any): Promise<void>;
|
|
81
|
-
/**
|
|
82
|
-
* ZenFS truncates by setting the inode's size and syncing it with touch() (FileHandle.truncate
|
|
83
|
-
* with no write after it). Make OPFS follow when this mount truncated the file. Any other touch
|
|
84
|
-
* (chmod, utimes, the size after writes) leaves the OPFS file alone: a smaller size there is a
|
|
85
|
-
* stale view, and the index takes the file's real size back.
|
|
86
|
-
*/
|
|
87
|
-
touch(path: any, metadata: any): Promise<void>;
|
|
88
|
-
remove(path: any): Promise<void>;
|
|
89
|
-
_loadHandles(path: any, handle: any): Promise<void>;
|
|
90
|
-
_loadMetadata(metadataPath: any): Promise<void>;
|
|
91
|
-
/**
|
|
92
|
-
* Forgets what the mount cached for `path` (size, handle, contents) and reads it again from OPFS.
|
|
93
|
-
* For files written outside this ZenFS instance: by another tab, or by a worker writing to OPFS
|
|
94
|
-
* directly. Only reads OPFS (never writes it, so never calls onOpfsChange).
|
|
95
|
-
*
|
|
96
|
-
* An entry that's gone (removed elsewhere) is forgotten along with anything cached under it, and
|
|
97
|
-
* costs one failed lookup. A file in directories this mount hasn't cached yet (created elsewhere
|
|
98
|
-
* after it mounted) gets them added to the in-memory copy, so the sync API finds it.
|
|
99
|
-
*/
|
|
100
|
-
invalidate(path: any): Promise<void>;
|
|
101
|
-
/** Drops `path` and everything under it from the index, handles and in-memory copy. */
|
|
102
|
-
_forgetCached(path: any): void;
|
|
103
|
-
/** Adds the directories above `path` that the in-memory copy lacks, so crossCopy can fill it. */
|
|
104
|
-
_cacheParents(path: any): Promise<void>;
|
|
105
|
-
/**
|
|
106
|
-
* The Async mixin's ready() then copies every file's contents into an in-memory cache, a second
|
|
107
|
-
* walk that reads the same busy entries. Skip those too; the root still fails the mount.
|
|
108
|
-
*/
|
|
109
|
-
crossCopy(path: any): Promise<any>;
|
|
110
|
-
}
|
|
111
|
-
import { WebAccessFS } from '@zenfs/dom';
|
|
112
|
-
import { Inode } from '@zenfs/core';
|
|
113
|
-
//# sourceMappingURL=tolerantWebAccess-BHndShch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tolerantWebAccess-BHndShch.d.ts","sourceRoot":"","sources":["../tolerantWebAccess-BHndShch.js"],"names":[],"mappings":"AA0hBA,yEAAyE;AACzE;;;;;;;;;;;;;;;;;EAQE;AAjgBF;;;;;;;;;;;;;;GAcG;AACH;IACI,gDAaC;IAXG;;;;OAIG;IACH,0BAA2B;IAC3B,iFAAiF;IACjF,qBAAsB;IAK1B;;;OAGG;IACH,kDAUC;IACD;;;;OAIG;IACH,6CAoBC;IACD,6CAIC;IACD,0BAOC;IACD,sCAEC;IACD,iGAAiG;IACjG,uCAEC;IACD;;;;;;OAMG;IACH,gCA6BC;IACD,qFAAqF;IACrF,0DA4BC;IACD;;;;;;;;OAQG;IACH,0DAiDC;IACD;;;;;OAKG;IACH,+CA0CC;IACD,iCAQC;IACD,oDAoBC;IACD,gDAwBC;IACD;;;;;;;;OAQG;IACH,qCAwBC;IACD,uFAAuF;IACvF,+BAiCC;IACD,iGAAiG;IACjG,wCAsBC;IACD;;;OAGG;IACH,mCAwBC;CACJ;4BA3dsC,YAAY;sBAFb,aAAa"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { updateSeedRevokedAt as u };
|
|
2
|
-
/**
|
|
3
|
-
* Sets revokedAt timestamp on a seed record after attestations have been revoked on EAS.
|
|
4
|
-
*/
|
|
5
|
-
declare function updateSeedRevokedAt({ seedLocalId, revokedAt, metadataUids, versionUids, }: {
|
|
6
|
-
seedLocalId: any;
|
|
7
|
-
revokedAt: any;
|
|
8
|
-
metadataUids: any;
|
|
9
|
-
versionUids: any;
|
|
10
|
-
}): Promise<void>;
|
|
11
|
-
//# sourceMappingURL=updateSeedRevokedAt-DpfG6ztE.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateSeedRevokedAt-DpfG6ztE.d.ts","sourceRoot":"","sources":["../updateSeedRevokedAt-DpfG6ztE.js"],"names":[],"mappings":";AAIA;;GAEG;AACH;;;;;kBAoBC"}
|
package/dist/eas-B5VJolSj.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { getItemVersionsFromEas, BaseQueryClient, BaseEasClient, easNamesToFetch, GET_SCHEMAS } from '@seedprotocol/eas';
|
|
2
|
-
export { PUBLISHED_BY_SCHEMA_DEF, PUBLISHED_BY_SCHEMA_NAME, decodePublishedByData, getCanonicalItemPropertiesFromEas, getEasSchemaUidBySchemaName, getItemPropertiesFromEas, getItemVersionsFromEas, getPublishedByFromEas, getSeedUidsBySchemaName, getSeedsBySchemaName, getSeedsFromSchemaUids, hashPublishedByBatch, verifyPublishedByBatch } from '@seedprotocol/eas';
|
|
3
|
-
import { O as nameMatchLevels } from './index-rOTW-2QZ.js';
|
|
4
|
-
import 'debug';
|
|
5
|
-
import '@seedprotocol/arweave';
|
|
6
|
-
import 'xstate';
|
|
7
|
-
import 'pluralize';
|
|
8
|
-
import '@sinclair/typebox';
|
|
9
|
-
import 'drizzle-orm/sqlite-core';
|
|
10
|
-
import 'drizzle-orm';
|
|
11
|
-
import 'nanoid';
|
|
12
|
-
import 'nanoid-dictionary';
|
|
13
|
-
import '@noble/hashes/sha256';
|
|
14
|
-
import '@noble/hashes/sha3';
|
|
15
|
-
import '@noble/hashes/utils';
|
|
16
|
-
import 'lodash-es';
|
|
17
|
-
|
|
18
|
-
/** Stays in SDK: depends on local Model registry. */
|
|
19
|
-
const getModelSchemasFromEas = async () => {
|
|
20
|
-
const queryClient = BaseQueryClient.getQueryClient();
|
|
21
|
-
const easClient = BaseEasClient.getEasClient();
|
|
22
|
-
const _mod_0 = await import('./errors-CS3nDpUU.js');
|
|
23
|
-
const _ns_0 = _mod_0.i;
|
|
24
|
-
const modelMod = _ns_0;
|
|
25
|
-
const { Model } = modelMod;
|
|
26
|
-
const allModels = await Model.all();
|
|
27
|
-
const modelNames = allModels.map((m) => m.modelName).filter((name) => !!name);
|
|
28
|
-
if (modelNames.length === 0) {
|
|
29
|
-
return [];
|
|
30
|
-
}
|
|
31
|
-
const OR = [];
|
|
32
|
-
const hasImageModel = modelNames.includes('Image');
|
|
33
|
-
// ADR 0008/0009: every name an SDK may have published that the model can match at its
|
|
34
|
-
// nameMatch level (at fuzzy: its EAS name, the older simple snake_case, separators dropped, a
|
|
35
|
-
// plural or singular form). The caller matches the results to local models.
|
|
36
|
-
const levels = await nameMatchLevels();
|
|
37
|
-
const schemaNames = new Set();
|
|
38
|
-
for (const modelName of modelNames) {
|
|
39
|
-
for (const name of easNamesToFetch(modelName, levels.model(modelName)))
|
|
40
|
-
schemaNames.add(name);
|
|
41
|
-
}
|
|
42
|
-
for (const name of schemaNames) {
|
|
43
|
-
OR.push({ schema: { equals: `bytes32 ${name}` } });
|
|
44
|
-
}
|
|
45
|
-
if (hasImageModel) {
|
|
46
|
-
OR.push({
|
|
47
|
-
schema: {
|
|
48
|
-
equals: `bytes32 image`,
|
|
49
|
-
},
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
const modelSchemas = await queryClient.fetchQuery({
|
|
53
|
-
queryKey: [`getSchemasAllModels`, [...schemaNames].sort()],
|
|
54
|
-
queryFn: async () => easClient.request(GET_SCHEMAS, {
|
|
55
|
-
where: {
|
|
56
|
-
OR,
|
|
57
|
-
},
|
|
58
|
-
}),
|
|
59
|
-
});
|
|
60
|
-
if (!modelSchemas?.schemas?.length) {
|
|
61
|
-
return [];
|
|
62
|
-
}
|
|
63
|
-
return modelSchemas.schemas;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export { getModelSchemasFromEas };
|
|
67
|
-
//# sourceMappingURL=eas-B5VJolSj.js.map
|
package/dist/eas-B5VJolSj.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eas-B5VJolSj.js","sources":["../../src/eas.ts"],"sourcesContent":["export {\n getItemVersionsFromEas,\n getItemPropertiesFromEas,\n getCanonicalItemPropertiesFromEas,\n getEasSchemaUidBySchemaName,\n getSeedsFromSchemaUids,\n getSeedsBySchemaName,\n getSeedUidsBySchemaName,\n getPublishedByFromEas,\n decodePublishedByData,\n hashPublishedByBatch,\n verifyPublishedByBatch,\n PUBLISHED_BY_SCHEMA_DEF,\n PUBLISHED_BY_SCHEMA_NAME,\n} from '@seedprotocol/eas'\nexport type {\n Attestation,\n EASSchema,\n PublishedByDecoded,\n GetPublishedByFromEasParams,\n} from '@seedprotocol/eas'\n\nimport { easNamesToFetch } from '@seedprotocol/eas'\nimport { nameMatchLevels } from '@/db/read/nameMatchLevels'\nimport { BaseEasClient } from '@seedprotocol/eas'\nimport { BaseQueryClient } from '@seedprotocol/eas'\nimport { GET_SCHEMAS } from '@seedprotocol/eas'\nimport type { EASSchema } from '@seedprotocol/eas'\n\ntype GetModelSchemasFromEas = () => Promise<EASSchema[]>\n\n/** Stays in SDK: depends on local Model registry. */\nexport const getModelSchemasFromEas: GetModelSchemasFromEas = async () => {\n const queryClient = BaseQueryClient.getQueryClient()\n const easClient = BaseEasClient.getEasClient()\n\n const modelMod = await import('./Model/Model')\n const { Model } = modelMod\n const allModels = await Model.all()\n const modelNames = allModels.map((m) => m.modelName).filter((name): name is string => !!name)\n\n if (modelNames.length === 0) {\n return []\n }\n\n const OR: Record<string, unknown>[] = []\n const hasImageModel = modelNames.includes('Image')\n\n // ADR 0008/0009: every name an SDK may have published that the model can match at its\n // nameMatch level (at fuzzy: its EAS name, the older simple snake_case, separators dropped, a\n // plural or singular form). The caller matches the results to local models.\n const levels = await nameMatchLevels()\n const schemaNames = new Set<string>()\n for (const modelName of modelNames) {\n for (const name of easNamesToFetch(modelName, levels.model(modelName))) schemaNames.add(name)\n }\n for (const name of schemaNames) {\n OR.push({ schema: { equals: `bytes32 ${name}` } })\n }\n\n if (hasImageModel) {\n OR.push({\n schema: {\n equals: `bytes32 image`,\n },\n })\n }\n\n const modelSchemas = await queryClient.fetchQuery({\n queryKey: [`getSchemasAllModels`, [...schemaNames].sort()],\n queryFn: async () =>\n easClient.request(GET_SCHEMAS, {\n where: {\n OR,\n },\n }),\n })\n\n if (!modelSchemas?.schemas?.length) {\n return []\n }\n\n return modelSchemas.schemas as EASSchema[]\n}\n"],"names":[],"mappings":";;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