@seedprotocol/sdk 0.7.5 → 0.7.6
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/README.md +2 -2
- package/dist/{ClientManager-DRf4uuei.js → ClientManager-D6YA20jP.js} +207 -149
- package/dist/ClientManager-D6YA20jP.js.map +1 -0
- package/dist/{Item-DTJPMjFk.js → Item-B1MH0tXx.js} +126 -86
- package/dist/Item-B1MH0tXx.js.map +1 -0
- package/dist/{ModelProperty-Dto5C0om.js → ModelProperty-Dw6dHdu_.js} +37 -37
- package/dist/{ModelProperty-Dto5C0om.js.map → ModelProperty-Dw6dHdu_.js.map} +1 -1
- package/dist/{Schema-8DxGcORY.js → Schema-DppObO6h.js} +62 -212
- package/dist/Schema-DppObO6h.js.map +1 -0
- package/dist/{SchemaValidationService-CE92y1TT.js → SchemaValidationService-DXQ-D531.js} +6 -6
- package/dist/{SchemaValidationService-CE92y1TT.js.map → SchemaValidationService-DXQ-D531.js.map} +1 -1
- package/dist/{backfillMetadataPropertyIds-CRqp-BqX.js → backfillMetadataPropertyIds-Uhzlwg9X.js} +3 -3
- package/dist/{backfillMetadataPropertyIds-CRqp-BqX.js.map → backfillMetadataPropertyIds-Uhzlwg9X.js.map} +1 -1
- package/dist/configurePlatform-CVoh3JeR.js +81 -0
- package/dist/configurePlatform-CVoh3JeR.js.map +1 -0
- package/dist/{detachRowsBeforeDelete-BVetHtn2.js → detachRowsBeforeDelete-CtmIFpgV.js} +2 -2
- package/dist/{detachRowsBeforeDelete-BVetHtn2.js.map → detachRowsBeforeDelete-CtmIFpgV.js.map} +1 -1
- package/dist/{discardNewDraft-CEOouygG.js → discardNewDraft-oGYdB5vS.js} +5 -5
- package/dist/{discardNewDraft-CEOouygG.js.map → discardNewDraft-oGYdB5vS.js.map} +1 -1
- package/dist/dist/ClientManager-D6YA20jP.d.ts +933 -0
- package/dist/dist/ClientManager-D6YA20jP.d.ts.map +1 -0
- package/dist/dist/Item-B1MH0tXx.d.ts +898 -0
- package/dist/dist/Item-B1MH0tXx.d.ts.map +1 -0
- package/dist/dist/ModelProperty-Dw6dHdu_.d.ts +315 -0
- package/dist/dist/ModelProperty-Dw6dHdu_.d.ts.map +1 -0
- package/dist/dist/Schema-DppObO6h.d.ts +601 -0
- package/dist/dist/Schema-DppObO6h.d.ts.map +1 -0
- package/dist/dist/SchemaValidationService-DXQ-D531.d.ts +118 -0
- package/dist/dist/SchemaValidationService-DXQ-D531.d.ts.map +1 -0
- package/dist/dist/backfillMetadataPropertyIds-Uhzlwg9X.d.ts +7 -0
- package/dist/dist/backfillMetadataPropertyIds-Uhzlwg9X.d.ts.map +1 -0
- package/dist/dist/configurePlatform-CVoh3JeR.d.ts +30 -0
- package/dist/dist/configurePlatform-CVoh3JeR.d.ts.map +1 -0
- package/dist/dist/detachRowsBeforeDelete-CtmIFpgV.d.ts +13 -0
- package/dist/dist/detachRowsBeforeDelete-CtmIFpgV.d.ts.map +1 -0
- package/dist/dist/discardNewDraft-oGYdB5vS.d.ts +8 -0
- package/dist/dist/discardNewDraft-oGYdB5vS.d.ts.map +1 -0
- package/dist/dist/eas-CSm5wmry.d.ts +12 -0
- package/dist/dist/eas-CSm5wmry.d.ts.map +1 -0
- package/dist/dist/errors-3tc6XkCB.d.ts +487 -0
- package/dist/dist/errors-3tc6XkCB.d.ts.map +1 -0
- package/dist/dist/errors-Do7v6RKu.d.ts +22 -0
- package/dist/dist/errors-Do7v6RKu.d.ts.map +1 -0
- package/dist/dist/getItem-DM3a-7XE.d.ts +6 -0
- package/dist/dist/getItem-DM3a-7XE.d.ts.map +1 -0
- package/dist/dist/getPublishPayload-CJF0k5d8.d.ts +47 -0
- package/dist/dist/getPublishPayload-CJF0k5d8.d.ts.map +1 -0
- package/dist/dist/getPublishUploads-C7-fYIgX.d.ts +89 -0
- package/dist/dist/getPublishUploads-C7-fYIgX.d.ts.map +1 -0
- package/dist/dist/index--mmQ3LQu.d.ts +6 -0
- package/dist/dist/index--mmQ3LQu.d.ts.map +1 -0
- package/dist/dist/index-B7yAoYli.d.ts +2752 -0
- package/dist/dist/index-B7yAoYli.d.ts.map +1 -0
- package/dist/dist/index-CrvIcVFJ.d.ts +4475 -0
- package/dist/dist/index-CrvIcVFJ.d.ts.map +1 -0
- package/dist/dist/index.browser-BmVS-c2C.d.ts +8445 -0
- package/dist/dist/index.browser-BmVS-c2C.d.ts.map +1 -0
- package/dist/dist/index.node-BKpbCAWt.d.ts +11123 -0
- package/dist/dist/index.node-BKpbCAWt.d.ts.map +1 -0
- package/dist/dist/mimeTypes-C9r76DCH.d.ts +30 -0
- package/dist/dist/mimeTypes-C9r76DCH.d.ts.map +1 -0
- package/dist/dist/model-oHA3YhOd.d.ts +6 -0
- package/dist/dist/model-oHA3YhOd.d.ts.map +1 -0
- package/dist/dist/platform.browser.d.ts +3 -0
- package/dist/dist/platform.browser.d.ts.map +1 -0
- package/dist/dist/platform.node.d.ts +3 -0
- package/dist/dist/platform.node.d.ts.map +1 -0
- package/dist/dist/property-DQ-Owzki.d.ts +37 -0
- package/dist/dist/property-DQ-Owzki.d.ts.map +1 -0
- package/dist/dist/propertyValidationRules-BDhFjlwP.d.ts +8 -0
- package/dist/dist/propertyValidationRules-BDhFjlwP.d.ts.map +1 -0
- package/dist/dist/publishDraftGraph-CzPd9oe9.d.ts +76 -0
- package/dist/dist/publishDraftGraph-CzPd9oe9.d.ts.map +1 -0
- package/dist/dist/resetAmbiguousLegacyItemData-cXZm4NuG.d.ts +17 -0
- package/dist/dist/resetAmbiguousLegacyItemData-cXZm4NuG.d.ts.map +1 -0
- package/dist/dist/resolveModelForSyncedSeed-BgxtVCHI.d.ts +21 -0
- package/dist/dist/resolveModelForSyncedSeed-BgxtVCHI.d.ts.map +1 -0
- package/dist/dist/syncDbWithEas-Y5GysSCm.d.ts +22 -0
- package/dist/dist/syncDbWithEas-Y5GysSCm.d.ts.map +1 -0
- package/dist/dist/tabEvents-D9x26vf2.d.ts +81 -0
- package/dist/dist/tabEvents-D9x26vf2.d.ts.map +1 -0
- package/dist/dist/tolerantWebAccess-BFU2t-SC.d.ts +113 -0
- package/dist/dist/tolerantWebAccess-BFU2t-SC.d.ts.map +1 -0
- package/dist/dist/updateSeedRevokedAt-CCF8WWYS.d.ts +11 -0
- package/dist/dist/updateSeedRevokedAt-CCF8WWYS.d.ts.map +1 -0
- package/dist/drizzle.js +2 -0
- package/dist/drizzle.js.map +1 -0
- package/dist/{eas-D7jvWMnI.js → eas-CSm5wmry.js} +3 -3
- package/dist/{eas-D7jvWMnI.js.map → eas-CSm5wmry.js.map} +1 -1
- package/dist/{errors-CIrbsN_i.js → errors-3tc6XkCB.js} +81 -36
- package/dist/errors-3tc6XkCB.js.map +1 -0
- package/dist/errors-Do7v6RKu.js +34 -0
- package/dist/errors-Do7v6RKu.js.map +1 -0
- package/dist/{getItem-CxU_kT5W.js → getItem-DM3a-7XE.js} +4 -4
- package/dist/{getItem-CxU_kT5W.js.map → getItem-DM3a-7XE.js.map} +1 -1
- package/dist/{getPublishPayload-DTjOKd3y.js → getPublishPayload-CJF0k5d8.js} +31 -25
- package/dist/getPublishPayload-CJF0k5d8.js.map +1 -0
- package/dist/{getPublishUploads-CVTBo_OV.js → getPublishUploads-C7-fYIgX.js} +6 -6
- package/dist/{getPublishUploads-CVTBo_OV.js.map → getPublishUploads-C7-fYIgX.js.map} +1 -1
- package/dist/{index-CMxEil8T.js → index--mmQ3LQu.js} +8 -8
- package/dist/index--mmQ3LQu.js.map +1 -0
- package/dist/{index-DWK-LOUY.js → index-B7yAoYli.js} +2 -2
- package/dist/index-B7yAoYli.js.map +1 -0
- package/dist/{BasePathResolver-CBTXCMFL.js → index-CrvIcVFJ.js} +304 -285
- package/dist/index-CrvIcVFJ.js.map +1 -0
- package/dist/{index.browser-shRXMeB3.js → index.browser-BmVS-c2C.js} +34 -44
- package/dist/index.browser-BmVS-c2C.js.map +1 -0
- package/dist/{index.node-DAKJNYp5.js → index.node-BKpbCAWt.js} +43 -7
- package/dist/index.node-BKpbCAWt.js.map +1 -0
- package/dist/main.js +23 -24
- package/dist/main.js.map +1 -1
- package/dist/node.js +13 -10
- package/dist/node.js.map +1 -1
- package/dist/platform.browser.js +7 -7
- package/dist/platform.node.js +4 -4
- package/dist/{property-lz9yIpyA.js → property-DQ-Owzki.js} +7 -7
- package/dist/{property-lz9yIpyA.js.map → property-DQ-Owzki.js.map} +1 -1
- package/dist/{propertyValidationRules-LuIwoQoJ.js → propertyValidationRules-BDhFjlwP.js} +10 -10
- package/dist/{propertyValidationRules-LuIwoQoJ.js.map → propertyValidationRules-BDhFjlwP.js.map} +1 -1
- package/dist/{publishDraftGraph-CgSLPKvQ.js → publishDraftGraph-CzPd9oe9.js} +41 -8
- package/dist/publishDraftGraph-CzPd9oe9.js.map +1 -0
- package/dist/{resetAmbiguousLegacyItemData-CuamkAAh.js → resetAmbiguousLegacyItemData-cXZm4NuG.js} +2 -2
- package/dist/{resetAmbiguousLegacyItemData-CuamkAAh.js.map → resetAmbiguousLegacyItemData-cXZm4NuG.js.map} +1 -1
- package/dist/{resolveModelForSyncedSeed-BbSctSvz.js → resolveModelForSyncedSeed-BgxtVCHI.js} +2 -2
- package/dist/{resolveModelForSyncedSeed-BbSctSvz.js.map → resolveModelForSyncedSeed-BgxtVCHI.js.map} +1 -1
- package/dist/src/Item/Item.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/initialize.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/rowContext.d.ts +10 -0
- package/dist/src/ItemProperty/service/actors/saveValueToDb/rowContext.d.ts.map +1 -0
- 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 +20 -20
- package/dist/src/Model/Model.d.ts +8 -0
- package/dist/src/Model/Model.d.ts.map +1 -1
- package/dist/src/ModelProperty/ModelProperty.d.ts +1 -1
- package/dist/src/ModelProperty/service/modelPropertyMachine.d.ts +3 -3
- package/dist/src/Schema/service/actors/checkExistingSchema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/loadOrCreateSchema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/writeModelsToDb.d.ts.map +1 -1
- package/dist/src/browser/db/Db.d.ts.map +1 -1
- package/dist/src/browser/helpers/ArweaveClient.d.ts.map +1 -1
- package/dist/src/client/actors/addModelsToDb.d.ts.map +1 -1
- package/dist/src/client/actors/platformClassesInit.d.ts +1 -7
- package/dist/src/client/actors/platformClassesInit.d.ts.map +1 -1
- package/dist/src/client/actors/saveAppState.d.ts.map +1 -1
- package/dist/src/client/actors/saveConfig.d.ts.map +1 -1
- package/dist/src/client/seedConfigDefaults.d.ts +10 -0
- package/dist/src/client/seedConfigDefaults.d.ts.map +1 -0
- package/dist/src/db/read/getPublishPayload.d.ts.map +1 -1
- package/dist/src/db/write/updateItemPropertyValue.d.ts +6 -0
- package/dist/src/db/write/updateItemPropertyValue.d.ts.map +1 -1
- package/dist/src/drizzle/index.d.ts +7 -0
- package/dist/src/drizzle/index.d.ts.map +1 -0
- 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/FileManager/errors.d.ts +11 -0
- package/dist/src/helpers/FileManager/errors.d.ts.map +1 -1
- package/dist/src/helpers/db.d.ts +14 -0
- package/dist/src/helpers/db.d.ts.map +1 -1
- package/dist/src/helpers/dotSeedPath.d.ts +7 -0
- package/dist/src/helpers/dotSeedPath.d.ts.map +1 -0
- package/dist/src/helpers/entity/entityLiveQuery.d.ts.map +1 -1
- package/dist/src/helpers/environment.d.ts +5 -0
- package/dist/src/helpers/environment.d.ts.map +1 -1
- package/dist/src/helpers/getSegmentedItemProperties.d.ts.map +1 -1
- package/dist/src/helpers/metadataPropertyNames.d.ts +10 -0
- package/dist/src/helpers/metadataPropertyNames.d.ts.map +1 -1
- package/dist/src/helpers/reconcilePropertyDraftRows.d.ts +9 -0
- package/dist/src/helpers/reconcilePropertyDraftRows.d.ts.map +1 -0
- 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 +18 -5
- package/dist/src/imports/json.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/node/helpers/resolveFilesDir.d.ts +8 -0
- package/dist/src/node/helpers/resolveFilesDir.d.ts.map +1 -0
- package/dist/src/node/webpack/index.d.ts +2 -0
- package/dist/src/node/webpack/index.d.ts.map +1 -1
- package/dist/src/platform/index.browser.d.ts +5 -0
- package/dist/src/platform/index.browser.d.ts.map +1 -1
- package/dist/src/platform/index.node.d.ts +1 -0
- package/dist/src/platform/index.node.d.ts.map +1 -1
- package/dist/src/stores/eas.d.ts +1 -1
- package/dist/src/stores/eas.d.ts.map +1 -1
- package/dist/src/types/import.d.ts +15 -0
- package/dist/src/types/import.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +8 -4
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/{syncDbWithEas-CrAY9Rl2.js → syncDbWithEas-Y5GysSCm.js} +17 -13
- package/dist/syncDbWithEas-Y5GysSCm.js.map +1 -0
- package/dist/{tabEvents-BGBYV65P.js → tabEvents-D9x26vf2.js} +4 -4
- package/dist/{tabEvents-BGBYV65P.js.map → tabEvents-D9x26vf2.js.map} +1 -1
- package/dist/{tolerantWebAccess-DVHCEulL.js → tolerantWebAccess-BFU2t-SC.js} +8 -8
- package/dist/{tolerantWebAccess-DVHCEulL.js.map → tolerantWebAccess-BFU2t-SC.js.map} +1 -1
- package/dist/{updateSeedRevokedAt-Dy5J8CfQ.js → updateSeedRevokedAt-CCF8WWYS.js} +3 -3
- package/dist/{updateSeedRevokedAt-Dy5J8CfQ.js.map → updateSeedRevokedAt-CCF8WWYS.js.map} +1 -1
- package/package.json +31 -31
- package/dist/BasePathResolver-CBTXCMFL.js.map +0 -1
- package/dist/ClientManager-DRf4uuei.js.map +0 -1
- package/dist/Item-DTJPMjFk.js.map +0 -1
- package/dist/Schema-8DxGcORY.js.map +0 -1
- package/dist/configurePlatform-D4aGjKNk.js +0 -31
- package/dist/configurePlatform-D4aGjKNk.js.map +0 -1
- package/dist/errors-CIrbsN_i.js.map +0 -1
- package/dist/errors-CrBxGWah.js +0 -17
- package/dist/errors-CrBxGWah.js.map +0 -1
- package/dist/getPublishPayload-DTjOKd3y.js.map +0 -1
- package/dist/index-CMxEil8T.js.map +0 -1
- package/dist/index-DWK-LOUY.js.map +0 -1
- package/dist/index.browser-shRXMeB3.js.map +0 -1
- package/dist/index.node-DAKJNYp5.js.map +0 -1
- package/dist/publishDraftGraph-CgSLPKvQ.js.map +0 -1
- package/dist/src/client/nodeEndpointDefaults.d.ts +0 -8
- package/dist/src/client/nodeEndpointDefaults.d.ts.map +0 -1
- package/dist/syncDbWithEas-CrAY9Rl2.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.node-BKpbCAWt.d.ts","sourceRoot":"","sources":["../index.node-BKpbCAWt.js"],"names":[],"mappings":"AAsWA,gCAAgC;AAChC,gCAAkB;AAvLlB,yCAAyC;AACzC,kDAAoC;AAwWpC,8EAA8E;AAC9E,oDAAsC;AAGtC;;;;;GAKG;AACH,qDAkBC;AAED;;;;;;;EASC;AApYD;;;GAGG;AACH,yEAgCC;AA0BD;IACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACD,2CAEC;IACD,mCAEC;CACJ;AA4LD;IACI,yEAAyE;IACzE,0BAEC;IACD;;OAEG;IACH,sEAeC;IACD,uBAoBC;IACD,wBAYC;IACD;;OAEG;IACH,iCAOC;IACD;;OAEG;IACH,wBAqCC;IACD,4BAQC;IACD;;OAEG;IACH,0CAKC;IACD;;;;OAIG;IACH,kDAcC;IACD;;OAEG;IACH;;;;;;;MAqBC;CACJ;kCA1gBiC,4BAA4B;8BACf,wBAAwB;gCAAxB,wBAAwB;oBAdnD,IAAI;iBADP,MAAM"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-oHA3YhOd.d.ts","sourceRoot":"","sources":["../model-oHA3YhOd.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,6DAqBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.browser.d.ts","sourceRoot":"","sources":["../platform.browser.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.node.d.ts","sourceRoot":"","sources":["../platform.node.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
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-CrvIcVFJ.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-CrvIcVFJ.js";
|
|
37
|
+
//# sourceMappingURL=property-DQ-Owzki.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property-DQ-Owzki.d.ts","sourceRoot":"","sources":["../property-DQ-Owzki.js"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,+FA2OC;mDA/RkI,qBAAqB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A property's validation rules (enum, pattern, minLength, maxLength). The properties table has
|
|
3
|
+
* no column for them, so they come from the loaded schema or ModelProperty instance
|
|
4
|
+
* (getPropertySchema) or, when that isn't loaded yet, from the schema data stored with the
|
|
5
|
+
* model's schema row.
|
|
6
|
+
*/
|
|
7
|
+
export function resolvePropertyValidationRules(modelName: any, propertyName: any, scope?: {}): Promise<any>;
|
|
8
|
+
//# sourceMappingURL=propertyValidationRules-BDhFjlwP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertyValidationRules-BDhFjlwP.d.ts","sourceRoot":"","sources":["../propertyValidationRules-BDhFjlwP.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,4GAuCC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare function getSegmentedItemProperties(item: any): Promise<{
|
|
2
|
+
itemBasicProperties: any[];
|
|
3
|
+
itemRelationProperties: any[];
|
|
4
|
+
itemListProperties: any[];
|
|
5
|
+
itemUploadProperties: {
|
|
6
|
+
itemProperty: any;
|
|
7
|
+
childProperties: never[];
|
|
8
|
+
}[];
|
|
9
|
+
itemImageProperties: any[];
|
|
10
|
+
}>;
|
|
11
|
+
/** The seed was attested and that attestation was revoked (unpublished). */
|
|
12
|
+
declare function isUnpublishedSeed(row: any): boolean;
|
|
13
|
+
/** The seed is attested and its attestation is live. */
|
|
14
|
+
declare function isLivePublishedSeed(row: any): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The draft items a publish of an item carries along, and how it walks to them.
|
|
17
|
+
*
|
|
18
|
+
* A publish attests the item and every draft item (no seed uid yet) reachable from it through
|
|
19
|
+
* relation and list-of-relation properties, each with its full property set. Already-published
|
|
20
|
+
* targets are referenced by their current uid and not walked into; revoked ones stop the publish
|
|
21
|
+
* (RelatedItemUnpublishedError). getPublishPayload, getPublishUploads, getPublishUploadData (publish
|
|
22
|
+
* package), summarizePublishWork and the Html-embedded image co-publish all walk this graph in the
|
|
23
|
+
* same order: depth first, properties in item order (relations, then lists), list members in order.
|
|
24
|
+
*
|
|
25
|
+
* Cycles: an item can only attest the uid of a seed published before it in the same publish, so a
|
|
26
|
+
* ref back to an item still being walked (an ancestor that gets a new seed in this publish) can't be
|
|
27
|
+
* attested. Such a property is deferred: left out of this publish (it keeps no uid, so the next
|
|
28
|
+
* publish of its item attests it, with the target's uid). For A ↔ B reached from A, A attests B's
|
|
29
|
+
* uid and B's relation to A is deferred.
|
|
30
|
+
*/
|
|
31
|
+
/** Relation properties that point at model items (not Image/File/Html/Json storage seeds). */
|
|
32
|
+
declare function draftWalkProperties(segmented: any): {
|
|
33
|
+
relationProperties: any;
|
|
34
|
+
listProperties: any;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The local seed row a relation/list/image ref points at, by local id or uid. A uid that is no
|
|
38
|
+
* seed's current uid can be the old uid of a seed that was unpublished and published again (a new
|
|
39
|
+
* seed attestation, same local seed): its old version rows still record it, so it resolves to that
|
|
40
|
+
* seed. Null when nothing local matches (e.g. a published uid with no local copy).
|
|
41
|
+
*/
|
|
42
|
+
declare function findRelatedSeedRow({ seedLocalId, seedUid, }: {
|
|
43
|
+
seedLocalId: any;
|
|
44
|
+
seedUid: any;
|
|
45
|
+
}): Promise<any>;
|
|
46
|
+
declare function getPublishDraftGraph(root: any, options: any): Promise<{
|
|
47
|
+
drafts: any[];
|
|
48
|
+
deferredProperties: Set<any>;
|
|
49
|
+
backReferences: Map<any, any>;
|
|
50
|
+
}>;
|
|
51
|
+
/**
|
|
52
|
+
* Name of the item's Html property whose value is the Html seed `htmlSeedLocalId`: the property
|
|
53
|
+
* that refers to the images embedded in that Html (htmlEmbeddedImageCoPublish rows).
|
|
54
|
+
*/
|
|
55
|
+
declare function htmlPropertyNameForHtmlSeed(item: any, htmlSeedLocalId: any): any;
|
|
56
|
+
/**
|
|
57
|
+
* True when the item's seed attestation was revoked (`seeds.revoked_at` set, by unpublish or EAS
|
|
58
|
+
* sync). Such a seed can't take new versions: publishing again creates a new seed attestation
|
|
59
|
+
* (see "Republishing" in docs/ATTESTATION_REVOCATION.md).
|
|
60
|
+
*/
|
|
61
|
+
declare function isSeedRevoked(seedLocalId: any): Promise<boolean>;
|
|
62
|
+
declare var publishDraftGraph: Readonly<{
|
|
63
|
+
__proto__: null;
|
|
64
|
+
draftWalkProperties: typeof draftWalkProperties;
|
|
65
|
+
getPublishDraftGraph: typeof getPublishDraftGraph;
|
|
66
|
+
getsNewSeed: typeof getsNewSeed;
|
|
67
|
+
propertySeedRefs: typeof propertySeedRefs;
|
|
68
|
+
}>;
|
|
69
|
+
/** Model a relation/list/image property points at, from its definition. */
|
|
70
|
+
declare function relatedModelNameFromDef(propertyDef: any): any;
|
|
71
|
+
/** The item gets a new seed attestation in this publish: a draft, or a revoked seed published again. */
|
|
72
|
+
declare function getsNewSeed(item: any): Promise<boolean>;
|
|
73
|
+
/** Seed refs held by a relation property (one) or a list property (each member). */
|
|
74
|
+
declare function propertySeedRefs(prop: any, isList: any): any[];
|
|
75
|
+
export { 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 };
|
|
76
|
+
//# sourceMappingURL=publishDraftGraph-CzPd9oe9.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publishDraftGraph-CzPd9oe9.d.ts","sourceRoot":"","sources":["../publishDraftGraph-CzPd9oe9.js"],"names":[],"mappings":"AAqFA;;;;;;;;;GA4FC;AA+DD,4EAA4E;AAC5E,sDAAoH;AAHpH,wDAAwD;AACxD,wDAAuH;AAkCvH;;;;;;;;;;;;;;;GAeG;AACH,8FAA8F;AAC9F;;;EAMC;AA5FD;;;;;GAKG;AACH;;;iBA2BC;AA8GD;;;;GA6EC;AAxKD;;;GAGG;AACH,mFAWC;AA5FD;;;;GAIG;AACH,mEAYC;AAsOD;;;;;;GAMG;AA9LH,2EAA2E;AAC3E,gEAYC;AAuED,wGAAwG;AACxG,0DAEC;AA1BD,oFAAoF;AACpF,iEAoBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** appState key recording that the one-time check after migration 0015 has run. */
|
|
2
|
+
export const LEGACY_ITEM_MODEL_CHECK_KEY: "legacyItemModelCheck:v1";
|
|
3
|
+
/**
|
|
4
|
+
* One-time check after seeds.model_file_id was introduced (migration 0015). Seeds from before then
|
|
5
|
+
* that couldn't be backfilled have no model; if their model name now exists in more than one schema
|
|
6
|
+
* there is no way to tell which model they belong to. In that case the local item data (seeds,
|
|
7
|
+
* versions, metadata and the jobs that reference them) is cleared, keeping schemas and models;
|
|
8
|
+
* published items come back on the next EAS sync.
|
|
9
|
+
*
|
|
10
|
+
* Runs once (not on every start): EAS-synced seeds also lack model_file_id until
|
|
11
|
+
* resolveModelForSyncedSeed exists, and re-checking would clear the DB after every sync.
|
|
12
|
+
* TODO: replace the reset with a migration path once there is real user data at stake.
|
|
13
|
+
*
|
|
14
|
+
* @returns true if item data was cleared
|
|
15
|
+
*/
|
|
16
|
+
export function resetAmbiguousLegacyItemData(): Promise<boolean>;
|
|
17
|
+
//# sourceMappingURL=resetAmbiguousLegacyItemData-cXZm4NuG.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetAmbiguousLegacyItemData-cXZm4NuG.d.ts","sourceRoot":"","sources":["../resetAmbiguousLegacyItemData-cXZm4NuG.js"],"names":[],"mappings":"AAkBA,mFAAmF;AACnF,0CAAoC,yBAAyB,CAAC;AAC9D;;;;;;;;;;;;GAYG;AACH,iEA6DC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 plan is to match by
|
|
8
|
+
* the seed's properties and metadata (see docs/EAS_SYNCED_SEED_MODEL_RESOLUTION.md).
|
|
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-BgxtVCHI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveModelForSyncedSeed-BgxtVCHI.d.ts","sourceRoot":"","sources":["../resolveModelForSyncedSeed-BgxtVCHI.js"],"names":[],"mappings":"AAIA,4FAA4F;AAC5F,qCAA8B,iBAAiB,CAAC;AAChD;;;;;;;;;GASG;AACH,2EAEC;AACD;;;;GAIG;AACH,4FAkBC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* Earlier syncs SQL-escaped a seed's attestation JSON (`'` -> `''`) and then bound it as a
|
|
9
|
+
* parameter, so stored `seeds.attestation_raw` had every quote doubled. Doubled JSON still parses,
|
|
10
|
+
* so a legacy row is recognized by comparing with the attestation EAS returns now: it is legacy
|
|
11
|
+
* when it equals that attestation with quotes doubled, ignoring the revocation fields (EAS may have
|
|
12
|
+
* revoked it since). A row whose data legitimately contains `''` equals the fresh JSON itself and is
|
|
13
|
+
* left alone.
|
|
14
|
+
*/
|
|
15
|
+
export function isSqlEscapedAttestationRaw(stored: any, fresh: any): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Core sync logic: fetches item attestations from EAS for configured models and given addresses,
|
|
18
|
+
* then saves seeds, versions, and properties to the local DB.
|
|
19
|
+
* Uses owned + watched addresses from DB when addresses are not provided.
|
|
20
|
+
*/
|
|
21
|
+
export function runSyncFromEas(options: any): Promise<void>;
|
|
22
|
+
//# sourceMappingURL=syncDbWithEas-Y5GysSCm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syncDbWithEas-Y5GysSCm.d.ts","sourceRoot":"","sources":["../syncDbWithEas-Y5GysSCm.js"],"names":[],"mappings":"AAsbA;;;;GAIG;AACH,mCAA6B,EAAE,CAAC;AAtIhC;;;;;;;GAOG;AACH,6EAsBC;AAqmBD;;;;GAIG;AACH,4DAsFC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/** Emitted by the client manager after `app_state.addresses` is written (post-`setAddresses`). */
|
|
2
|
+
declare const ADDRESSES_PERSISTED_EVENT: "addresses.persisted";
|
|
3
|
+
/**
|
|
4
|
+
* Keeps other tabs current (docs/MULTI_TAB.md). The event bus is per tab, so events that mean "the
|
|
5
|
+
* shared database or OPFS changed" are also posted to the other tabs, which refresh their caches
|
|
6
|
+
* and emit the same event locally. Events are posted only where they originate, so a relayed event
|
|
7
|
+
* is never relayed again.
|
|
8
|
+
*/
|
|
9
|
+
/** Emitted with the changed paths when files change outside this tab's file-system cache. */
|
|
10
|
+
declare const FILES_CHANGED_EVENT: "fs.files.changed";
|
|
11
|
+
/** Emitted after hard-deleting local on-chain seed copies for publisher addresses. */
|
|
12
|
+
declare const LOCAL_COPIES_REMOVED_EVENT: "localCopies.removed";
|
|
13
|
+
declare class TabLockTimeoutError extends Error {
|
|
14
|
+
constructor(lockName: any, timeoutMs: any);
|
|
15
|
+
lockName: any;
|
|
16
|
+
code: string;
|
|
17
|
+
}
|
|
18
|
+
/** `withTabLock` named for this database (`seed:<scope>:<db>`); runs `fn` directly before init. */
|
|
19
|
+
declare function withDbTabLock(scope: any, fn: any, options: any): any;
|
|
20
|
+
/** `withTabLock` on the database under `filesDir`; runs `fn` directly when there's no `filesDir` yet. */
|
|
21
|
+
declare function withSeedDbLock(scope: any, filesDir: any, fn: any): any;
|
|
22
|
+
/** Sends to the other tabs of this database; a no-op when not coordinating. */
|
|
23
|
+
declare function postTabMessage(message: any): void;
|
|
24
|
+
/**
|
|
25
|
+
* A file saved through this tab's file system: emits `file-saved` here. Other tabs hear about it
|
|
26
|
+
* from the file system itself (see queueFilesChangedNotice), once the write has reached OPFS.
|
|
27
|
+
*/
|
|
28
|
+
declare function notifyFileSaved(filePath: any): void;
|
|
29
|
+
/** Emits on this tab's event bus and in every other tab of this database. */
|
|
30
|
+
declare function emitAcrossTabs(name: any, payload: any): void;
|
|
31
|
+
declare function withTabLock(name: any, fn: any, { timeoutMs }?: {
|
|
32
|
+
timeoutMs?: number | undefined;
|
|
33
|
+
}): Promise<any>;
|
|
34
|
+
declare function isLeaderTab(): boolean;
|
|
35
|
+
/** Applies other tabs' events and file changes in this tab. */
|
|
36
|
+
declare function listenForOtherTabsEvents(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Files written straight to OPFS by a worker: refreshes this tab's file-system cache, emits
|
|
39
|
+
* FILES_CHANGED_EVENT, and tells other tabs to do the same.
|
|
40
|
+
*/
|
|
41
|
+
declare function notifyFilesWrittenOutsideCache(paths: any): Promise<void>;
|
|
42
|
+
declare function onTabMessage(handler: any): () => boolean;
|
|
43
|
+
declare function parseAddressesPersistedPayload(value: any): {
|
|
44
|
+
owned: any;
|
|
45
|
+
watched: any;
|
|
46
|
+
};
|
|
47
|
+
/** Starts once per page; later calls (re-init) keep the first database. */
|
|
48
|
+
declare function startTabCoordination({ filesDir, mode }: {
|
|
49
|
+
filesDir: any;
|
|
50
|
+
mode?: string | undefined;
|
|
51
|
+
}): void;
|
|
52
|
+
declare var tabEvents: Readonly<{
|
|
53
|
+
__proto__: null;
|
|
54
|
+
FILES_CHANGED_EVENT: "fs.files.changed";
|
|
55
|
+
FILES_CHANGED_FLUSH_MS: 25;
|
|
56
|
+
FILES_CHANGED_MAX_PATHS: 500;
|
|
57
|
+
emitAcrossTabs: typeof emitAcrossTabs;
|
|
58
|
+
flushFilesChangedNotices: typeof flushFilesChangedNotices;
|
|
59
|
+
listenForOtherTabsEvents: typeof listenForOtherTabsEvents;
|
|
60
|
+
notifyFileSaved: typeof notifyFileSaved;
|
|
61
|
+
notifyFilesWrittenOutsideCache: typeof notifyFilesWrittenOutsideCache;
|
|
62
|
+
queueFilesChangedNotice: typeof queueFilesChangedNotice;
|
|
63
|
+
}>;
|
|
64
|
+
/** Resolves when this tab leads (at once if it already does). */
|
|
65
|
+
declare function whenLeaderTab(): Promise<any>;
|
|
66
|
+
/** Sends the queued paths now (page hide, tests). */
|
|
67
|
+
declare function flushFilesChangedNotices(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Tells other tabs that these absolute ZenFS paths changed in OPFS, so they drop and re-read their
|
|
70
|
+
* cached copies (the sync API's in-memory copy in particular). The browser file system calls this
|
|
71
|
+
* for every file it writes, truncates or removes (`TolerantWebAccessFS.onOpfsChange`, wired in
|
|
72
|
+
* `BrowserFileManager.initializeFileSystem`), after the change reached OPFS. Paths are coalesced
|
|
73
|
+
* for FILES_CHANGED_FLUSH_MS, so bulk writes (migrations, schema processing, downloads) send a few
|
|
74
|
+
* messages rather than one per write.
|
|
75
|
+
*
|
|
76
|
+
* Defense in depth only: a tab that misses a message still sees the change on its next async
|
|
77
|
+
* stat() (see TolerantWebAccessFS.stat). A no-op unless this tab coordinates with others.
|
|
78
|
+
*/
|
|
79
|
+
declare function queueFilesChangedNotice(paths: any): void;
|
|
80
|
+
export { ADDRESSES_PERSISTED_EVENT as A, FILES_CHANGED_EVENT as F, LOCAL_COPIES_REMOVED_EVENT as L, TabLockTimeoutError as T, withDbTabLock as a, withSeedDbLock as b, postTabMessage as c, notifyFileSaved as d, emitAcrossTabs as e, withTabLock as f, isLeaderTab as i, listenForOtherTabsEvents as l, notifyFilesWrittenOutsideCache as n, onTabMessage as o, parseAddressesPersistedPayload as p, startTabCoordination as s, tabEvents as t, whenLeaderTab as w };
|
|
81
|
+
//# sourceMappingURL=tabEvents-D9x26vf2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabEvents-D9x26vf2.d.ts","sourceRoot":"","sources":["../tabEvents-D9x26vf2.js"],"names":[],"mappings":"AAGA,kGAAkG;AAClG,yCAAkC,qBAAqB,CAAC;AAuLxD;;;;;GAKG;AACH,6FAA6F;AAC7F,mCAA4B,kBAAkB,CAAC;AA7L/C,sFAAsF;AACtF,0CAAmC,qBAAqB,CAAC;AAmCzD;IACI,2CAKC;IAHG,cAAwB;IACxB,aAA8B;CAGrC;AAqID,mGAAmG;AACnG,uEAEC;AAnJD,yGAAyG;AACzG,yEAEC;AAiID,+EAA+E;AAC/E,oDAEC;AAiCD;;;GAGG;AACH,sDAEC;AAhBD,6EAA6E;AAC7E,+DAQC;AA3JD;;iBAgBC;AA+FD,wCAEC;AAmID,+DAA+D;AAC/D,kDAwBC;AA1GD;;;GAGG;AACH,2EAMC;AA7CD,2DAGC;AA7KD;;;EAYC;AAiGD,2EAA2E;AAC3E;;;SAgCC;AA2KD;;;;;;;;;;;GAWG;AAxKH,iEAAiE;AACjE,+CAIC;AA0FD,qDAAqD;AACrD,kDAWC;AArCD;;;;;;;;;;GAUG;AACH,2DAaC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
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-BFU2t-SC.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tolerantWebAccess-BFU2t-SC.d.ts","sourceRoot":"","sources":["../tolerantWebAccess-BFU2t-SC.js"],"names":[],"mappings":"AAyhBA,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;4BA1dsC,YAAY;sBAFb,aAAa"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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-CCF8WWYS.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateSeedRevokedAt-CCF8WWYS.d.ts","sourceRoot":"","sources":["../updateSeedRevokedAt-CCF8WWYS.js"],"names":[],"mappings":";AAIA;;GAEG;AACH;;;;;kBAqBC"}
|
package/dist/drizzle.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drizzle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getItemVersionsFromEas, BaseQueryClient, BaseEasClient, easNamesToFetch, GET_SCHEMAS } from '@seedprotocol/eas';
|
|
2
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 { J as nameMatchLevels } from './
|
|
3
|
+
import { J as nameMatchLevels } from './index-CrvIcVFJ.js';
|
|
4
4
|
import 'debug';
|
|
5
5
|
import '@seedprotocol/arweave';
|
|
6
6
|
import 'xstate';
|
|
@@ -20,7 +20,7 @@ import 'lodash-es';
|
|
|
20
20
|
const getModelSchemasFromEas = async () => {
|
|
21
21
|
const queryClient = BaseQueryClient.getQueryClient();
|
|
22
22
|
const easClient = BaseEasClient.getEasClient();
|
|
23
|
-
const _mod_0 = await import('./errors-
|
|
23
|
+
const _mod_0 = await import('./errors-3tc6XkCB.js');
|
|
24
24
|
const _ns_0 = _mod_0.h;
|
|
25
25
|
const modelMod = _ns_0;
|
|
26
26
|
const { Model } = modelMod;
|
|
@@ -65,4 +65,4 @@ const getModelSchemasFromEas = async () => {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export { getModelSchemasFromEas };
|
|
68
|
-
//# sourceMappingURL=eas-
|
|
68
|
+
//# sourceMappingURL=eas-CSm5wmry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eas-
|
|
1
|
+
{"version":3,"file":"eas-CSm5wmry.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 { withExcludeRevokedFilter } from '@seedprotocol/eas'\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":";;;;;;;;;;;;;;;;;;AAgCA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAsB,GAA2B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,C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