@seed-hypermedia/client 0.0.93 → 0.0.95

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.
Files changed (34) hide show
  1. package/dist/auto-link.mjs +3 -3
  2. package/dist/blocks-to-markdown.mjs +2 -2
  3. package/dist/capability.mjs +2 -2
  4. package/dist/{chunk-QSQCVGXA.mjs → chunk-2JLNS6YU.mjs} +1 -1
  5. package/dist/{chunk-OO2BEP54.mjs → chunk-32JNJI2C.mjs} +2 -2
  6. package/dist/{chunk-SU2G6KVP.mjs → chunk-3NYKSLJ4.mjs} +12 -1
  7. package/dist/{chunk-WQ2GBQWJ.mjs → chunk-5YWGB4XU.mjs} +55 -3
  8. package/dist/{chunk-WRPRFXOC.mjs → chunk-6JS7R6XP.mjs} +3 -3
  9. package/dist/{chunk-UBBG2AKS.mjs → chunk-BBJCA2PR.mjs} +1 -1
  10. package/dist/{chunk-D5RC44SE.mjs → chunk-F6A7GGKJ.mjs} +1 -1
  11. package/dist/{chunk-KMRULMJF.mjs → chunk-JSA5TYHQ.mjs} +1 -1
  12. package/dist/{chunk-HWCGZF52.mjs → chunk-JUXVJ5TO.mjs} +1 -1
  13. package/dist/{chunk-KACXO543.mjs → chunk-LFY2IN4N.mjs} +1 -1
  14. package/dist/{chunk-JFNPQEUD.mjs → chunk-MO524BCL.mjs} +1 -1
  15. package/dist/{chunk-NDQHXVP4.mjs → chunk-X3636TQF.mjs} +1 -1
  16. package/dist/{chunk-6GFFLR72.mjs → chunk-X3WUOOPH.mjs} +1 -1
  17. package/dist/{chunk-ZXUKRFF4.mjs → chunk-Y4P6H3KD.mjs} +1 -1
  18. package/dist/client.d.ts +16 -0
  19. package/dist/client.mjs +2 -2
  20. package/dist/comment.mjs +2 -2
  21. package/dist/document-state.mjs +2 -2
  22. package/dist/editorblock-to-hmblock.mjs +2 -2
  23. package/dist/hm-resolver.mjs +2 -2
  24. package/dist/hm-types.d.ts +250 -0
  25. package/dist/hm-types.mjs +1 -1
  26. package/dist/hmblock-to-editorblock.mjs +2 -2
  27. package/dist/index.mjs +13 -13
  28. package/dist/pdf-to-blocks.mjs +3 -3
  29. package/dist/resource-read.mjs +4 -4
  30. package/dist/schema-resolve.mjs +2 -2
  31. package/dist/schema-subtypes.mjs +2 -2
  32. package/dist/tei-to-blocks.mjs +2 -2
  33. package/dist/unicode.mjs +1 -1
  34. package/package.json +1 -1
@@ -4,13 +4,13 @@ import {
4
4
  documentContainsLinkToChild,
5
5
  documentHasSelfQuery,
6
6
  shouldAutoLinkParent
7
- } from "./chunk-OO2BEP54.mjs";
7
+ } from "./chunk-32JNJI2C.mjs";
8
8
  import "./chunk-O5MHN2EO.mjs";
9
9
  import "./chunk-PJ2RFT5A.mjs";
10
- import "./chunk-6GFFLR72.mjs";
10
+ import "./chunk-X3WUOOPH.mjs";
11
11
  import "./chunk-LVAHHQIK.mjs";
12
12
  import "./chunk-DR3HJ6BV.mjs";
13
- import "./chunk-SU2G6KVP.mjs";
13
+ import "./chunk-3NYKSLJ4.mjs";
14
14
  import "./chunk-7P6ASYW6.mjs";
15
15
  export {
16
16
  autoLinkChildToParent,
@@ -7,8 +7,8 @@ import {
7
7
  emitFrontmatter,
8
8
  parseDraftFilename,
9
9
  slugify
10
- } from "./chunk-KACXO543.mjs";
11
- import "./chunk-SU2G6KVP.mjs";
10
+ } from "./chunk-LFY2IN4N.mjs";
11
+ import "./chunk-3NYKSLJ4.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
14
14
  blocksToMarkdown,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createCapability,
3
3
  resolveCapability
4
- } from "./chunk-ZXUKRFF4.mjs";
4
+ } from "./chunk-Y4P6H3KD.mjs";
5
5
  import "./chunk-LVAHHQIK.mjs";
6
6
  import "./chunk-NBCHK76Q.mjs";
7
7
  import "./chunk-DR3HJ6BV.mjs";
8
- import "./chunk-SU2G6KVP.mjs";
8
+ import "./chunk-3NYKSLJ4.mjs";
9
9
  import "./chunk-3TPCJCVO.mjs";
10
10
  import "./chunk-7P6ASYW6.mjs";
11
11
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  codePointLength
3
- } from "./chunk-SU2G6KVP.mjs";
3
+ } from "./chunk-3NYKSLJ4.mjs";
4
4
 
5
5
  // src/tei-to-blocks.ts
6
6
  function generateBlockId() {
@@ -7,12 +7,12 @@ import {
7
7
  } from "./chunk-PJ2RFT5A.mjs";
8
8
  import {
9
9
  resolveDocumentState
10
- } from "./chunk-6GFFLR72.mjs";
10
+ } from "./chunk-X3WUOOPH.mjs";
11
11
  import {
12
12
  entityQueryPathToHmIdPath,
13
13
  packHmId,
14
14
  unpackHmId
15
- } from "./chunk-SU2G6KVP.mjs";
15
+ } from "./chunk-3NYKSLJ4.mjs";
16
16
 
17
17
  // src/auto-link.ts
18
18
  import { CID } from "multiformats/cid";
