@seedprotocol/sdk 0.7.5-next.871.g8788c94 → 0.7.5
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/{BasePathResolver-B-fK7_N_.js → BasePathResolver-CBTXCMFL.js} +18 -4
- package/dist/BasePathResolver-CBTXCMFL.js.map +1 -0
- package/dist/{ClientManager-C7VkO5Hg.js → ClientManager-DRf4uuei.js} +48 -48
- package/dist/ClientManager-DRf4uuei.js.map +1 -0
- package/dist/{Item-BDmsdNTQ.js → Item-DTJPMjFk.js} +69 -56
- package/dist/Item-DTJPMjFk.js.map +1 -0
- package/dist/{ModelProperty-Cqw6yn7y.js → ModelProperty-Dto5C0om.js} +65 -30
- package/dist/ModelProperty-Dto5C0om.js.map +1 -0
- package/dist/{Schema-BJLYOUgp.js → Schema-8DxGcORY.js} +38 -36
- package/dist/{Schema-BJLYOUgp.js.map → Schema-8DxGcORY.js.map} +1 -1
- package/dist/{SchemaValidationService-CzybXLiS.js → SchemaValidationService-CE92y1TT.js} +6 -6
- package/dist/{SchemaValidationService-CzybXLiS.js.map → SchemaValidationService-CE92y1TT.js.map} +1 -1
- package/dist/{backfillMetadataPropertyIds-DAsETfD_.js → backfillMetadataPropertyIds-CRqp-BqX.js} +3 -3
- package/dist/{backfillMetadataPropertyIds-DAsETfD_.js.map → backfillMetadataPropertyIds-CRqp-BqX.js.map} +1 -1
- package/dist/{configurePlatform-CFQF_i1T.js → configurePlatform-D4aGjKNk.js} +2 -2
- package/dist/{configurePlatform-CFQF_i1T.js.map → configurePlatform-D4aGjKNk.js.map} +1 -1
- package/dist/{detachRowsBeforeDelete-D4gxxk46.js → detachRowsBeforeDelete-BVetHtn2.js} +2 -2
- package/dist/{detachRowsBeforeDelete-D4gxxk46.js.map → detachRowsBeforeDelete-BVetHtn2.js.map} +1 -1
- package/dist/{discardNewDraft-g8w3uHFM.js → discardNewDraft-CEOouygG.js} +5 -5
- package/dist/{discardNewDraft-g8w3uHFM.js.map → discardNewDraft-CEOouygG.js.map} +1 -1
- package/dist/{eas-BcXZ2hIn.js → eas-D7jvWMnI.js} +3 -3
- package/dist/{eas-BcXZ2hIn.js.map → eas-D7jvWMnI.js.map} +1 -1
- package/dist/{errors-CCMxedOB.js → errors-CIrbsN_i.js} +43 -38
- package/dist/errors-CIrbsN_i.js.map +1 -0
- package/dist/{getItem-BUs1Xa48.js → getItem-CxU_kT5W.js} +4 -4
- package/dist/{getItem-BUs1Xa48.js.map → getItem-CxU_kT5W.js.map} +1 -1
- package/dist/{getPublishPayload-CwNOhnir.js → getPublishPayload-DTjOKd3y.js} +13 -13
- package/dist/{getPublishPayload-CwNOhnir.js.map → getPublishPayload-DTjOKd3y.js.map} +1 -1
- package/dist/{getPublishUploads-pEOrXJbF.js → getPublishUploads-CVTBo_OV.js} +6 -6
- package/dist/{getPublishUploads-pEOrXJbF.js.map → getPublishUploads-CVTBo_OV.js.map} +1 -1
- package/dist/{index-zAs84LDi.js → index-CMxEil8T.js} +8 -8
- package/dist/index-CMxEil8T.js.map +1 -0
- package/dist/{index-BQSK-r_A.js → index-DWK-LOUY.js} +2 -2
- package/dist/index-DWK-LOUY.js.map +1 -0
- package/dist/{index.browser-irwaBIj0.js → index.browser-shRXMeB3.js} +10 -10
- package/dist/{index.browser-irwaBIj0.js.map → index.browser-shRXMeB3.js.map} +1 -1
- package/dist/{index.node-BYkndQN7.js → index.node-DAKJNYp5.js} +20 -6
- package/dist/index.node-DAKJNYp5.js.map +1 -0
- package/dist/main.js +22 -22
- package/dist/node.js +10 -10
- package/dist/platform.browser.js +5 -5
- package/dist/platform.node.js +4 -4
- package/dist/{property-5AD2naVS.js → property-lz9yIpyA.js} +6 -6
- package/dist/{property-5AD2naVS.js.map → property-lz9yIpyA.js.map} +1 -1
- package/dist/{propertyValidationRules-Bdgz0Nrr.js → propertyValidationRules-LuIwoQoJ.js} +6 -6
- package/dist/{propertyValidationRules-Bdgz0Nrr.js.map → propertyValidationRules-LuIwoQoJ.js.map} +1 -1
- package/dist/{publishDraftGraph-DGhC9ifI.js → publishDraftGraph-CgSLPKvQ.js} +6 -6
- package/dist/{publishDraftGraph-DGhC9ifI.js.map → publishDraftGraph-CgSLPKvQ.js.map} +1 -1
- package/dist/{resetAmbiguousLegacyItemData-HSB77N9c.js → resetAmbiguousLegacyItemData-CuamkAAh.js} +2 -2
- package/dist/{resetAmbiguousLegacyItemData-HSB77N9c.js.map → resetAmbiguousLegacyItemData-CuamkAAh.js.map} +1 -1
- package/dist/{resolveModelForSyncedSeed-CAKAJgr6.js → resolveModelForSyncedSeed-BbSctSvz.js} +2 -2
- package/dist/{resolveModelForSyncedSeed-CAKAJgr6.js.map → resolveModelForSyncedSeed-BbSctSvz.js.map} +1 -1
- package/dist/src/Item/Item.d.ts +5 -0
- package/dist/src/Item/Item.d.ts.map +1 -1
- package/dist/src/ItemProperty/ItemProperty.d.ts.map +1 -1
- package/dist/src/Model/Model.d.ts.map +1 -1
- package/dist/src/Model/service/actors/createModelProperties.d.ts.map +1 -1
- package/dist/src/ModelProperty/ModelProperty.d.ts +17 -0
- package/dist/src/ModelProperty/ModelProperty.d.ts.map +1 -1
- package/dist/src/Schema/Schema.d.ts.map +1 -1
- package/dist/src/client/ClientManager.d.ts +2 -2
- package/dist/src/client/ClientManager.d.ts.map +1 -1
- package/dist/src/client/actors/platformClassesInit.d.ts.map +1 -1
- package/dist/src/helpers/db.d.ts.map +1 -1
- package/dist/src/node/db/Db.d.ts.map +1 -1
- package/dist/{syncDbWithEas-BmJXqfgN.js → syncDbWithEas-CrAY9Rl2.js} +13 -13
- package/dist/{syncDbWithEas-BmJXqfgN.js.map → syncDbWithEas-CrAY9Rl2.js.map} +1 -1
- package/dist/{tabEvents-DXun7vdK.js → tabEvents-BGBYV65P.js} +4 -4
- package/dist/{tabEvents-DXun7vdK.js.map → tabEvents-BGBYV65P.js.map} +1 -1
- package/dist/{tolerantWebAccess-DXxgX2x7.js → tolerantWebAccess-DVHCEulL.js} +6 -6
- package/dist/{tolerantWebAccess-DXxgX2x7.js.map → tolerantWebAccess-DVHCEulL.js.map} +1 -1
- package/dist/{updateSeedRevokedAt-DkLSDwUX.js → updateSeedRevokedAt-Dy5J8CfQ.js} +3 -3
- package/dist/{updateSeedRevokedAt-DkLSDwUX.js.map → updateSeedRevokedAt-Dy5J8CfQ.js.map} +1 -1
- package/package.json +5 -5
- package/dist/BasePathResolver-B-fK7_N_.js.map +0 -1
- package/dist/ClientManager-C7VkO5Hg.js.map +0 -1
- package/dist/Item-BDmsdNTQ.js.map +0 -1
- package/dist/ModelProperty-Cqw6yn7y.js.map +0 -1
- package/dist/errors-CCMxedOB.js.map +0 -1
- package/dist/index-BQSK-r_A.js.map +0 -1
- package/dist/index-zAs84LDi.js.map +0 -1
- package/dist/index.node-BYkndQN7.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { M as Model, T as TModelSchema, a as TModelValues } from './errors-
|
|
2
|
-
import { M as ModelPropertyDataTypes } from './BasePathResolver-
|
|
3
|
-
export { D as DEFAULT_TEXT_MAX_LENGTH, P as Property, T as THtmlEmbeddedDataUriPolicy, a as TProperty, b as TPropertyConstructor, c as TPropertyDataType, d as TPropertyDefs, e as TStorageType, f as TValidationRules, i as isDataType, n as normalizeDataType, g as normalizePropertyRecordSchema } from './BasePathResolver-
|
|
4
|
-
export { getPropertySchema } from './property-
|
|
1
|
+
export { M as Model, T as TModelSchema, a as TModelValues } from './errors-CIrbsN_i.js';
|
|
2
|
+
import { M as ModelPropertyDataTypes } from './BasePathResolver-CBTXCMFL.js';
|
|
3
|
+
export { D as DEFAULT_TEXT_MAX_LENGTH, P as Property, T as THtmlEmbeddedDataUriPolicy, a as TProperty, b as TPropertyConstructor, c as TPropertyDataType, d as TPropertyDefs, e as TStorageType, f as TValidationRules, i as isDataType, n as normalizeDataType, g as normalizePropertyRecordSchema } from './BasePathResolver-CBTXCMFL.js';
|
|
4
|
+
export { getPropertySchema } from './property-lz9yIpyA.js';
|
|
5
5
|
import 'xstate';
|
|
6
6
|
import 'drizzle-orm';
|
|
7
7
|
import 'debug';
|
|
8
|
-
import './Item-
|
|
8
|
+
import './Item-DTJPMjFk.js';
|
|
9
9
|
import 'rxjs';
|
|
10
10
|
import 'pluralize';
|
|
11
11
|
import 'lodash-es';
|
|
12
12
|
import '@seedprotocol/eas';
|
|
13
13
|
import '@seedprotocol/arweave';
|
|
14
|
-
import './tabEvents-
|
|
14
|
+
import './tabEvents-BGBYV65P.js';
|
|
15
15
|
import './model-oHA3YhOd.js';
|
|
16
|
-
import './ClientManager-
|
|
16
|
+
import './ClientManager-DRf4uuei.js';
|
|
17
17
|
import '@noble/hashes/sha3';
|
|
18
18
|
import '@noble/hashes/utils';
|
|
19
19
|
import '@seedprotocol/query';
|
|
@@ -26,4 +26,4 @@ import '@noble/hashes/sha256';
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
export { ModelPropertyDataTypes };
|
|
29
|
-
//# sourceMappingURL=index-
|
|
29
|
+
//# sourceMappingURL=index-CMxEil8T.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CMxEil8T.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as metadata, j as appState, k as arweaveL1FinalizeJobs, l as config, o as easSyncProcesses, p as htmlEmbeddedImageCoPublish, q as modelRelations, r as modelSchemas, s as modelUids, t as models, u as modelsRelations, v as properties, w as propertiesRelations, x as propertyUidRelations, y as propertyUids, z as publishProcesses, A as schemas, C as seeds, E as uploadProcesses, F as versions } from './BasePathResolver-
|
|
1
|
+
import { m as metadata, j as appState, k as arweaveL1FinalizeJobs, l as config, o as easSyncProcesses, p as htmlEmbeddedImageCoPublish, q as modelRelations, r as modelSchemas, s as modelUids, t as models, u as modelsRelations, v as properties, w as propertiesRelations, x as propertyUidRelations, y as propertyUids, z as publishProcesses, A as schemas, C as seeds, E as uploadProcesses, F as versions } from './BasePathResolver-CBTXCMFL.js';
|
|
2
2
|
|
|
3
3
|
var schema = /*#__PURE__*/Object.freeze({
|
|
4
4
|
__proto__: null,
|
|
@@ -25,4 +25,4 @@ var schema = /*#__PURE__*/Object.freeze({
|
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export { schema as s };
|
|
28
|
-
//# sourceMappingURL=index-
|
|
28
|
+
//# sourceMappingURL=index-DWK-LOUY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DWK-LOUY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { K as BasePathResolver, B as BaseDb, j as appState, aB as contentSha256TagMatches, h as BaseFileManager } from './BasePathResolver-
|
|
1
|
+
import { K as BasePathResolver, B as BaseDb, j as appState, aB as contentSha256TagMatches, h as BaseFileManager } from './BasePathResolver-CBTXCMFL.js';
|
|
2
2
|
import { eq, sql } from 'drizzle-orm';
|
|
3
|
-
import { a as withDbTabLock, n as notifyFilesWrittenOutsideCache, b as withSeedDbLock } from './tabEvents-
|
|
3
|
+
import { a as withDbTabLock, n as notifyFilesWrittenOutsideCache, b as withSeedDbLock } from './tabEvents-BGBYV65P.js';
|
|
4
4
|
import { M as MIME_TO_EXTENSION } from './mimeTypes-C9r76DCH.js';
|
|
5
5
|
import debug from 'debug';
|
|
6
6
|
import { F as FileSystemLockedError } from './errors-CrBxGWah.js';
|
|
7
7
|
import { drizzle } from 'drizzle-orm/sqlite-proxy';
|
|
8
8
|
import { sha256 } from '@noble/hashes/sha256';
|
|
9
9
|
import { bytesToHex, utf8ToBytes } from '@noble/hashes/utils';
|
|
10
|
-
import { s as schema } from './index-
|
|
10
|
+
import { s as schema } from './index-DWK-LOUY.js';
|
|
11
11
|
import { SQLocalDrizzle } from 'sqlocal/drizzle';
|
|
12
12
|
import { Observable, distinctUntilChanged } from 'rxjs';
|
|
13
13
|
import { BaseArweaveClient, getPreferredArweaveReadBaseUrls, fetchArweaveRawFromBaseUrl, GET_TRANSACTION_TAGS } from '@seedprotocol/arweave';
|
|
@@ -15,7 +15,7 @@ import { GraphQLClient } from 'graphql-request';
|
|
|
15
15
|
import Arweave from 'arweave';
|
|
16
16
|
import { getEasEndpoint, BaseEasClient, BaseQueryClient } from '@seedprotocol/eas';
|
|
17
17
|
import { QueryClient } from '@tanstack/react-query';
|
|
18
|
-
import './configurePlatform-
|
|
18
|
+
import './configurePlatform-D4aGjKNk.js';
|
|
19
19
|
|
|
20
20
|
class BrowserPathResolver {
|
|
21
21
|
/** @deprecated Prefer BasePathResolver static methods or configure(). */
|
|
@@ -1448,8 +1448,8 @@ class BrowserFileManager {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
async initializeFileSystem(_workingDir) {
|
|
1450
1450
|
const zenfs = await this.getFs();
|
|
1451
|
-
const { TolerantWebAccess, TolerantWebAccessFS } = await import('./tolerantWebAccess-
|
|
1452
|
-
const _mod_0 = await import('./tabEvents-
|
|
1451
|
+
const { TolerantWebAccess, TolerantWebAccessFS } = await import('./tolerantWebAccess-DVHCEulL.js');
|
|
1452
|
+
const _mod_0 = await import('./tabEvents-BGBYV65P.js');
|
|
1453
1453
|
const _ns_0 = _mod_0.t;
|
|
1454
1454
|
const { queueFilesChangedNotice } = _ns_0;
|
|
1455
1455
|
const { configureSingle } = zenfs;
|
|
@@ -1518,7 +1518,7 @@ class BrowserFileManager {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
async invalidateNow(filePaths) {
|
|
1520
1520
|
const { mounts } = await this.getFs();
|
|
1521
|
-
const { TolerantWebAccessFS } = await import('./tolerantWebAccess-
|
|
1521
|
+
const { TolerantWebAccessFS } = await import('./tolerantWebAccess-DVHCEulL.js');
|
|
1522
1522
|
const mounted = mounts.get('/');
|
|
1523
1523
|
if (!(mounted instanceof TolerantWebAccessFS))
|
|
1524
1524
|
return;
|
|
@@ -4057,10 +4057,10 @@ class BrowserDb {
|
|
|
4057
4057
|
await raceSqlocalStartup((async () => {
|
|
4058
4058
|
await this.runMigrations(db);
|
|
4059
4059
|
this.appDb = db;
|
|
4060
|
-
const { backfillMetadataPropertyIds } = await import('./backfillMetadataPropertyIds-
|
|
4060
|
+
const { backfillMetadataPropertyIds } = await import('./backfillMetadataPropertyIds-CRqp-BqX.js');
|
|
4061
4061
|
await backfillMetadataPropertyIds();
|
|
4062
4062
|
// One-time: clear item data whose model can't be determined (seeds.model_file_id, migration 0015)
|
|
4063
|
-
const { resetAmbiguousLegacyItemData } = await import('./resetAmbiguousLegacyItemData-
|
|
4063
|
+
const { resetAmbiguousLegacyItemData } = await import('./resetAmbiguousLegacyItemData-CuamkAAh.js');
|
|
4064
4064
|
await resetAmbiguousLegacyItemData();
|
|
4065
4065
|
})(), workerFailed);
|
|
4066
4066
|
return this.appDb;
|
|
@@ -4525,4 +4525,4 @@ function createPlatformServices() {
|
|
|
4525
4525
|
}
|
|
4526
4526
|
|
|
4527
4527
|
export { createPlatformServices as c, isSkippableOpfsEntryError as i };
|
|
4528
|
-
//# sourceMappingURL=index.browser-
|
|
4528
|
+
//# sourceMappingURL=index.browser-shRXMeB3.js.map
|