@seedprotocol/sdk 0.1.87 → 0.1.88
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/{index-DJp1Qso_.js → index-CtxwCE0C.js} +5 -5
- package/dist/index-CtxwCE0C.js.map +1 -0
- package/dist/{index-SVIgggAW.js → index-DtqQJ3vS.js} +2 -2
- package/dist/{index-SVIgggAW.js.map → index-DtqQJ3vS.js.map} +1 -1
- package/dist/main.js +1 -1
- package/dist/{seed.schema.config-BgHYymrQ.js → seed.schema.config-BL0wlKbs.js} +2 -2
- package/dist/{seed.schema.config-BgHYymrQ.js.map → seed.schema.config-BL0wlKbs.js.map} +1 -1
- package/dist/src/actors.ts +7 -289
- package/dist/src/hydrateFromDb.ts +1 -1
- package/dist/src/index.ts +4 -73
- package/package.json +1 -1
- package/dist/index-DJp1Qso_.js.map +0 -1
|
@@ -1057,12 +1057,12 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
|
|
|
1057
1057
|
resolvedValue: refResolvedValue,
|
|
1058
1058
|
resolvedDisplayValue: refResolvedDisplayValue,
|
|
1059
1059
|
renderValue: refResolvedDisplayValue,
|
|
1060
|
-
|
|
1060
|
+
populatedFromDb: true,
|
|
1061
1061
|
});
|
|
1062
1062
|
if (propertyRecordSchema &&
|
|
1063
1063
|
propertyRecordSchema.storageType &&
|
|
1064
1064
|
propertyRecordSchema.storageType === 'ItemStorage') {
|
|
1065
|
-
const { Item } = yield import('./index-
|
|
1065
|
+
const { Item } = yield import('./index-DtqQJ3vS.js');
|
|
1066
1066
|
const item = yield Item.find({
|
|
1067
1067
|
seedLocalId,
|
|
1068
1068
|
modelName: itemModelName,
|
|
@@ -2629,7 +2629,7 @@ const addModelsToDb = fromCallback(({ sendBack, input: { context } }) => {
|
|
|
2629
2629
|
if (!models$1) {
|
|
2630
2630
|
return;
|
|
2631
2631
|
}
|
|
2632
|
-
const { models: SeedModels } = yield import('./seed.schema.config-
|
|
2632
|
+
const { models: SeedModels } = yield import('./seed.schema.config-BL0wlKbs.js');
|
|
2633
2633
|
const allModels = Object.assign(Object.assign({}, SeedModels), models$1);
|
|
2634
2634
|
let hasModelsInDb = false;
|
|
2635
2635
|
const schemaDefsByModelName = new Map();
|
|
@@ -6631,7 +6631,7 @@ const client = {
|
|
|
6631
6631
|
console.error('fs listeners not ready during init');
|
|
6632
6632
|
}
|
|
6633
6633
|
globalService.send({ type: 'init', endpoints, models, addresses });
|
|
6634
|
-
import('./seed.schema.config-
|
|
6634
|
+
import('./seed.schema.config-BL0wlKbs.js').then(({ models }) => {
|
|
6635
6635
|
for (const [key, value] of Object.entries(models)) {
|
|
6636
6636
|
setModel(key, value);
|
|
6637
6637
|
}
|
|
@@ -7569,4 +7569,4 @@ if (isNode()) {
|
|
|
7569
7569
|
}
|
|
7570
7570
|
|
|
7571
7571
|
export { GET_SCHEMAS as G, Item as I, Json as J, List as L, Model as M, Property as P, Relation as R, Text as T, GET_SCHEMA_BY_NAME as a, GET_SEEDS as b, GET_SEED_IDS as c, GET_STORAGE_TRANSACTION_ID as d, GET_VERSIONS as e, GET_PROPERTIES as f, GET_ALL_PROPERTIES_FOR_ALL_VERSIONS as g, itemMachineAll as h, itemMachineSingle as i, ImageSrc as j, ItemProperty as k, useItem as l, useItemProperties as m, useCreateItem as n, useItemProperty as o, useDeleteItem as p, useGlobalServiceStatus as q, useServices as r, getGlobalService as s, client as t, useItems as u, getCorrectId as v, withSeed as w };
|
|
7572
|
-
//# sourceMappingURL=index-
|
|
7572
|
+
//# sourceMappingURL=index-CtxwCE0C.js.map
|