@@ -1049,7 +1049,17 @@ var HMQueryRequestSchema = z.object({
1049
1049
  output: HMQueryResultSchema.nullable()
1050
1050
  });
1051
1051
  var HMQueryBlockInputSchema = z.object({
1052
- query: HMQuerySchema
1052
+ query: HMQuerySchema,
1053
+ viewer: z.object({
1054
+ search: z.string().optional(),
1055
+ filters: z.array(
1056
+ z.object({
1057
+ columnId: z.string(),
1058
+ operator: z.enum(["contains", "equals", "greaterThan", "lessThan"]),
1059
+ value: z.string()
1060
+ })
1061
+ ).optional()
1062
+ }).optional()
1053
1063
  });
1054
1064
  var HMListCommentsInputSchema = z.object({
1055
1065
  targetId: unpackedHmIdSchema
@@ -1289,6 +1299,7 @@ var HMQueryBlockPayloadSchema = z.object({
1289
1299
  queryTargetName: z.string(),
1290
1300
  in: unpackedHmIdSchema,
1291
1301
  results: z.array(HMDocumentInfoSchema),
1302
+ totalMatches: z.number().optional(),
1292
1303
  mode: z.union([z.literal("Children"), z.literal("AllDescendants")]).optional(),
1293
1304
  interactionSummaries: z.record(z.string(), HMQueryBlockItemSummarySchema),
1294
1305
  accountsMetadata: HMAccountsMetadataSchema
@@ -15,10 +15,13 @@ import {
15
15
  HMActionSchema,
16
16
  HMRequestSchema,
17
17
  packHmId
18
- } from "./chunk-SU2G6KVP.mjs";
18
+ } from "./chunk-3NYKSLJ4.mjs";
19
19
 
20
20
  // src/client.ts
21
21
  import { encode as cborEncode } from "@ipld/dag-cbor";
22
+ import { blake2b } from "@noble/hashes/blake2.js";
23
+ import { CID } from "multiformats/cid";
24
+ import * as Digest from "multiformats/hashes/digest";
22
25
  import { deserialize } from "superjson";
23
26
  var PRIMITIVE_VALUE_KEY = "__value";
24
27
  function serializeQueryString(data, _schema) {
@@ -62,6 +65,8 @@ function deserializeQueryString(queryString, schema) {
62
65
  }
63
66
  return schema.parse(result);
64
67
  }
68
+ var DAG_CBOR_CODEC = 113;
69
+ var BLAKE2B_256_CODE = 45600;
65
70
  var QUERY_PARAM_SERIALIZERS = {
66
71
  Account: (input) => ({
67
72
  id: input
@@ -175,8 +180,53 @@ function createSeedClient(baseUrl, options) {
175
180
  const deserialized = rawJson && typeof rawJson === "object" && !Array.isArray(rawJson) && "json" in rawJson ? deserialize(rawJson) : rawJson;
176
181
  return requestSchema.shape.output.parse(deserialized);
177
182
  }
178
- function publish(input) {
179
- return request("PublishBlobs", input);
183
+ function daemonBlobCid(data) {
184
+ return CID.createV1(DAG_CBOR_CODEC, Digest.create(BLAKE2B_256_CODE, blake2b(data, { dkLen: 32 }))).toString();
185
+ }
186
+ async function putBlob(blob, options2) {
187
+ const url = `${normalizedBaseUrl}/ipfs/${blob.cid}`;
188
+ const defaultHeaders = await getDefaultHeaders();
189
+ let response;
190
+ try {
191
+ response = await fetchFn(url, {
192
+ method: "POST",
193
+ headers: { "Content-Type": "application/octet-stream", ...defaultHeaders },
194
+ body: new Uint8Array(blob.data),
195
+ signal: options2 == null ? void 0 : options2.signal
196
+ });
197
+ } catch (err) {
198
+ if (isAbortError(err)) throw err;
199
+ throw new SeedNetworkError(
200
+ `Network error storing blob ${blob.cid}: ${err instanceof Error ? err.message : String(err)}`,
201
+ { cause: err }
202
+ );
203
+ }
204
+ if (!response.ok) {
205
+ let errorBody;
206
+ try {
207
+ errorBody = await response.text();
208
+ } catch {
209
+ }
210
+ throw new SeedClientError(
211
+ formatHTTPErrorMessage(`PutBlob ${blob.cid}`, response.status, response.statusText, errorBody),
212
+ response.status,
213
+ errorBody
214
+ );
215
+ }
216
+ }
217
+ async function publish(input) {
218
+ try {
219
+ return await request("PublishBlobs", input);
220
+ } catch (err) {
221
+ if (!(err instanceof SeedClientError && err.status === 413)) throw err;
222
+ const cids = [];
223
+ for (const blob of input.blobs) {
224
+ const cid = blob.cid || daemonBlobCid(blob.data);
225
+ await putBlob({ cid, data: blob.data });
226
+ cids.push(cid);
227
+ }
228
+ return { cids };
229
+ }
180
230
  }
181
231
  async function publishDocument(input, signer) {
182
232
  if (!input.genesis && !input.baseVersion && !input.path) {
@@ -265,6 +315,8 @@ function createSeedClient(baseUrl, options) {
265
315
  request,
266
316
  publish,
267
317
  publishBlobs: publish,
318
+ putBlob,
319
+ daemonBlobCid,
268
320
  publishDocument
269
321
  };
270
322
  }
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  resolveId
3
- } from "./chunk-NDQHXVP4.mjs";
3
+ } from "./chunk-X3636TQF.mjs";
4
4
  import {
5
5
  createSeedClient
6
- } from "./chunk-WQ2GBQWJ.mjs";
6
+ } from "./chunk-5YWGB4XU.mjs";
7
7
  import {
8
8
  unpackHmId
9
- } from "./chunk-SU2G6KVP.mjs";
9
+ } from "./chunk-3NYKSLJ4.mjs";
10
10
 
11
11
  // src/resource-read.ts
12
12
  async function resolveIdWithClient(rawId, options = {}) {
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  packHmId,
22
22
  unpackHmId
23
- } from "./chunk-SU2G6KVP.mjs";
23
+ } from "./chunk-3NYKSLJ4.mjs";
24
24
 
25
25
  // src/schema-resolve.ts
26
26
  var DAG_CBOR_CODE = 113;
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  hmIdPathToEntityQueryPath,
11
11
  packHmId
12
- } from "./chunk-SU2G6KVP.mjs";
12
+ } from "./chunk-3NYKSLJ4.mjs";
13
13
 
14
14
  // src/comment.ts
15
15
  import { decode as cborDecode, encode as cborEncode } from "@ipld/dag-cbor";
@@ -6,7 +6,7 @@ import {
6
6
  HMBlockSchema,
7
7
  codePointLength,
8
8
  toNumber
9
- } from "./chunk-SU2G6KVP.mjs";
9
+ } from "./chunk-3NYKSLJ4.mjs";
10
10
 
