@seed-hypermedia/client 0.0.77 → 0.0.79

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 (36) 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-I6T7E6NR.mjs → chunk-3UP4S7XZ.mjs} +1 -1
  5. package/dist/{chunk-NXWZWZWS.mjs → chunk-473ELALL.mjs} +3 -3
  6. package/dist/{chunk-EGDF5YHG.mjs → chunk-4HJWSEWS.mjs} +5 -1
  7. package/dist/{chunk-E2S3ZLBH.mjs → chunk-5HHKGULK.mjs} +2 -2
  8. package/dist/{chunk-5ARN5GTL.mjs → chunk-AC3EMQZG.mjs} +1 -1
  9. package/dist/{chunk-YMF2Y7UO.mjs → chunk-AOCNYES4.mjs} +1 -1
  10. package/dist/{chunk-HYCHOIRR.mjs → chunk-CCVGF25A.mjs} +1 -1
  11. package/dist/{chunk-6ZDWVCC2.mjs → chunk-CVUWZ27W.mjs} +1 -1
  12. package/dist/{chunk-DBHL3BYB.mjs → chunk-EZ5UFUMQ.mjs} +78 -1
  13. package/dist/{chunk-FT4OR5WY.mjs → chunk-LJI66S7C.mjs} +1 -1
  14. package/dist/{chunk-YYQPNBQK.mjs → chunk-M7ZYWWI3.mjs} +1 -1
  15. package/dist/{chunk-LLRVL4BP.mjs → chunk-R5FOS4BW.mjs} +1 -1
  16. package/dist/{chunk-7UUGEBS3.mjs → chunk-UX7OUR3C.mjs} +1 -1
  17. package/dist/{chunk-3NKBUTZO.mjs → chunk-ZFQ6SZ5C.mjs} +1 -1
  18. package/dist/client.mjs +2 -2
  19. package/dist/comment.mjs +2 -2
  20. package/dist/document-state.mjs +2 -2
  21. package/dist/editorblock-to-hmblock.mjs +2 -2
  22. package/dist/hm-resolver.mjs +2 -2
  23. package/dist/hm-types.d.ts +81 -0
  24. package/dist/hm-types.mjs +1 -1
  25. package/dist/hmblock-to-editorblock.mjs +2 -2
  26. package/dist/index.mjs +13 -13
  27. package/dist/pdf-to-blocks.mjs +3 -3
  28. package/dist/resource-read.mjs +4 -4
  29. package/dist/tei-to-blocks.mjs +2 -2
  30. package/dist/unicode.mjs +1 -1
  31. package/dist/vault-local.mjs +1 -1
  32. package/dist/vault-merge.d.ts +67 -0
  33. package/dist/vault-merge.mjs +332 -0
  34. package/dist/vault.d.ts +23 -0
  35. package/dist/vault.mjs +9 -1
  36. package/package.json +1 -1
@@ -4143,6 +4143,8 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
4143
4143
  importCategories: z.ZodOptional<z.ZodString>;
4144
4144
  importTags: z.ZodOptional<z.ZodString>;
4145
4145
  }, z.ZodTypeAny, "passthrough">>;
4146
+ /** Folder status derived by the published-document indexer. */
4147
+ isFolder: z.ZodOptional<z.ZodBoolean>;
4146
4148
  firstImageInContent: z.ZodOptional<z.ZodString>;
4147
4149
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
4148
4150
  }, "strip", z.ZodTypeAny, {
@@ -4232,6 +4234,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
4232
4234
  target: string;
4233
4235
  republish?: boolean | undefined;
4234
4236
  } | undefined;
4237
+ isFolder?: boolean | undefined;
4235
4238
  firstImageInContent?: string | undefined;
4236
4239
  }, {
4237
4240
  path: string[];
@@ -4320,6 +4323,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
4320
4323
  target: string;
4321
4324
  republish?: boolean | undefined;
4322
4325
  } | undefined;
4326
+ isFolder?: boolean | undefined;
4323
4327
  firstImageInContent?: string | undefined;
4324
4328
  }>;
4325
4329
  export type HMDocumentInfo = z.infer<typeof HMDocumentInfoSchema>;
@@ -4696,6 +4700,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4696
4700
  importCategories: z.ZodOptional<z.ZodString>;
4697
4701
  importTags: z.ZodOptional<z.ZodString>;
