@seedprotocol/sdk 0.7.10-next.1344.g3828e8a → 0.7.10-next.1362.g50ca0dd
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/{Item-CXLcIHsi.js → Item-oPnmIehk.js} +67 -55
- package/dist/Item-oPnmIehk.js.map +1 -0
- package/dist/{ModelProperty-B3mfR6u4.js → ModelProperty-D2vJozmW.js} +81 -48
- package/dist/ModelProperty-D2vJozmW.js.map +1 -0
- package/dist/{Schema-BeUyEmte.js → Schema-BMXRF4j9.js} +84 -48
- package/dist/Schema-BMXRF4j9.js.map +1 -0
- package/dist/{SchemaValidationService-C1xqJFxI.js → SchemaValidationService-CieGrj5c.js} +4 -4
- package/dist/{SchemaValidationService-C1xqJFxI.js.map → SchemaValidationService-CieGrj5c.js.map} +1 -1
- package/dist/{eas-DpHg66jR.js → eas-FZPPqxqe.js} +4 -4
- package/dist/{eas-DpHg66jR.js.map → eas-FZPPqxqe.js.map} +1 -1
- package/dist/{errors-DpC9W4i3.js → errors-CnT0fSMK.js} +125 -76
- package/dist/errors-CnT0fSMK.js.map +1 -0
- package/dist/{getPublishPayload-yidQCgY_.js → getPublishPayload-DKuEaq96.js} +7 -7
- package/dist/{getPublishPayload-yidQCgY_.js.map → getPublishPayload-DKuEaq96.js.map} +1 -1
- package/dist/{getPublishPendingDiff-D__9bh6d.js → getPublishPendingDiff-CH5xLMjU.js} +6 -6
- package/dist/{getPublishPendingDiff-D__9bh6d.js.map → getPublishPendingDiff-CH5xLMjU.js.map} +1 -1
- package/dist/{getPublishUploads-BdZmYCo2.js → getPublishUploads-DivYpgNw.js} +5 -5
- package/dist/{getPublishUploads-BdZmYCo2.js.map → getPublishUploads-DivYpgNw.js.map} +1 -1
- package/dist/{index-BMHqJ4kN.js → index-CZMWKXLM.js} +6 -6
- package/dist/index-CZMWKXLM.js.map +1 -0
- package/dist/{index-uDLe9y9H.js → index-DXRhFg1N.js} +6 -6
- package/dist/index-DXRhFg1N.js.map +1 -0
- package/dist/{index-CVYB2g7a.js → index-Gh42_47r.js} +14 -14
- package/dist/{index-CVYB2g7a.js.map → index-Gh42_47r.js.map} +1 -1
- package/dist/{index.browser-OACFlpMH.js → index.browser-DQstVvRV.js} +5 -5
- package/dist/{index.browser-OACFlpMH.js.map → index.browser-DQstVvRV.js.map} +1 -1
- package/dist/main.js +14 -14
- package/dist/{modelPropertyRecordSchemas-BGvtTyaG.js → modelPropertyRecordSchemas-DEe-lYhn.js} +4 -4
- package/dist/{modelPropertyRecordSchemas-BGvtTyaG.js.map → modelPropertyRecordSchemas-DEe-lYhn.js.map} +1 -1
- package/dist/node.js +3 -3
- package/dist/platform.browser.js +2 -2
- package/dist/{property-QjljUeb9.js → property-iNW1N3vm.js} +5 -5
- package/dist/{property-QjljUeb9.js.map → property-iNW1N3vm.js.map} +1 -1
- package/dist/{publishGraph-CP8IROkb.js → publishGraph-CRn_N3NT.js} +4 -4
- package/dist/{publishGraph-CP8IROkb.js.map → publishGraph-CRn_N3NT.js.map} +1 -1
- package/dist/{readHtmlBodyForStorageSeed-D3OPk2iU.js → readHtmlBodyForStorageSeed-B7HgPmq6.js} +5 -5
- package/dist/{readHtmlBodyForStorageSeed-D3OPk2iU.js.map → readHtmlBodyForStorageSeed-B7HgPmq6.js.map} +1 -1
- package/dist/src/Model/Model.d.ts +45 -34
- package/dist/src/Model/Model.d.ts.map +1 -1
- package/dist/src/ModelProperty/ModelProperty.d.ts +31 -13
- package/dist/src/ModelProperty/ModelProperty.d.ts.map +1 -1
- package/dist/src/Schema/Schema.d.ts +36 -27
- package/dist/src/Schema/Schema.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityCache.d.ts +13 -2
- package/dist/src/helpers/entity/entityCache.d.ts.map +1 -1
- package/dist/src/helpers/schemaApply.d.ts.map +1 -1
- package/dist/{syncDbWithEas-CDjSNrVR.js → syncDbWithEas-FuyqoEKk.js} +11 -11
- package/dist/{syncDbWithEas-CDjSNrVR.js.map → syncDbWithEas-FuyqoEKk.js.map} +1 -1
- package/dist/{tabEvents-BHPY5I08.js → tabEvents-DT5ez6io.js} +2 -2
- package/dist/{tabEvents-BHPY5I08.js.map → tabEvents-DT5ez6io.js.map} +1 -1
- package/dist/{tolerantWebAccess-hDq9ZGXH.js → tolerantWebAccess-zEseJ2zT.js} +3 -3
- package/dist/{tolerantWebAccess-hDq9ZGXH.js.map → tolerantWebAccess-zEseJ2zT.js.map} +1 -1
- package/dist/{updateSeedRevokedAt-BMwBnlnC.js → updateSeedRevokedAt-B9JRwr5T.js} +2 -2
- package/dist/{updateSeedRevokedAt-BMwBnlnC.js.map → updateSeedRevokedAt-B9JRwr5T.js.map} +1 -1
- package/package.json +7 -7
- package/dist/Item-CXLcIHsi.js.map +0 -1
- package/dist/ModelProperty-B3mfR6u4.js.map +0 -1
- package/dist/Schema-BeUyEmte.js.map +0 -1
- package/dist/errors-DpC9W4i3.js.map +0 -1
- package/dist/index-BMHqJ4kN.js.map +0 -1
- package/dist/index-uDLe9y9H.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b0 as PROPERTY_NAMES_EXEMPT_FROM_ID_SUFFIX_STRIP, n as normalizeDataType, v as INTERNAL_DATA_TYPES, af as MachineIds, O as resolveItemModelFileId, l as resolveModelRecordByNameOrType, A as AmbiguousModelError, m as generateId, b1 as TAB_ID, aN as onTabMessage, ax as whenLeaderTab, ap as isLeaderTab, aM as postTabMessage, j as findSeedRow, b2 as getModelSchemaName, K as selectInBatches, aY as getOwnedAddressesFromDb, Z as ZERO_BYTES32, ar as normalizeAddressList, J as normalizeHexAddress, am as getAddressesForItemsFilter, a0 as INTERNAL_PROPERTY_NAMES, a7 as convertTxIdToImage, i as isDataType, R as getExtensionForMimeType, b3 as normalizeMimeType, aA as sniffMimeType, Y as getItemStorageSubdir, ad as ImageSize, b4 as findFileInDir, b5 as getStorageSubdirForDataType, g as normalizePropertyRecordSchema, h as eventEmitter, b6 as timingMarks, a4 as getPropertyDefinition, aU as tryWithTabLock, b7 as withTabLock, M as ModelPropertyDataTypes, aC as createSessionObjectUrl, U as INTERNAL_STORAGE_MODEL_FILE_IDS, b8 as revokeSessionObjectUrl, b9 as getPropertyDefinitionsByFileId, aw as whenDbReady, ba as timed, av as watchEntityRows, a5 as propertyDefinitionFromRow, bb as isSessionObjectUrl, a6 as addCachedPropertyRefresher, x as normalizePublisher, _ as getItemStorageLocalFileName, bc as timingNow, bd as timingSince, be as timingLogger, bf as timedDb } from './tabEvents-
|
|
1
|
+
import { b0 as PROPERTY_NAMES_EXEMPT_FROM_ID_SUFFIX_STRIP, n as normalizeDataType, v as INTERNAL_DATA_TYPES, af as MachineIds, O as resolveItemModelFileId, l as resolveModelRecordByNameOrType, A as AmbiguousModelError, m as generateId, b1 as TAB_ID, aN as onTabMessage, ax as whenLeaderTab, ap as isLeaderTab, aM as postTabMessage, j as findSeedRow, b2 as getModelSchemaName, K as selectInBatches, aY as getOwnedAddressesFromDb, Z as ZERO_BYTES32, ar as normalizeAddressList, J as normalizeHexAddress, am as getAddressesForItemsFilter, a0 as INTERNAL_PROPERTY_NAMES, a7 as convertTxIdToImage, i as isDataType, R as getExtensionForMimeType, b3 as normalizeMimeType, aA as sniffMimeType, Y as getItemStorageSubdir, ad as ImageSize, b4 as findFileInDir, b5 as getStorageSubdirForDataType, g as normalizePropertyRecordSchema, h as eventEmitter, b6 as timingMarks, a4 as getPropertyDefinition, aU as tryWithTabLock, b7 as withTabLock, M as ModelPropertyDataTypes, aC as createSessionObjectUrl, U as INTERNAL_STORAGE_MODEL_FILE_IDS, b8 as revokeSessionObjectUrl, b9 as getPropertyDefinitionsByFileId, aw as whenDbReady, ba as timed, av as watchEntityRows, a5 as propertyDefinitionFromRow, bb as isSessionObjectUrl, a6 as addCachedPropertyRefresher, x as normalizePublisher, _ as getItemStorageLocalFileName, bc as timingNow, bd as timingSince, be as timingLogger, bf as timedDb } from './tabEvents-DT5ez6io.js';
|
|
2
2
|
import { fromCallback, setup, assign, and as and$1, stateIn, createActor, waitFor, isMachineSnapshot } from 'xstate';
|
|
3
3
|
import debug from 'debug';
|
|
4
4
|
import pluralize from 'pluralize';
|
|
@@ -2235,7 +2235,7 @@ const getItemsData = async ({ modelName, modelFileId, schemaName, deleted, inclu
|
|
|
2235
2235
|
conditions.push(eq(seeds.type, easName(modelName)));
|
|
2236
2236
|
}
|
|
2237
2237
|
if (!modelFileId && schemaName && modelName) {
|
|
2238
|
-
const _mod_0 = await import('./tabEvents-
|
|
2238
|
+
const _mod_0 = await import('./tabEvents-DT5ez6io.js');
|
|
2239
2239
|
const _ns_0 = _mod_0.bh;
|
|
2240
2240
|
const { resolveModelRecord } = _ns_0;
|
|
2241
2241
|
modelFileId = (await resolveModelRecord(modelName, { schemaName }))?.schemaFileId ?? undefined;
|
|
@@ -2491,7 +2491,7 @@ const resolveRelatedValue = fromCallback(({ sendBack, input: { context } }) => {
|
|
|
2491
2491
|
const { isRelation, propertyValue, propertyName, propertyRecordSchema, populatedFromDb, } = context;
|
|
2492
2492
|
const _resolveRelatedValue = async () => {
|
|
2493
2493
|
// Use dynamic import to break circular dependency
|
|
2494
|
-
const schemaMod = await import('./index-
|
|
2494
|
+
const schemaMod = await import('./index-DXRhFg1N.js');
|
|
2495
2495
|
const { ModelPropertyDataTypes } = schemaMod;
|
|
2496
2496
|
if (!propertyValue || !isRelation || populatedFromDb) {
|
|
2497
2497
|
return;
|
|
@@ -3005,7 +3005,7 @@ async function resolveStorageRef(kind, row) {
|
|
|
3005
3005
|
}
|
|
3006
3006
|
if (kind === 'html') {
|
|
3007
3007
|
if (!out.refResolvedValue && out.propertyValue) {
|
|
3008
|
-
const { resolveHtmlStorageSeedLocalId } = await import('./readHtmlBodyForStorageSeed-
|
|
3008
|
+
const { resolveHtmlStorageSeedLocalId } = await import('./readHtmlBodyForStorageSeed-B7HgPmq6.js');
|
|
3009
3009
|
const localId = await resolveHtmlStorageSeedLocalId(out.propertyValue);
|
|
3010
3010
|
if (localId)
|
|
3011
3011
|
out.refResolvedValue = `${localId}.html`;
|
|
@@ -3054,7 +3054,7 @@ async function resolveStorageDisplay(kind, row, options = {}) {
|
|
|
3054
3054
|
}
|
|
3055
3055
|
}
|
|
3056
3056
|
if (!renderValue && options.fetch && ref.propertyValue) {
|
|
3057
|
-
const { readHtmlBodyForStorageSeedPropertyValue } = await import('./readHtmlBodyForStorageSeed-
|
|
3057
|
+
const { readHtmlBodyForStorageSeedPropertyValue } = await import('./readHtmlBodyForStorageSeed-B7HgPmq6.js');
|
|
3058
3058
|
renderValue = await readHtmlBodyForStorageSeedPropertyValue(ref.propertyValue);
|
|
3059
3059
|
}
|
|
3060
3060
|
return { ref, filePath, renderValue };
|
|
@@ -3066,14 +3066,14 @@ async function resolveStorageDisplay(kind, row, options = {}) {
|
|
|
3066
3066
|
: BaseFileManager.pathExists(BaseFileManager.getFilesPath(dir, name)).then((exists) => exists ? BaseFileManager.getFilesPath(dir, name) : undefined);
|
|
3067
3067
|
// ensureImageLocal also makes the smallest size variant when the original is already there
|
|
3068
3068
|
if (kind === 'image' && options.fetch) {
|
|
3069
|
-
const _mod_1 = await import('./tabEvents-
|
|
3069
|
+
const _mod_1 = await import('./tabEvents-DT5ez6io.js');
|
|
3070
3070
|
const _ns_1 = _mod_1.bo;
|
|
3071
3071
|
const { ensureImageLocal } = _ns_1;
|
|
3072
3072
|
await ensureImageLocal({ transactionId: name, fileName: name, widths: [ImageSize.EXTRA_SMALL] });
|
|
3073
3073
|
}
|
|
3074
3074
|
let filePath = await find();
|
|
3075
3075
|
if (!filePath && kind === 'file' && options.fetch) {
|
|
3076
|
-
const _mod_2 = await import('./tabEvents-
|
|
3076
|
+
const _mod_2 = await import('./tabEvents-DT5ez6io.js');
|
|
3077
3077
|
const _ns_2 = _mod_2.bm;
|
|
3078
3078
|
const { downloadTransactionIdWithDedupe } = _ns_2;
|
|
3079
3079
|
await downloadTransactionIdWithDedupe(name);
|
|
@@ -3828,11 +3828,18 @@ function setEntityUnloadGraceMs(ms) {
|
|
|
3828
3828
|
* instance. With a grace period of 0, the last release tears it down at once and an entry that
|
|
3829
3829
|
* never had a hold stays cached until it is evicted. Removing an entry (teardown, destroy,
|
|
3830
3830
|
* eviction) cancels its timer.
|
|
3831
|
+
*
|
|
3832
|
+
* A cache made with `unloadUnheld: false` (the definition classes: Schema, Model, ModelProperty)
|
|
3833
|
+
* never tears an entry down for having no holds: it stays cached until it is destroyed, evicted or
|
|
3834
|
+
* the client stops. Holds are still counted there, and releasing the last one does nothing, except
|
|
3835
|
+
* an `immediate` release: its owner was destroyed or evicted (a Schema's models, a Model's
|
|
3836
|
+
* properties), and a child no one else holds goes with it.
|
|
3831
3837
|
*/
|
|
3832
3838
|
class EntityCache {
|
|
3833
|
-
constructor() {
|
|
3839
|
+
constructor(options = {}) {
|
|
3834
3840
|
this.byKey = new Map();
|
|
3835
3841
|
this.byActor = new WeakMap();
|
|
3842
|
+
this.unloadUnheld = options.unloadUnheld !== false;
|
|
3836
3843
|
EntityCache.all.add(this);
|
|
3837
3844
|
}
|
|
3838
3845
|
/** Cache `instance` under `keys` (empty and duplicate keys are skipped). Returns its entry. */
|
|
@@ -3883,7 +3890,8 @@ class EntityCache {
|
|
|
3883
3890
|
* Give back one hold. True when the instance should be torn down now: its last hold went and
|
|
3884
3891
|
* there is no grace period (or `immediate`), or it isn't cached at all (evicted while the caller
|
|
3885
3892
|
* held it). After the last hold with a grace period, the teardown is scheduled instead. An
|
|
3886
|
-
* instance with no holds (a caller that never held it) is left as it is
|
|
3893
|
+
* instance with no holds (a caller that never held it) is left as it is, and so is an instance of
|
|
3894
|
+
* a cache made with `unloadUnheld: false` unless the release is `immediate`.
|
|
3887
3895
|
*/
|
|
3888
3896
|
release(instance, options = {}) {
|
|
3889
3897
|
const entry = this.entryOf(instance);
|
|
@@ -3894,7 +3902,11 @@ class EntityCache {
|
|
|
3894
3902
|
entry.refCount -= 1;
|
|
3895
3903
|
if (entry.refCount > 0)
|
|
3896
3904
|
return false;
|
|
3897
|
-
if (options.immediate
|
|
3905
|
+
if (options.immediate)
|
|
3906
|
+
return true;
|
|
3907
|
+
if (!this.unloadUnheld)
|
|
3908
|
+
return false;
|
|
3909
|
+
if (entityUnloadGraceMs() === 0)
|
|
3898
3910
|
return true;
|
|
3899
3911
|
this.scheduleUnload(entry);
|
|
3900
3912
|
return false;
|
|
@@ -3905,7 +3917,7 @@ class EntityCache {
|
|
|
3905
3917
|
*/
|
|
3906
3918
|
keepUnheld(instance) {
|
|
3907
3919
|
const entry = this.entryOf(instance);
|
|
3908
|
-
if (entry && entry.refCount <= 0 && entityUnloadGraceMs() > 0)
|
|
3920
|
+
if (entry && entry.refCount <= 0 && this.unloadUnheld && entityUnloadGraceMs() > 0)
|
|
3909
3921
|
this.scheduleUnload(entry);
|
|
3910
3922
|
}
|
|
3911
3923
|
addHold(entry) {
|
|
@@ -4094,7 +4106,7 @@ async function loadProperty(context) {
|
|
|
4094
4106
|
const modelNameForNew = context.modelName;
|
|
4095
4107
|
if (modelNameForNew) {
|
|
4096
4108
|
try {
|
|
4097
|
-
const _mod_3 = await import('./tabEvents-
|
|
4109
|
+
const _mod_3 = await import('./tabEvents-DT5ez6io.js');
|
|
4098
4110
|
const _ns_3 = _mod_3.bh;
|
|
4099
4111
|
const { resolveItemModelFileId, modelNameForType } = _ns_3;
|
|
4100
4112
|
const itemModelFileId = await resolveItemModelFileId({
|
|
@@ -4134,7 +4146,7 @@ async function loadProperty(context) {
|
|
|
4134
4146
|
// Load propertyRecordSchema from database to make ItemProperty independent from Model
|
|
4135
4147
|
let propertyRecordSchema = undefined;
|
|
4136
4148
|
// Model names are only unique per schema: pin lookups to the item's own model row.
|
|
4137
|
-
const _mod_4 = await import('./tabEvents-
|
|
4149
|
+
const _mod_4 = await import('./tabEvents-DT5ez6io.js');
|
|
4138
4150
|
const _ns_4 = _mod_4.bh;
|
|
4139
4151
|
const { resolveItemModelFileId, modelNameForType } = _ns_4;
|
|
4140
4152
|
const modelFileId = await resolveItemModelFileId({
|
|
@@ -4239,11 +4251,11 @@ async function loadPropertyDefinition(db, { propertyId, modelName, modelFileId,
|
|
|
4239
4251
|
}
|
|
4240
4252
|
if (!modelName)
|
|
4241
4253
|
return undefined;
|
|
4242
|
-
const { loadModelPropertyRecordSchemas } = await import('./modelPropertyRecordSchemas-
|
|
4254
|
+
const { loadModelPropertyRecordSchemas } = await import('./modelPropertyRecordSchemas-DEe-lYhn.js');
|
|
4243
4255
|
const definition = (await loadModelPropertyRecordSchemas(modelName, modelFileId, db)).get(propertyName);
|
|
4244
4256
|
if (definition)
|
|
4245
4257
|
return definition;
|
|
4246
|
-
const _mod_5 = await import('./errors-
|
|
4258
|
+
const _mod_5 = await import('./errors-CnT0fSMK.js');
|
|
4247
4259
|
const _ns_5 = _mod_5.a4;
|
|
4248
4260
|
const { Model } = _ns_5;
|
|
4249
4261
|
const { modelPropertiesToObject } = await Promise.resolve().then(function () { return model; });
|
|
@@ -4353,7 +4365,7 @@ function whenValidationLoaded() {
|
|
|
4353
4365
|
// neutralizes the minified chunk-export read (`.then(n => n._)`) in this form
|
|
4354
4366
|
validationLoading ?? (validationLoading = (async () => {
|
|
4355
4367
|
try {
|
|
4356
|
-
const { SchemaValidationService } = await import('./SchemaValidationService-
|
|
4368
|
+
const { SchemaValidationService } = await import('./SchemaValidationService-CieGrj5c.js');
|
|
4357
4369
|
validationService = new SchemaValidationService();
|
|
4358
4370
|
}
|
|
4359
4371
|
finally {
|
|
@@ -4588,17 +4600,17 @@ hints = {}) => {
|
|
|
4588
4600
|
}
|
|
4589
4601
|
try {
|
|
4590
4602
|
if (hints.propertyId != null) {
|
|
4591
|
-
const _mod_6 = await import('./tabEvents-
|
|
4603
|
+
const _mod_6 = await import('./tabEvents-DT5ez6io.js');
|
|
4592
4604
|
const _ns_6 = _mod_6.bi;
|
|
4593
4605
|
const { getPropertyDefinition } = _ns_6;
|
|
4594
4606
|
const definition = await getPropertyDefinition(hints.propertyId);
|
|
4595
4607
|
if (definition)
|
|
4596
4608
|
return definition;
|
|
4597
4609
|
}
|
|
4598
|
-
const _mod_7 = await import('./tabEvents-
|
|
4610
|
+
const _mod_7 = await import('./tabEvents-DT5ez6io.js');
|
|
4599
4611
|
const _ns_7 = _mod_7.bh;
|
|
4600
4612
|
const { resolveItemModelFileId } = _ns_7;
|
|
4601
|
-
const { getModelPropertyDefinitions, resolvePropertyKey } = await import('./property-
|
|
4613
|
+
const { getModelPropertyDefinitions, resolvePropertyKey } = await import('./property-iNW1N3vm.js');
|
|
4602
4614
|
const modelFileId = (await resolveItemModelFileId(hints)) ?? undefined;
|
|
4603
4615
|
const name = modelName || ((await modelTypeToModelName(modelType)) ?? '');
|
|
4604
4616
|
// An ambiguous bare name reads nothing here; the in-memory model below may still know it
|
|
@@ -4606,7 +4618,7 @@ hints = {}) => {
|
|
|
4606
4618
|
const key = resolvePropertyKey(definitions, propertyName);
|
|
4607
4619
|
if (key)
|
|
4608
4620
|
return definitions[key];
|
|
4609
|
-
const _mod_8 = await import('./errors-
|
|
4621
|
+
const _mod_8 = await import('./errors-CnT0fSMK.js');
|
|
4610
4622
|
const _ns_8 = _mod_8.a4;
|
|
4611
4623
|
const { Model } = _ns_8;
|
|
4612
4624
|
const { modelPropertiesToObject } = await Promise.resolve().then(function () { return model; });
|
|
@@ -4627,7 +4639,7 @@ hints = {}) => {
|
|
|
4627
4639
|
const modelTypeToModelName = async (modelType) => {
|
|
4628
4640
|
if (!modelType)
|
|
4629
4641
|
return undefined;
|
|
4630
|
-
const _mod_9 = await import('./tabEvents-
|
|
4642
|
+
const _mod_9 = await import('./tabEvents-DT5ez6io.js');
|
|
4631
4643
|
const _ns_9 = _mod_9.bh;
|
|
4632
4644
|
const { modelNameForType } = _ns_9;
|
|
4633
4645
|
return modelNameForType(modelType).catch(() => undefined);
|
|
@@ -4791,7 +4803,7 @@ class ItemProperty {
|
|
|
4791
4803
|
return;
|
|
4792
4804
|
}
|
|
4793
4805
|
// Use dynamic import to break circular dependency
|
|
4794
|
-
const schemaMod = await import('./index-
|
|
4806
|
+
const schemaMod = await import('./index-DXRhFg1N.js');
|
|
4795
4807
|
const { ModelPropertyDataTypes } = schemaMod;
|
|
4796
4808
|
const { context } = snapshot;
|
|
4797
4809
|
const { propertyRecordSchema } = context;
|
|
@@ -5230,7 +5242,7 @@ class ItemProperty {
|
|
|
5230
5242
|
const ctx = this._service.getSnapshot().context;
|
|
5231
5243
|
let modelFileId;
|
|
5232
5244
|
try {
|
|
5233
|
-
const _mod_11 = await import('./tabEvents-
|
|
5245
|
+
const _mod_11 = await import('./tabEvents-DT5ez6io.js');
|
|
5234
5246
|
const _ns_11 = _mod_11.bh;
|
|
5235
5247
|
const { resolveItemModelFileId } = _ns_11;
|
|
5236
5248
|
modelFileId = await resolveItemModelFileId({
|
|
@@ -5549,7 +5561,7 @@ class ItemProperty {
|
|
|
5549
5561
|
const propertiesData = await getItemProperties({ seedLocalId, seedUid });
|
|
5550
5562
|
const instances = [];
|
|
5551
5563
|
const seenNormalized = new Set();
|
|
5552
|
-
const _mod_12 = await import('./tabEvents-
|
|
5564
|
+
const _mod_12 = await import('./tabEvents-DT5ez6io.js');
|
|
5553
5565
|
const _ns_12 = _mod_12.bh;
|
|
5554
5566
|
const { resolveItemModelFileId } = _ns_12;
|
|
5555
5567
|
const itemModelFileId = await resolveItemModelFileId({ seedLocalId, seedUid });
|
|
@@ -5571,7 +5583,7 @@ class ItemProperty {
|
|
|
5571
5583
|
// (`textId` → `text`, `authorIdentityIds` → `authors`)
|
|
5572
5584
|
const definitionsKey = JSON.stringify([modelName, modelFileId ?? null]);
|
|
5573
5585
|
if (modelName && !definitionsByModel.has(definitionsKey)) {
|
|
5574
|
-
const { getModelPropertyDefinitions } = await import('./property-
|
|
5586
|
+
const { getModelPropertyDefinitions } = await import('./property-iNW1N3vm.js');
|
|
5575
5587
|
definitionsByModel.set(definitionsKey,
|
|
5576
5588
|
// No model row: the stored name decides
|
|
5577
5589
|
getModelPropertyDefinitions(modelName, { modelFileId }).then(Object.fromEntries, () => ({})));
|
|
@@ -5745,7 +5757,7 @@ class ItemProperty {
|
|
|
5745
5757
|
const { seedLocalId, propertyName } = this._getSnapshotContext();
|
|
5746
5758
|
if (!seedLocalId || !propertyName)
|
|
5747
5759
|
return;
|
|
5748
|
-
const { appendOutboxOpAndWait, markPropertyConflictsResolved, startItemOutbox, throwItemWriteError } = await import('./index-
|
|
5760
|
+
const { appendOutboxOpAndWait, markPropertyConflictsResolved, startItemOutbox, throwItemWriteError } = await import('./index-CZMWKXLM.js');
|
|
5749
5761
|
if (choice === 'remote') {
|
|
5750
5762
|
startItemOutbox();
|
|
5751
5763
|
await appendOutboxOpAndWait({
|
|
@@ -5893,7 +5905,7 @@ class ItemProperty {
|
|
|
5893
5905
|
context = this._getSnapshotContext();
|
|
5894
5906
|
if (!context.seedLocalId) {
|
|
5895
5907
|
// An item known only by its seed uid: its local seed, if it has one
|
|
5896
|
-
const _mod_13 = await import('./tabEvents-
|
|
5908
|
+
const _mod_13 = await import('./tabEvents-DT5ez6io.js');
|
|
5897
5909
|
const _ns_13 = _mod_13.bg;
|
|
5898
5910
|
const { findSeedRow } = _ns_13;
|
|
5899
5911
|
const seedLocalId = context.seedUid ? (await findSeedRow({ uid: context.seedUid }))?.localId : undefined;
|
|
@@ -5933,7 +5945,7 @@ class ItemProperty {
|
|
|
5933
5945
|
/** Waits for an appended op to settle, then shows its row, or the current value if it failed. */
|
|
5934
5946
|
async _followWrite(write, appended, plan) {
|
|
5935
5947
|
try {
|
|
5936
|
-
const { getOutboxOps, outboxOpResult, startItemOutbox, waitForOutboxOp } = await import('./index-
|
|
5948
|
+
const { getOutboxOps, outboxOpResult, startItemOutbox, waitForOutboxOp } = await import('./index-CZMWKXLM.js');
|
|
5937
5949
|
startItemOutbox();
|
|
5938
5950
|
const opId = await appended;
|
|
5939
5951
|
await waitForOutboxOp(opId);
|
|
@@ -5992,7 +6004,7 @@ class ItemProperty {
|
|
|
5992
6004
|
this._service.send({ type: 'updateContext', ...outcome.applied, isSaving: false });
|
|
5993
6005
|
return;
|
|
5994
6006
|
}
|
|
5995
|
-
const { throwItemWriteError } = await import('./index-
|
|
6007
|
+
const { throwItemWriteError } = await import('./index-CZMWKXLM.js');
|
|
5996
6008
|
let error = outcome.error;
|
|
5997
6009
|
try {
|
|
5998
6010
|
throwItemWriteError(outcome.error);
|
|
@@ -6127,7 +6139,7 @@ class ItemProperty {
|
|
|
6127
6139
|
if (db && seedLocalId) {
|
|
6128
6140
|
// Through the outbox (ADR 0019): after the property's pending edits, which would
|
|
6129
6141
|
// otherwise write its rows back
|
|
6130
|
-
const { appendOutboxOpAndWait, startItemOutbox, throwItemWriteError } = await import('./index-
|
|
6142
|
+
const { appendOutboxOpAndWait, startItemOutbox, throwItemWriteError } = await import('./index-CZMWKXLM.js');
|
|
6131
6143
|
startItemOutbox();
|
|
6132
6144
|
await appendOutboxOpAndWait({
|
|
6133
6145
|
seedLocalId,
|
|
@@ -6370,7 +6382,7 @@ const createMetadata = async (metadataValues, propertyRecordSchema, options) =>
|
|
|
6370
6382
|
propertyRecordSchema?.validation &&
|
|
6371
6383
|
metadataValues.propertyValue != null &&
|
|
6372
6384
|
metadataValues.propertyValue !== '') {
|
|
6373
|
-
const { SchemaValidationService } = await import('./SchemaValidationService-
|
|
6385
|
+
const { SchemaValidationService } = await import('./SchemaValidationService-CieGrj5c.js');
|
|
6374
6386
|
const validationService = new SchemaValidationService();
|
|
6375
6387
|
const validationResult = validationService.validatePropertyValue(metadataValues.propertyValue, normalizeDataType(propertyRecordSchema.dataType), propertyRecordSchema.validation, propertyRecordSchema.refValueType
|
|
6376
6388
|
? normalizeDataType(String(propertyRecordSchema.refValueType))
|
|
@@ -6464,7 +6476,7 @@ const createNewItem = async ({ modelName, modelFileId, ...propertyData }) => {
|
|
|
6464
6476
|
}
|
|
6465
6477
|
const seedType = easName(modelName);
|
|
6466
6478
|
// Dynamic import to break circular dependency
|
|
6467
|
-
const _mod_15 = await import('./errors-
|
|
6479
|
+
const _mod_15 = await import('./errors-CnT0fSMK.js');
|
|
6468
6480
|
const _ns_15 = _mod_15.a4;
|
|
6469
6481
|
const modelMod = _ns_15;
|
|
6470
6482
|
const { Model } = modelMod;
|
|
@@ -6522,7 +6534,7 @@ const createNewItem = async ({ modelName, modelFileId, ...propertyData }) => {
|
|
|
6522
6534
|
}
|
|
6523
6535
|
rows.push({ propertyName, propertyValue, propertyRecordSchema, schemaUid: schemaUids.get(propertyName) });
|
|
6524
6536
|
}
|
|
6525
|
-
const { appendOutboxOpAndWait, startItemOutbox } = await import('./index-
|
|
6537
|
+
const { appendOutboxOpAndWait, startItemOutbox } = await import('./index-CZMWKXLM.js');
|
|
6526
6538
|
startItemOutbox();
|
|
6527
6539
|
const fields = await timed(`${label} seed fields`, () => resolveNewSeedFields(seedType));
|
|
6528
6540
|
const applied = await timed(`${label} outbox apply`, () => appendOutboxOpAndWait({
|
|
@@ -6541,7 +6553,7 @@ const createNewItem = async ({ modelName, modelFileId, ...propertyData }) => {
|
|
|
6541
6553
|
}
|
|
6542
6554
|
catch (error) {
|
|
6543
6555
|
// Staged values of a create that never got appended (once appended, the op's discard does it)
|
|
6544
|
-
const _mod_16 = await import('./errors-
|
|
6556
|
+
const _mod_16 = await import('./errors-CnT0fSMK.js');
|
|
6545
6557
|
const _ns_16 = _mod_16.a7;
|
|
6546
6558
|
const { deleteFiles } = _ns_16;
|
|
6547
6559
|
await deleteFiles(stagedPaths);
|
|
@@ -6617,14 +6629,14 @@ const createItemPropertyInstances = async (metadataRows, seedLocalId, seedUid, m
|
|
|
6617
6629
|
};
|
|
6618
6630
|
// The model's property definitions from their rows; a model created in this session whose
|
|
6619
6631
|
// rows aren't written yet gives its in-memory ones
|
|
6620
|
-
const { getModelPropertyDefinitions } = await import('./property-
|
|
6632
|
+
const { getModelPropertyDefinitions } = await import('./property-iNW1N3vm.js');
|
|
6621
6633
|
let propertySchemas = Object.fromEntries(await getModelPropertyDefinitions(modelName, modelScope).catch((err) => {
|
|
6622
6634
|
logger(`No property definitions for ${modelName}: ${err}`);
|
|
6623
6635
|
return [];
|
|
6624
6636
|
}));
|
|
6625
6637
|
if (Object.keys(propertySchemas).length === 0) {
|
|
6626
6638
|
const { modelPropertiesToObject } = await Promise.resolve().then(function () { return model; });
|
|
6627
|
-
const _mod_17 = await import('./errors-
|
|
6639
|
+
const _mod_17 = await import('./errors-CnT0fSMK.js');
|
|
6628
6640
|
const _ns_17 = _mod_17.a4;
|
|
6629
6641
|
const { Model } = _ns_17;
|
|
6630
6642
|
const model$1 = Model.resolve(modelName, modelScope);
|
|
@@ -6652,7 +6664,7 @@ const createItemPropertyInstances = async (metadataRows, seedLocalId, seedUid, m
|
|
|
6652
6664
|
// Infer propertyRecordSchema from metadata when schema is missing (enables persistence)
|
|
6653
6665
|
let propSchema = propertySchemas[propertyName];
|
|
6654
6666
|
if (!propSchema && isRefTypeFromMeta) {
|
|
6655
|
-
const schemaMod = await import('./index-
|
|
6667
|
+
const schemaMod = await import('./index-DXRhFg1N.js');
|
|
6656
6668
|
const { ModelPropertyDataTypes } = schemaMod;
|
|
6657
6669
|
propSchema = {
|
|
6658
6670
|
dataType: refSeedType === 'html' ? ModelPropertyDataTypes.Html
|
|
@@ -7035,7 +7047,7 @@ const getModel = () => {
|
|
|
7035
7047
|
// the fragile `import(...).then(n => n.X)` chunk-namespace pattern.
|
|
7036
7048
|
if (!modelImportPromise) {
|
|
7037
7049
|
modelImportPromise = (async () => {
|
|
7038
|
-
const _mod_18 = await import('./errors-
|
|
7050
|
+
const _mod_18 = await import('./errors-CnT0fSMK.js');
|
|
7039
7051
|
const _ns_18 = _mod_18.a4;
|
|
7040
7052
|
const mod = _ns_18;
|
|
7041
7053
|
ModelClass = mod.Model;
|
|
@@ -7236,14 +7248,14 @@ class Item {
|
|
|
7236
7248
|
};
|
|
7237
7249
|
this.getPublishUploads = async (options) => {
|
|
7238
7250
|
// Use dynamic import to break circular dependency
|
|
7239
|
-
const _mod_19 = await import('./getPublishUploads-
|
|
7251
|
+
const _mod_19 = await import('./getPublishUploads-DivYpgNw.js');
|
|
7240
7252
|
const _ns_19 = _mod_19.q;
|
|
7241
7253
|
const getPublishUploadsMod = _ns_19;
|
|
7242
7254
|
const { getPublishUploads } = getPublishUploadsMod;
|
|
7243
7255
|
return await getPublishUploads(this, options);
|
|
7244
7256
|
};
|
|
7245
7257
|
this.getPublishPayload = async (uploadedTransactions, options) => {
|
|
7246
|
-
const _mod_20 = await import('./getPublishPayload-
|
|
7258
|
+
const _mod_20 = await import('./getPublishPayload-DKuEaq96.js');
|
|
7247
7259
|
const _ns_20 = _mod_20.c;
|
|
7248
7260
|
const getPublishPayloadMod = _ns_20;
|
|
7249
7261
|
const { getPublishPayload } = getPublishPayloadMod;
|
|
@@ -7573,7 +7585,7 @@ class Item {
|
|
|
7573
7585
|
if (!props.modelName && props.type) {
|
|
7574
7586
|
// The model the seed's type names (its easName, at the model's nameMatch level): `blog_post`
|
|
7575
7587
|
// finds "Blog Post". No match leaves the type, which then fails as an unknown model.
|
|
7576
|
-
const _mod_21 = await import('./tabEvents-
|
|
7588
|
+
const _mod_21 = await import('./tabEvents-DT5ez6io.js');
|
|
7577
7589
|
const _ns_21 = _mod_21.bh;
|
|
7578
7590
|
const { resolveModelRecordByNameOrType } = _ns_21;
|
|
7579
7591
|
const model = await resolveModelRecordByNameOrType(props.type, {
|
|
@@ -7637,7 +7649,7 @@ class Item {
|
|
|
7637
7649
|
const db = BaseDb.getAppDb();
|
|
7638
7650
|
if (db && props.modelName) {
|
|
7639
7651
|
// Model names are only unique per schema: resolve the exact models row from the most specific scope.
|
|
7640
|
-
const _mod_22 = await import('./tabEvents-
|
|
7652
|
+
const _mod_22 = await import('./tabEvents-DT5ez6io.js');
|
|
7641
7653
|
const _ns_22 = _mod_22.bh;
|
|
7642
7654
|
const { resolveModelRecord } = _ns_22;
|
|
7643
7655
|
const modelRecord = await resolveModelRecord(props.modelName, {
|
|
@@ -7646,7 +7658,7 @@ class Item {
|
|
|
7646
7658
|
});
|
|
7647
7659
|
const modelRecords = modelRecord ? [modelRecord] : [];
|
|
7648
7660
|
if (!modelRecord) {
|
|
7649
|
-
const _mod_23 = await import('./errors-
|
|
7661
|
+
const _mod_23 = await import('./errors-CnT0fSMK.js');
|
|
7650
7662
|
const _ns_23 = _mod_23.a8;
|
|
7651
7663
|
const { UnknownModelError } = _ns_23;
|
|
7652
7664
|
throw new UnknownModelError(props.modelName, schemaName ?? modelInstance?.schemaName);
|
|
@@ -7657,7 +7669,7 @@ class Item {
|
|
|
7657
7669
|
// Scope the constructor's Model lookup to this model's schema (as getItemData does on reload),
|
|
7658
7670
|
// so a same-named model cached from another schema can't supply the property set.
|
|
7659
7671
|
if (modelRecord && !props.schemaName) {
|
|
7660
|
-
const _mod_24 = await import('./tabEvents-
|
|
7672
|
+
const _mod_24 = await import('./tabEvents-DT5ez6io.js');
|
|
7661
7673
|
const _ns_24 = _mod_24.bh;
|
|
7662
7674
|
const { getModelSchemaName } = _ns_24;
|
|
7663
7675
|
const modelSchemaName = await getModelSchemaName(modelRecord.id, db);
|
|
@@ -7762,7 +7774,7 @@ class Item {
|
|
|
7762
7774
|
/* best-effort cache cleanup */
|
|
7763
7775
|
}
|
|
7764
7776
|
try {
|
|
7765
|
-
const { appendOutboxOpAndWait, deleteFiles, startItemOutbox } = await import('./index-
|
|
7777
|
+
const { appendOutboxOpAndWait, deleteFiles, startItemOutbox } = await import('./index-CZMWKXLM.js');
|
|
7766
7778
|
startItemOutbox();
|
|
7767
7779
|
const applied = await appendOutboxOpAndWait({
|
|
7768
7780
|
seedLocalId,
|
|
@@ -7785,7 +7797,7 @@ class Item {
|
|
|
7785
7797
|
for (const [propertyName, value] of pipelineValues) {
|
|
7786
7798
|
const property = await this.waitForPropertyInstance(item, propertyName, timeout);
|
|
7787
7799
|
if (!property) {
|
|
7788
|
-
const _mod_25 = await import('./errors-
|
|
7800
|
+
const _mod_25 = await import('./errors-CnT0fSMK.js');
|
|
7789
7801
|
const _ns_25 = _mod_25.a8;
|
|
7790
7802
|
const { ItemCreateError } = _ns_25;
|
|
7791
7803
|
throw new ItemCreateError(`Item.create: property ${item.modelName}.${propertyName} did not load for item ${item.seedLocalId}; value was not saved`, { code: 'property_not_loaded', modelName: item.modelName, property: propertyName, seedLocalId: item.seedLocalId });
|
|
@@ -7797,14 +7809,14 @@ class Item {
|
|
|
7797
7809
|
}
|
|
7798
7810
|
catch (error) {
|
|
7799
7811
|
if (error instanceof ItemPropertySaveValidationError) {
|
|
7800
|
-
const _mod_26 = await import('./errors-
|
|
7812
|
+
const _mod_26 = await import('./errors-CnT0fSMK.js');
|
|
7801
7813
|
const _ns_26 = _mod_26.a8;
|
|
7802
7814
|
const { ItemCreateValidationError } = _ns_26;
|
|
7803
7815
|
const created = new ItemCreateValidationError(item.modelName, error.validationErrors.map((e) => ({ property: propertyName, code: e.code, message: e.message })));
|
|
7804
7816
|
created.cause = error;
|
|
7805
7817
|
throw created;
|
|
7806
7818
|
}
|
|
7807
|
-
const _mod_27 = await import('./errors-
|
|
7819
|
+
const _mod_27 = await import('./errors-CnT0fSMK.js');
|
|
7808
7820
|
const _ns_27 = _mod_27.a8;
|
|
7809
7821
|
const { ItemCreateError } = _ns_27;
|
|
7810
7822
|
throw new ItemCreateError(`Item.create: failed to save ${item.modelName}.${propertyName} for item ${item.seedLocalId}: ` +
|
|
@@ -8094,11 +8106,11 @@ class Item {
|
|
|
8094
8106
|
}
|
|
8095
8107
|
/** Throws ItemCreateValidationError for unknown keys and values that break their property's rules. */
|
|
8096
8108
|
static async assertValidCreateValues(props, propertyNames, dataTypeByPropertyName, skipKeys) {
|
|
8097
|
-
const _mod_29 = await import('./errors-
|
|
8109
|
+
const _mod_29 = await import('./errors-CnT0fSMK.js');
|
|
8098
8110
|
const _ns_29 = _mod_29.a8;
|
|
8099
8111
|
const { ItemCreateValidationError } = _ns_29;
|
|
8100
|
-
const { getModelPropertyDefinitions, resolvePropertyKey } = await import('./property-
|
|
8101
|
-
const { SchemaValidationService } = await import('./SchemaValidationService-
|
|
8112
|
+
const { getModelPropertyDefinitions, resolvePropertyKey } = await import('./property-iNW1N3vm.js');
|
|
8113
|
+
const { SchemaValidationService } = await import('./SchemaValidationService-CieGrj5c.js');
|
|
8102
8114
|
const validationService = new SchemaValidationService();
|
|
8103
8115
|
const modelName = props.modelName;
|
|
8104
8116
|
const known = new Set(propertyNames);
|
|
@@ -8466,7 +8478,7 @@ class Item {
|
|
|
8466
8478
|
return;
|
|
8467
8479
|
}
|
|
8468
8480
|
// Query initial seed and version data
|
|
8469
|
-
const _mod_31 = await import('./tabEvents-
|
|
8481
|
+
const _mod_31 = await import('./tabEvents-DT5ez6io.js');
|
|
8470
8482
|
const _ns_31 = _mod_31.bg;
|
|
8471
8483
|
const { findSeedRow } = _ns_31;
|
|
8472
8484
|
const seed = await findSeedRow({ localId: seedLocalId, uid: seedUid }, db);
|
|
@@ -8767,7 +8779,7 @@ class Item {
|
|
|
8767
8779
|
return;
|
|
8768
8780
|
}
|
|
8769
8781
|
// Through the outbox (ADR 0019): after the item's pending edits, not before them
|
|
8770
|
-
const { appendOutboxOpAndWait, startItemOutbox, throwItemWriteError } = await import('./index-
|
|
8782
|
+
const { appendOutboxOpAndWait, startItemOutbox, throwItemWriteError } = await import('./index-CZMWKXLM.js');
|
|
8771
8783
|
startItemOutbox();
|
|
8772
8784
|
await appendOutboxOpAndWait({
|
|
8773
8785
|
seedLocalId: context.seedLocalId,
|
|
@@ -8794,5 +8806,5 @@ var Item$1 = /*#__PURE__*/Object.freeze({
|
|
|
8794
8806
|
Item: Item
|
|
8795
8807
|
});
|
|
8796
8808
|
|
|
8797
|
-
export {
|
|
8798
|
-
//# sourceMappingURL=Item-
|
|
8809
|
+
export { runEntityLoad as $, getCorrectId as A, isItemOwned as B, ClearNotSupportedError as C, isPublishedSeedRef as D, propertyKeyFromStoredName as E, currentPropertyRows as F, metadataPropertyGroupKeys as G, compareMetadataRowsLatestFirst as H, Item as I, readMetadataPropertiesById as J, isPublishedMetadataRow as K, getLatestPublishedVersionRow as L, isVersionRevoked as M, readModelMetadataProperties as N, OUTBOX_DEFER_MS as O, metadataPropertyNameForms as P, currentPropertyRow as Q, getLatestVersionRow as R, parseListPropertyValueFromStorage as S, applyContextUpdate as T, isInternalUpdate as U, evictionLog as V, holdChild as W, isEntityTornDown as X, sameEntity as Y, DEFAULT_READY_TIMEOUT_MS as Z, createReactiveProxy as _, appendOutboxOpAndWait as a, createSeed as a$, waitForEntityReady as a0, evictEntities as a1, EntityUnloadedError as a2, entityStatus as a3, releaseEntity as a4, destroyEntity as a5, EntityCache as a6, getGetAdditionalSyncAddresses as a7, modelPropertiesToObject as a8, listRelationEasPropertyName as a9, getPublishExecutor as aA, getRevokeExecutor as aB, getUploadExecutor as aC, getVersionData as aD, isLocalUnsealedDraft as aE, isSeedRowOwned as aF, localUnsealedDraftSql as aG, ownedPublisherSql as aH, ownedSeedsSql as aI, pickLatestMetadataRowPerProperty as aJ, placeholderUidSql as aK, propertyMachine as aL, publisherInAddressListSql as aM, publisherIsInOwnedSet as aN, setAdditionalSyncAddresses as aO, setGetPublisherForNewSeeds as aP, setPublishExecutor as aQ, setRevokeExecutor as aR, setUploadExecutor as aS, getSeedPublisher as aT, deleteStagedFile as aU, storageFileName as aV, STORAGE_SUBDIR as aW, resolveNewSeedFields as aX, lookupPropertySchemaUid as aY, stageStorageContent as aZ, requireStagedFile as a_, easPropertyNameForPublish as aa, metadataStorageName as ab, resolveMetadataPropertyId as ac, storageSeedTransactionId as ad, storageUploadPath as ae, matchMetadataProperty as af, metadataRowsOfProperty as ag, METADATA_LATEST_FIRST_ORDER_SQL as ah, getEasSchemaUidForModel as ai, isStorageSeedRef as aj, isActorStopped as ak, differsFromOriginals as al, onEntityTeardown as am, getStorageTransactionIdForSeedUid as an, latestVersionOrder as ao, otherVersionRowsWithUid as ap, mergeVersionRowInto as aq, findMetadataPropertyByName as ar, storedValueKind as as, resolveStorageDisplay as at, resolvePublisherFromSeedRow as au, PUBLISH_NOT_CONFIGURED_MESSAGE as av, createNewItem as aw, getArweaveUrlForTransaction as ax, getGetPublisherForNewSeeds as ay, getMetadataLatest as az, waitForPendingOutboxOps as b, createMetadata as b0, storageValueRowOf as b1, findSetConflict as b2, recordPropertyEdit as b3, setEntityUnloadGraceMs as b4, stopOutbox as b5, evictAllEntities as b6, currentPropertyRow$1 as b7, resolve as b8, conflicts as b9, propertySchemaUid as ba, Item$1 as bb, OUTBOX_MAX_ATTEMPTS as c, OUTBOX_PRUNE_AFTER_MS as d, OUTBOX_PRUNE_FAILED_AFTER_MS as e, OUTBOX_RETRY_DELAYS_MS as f, getOutboxOps as g, OutboxOpDeferredError as h, OutboxOpFailedError as i, OutboxOpRejectedError as j, appendOutboxOp as k, drainOutbox as l, markPropertyConflictsResolved as m, getItemConflicts as n, outboxOpResult as o, getPendingSetValue as p, getPropertyConflict as q, outboxOpValue as r, pruneOutbox as s, registerOutboxApplier as t, startOutbox as u, ItemProperty as v, waitForOutboxOp as w, ItemPropertySaveValidationError as x, OwnershipError as y, assertItemOwned as z };
|
|
8810
|
+
//# sourceMappingURL=Item-oPnmIehk.js.map
|