11
11
  // src/editorblock-to-hmblock.ts
12
12
  function toHMBlockType(editorBlockType) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-QSQCVGXA.mjs";
3
+ } from "./chunk-2JLNS6YU.mjs";
4
4
  import {
5
5
  embeddedPdfToBlocks
6
6
  } from "./chunk-2FJBS3V7.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  normalizeQuerySort,
3
3
  unpackHmId
4
- } from "./chunk-SU2G6KVP.mjs";
4
+ } from "./chunk-3NYKSLJ4.mjs";
5
5
 
6
6
  // src/blocks-to-markdown.ts
7
7
  import { stringify as stringifyYaml } from "yaml";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isSurrogate
3
- } from "./chunk-SU2G6KVP.mjs";
3
+ } from "./chunk-3NYKSLJ4.mjs";
4
4
 
5
5
  // src/hmblock-to-editorblock.ts
6
6
  function toEditorBlockType(hmBlockType) {
@@ -2,7 +2,7 @@ import {
2
2
  entityQueryPathToHmIdPath,
3
3
  parseFragment,
4
4
  unpackHmId
5
- } from "./chunk-SU2G6KVP.mjs";
5
+ } from "./chunk-3NYKSLJ4.mjs";
6
6
 
7
7
  // src/hm-resolver.ts
8
8
  async function resolveHypermediaUrl(url, opts) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  packHmId,
3
3
  unpackHmId
4
- } from "./chunk-SU2G6KVP.mjs";
4
+ } from "./chunk-3NYKSLJ4.mjs";
5
5
 
6
6
  // src/document-state.ts
7
7
  async function resolveDocumentState(client, targetId) {
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  entityQueryPathToHmIdPath,
9
9
  packBaseId
10
- } from "./chunk-SU2G6KVP.mjs";
10
+ } from "./chunk-3NYKSLJ4.mjs";
11
11
 
12
12
  // src/capability.ts
13
13
  import { base58btc } from "multiformats/bases/base58";
package/dist/client.d.ts CHANGED
@@ -39,8 +39,24 @@ export type SeedClient = {
39
39
  }>['input'], options?: SeedClientRequestOptions): Promise<Extract<HMRequest, {
40
40
  key: K;
41
41
  }>['output']>;
42
+ /**
43
+ * Store blobs. Goes through the site's `PublishBlobs` API; when the site refuses the request
44
+ * body as too large (413 — a site may cap its API bodies at a few KB) and every blob names its
45
+ * CID, the blobs are stored one per request through `putBlob` instead, and the result is the same.
46
+ */
42
47
  publish(input: PublishBlobsRequest['input']): Promise<PublishBlobsRequest['output']>;
43
48
  publishBlobs(input: PublishBlobsRequest['input']): Promise<PublishBlobsRequest['output']>;
49
+ /**
50
+ * Store one blob through the daemon's raw blob endpoint, `POST /ipfs/<cid>`, which every Seed
51
+ * site routes to its daemon with a file-sized body limit. The daemon recomputes the hash and
52
+ * refuses bytes that do not match the CID; a stored blob is indexed like one from `PublishBlobs`.
53
+ */
54
+ putBlob(blob: {
55
+ cid: string;
56
+ data: Uint8Array;
57
+ }, options?: SeedClientRequestOptions): Promise<void>;
58
+ /** The CID the daemon assigns a DAG-CBOR blob published without one (blake2b-256). */
59
+ daemonBlobCid(data: Uint8Array): string;
44
60
  publishDocument(input: PublishDocumentInput, signer: AnySigner): Promise<PublishDocumentResult>;
45
61
  baseUrl: string;
46
62
  };
package/dist/client.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createSeedClient,
3
3
  deserializeQueryString
4
- } from "./chunk-WQ2GBQWJ.mjs";
4
+ } from "./chunk-5YWGB4XU.mjs";
5
5
  import "./chunk-CBELM7KX.mjs";
6
6
  import "./chunk-O5MHN2EO.mjs";
7
7
  import "./chunk-PJ2RFT5A.mjs";
8
8
  import "./chunk-LVAHHQIK.mjs";
9
9
  import "./chunk-DR3HJ6BV.mjs";
10
- import "./chunk-SU2G6KVP.mjs";
10
+ import "./chunk-3NYKSLJ4.mjs";
11
11
  import "./chunk-7P6ASYW6.mjs";
12
12
  export {
13
13
  createSeedClient,
package/dist/comment.mjs CHANGED
@@ -4,11 +4,11 @@ import {
4
4
  deleteComment,
5
5
  trimTrailingEmptyBlocks,
6
6
  updateComment
7
- } from "./chunk-D5RC44SE.mjs";
7
+ } from "./chunk-F6A7GGKJ.mjs";
8
8
  import "./chunk-JKKS35IS.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-SU2G6KVP.mjs";
