@seedprotocol/sdk 0.1.67 → 0.1.69
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-BJn9UAOX.js → index-VSlWKRIZ.js} +6 -6
- package/dist/index-VSlWKRIZ.js.map +1 -0
- package/dist/{index-nGDuz8NN.js → index-YshZfGRu.js} +569 -535
- package/dist/index-YshZfGRu.js.map +1 -0
- package/dist/main.js +4 -4
- package/dist/{seed.schema.config-miFErQ6h.js → seed.schema.config-BEvGEHkp.js} +5 -5
- package/dist/{seed.schema.config-miFErQ6h.js.map → seed.schema.config-BEvGEHkp.js.map} +1 -1
- package/dist/src/createMetadata.ts +4 -0
- package/dist/src/getItems.ts +2 -0
- package/dist/src/getVersionData.ts +1 -1
- package/dist/src/hydrateFromDb.ts +19 -0
- package/dist/src/propertyMachine.ts +12 -0
- package/dist/src/saveImageSrc.ts +11 -2
- package/dist/src/updateItemPropertyValue.ts +230 -0
- package/dist/src/write.ts +2 -228
- package/dist/types/src/browser/db/read/getItems.d.ts.map +1 -1
- package/dist/types/src/browser/db/read/getVersionData.d.ts +1 -1
- package/dist/types/src/browser/db/read/getVersionData.d.ts.map +1 -1
- package/dist/types/src/browser/db/write/createMetadata.d.ts.map +1 -1
- package/dist/types/src/browser/db/write/updateItemPropertyValue.d.ts +5 -0
- package/dist/types/src/browser/db/write/updateItemPropertyValue.d.ts.map +1 -0
- package/dist/types/src/browser/db/write.d.ts +0 -16
- package/dist/types/src/browser/db/write.d.ts.map +1 -1
- package/dist/types/src/browser/property/actors/hydrateFromDb.d.ts.map +1 -1
- package/dist/types/src/browser/property/actors/saveValueToDb/index.d.ts.map +1 -1
- package/dist/types/src/browser/property/actors/saveValueToDb/saveImageSrc.d.ts.map +1 -1
- package/dist/types/src/browser/property/propertyMachine.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-BJn9UAOX.js.map +0 -1
- package/dist/index-nGDuz8NN.js.map +0 -1
package/dist/src/write.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { generateId } from '@/shared/helpers'
|
|
2
2
|
import { ModelValues } from '@/types'
|
|
3
|
-
import { escapeSqliteString } from '@/shared/helpers/db'
|
|
4
|
-
import { getSeedData } from '@/browser/db/read/getSeedData'
|
|
5
|
-
import { getVersionData } from '@/browser/db/read/getVersionData'
|
|
6
3
|
import debug from 'debug'
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { appState, metadata, MetadataType, seeds } from '@/shared/seedSchema'
|
|
4
|
+
import { getAppDb } from '@/browser/db/sqlWasmClient'
|
|
5
|
+
import { appState, MetadataType, seeds } from '@/shared/seedSchema'
|
|
10
6
|
import { createVersion } from '@/browser/db/write/createVersion'
|
|
11
7
|
import { createMetadata } from '@/browser/db/write/createMetadata'
|
|
12
8
|
import { getModel } from '@/browser/stores/modelClass'
|
|
13
|
-
import { and, eq, sql } from 'drizzle-orm'
|
|
14
9
|
|
|
15
10
|
const logger = debug('app:write')
|
|
16
11
|
|
|
@@ -21,13 +16,6 @@ type CreateSeedProps = {
|
|
|
21
16
|
|
|
22
17
|
type CreateSeed = (props: CreateSeedProps) => Promise<string>
|
|
23
18
|
|
|
24
|
-
const sendItemUpdateEvent = ({ modelName, seedLocalId, seedUid }) => {
|
|
25
|
-
if (!modelName || (!seedLocalId && !seedUid)) {
|
|
26
|
-
return
|
|
27
|
-
}
|
|
28
|
-
eventEmitter.emit(`item.${modelName}.${seedUid || seedLocalId}.update`)
|
|
29
|
-
}
|
|
30
|
-
|
|
31
19
|
export const createSeed: CreateSeed = async ({ type, seedUid }) => {
|
|
32
20
|
const appDb = getAppDb()
|
|
33
21
|
|
|
@@ -118,220 +106,6 @@ export const createNewItem: CreateNewItem = async ({
|
|
|
118
106
|
}
|
|
119
107
|
}
|
|
120
108
|
|
|
121
|
-
type UpdateItemPropertyValueProps = {
|
|
122
|
-
propertyLocalId?: string
|
|
123
|
-
propertyName?: string
|
|
124
|
-
newValue: any
|
|
125
|
-
seedLocalId?: string
|
|
126
|
-
seedUid?: string
|
|
127
|
-
modelName?: string
|
|
128
|
-
refResolvedValue?: string
|
|
129
|
-
refResolvedDisplayValue?: string
|
|
130
|
-
refSeedType?: string
|
|
131
|
-
versionLocalId?: string
|
|
132
|
-
versionUid?: string
|
|
133
|
-
schemaUid?: string
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
type UpdateItemPropertyValue = (
|
|
137
|
-
props: UpdateItemPropertyValueProps,
|
|
138
|
-
) => Promise<void>
|
|
139
|
-
|
|
140
|
-
export const updateItemPropertyValue: UpdateItemPropertyValue = async ({
|
|
141
|
-
propertyLocalId,
|
|
142
|
-
propertyName,
|
|
143
|
-
newValue,
|
|
144
|
-
seedUid,
|
|
145
|
-
seedLocalId,
|
|
146
|
-
modelName,
|
|
147
|
-
refSeedType,
|
|
148
|
-
refResolvedValue,
|
|
149
|
-
refResolvedDisplayValue,
|
|
150
|
-
versionLocalId,
|
|
151
|
-
versionUid,
|
|
152
|
-
schemaUid,
|
|
153
|
-
}) => {
|
|
154
|
-
if (!propertyLocalId && !seedLocalId) {
|
|
155
|
-
logger(
|
|
156
|
-
`[db/write] [updateItemPropertyValue] no propertyLocalId or seedLocalId for property: ${propertyName}`,
|
|
157
|
-
)
|
|
158
|
-
return
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
let safeNewValue = newValue
|
|
162
|
-
|
|
163
|
-
if (
|
|
164
|
-
typeof newValue === 'string' &&
|
|
165
|
-
!refResolvedDisplayValue &&
|
|
166
|
-
!refResolvedValue
|
|
167
|
-
) {
|
|
168
|
-
safeNewValue = escapeSqliteString(newValue)
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
const appDb = getAppDb()
|
|
172
|
-
|
|
173
|
-
const mostRecentRecordQuery = await appDb
|
|
174
|
-
.select()
|
|
175
|
-
.from(metadata)
|
|
176
|
-
.where(
|
|
177
|
-
and(
|
|
178
|
-
eq(metadata.propertyName, propertyName!),
|
|
179
|
-
eq(metadata.seedLocalId, seedLocalId!),
|
|
180
|
-
),
|
|
181
|
-
)
|
|
182
|
-
.orderBy(sql.raw('COALESCE(attestation_created_at, created_at) DESC'))
|
|
183
|
-
|
|
184
|
-
const mostRecentRecordStatement = `SELECT local_id,
|
|
185
|
-
uid,
|
|
186
|
-
property_name,
|
|
187
|
-
property_value,
|
|
188
|
-
model_type,
|
|
189
|
-
seed_uid,
|
|
190
|
-
seed_local_id,
|
|
191
|
-
version_local_id,
|
|
192
|
-
version_uid,
|
|
193
|
-
schema_uid,
|
|
194
|
-
eas_data_type
|
|
195
|
-
FROM metadata
|
|
196
|
-
WHERE property_name = '${propertyName}'
|
|
197
|
-
AND seed_local_id = '${seedLocalId}'
|
|
198
|
-
ORDER BY COALESCE(attestation_created_at, created_at) DESC;`
|
|
199
|
-
|
|
200
|
-
const { rows } = await runQueryForStatement(mostRecentRecordStatement)
|
|
201
|
-
|
|
202
|
-
if (rows && rows.length > 0) {
|
|
203
|
-
const mostRecentRecord = rows[0]
|
|
204
|
-
const localId = mostRecentRecord[0]
|
|
205
|
-
const uid = mostRecentRecord[1]
|
|
206
|
-
const propertyNameFromDb = mostRecentRecord[2]
|
|
207
|
-
const propertyValueFromDb = mostRecentRecord[3]
|
|
208
|
-
const modelType = mostRecentRecord[4]
|
|
209
|
-
const seedUid = mostRecentRecord[5]
|
|
210
|
-
const seedLocalIdFromDb = mostRecentRecord[6]
|
|
211
|
-
const versionLocalId = mostRecentRecord[7]
|
|
212
|
-
const versionUid = mostRecentRecord[8]
|
|
213
|
-
const schemaUid = mostRecentRecord[9]
|
|
214
|
-
const easDataType = mostRecentRecord[10]
|
|
215
|
-
|
|
216
|
-
if (propertyValueFromDb === newValue) {
|
|
217
|
-
logger(
|
|
218
|
-
`[db/write] [updateItemPropertyValue] value is the same as most recent record for property: ${propertyNameFromDb}`,
|
|
219
|
-
)
|
|
220
|
-
return
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// This means we already have a local-only record so we should just update that one
|
|
224
|
-
if (!uid) {
|
|
225
|
-
const updatePropertyStatement = `UPDATE metadata
|
|
226
|
-
SET property_value = '${safeNewValue}',
|
|
227
|
-
ref_seed_type = ${refSeedType ? `'${refSeedType}'` : 'NULL'},
|
|
228
|
-
ref_resolved_value = ${refResolvedValue ? `'${refResolvedValue}'` : 'NULL'},
|
|
229
|
-
ref_resolved_display_value = ${refResolvedDisplayValue ? `'${refResolvedDisplayValue}'` : 'NULL'},
|
|
230
|
-
updated_at = ${Date.now()}
|
|
231
|
-
WHERE local_id = '${localId}';`
|
|
232
|
-
|
|
233
|
-
await runQueryForStatement(updatePropertyStatement)
|
|
234
|
-
|
|
235
|
-
sendItemUpdateEvent({ modelName, seedLocalId, seedUid })
|
|
236
|
-
|
|
237
|
-
return
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
const seedDataFromDb = await getSeedData({ seedLocalId })
|
|
241
|
-
const versionDataFromDb = await getVersionData({ versionLocalId })
|
|
242
|
-
|
|
243
|
-
// Here we don't have a local-only record so we need to create a new one
|
|
244
|
-
const newLocalId = generateId()
|
|
245
|
-
|
|
246
|
-
const newPropertyStatement = `INSERT INTO metadata (local_id,
|
|
247
|
-
property_name,
|
|
248
|
-
property_value,
|
|
249
|
-
model_type,
|
|
250
|
-
seed_uid,
|
|
251
|
-
seed_local_id,
|
|
252
|
-
version_local_id,
|
|
253
|
-
version_uid,
|
|
254
|
-
schema_uid,
|
|
255
|
-
eas_data_type,
|
|
256
|
-
ref_seed_type,
|
|
257
|
-
ref_resolved_value,
|
|
258
|
-
ref_resolved_display_value,
|
|
259
|
-
created_at)
|
|
260
|
-
VALUES ('${newLocalId}',
|
|
261
|
-
'${propertyNameFromDb}',
|
|
262
|
-
'${safeNewValue}',
|
|
263
|
-
'${modelType}',
|
|
264
|
-
${seedDataFromDb?.uid ? `'${seedDataFromDb.uid}'` : 'NULL'},
|
|
265
|
-
'${seedLocalIdFromDb}',
|
|
266
|
-
'${versionLocalId}',
|
|
267
|
-
${versionDataFromDb?.uid ? `'${versionDataFromDb.uid}'` : 'NULL'},
|
|
268
|
-
'${schemaUid}',
|
|
269
|
-
${easDataType ? `'${easDataType}'` : 'NULL'},
|
|
270
|
-
${refSeedType ? `'${refSeedType}'` : 'NULL'},
|
|
271
|
-
${refResolvedValue ? `'${refResolvedValue}'` : 'NULL'},
|
|
272
|
-
${refResolvedDisplayValue ? `'${refResolvedDisplayValue}'` : 'NULL'},
|
|
273
|
-
${Date.now()});`
|
|
274
|
-
|
|
275
|
-
await runQueryForStatement(newPropertyStatement)
|
|
276
|
-
|
|
277
|
-
sendItemUpdateEvent({ modelName, seedLocalId, seedUid })
|
|
278
|
-
|
|
279
|
-
return
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
// Here there are no records for this property on this seed so we should create one
|
|
283
|
-
|
|
284
|
-
const newLocalId = generateId()
|
|
285
|
-
|
|
286
|
-
if (!seedUid) {
|
|
287
|
-
const seedData = await getSeedData({ seedLocalId })
|
|
288
|
-
if (seedData) {
|
|
289
|
-
seedUid = seedData.uid
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
if (!versionUid) {
|
|
294
|
-
const versionData = await getVersionData({ versionLocalId })
|
|
295
|
-
if (versionData) {
|
|
296
|
-
versionUid = versionData.uid
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
const newPropertyStatement = `INSERT INTO metadata (local_id,
|
|
301
|
-
property_name,
|
|
302
|
-
property_value,
|
|
303
|
-
model_type,
|
|
304
|
-
seed_uid,
|
|
305
|
-
seed_local_id,
|
|
306
|
-
version_local_id,
|
|
307
|
-
version_uid,
|
|
308
|
-
schema_uid,
|
|
309
|
-
ref_seed_type,
|
|
310
|
-
ref_resolved_value,
|
|
311
|
-
ref_resolved_display_value,
|
|
312
|
-
created_at)
|
|
313
|
-
VALUES ('${newLocalId}',
|
|
314
|
-
'${propertyName}',
|
|
315
|
-
'${safeNewValue}',
|
|
316
|
-
'${modelName?.toLowerCase()}',
|
|
317
|
-
${seedUid ? `'${seedUid}'` : 'NULL'},
|
|
318
|
-
'${seedLocalId}',
|
|
319
|
-
'${versionLocalId}',
|
|
320
|
-
${versionUid ? `'${versionUid}'` : 'NULL'},
|
|
321
|
-
'${schemaUid}',
|
|
322
|
-
${refSeedType ? `'${refSeedType}'` : 'NULL'},
|
|
323
|
-
${refResolvedValue ? `'${refResolvedValue}'` : 'NULL'},
|
|
324
|
-
${refResolvedDisplayValue ? `'${refResolvedDisplayValue}'` : 'NULL'},
|
|
325
|
-
${Date.now()});`
|
|
326
|
-
|
|
327
|
-
await runQueryForStatement(newPropertyStatement)
|
|
328
|
-
|
|
329
|
-
sendItemUpdateEvent({ modelName, seedLocalId, seedUid })
|
|
330
|
-
|
|
331
|
-
if (!seedLocalId && propertyName && modelName && newValue) {
|
|
332
|
-
// TODO: Does this ever happen? If so, what should we do?
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
109
|
export const writeAppState = async (key: string, value: string) => {
|
|
336
110
|
const appDb = getAppDb()
|
|
337
111
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getItems.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/read/getItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAMlC,KAAK,iBAAiB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,KAAK,YAAY,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;AAErE,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"getItems.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/read/getItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAMlC,KAAK,iBAAiB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,KAAK,YAAY,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;AAErE,eAAO,MAAM,YAAY,EAAE,YAwD1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVersionData.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/read/getVersionData.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAG5D,KAAK,mBAAmB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"getVersionData.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/read/getVersionData.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAG5D,KAAK,mBAAmB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,cAAc,GAAG,CACpB,KAAK,EAAE,mBAAmB,KACvB,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAA;AAEtC,eAAO,MAAM,cAAc,EAAE,cA+B5B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/write/createMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,KAAK,cAAc,GAAG,CACpB,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,EACrC,oBAAoB,CAAC,EAAE,YAAY,GAAG,SAAS,KAC5C,OAAO,CAAC,YAAY,CAAC,CAAA;AAE1B,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"createMetadata.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/write/createMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,KAAK,cAAc,GAAG,CACpB,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,EACrC,oBAAoB,CAAC,EAAE,YAAY,GAAG,SAAS,KAC5C,OAAO,CAAC,YAAY,CAAC,CAAA;AAE1B,eAAO,MAAM,cAAc,EAAE,cA6B5B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MetadataType } from '@/shared/seedSchema';
|
|
2
|
+
type UpdateItemPropertyValue = (props: Partial<MetadataType>) => Promise<void>;
|
|
3
|
+
export declare const updateItemPropertyValue: UpdateItemPropertyValue;
|
|
4
|
+
export {};
|
|
5
|
+
//# sourceMappingURL=updateItemPropertyValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateItemPropertyValue.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/write/updateItemPropertyValue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAiB5D,KAAK,uBAAuB,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;AAE9E,eAAO,MAAM,uBAAuB,EAAE,uBAgNrC,CAAA"}
|
|
@@ -14,22 +14,6 @@ type CreateNewItemReturnType = {
|
|
|
14
14
|
};
|
|
15
15
|
type CreateNewItem = (props: CreateNewItemProps) => Promise<CreateNewItemReturnType>;
|
|
16
16
|
export declare const createNewItem: CreateNewItem;
|
|
17
|
-
type UpdateItemPropertyValueProps = {
|
|
18
|
-
propertyLocalId?: string;
|
|
19
|
-
propertyName?: string;
|
|
20
|
-
newValue: any;
|
|
21
|
-
seedLocalId?: string;
|
|
22
|
-
seedUid?: string;
|
|
23
|
-
modelName?: string;
|
|
24
|
-
refResolvedValue?: string;
|
|
25
|
-
refResolvedDisplayValue?: string;
|
|
26
|
-
refSeedType?: string;
|
|
27
|
-
versionLocalId?: string;
|
|
28
|
-
versionUid?: string;
|
|
29
|
-
schemaUid?: string;
|
|
30
|
-
};
|
|
31
|
-
type UpdateItemPropertyValue = (props: UpdateItemPropertyValueProps) => Promise<void>;
|
|
32
|
-
export declare const updateItemPropertyValue: UpdateItemPropertyValue;
|
|
33
17
|
export declare const writeAppState: (key: string, value: string) => Promise<void>;
|
|
34
18
|
export {};
|
|
35
19
|
//# sourceMappingURL=write.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../../../../../src/browser/db/write.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../../../../../src/browser/db/write.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAUrC,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;AAE7D,eAAO,MAAM,UAAU,EAAE,UAaxB,CAAA;AAYD,KAAK,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG;IACpD,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,KAAK,aAAa,GAAG,CACnB,KAAK,EAAE,kBAAkB,KACtB,OAAO,CAAC,uBAAuB,CAAC,CAAA;AAErC,eAAO,MAAM,aAAa,EAAE,aAkD3B,CAAA;AAED,eAAO,MAAM,aAAa,QAAe,MAAM,SAAS,MAAM,kBAe7D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hydrateFromDb.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/property/actors/hydrateFromDb.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"hydrateFromDb.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/property/actors/hydrateFromDb.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa,KA+QzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/property/actors/saveValueToDb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/property/actors/saveValueToDb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAEL,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AAGzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AAEjC,eAAO,MAAM,YAAY,8HA4FvB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveImageSrc.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/property/actors/saveValueToDb/saveImageSrc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAEL,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"saveImageSrc.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/property/actors/saveValueToDb/saveImageSrc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAEL,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AAyDzB,eAAO,MAAM,YAAY,8HA0JvB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyMachine.d.ts","sourceRoot":"","sources":["../../../../../src/browser/property/propertyMachine.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"propertyMachine.d.ts","sourceRoot":"","sources":["../../../../../src/browser/property/propertyMachine.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,eAAe,KAmN1B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-BJn9UAOX.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|