4698
4702
  }, z.ZodTypeAny, "passthrough">>;
4703
+ /** Folder status derived by the published-document indexer. */
4704
+ isFolder: z.ZodOptional<z.ZodBoolean>;
4699
4705
  firstImageInContent: z.ZodOptional<z.ZodString>;
4700
4706
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
4701
4707
  }, "strip", z.ZodTypeAny, {
@@ -4785,6 +4791,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4785
4791
  target: string;
4786
4792
  republish?: boolean | undefined;
4787
4793
  } | undefined;
4794
+ isFolder?: boolean | undefined;
4788
4795
  firstImageInContent?: string | undefined;
4789
4796
  }, {
4790
4797
  path: string[];
@@ -4873,6 +4880,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4873
4880
  target: string;
4874
4881
  republish?: boolean | undefined;
4875
4882
  } | undefined;
4883
+ isFolder?: boolean | undefined;
4876
4884
  firstImageInContent?: string | undefined;
4877
4885
  }>, "many">;
4878
4886
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -4981,6 +4989,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4981
4989
  target: string;
4982
4990
  republish?: boolean | undefined;
4983
4991
  } | undefined;
4992
+ isFolder?: boolean | undefined;
4984
4993
  firstImageInContent?: string | undefined;
4985
4994
  }[];
4986
4995
  mode?: "Children" | "AllDescendants" | undefined;
@@ -5089,6 +5098,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
5089
5098
  target: string;
5090
5099
  republish?: boolean | undefined;
5091
5100
  } | undefined;
5101
+ isFolder?: boolean | undefined;
5092
5102
  firstImageInContent?: string | undefined;
5093
5103
  }[];
5094
5104
  mode?: "Children" | "AllDescendants" | undefined;
@@ -16751,6 +16761,8 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
16751
16761
  id: string;
16752
16762
  text: string;
16753
16763
  }>, "many">>;
16764
+ /** Folder status derived from the locally persisted draft content. */
16765
+ isFolder: z.ZodDefault<z.ZodBoolean>;
16754
16766
  }, "strip", z.ZodTypeAny, {
16755
16767
  id: string;
16756
16768
  visibility: "PUBLIC" | "PRIVATE";
@@ -16780,6 +16792,7 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
16780
16792
  } & {
16781
16793
  [k: string]: unknown;
16782
16794
  };
16795
+ isFolder: boolean;
16783
16796
  deps: string[];
16784
16797
  navigation?: {
16785
16798
  link: string;
@@ -16820,6 +16833,7 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
16820
16833
  [k: string]: unknown;
16821
16834
  };
16822
16835
  visibility?: string | number | undefined;
16836
+ isFolder?: boolean | undefined;
16823
16837
  deps?: string[] | undefined;
16824
16838
  navigation?: {
16825
16839
  link: string;
@@ -16860,6 +16874,7 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
16860
16874
  } & {
16861
16875
  [k: string]: unknown;
16862
16876
  };
16877
+ isFolder: boolean;
16863
16878
  deps: string[];
16864
16879
  navigation?: {
16865
16880
  link: string;
@@ -16900,6 +16915,7 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
16900
16915
  [k: string]: unknown;
16901
16916
  };
16902
16917
  visibility?: string | number | undefined;
16918
+ isFolder?: boolean | undefined;
16903
16919
  deps?: string[] | undefined;
16904
16920
  navigation?: {
16905
16921
  link: string;
@@ -16920,6 +16936,7 @@ type HMDraftMetaBase = {
16920
16936
  visibility: HMResourceVisibility;
16921
16937
  deps: string[];
16922
16938
  navigation?: HMNavigationItem[];
16939
+ isFolder?: boolean;
16923
16940
  };
16924
16941
  export type HMDraftMeta = HMDraftMetaBase & {
16925
16942
  editUid?: string;
@@ -17088,6 +17105,8 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
17088
17105
  id: string;
17089
17106
  text: string;
17090
17107
  }>, "many">>;
17108
+ /** Folder status derived from the locally persisted draft content. */
17109
+ isFolder: z.ZodDefault<z.ZodBoolean>;
17091
17110
  } & {
17092
17111
  lastUpdateTime: z.ZodNumber;
17093
17112
  }, "strip", z.ZodTypeAny, {
@@ -17119,6 +17138,7 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
17119
17138
  } & {
17120
17139
  [k: string]: unknown;
17121
17140
  };
