@seedprotocol/query 0.6.6 → 0.6.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.
@@ -0,0 +1,3 @@
1
+ export * from './index.js';
2
+ export { FileCache } from './cache/FileCache.js';
3
+ //# sourceMappingURL=index.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.node.d.ts","sourceRoot":"","sources":["../src/index.node.ts"],"names":[],"mappings":"AAKA,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { a as e, i as t, o as n, r as ee, t as r } from "./types-DHRoT30t.js";
2
+ import { A as i, B as a, C as o, D as s, E as c, F as l, G as u, H as d, I as f, J as p, K as m, L as h, M as g, N as _, O as v, P as y, R as b, S as x, T as S, U as C, V as w, W as T, X as te, Y as E, Z as D, _ as O, a as k, b as A, c as j, d as M, f as N, g as P, h as F, i as I, j as L, k as R, l as z, m as B, n as V, o as H, p as U, q as W, r as G, s as K, t as q, u as J, v as Y, w as X, x as Z, y as Q, z as ne } from "./src-D2LHcfAN.js";
3
+ import { t as $ } from "./FileCache-BZ2cHsU3.js";
4
+ //#region src/index.node.ts
5
+ F((e) => new $(e));
6
+ //#endregion
7
+ export { B as CacheManager, ee as DEFAULT_ARWEAVE_HOST, g as FEED_RICH_BODY_STORAGE_SCHEMAS, $ as FileCache, _ as RICH_BODY_STORAGE_SCHEMAS, O as applyChangelogFilters, P as assembleSeedChangelog, o as assembleSeeds, r as buildAssembleOptionsKey, Y as buildFlatSnapshotFromProperties, Q as changelogValuesEqual, H as clearLocalQuerySource, J as createQueryCacheManager, X as createRemoteQueryDataSource, A as decodePropertyAttestation, Z as diffPropertyAttestations, x as diffVersionSnapshots, m as enrichImageSeedClone, W as enrichImageSeedCloneForFeed, y as feedRichBodyModelPriority, D as getArweaveUrlForTransaction, l as getFeedFieldStorageModels, f as getFeedListElementStorageModels, h as getFieldStorageModels, b as getListElementStorageModels, M as getQueryCacheManager, K as getRegisteredLocalQuerySource, S as getRemoteQueryDataSource, q as getSeed, j as hasLocalQuerySource, R as hydrateArweaveRichTextInFeedItems, i as hydrateArweaveRichTextInItems, t as initializeQueryPlatform, L as isArweaveTransactionGatewayUrl, ne as isFeedRichBodyStorageSchema, e as isQueryPlatformInitialized, a as isRichBodyStorageSchema, U as loadQueryCacheConfig, I as normalizeSourceMode, s as parseEasPropertyMetadata, v as parseEasPropertyMetadataForFeed, c as parseEasRelationPropertyName, p as publicListRelationPropertyKey, V as queryBySchema, G as queryBySchemaForMonth, z as registerLocalQuerySource, N as resetQueryCacheManager, k as resolveQuerySource, w as richBodyModelPriority, d as setFeedFieldStorageModel, C as setFeedListElementStorageModels, T as setFieldStorageModel, u as setListElementStorageModels, E as stripListRelationStorageAliasesForPublicKey, n as teardownQueryPlatform, te as tryCoerceJsonStringArray };
8
+
9
+ //# sourceMappingURL=index.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.node.js","names":[],"sources":["../src/index.node.ts"],"sourcesContent":["import { FileCache } from './cache/FileCache.js'\nimport { configurePersistentCacheFactory } from './cache/CacheManager.js'\n\nconfigurePersistentCacheFactory((config) => new FileCache(config))\n\nexport * from './index.js'\nexport { FileCache } from './cache/FileCache.js'\n"],"mappings":";;;;AAGA,GAAiC,MAAW,IAAI,EAAU,CAAM,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { initializeQueryPlatform, teardownQueryPlatform, isQueryPlatformInitialized } from '../bootstrap.js';
2
2
  export type { InitializeQueryPlatformOptions } from '../bootstrap.js';
3
+ export { FileCache } from '../cache/FileCache.js';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5G,YAAY,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5G,YAAY,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAA;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA"}
package/dist/node.js CHANGED
@@ -1,2 +1,3 @@
1
- import { i as e, n as t, r as n } from "./bootstrap-DQZ8ehyx.js";
2
- export { t as initializeQueryPlatform, n as isQueryPlatformInitialized, e as teardownQueryPlatform };
1
+ import { a as e, i as t, o as n } from "./types-DHRoT30t.js";
2
+ import { t as r } from "./FileCache-BZ2cHsU3.js";
3
+ export { r as FileCache, t as initializeQueryPlatform, e as isQueryPlatformInitialized, n as teardownQueryPlatform };
@@ -5,6 +5,8 @@ export type ParsedEasRelationPropertyName = {
5
5
  };
6
6
  /**
7
7
  * Parse EAS relation property naming: `{singular}_{model}_id` or `{singular}_{model}_ids`.
8
+ * Lists map back to the plural schema key the same way publicListRelationPropertyKey does
9
+ * (`author_identity_ids` → `authors`, `staff_identity_ids` → `staff`); single relations keep the singular.
8
10
  * Returns null when the name does not match the expected shape.
9
11
  */
10
12
  export declare function parseEasRelationPropertyName(easPropertyName: string): ParsedEasRelationPropertyName | null;
@@ -1 +1 @@
1
- {"version":3,"file":"parseEasRelationPropertyName.d.ts","sourceRoot":"","sources":["../src/parseEasRelationPropertyName.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,eAAe,EAAE,MAAM,GACtB,6BAA6B,GAAG,IAAI,CAQtC"}
1
+ {"version":3,"file":"parseEasRelationPropertyName.d.ts","sourceRoot":"","sources":["../src/parseEasRelationPropertyName.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,eAAe,EAAE,MAAM,GACtB,6BAA6B,GAAG,IAAI,CAUtC"}