11
+ import "./chunk-3NYKSLJ4.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
14
14
  commentRecordIdFromBlob,
@@ -4,8 +4,8 @@ import {
4
4
  followToDocument,
5
5
  resolveDocumentState,
6
6
  resolveEditableDocument
7
- } from "./chunk-6GFFLR72.mjs";
8
- import "./chunk-SU2G6KVP.mjs";
7
+ } from "./chunk-X3WUOOPH.mjs";
8
+ import "./chunk-3NYKSLJ4.mjs";
9
9
  import "./chunk-7P6ASYW6.mjs";
10
10
  export {
11
11
  describeRedirect,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  editorBlockToHMBlock,
3
3
  editorBlocksToHMBlockNodes
4
- } from "./chunk-KMRULMJF.mjs";
4
+ } from "./chunk-JSA5TYHQ.mjs";
5
5
  import "./chunk-JKKS35IS.mjs";
6
- import "./chunk-SU2G6KVP.mjs";
6
+ import "./chunk-3NYKSLJ4.mjs";
7
7
  import "./chunk-7P6ASYW6.mjs";
8
8
  export {
9
9
  editorBlockToHMBlock,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  resolveHypermediaUrl,
3
3
  resolveId
4
- } from "./chunk-NDQHXVP4.mjs";
5
- import "./chunk-SU2G6KVP.mjs";
4
+ } from "./chunk-X3636TQF.mjs";
5
+ import "./chunk-3NYKSLJ4.mjs";
6
6
  import "./chunk-7P6ASYW6.mjs";
7
7
  export {
8
8
  resolveHypermediaUrl,
@@ -25735,6 +25735,36 @@ export declare const HMQueryBlockInputSchema: z.ZodObject<{
25735
25735
  }[] | undefined;
25736
25736
  limit?: unknown;
25737
25737
  }>;
25738
+ viewer: z.ZodOptional<z.ZodObject<{
25739
+ search: z.ZodOptional<z.ZodString>;
25740
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
25741
+ columnId: z.ZodString;
25742
+ operator: z.ZodEnum<["contains", "equals", "greaterThan", "lessThan"]>;
25743
+ value: z.ZodString;
25744
+ }, "strip", z.ZodTypeAny, {
25745
+ value: string;
25746
+ columnId: string;
25747
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
25748
+ }, {
25749
+ value: string;
25750
+ columnId: string;
25751
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
25752
+ }>, "many">>;
25753
+ }, "strip", z.ZodTypeAny, {
25754
+ search?: string | undefined;
25755
+ filters?: {
25756
+ value: string;
25757
+ columnId: string;
25758
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
25759
+ }[] | undefined;
25760
+ }, {
25761
+ search?: string | undefined;
25762
+ filters?: {
25763
+ value: string;
25764
+ columnId: string;
25765
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
25766
+ }[] | undefined;
25767
+ }>>;
25738
25768
  }, "strip", z.ZodTypeAny, {
25739
25769
  query: {
25740
25770
  includes: {
@@ -25748,6 +25778,14 @@ export declare const HMQueryBlockInputSchema: z.ZodObject<{
25748
25778
  }[] | undefined;
25749
25779
  limit?: number | undefined;
25750
25780
  };
25781
+ viewer?: {
25782
+ search?: string | undefined;
25783
+ filters?: {
25784
+ value: string;
25785
+ columnId: string;
25786
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
25787
+ }[] | undefined;
25788
+ } | undefined;
25751
25789
  }, {
25752
25790
  query: {
25753
25791
  includes: {
@@ -25761,6 +25799,14 @@ export declare const HMQueryBlockInputSchema: z.ZodObject<{
25761
25799
  }[] | undefined;
25762
25800
  limit?: unknown;
25763
25801
  };
25802
+ viewer?: {
25803
+ search?: string | undefined;
25804
+ filters?: {
25805
+ value: string;
25806
+ columnId: string;
25807
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
25808
+ }[] | undefined;
25809
+ } | undefined;
25764
25810
  }>;
25765
25811
  export type HMQueryBlockInput = z.infer<typeof HMQueryBlockInputSchema>;
25766
25812
  export declare const HMListCommentsInputSchema: z.ZodObject<{
@@ -40748,6 +40794,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
40748
40794
  isCollection?: boolean | undefined;
40749
40795
  firstImageInContent?: string | undefined;
40750
40796
  }>, "many">;
40797
+ totalMatches: z.ZodOptional<z.ZodNumber>;
40751
40798
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
40752
40799
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
40753
40800
  comments: z.ZodNumber;
@@ -41282,6 +41329,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
41282
41329
  hasSite?: boolean | undefined;
41283
41330
  }>;
41284
41331
  mode?: "Children" | "AllDescendants" | undefined;
41332
+ totalMatches?: number | undefined;
41285
41333
  }, {
41286
41334
  in: {
41287
41335
  path: string[] | null;
@@ -41466,6 +41514,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
41466
41514
  hasSite?: boolean | undefined;
41467
41515
  }>;
41468
41516
  mode?: "Children" | "AllDescendants" | undefined;
41517
+ totalMatches?: number | undefined;
41469
41518
  }>;
41470
41519
  export type HMQueryBlockPayload = z.infer<typeof HMQueryBlockPayloadSchema>;
41471
41520
  export declare const HMQueryBlockRequestSchema: z.ZodObject<{
@@ -41525,6 +41574,36 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
41525
41574
  }[] | undefined;
41526
41575
  limit?: unknown;
41527
41576
  }>;