17141
+ isFolder: boolean;
17122
17142
  lastUpdateTime: number;
17123
17143
  deps: string[];
17124
17144
  navigation?: {
@@ -17161,6 +17181,7 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
17161
17181
  };
17162
17182
  lastUpdateTime: number;
17163
17183
  visibility?: string | number | undefined;
17184
+ isFolder?: boolean | undefined;
17164
17185
  deps?: string[] | undefined;
17165
17186
  navigation?: {
17166
17187
  link: string;
@@ -17201,6 +17222,7 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
17201
17222
  } & {
17202
17223
  [k: string]: unknown;
17203
17224
  };
17225
+ isFolder: boolean;
17204
17226
  lastUpdateTime: number;
17205
17227
  deps: string[];
17206
17228
  navigation?: {
@@ -17243,6 +17265,7 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
17243
17265
  };
17244
17266
  lastUpdateTime: number;
17245
17267
  visibility?: string | number | undefined;
17268
+ isFolder?: boolean | undefined;
17246
17269
  deps?: string[] | undefined;
17247
17270
  navigation?: {
17248
17271
  link: string;
@@ -17418,6 +17441,8 @@ export declare const HMListedDraftReadSchema: z.ZodObject<{
17418
17441
  id: string;
17419
17442
  text: string;
17420
17443
  }>, "many">>;
17444
+ /** Folder status derived from the locally persisted draft content. */
17445
+ isFolder: z.ZodDefault<z.ZodBoolean>;
17421
17446
  } & {
17422
17447
  lastUpdateTime: z.ZodNumber;
17423
17448
  }, "strip", z.ZodTypeAny, {
@@ -17449,6 +17474,7 @@ export declare const HMListedDraftReadSchema: z.ZodObject<{
17449
17474
  } & {
17450
17475
  [k: string]: unknown;
17451
17476
  };
17477
+ isFolder: boolean;
17452
17478
  lastUpdateTime: number;
17453
17479
  deps: string[];
17454
17480
  navigation?: {
@@ -17491,6 +17517,7 @@ export declare const HMListedDraftReadSchema: z.ZodObject<{
17491
17517
  };
17492
17518
  lastUpdateTime: number;
17493
17519
  visibility?: string | number | undefined;
17520
+ isFolder?: boolean | undefined;
17494
17521
  deps?: string[] | undefined;
17495
17522
  navigation?: {
17496
17523
  link: string;
@@ -22582,6 +22609,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
22582
22609
  importCategories: z.ZodOptional<z.ZodString>;
22583
22610
  importTags: z.ZodOptional<z.ZodString>;
22584
22611
  }, z.ZodTypeAny, "passthrough">>;
22612
+ /** Folder status derived by the published-document indexer. */
22613
+ isFolder: z.ZodOptional<z.ZodBoolean>;
22585
22614
  firstImageInContent: z.ZodOptional<z.ZodString>;
22586
22615
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
22587
22616
  }, "strip", z.ZodTypeAny, {
@@ -22671,6 +22700,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
22671
22700
  target: string;
22672
22701
  republish?: boolean | undefined;
22673
22702
  } | undefined;
22703
+ isFolder?: boolean | undefined;
22674
22704
  firstImageInContent?: string | undefined;
22675
22705
  }, {
22676
22706
  path: string[];
@@ -22759,6 +22789,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
22759
22789
  target: string;
22760
22790
  republish?: boolean | undefined;
22761
22791
  } | undefined;
22792
+ isFolder?: boolean | undefined;
22762
22793
  firstImageInContent?: string | undefined;
22763
22794
  }>, "many">;
22764
22795
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -22867,6 +22898,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
22867
22898
  target: string;
22868
22899
  republish?: boolean | undefined;
22869
22900
  } | undefined;
22901
+ isFolder?: boolean | undefined;
22870
22902
  firstImageInContent?: string | undefined;
22871
22903
  }[];
22872
22904
  mode?: "Children" | "AllDescendants" | undefined;
@@ -22975,6 +23007,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
22975
23007
  target: string;
22976
23008
  republish?: boolean | undefined;
22977
23009
  } | undefined;
23010
+ isFolder?: boolean | undefined;
22978
23011
  firstImageInContent?: string | undefined;
