@seedprotocol/sdk 0.7.8-next.1071.g2a141c1 → 0.7.8
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-Bv15o3Oz.js → ClientManager-B1r_8P5Z.js} +37 -40
- package/dist/ClientManager-B1r_8P5Z.js.map +1 -0
- package/dist/{Item-tX3kpbj4.js → Item-CjTEShfk.js} +384 -399
- package/dist/Item-CjTEShfk.js.map +1 -0
- package/dist/{ModelProperty-N-3gBfu5.js → ModelProperty-C3749Wjq.js} +36 -36
- package/dist/{ModelProperty-N-3gBfu5.js.map → ModelProperty-C3749Wjq.js.map} +1 -1
- package/dist/{Schema-CY3OxwKS.js → Schema-CX9CTtho.js} +35 -35
- package/dist/{Schema-CY3OxwKS.js.map → Schema-CX9CTtho.js.map} +1 -1
- package/dist/{SchemaValidationService-BR2ABK2r.js → SchemaValidationService-T5mqnY8q.js} +6 -6
- package/dist/{SchemaValidationService-BR2ABK2r.js.map → SchemaValidationService-T5mqnY8q.js.map} +1 -1
- package/dist/{backfillMetadataPropertyIds-vc_1RoDT.js → backfillMetadataPropertyIds-DWWkh-Ex.js} +3 -3
- package/dist/{backfillMetadataPropertyIds-vc_1RoDT.js.map → backfillMetadataPropertyIds-DWWkh-Ex.js.map} +1 -1
- package/dist/{tabEvents-BuorBItJ.js → changeFeed-DcsZ7deG.js} +369 -10
- package/dist/changeFeed-DcsZ7deG.js.map +1 -0
- package/dist/{configurePlatform-D-Pj9gTx.js → configurePlatform-AWild9o4.js} +2 -2
- package/dist/{configurePlatform-D-Pj9gTx.js.map → configurePlatform-AWild9o4.js.map} +1 -1
- package/dist/db/drizzle/0022_add_read_indexes.sql +5 -0
- package/dist/db/drizzle/0023_add_entity_changes.sql +48 -0
- package/dist/db/drizzle/meta/0022_snapshot.json +1585 -0
- package/dist/db/drizzle/meta/0023_snapshot.json +1645 -0
- package/dist/db/drizzle/meta/_journal.json +14 -0
- package/dist/{detachRowsBeforeDelete-sK1ye2W6.js → detachRowsBeforeDelete-Bo_pky-R.js} +2 -2
- package/dist/{detachRowsBeforeDelete-sK1ye2W6.js.map → detachRowsBeforeDelete-Bo_pky-R.js.map} +1 -1
- package/dist/dist/{ClientManager-Bv15o3Oz.d.ts → ClientManager-B1r_8P5Z.d.ts} +1 -1
- package/dist/dist/ClientManager-B1r_8P5Z.d.ts.map +1 -0
- package/dist/dist/{Item-tX3kpbj4.d.ts → Item-CjTEShfk.d.ts} +3 -2
- package/dist/dist/Item-CjTEShfk.d.ts.map +1 -0
- package/dist/dist/{ModelProperty-N-3gBfu5.d.ts → ModelProperty-C3749Wjq.d.ts} +1 -1
- package/dist/dist/{ModelProperty-N-3gBfu5.d.ts.map → ModelProperty-C3749Wjq.d.ts.map} +1 -1
- package/dist/dist/{Schema-CY3OxwKS.d.ts → Schema-CX9CTtho.d.ts} +2 -2
- package/dist/dist/{Schema-CY3OxwKS.d.ts.map → Schema-CX9CTtho.d.ts.map} +1 -1
- package/dist/dist/{SchemaValidationService-BR2ABK2r.d.ts → SchemaValidationService-T5mqnY8q.d.ts} +1 -1
- package/dist/dist/{SchemaValidationService-BR2ABK2r.d.ts.map → SchemaValidationService-T5mqnY8q.d.ts.map} +1 -1
- package/dist/dist/{backfillMetadataPropertyIds-vc_1RoDT.d.ts → backfillMetadataPropertyIds-DWWkh-Ex.d.ts} +1 -1
- package/dist/dist/backfillMetadataPropertyIds-DWWkh-Ex.d.ts.map +1 -0
- package/dist/dist/{tabEvents-BuorBItJ.d.ts → changeFeed-DcsZ7deG.d.ts} +101 -36
- package/dist/dist/changeFeed-DcsZ7deG.d.ts.map +1 -0
- package/dist/dist/{configurePlatform-D-Pj9gTx.d.ts → configurePlatform-AWild9o4.d.ts} +1 -1
- package/dist/dist/configurePlatform-AWild9o4.d.ts.map +1 -0
- package/dist/dist/{detachRowsBeforeDelete-sK1ye2W6.d.ts → detachRowsBeforeDelete-Bo_pky-R.d.ts} +1 -1
- package/dist/dist/detachRowsBeforeDelete-Bo_pky-R.d.ts.map +1 -0
- package/dist/dist/{eas-BSQxj7gN.d.ts → eas--9vtNkma.d.ts} +1 -1
- package/dist/dist/eas--9vtNkma.d.ts.map +1 -0
- package/dist/dist/{errors-a4Tj6hly.d.ts → errors-rIWK7gwJ.d.ts} +1 -1
- package/dist/dist/{errors-a4Tj6hly.d.ts.map → errors-rIWK7gwJ.d.ts.map} +1 -1
- package/dist/dist/{getItem-Ctps9gSs.d.ts → getItem-5j22EWWE.d.ts} +1 -1
- package/dist/dist/getItem-5j22EWWE.d.ts.map +1 -0
- package/dist/dist/{getPublishPayload-C2g5pPD2.d.ts → getPublishPayload-BGl2SaGK.d.ts} +1 -1
- package/dist/dist/{getPublishPayload-C2g5pPD2.d.ts.map → getPublishPayload-BGl2SaGK.d.ts.map} +1 -1
- package/dist/dist/{getPublishUploads-CaJHy3SL.d.ts → getPublishUploads-DVsDx6Xf.d.ts} +1 -1
- package/dist/dist/{getPublishUploads-CaJHy3SL.d.ts.map → getPublishUploads-DVsDx6Xf.d.ts.map} +1 -1
- package/dist/dist/{index-s73wD_LC.d.ts → index-C0SetTd1.d.ts} +1190 -1065
- package/dist/dist/index-C0SetTd1.d.ts.map +1 -0
- package/dist/dist/{index-BgEwcREa.d.ts → index-CJK3F_MK.d.ts} +13 -13
- package/dist/dist/index-CJK3F_MK.d.ts.map +1 -0
- package/dist/dist/{index-B6hPWSM4.d.ts → index-CZQrNqvq.d.ts} +130 -13
- package/dist/dist/{index-B6hPWSM4.d.ts.map → index-CZQrNqvq.d.ts.map} +1 -1
- package/dist/dist/{index-bOwhhJJL.d.ts → index-Dp4uyZYx.d.ts} +5 -5
- package/dist/dist/index-Dp4uyZYx.d.ts.map +1 -0
- package/dist/dist/{index.browser-C7iZp7mx.d.ts → index.browser-Ll71Y_Dl.d.ts} +391 -39
- package/dist/dist/{index.browser-C7iZp7mx.d.ts.map → index.browser-Ll71Y_Dl.d.ts.map} +1 -1
- package/dist/dist/{index.node-MPVTJR2J.d.ts → index.node-CgltN0cC.d.ts} +517 -49
- package/dist/dist/{index.node-MPVTJR2J.d.ts.map → index.node-CgltN0cC.d.ts.map} +1 -1
- package/dist/dist/modelPropertyRecordSchemas-C_lYTzMr.d.ts +7 -0
- package/dist/dist/modelPropertyRecordSchemas-C_lYTzMr.d.ts.map +1 -0
- package/dist/dist/platform.browser.d.ts +2 -2
- package/dist/dist/platform.node.d.ts +2 -2
- package/dist/dist/{property-mP9mOZ2L.d.ts → property-pcDxNEpy.d.ts} +3 -3
- package/dist/dist/property-pcDxNEpy.d.ts.map +1 -0
- package/dist/dist/{propertyValidationRules-DwzrYA7c.d.ts → propertyValidationRules-BEjN0f3-.d.ts} +6 -1
- package/dist/dist/propertyValidationRules-BEjN0f3-.d.ts.map +1 -0
- package/dist/dist/{publishDraftGraph-BzYVblZZ.d.ts → publishDraftGraph-I5yKe1Xz.d.ts} +1 -1
- package/dist/dist/{publishDraftGraph-BzYVblZZ.d.ts.map → publishDraftGraph-I5yKe1Xz.d.ts.map} +1 -1
- package/dist/dist/{resetAmbiguousLegacyItemData-B_IUQA09.d.ts → resetAmbiguousLegacyItemData-0Tin9-JK.d.ts} +1 -1
- package/dist/dist/resetAmbiguousLegacyItemData-0Tin9-JK.d.ts.map +1 -0
- package/dist/dist/{resolveModelForSyncedSeed-H-4tmU6l.d.ts → resolveModelForSyncedSeed-C5KXn6ex.d.ts} +1 -1
- package/dist/dist/resolveModelForSyncedSeed-C5KXn6ex.d.ts.map +1 -0
- package/dist/dist/{syncDbWithEas-y5VF623G.d.ts → syncDbWithEas-b4fESZ7C.d.ts} +1 -1
- package/dist/dist/syncDbWithEas-b4fESZ7C.d.ts.map +1 -0
- package/dist/dist/{tolerantWebAccess-DoI7QYT-.d.ts → tolerantWebAccess-CIpS7RLk.d.ts} +1 -1
- package/dist/dist/{tolerantWebAccess-DoI7QYT-.d.ts.map → tolerantWebAccess-CIpS7RLk.d.ts.map} +1 -1
- package/dist/dist/{updateSeedRevokedAt-BIzkbsUd.d.ts → updateSeedRevokedAt-CR4zwn-6.d.ts} +1 -1
- package/dist/dist/updateSeedRevokedAt-CR4zwn-6.d.ts.map +1 -0
- package/dist/{eas-BSQxj7gN.js → eas--9vtNkma.js} +3 -3
- package/dist/{eas-BSQxj7gN.js.map → eas--9vtNkma.js.map} +1 -1
- package/dist/{errors-a4Tj6hly.js → errors-rIWK7gwJ.js} +35 -35
- package/dist/{errors-a4Tj6hly.js.map → errors-rIWK7gwJ.js.map} +1 -1
- package/dist/{getItem-Ctps9gSs.js → getItem-5j22EWWE.js} +5 -5
- package/dist/{getItem-Ctps9gSs.js.map → getItem-5j22EWWE.js.map} +1 -1
- package/dist/{getPublishPayload-C2g5pPD2.js → getPublishPayload-BGl2SaGK.js} +14 -14
- package/dist/{getPublishPayload-C2g5pPD2.js.map → getPublishPayload-BGl2SaGK.js.map} +1 -1
- package/dist/{getPublishUploads-CaJHy3SL.js → getPublishUploads-DVsDx6Xf.js} +7 -7
- package/dist/{getPublishUploads-CaJHy3SL.js.map → getPublishUploads-DVsDx6Xf.js.map} +1 -1
- package/dist/{index-s73wD_LC.js → index-C0SetTd1.js} +52 -13
- package/dist/index-C0SetTd1.js.map +1 -0
- package/dist/{index-BgEwcREa.js → index-CJK3F_MK.js} +8 -8
- package/dist/index-CJK3F_MK.js.map +1 -0
- package/dist/{index-B6hPWSM4.js → index-CZQrNqvq.js} +3 -2
- package/dist/index-CZQrNqvq.js.map +1 -0
- package/dist/{index-bOwhhJJL.js → index-Dp4uyZYx.js} +8 -8
- package/dist/index-Dp4uyZYx.js.map +1 -0
- package/dist/{index.browser-C7iZp7mx.js → index.browser-Ll71Y_Dl.js} +243 -18
- package/dist/index.browser-Ll71Y_Dl.js.map +1 -0
- package/dist/{index.node-MPVTJR2J.js → index.node-CgltN0cC.js} +50 -15
- package/dist/index.node-CgltN0cC.js.map +1 -0
- package/dist/main.js +23 -30
- package/dist/main.js.map +1 -1
- package/dist/modelPropertyRecordSchemas-C_lYTzMr.js +94 -0
- package/dist/modelPropertyRecordSchemas-C_lYTzMr.js.map +1 -0
- package/dist/node.js +11 -11
- package/dist/platform.browser.js +5 -5
- package/dist/platform.node.js +4 -4
- package/dist/{property-mP9mOZ2L.js → property-pcDxNEpy.js} +7 -7
- package/dist/{property-mP9mOZ2L.js.map → property-pcDxNEpy.js.map} +1 -1
- package/dist/propertyValidationRules-BEjN0f3-.js +73 -0
- package/dist/propertyValidationRules-BEjN0f3-.js.map +1 -0
- package/dist/{publishDraftGraph-BzYVblZZ.js → publishDraftGraph-I5yKe1Xz.js} +6 -6
- package/dist/{publishDraftGraph-BzYVblZZ.js.map → publishDraftGraph-I5yKe1Xz.js.map} +1 -1
- package/dist/{resetAmbiguousLegacyItemData-B_IUQA09.js → resetAmbiguousLegacyItemData-0Tin9-JK.js} +2 -2
- package/dist/{resetAmbiguousLegacyItemData-B_IUQA09.js.map → resetAmbiguousLegacyItemData-0Tin9-JK.js.map} +1 -1
- package/dist/{resolveModelForSyncedSeed-H-4tmU6l.js → resolveModelForSyncedSeed-C5KXn6ex.js} +2 -2
- package/dist/{resolveModelForSyncedSeed-H-4tmU6l.js.map → resolveModelForSyncedSeed-C5KXn6ex.js.map} +1 -1
- package/dist/seedSchema/EntityChangeSchema.ts +28 -0
- package/dist/seedSchema/MetadataSchema.ts +12 -4
- package/dist/seedSchema/SeedSchema.ts +9 -3
- package/dist/seedSchema/VersionSchema.ts +9 -4
- package/dist/seedSchema/index.ts +1 -0
- package/dist/src/Item/Item.d.ts +2 -1
- package/dist/src/Item/Item.d.ts.map +1 -1
- package/dist/src/Item/service/actors/loadOrCreateItem.d.ts.map +1 -1
- package/dist/src/ItemProperty/ItemProperty.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/loadOrCreateProperty.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/modelPropertyRecordSchemas.d.ts +21 -0
- package/dist/src/ItemProperty/service/actors/modelPropertyRecordSchemas.d.ts.map +1 -0
- package/dist/src/browser/db/Db.d.ts +2 -2
- package/dist/src/browser/db/Db.d.ts.map +1 -1
- package/dist/src/browser/db/changeFeed.d.ts +77 -0
- package/dist/src/browser/db/changeFeed.d.ts.map +1 -0
- package/dist/src/browser/db/drizzleFiles.d.ts +4 -2
- package/dist/src/browser/db/drizzleFiles.d.ts.map +1 -1
- package/dist/src/db/write/applyArweaveL1TransactionIdLocal.d.ts.map +1 -1
- package/dist/src/db/write/claimUnpublishedDrafts.d.ts.map +1 -1
- package/dist/src/db/write/createMetadata.d.ts.map +1 -1
- package/dist/src/db/write/createSeed.d.ts.map +1 -1
- package/dist/src/db/write/createVersion.d.ts.map +1 -1
- package/dist/src/db/write/restoreDataItemIdsOverwrittenByL1.d.ts.map +1 -1
- package/dist/src/db/write/saveMetadata.d.ts.map +1 -1
- package/dist/src/db/write/updateItemPropertyValue.d.ts.map +1 -1
- package/dist/src/db/write/updateSeedRevokedAt.d.ts.map +1 -1
- package/dist/src/db/write/updateSeedUid.d.ts.map +1 -1
- package/dist/src/db/write/updateVersionUid.d.ts.map +1 -1
- package/dist/src/events/item/syncDbWithEas.d.ts.map +1 -1
- package/dist/src/helpers/propertyValidationRules.d.ts +8 -0
- package/dist/src/helpers/propertyValidationRules.d.ts.map +1 -1
- package/dist/src/helpers/timing.d.ts +36 -0
- package/dist/src/helpers/timing.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/node/db/singleConnectionTransactions.d.ts +6 -0
- package/dist/src/node/db/singleConnectionTransactions.d.ts.map +1 -1
- package/dist/src/outbox/itemAppliers.d.ts.map +1 -1
- package/dist/src/outbox/outbox.d.ts +2 -0
- package/dist/src/outbox/outbox.d.ts.map +1 -1
- package/dist/src/outbox/pendingValues.d.ts.map +1 -1
- package/dist/src/seedSchema/EntityChangeSchema.d.ts +126 -0
- package/dist/src/seedSchema/EntityChangeSchema.d.ts.map +1 -0
- package/dist/src/seedSchema/MetadataSchema.d.ts +4 -4
- package/dist/src/seedSchema/MetadataSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/SeedSchema.d.ts +4 -4
- package/dist/src/seedSchema/SeedSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/VersionSchema.d.ts +4 -4
- package/dist/src/seedSchema/VersionSchema.d.ts.map +1 -1
- package/dist/src/seedSchema/index.d.ts +1 -0
- package/dist/src/seedSchema/index.d.ts.map +1 -1
- package/dist/{syncDbWithEas-y5VF623G.js → syncDbWithEas-b4fESZ7C.js} +17 -23
- package/dist/syncDbWithEas-b4fESZ7C.js.map +1 -0
- package/dist/{tolerantWebAccess-DoI7QYT-.js → tolerantWebAccess-CIpS7RLk.js} +6 -6
- package/dist/{tolerantWebAccess-DoI7QYT-.js.map → tolerantWebAccess-CIpS7RLk.js.map} +1 -1
- package/dist/{updateSeedRevokedAt-BIzkbsUd.js → updateSeedRevokedAt-CR4zwn-6.js} +5 -6
- package/dist/updateSeedRevokedAt-CR4zwn-6.js.map +1 -0
- package/package.json +6 -6
- package/dist/ClientManager-Bv15o3Oz.js.map +0 -1
- package/dist/Item-tX3kpbj4.js.map +0 -1
- package/dist/dist/ClientManager-Bv15o3Oz.d.ts.map +0 -1
- package/dist/dist/Item-tX3kpbj4.d.ts.map +0 -1
- package/dist/dist/backfillMetadataPropertyIds-vc_1RoDT.d.ts.map +0 -1
- package/dist/dist/configurePlatform-D-Pj9gTx.d.ts.map +0 -1
- package/dist/dist/detachRowsBeforeDelete-sK1ye2W6.d.ts.map +0 -1
- package/dist/dist/eas-BSQxj7gN.d.ts.map +0 -1
- package/dist/dist/getItem-Ctps9gSs.d.ts.map +0 -1
- package/dist/dist/index-BgEwcREa.d.ts.map +0 -1
- package/dist/dist/index-bOwhhJJL.d.ts.map +0 -1
- package/dist/dist/index-s73wD_LC.d.ts.map +0 -1
- package/dist/dist/property-mP9mOZ2L.d.ts.map +0 -1
- package/dist/dist/propertyValidationRules-DwzrYA7c.d.ts.map +0 -1
- package/dist/dist/resetAmbiguousLegacyItemData-B_IUQA09.d.ts.map +0 -1
- package/dist/dist/resolveModelForSyncedSeed-H-4tmU6l.d.ts.map +0 -1
- package/dist/dist/syncDbWithEas-y5VF623G.d.ts.map +0 -1
- package/dist/dist/tabEvents-BuorBItJ.d.ts.map +0 -1
- package/dist/dist/updateSeedRevokedAt-BIzkbsUd.d.ts.map +0 -1
- package/dist/index-B6hPWSM4.js.map +0 -1
- package/dist/index-BgEwcREa.js.map +0 -1
- package/dist/index-bOwhhJJL.js.map +0 -1
- package/dist/index-s73wD_LC.js.map +0 -1
- package/dist/index.browser-C7iZp7mx.js.map +0 -1
- package/dist/index.node-MPVTJR2J.js.map +0 -1
- package/dist/propertyValidationRules-DwzrYA7c.js +0 -51
- package/dist/propertyValidationRules-DwzrYA7c.js.map +0 -1
- package/dist/syncDbWithEas-y5VF623G.js.map +0 -1
- package/dist/tabEvents-BuorBItJ.js.map +0 -1
- package/dist/updateSeedRevokedAt-BIzkbsUd.js.map +0 -1
|
@@ -155,6 +155,20 @@
|
|
|
155
155
|
"when": 1792414753260,
|
|
156
156
|
"tag": "0021_add_pending_write_error_name",
|
|
157
157
|
"breakpoints": true
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"idx": 22,
|
|
161
|
+
"version": "6",
|
|
162
|
+
"when": 1792453791787,
|
|
163
|
+
"tag": "0022_add_read_indexes",
|
|
164
|
+
"breakpoints": true
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"idx": 23,
|
|
168
|
+
"version": "6",
|
|
169
|
+
"when": 1792455641631,
|
|
170
|
+
"tag": "0023_add_entity_changes",
|
|
171
|
+
"breakpoints": true
|
|
158
172
|
}
|
|
159
173
|
]
|
|
160
174
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inArray } from 'drizzle-orm';
|
|
2
|
-
import {
|
|
2
|
+
import { w as properties, s as modelUids, m as metadata, z as propertyUids } from './index-C0SetTd1.js';
|
|
3
3
|
import 'debug';
|
|
4
4
|
import '@seedprotocol/arweave';
|
|
5
5
|
import '@seedprotocol/eas';
|
|
@@ -46,4 +46,4 @@ async function detachModelRows(db, modelIds) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export { detachModelRows, detachPropertyRows };
|
|
49
|
-
//# sourceMappingURL=detachRowsBeforeDelete-
|
|
49
|
+
//# sourceMappingURL=detachRowsBeforeDelete-Bo_pky-R.js.map
|
package/dist/{detachRowsBeforeDelete-sK1ye2W6.js.map → detachRowsBeforeDelete-Bo_pky-R.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detachRowsBeforeDelete-
|
|
1
|
+
{"version":3,"file":"detachRowsBeforeDelete-Bo_pky-R.js","sources":["../../src/helpers/entity/detachRowsBeforeDelete.ts"],"sourcesContent":["import { inArray } from 'drizzle-orm'\nimport type { BaseDb } from '@/db/Db/BaseDb'\nimport { metadata, modelUids, properties, propertyUids } from '@/seedSchema'\n\ntype AppDb = NonNullable<ReturnType<typeof BaseDb.getAppDb>>\n\n/**\n * Before deleting property rows: unlink stored item values (metadata.property_id → NULL; the\n * values stay, keyed by property name) and drop the properties' EAS uid mappings. Without this,\n * Node (libsql enforces foreign keys) fails the delete as soon as an item has a value, and the\n * browser leaves rows pointing at deleted ids.\n */\nexport async function detachPropertyRows(db: AppDb, propertyIds: readonly number[]): Promise<void> {\n if (propertyIds.length === 0) return\n const ids = [...propertyIds]\n await db.update(metadata).set({ propertyId: null }).where(inArray(metadata.propertyId, ids))\n await db.delete(propertyUids).where(inArray(propertyUids.propertyId, ids))\n}\n\n/**\n * Before deleting model rows: detach their properties' rows (as above), drop the models' EAS\n * uid mappings, and clear relation properties elsewhere that point at them (ref_model_id).\n */\nexport async function detachModelRows(db: AppDb, modelIds: readonly number[]): Promise<void> {\n if (modelIds.length === 0) return\n const ids = [...modelIds]\n const propertyRows = await db\n .select({ id: properties.id })\n .from(properties)\n .where(inArray(properties.modelId, ids))\n await detachPropertyRows(\n db,\n propertyRows.map((row: { id: number | null }) => row.id).filter((id: number | null): id is number => id != null),\n )\n await db.delete(modelUids).where(inArray(modelUids.modelId, ids))\n await db.update(properties).set({ refModelId: null }).where(inArray(properties.refModelId, ids))\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAMA;;;;;AAKG;AACI,eAAe,kBAAkB,CAAC,EAAS,EAAE,WAA8B,EAAA;AAChF,IAAA,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,GAAG,WAAW,CAAC;IAC5B,MAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AAC5F,IAAA,MAAM,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AAC5E;AAEA;;;AAGG;AACI,eAAe,eAAe,CAAC,EAAS,EAAE,QAA2B,EAAA;AAC1E,IAAA,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE;AAC3B,IAAA,MAAM,GAAG,GAAG,CAAC,GAAG,QAAQ,CAAC;IACzB,MAAM,YAAY,GAAG,MAAM;SACxB,MAAM,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,EAAE,EAAE;SAC5B,IAAI,CAAC,UAAU;SACf,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;AAC1C,IAAA,MAAM,kBAAkB,CACtB,EAAE,EACF,YAAY,CAAC,GAAG,CAAC,CAAC,GAA0B,KAAK,GAAG,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAiB,KAAmB,EAAE,IAAI,IAAI,CAAC,CACjH;AACD,IAAA,MAAM,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IACjE,MAAM,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AAClG;;"}
|
|
@@ -1032,4 +1032,4 @@ declare function keepLocalDraftsOverSyncedRows(synced: any): Promise<void>;
|
|
|
1032
1032
|
*/
|
|
1033
1033
|
declare function recordPropertyEdit(op: any, conflict: any, db: any): Promise<void>;
|
|
1034
1034
|
export { ClientManager$1 as $, getPublishedSeedRecord as A, getSchemaNameFromId as B, ClientManager as C, isSeedQueryLocalSourceRegistered as D, EAS_CHAIN_ID_APP_STATE_KEY as E, listCompleteSchemaFiles as F, loadAllSchemasFromDb as G, mergeEasSyncRequestIntents as H, INIT_CONFIG_CONFLICT_MESSAGE as I, readSchema as J, registerSeedQueryLocalSource as K, requestEasSyncFromAddressChange as L, requestEasSyncFromEventBus as M, requestEasSyncFromModelsInit as N, sendEasSyncClientRequest as O, setRetriesWhenOnlineEnabled as P, startEasSyncActor as Q, RelationTargetError as R, unregisterSeedQueryLocalSource as S, createRowsWrittenSignal as T, createModelsFromJson as U, getLatestSchemaVersion as V, jsonPropertiesToSchemaProperties as W, schema as X, SEEDPROTOCOL_Seed_Protocol_v1 as Y, conflicts as Z, itemAppliers as _, applyCreateItem as a, applyDelete as b, applyItemStorageValue as c, deleteFiles as d, applyStorageValue as e, getPropertyConflict as f, getItemConflicts as g, getRefValueType as h, importJsonSchema as i, syncSchemaFromSource as j, transformImportToSchemaFile as k, loadSchemaFromFile as l, markPropertyConflictsResolved as m, getContentHash as n, isVerbatimItemStorageDraftRow as o, convertVerbatimItemStorageRow as p, assertLocalDbChain as q, readJsonImportFile as r, startItemOutbox as s, throwItemWriteError as t, claimUnpublishedDrafts as u, createLocalQueryDataSource as v, waitForEasReadChain as w, createSchema as x, easSyncActor as y, getClient as z };
|
|
1035
|
-
//# sourceMappingURL=ClientManager-
|
|
1035
|
+
//# sourceMappingURL=ClientManager-B1r_8P5Z.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientManager-B1r_8P5Z.d.ts","sourceRoot":"","sources":["../ClientManager-B1r_8P5Z.js"],"names":[],"mappings":"AAo4MA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAhKI;;;;WAIG;;QAOH;;;;WAIG;;;;;;;;;QA+CH;;;;WAIG;;QAQH;;;WAGG;;;;;QAqBH;;;WAGG;;;QA0BH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAlIH;;;;WAIG;;QAOH;;;;WAIG;;;;;;;;;QA+CH;;;;WAIG;;QAQH;;;WAGG;;;;;QAqBH;;;WAGG;;;QA0BH;;;WAGG;;;;;GAqCJ;AApfH;;;;;;GAMG;AACH,iIAMC;AA/kID;;;;GAIG;AACH,mEAOC;;IA23IkB,8BAGd;IACW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAGX;IAMiB,qDAKjB;IAMK,2CAoBL;IACa,qDAUb;IACa;;;OAKb;IACkB,2CAGlB;IACoB,6CAGpB;IAMuB,8DAMvB;IAK8B;;;OAmB9B;IAKY,kDAYZ;IACS,gDAWT;IAKQ,4CAkBR;IACK,sBAAwC;IACtC,wBAAuC;;AAvenD,6DAEC;AA93JD,yFAAyF;AACzF,0CAAmC,YAAY,CAAC;AA6bhD;;;;;KAqDC;AAwED;;;;;;;;;;;;;;;;;;;;;MAyMC;AAnsDD;;;GAGG;AACH;;;;EA0BC;AAw/LD,mDAEkH;AA9wJlH;;;;;;GAMG;AACH,sFAaC;AAqgJD;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AACH;;;;GAgBC;AAm3FD,oFAAoF;AACpF,yCA4DC;AAxED;;;GAGG;AACH,uDAKC;AA26BD;;;;;;;;;GASG;AACH,sEAiDC;AAjXD;;;;;;GAMG;AACH;;;;;;;;;;;EAwKC;AAlzJD;;;GAGG;AACH,wEAIC;AA6PD;;;;;GAKG;AACH,6EAgBC;AA38BD;;;;;;;;;;;;;iCAAiD;AAy+LjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA5JI;;;;OAIG;;IAOH;;;;OAIG;;;;;;;;;IA+CH;;;;OAIG;;IAQH;;;OAGG;;;;;IAqBH;;;OAGG;;;IA0BH;;;OAGG;;;;EA4BN;AAt/JD;;;;;;GAMG;AACH,yFAeC;AA4JD;;;;;GAKG;AACH,0DAcC;AAtED;;;;GAIG;AACH,2DAYC;AAiBD;;;GAGG;AACH,yDAWC;AA1JD;;;;;GAKG;AACH;;;;KA4CC;AAwUD;;;;;GAKG;AACH,2DAiDC;AA5dD;;;;;GAKG;AACH,6EAaC;AAuuGD;;;;;GAKG;AACH;;;;;;GAMG;AACH;;;;;;;;UA0CC;AAwED;;;;;;GAMG;AACH,2EAuEC;AArJD;;;GAGG;AACH,oFAUC"}
|
|
@@ -119,9 +119,10 @@ declare class Item {
|
|
|
119
119
|
* The ID can be either seedUid or seedLocalId
|
|
120
120
|
* @param id - seedUid or seedLocalId
|
|
121
121
|
* @param modelName - Optional model name for querying
|
|
122
|
+
* @param idKind - 'localId' when the id was given as a seedLocalId: looked up as one first
|
|
122
123
|
* @returns Item instance or undefined if not found
|
|
123
124
|
*/
|
|
124
|
-
static createById(id: any, modelName: any): Promise<any>;
|
|
125
|
+
static createById(id: any, modelName: any, idKind: any): Promise<any>;
|
|
125
126
|
static find({ modelName, seedLocalId, seedUid, waitForReady, readyTimeout, }: {
|
|
126
127
|
modelName: any;
|
|
127
128
|
seedLocalId: any;
|
|
@@ -1078,4 +1079,4 @@ declare class OwnershipError extends Error {
|
|
|
1078
1079
|
}
|
|
1079
1080
|
import { BehaviorSubject } from 'rxjs';
|
|
1080
1081
|
export { getGetPublisherForNewSeeds as $, assertItemOwned as A, isItemOwned as B, waitForEntityIdle as C, compareMetadataRowsLatestFirst as D, getEasSchemaUidForModel as E, getLatestPublishedVersionRow as F, parseListPropertyValueFromStorage as G, chunkValues as H, Item as I, rowsPerInsert as J, getGetAdditionalSyncAddresses as K, selectInBatches as L, METADATA_LATEST_FIRST_ORDER_SQL as M, isVersionRevoked as N, OUTBOX_DEFER_MS as O, isActorStopped as P, DEFAULT_READY_TIMEOUT_MS as Q, createReactiveProxy as R, sameEntity as S, findEntity as T, forceRemoveFromCaches as U, runDestroyLifecycle as V, isPublishedMetadataRow as W, ClientManagerState as X, MachineIds as Y, PUBLISH_NOT_CONFIGURED_MESSAGE as Z, createNewItem as _, appendOutboxOpAndWait as a, getMetadataLatest as a0, getPublishExecutor as a1, getRevokeExecutor as a2, getUploadExecutor as a3, getVersionData$1 as a4, isLocalUnsealedDraft as a5, isSeedRowOwned as a6, localUnsealedDraftSql as a7, ownedPublisherSql as a8, ownedSeedsSql as a9, pickLatestMetadataRowPerProperty as aa, placeholderUidSql as ab, propertyMachine as ac, publisherInAddressListSql as ad, publisherIsInOwnedSet as ae, setAdditionalSyncAddresses as af, setGetPublisherForNewSeeds as ag, setPublishExecutor as ah, setRevokeExecutor as ai, setUploadExecutor as aj, ActorKeyedState as ak, clearDestroySubscriptions as al, unloadEntity as am, ClientManagerEvents as an, resolvePublisherFromSeedRow as ao, getSeedPublisher as ap, propertyNameVariants as aq, createSeed as ar, createMetadata as as, updateItemPropertyValue as at, getPropertyData$1 as au, Item$1 as av, waitForOutboxOp as b, appendOutboxOp as c, OUTBOX_MAX_ATTEMPTS as d, OUTBOX_PRUNE_AFTER_MS as e, OUTBOX_PRUNE_FAILED_AFTER_MS as f, getOutboxOps as g, OUTBOX_RETRY_DELAYS_MS as h, OutboxOpDeferredError as i, OutboxOpFailedError as j, OutboxOpRejectedError as k, OutboxOpRetryableError as l, appendOutboxOps as m, drainOutbox as n, outboxOpResult as o, getPendingSetValue as p, outboxOpValue as q, pruneOutbox as r, registerOutboxApplier as s, startOutbox as t, writeInBatches as u, getItemData as v, waitForPendingOutboxOps as w, ItemProperty as x, ItemPropertySaveValidationError as y, OwnershipError as z };
|
|
1081
|
-
//# sourceMappingURL=Item-
|
|
1082
|
+
//# sourceMappingURL=Item-CjTEShfk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Item-CjTEShfk.d.ts","sourceRoot":"","sources":["../Item-CjTEShfk.js"],"names":[],"mappings":"AA2EA,mDAEC;AAyyED;;;GAGG;AACH,2DAKC;AAzBD;;;;;;;;GAQG;AACH,0DAMC;AAp2ED;;;;;GAKG;AACH,6EA8CC;AAgaD,kHAAkH;AAClH,wEAQC;AAg1HD;;;;;GAKG;AACH,uEAoDC;AA56ED;;;;GAIG;AACH;;;;UAuBC;AAmrCD;;GAEG;AACH,kEAgBC;AAphCD,sFAAsF;AACtF,gEASC;AAu2KD;IA4QI,oGAAoG;IACpG,0DAcC;IACD,oDAUC;IACD,iEAOC;IACD,wDAcC;IACD;;;;OAIG;IACH,uCAmCC;IAiDD;;;;OAIG;IACH,2EA0BC;IACD,8FAA8F;IAC9F,4DAaC;IACD;;;OAGG;IACH,sDAWC;IACD;;;OAGG;IACH,0BAEC;IACD;;;;OAIG;IACH,+BAUC;IACD;;;OAGG;IACH,oFA2CC;IACD,kFAeC;IACD,sDA0NC;IACD;;;;OAIG;IACH,sEAqBC;IACD;;;;OAIG;IACH,uFA8BC;IACD,yFAgBC;IACD;;;;;OAKG;IACH,6BAUC;IACD;;;OAGG;IACH,qDA4BC;IACD;;;;;;;OAOG;IACH,sEAwBC;IACD;;;;;;qBA8BC;IACD,uEAkBC;IACD;;;;OAIG;IACH,+DAsHC;IAmBD,sGAAsG;IACtG,0HAwDC;IACD;;;OAGG;IACH,2EAcC;IACD,uDAEC;IAzrCD,gCA0QC;I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CAkIC;IAyXD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAEC;IACD;;;;;;;;;;;;;;;;;;;;;;;;;OAEC;IACD,0BAEC;IACD,mBAEC;IACD,eAEC;IACD,uBAEC;IACD,mBAEC;IACD,qBAEC;IACD,wBAcC;IACD,uHAAuH;IACvH,+BAEC;IACD,qBAEC;IACD,uBAEC;IACD,2BASC;IACD,4BAEC;IACD,2CAKC;IACD,0BAEC;IACD;;MAEC;IACD,wHAAwH;IACxH,gCAEC;IACD,iBAEC;IACD;;;;OAIG;IACH,oBAEC;IACD;;;OAGG;IACH,4CAkBC;IAiBD,sBAOC;IAvBD,iBAeC;IASD;;;;;;OAMG;IACH,yCA0CC;IArCG;;;kBAA+B;IAwB3B,iDAAiC;IAczC;;;;OAIG;IACH,4BAMC;IACD,yBAEC;IACD,wDASC;IACD,sBAoCC;IACD;;;OAGG;IACH,oBAOC;IACD,eAwCC;IACD;;;;OAIG;IACH,yBAwBC;IACD,0CAkDC;CACJ;;;;;AA14CD,4GAA4G;AAC5G;IACI,iDAIC;IAFG,sBAAwC;CAG/C;AApkHD;;;GAGG;AACH;IACI,8BAIC;CACJ;gCA1uE+B,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelProperty-
|
|
1
|
+
{"version":3,"file":"ModelProperty-C3749Wjq.d.ts","sourceRoot":"","sources":["../ModelProperty-C3749Wjq.js"],"names":[],"mappings":"AA21BA;IAyZI,gDA+RC;IACD,+EAA+E;IAC/E,qEAUC;IACD,8FAA8F;IAC9F,+DAmBC;IACD;;;;OAIG;IACH,0CAMC;IACD;;OAEG;IACH,yCAmBC;IACD;;;OAGG;IACH,mEAyFC;IACD;;;;;;OAMG;IACH,0DAyEC;IACD;;;;;OAKG;IACH;;;;qBAWC;IACD;;;OAGG;IACH,2DAqBC;IACD;;OAEG;IACH,kEAOC;IACD;;;;OAIG;IACH,8EAQC;IACD;;OAEG;IACH,qEAeC;IACD;;OAEG;IACH,kDAIC;IACD;;;OAGG;IACH,mDAEC;IAyGD;;;;OAIG;IACH,8DAwBC;IAvpCD,2BAqBC;IApBG,2GAA2G;IAC3G,uBAA4C;IAY5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAEE;IAMN;;;OAGG;IACH,iCAIC;IACD;;;;;OAKG;IACH,+CA+GC;IACD;;;;;OAKG;IACH,wEAgCC;IACD;;;;OAIG;IACH,mEAuBC;IACD,6EAA6E;IAC7E;;;MAOC;IACD;;;OAGG;IACH;;;;;;;mBA8EC;IACD;;;OAGG;IACH,6CAiDC;IACD;;;OAGG;IACH,kEA8BC;IACD;;;OAGG;IACH,qCAKC;IA2nBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAEC;IACD;;;;;;;;;;;;;;;;;;;;;;;;OAEC;IACD,0BAEC;IACD,+BAMC;IACD,iBAEC;IACD,oBAcC;IACD,4BAEC;IACD,uBAGC;IACD;;;OAGG;IACH,yBA8BC;IACD,aAaC;IACD;;;;;OAKG;IACH,wBAOC;IA+BD;;;;OAIG;IACH,eAmBC;IACD;;OAEG;IACH,yBAmEC;CACJ"}
|
|
@@ -603,6 +603,6 @@ declare const schemaMachine: import("xstate").StateMachine<{}, import("xstate").
|
|
|
603
603
|
* @throws Error if schema not found or updates are invalid
|
|
604
604
|
*/
|
|
605
605
|
declare function updateModelProperties(schemaName: any, propertyUpdates: any, modelUpdates: any): Promise<any>;
|
|
606
|
-
import { ak as ActorKeyedState } from './Item-
|
|
606
|
+
import { ak as ActorKeyedState } from './Item-CjTEShfk.js';
|
|
607
607
|
export { Schema as S, deletePropertyFromModel as a, Schema$1 as b, deleteModelFromSchema as d, renameModelProperty as r, schemaMachine as s, updateModelProperties as u };
|
|
608
|
-
//# sourceMappingURL=Schema-
|
|
608
|
+
//# sourceMappingURL=Schema-CX9CTtho.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema-
|
|
1
|
+
{"version":3,"file":"Schema-CX9CTtho.d.ts","sourceRoot":"","sources":["../Schema-CX9CTtho.js"],"names":[],"mappings":"AAihIA;IAiCI,kDAoPC;IACD;;;;OAIG;IACH,iEAaC;IACD;;;OAGG;IACH,uCAMC;IACD;;;OAGG;IACH,0CAGC;IACD;;;;OAIG;IACH,0BAwBC;IACD;;;;;OAKG;IACH,iEAgCC;IACD;;;;;OAKG;IACH;;;;qBAgBC;IACD;;;;;;;;;;OAUG;IACH,yCA+IC;IA01BD;;;;;OAKG;IACH,oCAkCC;IAn7CD,6BA+BC;IA3BG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAEE;IA4iBN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAEC;IACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAEC;IACD,0BAEC;IACD,sBAeC;IACD,wBAEC;IACD,cAEC;IACD;;;;OAIG;IACH,oBAmCC;IACD;;MAEC;IACD,oBAcC;IACD,4BAEC;IACD;;;OAGG;IACH,yBAEC;IACD,uBAGC;IACD;;;OAGG;IACH,yBA8BC;IACD;;;;OAIG;IACH,yCAoEC;IACD;;;;;;OAMG;IACH,+BAqLC;IACD;;;OAGG;IACH;;;;;;;;;;;;;;OAyCC;IACD;;;OAGG;IACH,uBAwBC;IACD;;;;;OAKG;IACH,0DAqXC;IA0CD,eAwCC;IACD;;;OAGG;IACH,yBAgCC;IACD,mFAqEC;IACD;;;OAGG;IACH,oCAgKC;CACJ;;;;;;;AAr2DD;;;;;;;;GAQG;AACH,0HA4EC;AA0xDD;;;;GAIG;AA//DH;;;;;;;GAOG;AACH,oGAmIC;AA5PD;;;;;;;;;GASG;AACH,gIAsGC;AAvlCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA4jBG;AA2LH;;;;;;;GAOG;AACH,+GA6HC;sCAziH2Q,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaValidationService-
|
|
1
|
+
{"version":3,"file":"SchemaValidationService-T5mqnY8q.d.ts","sourceRoot":"","sources":["../SchemaValidationService-T5mqnY8q.js"],"names":[],"mappings":"AA8BA;;GAEG;AACH;IACI;;OAEG;IACH,kEAqBC;IACD;;OAEG;IACH,wDAyDC;IACD;;OAEG;IACH,uDAgBC;IACD;;OAEG;IACH,oDA8BC;IACD;;OAEG;IACH;;;;;;;;MA2HC;IACD;;;;;;OAMG;IACH,+FAsJC;IACD;;OAEG;IACH;;;;;;;;MA2GC;IACD;;OAEG;IACH;;;;;;;;MAiCC;IACD;;;OAGG;IACH;;;;;;;;MAcC;IACD;;OAEG;IACH;;;;;;;;MA4BC;IACD;;OAEG;IACH;;;;;;;;MA4CC;IACD;;OAEG;IACH,mXAsBC;IACD;;;;;OAKG;IACH,kEA0BC;IACD;;OAEG;IACH,mDAOC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backfillMetadataPropertyIds-DWWkh-Ex.d.ts","sourceRoot":"","sources":["../backfillMetadataPropertyIds-DWWkh-Ex.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH,+DA4CC"}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
/** Emitted by the client manager after `app_state.addresses` is written (post-`setAddresses`). */
|
|
2
2
|
declare const ADDRESSES_PERSISTED_EVENT: "addresses.persisted";
|
|
3
|
+
/** Runs `fn` and logs how long it took (also when it throws). Costs nothing when the namespace is off. */
|
|
4
|
+
declare function timed(label: any, fn: any, details: any): Promise<any>;
|
|
5
|
+
declare function revokeSessionObjectUrl(url: any): void;
|
|
6
|
+
/**
|
|
7
|
+
* Runs an SQL-tag query once, the way BaseDb.liveQuery's query function is written
|
|
8
|
+
* (`(sql) => sql\`SELECT ...\``), so an entity can keep its liveQuery's text for its feed reads.
|
|
9
|
+
*/
|
|
10
|
+
declare function queryEntityRows(query: any): Promise<any>;
|
|
11
|
+
declare function isSessionObjectUrl(value: any): boolean;
|
|
3
12
|
/**
|
|
4
13
|
* Keeps other tabs current (docs/MULTI_TAB.md). The event bus is per tab, so events that mean "the
|
|
5
14
|
* shared database or OPFS changed" are also posted to the other tabs, which refresh their caches
|
|
@@ -8,34 +17,12 @@ declare const ADDRESSES_PERSISTED_EVENT: "addresses.persisted";
|
|
|
8
17
|
*/
|
|
9
18
|
/** Emitted with the changed paths when files change outside this tab's file-system cache. */
|
|
10
19
|
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
|
-
declare function createSessionObjectUrl(blob: any): string;
|
|
23
|
-
/** Sends to the other tabs of this database; a no-op when not coordinating. */
|
|
24
|
-
declare function postTabMessage(message: any): void;
|
|
25
|
-
/** Emits on this tab's event bus and in every other tab of this database. */
|
|
26
|
-
declare function emitAcrossTabs(name: any, payload: any): void;
|
|
27
|
-
declare function withTabLock(name: any, fn: any, { timeoutMs }?: {
|
|
28
|
-
timeoutMs?: number | undefined;
|
|
29
|
-
}): Promise<any>;
|
|
30
20
|
/**
|
|
31
|
-
*
|
|
32
|
-
* from
|
|
21
|
+
* Like `timed`, and the line also says how many statements and live-query runs went through the
|
|
22
|
+
* worker meanwhile (from any caller, since they share the queue) and how many statements were
|
|
23
|
+
* already queued when it started.
|
|
33
24
|
*/
|
|
34
|
-
declare function
|
|
35
|
-
/** Identifies this tab (this page's SDK instance) in the messages it sends. */
|
|
36
|
-
declare const TAB_ID: string;
|
|
37
|
-
declare function isLeaderTab(): boolean;
|
|
38
|
-
declare function isSessionObjectUrl(value: any): boolean;
|
|
25
|
+
declare function timedDb(label: any, fn: any, details: any): Promise<any>;
|
|
39
26
|
declare var tabEvents: Readonly<{
|
|
40
27
|
__proto__: null;
|
|
41
28
|
FILES_CHANGED_EVENT: "fs.files.changed";
|
|
@@ -48,8 +35,51 @@ declare var tabEvents: Readonly<{
|
|
|
48
35
|
notifyFilesWrittenOutsideCache: typeof notifyFilesWrittenOutsideCache;
|
|
49
36
|
queueFilesChangedNotice: typeof queueFilesChangedNotice;
|
|
50
37
|
}>;
|
|
38
|
+
/** Emitted after hard-deleting local on-chain seed copies for publisher addresses. */
|
|
39
|
+
declare const LOCAL_COPIES_REMOVED_EVENT: "localCopies.removed";
|
|
40
|
+
declare class TabLockTimeoutError extends Error {
|
|
41
|
+
constructor(lockName: any, timeoutMs: any);
|
|
42
|
+
lockName: any;
|
|
43
|
+
code: string;
|
|
44
|
+
}
|
|
45
|
+
declare function isLeaderTab(): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Watches `watch` and runs `read` once per dispatch, handing its result to `onRows` when it differs
|
|
48
|
+
* from the last one handed over. A read that finishes after a newer one started is dropped, so an
|
|
49
|
+
* older result never replaces a newer one.
|
|
50
|
+
*
|
|
51
|
+
* Pass `since` (the `changeFeedCursor()` taken before the caller's own initial read) to run `read`
|
|
52
|
+
* once right away when the feed moved on in between: a change dispatched before this watch was
|
|
53
|
+
* registered would otherwise be missed. Pass `immediate` to run it once right away regardless, as
|
|
54
|
+
* a liveQuery's first emission does.
|
|
55
|
+
*/
|
|
56
|
+
declare function watchEntityRows(watch: any, read: any, onRows: any, options?: {}): {
|
|
57
|
+
unsubscribe: () => void;
|
|
58
|
+
};
|
|
59
|
+
/** Resolves when this tab leads (at once if it already does). */
|
|
60
|
+
declare function whenLeaderTab(): Promise<any>;
|
|
61
|
+
/** `withTabLock` named for this database (`seed:<scope>:<db>`); runs `fn` directly before init. */
|
|
62
|
+
declare function withDbTabLock(scope: any, fn: any, options: any): any;
|
|
63
|
+
/** Emits on this tab's event bus and in every other tab of this database. */
|
|
64
|
+
declare function emitAcrossTabs(name: any, payload: any): void;
|
|
65
|
+
declare function createSessionObjectUrl(blob: any): string;
|
|
66
|
+
/** `withTabLock` on the database under `filesDir`; runs `fn` directly when there's no `filesDir` yet. */
|
|
67
|
+
declare function withSeedDbLock(scope: any, filesDir: any, fn: any): any;
|
|
68
|
+
/** Wraps a driver function so each call is counted while timing is on. */
|
|
69
|
+
declare function countDbStatements(driver: any): (...args: any[]) => Promise<any>;
|
|
70
|
+
/** Whether this tab's feed runs (a browser database is open); Node has none. */
|
|
71
|
+
declare function isChangeFeedRunning(): boolean;
|
|
72
|
+
/** Starts the clock for one live query; call the result on each of its runs. */
|
|
73
|
+
declare function countLiveQueryRuns(): () => void;
|
|
74
|
+
/** Sends to the other tabs of this database; a no-op when not coordinating. */
|
|
75
|
+
declare function postTabMessage(message: any): void;
|
|
51
76
|
/** Applies other tabs' events and file changes in this tab. */
|
|
52
77
|
declare function listenForOtherTabsEvents(): void;
|
|
78
|
+
/** Starts once per page; later calls (re-init) keep the first database. */
|
|
79
|
+
declare function startTabCoordination({ filesDir, mode }: {
|
|
80
|
+
filesDir: any;
|
|
81
|
+
mode?: string | undefined;
|
|
82
|
+
}): void;
|
|
53
83
|
/**
|
|
54
84
|
* Files written straight to OPFS by a worker: refreshes this tab's file-system cache, emits
|
|
55
85
|
* FILES_CHANGED_EVENT, and tells other tabs to do the same.
|
|
@@ -60,12 +90,6 @@ declare function parseAddressesPersistedPayload(value: any): {
|
|
|
60
90
|
owned: any;
|
|
61
91
|
watched: any;
|
|
62
92
|
};
|
|
63
|
-
declare function revokeSessionObjectUrl(url: any): void;
|
|
64
|
-
/** Starts once per page; later calls (re-init) keep the first database. */
|
|
65
|
-
declare function startTabCoordination({ filesDir, mode }: {
|
|
66
|
-
filesDir: any;
|
|
67
|
-
mode?: string | undefined;
|
|
68
|
-
}): void;
|
|
69
93
|
/**
|
|
70
94
|
* Runs `fn` holding lock `name` only if no one holds it or waits for it now; otherwise runs nothing
|
|
71
95
|
* and returns `{ acquired: false }`. For work that has something else to do meanwhile (the outbox
|
|
@@ -78,8 +102,48 @@ declare function tryWithTabLock(name: any, fn: any): Promise<{
|
|
|
78
102
|
acquired: boolean;
|
|
79
103
|
value: any;
|
|
80
104
|
}>;
|
|
81
|
-
|
|
82
|
-
|
|
105
|
+
declare function withTabLock(name: any, fn: any, { timeoutMs }?: {
|
|
106
|
+
timeoutMs?: number | undefined;
|
|
107
|
+
}): Promise<any>;
|
|
108
|
+
/**
|
|
109
|
+
* Starts this tab's feed on `db` (once its migrations ran), at the newest seq allocated so far:
|
|
110
|
+
* entities do their own initial read. A second call replaces the first feed.
|
|
111
|
+
*/
|
|
112
|
+
declare function startChangeFeed(db: any, { liveQuery, sql: sqlTag }: {
|
|
113
|
+
liveQuery: any;
|
|
114
|
+
sql: any;
|
|
115
|
+
}): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Split timer for one multi-step call: `mark(step)` records the time since the previous mark, and
|
|
118
|
+
* `log(label)` writes one line with the total and every step. Does nothing when timing is off.
|
|
119
|
+
*/
|
|
120
|
+
declare function timingMarks(): {
|
|
121
|
+
mark: (step: any) => void;
|
|
122
|
+
log: (label: any) => void;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* A file saved through this tab's file system: emits `file-saved` here. Other tabs hear about it
|
|
126
|
+
* from the file system itself (see queueFilesChangedNotice), once the write has reached OPFS.
|
|
127
|
+
*/
|
|
128
|
+
declare function notifyFileSaved(filePath: any): void;
|
|
129
|
+
declare function timingNow(): number;
|
|
130
|
+
/**
|
|
131
|
+
* Calls `listener` after a committed write to one of `watch.tables` for the watched seed, matched
|
|
132
|
+
* by local id or (case-insensitively) by uid. A read of the log that has several matching rows
|
|
133
|
+
* calls it once. When the tab missed rows (its cursor is older than the oldest kept row), every
|
|
134
|
+
* listener is called once. Returns the unregister function.
|
|
135
|
+
*/
|
|
136
|
+
declare function watchEntityChanges(watch: any, listener: any): () => void;
|
|
137
|
+
/** Milliseconds since `start` (a `timingNow()` value), rounded. */
|
|
138
|
+
declare function timingSince(start: any): number;
|
|
139
|
+
/**
|
|
140
|
+
* Phase timings for item creates, finds and property saves, and ready waits that timed out but
|
|
141
|
+
* were allowed to continue, under `DEBUG=seedSdk:timing`. Timing lines are `<label> <ms>ms` plus
|
|
142
|
+
* any details, so an app can report where a slow call spent its time.
|
|
143
|
+
*/
|
|
144
|
+
declare const timingLogger: debug.Debugger;
|
|
145
|
+
/** Identifies this tab (this page's SDK instance) in the messages it sends. */
|
|
146
|
+
declare const TAB_ID: string;
|
|
83
147
|
/** Sends the queued paths now (page hide, tests). */
|
|
84
148
|
declare function flushFilesChangedNotices(): void;
|
|
85
149
|
/**
|
|
@@ -94,5 +158,6 @@ declare function flushFilesChangedNotices(): void;
|
|
|
94
158
|
* stat() (see TolerantWebAccessFS.stat). A no-op unless this tab coordinates with others.
|
|
95
159
|
*/
|
|
96
160
|
declare function queueFilesChangedNotice(paths: any): void;
|
|
97
|
-
|
|
98
|
-
|
|
161
|
+
import debug from 'debug';
|
|
162
|
+
export { ADDRESSES_PERSISTED_EVENT as A, timed as B, revokeSessionObjectUrl as C, queryEntityRows as D, isSessionObjectUrl as E, FILES_CHANGED_EVENT as F, timedDb as G, tabEvents as H, LOCAL_COPIES_REMOVED_EVENT as L, TabLockTimeoutError as T, isLeaderTab as a, watchEntityRows as b, whenLeaderTab as c, withDbTabLock as d, emitAcrossTabs as e, createSessionObjectUrl as f, withSeedDbLock as g, countDbStatements as h, isChangeFeedRunning as i, countLiveQueryRuns as j, postTabMessage as k, listenForOtherTabsEvents as l, startTabCoordination as m, notifyFilesWrittenOutsideCache as n, onTabMessage as o, parseAddressesPersistedPayload as p, tryWithTabLock as q, withTabLock as r, startChangeFeed as s, timingMarks as t, notifyFileSaved as u, timingNow as v, watchEntityChanges as w, timingSince as x, timingLogger as y, TAB_ID as z };
|
|
163
|
+
//# sourceMappingURL=changeFeed-DcsZ7deG.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"changeFeed-DcsZ7deG.d.ts","sourceRoot":"","sources":["../changeFeed-DcsZ7deG.js"],"names":[],"mappings":"AAsUA,kGAAkG;AAClG,yCAAkC,qBAAqB,CAAC;AA5TxD,0GAA0G;AAC1G,wEAgBC;AAoSD,wDAIC;AA2QD;;;GAGG;AACH,2DAIC;AAxRD,yDAAoF;AA0BpF;;;;;GAKG;AACH,6FAA6F;AAC7F,mCAA4B,kBAAkB,CAAC;AAnQ/C;;;;GAIG;AACH,0EAKC;AAuXD;;;;;;;;;;;GAWG;AAjKH,sFAAsF;AACtF,0CAAmC,qBAAqB,CAAC;AAnLzD;IACI,2CAKC;IAHG,cAAwB;IACxB,aAA8B;CAGrC;AA8HD,wCAEC;AAqQD;;;;;;;;;GASG;AACH;;EAkCC;AAhTD,iEAAiE;AACjE,+CAIC;AAaD,mGAAmG;AACnG,uEAEC;AA8CD,6EAA6E;AAC7E,+DAQC;AAhDD,2DAIC;AA5KD,yGAAyG;AACzG,yEAEC;AAxGD,0EAA0E;AAC1E,kDACkB,GAAG,WAAI,kBAcxB;AA2hBD,gFAAgF;AAChF,gDAEC;AA7hBD,gFAAgF;AAChF,kDAaC;AAwND,+EAA+E;AAC/E,oDAEC;AA4JD,+DAA+D;AAC/D,kDAwBC;AA7OD,2EAA2E;AAC3E;;;SAgCC;AAkGD;;;GAGG;AACH,2EAMC;AAhFD,2DAGC;AA2BD;;;EAYC;AAvKD;;;;GAIG;AACH;;;;;;GAQC;AA9BD;;iBAgBC;AA4gBD;;;GAGG;AACH;;;kBAcC;AAjmBD;;;GAGG;AACH;;;EAiBC;AA2OD;;;GAGG;AACH,sDAEC;AAvWD,qCAAuF;AA4fvF;;;;;GAKG;AACH,2EAqBC;AAzbD,mEAAmE;AACnE,iDAAwD;AArGxD;;;;GAIG;AACH,2CAA6C;AA8N7C,+EAA+E;AAC/E,6BAE0E;AAsL1E,qDAAqD;AACrD,kDAWC;AArCD;;;;;;;;;;GAUG;AACH,2DAaC;kBA/ZiB,OAAO"}
|
|
@@ -27,4 +27,4 @@ declare var configurePlatform$1: Readonly<{
|
|
|
27
27
|
*/
|
|
28
28
|
declare function configurePlatform(services: any): void;
|
|
29
29
|
export { BasePathResolver as B, configurePlatform$1 as a, configurePlatform as c };
|
|
30
|
-
//# sourceMappingURL=configurePlatform-
|
|
30
|
+
//# sourceMappingURL=configurePlatform-AWild9o4.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurePlatform-AWild9o4.d.ts","sourceRoot":"","sources":["../configurePlatform-AWild9o4.js"],"names":[],"mappings":"AAiBA;IACI,kCAKC;IACD;;MAIC;IACD,0BAKC;IACD;;OAEG;IACH,0BAEC;IACD,qCAEC;IACD,4BAEC;IACD,gCAEC;IACD,8CAEC;IACD,2CAEC;IACD,4CAEC;CACJ;;;;AAeD;;;GAGG;AAfH;;GAEG;AACH,wDAOC"}
|
package/dist/dist/{detachRowsBeforeDelete-sK1ye2W6.d.ts → detachRowsBeforeDelete-Bo_pky-R.d.ts}
RENAMED
|
@@ -10,4 +10,4 @@ export function detachModelRows(db: any, modelIds: any): Promise<void>;
|
|
|
10
10
|
* browser leaves rows pointing at deleted ids.
|
|
11
11
|
*/
|
|
12
12
|
export function detachPropertyRows(db: any, propertyIds: any): Promise<void>;
|
|
13
|
-
//# sourceMappingURL=detachRowsBeforeDelete-
|
|
13
|
+
//# sourceMappingURL=detachRowsBeforeDelete-Bo_pky-R.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detachRowsBeforeDelete-Bo_pky-R.d.ts","sourceRoot":"","sources":["../detachRowsBeforeDelete-Bo_pky-R.js"],"names":[],"mappings":"AA8BA;;;GAGG;AACH,uEAWC;AA5BD;;;;;GAKG;AACH,6EAMC"}
|
|
@@ -9,4 +9,4 @@ export function getModelSchemasFromEas(): Promise<{
|
|
|
9
9
|
}>;
|
|
10
10
|
}[]>;
|
|
11
11
|
export { PUBLISHED_BY_SCHEMA_DEF, PUBLISHED_BY_SCHEMA_NAME, decodePublishedByData, getCanonicalItemPropertiesFromEas, getEasSchemaUidBySchemaName, getItemPropertiesFromEas, getItemVersionsFromEas, getPublishedByFromEas, getSeedUidsBySchemaName, getSeedsBySchemaName, getSeedsFromSchemaUids, hashPublishedByBatch, verifyPublishedByBatch } from "@seedprotocol/eas";
|
|
12
|
-
//# sourceMappingURL=eas
|
|
12
|
+
//# sourceMappingURL=eas--9vtNkma.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eas--9vtNkma.d.ts","sourceRoot":"","sources":["../eas--9vtNkma.js"],"names":[],"mappings":"AAkBA,qDAAqD;AACrD;;;;;kBAiD8u9F,CAAC;;;KAJ9u9F"}
|
|
@@ -512,4 +512,4 @@ declare const writeProcessMachine: import("xstate").StateMachine<{}, import("xst
|
|
|
512
512
|
};
|
|
513
513
|
}, import("xstate").MetaObject>;
|
|
514
514
|
export { ConflictError as C, ItemCreateValidationError as I, Model as M, TModelSchema as T, UnknownModelError as U, TModelValues as a, anyEvictionSince as b, currentEvictionEpoch as c, ItemCreateError as d, setupEntityLiveQuery as e, finishSchemaDestroy as f, getDraftSaveError as g, writeToDatabase$1 as h, Model$1 as i, errors as j, recordSchemaDestroy as r, schemaEvictedSince as s, trackDraftSave as t, writeProcessMachine as w };
|
|
515
|
-
//# sourceMappingURL=errors-
|
|
515
|
+
//# sourceMappingURL=errors-rIWK7gwJ.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-rIWK7gwJ.d.ts","sourceRoot":"","sources":["../errors-rIWK7gwJ.js"],"names":[],"mappings":"AAwtDA;;GAEG;AACH;IACI,yCAKC;IAFG,cAAwB;CAG/B;AAqsED;;;;;GAKG;AACH;IACI,2CAMC;IAHG,eAA0B;IAC1B,cAAwB;CAG/B;AA38DD;IACI,gEAOC;IACD,gDAIC;IAsCD;;;OAGG;IACH,iEAuBC;IACD;;;;OAIG;IACH,0DAkBC;IACD;;;;OAIG;IACH,gEAEC;IACD;;;;;;;;OAQG;IACH,0FA4DC;IACD,0EA4hBC;IACD;;;OAGG;IACH,sCAMC;IACD;;;;OAIG;IACH,iDAKC;IACD,gGAAgG;IAChG,8CAEC;IACD,iFAAiF;IACjF,iDAYC;IACD;;;OAGG;IACH,mCAEC;IACD;;;;;;;OAOG;IACH,uDAGC;IACD;;;;OAIG;IACH,wDAMC;IACD;;;OAGG;IACH,4DAcC;IACD;;;OAGG;IACH,gDAcC;IACD;;;;;OAKG;IACH,4CAQC;IACD;;;OAGG;IACH,2DAyBC;IACD;;;OAGG;IACH,8DA6CC;IACD;;;;;;;OAOG;IACH,mFA6DC;IACD;;;;;;OAMG;IACH,gEA6DC;IACD;;;;;OAKG;IACH;;;;;;qBAoBC;IACD;;;;;;OAMG;IACH,+DA4DC;IACD;;;;;;OAMG;IACH,0DA8FC;IACD;;OAEG;IACH,4FAeC;IAkTD;;;;;OAKG;IACH,8CAyCC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{"version":3,"file":"getItem-5j22EWWE.d.ts","sourceRoot":"","sources":["../getItem-5j22EWWE.js"],"names":[],"mappings":"AAqBA;;;;iBAoBC"}
|
|
@@ -44,4 +44,4 @@ declare function validateItemForPublish(item: any, uploadedTransactions: any[] |
|
|
|
44
44
|
errors: any;
|
|
45
45
|
}>;
|
|
46
46
|
export { PublishValidationFailedError as P, RELATED_ITEM_UNPUBLISHED_CODE as R, RelatedItemUnpublishedError as a, getPublishPayload$1 as g, resolvePublishPayloadValues as r, validateItemForPublish as v };
|
|
47
|
-
//# sourceMappingURL=getPublishPayload-
|
|
47
|
+
//# sourceMappingURL=getPublishPayload-BGl2SaGK.d.ts.map
|
package/dist/dist/{getPublishPayload-C2g5pPD2.d.ts.map → getPublishPayload-BGl2SaGK.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPublishPayload-
|
|
1
|
+
{"version":3,"file":"getPublishPayload-BGl2SaGK.d.ts","sourceRoot":"","sources":["../getPublishPayload-BGl2SaGK.js"],"names":[],"mappings":"AA0DA,kGAAkG;AAClG;IACI,iDAIC;IAFG,sBAAwC;CAG/C;AACD,kGAAkG;AAClG,6CAAsC,0BAA0B,CAAC;AAEjE;;;;;;;;GAQG;AACH;IACI,yEAgBC;IADG,6BAAsD;CAE7D;AAw/CD;;;;;;;;;GAMG;AAnHH;;;;GAIG;AACH,iGAsGC;AAjRD;;;;GAIG;AACH;;;GAWC"}
|
|
@@ -86,4 +86,4 @@ declare function prepareHtmlEmbeddedImagesForPublish(item: any, publishPolicy: a
|
|
|
86
86
|
*/
|
|
87
87
|
declare function replaceDataUrisInParsedHtml(html: any, replacements: any): any;
|
|
88
88
|
export { HTML_EMBEDDED_MAX_IMAGES_PER_DOC as H, SEED_PROPERTY_REF_PREFIX as S, HTML_EMBEDDED_MAX_IMAGE_BYTES as a, HTML_EMBEDDED_MAX_TOTAL_BYTES as b, HtmlEmbeddedDataUriLimitError as c, HtmlSeedPropertyRefError as d, clearHtmlEmbeddedImageCoPublishRows as e, findEmbeddedImageFilePath as f, getRelatedDraftsCoPublishedWith as g, extractDataUriImagesFromHtml as h, findSeedPropertyRefsInHtml as i, getPublishUploadData as j, itemHasPublishUploadCandidates as k, replaceSeedPropertyRefsInHtml as l, resolveEffectiveHtmlEmbeddedDataUriPolicy as m, rewriteHtmlEmbeddedImagesOnDisk as n, getPublishUploads$1 as o, prepareHtmlEmbeddedImagesForPublish as p, replaceDataUrisInParsedHtml as r };
|
|
89
|
-
//# sourceMappingURL=getPublishUploads-
|
|
89
|
+
//# sourceMappingURL=getPublishUploads-DVsDx6Xf.d.ts.map
|
package/dist/dist/{getPublishUploads-CaJHy3SL.d.ts.map → getPublishUploads-DVsDx6Xf.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPublishUploads-
|
|
1
|
+
{"version":3,"file":"getPublishUploads-DVsDx6Xf.d.ts","sourceRoot":"","sources":["../getPublishUploads-DVsDx6Xf.js"],"names":[],"mappings":"AAYA,gDAAyC,EAAE,CAAC;AA4J5C;;;;;;GAMG;AACH,wCAAiC,gBAAgB,CAAC;AAlKlD,oDAAsD;AACtD,oDAAuD;AAgBvD;IACI,0BAGC;CACJ;AAiJD,gGAAgG;AAChG;IACI,0BAGC;CACJ;AA2SD;;GAEG;AACH,4FAOC;AAjOD,gHAAgH;AAChH,+FAOC;AAyCD;;;;GAIG;AACH,4EAMC;AA1RD;;GAEG;AACH,yEAsDC;AAkFD,6FAA6F;AAC7F,8DAWC;AA41BD;;;;;;GAMG;AACH,qIAUC;AArLD,8FAA8F;AAC9F,uGASC;AAjsBD,4GAA4G;AAC5G,uFAOC;AA5KD,qGAOC;AAoWD;;;;;;;GAOG;AACH,kJAoBC;AAiqBD;;;;;;;;;;;;;;;;GAOG;AAryBH;;;GAGG;AACH;;GAYC;AAnKD;;;GAGG;AACH,gFAQC"}
|