41577
+ viewer: z.ZodOptional<z.ZodObject<{
41578
+ search: z.ZodOptional<z.ZodString>;
41579
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
41580
+ columnId: z.ZodString;
41581
+ operator: z.ZodEnum<["contains", "equals", "greaterThan", "lessThan"]>;
41582
+ value: z.ZodString;
41583
+ }, "strip", z.ZodTypeAny, {
41584
+ value: string;
41585
+ columnId: string;
41586
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
41587
+ }, {
41588
+ value: string;
41589
+ columnId: string;
41590
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
41591
+ }>, "many">>;
41592
+ }, "strip", z.ZodTypeAny, {
41593
+ search?: string | undefined;
41594
+ filters?: {
41595
+ value: string;
41596
+ columnId: string;
41597
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
41598
+ }[] | undefined;
41599
+ }, {
41600
+ search?: string | undefined;
41601
+ filters?: {
41602
+ value: string;
41603
+ columnId: string;
41604
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
41605
+ }[] | undefined;
41606
+ }>>;
41528
41607
  }, "strip", z.ZodTypeAny, {
41529
41608
  query: {
41530
41609
  includes: {
@@ -41538,6 +41617,14 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
41538
41617
  }[] | undefined;
41539
41618
  limit?: number | undefined;
41540
41619
  };
41620
+ viewer?: {
41621
+ search?: string | undefined;
41622
+ filters?: {
41623
+ value: string;
41624
+ columnId: string;
41625
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
41626
+ }[] | undefined;
41627
+ } | undefined;
41541
41628
  }, {
41542
41629
  query: {
41543
41630
  includes: {
@@ -41551,6 +41638,14 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
41551
41638
  }[] | undefined;
41552
41639
  limit?: unknown;
41553
41640
  };
41641
+ viewer?: {
41642
+ search?: string | undefined;
41643
+ filters?: {
41644
+ value: string;
41645
+ columnId: string;
41646
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
41647
+ }[] | undefined;
41648
+ } | undefined;
41554
41649
  }>;
41555
41650
  output: z.ZodNullable<z.ZodObject<{
41556
41651
  queryTargetName: z.ZodString;
@@ -42110,6 +42205,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
42110
42205
  isCollection?: boolean | undefined;
42111
42206
  firstImageInContent?: string | undefined;
42112
42207
  }>, "many">;
42208
+ totalMatches: z.ZodOptional<z.ZodNumber>;
42113
42209
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
42114
42210
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
42115
42211
  comments: z.ZodNumber;
@@ -42644,6 +42740,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
42644
42740
  hasSite?: boolean | undefined;
42645
42741
  }>;
42646
42742
  mode?: "Children" | "AllDescendants" | undefined;
42743
+ totalMatches?: number | undefined;
42647
42744
  }, {
42648
42745
  in: {
42649
42746
  path: string[] | null;
@@ -42828,6 +42925,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
42828
42925
  hasSite?: boolean | undefined;
42829
42926
  }>;
42830
42927
  mode?: "Children" | "AllDescendants" | undefined;
42928
+ totalMatches?: number | undefined;
42831
42929
  }>>;
42832
42930
  }, "strip", z.ZodTypeAny, {
42833
42931
  key: "QueryBlock";
@@ -42844,6 +42942,14 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
42844
42942
  }[] | undefined;
42845
42943
  limit?: number | undefined;
42846
42944
  };
42945
+ viewer?: {
42946
+ search?: string | undefined;
42947
+ filters?: {
42948
+ value: string;
42949
+ columnId: string;
42950
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
42951
+ }[] | undefined;
42952
+ } | undefined;
42847
42953
  };
42848
42954
  output: {
42849
42955
  in: {
@@ -43029,6 +43135,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
43029
43135
  hasSite?: boolean | undefined;
43030
43136
  }>;
43031
43137
  mode?: "Children" | "AllDescendants" | undefined;
43138
+ totalMatches?: number | undefined;
43032
43139
  } | null;
43033
43140
  }, {
43034
43141
  key: "QueryBlock";
@@ -43045,6 +43152,14 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
43045
43152
  }[] | undefined;
43046
43153
  limit?: unknown;
43047
43154
  };
43155
+ viewer?: {
43156
+ search?: string | undefined;
43157
+ filters?: {
43158
+ value: string;
43159
+ columnId: string;
43160
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
43161
+ }[] | undefined;
43162
+ } | undefined;
43048
43163
  };
43049
43164
  output: {
43050
43165
  in: {
@@ -43230,6 +43345,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
43230
43345
  hasSite?: boolean | undefined;
43231
43346
  }>;
43232
43347
  mode?: "Children" | "AllDescendants" | undefined;
43348
+ totalMatches?: number | undefined;
43233
43349
  } | null;
43234
43350
  }>;
43235
43351
  export type HMQueryBlockRequest = z.infer<typeof HMQueryBlockRequestSchema>;
@@ -50555,6 +50671,36 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
50555
50671
  }[] | undefined;
50556
50672
  limit?: unknown;
50557
50673
  }>;
50674
+ viewer: z.ZodOptional<z.ZodObject<{
50675
+ search: z.ZodOptional<z.ZodString>;
50676
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
50677
+ columnId: z.ZodString;
50678
+ operator: z.ZodEnum<["contains", "equals", "greaterThan", "lessThan"]>;
50679
+ value: z.ZodString;
50680
+ }, "strip", z.ZodTypeAny, {
50681
+ value: string;
50682
+ columnId: string;
50683
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
50684
+ }, {
50685
+ value: string;
50686
+ columnId: string;
50687
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
50688
+ }>, "many">>;
50689
+ }, "strip", z.ZodTypeAny, {
50690
+ search?: string | undefined;
50691
+ filters?: {
50692
+ value: string;
50693
+ columnId: string;
50694
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
50695
+ }[] | undefined;
50696
+ }, {
50697
+ search?: string | undefined;
50698
+ filters?: {
50699
+ value: string;
50700
+ columnId: string;
50701
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
50702
+ }[] | undefined;
50703
+ }>>;
50558
50704
  }, "strip", z.ZodTypeAny, {
50559
50705
  query: {
50560
50706
  includes: {
@@ -50568,6 +50714,14 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
50568
50714
  }[] | undefined;
50569
50715
  limit?: number | undefined;
50570
50716
  };
50717
+ viewer?: {
50718
+ search?: string | undefined;
50719
+ filters?: {
50720
+ value: string;
50721
+ columnId: string;
50722
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
50723
+ }[] | undefined;
50724
+ } | undefined;
50571
50725
  }, {
50572
50726
  query: {
50573
50727
  includes: {
@@ -50581,6 +50735,14 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
50581
50735
  }[] | undefined;
50582
50736
  limit?: unknown;
50583
50737
  };
50738
+ viewer?: {
50739
+ search?: string | undefined;
50740
+ filters?: {
50741
+ value: string;
50742
+ columnId: string;
50743
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
50744
+ }[] | undefined;
50745
+ } | undefined;
50584
50746
  }>;