22979
23012
  }[];
22980
23013
  mode?: "Children" | "AllDescendants" | undefined;
@@ -23098,6 +23131,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
23098
23131
  target: string;
23099
23132
  republish?: boolean | undefined;
23100
23133
  } | undefined;
23134
+ isFolder?: boolean | undefined;
23101
23135
  firstImageInContent?: string | undefined;
23102
23136
  }[];
23103
23137
  mode?: "Children" | "AllDescendants" | undefined;
@@ -23221,6 +23255,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
23221
23255
  target: string;
23222
23256
  republish?: boolean | undefined;
23223
23257
  } | undefined;
23258
+ isFolder?: boolean | undefined;
23224
23259
  firstImageInContent?: string | undefined;
23225
23260
  }[];
23226
23261
  mode?: "Children" | "AllDescendants" | undefined;
@@ -37261,6 +37296,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
37261
37296
  importCategories: z.ZodOptional<z.ZodString>;
37262
37297
  importTags: z.ZodOptional<z.ZodString>;
37263
37298
  }, z.ZodTypeAny, "passthrough">>;
37299
+ /** Folder status derived by the published-document indexer. */
37300
+ isFolder: z.ZodOptional<z.ZodBoolean>;
37264
37301
  firstImageInContent: z.ZodOptional<z.ZodString>;
37265
37302
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
37266
37303
  }, "strip", z.ZodTypeAny, {
@@ -37350,6 +37387,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
37350
37387
  target: string;
37351
37388
  republish?: boolean | undefined;
37352
37389
  } | undefined;
37390
+ isFolder?: boolean | undefined;
37353
37391
  firstImageInContent?: string | undefined;
37354
37392
  }, {
37355
37393
  path: string[];
@@ -37438,6 +37476,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
37438
37476
  target: string;
37439
37477
  republish?: boolean | undefined;
37440
37478
  } | undefined;
37479
+ isFolder?: boolean | undefined;
37441
37480
  firstImageInContent?: string | undefined;
37442
37481
  }>, "many">;
37443
37482
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -37890,6 +37929,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
37890
37929
  target: string;
37891
37930
  republish?: boolean | undefined;
37892
37931
  } | undefined;
37932
+ isFolder?: boolean | undefined;
37893
37933
  firstImageInContent?: string | undefined;
37894
37934
  }[];
37895
37935
  queryTargetName: string;
@@ -38071,6 +38111,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
38071
38111
  target: string;
38072
38112
  republish?: boolean | undefined;
38073
38113
  } | undefined;
38114
+ isFolder?: boolean | undefined;
38074
38115
  firstImageInContent?: string | undefined;
38075
38116
  }[];
38076
38117
  queryTargetName: string;
@@ -38597,6 +38638,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
38597
38638
  importCategories: z.ZodOptional<z.ZodString>;
38598
38639
  importTags: z.ZodOptional<z.ZodString>;
38599
38640
  }, z.ZodTypeAny, "passthrough">>;
38641
+ /** Folder status derived by the published-document indexer. */
38642
+ isFolder: z.ZodOptional<z.ZodBoolean>;
38600
38643
  firstImageInContent: z.ZodOptional<z.ZodString>;
38601
38644
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
38602
38645
  }, "strip", z.ZodTypeAny, {
@@ -38686,6 +38729,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
38686
38729
  target: string;
38687
38730
  republish?: boolean | undefined;
38688
38731
  } | undefined;
38732
+ isFolder?: boolean | undefined;
38689
38733
  firstImageInContent?: string | undefined;
38690
38734
  }, {
38691
38735
  path: string[];
@@ -38774,6 +38818,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
38774
38818
  target: string;
38775
38819
  republish?: boolean | undefined;
38776
38820
  } | undefined;
38821
+ isFolder?: boolean | undefined;
38777
38822
  firstImageInContent?: string | undefined;
38778
38823
  }>, "many">;
38779
38824
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -39226,6 +39271,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
39226
39271
  target: string;
39227
39272
  republish?: boolean | undefined;
39228
39273
  } | undefined;
39274
+ isFolder?: boolean | undefined;
39229
39275
  firstImageInContent?: string | undefined;
39230
39276
  }[];
39231
39277
  queryTargetName: string;
@@ -39407,6 +39453,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
39407
39453
  target: string;
