@seedprotocol/sdk 0.7.7 → 0.7.8-next.1066.gac32194
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/{ClientManager-2GtDWHq6.js → ClientManager-Dcju5x4k.js} +835 -80
- package/dist/ClientManager-Dcju5x4k.js.map +1 -0
- package/dist/{Item-D6j0IvBP.js → Item-DZfNz7xl.js} +2145 -1354
- package/dist/Item-DZfNz7xl.js.map +1 -0
- package/dist/{ModelProperty-B52C3CQ2.js → ModelProperty-sMGL-_LK.js} +51 -52
- package/dist/ModelProperty-sMGL-_LK.js.map +1 -0
- package/dist/{Schema-O1QLoXv6.js → Schema-D-TczaIj.js} +106 -91
- package/dist/Schema-D-TczaIj.js.map +1 -0
- package/dist/{SchemaValidationService-BxCbfDaI.js → SchemaValidationService-NYTtSCxd.js} +6 -6
- package/dist/{SchemaValidationService-BxCbfDaI.js.map → SchemaValidationService-NYTtSCxd.js.map} +1 -1
- package/dist/{backfillMetadataPropertyIds-CzSbuucw.js → backfillMetadataPropertyIds-DEvD0OAT.js} +3 -3
- package/dist/{backfillMetadataPropertyIds-CzSbuucw.js.map → backfillMetadataPropertyIds-DEvD0OAT.js.map} +1 -1
- package/dist/{configurePlatform-Bbpw_R4y.js → configurePlatform-CtA7fydC.js} +2 -2
- package/dist/{configurePlatform-Bbpw_R4y.js.map → configurePlatform-CtA7fydC.js.map} +1 -1
- package/dist/db/drizzle/0020_add_pending_writes.sql +24 -0
- package/dist/db/drizzle/0021_add_pending_write_error_name.sql +1 -0
- package/dist/db/drizzle/meta/0020_snapshot.json +1542 -0
- package/dist/db/drizzle/meta/0021_snapshot.json +1549 -0
- package/dist/db/drizzle/meta/_journal.json +14 -0
- package/dist/{detachRowsBeforeDelete-D1TyEMco.js → detachRowsBeforeDelete-CLbBbpX4.js} +2 -2
- package/dist/{detachRowsBeforeDelete-D1TyEMco.js.map → detachRowsBeforeDelete-CLbBbpX4.js.map} +1 -1
- package/dist/dist/{ClientManager-2GtDWHq6.d.ts → ClientManager-Dcju5x4k.d.ts} +393 -292
- package/dist/dist/ClientManager-Dcju5x4k.d.ts.map +1 -0
- package/dist/dist/{Item-D6j0IvBP.d.ts → Item-DZfNz7xl.d.ts} +456 -266
- package/dist/dist/Item-DZfNz7xl.d.ts.map +1 -0
- package/dist/dist/{ModelProperty-B52C3CQ2.d.ts → ModelProperty-sMGL-_LK.d.ts} +1 -1
- package/dist/dist/{ModelProperty-B52C3CQ2.d.ts.map → ModelProperty-sMGL-_LK.d.ts.map} +1 -1
- package/dist/dist/{Schema-O1QLoXv6.d.ts → Schema-D-TczaIj.d.ts} +11 -4
- package/dist/dist/Schema-D-TczaIj.d.ts.map +1 -0
- package/dist/dist/{SchemaValidationService-BxCbfDaI.d.ts → SchemaValidationService-NYTtSCxd.d.ts} +1 -1
- package/dist/dist/{SchemaValidationService-BxCbfDaI.d.ts.map → SchemaValidationService-NYTtSCxd.d.ts.map} +1 -1
- package/dist/dist/{backfillMetadataPropertyIds-CzSbuucw.d.ts → backfillMetadataPropertyIds-DEvD0OAT.d.ts} +1 -1
- package/dist/dist/backfillMetadataPropertyIds-DEvD0OAT.d.ts.map +1 -0
- package/dist/dist/{configurePlatform-Bbpw_R4y.d.ts → configurePlatform-CtA7fydC.d.ts} +1 -1
- package/dist/dist/configurePlatform-CtA7fydC.d.ts.map +1 -0
- package/dist/dist/{detachRowsBeforeDelete-D1TyEMco.d.ts → detachRowsBeforeDelete-CLbBbpX4.d.ts} +1 -1
- package/dist/dist/detachRowsBeforeDelete-CLbBbpX4.d.ts.map +1 -0
- package/dist/dist/{eas-DOdj-EMK.d.ts → eas-CcpQiXum.d.ts} +1 -1
- package/dist/dist/eas-CcpQiXum.d.ts.map +1 -0
- package/dist/dist/{errors-KM-yq2MD.d.ts → errors-BGk_IJO5.d.ts} +39 -24
- package/dist/dist/errors-BGk_IJO5.d.ts.map +1 -0
- package/dist/dist/{getItem-Bh0zv-o1.d.ts → getItem-CHSX3aMm.d.ts} +1 -1
- package/dist/dist/getItem-CHSX3aMm.d.ts.map +1 -0
- package/dist/dist/{getPublishPayload-oH8wJhnH.d.ts → getPublishPayload-DMd4oLir.d.ts} +1 -1
- package/dist/dist/getPublishPayload-DMd4oLir.d.ts.map +1 -0
- package/dist/dist/{getPublishUploads-Cex-NBe6.d.ts → getPublishUploads-C9FnRG9c.d.ts} +1 -1
- package/dist/dist/{getPublishUploads-Cex-NBe6.d.ts.map → getPublishUploads-C9FnRG9c.d.ts.map} +1 -1
- package/dist/dist/{index-BbFwftAv.d.ts → index-C--KAWoe.d.ts} +378 -1
- package/dist/dist/{index-BbFwftAv.d.ts.map → index-C--KAWoe.d.ts.map} +1 -1
- package/dist/dist/{index-DpgQMIRq.d.ts → index-CI0NFf4B.d.ts} +836 -426
- package/dist/dist/index-CI0NFf4B.d.ts.map +1 -0
- package/dist/dist/{index-BAao3_Po.d.ts → index-Ccmd9_KY.d.ts} +5 -5
- package/dist/dist/index-Ccmd9_KY.d.ts.map +1 -0
- package/dist/dist/index-l3b6p1Ih.d.ts +14 -0
- package/dist/dist/index-l3b6p1Ih.d.ts.map +1 -0
- package/dist/dist/{index.browser-nndbVM7z.d.ts → index.browser-kY8M-xUA.d.ts} +2892 -1754
- package/dist/dist/{index.browser-nndbVM7z.d.ts.map → index.browser-kY8M-xUA.d.ts.map} +1 -1
- package/dist/dist/{index.node-BUfx-JaP.d.ts → index.node-Ba2KbmOq.d.ts} +4125 -2613
- package/dist/dist/{index.node-BUfx-JaP.d.ts.map → index.node-Ba2KbmOq.d.ts.map} +1 -1
- package/dist/dist/platform.browser.d.ts +2 -2
- package/dist/dist/platform.node.d.ts +2 -2
- package/dist/dist/{property-BDBvImLs.d.ts → property-CO7pKTWK.d.ts} +3 -3
- package/dist/dist/property-CO7pKTWK.d.ts.map +1 -0
- package/dist/dist/{propertyValidationRules-BlfLn4rP.d.ts → propertyValidationRules-D5HZy0Bq.d.ts} +1 -1
- package/dist/dist/propertyValidationRules-D5HZy0Bq.d.ts.map +1 -0
- package/dist/dist/{publishDraftGraph-CLO85LLz.d.ts → publishDraftGraph-B5KPqtbg.d.ts} +1 -1
- package/dist/dist/{publishDraftGraph-CLO85LLz.d.ts.map → publishDraftGraph-B5KPqtbg.d.ts.map} +1 -1
- package/dist/dist/{resetAmbiguousLegacyItemData-Cy8ik7xk.d.ts → resetAmbiguousLegacyItemData-77CZ8HT7.d.ts} +1 -1
- package/dist/dist/resetAmbiguousLegacyItemData-77CZ8HT7.d.ts.map +1 -0
- package/dist/dist/{resolveModelForSyncedSeed-DFr4COc4.d.ts → resolveModelForSyncedSeed-DHOq_FGs.d.ts} +1 -1
- package/dist/dist/resolveModelForSyncedSeed-DHOq_FGs.d.ts.map +1 -0
- package/dist/dist/{syncDbWithEas-CAOlw3i-.d.ts → syncDbWithEas-BZ6AI-IC.d.ts} +1 -1
- package/dist/dist/syncDbWithEas-BZ6AI-IC.d.ts.map +1 -0
- package/dist/dist/{tabEvents-DksXwk3X.d.ts → tabEvents-CIlzHSKZ.d.ts} +35 -18
- package/dist/dist/tabEvents-CIlzHSKZ.d.ts.map +1 -0
- package/dist/dist/{tolerantWebAccess-CEIjFGf0.d.ts → tolerantWebAccess-BwJ8bElF.d.ts} +1 -1
- package/dist/dist/{tolerantWebAccess-CEIjFGf0.d.ts.map → tolerantWebAccess-BwJ8bElF.d.ts.map} +1 -1
- package/dist/dist/{updateSeedRevokedAt-Cjr35YjE.d.ts → updateSeedRevokedAt-ClxMSXcB.d.ts} +1 -1
- package/dist/dist/updateSeedRevokedAt-ClxMSXcB.d.ts.map +1 -0
- package/dist/{eas-DOdj-EMK.js → eas-CcpQiXum.js} +4 -4
- package/dist/{eas-DOdj-EMK.js.map → eas-CcpQiXum.js.map} +1 -1
- package/dist/{errors-KM-yq2MD.js → errors-BGk_IJO5.js} +222 -275
- package/dist/errors-BGk_IJO5.js.map +1 -0
- package/dist/{getItem-Bh0zv-o1.js → getItem-CHSX3aMm.js} +5 -5
- package/dist/{getItem-Bh0zv-o1.js.map → getItem-CHSX3aMm.js.map} +1 -1
- package/dist/{getPublishPayload-oH8wJhnH.js → getPublishPayload-DMd4oLir.js} +18 -15
- package/dist/getPublishPayload-DMd4oLir.js.map +1 -0
- package/dist/{getPublishUploads-Cex-NBe6.js → getPublishUploads-C9FnRG9c.js} +9 -6
- package/dist/getPublishUploads-C9FnRG9c.js.map +1 -0
- package/dist/{index-BbFwftAv.js → index-C--KAWoe.js} +3 -2
- package/dist/index-C--KAWoe.js.map +1 -0
- package/dist/{index-DpgQMIRq.js → index-CI0NFf4B.js} +132 -9
- package/dist/index-CI0NFf4B.js.map +1 -0
- package/dist/{index-BAao3_Po.js → index-Ccmd9_KY.js} +8 -8
- package/dist/index-Ccmd9_KY.js.map +1 -0
- package/dist/index-l3b6p1Ih.js +28 -0
- package/dist/index-l3b6p1Ih.js.map +1 -0
- package/dist/{index.browser-nndbVM7z.js → index.browser-kY8M-xUA.js} +284 -73
- package/dist/index.browser-kY8M-xUA.js.map +1 -0
- package/dist/{index.node-BUfx-JaP.js → index.node-Ba2KbmOq.js} +93 -6
- package/dist/index.node-Ba2KbmOq.js.map +1 -0
- package/dist/main.js +84 -26
- package/dist/main.js.map +1 -1
- package/dist/node.js +11 -11
- package/dist/platform.browser.js +5 -5
- package/dist/platform.node.js +4 -4
- package/dist/{property-BDBvImLs.js → property-CO7pKTWK.js} +9 -11
- package/dist/property-CO7pKTWK.js.map +1 -0
- package/dist/{propertyValidationRules-BlfLn4rP.js → propertyValidationRules-D5HZy0Bq.js} +10 -10
- package/dist/{propertyValidationRules-BlfLn4rP.js.map → propertyValidationRules-D5HZy0Bq.js.map} +1 -1
- package/dist/{publishDraftGraph-CLO85LLz.js → publishDraftGraph-B5KPqtbg.js} +6 -6
- package/dist/{publishDraftGraph-CLO85LLz.js.map → publishDraftGraph-B5KPqtbg.js.map} +1 -1
- package/dist/{resetAmbiguousLegacyItemData-Cy8ik7xk.js → resetAmbiguousLegacyItemData-77CZ8HT7.js} +2 -2
- package/dist/{resetAmbiguousLegacyItemData-Cy8ik7xk.js.map → resetAmbiguousLegacyItemData-77CZ8HT7.js.map} +1 -1
- package/dist/{resolveModelForSyncedSeed-DFr4COc4.js → resolveModelForSyncedSeed-DHOq_FGs.js} +2 -2
- package/dist/{resolveModelForSyncedSeed-DFr4COc4.js.map → resolveModelForSyncedSeed-DHOq_FGs.js.map} +1 -1
- package/dist/seedSchema/PendingWriteSchema.ts +57 -0
- package/dist/seedSchema/index.ts +1 -0
- package/dist/src/Item/Item.d.ts +38 -7
- package/dist/src/Item/Item.d.ts.map +1 -1
- package/dist/src/Item/service/itemMachineSingle.d.ts.map +1 -1
- package/dist/src/ItemProperty/ItemProperty.d.ts +66 -9
- package/dist/src/ItemProperty/ItemProperty.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/hydrateFromDb.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/loadOrCreateProperty.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/analyzeInput.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveFile.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveHtml.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveImage.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveItemStorage.d.ts +5 -0
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveItemStorage.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/storageValue.d.ts +22 -0
- package/dist/src/ItemProperty/service/actors/saveValueToDb/storageValue.d.ts.map +1 -0
- package/dist/src/ItemProperty/service/propertyMachine.d.ts.map +1 -1
- package/dist/src/Model/Model.d.ts +50 -9
- package/dist/src/Model/Model.d.ts.map +1 -1
- package/dist/src/Model/service/actors/validateModel.d.ts.map +1 -1
- 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/Schema/Schema.d.ts +22 -3
- package/dist/src/Schema/Schema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/checkExistingSchema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/createModelInstances.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/loadOrCreateSchema.d.ts.map +1 -1
- package/dist/src/browser/db/Db.d.ts +7 -0
- package/dist/src/browser/db/Db.d.ts.map +1 -1
- package/dist/src/browser/db/drizzleFiles.d.ts +4 -2
- package/dist/src/browser/db/drizzleFiles.d.ts.map +1 -1
- package/dist/src/browser/db/sqliteBusyRetry.d.ts.map +1 -1
- package/dist/src/browser/helpers/EasClient.d.ts +1 -1
- package/dist/src/browser/helpers/EasClient.d.ts.map +1 -1
- package/dist/src/browser/helpers/FileManager.d.ts.map +1 -1
- package/dist/src/client/ClientManager.d.ts +13 -0
- package/dist/src/client/ClientManager.d.ts.map +1 -1
- package/dist/src/client/actors/saveConfig.d.ts.map +1 -1
- package/dist/src/client/addressesPersisted.d.ts +10 -0
- package/dist/src/client/addressesPersisted.d.ts.map +1 -0
- package/dist/src/client/clientManagerMachine.d.ts.map +1 -1
- package/dist/src/db/Db/BaseDb.d.ts +10 -0
- package/dist/src/db/Db/BaseDb.d.ts.map +1 -1
- package/dist/src/db/read/getItemProperties.d.ts.map +1 -1
- package/dist/src/db/read/getPublishPayload.d.ts.map +1 -1
- package/dist/src/db/read/getPublishUploads.d.ts.map +1 -1
- package/dist/src/db/read/getSeedData.d.ts +4 -1
- package/dist/src/db/read/getSeedData.d.ts.map +1 -1
- package/dist/src/db/read/getSeedPublisher.d.ts +4 -1
- package/dist/src/db/read/getSeedPublisher.d.ts.map +1 -1
- package/dist/src/db/read/getVersionData.d.ts +4 -1
- package/dist/src/db/read/getVersionData.d.ts.map +1 -1
- package/dist/src/db/write/claimUnpublishedDrafts.d.ts +6 -0
- package/dist/src/db/write/claimUnpublishedDrafts.d.ts.map +1 -1
- package/dist/src/db/write/createMetadata.d.ts +13 -0
- package/dist/src/db/write/createMetadata.d.ts.map +1 -1
- package/dist/src/db/write/createNewItem.d.ts +5 -0
- package/dist/src/db/write/createNewItem.d.ts.map +1 -1
- package/dist/src/db/write/createSeed.d.ts +20 -1
- package/dist/src/db/write/createSeed.d.ts.map +1 -1
- package/dist/src/db/write/createVersion.d.ts +5 -1
- package/dist/src/db/write/createVersion.d.ts.map +1 -1
- package/dist/src/db/write/removeLocalCopiesForAddresses.d.ts +9 -2
- package/dist/src/db/write/removeLocalCopiesForAddresses.d.ts.map +1 -1
- package/dist/src/db/write/updateItemPropertyValue.d.ts +9 -1
- package/dist/src/db/write/updateItemPropertyValue.d.ts.map +1 -1
- package/dist/src/db/write/updateMetadata.d.ts +8 -1
- package/dist/src/db/write/updateMetadata.d.ts.map +1 -1
- package/dist/src/events/item/syncDbWithEas.d.ts.map +1 -1
- package/dist/src/helpers/db.d.ts +4 -2
- package/dist/src/helpers/db.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityCache.d.ts +2 -42
- package/dist/src/helpers/entity/entityCache.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityCommon.d.ts +9 -0
- package/dist/src/helpers/entity/entityCommon.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityDestroy.d.ts +13 -7
- package/dist/src/helpers/entity/entityDestroy.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityLiveQuery.d.ts +3 -2
- package/dist/src/helpers/entity/entityLiveQuery.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityState.d.ts +28 -0
- package/dist/src/helpers/entity/entityState.d.ts.map +1 -0
- package/dist/src/helpers/entity/entityUnload.d.ts +3 -2
- package/dist/src/helpers/entity/entityUnload.d.ts.map +1 -1
- package/dist/src/helpers/entity/index.d.ts +1 -0
- package/dist/src/helpers/entity/index.d.ts.map +1 -1
- package/dist/src/helpers/itemStorageFile.d.ts +7 -0
- package/dist/src/helpers/itemStorageFile.d.ts.map +1 -1
- package/dist/src/helpers/metadataPropertyNames.d.ts +6 -0
- package/dist/src/helpers/metadataPropertyNames.d.ts.map +1 -1
- package/dist/src/helpers/property.d.ts.map +1 -1
- package/dist/src/helpers/propertySchemaUid.d.ts +13 -0
- package/dist/src/helpers/propertySchemaUid.d.ts.map +1 -0
- package/dist/src/helpers/propertyWriteTickets.d.ts +11 -0
- package/dist/src/helpers/propertyWriteTickets.d.ts.map +1 -0
- package/dist/src/helpers/reactiveProxy.d.ts +18 -0
- package/dist/src/helpers/reactiveProxy.d.ts.map +1 -1
- package/dist/src/helpers/sessionObjectUrls.d.ts +4 -0
- package/dist/src/helpers/sessionObjectUrls.d.ts.map +1 -0
- package/dist/src/helpers/tabCoordinator.d.ts +9 -0
- package/dist/src/helpers/tabCoordinator.d.ts.map +1 -1
- package/dist/src/helpers/tabLocks.d.ts +11 -0
- package/dist/src/helpers/tabLocks.d.ts.map +1 -1
- package/dist/src/helpers/timing.d.ts +10 -0
- package/dist/src/helpers/timing.d.ts.map +1 -0
- package/dist/src/imports/json.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/interfaces/IDb.d.ts +2 -0
- package/dist/src/interfaces/IDb.d.ts.map +1 -1
- package/dist/src/interfaces/IItem.d.ts +1 -0
- package/dist/src/interfaces/IItem.d.ts.map +1 -1
- package/dist/src/interfaces/IItemProperty.d.ts +5 -0
- package/dist/src/interfaces/IItemProperty.d.ts.map +1 -1
- package/dist/src/node/db/Db.d.ts +3 -0
- package/dist/src/node/db/Db.d.ts.map +1 -1
- package/dist/src/node/db/singleConnectionTransactions.d.ts +22 -0
- package/dist/src/node/db/singleConnectionTransactions.d.ts.map +1 -0
- package/dist/src/outbox/conflicts.d.ts +60 -0
- package/dist/src/outbox/conflicts.d.ts.map +1 -0
- package/dist/src/outbox/index.d.ts +9 -0
- package/dist/src/outbox/index.d.ts.map +1 -0
- package/dist/src/outbox/itemAppliers.d.ts +153 -0
- package/dist/src/outbox/itemAppliers.d.ts.map +1 -0
- package/dist/src/outbox/outbox.d.ts +143 -0
- package/dist/src/outbox/outbox.d.ts.map +1 -0
- package/dist/src/outbox/pendingValues.d.ts +27 -0
- package/dist/src/outbox/pendingValues.d.ts.map +1 -0
- package/dist/src/seedSchema/PendingWriteSchema.d.ts +385 -0
- package/dist/src/seedSchema/PendingWriteSchema.d.ts.map +1 -0
- package/dist/src/seedSchema/index.d.ts +1 -0
- package/dist/src/seedSchema/index.d.ts.map +1 -1
- package/dist/src/types/property.d.ts +5 -0
- package/dist/src/types/property.d.ts.map +1 -1
- package/dist/{syncDbWithEas-CAOlw3i-.js → syncDbWithEas-BZ6AI-IC.js} +25 -20
- package/dist/syncDbWithEas-BZ6AI-IC.js.map +1 -0
- package/dist/{tabEvents-DksXwk3X.js → tabEvents-CIlzHSKZ.js} +56 -25
- package/dist/tabEvents-CIlzHSKZ.js.map +1 -0
- package/dist/{tolerantWebAccess-CEIjFGf0.js → tolerantWebAccess-BwJ8bElF.js} +6 -6
- package/dist/{tolerantWebAccess-CEIjFGf0.js.map → tolerantWebAccess-BwJ8bElF.js.map} +1 -1
- package/dist/{updateSeedRevokedAt-Cjr35YjE.js → updateSeedRevokedAt-ClxMSXcB.js} +3 -3
- package/dist/{updateSeedRevokedAt-Cjr35YjE.js.map → updateSeedRevokedAt-ClxMSXcB.js.map} +1 -1
- package/package.json +7 -7
- package/dist/ClientManager-2GtDWHq6.js.map +0 -1
- package/dist/Item-D6j0IvBP.js.map +0 -1
- package/dist/ModelProperty-B52C3CQ2.js.map +0 -1
- package/dist/Schema-O1QLoXv6.js.map +0 -1
- package/dist/discardNewDraft-hiVaUVjV.js +0 -78
- package/dist/discardNewDraft-hiVaUVjV.js.map +0 -1
- package/dist/dist/ClientManager-2GtDWHq6.d.ts.map +0 -1
- package/dist/dist/Item-D6j0IvBP.d.ts.map +0 -1
- package/dist/dist/Schema-O1QLoXv6.d.ts.map +0 -1
- package/dist/dist/backfillMetadataPropertyIds-CzSbuucw.d.ts.map +0 -1
- package/dist/dist/configurePlatform-Bbpw_R4y.d.ts.map +0 -1
- package/dist/dist/detachRowsBeforeDelete-D1TyEMco.d.ts.map +0 -1
- package/dist/dist/discardNewDraft-hiVaUVjV.d.ts +0 -8
- package/dist/dist/discardNewDraft-hiVaUVjV.d.ts.map +0 -1
- package/dist/dist/eas-DOdj-EMK.d.ts.map +0 -1
- package/dist/dist/errors-KM-yq2MD.d.ts.map +0 -1
- package/dist/dist/getItem-Bh0zv-o1.d.ts.map +0 -1
- package/dist/dist/getPublishPayload-oH8wJhnH.d.ts.map +0 -1
- package/dist/dist/index-BAao3_Po.d.ts.map +0 -1
- package/dist/dist/index-DpgQMIRq.d.ts.map +0 -1
- package/dist/dist/property-BDBvImLs.d.ts.map +0 -1
- package/dist/dist/propertyValidationRules-BlfLn4rP.d.ts.map +0 -1
- package/dist/dist/resetAmbiguousLegacyItemData-Cy8ik7xk.d.ts.map +0 -1
- package/dist/dist/resolveModelForSyncedSeed-DFr4COc4.d.ts.map +0 -1
- package/dist/dist/syncDbWithEas-CAOlw3i-.d.ts.map +0 -1
- package/dist/dist/tabEvents-DksXwk3X.d.ts.map +0 -1
- package/dist/dist/updateSeedRevokedAt-Cjr35YjE.d.ts.map +0 -1
- package/dist/errors-KM-yq2MD.js.map +0 -1
- package/dist/getPublishPayload-oH8wJhnH.js.map +0 -1
- package/dist/getPublishUploads-Cex-NBe6.js.map +0 -1
- package/dist/index-BAao3_Po.js.map +0 -1
- package/dist/index-BbFwftAv.js.map +0 -1
- package/dist/index-DpgQMIRq.js.map +0 -1
- package/dist/index.browser-nndbVM7z.js.map +0 -1
- package/dist/index.node-BUfx-JaP.js.map +0 -1
- package/dist/property-BDBvImLs.js.map +0 -1
- package/dist/src/db/write/discardNewDraft.d.ts +0 -8
- package/dist/src/db/write/discardNewDraft.d.ts.map +0 -1
- package/dist/src/helpers/propertyWriteQueue.d.ts +0 -15
- package/dist/src/helpers/propertyWriteQueue.d.ts.map +0 -1
- package/dist/syncDbWithEas-CAOlw3i-.js.map +0 -1
- package/dist/tabEvents-DksXwk3X.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { fromCallback, setup, assign, createActor } from 'xstate';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { w as writeProcessMachine, c as currentEvictionEpoch, M as Model, b as anyEvictionSince, s as schemaEvictedSince } from './errors-BGk_IJO5.js';
|
|
3
|
+
import { F as BaseDb, s as models, v as properties, A as schemas, q as modelSchemas, an as getModelIdByFileId, n as normalizeDataType, ai as generateId, M as ModelPropertyDataTypes, N as BaseFileManager, ao as getModelId, ap as setCachedPropertyRefresher } from './index-CI0NFf4B.js';
|
|
4
4
|
import 'pluralize';
|
|
5
5
|
import '@seedprotocol/eas';
|
|
6
6
|
import { eq, and, inArray } from 'drizzle-orm';
|
|
7
7
|
import { modelPropertiesToObject } from './model-oHA3YhOd.js';
|
|
8
|
+
import { P as isActorStopped, Q as DEFAULT_READY_TIMEOUT_MS, C as waitForEntityIdle, R as createReactiveProxy, S as sameEntity, T as findEntity, U as forceRemoveFromCaches, V as runDestroyLifecycle } from './Item-DZfNz7xl.js';
|
|
8
9
|
import debug from 'debug';
|
|
9
|
-
import { S as Schema } from './Schema-
|
|
10
|
-
import
|
|
11
|
-
import './ClientManager-2GtDWHq6.js';
|
|
10
|
+
import { S as Schema } from './Schema-D-TczaIj.js';
|
|
11
|
+
import './ClientManager-Dcju5x4k.js';
|
|
12
12
|
import 'lodash-es';
|
|
13
|
-
import './tabEvents-
|
|
13
|
+
import './tabEvents-CIlzHSKZ.js';
|
|
14
14
|
import '@seedprotocol/arweave';
|
|
15
15
|
import '@noble/hashes/sha3';
|
|
16
16
|
import '@noble/hashes/utils';
|
|
@@ -20,9 +20,9 @@ import 'drizzle-orm/sqlite-core';
|
|
|
20
20
|
import 'nanoid';
|
|
21
21
|
import 'nanoid-dictionary';
|
|
22
22
|
import '@noble/hashes/sha256';
|
|
23
|
-
import './SchemaValidationService-BxCbfDaI.js';
|
|
24
|
-
import '@sinclair/typebox/value';
|
|
25
23
|
import 'rxjs';
|
|
24
|
+
import './SchemaValidationService-NYTtSCxd.js';
|
|
25
|
+
import '@sinclair/typebox/value';
|
|
26
26
|
|
|
27
27
|
const logger$3 = debug('seedSdk:modelProperty:actors:saveToSchema');
|
|
28
28
|
/**
|
|
@@ -32,15 +32,15 @@ const logger$3 = debug('seedSdk:modelProperty:actors:saveToSchema');
|
|
|
32
32
|
*/
|
|
33
33
|
async function getSchemaNameFromModel(modelName) {
|
|
34
34
|
// Get the latest schema files and find which one contains this model
|
|
35
|
-
const _mod_0 = await import('./ClientManager-
|
|
36
|
-
const _ns_0 = _mod_0.
|
|
35
|
+
const _mod_0 = await import('./ClientManager-Dcju5x4k.js');
|
|
36
|
+
const _ns_0 = _mod_0.X;
|
|
37
37
|
const schemaHelpersMod = _ns_0;
|
|
38
38
|
const { listLatestSchemaFiles } = schemaHelpersMod;
|
|
39
39
|
const latestSchemas = await listLatestSchemaFiles();
|
|
40
40
|
for (const schema of latestSchemas) {
|
|
41
41
|
try {
|
|
42
|
-
const _mod_1 = await import('./index-
|
|
43
|
-
const _ns_1 = _mod_1.
|
|
42
|
+
const _mod_1 = await import('./index-CI0NFf4B.js');
|
|
43
|
+
const _ns_1 = _mod_1.bi;
|
|
44
44
|
const fileManagerMod = _ns_1;
|
|
45
45
|
const { BaseFileManager } = fileManagerMod;
|
|
46
46
|
const content = await BaseFileManager.readFileAsString(schema.filePath);
|
|
@@ -59,7 +59,7 @@ async function getSchemaNameFromModel(modelName) {
|
|
|
59
59
|
const saveToSchema = fromCallback(({ sendBack, input: { context }, self }) => {
|
|
60
60
|
const _saveToSchema = async () => {
|
|
61
61
|
// Use dynamic import to break circular dependency
|
|
62
|
-
const validationServiceMod = await import('./SchemaValidationService-
|
|
62
|
+
const validationServiceMod = await import('./SchemaValidationService-NYTtSCxd.js');
|
|
63
63
|
const { SchemaValidationService } = validationServiceMod;
|
|
64
64
|
const validationService = new SchemaValidationService();
|
|
65
65
|
// Validate property structure before saving
|
|
@@ -78,22 +78,22 @@ const saveToSchema = fromCallback(({ sendBack, input: { context }, self }) => {
|
|
|
78
78
|
throw new Error(`Model not found for modelId: ${context.modelId}`);
|
|
79
79
|
}
|
|
80
80
|
// Persist to database only - schema file is updated only when user calls Schema.saveNewVersion()
|
|
81
|
-
const _mod_2 = await import('./index-
|
|
82
|
-
const _ns_2 = _mod_2.
|
|
81
|
+
const _mod_2 = await import('./index-CI0NFf4B.js');
|
|
82
|
+
const _ns_2 = _mod_2.bm;
|
|
83
83
|
const dbMod = _ns_2;
|
|
84
84
|
const { savePropertyToDb } = dbMod;
|
|
85
85
|
await savePropertyToDb(context);
|
|
86
86
|
// Mark schema as draft so user knows to save
|
|
87
87
|
const schemaName = context._schemaName ?? (await getSchemaNameFromModel(context.modelName));
|
|
88
88
|
if (schemaName) {
|
|
89
|
-
const _mod_3 = await import('./Schema-
|
|
89
|
+
const _mod_3 = await import('./Schema-D-TczaIj.js');
|
|
90
90
|
const _ns_3 = _mod_3.b;
|
|
91
91
|
const schemaMod = _ns_3;
|
|
92
92
|
const { Schema } = schemaMod;
|
|
93
93
|
// Stopped meanwhile (unloaded, or evicted with its schema): don't load the schema again
|
|
94
94
|
if (isActorStopped(self))
|
|
95
95
|
return;
|
|
96
|
-
const schema = Schema.create(schemaName, { waitForReady: false });
|
|
96
|
+
const schema = Schema.create(schemaName, { waitForReady: false, hold: false });
|
|
97
97
|
schema.getService().send({
|
|
98
98
|
type: 'markAsDraft',
|
|
99
99
|
propertyKey: `${context.modelName}:${context.name}`,
|
|
@@ -124,8 +124,8 @@ const compareAndMarkDraft = fromCallback(({ sendBack, input: { context }, self }
|
|
|
124
124
|
const schemaFileIdForResolve = fullContext._propertyFileId || (typeof fullContext.id === 'string' ? fullContext.id : undefined);
|
|
125
125
|
if (schemaFileIdForResolve && (fullContext.modelName === undefined || fullContext.dataType === undefined)) {
|
|
126
126
|
try {
|
|
127
|
-
const _mod_4 = await import('./index-
|
|
128
|
-
const _ns_4 = _mod_4.
|
|
127
|
+
const _mod_4 = await import('./index-CI0NFf4B.js');
|
|
128
|
+
const _ns_4 = _mod_4.bm;
|
|
129
129
|
const dbMod = _ns_4;
|
|
130
130
|
const { getPropertyModelNameAndDataType, getModelNameByModelId } = dbMod;
|
|
131
131
|
let fromDb;
|
|
@@ -171,8 +171,8 @@ const compareAndMarkDraft = fromCallback(({ sendBack, input: { context }, self }
|
|
|
171
171
|
if (fullContext.modelName && fullContext.name && schemaFileId) {
|
|
172
172
|
logger$2(`[compareAndMarkDraft] _originalValues not set, but saving to database anyway for property ${context.modelName}:${context.name} (schemaFileId: ${schemaFileId})`);
|
|
173
173
|
try {
|
|
174
|
-
const _mod_5 = await import('./index-
|
|
175
|
-
const _ns_5 = _mod_5.
|
|
174
|
+
const _mod_5 = await import('./index-CI0NFf4B.js');
|
|
175
|
+
const _ns_5 = _mod_5.bm;
|
|
176
176
|
const dbMod = _ns_5;
|
|
177
177
|
const { savePropertyToDb } = dbMod;
|
|
178
178
|
// Ensure _propertyFileId is set for savePropertyToDb to find the property
|
|
@@ -233,8 +233,8 @@ const compareAndMarkDraft = fromCallback(({ sendBack, input: { context }, self }
|
|
|
233
233
|
logger$2(`Property ${fullContext.modelName}:${fullContext.name} has changes, marking as edited`);
|
|
234
234
|
logger$2(`[compareAndMarkDraft] Context when saving: id=${fullContext.id}, _propertyFileId=${fullContext._propertyFileId}, name=${fullContext.name}, _originalValues.name=${fullContext._originalValues?.name}`);
|
|
235
235
|
// Use dynamic import to break circular dependency
|
|
236
|
-
const _mod_6 = await import('./index-
|
|
237
|
-
const _ns_6 = _mod_6.
|
|
236
|
+
const _mod_6 = await import('./index-CI0NFf4B.js');
|
|
237
|
+
const _ns_6 = _mod_6.bm;
|
|
238
238
|
const dbMod = _ns_6;
|
|
239
239
|
const { savePropertyToDb } = dbMod;
|
|
240
240
|
// Save to database (but not JSON file) - always save to DB when there are changes
|
|
@@ -249,16 +249,14 @@ const compareAndMarkDraft = fromCallback(({ sendBack, input: { context }, self }
|
|
|
249
249
|
// Mark schema as draft if schema name is available
|
|
250
250
|
if (fullContext._schemaName) {
|
|
251
251
|
// Get the Schema instance and mark it as draft
|
|
252
|
-
const _mod_7 = await import('./Schema-
|
|
252
|
+
const _mod_7 = await import('./Schema-D-TczaIj.js');
|
|
253
253
|
const _ns_7 = _mod_7.b;
|
|
254
254
|
const schemaMod = _ns_7;
|
|
255
255
|
const { Schema } = schemaMod;
|
|
256
256
|
// Stopped meanwhile (unloaded, or evicted with its schema): don't load the schema again
|
|
257
257
|
if (isActorStopped(self))
|
|
258
258
|
return;
|
|
259
|
-
const schema = Schema.create(fullContext._schemaName, {
|
|
260
|
-
waitForReady: false,
|
|
261
|
-
});
|
|
259
|
+
const schema = Schema.create(fullContext._schemaName, { waitForReady: false, hold: false });
|
|
262
260
|
// Send event to Schema machine to mark as draft
|
|
263
261
|
schema.getService().send({
|
|
264
262
|
type: 'markAsDraft',
|
|
@@ -271,7 +269,7 @@ const compareAndMarkDraft = fromCallback(({ sendBack, input: { context }, self }
|
|
|
271
269
|
logger$2(`Property ${fullContext.modelName}:${fullContext.name} has no changes`);
|
|
272
270
|
// Clear isEdited flag in database
|
|
273
271
|
try {
|
|
274
|
-
const _mod_8 = await import('./index-
|
|
272
|
+
const _mod_8 = await import('./index-C--KAWoe.js');
|
|
275
273
|
const _ns_8 = _mod_8.s;
|
|
276
274
|
const seedSchemaMod = _ns_8;
|
|
277
275
|
const { properties: propertiesTable } = seedSchemaMod;
|
|
@@ -280,8 +278,8 @@ const compareAndMarkDraft = fromCallback(({ sendBack, input: { context }, self }
|
|
|
280
278
|
const db = BaseDb.getAppDb();
|
|
281
279
|
if (db && fullContext.modelName && fullContext.name) {
|
|
282
280
|
// Find this property's model (model names are only unique per schema)
|
|
283
|
-
const _mod_9 = await import('./index-
|
|
284
|
-
const _ns_9 = _mod_9.
|
|
281
|
+
const _mod_9 = await import('./index-CI0NFf4B.js');
|
|
282
|
+
const _ns_9 = _mod_9.bl;
|
|
285
283
|
const { resolveModelRecord } = _ns_9;
|
|
286
284
|
const modelRecord = await resolveModelRecord(fullContext.modelName, {
|
|
287
285
|
modelId: typeof fullContext.modelId === 'number' ? fullContext.modelId : undefined,
|
|
@@ -340,8 +338,8 @@ const validateProperty = fromCallback(({ sendBack, input: { context }, self }) =
|
|
|
340
338
|
// Brief wait so trackPendingWrite from ModelProperty.create() has time to run (it's in setTimeout(0))
|
|
341
339
|
await new Promise((r) => setTimeout(r, 60));
|
|
342
340
|
try {
|
|
343
|
-
const _mod_10 = await import('./index-
|
|
344
|
-
const _ns_10 = _mod_10.
|
|
341
|
+
const _mod_10 = await import('./index-CI0NFf4B.js');
|
|
342
|
+
const _ns_10 = _mod_10.bm;
|
|
345
343
|
const dbMod = _ns_10;
|
|
346
344
|
const { getPropertyModelNameAndDataType, getModelNameByModelId } = dbMod;
|
|
347
345
|
// Try pending write first (property row may not exist yet)
|
|
@@ -394,10 +392,10 @@ const validateProperty = fromCallback(({ sendBack, input: { context }, self }) =
|
|
|
394
392
|
fullContext = { ...fullContext, dataType: (fullContext.dataType ?? context._originalValues?.dataType) || 'Text' };
|
|
395
393
|
}
|
|
396
394
|
// Use dynamic imports to break circular dependencies
|
|
397
|
-
const validationServiceMod = await import('./SchemaValidationService-
|
|
395
|
+
const validationServiceMod = await import('./SchemaValidationService-NYTtSCxd.js');
|
|
398
396
|
const { SchemaValidationService } = validationServiceMod;
|
|
399
397
|
const validationService = new SchemaValidationService();
|
|
400
|
-
const _mod_11 = await import('./Schema-
|
|
398
|
+
const _mod_11 = await import('./Schema-D-TczaIj.js');
|
|
401
399
|
const _ns_11 = _mod_11.b;
|
|
402
400
|
const schemaMod = _ns_11;
|
|
403
401
|
const { Schema } = schemaMod;
|
|
@@ -413,9 +411,7 @@ const validateProperty = fromCallback(({ sendBack, input: { context }, self }) =
|
|
|
413
411
|
return;
|
|
414
412
|
if (fullContext._schemaName && fullContext.modelName) {
|
|
415
413
|
try {
|
|
416
|
-
const schema = Schema.create(fullContext._schemaName, {
|
|
417
|
-
waitForReady: false,
|
|
418
|
-
});
|
|
414
|
+
const schema = Schema.create(fullContext._schemaName, { waitForReady: false, hold: false });
|
|
419
415
|
const schemaSnapshot = schema.getService().getSnapshot();
|
|
420
416
|
const schemaStatus = schemaSnapshot.value;
|
|
421
417
|
// Only validate against schema if it's loaded (in idle state)
|
|
@@ -1027,8 +1023,8 @@ class ModelProperty {
|
|
|
1027
1023
|
return fallbackIsEdited;
|
|
1028
1024
|
}
|
|
1029
1025
|
// Find this property's model (by modelId when known; model names are only unique per schema)
|
|
1030
|
-
const _mod_12 = await import('./index-
|
|
1031
|
-
const _ns_12 = _mod_12.
|
|
1026
|
+
const _mod_12 = await import('./index-CI0NFf4B.js');
|
|
1027
|
+
const _ns_12 = _mod_12.bl;
|
|
1032
1028
|
const { resolveModelRecord } = _ns_12;
|
|
1033
1029
|
const modelRecord = await resolveModelRecord(property.modelName, this._ownerModelScope(property), db);
|
|
1034
1030
|
const modelRecords = modelRecord ? [modelRecord] : [];
|
|
@@ -1065,8 +1061,8 @@ class ModelProperty {
|
|
|
1065
1061
|
return undefined;
|
|
1066
1062
|
}
|
|
1067
1063
|
// Resolve the ref within the owning model's schema
|
|
1068
|
-
const _mod_13 = await import('./index-
|
|
1069
|
-
const _ns_13 = _mod_13.
|
|
1064
|
+
const _mod_13 = await import('./index-CI0NFf4B.js');
|
|
1065
|
+
const _ns_13 = _mod_13.bl;
|
|
1070
1066
|
const { resolveRefModelRecord } = _ns_13;
|
|
1071
1067
|
const refModelRecord = await resolveRefModelRecord(refModelName, property ? this._ownerModelScope(property) : { schemaName: this._getSnapshotContext()._schemaName }, db);
|
|
1072
1068
|
if (refModelRecord?.id) {
|
|
@@ -1101,21 +1097,21 @@ class ModelProperty {
|
|
|
1101
1097
|
// Synchronous cache hits first: callers compare against these values right after construction,
|
|
1102
1098
|
// so an extra await here lets every property look "edited" (a draft save each). Only then the
|
|
1103
1099
|
// DB (by modelId), and never instantiate a Model while its own properties are initializing.
|
|
1104
|
-
let model = schemaName ? Model.
|
|
1100
|
+
let model = schemaName ? Model.peekByName(property.modelName, schemaName) : undefined;
|
|
1105
1101
|
if (!model) {
|
|
1106
1102
|
try {
|
|
1107
|
-
model = Model.
|
|
1103
|
+
model = Model.peekByName(property.modelName);
|
|
1108
1104
|
}
|
|
1109
1105
|
catch {
|
|
1110
1106
|
model = undefined; // ambiguous name; resolve by modelId below
|
|
1111
1107
|
}
|
|
1112
1108
|
}
|
|
1113
1109
|
if (!model && modelId) {
|
|
1114
|
-
const _mod_14 = await import('./index-
|
|
1115
|
-
const _ns_14 = _mod_14.
|
|
1110
|
+
const _mod_14 = await import('./index-CI0NFf4B.js');
|
|
1111
|
+
const _ns_14 = _mod_14.bl;
|
|
1116
1112
|
const { resolveModelRecord } = _ns_14;
|
|
1117
1113
|
const modelFileId = (await resolveModelRecord(property.modelName, { modelId }))?.schemaFileId;
|
|
1118
|
-
model = modelFileId ? Model.
|
|
1114
|
+
model = modelFileId ? Model.peek(modelFileId) : undefined;
|
|
1119
1115
|
}
|
|
1120
1116
|
// Evicted (with its schema) or unloaded while the lookups above ran: don't instantiate its model
|
|
1121
1117
|
// again from rows that are being deleted.
|
|
@@ -1127,6 +1123,7 @@ class ModelProperty {
|
|
|
1127
1123
|
// then (this instance may already be stopped) must not re-create the model.
|
|
1128
1124
|
model = await Model.getByNameAsync(property.modelName, undefined, {
|
|
1129
1125
|
evictionEpoch: this._evictionEpoch,
|
|
1126
|
+
hold: false,
|
|
1130
1127
|
});
|
|
1131
1128
|
}
|
|
1132
1129
|
catch {
|
|
@@ -1559,7 +1556,8 @@ class ModelProperty {
|
|
|
1559
1556
|
}
|
|
1560
1557
|
/** Whether an idIndex entry still points at a cached instance with that id. */
|
|
1561
1558
|
static isIndexEntryCurrent(propertyFileId, entry) {
|
|
1562
|
-
|
|
1559
|
+
const cached = this.instanceCache.get(entry.cacheKey)?.instance;
|
|
1560
|
+
if (!cached || !sameEntity(cached, entry.instance))
|
|
1563
1561
|
return false;
|
|
1564
1562
|
try {
|
|
1565
1563
|
return entry.instance._getSnapshotContext().id === propertyFileId;
|
|
@@ -1575,7 +1573,7 @@ class ModelProperty {
|
|
|
1575
1573
|
return;
|
|
1576
1574
|
const existing = this.idIndex.get(id);
|
|
1577
1575
|
// Keep the instance cached first, as the old scan in insertion order returned
|
|
1578
|
-
if (existing && existing.instance
|
|
1576
|
+
if (existing && !sameEntity(existing.instance, instance) && this.isIndexEntryCurrent(id, existing))
|
|
1579
1577
|
return;
|
|
1580
1578
|
this.idIndex.set(id, { cacheKey, instance });
|
|
1581
1579
|
};
|
|
@@ -1791,7 +1789,8 @@ class ModelProperty {
|
|
|
1791
1789
|
if (newCacheKey && cacheKey === `${context.modelName}:${context.name}` && !this.instanceCache.has(newCacheKey)) {
|
|
1792
1790
|
this.instanceCache.delete(cacheKey);
|
|
1793
1791
|
this.instanceCache.set(newCacheKey, entry);
|
|
1794
|
-
|
|
1792
|
+
const indexed = this.idIndex.get(propertyFileId)?.instance;
|
|
1793
|
+
if (indexed && sameEntity(indexed, instance)) {
|
|
1795
1794
|
this.idIndex.set(propertyFileId, { cacheKey: newCacheKey, instance });
|
|
1796
1795
|
}
|
|
1797
1796
|
}
|
|
@@ -2108,7 +2107,7 @@ class ModelProperty {
|
|
|
2108
2107
|
.where(and(eq(schemas.name, schemaName), eq(models.name, modelName), eq(properties.name, propertyName)))
|
|
2109
2108
|
.limit(1);
|
|
2110
2109
|
if (propertyRecords.length > 0 && propertyRecords[0].propertyId != null) {
|
|
2111
|
-
const { detachPropertyRows } = await import('./detachRowsBeforeDelete-
|
|
2110
|
+
const { detachPropertyRows } = await import('./detachRowsBeforeDelete-CLbBbpX4.js');
|
|
2112
2111
|
await detachPropertyRows(db, [propertyRecords[0].propertyId]);
|
|
2113
2112
|
await db
|
|
2114
2113
|
.delete(properties)
|
|
@@ -2116,7 +2115,7 @@ class ModelProperty {
|
|
|
2116
2115
|
}
|
|
2117
2116
|
}
|
|
2118
2117
|
if (schemaName) {
|
|
2119
|
-
const schema = Schema.create(schemaName, { waitForReady: false });
|
|
2118
|
+
const schema = Schema.create(schemaName, { waitForReady: false, hold: false });
|
|
2120
2119
|
const snapshot = schema.getService().getSnapshot();
|
|
2121
2120
|
const schemaContext = snapshot.context;
|
|
2122
2121
|
if (schemaContext.models?.[modelName]?.properties?.[propertyName]) {
|
|
@@ -2157,4 +2156,4 @@ var ModelProperty$1 = /*#__PURE__*/Object.freeze({
|
|
|
2157
2156
|
});
|
|
2158
2157
|
|
|
2159
2158
|
export { ModelProperty };
|
|
2160
|
-
//# sourceMappingURL=ModelProperty-
|
|
2159
|
+
//# sourceMappingURL=ModelProperty-sMGL-_LK.js.map
|