50585
50747
  output: z.ZodNullable<z.ZodObject<{
50586
50748
  queryTargetName: z.ZodString;
@@ -51140,6 +51302,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
51140
51302
  isCollection?: boolean | undefined;
51141
51303
  firstImageInContent?: string | undefined;
51142
51304
  }>, "many">;
51305
+ totalMatches: z.ZodOptional<z.ZodNumber>;
51143
51306
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
51144
51307
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
51145
51308
  comments: z.ZodNumber;
@@ -51674,6 +51837,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
51674
51837
  hasSite?: boolean | undefined;
51675
51838
  }>;
51676
51839
  mode?: "Children" | "AllDescendants" | undefined;
51840
+ totalMatches?: number | undefined;
51677
51841
  }, {
51678
51842
  in: {
51679
51843
  path: string[] | null;
@@ -51858,6 +52022,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
51858
52022
  hasSite?: boolean | undefined;
51859
52023
  }>;
51860
52024
  mode?: "Children" | "AllDescendants" | undefined;
52025
+ totalMatches?: number | undefined;
51861
52026
  }>>;
51862
52027
  }, "strip", z.ZodTypeAny, {
51863
52028
  key: "QueryBlock";
@@ -51874,6 +52039,14 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
51874
52039
  }[] | undefined;
51875
52040
  limit?: number | undefined;
51876
52041
  };
52042
+ viewer?: {
52043
+ search?: string | undefined;
52044
+ filters?: {
52045
+ value: string;
52046
+ columnId: string;
52047
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
52048
+ }[] | undefined;
52049
+ } | undefined;
51877
52050
  };
51878
52051
  output: {
51879
52052
  in: {
@@ -52059,6 +52232,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
52059
52232
  hasSite?: boolean | undefined;
52060
52233
  }>;
52061
52234
  mode?: "Children" | "AllDescendants" | undefined;
52235
+ totalMatches?: number | undefined;
52062
52236
  } | null;
52063
52237
  }, {
52064
52238
  key: "QueryBlock";
@@ -52075,6 +52249,14 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
52075
52249
  }[] | undefined;
52076
52250
  limit?: unknown;
52077
52251
  };
52252
+ viewer?: {
52253
+ search?: string | undefined;
52254
+ filters?: {
52255
+ value: string;
52256
+ columnId: string;
52257
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
52258
+ }[] | undefined;
52259
+ } | undefined;
52078
52260
  };
52079
52261
  output: {
52080
52262
  in: {
@@ -52260,6 +52442,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
52260
52442
  hasSite?: boolean | undefined;
52261
52443
  }>;
52262
52444
  mode?: "Children" | "AllDescendants" | undefined;
52445
+ totalMatches?: number | undefined;
52263
52446
  } | null;
52264
52447
  }>, z.ZodObject<{
52265
52448
  key: z.ZodLiteral<"AccountContacts">;
@@ -68589,6 +68772,36 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
68589
68772
  }[] | undefined;
68590
68773
  limit?: unknown;
68591
68774
  }>;
68775
+ viewer: z.ZodOptional<z.ZodObject<{
68776
+ search: z.ZodOptional<z.ZodString>;
68777
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
68778
+ columnId: z.ZodString;
68779
+ operator: z.ZodEnum<["contains", "equals", "greaterThan", "lessThan"]>;
68780
+ value: z.ZodString;
68781
+ }, "strip", z.ZodTypeAny, {
68782
+ value: string;
68783
+ columnId: string;
68784
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
68785
+ }, {
68786
+ value: string;
68787
+ columnId: string;
68788
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
68789
+ }>, "many">>;
68790
+ }, "strip", z.ZodTypeAny, {
68791
+ search?: string | undefined;
68792
+ filters?: {
68793
+ value: string;
68794
+ columnId: string;
68795
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
68796
+ }[] | undefined;
68797
+ }, {
68798
+ search?: string | undefined;
68799
+ filters?: {
68800
+ value: string;
68801
+ columnId: string;
68802
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
68803
+ }[] | undefined;
68804
+ }>>;
68592
68805
  }, "strip", z.ZodTypeAny, {
68593
68806
  query: {
68594
68807
  includes: {
@@ -68602,6 +68815,14 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
68602
68815
  }[] | undefined;
68603
68816
  limit?: number | undefined;
68604
68817
  };
68818
+ viewer?: {
68819
+ search?: string | undefined;
68820
+ filters?: {
68821
+ value: string;
68822
+ columnId: string;
68823
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
68824
+ }[] | undefined;
68825
+ } | undefined;
68605
68826
  }, {
68606
68827
  query: {
68607
68828
  includes: {
@@ -68615,6 +68836,14 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
68615
68836
  }[] | undefined;
68616
68837
  limit?: unknown;
68617
68838
  };
68839
+ viewer?: {
68840
+ search?: string | undefined;
68841
+ filters?: {
68842
+ value: string;
68843
+ columnId: string;
68844
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
68845
+ }[] | undefined;
68846
+ } | undefined;
68618
68847
  }>;