39408
39454
  republish?: boolean | undefined;
39409
39455
  } | undefined;
39456
+ isFolder?: boolean | undefined;
39410
39457
  firstImageInContent?: string | undefined;
39411
39458
  }[];
39412
39459
  queryTargetName: string;
@@ -39605,6 +39652,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
39605
39652
  target: string;
39606
39653
  republish?: boolean | undefined;
39607
39654
  } | undefined;
39655
+ isFolder?: boolean | undefined;
39608
39656
  firstImageInContent?: string | undefined;
39609
39657
  }[];
39610
39658
  queryTargetName: string;
@@ -39803,6 +39851,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
39803
39851
  target: string;
39804
39852
  republish?: boolean | undefined;
39805
39853
  } | undefined;
39854
+ isFolder?: boolean | undefined;
39806
39855
  firstImageInContent?: string | undefined;
39807
39856
  }[];
39808
39857
  queryTargetName: string;
@@ -45961,6 +46010,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
45961
46010
  importCategories: z.ZodOptional<z.ZodString>;
45962
46011
  importTags: z.ZodOptional<z.ZodString>;
45963
46012
  }, z.ZodTypeAny, "passthrough">>;
46013
+ /** Folder status derived by the published-document indexer. */
46014
+ isFolder: z.ZodOptional<z.ZodBoolean>;
45964
46015
  firstImageInContent: z.ZodOptional<z.ZodString>;
45965
46016
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
45966
46017
  }, "strip", z.ZodTypeAny, {
@@ -46050,6 +46101,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46050
46101
  target: string;
46051
46102
  republish?: boolean | undefined;
46052
46103
  } | undefined;
46104
+ isFolder?: boolean | undefined;
46053
46105
  firstImageInContent?: string | undefined;
46054
46106
  }, {
46055
46107
  path: string[];
@@ -46138,6 +46190,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46138
46190
  target: string;
46139
46191
  republish?: boolean | undefined;
46140
46192
  } | undefined;
46193
+ isFolder?: boolean | undefined;
46141
46194
  firstImageInContent?: string | undefined;
46142
46195
  }>, "many">;
46143
46196
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -46246,6 +46299,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46246
46299
  target: string;
46247
46300
  republish?: boolean | undefined;
46248
46301
  } | undefined;
46302
+ isFolder?: boolean | undefined;
46249
46303
  firstImageInContent?: string | undefined;
46250
46304
  }[];
46251
46305
  mode?: "Children" | "AllDescendants" | undefined;
@@ -46354,6 +46408,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46354
46408
  target: string;
46355
46409
  republish?: boolean | undefined;
46356
46410
  } | undefined;
46411
+ isFolder?: boolean | undefined;
46357
46412
  firstImageInContent?: string | undefined;
46358
46413
  }[];
46359
46414
  mode?: "Children" | "AllDescendants" | undefined;
@@ -46477,6 +46532,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46477
46532
  target: string;
46478
46533
  republish?: boolean | undefined;
46479
46534
  } | undefined;
46535
+ isFolder?: boolean | undefined;
46480
46536
  firstImageInContent?: string | undefined;
46481
46537
  }[];
46482
46538
  mode?: "Children" | "AllDescendants" | undefined;
@@ -46600,6 +46656,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46600
46656
  target: string;
46601
46657
  republish?: boolean | undefined;
46602
46658
  } | undefined;
46659
+ isFolder?: boolean | undefined;
46603
46660
  firstImageInContent?: string | undefined;
46604
46661
  }[];
46605
46662
  mode?: "Children" | "AllDescendants" | undefined;
@@ -47052,6 +47109,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47052
47109
  importCategories: z.ZodOptional<z.ZodString>;
47053
47110
  importTags: z.ZodOptional<z.ZodString>;
47054
47111
  }, z.ZodTypeAny, "passthrough">>;
47112
+ /** Folder status derived by the published-document indexer. */
47113
+ isFolder: z.ZodOptional<z.ZodBoolean>;
47055
47114
  firstImageInContent: z.ZodOptional<z.ZodString>;
47056
47115
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
47057
47116
  }, "strip", z.ZodTypeAny, {
@@ -47141,6 +47200,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47141
47200
  target: string;
47142
47201
  republish?: boolean | undefined;
47143
47202
  } | undefined;
