@seedprotocol/sdk 0.7.6 → 0.7.7-next.988.g7046e66
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-D6YA20jP.js → ClientManager-DdqRofK6.js} +297 -218
- package/dist/ClientManager-DdqRofK6.js.map +1 -0
- package/dist/{Item-B1MH0tXx.js → Item-DmK1PgK9.js} +233 -330
- package/dist/Item-DmK1PgK9.js.map +1 -0
- package/dist/{ModelProperty-Dw6dHdu_.js → ModelProperty-DaJAII87.js} +33 -33
- package/dist/ModelProperty-DaJAII87.js.map +1 -0
- package/dist/{Schema-DppObO6h.js → Schema-DhlbBQs8.js} +49 -58
- package/dist/Schema-DhlbBQs8.js.map +1 -0
- package/dist/{SchemaValidationService-DXQ-D531.js → SchemaValidationService-9KHQAYQ4.js} +9 -9
- package/dist/SchemaValidationService-9KHQAYQ4.js.map +1 -0
- package/dist/{backfillMetadataPropertyIds-Uhzlwg9X.js → backfillMetadataPropertyIds-qoVxUEEl.js} +3 -3
- package/dist/{backfillMetadataPropertyIds-Uhzlwg9X.js.map → backfillMetadataPropertyIds-qoVxUEEl.js.map} +1 -1
- package/dist/{configurePlatform-CVoh3JeR.js → configurePlatform-CazqABrK.js} +2 -2
- package/dist/{configurePlatform-CVoh3JeR.js.map → configurePlatform-CazqABrK.js.map} +1 -1
- package/dist/{detachRowsBeforeDelete-CtmIFpgV.js → detachRowsBeforeDelete-yatbnC27.js} +2 -2
- package/dist/{detachRowsBeforeDelete-CtmIFpgV.js.map → detachRowsBeforeDelete-yatbnC27.js.map} +1 -1
- package/dist/{discardNewDraft-oGYdB5vS.js → discardNewDraft-q1krLqtL.js} +5 -5
- package/dist/{discardNewDraft-oGYdB5vS.js.map → discardNewDraft-q1krLqtL.js.map} +1 -1
- package/dist/dist/{ClientManager-D6YA20jP.d.ts → ClientManager-DdqRofK6.d.ts} +2 -1
- package/dist/dist/ClientManager-DdqRofK6.d.ts.map +1 -0
- package/dist/dist/{Item-B1MH0tXx.d.ts → Item-DmK1PgK9.d.ts} +16 -23
- package/dist/dist/Item-DmK1PgK9.d.ts.map +1 -0
- package/dist/dist/{ModelProperty-Dw6dHdu_.d.ts → ModelProperty-DaJAII87.d.ts} +1 -1
- package/dist/dist/{ModelProperty-Dw6dHdu_.d.ts.map → ModelProperty-DaJAII87.d.ts.map} +1 -1
- package/dist/dist/{Schema-DppObO6h.d.ts → Schema-DhlbBQs8.d.ts} +2 -2
- package/dist/dist/{Schema-DppObO6h.d.ts.map → Schema-DhlbBQs8.d.ts.map} +1 -1
- package/dist/dist/{SchemaValidationService-DXQ-D531.d.ts → SchemaValidationService-9KHQAYQ4.d.ts} +4 -4
- package/dist/dist/{SchemaValidationService-DXQ-D531.d.ts.map → SchemaValidationService-9KHQAYQ4.d.ts.map} +1 -1
- package/dist/dist/{backfillMetadataPropertyIds-Uhzlwg9X.d.ts → backfillMetadataPropertyIds-qoVxUEEl.d.ts} +1 -1
- package/dist/dist/backfillMetadataPropertyIds-qoVxUEEl.d.ts.map +1 -0
- package/dist/dist/{configurePlatform-CVoh3JeR.d.ts → configurePlatform-CazqABrK.d.ts} +1 -1
- package/dist/dist/configurePlatform-CazqABrK.d.ts.map +1 -0
- package/dist/dist/{detachRowsBeforeDelete-CtmIFpgV.d.ts → detachRowsBeforeDelete-yatbnC27.d.ts} +1 -1
- package/dist/dist/detachRowsBeforeDelete-yatbnC27.d.ts.map +1 -0
- package/dist/dist/{discardNewDraft-oGYdB5vS.d.ts → discardNewDraft-q1krLqtL.d.ts} +1 -1
- package/dist/dist/discardNewDraft-q1krLqtL.d.ts.map +1 -0
- package/dist/dist/{eas-CSm5wmry.d.ts → eas-CPYt-QVJ.d.ts} +1 -1
- package/dist/dist/eas-CPYt-QVJ.d.ts.map +1 -0
- package/dist/dist/{errors-3tc6XkCB.d.ts → errors-DuFqGrjo.d.ts} +21 -8
- package/dist/dist/errors-DuFqGrjo.d.ts.map +1 -0
- package/dist/dist/{getItem-DM3a-7XE.d.ts → getItem-DPapr9uy.d.ts} +1 -1
- package/dist/dist/getItem-DPapr9uy.d.ts.map +1 -0
- package/dist/dist/{getPublishPayload-CJF0k5d8.d.ts → getPublishPayload-Dnv38ZW1.d.ts} +1 -1
- package/dist/dist/getPublishPayload-Dnv38ZW1.d.ts.map +1 -0
- package/dist/dist/{getPublishUploads-C7-fYIgX.d.ts → getPublishUploads-Dd7dCxNi.d.ts} +1 -1
- package/dist/dist/{getPublishUploads-C7-fYIgX.d.ts.map → getPublishUploads-Dd7dCxNi.d.ts.map} +1 -1
- package/dist/dist/{index--mmQ3LQu.d.ts → index-CTidoFhC.d.ts} +5 -5
- package/dist/dist/index-CTidoFhC.d.ts.map +1 -0
- package/dist/dist/{index-CrvIcVFJ.d.ts → index-DeUHrBqA.d.ts} +8 -4
- package/dist/dist/index-DeUHrBqA.d.ts.map +1 -0
- package/dist/dist/{index-B7yAoYli.d.ts → index-PnK3Ak9Z.d.ts} +1 -1
- package/dist/dist/{index-B7yAoYli.d.ts.map → index-PnK3Ak9Z.d.ts.map} +1 -1
- package/dist/dist/{index.browser-BmVS-c2C.d.ts → index.browser-CRvkFEhl.d.ts} +4 -4
- package/dist/dist/{index.browser-BmVS-c2C.d.ts.map → index.browser-CRvkFEhl.d.ts.map} +1 -1
- package/dist/dist/{index.node-BKpbCAWt.d.ts → index.node-DQTc7kEl.d.ts} +1 -1
- package/dist/dist/{index.node-BKpbCAWt.d.ts.map → index.node-DQTc7kEl.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-DQ-Owzki.d.ts → property-Dk_5t4-p.d.ts} +3 -3
- package/dist/dist/property-Dk_5t4-p.d.ts.map +1 -0
- package/dist/dist/{propertyValidationRules-BDhFjlwP.d.ts → propertyValidationRules-BtUZdfft.d.ts} +1 -1
- package/dist/dist/propertyValidationRules-BtUZdfft.d.ts.map +1 -0
- package/dist/dist/{publishDraftGraph-CzPd9oe9.d.ts → publishDraftGraph-CN7EsPVb.d.ts} +1 -1
- package/dist/dist/{publishDraftGraph-CzPd9oe9.d.ts.map → publishDraftGraph-CN7EsPVb.d.ts.map} +1 -1
- package/dist/dist/{resetAmbiguousLegacyItemData-cXZm4NuG.d.ts → resetAmbiguousLegacyItemData-DzVlhD9u.d.ts} +1 -1
- package/dist/dist/resetAmbiguousLegacyItemData-DzVlhD9u.d.ts.map +1 -0
- package/dist/dist/{resolveModelForSyncedSeed-BgxtVCHI.d.ts → resolveModelForSyncedSeed-C_BzNN8r.d.ts} +1 -1
- package/dist/dist/resolveModelForSyncedSeed-C_BzNN8r.d.ts.map +1 -0
- package/dist/dist/{syncDbWithEas-Y5GysSCm.d.ts → syncDbWithEas-BMmxPq5o.d.ts} +1 -1
- package/dist/dist/syncDbWithEas-BMmxPq5o.d.ts.map +1 -0
- package/dist/dist/{tabEvents-D9x26vf2.d.ts → tabEvents-DyGJcILs.d.ts} +1 -1
- package/dist/dist/{tabEvents-D9x26vf2.d.ts.map → tabEvents-DyGJcILs.d.ts.map} +1 -1
- package/dist/dist/{tolerantWebAccess-BFU2t-SC.d.ts → tolerantWebAccess-Zxy2EUzu.d.ts} +1 -1
- package/dist/dist/{tolerantWebAccess-BFU2t-SC.d.ts.map → tolerantWebAccess-Zxy2EUzu.d.ts.map} +1 -1
- package/dist/dist/{updateSeedRevokedAt-CCF8WWYS.d.ts → updateSeedRevokedAt-DxhC4ABM.d.ts} +1 -1
- package/dist/dist/updateSeedRevokedAt-DxhC4ABM.d.ts.map +1 -0
- package/dist/{eas-CSm5wmry.js → eas-CPYt-QVJ.js} +4 -4
- package/dist/eas-CPYt-QVJ.js.map +1 -0
- package/dist/{errors-3tc6XkCB.js → errors-DuFqGrjo.js} +55 -41
- package/dist/errors-DuFqGrjo.js.map +1 -0
- package/dist/{getItem-DM3a-7XE.js → getItem-DPapr9uy.js} +4 -4
- package/dist/{getItem-DM3a-7XE.js.map → getItem-DPapr9uy.js.map} +1 -1
- package/dist/{getPublishPayload-CJF0k5d8.js → getPublishPayload-Dnv38ZW1.js} +16 -25
- package/dist/getPublishPayload-Dnv38ZW1.js.map +1 -0
- package/dist/{getPublishUploads-C7-fYIgX.js → getPublishUploads-Dd7dCxNi.js} +10 -10
- package/dist/getPublishUploads-Dd7dCxNi.js.map +1 -0
- package/dist/{index--mmQ3LQu.js → index-CTidoFhC.js} +9 -9
- package/dist/index-CTidoFhC.js.map +1 -0
- package/dist/{index-CrvIcVFJ.js → index-DeUHrBqA.js} +32 -15
- package/dist/index-DeUHrBqA.js.map +1 -0
- package/dist/{index-B7yAoYli.js → index-PnK3Ak9Z.js} +2 -2
- package/dist/index-PnK3Ak9Z.js.map +1 -0
- package/dist/{index.browser-BmVS-c2C.js → index.browser-CRvkFEhl.js} +26 -26
- package/dist/index.browser-CRvkFEhl.js.map +1 -0
- package/dist/{index.node-BKpbCAWt.js → index.node-DQTc7kEl.js} +7 -7
- package/dist/index.node-DQTc7kEl.js.map +1 -0
- package/dist/main.js +155 -26
- package/dist/main.js.map +1 -1
- package/dist/node.js +12 -12
- package/dist/node.js.map +1 -1
- package/dist/platform.browser.js +5 -5
- package/dist/platform.node.js +4 -4
- package/dist/{property-DQ-Owzki.js → property-Dk_5t4-p.js} +11 -11
- package/dist/property-Dk_5t4-p.js.map +1 -0
- package/dist/{propertyValidationRules-BDhFjlwP.js → propertyValidationRules-BtUZdfft.js} +6 -6
- package/dist/{propertyValidationRules-BDhFjlwP.js.map → propertyValidationRules-BtUZdfft.js.map} +1 -1
- package/dist/{publishDraftGraph-CzPd9oe9.js → publishDraftGraph-CN7EsPVb.js} +7 -7
- package/dist/publishDraftGraph-CN7EsPVb.js.map +1 -0
- package/dist/{resetAmbiguousLegacyItemData-cXZm4NuG.js → resetAmbiguousLegacyItemData-DzVlhD9u.js} +2 -2
- package/dist/{resetAmbiguousLegacyItemData-cXZm4NuG.js.map → resetAmbiguousLegacyItemData-DzVlhD9u.js.map} +1 -1
- package/dist/{resolveModelForSyncedSeed-BgxtVCHI.js → resolveModelForSyncedSeed-C_BzNN8r.js} +2 -2
- package/dist/{resolveModelForSyncedSeed-BgxtVCHI.js.map → resolveModelForSyncedSeed-C_BzNN8r.js.map} +1 -1
- package/dist/src/Item/Item.d.ts +2 -2
- package/dist/src/Item/Item.d.ts.map +1 -1
- package/dist/src/Item/errors.d.ts +25 -0
- package/dist/src/Item/errors.d.ts.map +1 -1
- package/dist/src/Item/service/actors/loadOrCreateItem.d.ts.map +1 -1
- package/dist/src/Item/service/itemMachineSingle.d.ts.map +1 -1
- package/dist/src/ItemProperty/ItemProperty.d.ts +14 -3
- 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/resolveRelatedValue.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/index.d.ts +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/index.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.map +1 -1
- package/dist/src/ItemProperty/service/propertyMachine.d.ts +1 -6
- package/dist/src/ItemProperty/service/propertyMachine.d.ts.map +1 -1
- package/dist/src/Model/Model.d.ts.map +1 -1
- package/dist/src/ModelProperty/ModelProperty.d.ts.map +1 -1
- package/dist/src/Schema/Schema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/loadOrCreateSchema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/writeSchemaToDb.d.ts.map +1 -1
- package/dist/src/Schema/service/validation/SchemaValidationService.d.ts +1 -1
- package/dist/src/Schema/service/validation/SchemaValidationService.d.ts.map +1 -1
- package/dist/src/Schema/validation.d.ts.map +1 -1
- package/dist/src/browser/db/Db.d.ts +1 -1
- package/dist/src/browser/db/Db.d.ts.map +1 -1
- package/dist/src/browser/helpers/PathResolver.d.ts +2 -2
- package/dist/src/browser/helpers/PathResolver.d.ts.map +1 -1
- package/dist/src/browser/seed.d.ts +1 -1
- package/dist/src/browser/seed.d.ts.map +1 -1
- package/dist/src/browser/workers/imageResize.d.ts.map +1 -1
- package/dist/src/client/BaseClientManager.d.ts +1 -1
- package/dist/src/client/BaseClientManager.d.ts.map +1 -1
- package/dist/src/client/ClientManager.d.ts +1 -0
- package/dist/src/client/ClientManager.d.ts.map +1 -1
- package/dist/src/client/actors/addModelsToDb.d.ts.map +1 -1
- package/dist/src/client/actors/fileSystemInit.d.ts.map +1 -1
- package/dist/src/client/actors/platformClassesInit.d.ts.map +1 -1
- package/dist/src/client/clientManagerMachine.d.ts.map +1 -1
- package/dist/src/client/constants.d.ts.map +1 -1
- package/dist/src/db/clearStoredDisplayUrls.d.ts +18 -0
- package/dist/src/db/clearStoredDisplayUrls.d.ts.map +1 -0
- package/dist/src/db/read/getItems.d.ts.map +1 -1
- package/dist/src/db/read/getPublishPayload.d.ts.map +1 -1
- package/dist/src/db/read/nameMatchLevels.d.ts +7 -3
- package/dist/src/db/read/nameMatchLevels.d.ts.map +1 -1
- package/dist/src/db/write/applyPropertyAttestationUidsFromPublish.d.ts +10 -0
- package/dist/src/db/write/applyPropertyAttestationUidsFromPublish.d.ts.map +1 -1
- package/dist/src/db/write/deleteItem.d.ts +4 -0
- package/dist/src/db/write/deleteItem.d.ts.map +1 -1
- package/dist/src/db/write/updateItemPropertyValue.d.ts.map +1 -1
- package/dist/src/eas.d.ts.map +1 -1
- package/dist/src/events/item/index.d.ts.map +1 -1
- package/dist/src/events/item/syncDbWithEas.d.ts.map +1 -1
- package/dist/src/events/services/allItems.d.ts +1 -1
- package/dist/src/events/services/allItems.d.ts.map +1 -1
- package/dist/src/helpers/db.d.ts.map +1 -1
- package/dist/src/helpers/file/fetchAll/actors.d.ts.map +1 -1
- package/dist/src/helpers/file/fetchAll/index.d.ts.map +1 -1
- package/dist/src/helpers/schema.d.ts.map +1 -1
- package/dist/src/helpers/updateSchema.d.ts +1 -1
- package/dist/src/helpers/updateSchema.d.ts.map +1 -1
- package/dist/src/imports/json.d.ts.map +1 -1
- package/dist/src/imports/markdown.d.ts +1 -1
- package/dist/src/imports/markdown.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/interfaces/IItem.d.ts +1 -1
- package/dist/src/interfaces/IItem.d.ts.map +1 -1
- package/dist/src/interfaces/IItemProperty.d.ts +5 -1
- package/dist/src/interfaces/IItemProperty.d.ts.map +1 -1
- package/dist/src/services/write/actors/validateEntity.d.ts.map +1 -1
- package/dist/src/services/write/writeProcessMachine.d.ts +3 -4
- package/dist/src/services/write/writeProcessMachine.d.ts.map +1 -1
- package/dist/src/types/fileManager.d.ts.map +1 -1
- package/dist/src/types/item.d.ts +5 -4
- package/dist/src/types/item.d.ts.map +1 -1
- package/dist/src/types/model.d.ts.map +1 -1
- package/dist/src/types/property.d.ts +5 -5
- package/dist/src/types/property.d.ts.map +1 -1
- package/dist/{syncDbWithEas-Y5GysSCm.js → syncDbWithEas-BMmxPq5o.js} +17 -18
- package/dist/syncDbWithEas-BMmxPq5o.js.map +1 -0
- package/dist/{tabEvents-D9x26vf2.js → tabEvents-DyGJcILs.js} +4 -4
- package/dist/{tabEvents-D9x26vf2.js.map → tabEvents-DyGJcILs.js.map} +1 -1
- package/dist/{tolerantWebAccess-BFU2t-SC.js → tolerantWebAccess-Zxy2EUzu.js} +6 -6
- package/dist/{tolerantWebAccess-BFU2t-SC.js.map → tolerantWebAccess-Zxy2EUzu.js.map} +1 -1
- package/dist/{updateSeedRevokedAt-CCF8WWYS.js → updateSeedRevokedAt-DxhC4ABM.js} +3 -3
- package/dist/{updateSeedRevokedAt-CCF8WWYS.js.map → updateSeedRevokedAt-DxhC4ABM.js.map} +1 -1
- package/package.json +6 -6
- package/dist/ClientManager-D6YA20jP.js.map +0 -1
- package/dist/Item-B1MH0tXx.js.map +0 -1
- package/dist/ModelProperty-Dw6dHdu_.js.map +0 -1
- package/dist/Schema-DppObO6h.js.map +0 -1
- package/dist/SchemaValidationService-DXQ-D531.js.map +0 -1
- package/dist/dist/ClientManager-D6YA20jP.d.ts.map +0 -1
- package/dist/dist/Item-B1MH0tXx.d.ts.map +0 -1
- package/dist/dist/backfillMetadataPropertyIds-Uhzlwg9X.d.ts.map +0 -1
- package/dist/dist/configurePlatform-CVoh3JeR.d.ts.map +0 -1
- package/dist/dist/detachRowsBeforeDelete-CtmIFpgV.d.ts.map +0 -1
- package/dist/dist/discardNewDraft-oGYdB5vS.d.ts.map +0 -1
- package/dist/dist/eas-CSm5wmry.d.ts.map +0 -1
- package/dist/dist/errors-3tc6XkCB.d.ts.map +0 -1
- package/dist/dist/getItem-DM3a-7XE.d.ts.map +0 -1
- package/dist/dist/getPublishPayload-CJF0k5d8.d.ts.map +0 -1
- package/dist/dist/index--mmQ3LQu.d.ts.map +0 -1
- package/dist/dist/index-CrvIcVFJ.d.ts.map +0 -1
- package/dist/dist/property-DQ-Owzki.d.ts.map +0 -1
- package/dist/dist/propertyValidationRules-BDhFjlwP.d.ts.map +0 -1
- package/dist/dist/resetAmbiguousLegacyItemData-cXZm4NuG.d.ts.map +0 -1
- package/dist/dist/resolveModelForSyncedSeed-BgxtVCHI.d.ts.map +0 -1
- package/dist/dist/syncDbWithEas-Y5GysSCm.d.ts.map +0 -1
- package/dist/dist/updateSeedRevokedAt-CCF8WWYS.d.ts.map +0 -1
- package/dist/eas-CSm5wmry.js.map +0 -1
- package/dist/errors-3tc6XkCB.js.map +0 -1
- package/dist/getPublishPayload-CJF0k5d8.js.map +0 -1
- package/dist/getPublishUploads-C7-fYIgX.js.map +0 -1
- package/dist/index--mmQ3LQu.js.map +0 -1
- package/dist/index-B7yAoYli.js.map +0 -1
- package/dist/index-CrvIcVFJ.js.map +0 -1
- package/dist/index.browser-BmVS-c2C.js.map +0 -1
- package/dist/index.node-BKpbCAWt.js.map +0 -1
- package/dist/property-DQ-Owzki.js.map +0 -1
- package/dist/publishDraftGraph-CzPd9oe9.js.map +0 -1
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveRelation.d.ts +0 -5
- package/dist/src/ItemProperty/service/actors/saveValueToDb/saveRelation.d.ts.map +0 -1
- package/dist/src/db/write/recoverDeletedItem.d.ts +0 -5
- package/dist/src/db/write/recoverDeletedItem.d.ts.map +0 -1
- package/dist/src/interfaces/IEasClient.d.ts +0 -3
- package/dist/src/interfaces/IEasClient.d.ts.map +0 -1
- package/dist/syncDbWithEas-Y5GysSCm.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as metadata, j as appState, k as arweaveL1FinalizeJobs, l as config, o as easSyncProcesses, p as htmlEmbeddedImageCoPublish, q as modelRelations, r as modelSchemas, s as modelUids, t as models, u as modelsRelations, v as properties, w as propertiesRelations, x as propertyUidRelations, y as propertyUids, z as publishProcesses, A as schemas, C as seeds, E as uploadProcesses, F as versions } from './index-
|
|
1
|
+
import { m as metadata, j as appState, k as arweaveL1FinalizeJobs, l as config, o as easSyncProcesses, p as htmlEmbeddedImageCoPublish, q as modelRelations, r as modelSchemas, s as modelUids, t as models, u as modelsRelations, v as properties, w as propertiesRelations, x as propertyUidRelations, y as propertyUids, z as publishProcesses, A as schemas, C as seeds, E as uploadProcesses, F as versions } from './index-DeUHrBqA.js';
|
|
2
2
|
|
|
3
3
|
var schema = /*#__PURE__*/Object.freeze({
|
|
4
4
|
__proto__: null,
|
|
@@ -25,4 +25,4 @@ var schema = /*#__PURE__*/Object.freeze({
|
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export { schema as s };
|
|
28
|
-
//# sourceMappingURL=index-
|
|
28
|
+
//# sourceMappingURL=index-PnK3Ak9Z.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-PnK3Ak9Z.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as BasePathResolver } from './configurePlatform-
|
|
2
|
-
import { B as BaseDb, j as appState, aA as contentSha256TagMatches, h as BaseFileManager } from './index-
|
|
1
|
+
import { B as BasePathResolver } from './configurePlatform-CazqABrK.js';
|
|
2
|
+
import { B as BaseDb, j as appState, aA as contentSha256TagMatches, h as BaseFileManager } from './index-DeUHrBqA.js';
|
|
3
3
|
import { eq, sql } from 'drizzle-orm';
|
|
4
|
-
import { a as withDbTabLock, n as notifyFilesWrittenOutsideCache, b as withSeedDbLock } from './tabEvents-
|
|
4
|
+
import { a as withDbTabLock, n as notifyFilesWrittenOutsideCache, b as withSeedDbLock } from './tabEvents-DyGJcILs.js';
|
|
5
5
|
import { M as MIME_TO_EXTENSION } from './mimeTypes-C9r76DCH.js';
|
|
6
6
|
import debug from 'debug';
|
|
7
7
|
import { F as FileSystemLockedError, D as DatabaseNotPersistentError } from './errors-Do7v6RKu.js';
|
|
8
8
|
import { drizzle } from 'drizzle-orm/sqlite-proxy';
|
|
9
9
|
import { sha256 } from '@noble/hashes/sha256';
|
|
10
10
|
import { bytesToHex, utf8ToBytes } from '@noble/hashes/utils';
|
|
11
|
-
import { s as schema } from './index-
|
|
11
|
+
import { s as schema } from './index-PnK3Ak9Z.js';
|
|
12
12
|
import { SQLocalDrizzle } from 'sqlocal/drizzle';
|
|
13
13
|
import { Observable, distinctUntilChanged } from 'rxjs';
|
|
14
14
|
import { BaseArweaveClient, fetchTransactionStatusAcrossGateways, getPreferredArweaveReadBaseUrls, fetchArweaveRawFromBaseUrl, GET_TRANSACTION_TAGS } from '@seedprotocol/arweave';
|
|
@@ -47,7 +47,7 @@ class BrowserPathResolver {
|
|
|
47
47
|
* Gets the .seed directory path
|
|
48
48
|
* Note: In browser, this returns the OPFS path where .seed data is stored
|
|
49
49
|
*/
|
|
50
|
-
getDotSeedDir(
|
|
50
|
+
getDotSeedDir(_schemaFileDir) {
|
|
51
51
|
// In browser, .seed directory is stored in OPFS
|
|
52
52
|
// The actual path is handled by the FileManager
|
|
53
53
|
return '/.seed';
|
|
@@ -56,7 +56,7 @@ class BrowserPathResolver {
|
|
|
56
56
|
* Finds the Seed Protocol config file
|
|
57
57
|
* Note: In browser, config files are not accessible via filesystem
|
|
58
58
|
*/
|
|
59
|
-
findConfigFile(
|
|
59
|
+
findConfigFile(_searchDir) {
|
|
60
60
|
// In browser, config files are typically embedded in the bundle
|
|
61
61
|
// or loaded via fetch/import
|
|
62
62
|
return null;
|
|
@@ -121,7 +121,7 @@ var filesDownload = `const SEED_MIME_TO_EXTENSION = ${JSON.stringify(MIME_TO_EXT
|
|
|
121
121
|
JSON.parse(str);
|
|
122
122
|
return 'json';
|
|
123
123
|
}
|
|
124
|
-
catch
|
|
124
|
+
catch {
|
|
125
125
|
// Not JSON
|
|
126
126
|
}
|
|
127
127
|
if (!str) {
|
|
@@ -283,7 +283,7 @@ var filesDownload = `const SEED_MIME_TO_EXTENSION = ${JSON.stringify(MIME_TO_EXT
|
|
|
283
283
|
if (subtle && toHex(await subtle.digest('SHA-256', bytes)) === want)
|
|
284
284
|
return true;
|
|
285
285
|
}
|
|
286
|
-
catch
|
|
286
|
+
catch {
|
|
287
287
|
/* fall back to the page */
|
|
288
288
|
}
|
|
289
289
|
return verifyOnPage(transactionId, bytes, want);
|
|
@@ -315,7 +315,7 @@ var filesDownload = `const SEED_MIME_TO_EXTENSION = ${JSON.stringify(MIME_TO_EXT
|
|
|
315
315
|
.trim()
|
|
316
316
|
.toLowerCase();
|
|
317
317
|
}
|
|
318
|
-
catch
|
|
318
|
+
catch {
|
|
319
319
|
/* next gateway */
|
|
320
320
|
continue;
|
|
321
321
|
}
|
|
@@ -402,7 +402,7 @@ var filesDownload = `const SEED_MIME_TO_EXTENSION = ${JSON.stringify(MIME_TO_EXT
|
|
|
402
402
|
}
|
|
403
403
|
return binaryData;
|
|
404
404
|
}
|
|
405
|
-
catch
|
|
405
|
+
catch {
|
|
406
406
|
return undefined;
|
|
407
407
|
}
|
|
408
408
|
};
|
|
@@ -592,7 +592,7 @@ var filesDownload = `const SEED_MIME_TO_EXTENSION = ${JSON.stringify(MIME_TO_EXT
|
|
|
592
592
|
}
|
|
593
593
|
buffer = await response.arrayBuffer();
|
|
594
594
|
}
|
|
595
|
-
catch
|
|
595
|
+
catch {
|
|
596
596
|
globalThis.postMessage({
|
|
597
597
|
message: 'excludeTransaction',
|
|
598
598
|
transactionId,
|
|
@@ -967,7 +967,7 @@ var imageResize = `(
|
|
|
967
967
|
/**
|
|
968
968
|
* Hermite resize, multicore version - fast image resize/resample using Hermite filter.
|
|
969
969
|
*/
|
|
970
|
-
const resample = (srcCanvas, destCanvas,
|
|
970
|
+
const resample = (srcCanvas, destCanvas, _config) => {
|
|
971
971
|
return new Promise((resolve, reject) => {
|
|
972
972
|
const ratio_h = srcCanvas.height / destCanvas.height;
|
|
973
973
|
const cores = Math.min(navigator.hardwareConcurrency || 4, 4);
|
|
@@ -1032,19 +1032,19 @@ var imageResize = `(
|
|
|
1032
1032
|
const yy_start = Math.floor(j * ratio_h);
|
|
1033
1033
|
const yy_stop = Math.min(Math.ceil((j + 1) * ratio_h), srcCanvasData.height);
|
|
1034
1034
|
for (let yy = yy_start; yy < yy_stop; yy++) {
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1035
|
+
const dy = Math.abs(center_y - yy) / ratio_h_half;
|
|
1036
|
+
const center_x = i * ratio_w;
|
|
1037
|
+
const w0 = dy * dy; //pre-calc part of w
|
|
1038
1038
|
for (let xx = xx_start; xx < xx_stop; xx++) {
|
|
1039
|
-
|
|
1040
|
-
|
|
1039
|
+
const dx = Math.abs(center_x - xx) / ratio_w_half;
|
|
1040
|
+
const w = Math.sqrt(w0 + dx * dx);
|
|
1041
1041
|
if (w >= 1) {
|
|
1042
1042
|
//pixel too far
|
|
1043
1043
|
continue;
|
|
1044
1044
|
}
|
|
1045
1045
|
//hermite filter
|
|
1046
1046
|
weight = 2 * w * w * w - 3 * w * w + 1;
|
|
1047
|
-
|
|
1047
|
+
const pos_x = 4 * (xx + yy * srcCanvasData.width);
|
|
1048
1048
|
//alpha
|
|
1049
1049
|
gx_a += weight * data[pos_x + 3];
|
|
1050
1050
|
weights_alpha += weight;
|
|
@@ -1448,8 +1448,8 @@ class BrowserFileManager {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
async initializeFileSystem(_workingDir) {
|
|
1450
1450
|
const zenfs = await this.getFs();
|
|
1451
|
-
const { TolerantWebAccess, TolerantWebAccessFS } = await import('./tolerantWebAccess-
|
|
1452
|
-
const _mod_0 = await import('./tabEvents-
|
|
1451
|
+
const { TolerantWebAccess, TolerantWebAccessFS } = await import('./tolerantWebAccess-Zxy2EUzu.js');
|
|
1452
|
+
const _mod_0 = await import('./tabEvents-DyGJcILs.js');
|
|
1453
1453
|
const _ns_0 = _mod_0.t;
|
|
1454
1454
|
const { queueFilesChangedNotice } = _ns_0;
|
|
1455
1455
|
const { configureSingle } = zenfs;
|
|
@@ -1518,7 +1518,7 @@ class BrowserFileManager {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
async invalidateNow(filePaths) {
|
|
1520
1520
|
const { mounts } = await this.getFs();
|
|
1521
|
-
const { TolerantWebAccessFS } = await import('./tolerantWebAccess-
|
|
1521
|
+
const { TolerantWebAccessFS } = await import('./tolerantWebAccess-Zxy2EUzu.js');
|
|
1522
1522
|
const mounted = mounts.get('/');
|
|
1523
1523
|
if (!(mounted instanceof TolerantWebAccessFS))
|
|
1524
1524
|
return;
|
|
@@ -1563,7 +1563,7 @@ class BrowserFileManager {
|
|
|
1563
1563
|
const zenfs = await this.getFs();
|
|
1564
1564
|
await zenfs.promises.mkdir(filePath, { recursive: true });
|
|
1565
1565
|
}
|
|
1566
|
-
catch
|
|
1566
|
+
catch {
|
|
1567
1567
|
// This is a no-op. We tried to create a directory that already exists.
|
|
1568
1568
|
logger$4('Attempted to create a directory that already exists');
|
|
1569
1569
|
}
|
|
@@ -4069,10 +4069,10 @@ class BrowserDb {
|
|
|
4069
4069
|
}
|
|
4070
4070
|
await this.runMigrations(db);
|
|
4071
4071
|
this.appDb = db;
|
|
4072
|
-
const { backfillMetadataPropertyIds } = await import('./backfillMetadataPropertyIds-
|
|
4072
|
+
const { backfillMetadataPropertyIds } = await import('./backfillMetadataPropertyIds-qoVxUEEl.js');
|
|
4073
4073
|
await backfillMetadataPropertyIds();
|
|
4074
4074
|
// One-time: clear item data whose model can't be determined (seeds.model_file_id, migration 0015)
|
|
4075
|
-
const { resetAmbiguousLegacyItemData } = await import('./resetAmbiguousLegacyItemData-
|
|
4075
|
+
const { resetAmbiguousLegacyItemData } = await import('./resetAmbiguousLegacyItemData-DzVlhD9u.js');
|
|
4076
4076
|
await resetAmbiguousLegacyItemData();
|
|
4077
4077
|
})(), workerFailed);
|
|
4078
4078
|
return this.appDb;
|
|
@@ -4135,7 +4135,7 @@ class BrowserDb {
|
|
|
4135
4135
|
// this.dbId = dbId
|
|
4136
4136
|
// await this.migrate()
|
|
4137
4137
|
// }
|
|
4138
|
-
async connectToDb(
|
|
4138
|
+
async connectToDb(_filesDir) {
|
|
4139
4139
|
return this.dbId;
|
|
4140
4140
|
}
|
|
4141
4141
|
async copyDrizzleFiles(filesDir) {
|
|
@@ -4515,4 +4515,4 @@ function resolveFilesDir(filesDir) {
|
|
|
4515
4515
|
}
|
|
4516
4516
|
|
|
4517
4517
|
export { createPlatformServices as c, isSkippableOpfsEntryError as i, resolveFilesDir as r };
|
|
4518
|
-
//# sourceMappingURL=index.browser-
|
|
4518
|
+
//# sourceMappingURL=index.browser-CRvkFEhl.js.map
|