68619
68848
  output: z.ZodNullable<z.ZodObject<{
68620
68849
  queryTargetName: z.ZodString;
@@ -69174,6 +69403,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
69174
69403
  isCollection?: boolean | undefined;
69175
69404
  firstImageInContent?: string | undefined;
69176
69405
  }>, "many">;
69406
+ totalMatches: z.ZodOptional<z.ZodNumber>;
69177
69407
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
69178
69408
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
69179
69409
  comments: z.ZodNumber;
@@ -69708,6 +69938,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
69708
69938
  hasSite?: boolean | undefined;
69709
69939
  }>;
69710
69940
  mode?: "Children" | "AllDescendants" | undefined;
69941
+ totalMatches?: number | undefined;
69711
69942
  }, {
69712
69943
  in: {
69713
69944
  path: string[] | null;
@@ -69892,6 +70123,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
69892
70123
  hasSite?: boolean | undefined;
69893
70124
  }>;
69894
70125
  mode?: "Children" | "AllDescendants" | undefined;
70126
+ totalMatches?: number | undefined;
69895
70127
  }>>;
69896
70128
  }, "strip", z.ZodTypeAny, {
69897
70129
  key: "QueryBlock";
@@ -69908,6 +70140,14 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
69908
70140
  }[] | undefined;
69909
70141
  limit?: number | undefined;
69910
70142
  };
70143
+ viewer?: {
70144
+ search?: string | undefined;
70145
+ filters?: {
70146
+ value: string;
70147
+ columnId: string;
70148
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
70149
+ }[] | undefined;
70150
+ } | undefined;
69911
70151
  };
69912
70152
  output: {
69913
70153
  in: {
@@ -70093,6 +70333,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
70093
70333
  hasSite?: boolean | undefined;
70094
70334
  }>;
70095
70335
  mode?: "Children" | "AllDescendants" | undefined;
70336
+ totalMatches?: number | undefined;
70096
70337
  } | null;
70097
70338
  }, {
70098
70339
  key: "QueryBlock";
@@ -70109,6 +70350,14 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
70109
70350
  }[] | undefined;
70110
70351
  limit?: unknown;
70111
70352
  };
70353
+ viewer?: {
70354
+ search?: string | undefined;
70355
+ filters?: {
70356
+ value: string;
70357
+ columnId: string;
70358
+ operator: "contains" | "equals" | "greaterThan" | "lessThan";
70359
+ }[] | undefined;
70360
+ } | undefined;
70112
70361
  };
70113
70362
  output: {
70114
70363
  in: {
@@ -70294,6 +70543,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
70294
70543
  hasSite?: boolean | undefined;
70295
70544
  }>;
70296
70545
  mode?: "Children" | "AllDescendants" | undefined;
70546
+ totalMatches?: number | undefined;
70297
70547
  } | null;
70298
70548
  }>, z.ZodObject<{
70299
70549
  key: z.ZodLiteral<"AccountContacts">;
package/dist/hm-types.mjs CHANGED
@@ -210,7 +210,7 @@ import {
210
210
  toNumber,
211
211
  unpackHmId,
212
212
  unpackedHmIdSchema
213
- } from "./chunk-SU2G6KVP.mjs";
213
+ } from "./chunk-3NYKSLJ4.mjs";
214
214
  import "./chunk-7P6ASYW6.mjs";
215
215
  export {
216
216
  BUILTIN_METADATA_KEYS,
@@ -2,8 +2,8 @@ import {
2
2
  annotationContains,
3
3
  hmBlockToEditorBlock,
4
4
  hmBlocksToEditorContent
5
- } from "./chunk-JFNPQEUD.mjs";
6
- import "./chunk-SU2G6KVP.mjs";
5
+ } from "./chunk-MO524BCL.mjs";
6
+ import "./chunk-3NYKSLJ4.mjs";
7
7
  import "./chunk-7P6ASYW6.mjs";
8
8
  export {
9
9
  annotationContains,
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveIdWithClient
3
- } from "./chunk-WRPRFXOC.mjs";
3
+ } from "./chunk-6JS7R6XP.mjs";
4
4
  import {
5
5
  annotationContains,
6
6
  hmBlockToEditorBlock,
7
7
  hmBlocksToEditorContent
8
- } from "./chunk-JFNPQEUD.mjs";
8
+ } from "./chunk-MO524BCL.mjs";
9
9
  import {
10
10
  keyfile_exports
11
11
  } from "./chunk-EY6RQVAP.mjs";
@@ -18,17 +18,17 @@ import {
18
18
  } from "./chunk-QVRJGK77.mjs";
19
19
  import {
20
20
  pdfToBlocks
21
- } from "./chunk-HWCGZF52.mjs";
21
+ } from "./chunk-JUXVJ5TO.mjs";
22
22
  import {
23
23
  teiToBlocks
24
- } from "./chunk-QSQCVGXA.mjs";
24
+ } from "./chunk-2JLNS6YU.mjs";
25
25
  import {
26
26
  embeddedPdfToBlocks
27
27
  } from "./chunk-2FJBS3V7.mjs";
28
28
  import {
29
29
  editorBlockToHMBlock,
30
30
  editorBlocksToHMBlockNodes
31
- } from "./chunk-KMRULMJF.mjs";
31
+ } from "./chunk-JSA5TYHQ.mjs";
32
32
  import {
33
33
  encryption_exports
34
34
  } from "./chunk-UOL3F6XQ.mjs";