47203
+ isFolder?: boolean | undefined;
47144
47204
  firstImageInContent?: string | undefined;
47145
47205
  }, {
47146
47206
  path: string[];
@@ -47229,6 +47289,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47229
47289
  target: string;
47230
47290
  republish?: boolean | undefined;
47231
47291
  } | undefined;
47292
+ isFolder?: boolean | undefined;
47232
47293
  firstImageInContent?: string | undefined;
47233
47294
  }>, "many">;
47234
47295
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -47681,6 +47742,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47681
47742
  target: string;
47682
47743
  republish?: boolean | undefined;
47683
47744
  } | undefined;
47745
+ isFolder?: boolean | undefined;
47684
47746
  firstImageInContent?: string | undefined;
47685
47747
  }[];
47686
47748
  queryTargetName: string;
@@ -47862,6 +47924,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47862
47924
  target: string;
47863
47925
  republish?: boolean | undefined;
47864
47926
  } | undefined;
47927
+ isFolder?: boolean | undefined;
47865
47928
  firstImageInContent?: string | undefined;
47866
47929
  }[];
47867
47930
  queryTargetName: string;
@@ -48060,6 +48123,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48060
48123
  target: string;
48061
48124
  republish?: boolean | undefined;
48062
48125
  } | undefined;
48126
+ isFolder?: boolean | undefined;
48063
48127
  firstImageInContent?: string | undefined;
48064
48128
  }[];
48065
48129
  queryTargetName: string;
@@ -48258,6 +48322,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48258
48322
  target: string;
48259
48323
  republish?: boolean | undefined;
48260
48324
  } | undefined;
48325
+ isFolder?: boolean | undefined;
48261
48326
  firstImageInContent?: string | undefined;
48262
48327
  }[];
48263
48328
  queryTargetName: string;
@@ -61768,6 +61833,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61768
61833
  importCategories: z.ZodOptional<z.ZodString>;
61769
61834
  importTags: z.ZodOptional<z.ZodString>;
61770
61835
  }, z.ZodTypeAny, "passthrough">>;
61836
+ /** Folder status derived by the published-document indexer. */
61837
+ isFolder: z.ZodOptional<z.ZodBoolean>;
61771
61838
  firstImageInContent: z.ZodOptional<z.ZodString>;
61772
61839
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
61773
61840
  }, "strip", z.ZodTypeAny, {
@@ -61857,6 +61924,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61857
61924
  target: string;
61858
61925
  republish?: boolean | undefined;
61859
61926
  } | undefined;
61927
+ isFolder?: boolean | undefined;
61860
61928
  firstImageInContent?: string | undefined;
61861
61929
  }, {
61862
61930
  path: string[];
@@ -61945,6 +62013,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61945
62013
  target: string;
61946
62014
  republish?: boolean | undefined;
61947
62015
  } | undefined;
62016
+ isFolder?: boolean | undefined;
61948
62017
  firstImageInContent?: string | undefined;
61949
62018
  }>, "many">;
61950
62019
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -62053,6 +62122,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62053
62122
  target: string;
62054
62123
  republish?: boolean | undefined;
62055
62124
  } | undefined;
62125
+ isFolder?: boolean | undefined;
62056
62126
  firstImageInContent?: string | undefined;
62057
62127
  }[];
62058
62128
  mode?: "Children" | "AllDescendants" | undefined;
@@ -62161,6 +62231,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62161
62231
  target: string;
62162
62232
  republish?: boolean | undefined;
62163
62233
  } | undefined;
62234
+ isFolder?: boolean | undefined;
62164
62235
  firstImageInContent?: string | undefined;
62165
62236
  }[];
62166
62237
  mode?: "Children" | "AllDescendants" | undefined;
@@ -62284,6 +62355,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62284
62355
  target: string;
62285
62356
  republish?: boolean | undefined;
62286
62357
  } | undefined;
62358
+ isFolder?: boolean | undefined;
62287
62359
  firstImageInContent?: string | undefined;
62288
62360
  }[];
62289
62361
  mode?: "Children" | "AllDescendants" | undefined;
@@ -62407,6 +62479,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62407
62479
  target: string;
62408
62480
  republish?: boolean | undefined;
62409
62481
  } | undefined;
62482
+ isFolder?: boolean | undefined;
62410
62483
  firstImageInContent?: string | undefined;
62411
62484
  }[];
62412
62485
  mode?: "Children" | "AllDescendants" | undefined;
@@ -62859,6 +62932,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62859
62932
  importCategories: z.ZodOptional<z.ZodString>;
62860
62933
  importTags: z.ZodOptional<z.ZodString>;
62861
62934
  }, z.ZodTypeAny, "passthrough">>;
62935
+ /** Folder status derived by the published-document indexer. */
62936
+ isFolder: z.ZodOptional<z.ZodBoolean>;
62862
62937
  firstImageInContent: z.ZodOptional<z.ZodString>;
62863
62938
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
62864
62939
  }, "strip", z.ZodTypeAny, {
@@ -62948,6 +63023,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62948
63023
  target: string;
62949
63024
  republish?: boolean | undefined;
62950
63025
  } | undefined;
63026
+ isFolder?: boolean | undefined;
62951
63027
  firstImageInContent?: string | undefined;
62952
63028
  }, {
62953
63029
  path: string[];
@@ -63036,6 +63112,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63036
63112
  target: string;
63037
63113
  republish?: boolean | undefined;
63038
63114
  } | undefined;
63115
+ isFolder?: boolean | undefined;
63039
63116
  firstImageInContent?: string | undefined;
63040
63117
  }>, "many">;
63041
63118
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -63488,6 +63565,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63488
63565
  target: string;
63489
63566
  republish?: boolean | undefined;
63490
63567
  } | undefined;
63568
+ isFolder?: boolean | undefined;
63491
63569
  firstImageInContent?: string | undefined;
63492
63570
  }[];
63493
63571
  queryTargetName: string;
@@ -63669,6 +63747,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63669
63747
  target: string;
63670
63748
  republish?: boolean | undefined;
63671
63749
  } | undefined;
63750
+ isFolder?: boolean | undefined;
63672
63751
  firstImageInContent?: string | undefined;
63673
63752
  }[];
63674
63753
  queryTargetName: string;
@@ -63867,6 +63946,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63867
63946
  target: string;
63868
63947
  republish?: boolean | undefined;
63869
63948
  } | undefined;
63949
+ isFolder?: boolean | undefined;
63870
63950
  firstImageInContent?: string | undefined;
63871
63951
  }[];
63872
63952
  queryTargetName: string;
@@ -64065,6 +64145,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
64065
64145
  target: string;
64066
64146
  republish?: boolean | undefined;
64067
64147
  } | undefined;
64148
+ isFolder?: boolean | undefined;
64068
64149
  firstImageInContent?: string | undefined;
64069
64150
  }[];
64070
64151
  queryTargetName: string;
package/dist/hm-types.mjs CHANGED
@@ -186,7 +186,7 @@ import {
186
186
  toNumber,
187
187
  unpackHmId,
188
188
  unpackedHmIdSchema
189
- } from "./chunk-EGDF5YHG.mjs";
189
+ } from "./chunk-4HJWSEWS.mjs";
190
190
  import "./chunk-7P6ASYW6.mjs";
191
191
  export {
192
192
  BUILTIN_METADATA_KEYS,
@@ -2,8 +2,8 @@ import {
2
2
  annotationContains,
3
3
  hmBlockToEditorBlock,
4
4
  hmBlocksToEditorContent
5
- } from "./chunk-YMF2Y7UO.mjs";
6
- import "./chunk-EGDF5YHG.mjs";
5
+ } from "./chunk-AOCNYES4.mjs";
6
+ import "./chunk-4HJWSEWS.mjs";
7
7
  import "./chunk-7P6ASYW6.mjs";
8
8
  export {
9
9
  annotationContains,
package/dist/index.mjs CHANGED
@@ -10,16 +10,16 @@ import {
10
10
  } from "./chunk-H7L4TI6X.mjs";
11
11
  import {
12
12
  pdfToBlocks
13
- } from "./chunk-LLRVL4BP.mjs";
13
+ } from "./chunk-R5FOS4BW.mjs";
14
14
  import {
15
15
  teiToBlocks
16
- } from "./chunk-HYCHOIRR.mjs";
16
+ } from "./chunk-CCVGF25A.mjs";
17
17
  import {
18
18
  embeddedPdfToBlocks
19
19
  } from "./chunk-52P3E6H6.mjs";