@@ -46,10 +46,10 @@ import {
46
46
  import {
47
47
  resolveHypermediaUrl,
48
48
  resolveId
49
- } from "./chunk-NDQHXVP4.mjs";
49
+ } from "./chunk-X3636TQF.mjs";
50
50
  import {
51
51
  createSeedClient
52
- } from "./chunk-WQ2GBQWJ.mjs";
52
+ } from "./chunk-5YWGB4XU.mjs";
53
53
  import {
54
54
  SeedClientError,
55
55
  SeedNetworkError,
@@ -61,7 +61,7 @@ import {
61
61
  deleteComment,
62
62
  trimTrailingEmptyBlocks,
63
63
  updateComment
64
- } from "./chunk-D5RC44SE.mjs";
64
+ } from "./chunk-F6A7GGKJ.mjs";
65
65
  import {
66
66
  AnnotationSet,
67
67
  addSpanToAnnotation,
@@ -82,7 +82,7 @@ import {
82
82
  documentContainsLinkToChild,
83
83
  documentHasSelfQuery,
84
84
  shouldAutoLinkParent
85
- } from "./chunk-OO2BEP54.mjs";
85
+ } from "./chunk-32JNJI2C.mjs";
86
86
  import {
87
87
  createChange,
88
88
  createChangeOps,
@@ -104,7 +104,7 @@ import {
104
104
  followToDocument,
105
105
  resolveDocumentState,
106
106
  resolveEditableDocument
107
- } from "./chunk-6GFFLR72.mjs";
107
+ } from "./chunk-X3WUOOPH.mjs";
108
108
  import "./chunk-2MD3FXKB.mjs";
109
109
  import {
110
110
  computeReplaceOps,
@@ -123,11 +123,11 @@ import {
123
123
  emitFrontmatter,
124
124
  parseDraftFilename,
125
125
  slugify
126
- } from "./chunk-KACXO543.mjs";
126
+ } from "./chunk-LFY2IN4N.mjs";
127
127
  import {
128
128
  createCapability,
129
129
  resolveCapability
130
- } from "./chunk-ZXUKRFF4.mjs";
130
+ } from "./chunk-Y4P6H3KD.mjs";
131
131
  import "./chunk-LVAHHQIK.mjs";
132
132
  import "./chunk-NBCHK76Q.mjs";
133
133
  import {
@@ -147,7 +147,7 @@ import {
147
147
  parseFragment,
148
148
  serializeBlockRange,
149
149
  unpackHmId
150
- } from "./chunk-SU2G6KVP.mjs";
150
+ } from "./chunk-3NYKSLJ4.mjs";
151
151
  import "./chunk-3TPCJCVO.mjs";
152
152
  import "./chunk-7P6ASYW6.mjs";
153
153
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-HWCGZF52.mjs";
4
- import "./chunk-QSQCVGXA.mjs";
3
+ } from "./chunk-JUXVJ5TO.mjs";
4
+ import "./chunk-2JLNS6YU.mjs";
5
5
  import "./chunk-2FJBS3V7.mjs";
6
6
  import "./chunk-PPAY4WZX.mjs";
7
- import "./chunk-SU2G6KVP.mjs";
7
+ import "./chunk-3NYKSLJ4.mjs";
8
8
  import "./chunk-7P6ASYW6.mjs";
9
9
  export {
10
10
  pdfToBlocks
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  resolveIdWithClient
3
- } from "./chunk-WRPRFXOC.mjs";
4
- import "./chunk-NDQHXVP4.mjs";
5
- import "./chunk-WQ2GBQWJ.mjs";
3
+ } from "./chunk-6JS7R6XP.mjs";
4
+ import "./chunk-X3636TQF.mjs";
5
+ import "./chunk-5YWGB4XU.mjs";
6
6
  import "./chunk-CBELM7KX.mjs";
7
7
  import "./chunk-O5MHN2EO.mjs";
8
8
  import "./chunk-PJ2RFT5A.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-SU2G6KVP.mjs";
11
+ import "./chunk-3NYKSLJ4.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
14
14
  resolveIdWithClient
@@ -17,11 +17,11 @@ import {
17
17
  resolveSchemaRef,
18
18
  schemaDefinitionCid,
19
19
  withoutSchemaLink
20
- } from "./chunk-UBBG2AKS.mjs";
20
+ } from "./chunk-BBJCA2PR.mjs";
21
21
  import "./chunk-JSNDXUPG.mjs";
22
22
  import "./chunk-ZWKMAGDU.mjs";
23
23
  import "./chunk-VWSAFDOL.mjs";
24
- import "./chunk-SU2G6KVP.mjs";
24
+ import "./chunk-3NYKSLJ4.mjs";
25
25
  import "./chunk-7P6ASYW6.mjs";
26
26
  export {
27
27
  bareCid,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  classifyRef
3
- } from "./chunk-UBBG2AKS.mjs";
3
+ } from "./chunk-BBJCA2PR.mjs";
4
4
  import {
5
5
  kindOf,
6
6
  nameForCid,
@@ -13,7 +13,7 @@ import {
13
13
  import "./chunk-VWSAFDOL.mjs";
14
14
  import {
15
15
  unpackHmId
16
- } from "./chunk-SU2G6KVP.mjs";
16
+ } from "./chunk-3NYKSLJ4.mjs";
17
17
  import "./chunk-7P6ASYW6.mjs";
18
18
 
19
19
  // src/schema-subtypes.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-QSQCVGXA.mjs";
4
- import "./chunk-SU2G6KVP.mjs";
3
+ } from "./chunk-2JLNS6YU.mjs";
4
+ import "./chunk-3NYKSLJ4.mjs";
5
5
  import "./chunk-7P6ASYW6.mjs";
6
6
  export {
7
7
  teiToBlocks
package/dist/unicode.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  codePointLength,
9
9
  isSurrogate
10
- } from "./chunk-SU2G6KVP.mjs";
10
+ } from "./chunk-3NYKSLJ4.mjs";
11
11
  import "./chunk-7P6ASYW6.mjs";
12
12
  export {
13
13
  AnnotationSet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",