20
20
  import {
21
21
  resolveIdWithClient
22
- } from "./chunk-NXWZWZWS.mjs";
22
+ } from "./chunk-473ELALL.mjs";
23
23
  import {
24
24
  fileToIpfsBlobs,
25
25
  filesToIpfsBlobs,
@@ -34,15 +34,15 @@ import {
34
34
  import {
35
35
  resolveHypermediaUrl,
36
36
  resolveId
37
- } from "./chunk-I6T7E6NR.mjs";
37
+ } from "./chunk-3UP4S7XZ.mjs";
38
38
  import {
39
39
  annotationContains,
40
40
  hmBlockToEditorBlock,
41
41
  hmBlocksToEditorContent
42
- } from "./chunk-YMF2Y7UO.mjs";
42
+ } from "./chunk-AOCNYES4.mjs";
43
43
  import {
44
44
  createSeedClient
45
- } from "./chunk-6ZDWVCC2.mjs";
45
+ } from "./chunk-CVUWZ27W.mjs";
46
46
  import {
47
47
  SeedClientError,
48
48
  SeedNetworkError,
@@ -54,7 +54,7 @@ import {
54
54
  deleteComment,
55
55
  trimTrailingEmptyBlocks,
56
56
  updateComment
57
- } from "./chunk-FT4OR5WY.mjs";
57
+ } from "./chunk-LJI66S7C.mjs";
58
58
  import {
59
59
  contactRecordIdFromBlob,
60
60
  createContact,
@@ -64,7 +64,7 @@ import {
64
64
  import {
65
65
  editorBlockToHMBlock,
66
66
  editorBlocksToHMBlockNodes
67
- } from "./chunk-5ARN5GTL.mjs";
67
+ } from "./chunk-AC3EMQZG.mjs";
68
68
  import {
69
69
  AnnotationSet,
70
70
  addSpanToAnnotation,
@@ -79,7 +79,7 @@ import {
79
79
  documentContainsLinkToChild,
80
80
  documentHasSelfQuery,
81
81
  shouldAutoLinkParent
82
- } from "./chunk-E2S3ZLBH.mjs";
82
+ } from "./chunk-5HHKGULK.mjs";
83
83
  import {
84
84
  createChange,
85
85
  createChangeOps,
@@ -100,7 +100,7 @@ import {
100
100
  followToDocument,
101
101
  resolveDocumentState,
102
102
  resolveEditableDocument
103
- } from "./chunk-YYQPNBQK.mjs";
103
+ } from "./chunk-M7ZYWWI3.mjs";
104
104
  import "./chunk-2MD3FXKB.mjs";
105
105
  import {
106
106
  computeReplaceOps,
@@ -119,11 +119,11 @@ import {
119
119
  emitFrontmatter,
120
120
  parseDraftFilename,
121
121
  slugify
122
- } from "./chunk-7UUGEBS3.mjs";
122
+ } from "./chunk-UX7OUR3C.mjs";
123
123
  import {
124
124
  createCapability,
125
125
  resolveCapability
126
- } from "./chunk-3NKBUTZO.mjs";
126
+ } from "./chunk-ZFQ6SZ5C.mjs";
127
127
  import "./chunk-LVAHHQIK.mjs";
128
128
  import "./chunk-IT5LLTMP.mjs";
129
129
  import {
@@ -143,7 +143,7 @@ import {
143
143
  parseFragment,
144
144
  serializeBlockRange,
145
145
  unpackHmId
146
- } from "./chunk-EGDF5YHG.mjs";
146
+ } from "./chunk-4HJWSEWS.mjs";
147
147
  import "./chunk-3TPCJCVO.mjs";
148
148
  import "./chunk-7P6ASYW6.mjs";
149
149
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-LLRVL4BP.mjs";
4
- import "./chunk-HYCHOIRR.mjs";
3
+ } from "./chunk-R5FOS4BW.mjs";
4
+ import "./chunk-CCVGF25A.mjs";
5
5
  import "./chunk-52P3E6H6.mjs";
6
6
  import "./chunk-PPAY4WZX.mjs";
7
- import "./chunk-EGDF5YHG.mjs";
7
+ import "./chunk-4HJWSEWS.mjs";
8
8
  import "./chunk-7P6ASYW6.mjs";
9
9
  export {
10
10
  pdfToBlocks