@seed-hypermedia/client 0.0.67 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/LICENSE +201 -0
  2. package/dist/auth.d.ts +79 -0
  3. package/dist/auth.mjs +265 -0
  4. package/dist/auto-link.mjs +20 -0
  5. package/dist/base64.mjs +9 -0
  6. package/dist/blobs.d.ts +168 -0
  7. package/dist/blobs.mjs +50 -0
  8. package/dist/block-diff.d.ts +37 -1
  9. package/dist/block-diff.mjs +17 -0
  10. package/dist/blocks-to-markdown.mjs +22 -0
  11. package/dist/capability.mjs +11 -0
  12. package/dist/cbor.d.ts +13 -0
  13. package/dist/cbor.mjs +13 -0
  14. package/dist/change.mjs +23 -0
  15. package/dist/chunk-2MD3FXKB.mjs +14 -0
  16. package/dist/chunk-3TPCJCVO.mjs +24 -0
  17. package/dist/chunk-52P3E6H6.mjs +459 -0
  18. package/dist/{chunk-KCR3277A.mjs → chunk-5EWV4OPF.mjs} +1 -1
  19. package/dist/chunk-CBELM7KX.mjs +29 -0
  20. package/dist/chunk-DXDF36H5.mjs +289 -0
  21. package/dist/chunk-EY6RQVAP.mjs +138 -0
  22. package/dist/chunk-FYUZZ3HT.mjs +199 -0
  23. package/dist/chunk-GKGWSN6J.mjs +75 -0
  24. package/dist/chunk-H7L4TI6X.mjs +705 -0
  25. package/dist/chunk-HBIVZA6C.mjs +102 -0
  26. package/dist/chunk-I3YUHKYW.mjs +135 -0
  27. package/dist/chunk-KO4XH5L2.mjs +475 -0
  28. package/dist/chunk-LYECQKZE.mjs +49 -0
  29. package/dist/chunk-MKUWQB5W.mjs +297 -0
  30. package/dist/chunk-N3P7S5YZ.mjs +118 -0
  31. package/dist/chunk-NPG76WUS.mjs +348 -0
  32. package/dist/chunk-NX7YFFRX.mjs +124 -0
  33. package/dist/chunk-OZKQOI2X.mjs +334 -0
  34. package/dist/chunk-PPAY4WZX.mjs +40 -0
  35. package/dist/chunk-QS7TPMYT.mjs +411 -0
  36. package/dist/chunk-S2PVJK2P.mjs +517 -0
  37. package/dist/chunk-T5BTAJPW.mjs +725 -0
  38. package/dist/{chunk-EGCUJ6D6.mjs → chunk-UOL3F6XQ.mjs} +0 -12
  39. package/dist/chunk-VN7F33SS.mjs +108 -0
  40. package/dist/chunk-W4OGV22Y.mjs +57 -0
  41. package/dist/chunk-WJQSJ6UM.mjs +159 -0
  42. package/dist/chunk-XI2LXZM7.mjs +112 -0
  43. package/dist/chunk-YNVFRCUH.mjs +171 -0
  44. package/dist/chunk-YZX54L3G.mjs +33 -0
  45. package/dist/client.mjs +14 -0
  46. package/dist/comment.mjs +18 -0
  47. package/dist/contact.mjs +14 -0
  48. package/dist/document-state.mjs +8 -0
  49. package/dist/editor-types.mjs +0 -0
  50. package/dist/editorblock-to-hmblock.mjs +11 -0
  51. package/dist/encryption.mjs +13 -0
  52. package/dist/errors.mjs +11 -0
  53. package/dist/file-to-ipfs.mjs +13 -0
  54. package/dist/grobid.mjs +11 -0
  55. package/dist/hm-resolver.mjs +10 -0
  56. package/dist/hm-types.d.ts +566 -566
  57. package/dist/hmauth.d.ts +169 -0
  58. package/dist/hmauth.mjs +52 -0
  59. package/dist/hmblock-to-editorblock.mjs +12 -0
  60. package/dist/index.d.ts +1 -1
  61. package/dist/index.mjs +126 -5006
  62. package/dist/keyfile.mjs +19 -0
  63. package/dist/markdown-to-blocks.d.ts +7 -0
  64. package/dist/markdown-to-blocks.mjs +15 -0
  65. package/dist/pdf-to-blocks-embedded.mjs +7 -0
  66. package/dist/pdf-to-blocks.mjs +11 -0
  67. package/dist/ref.mjs +12 -0
  68. package/dist/resource-read.mjs +14 -0
  69. package/dist/signing.mjs +13 -0
  70. package/dist/tei-to-blocks.mjs +8 -0
  71. package/dist/unicode.mjs +19 -0
  72. package/dist/vault-local.mjs +7 -6
  73. package/dist/vault.mjs +3 -2
  74. package/package.json +18 -28
  75. package/src/index.ts +0 -137
@@ -231,14 +231,14 @@ export declare const InlineEmbedAnnotationSchema: z.ZodObject<{
231
231
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
232
232
  type: z.ZodLiteral<"Embed">;
233
233
  }, "strict", z.ZodTypeAny, {
234
- link: string;
235
234
  type: "Embed";
235
+ link: string;
236
236
  starts: number[];
237
237
  ends: number[];
238
238
  attributes?: {} | undefined;
239
239
  }, {
240
- link: string;
241
240
  type: "Embed";
241
+ link: string;
242
242
  starts: number[];
243
243
  ends: number[];
244
244
  attributes?: {} | undefined;
@@ -493,14 +493,14 @@ export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
493
493
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
494
494
  type: z.ZodLiteral<"Embed">;
495
495
  }, "strict", z.ZodTypeAny, {
496
- link: string;
497
496
  type: "Embed";
497
+ link: string;
498
498
  starts: number[];
499
499
  ends: number[];
500
500
  attributes?: {} | undefined;
501
501
  }, {
502
- link: string;
503
502
  type: "Embed";
503
+ link: string;
504
504
  starts: number[];
505
505
  ends: number[];
506
506
  attributes?: {} | undefined;
@@ -762,14 +762,14 @@ export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscrimi
762
762
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
763
763
  type: z.ZodLiteral<"Embed">;
764
764
  }, "strict", z.ZodTypeAny, {
765
- link: string;
766
765
  type: "Embed";
766
+ link: string;
767
767
  starts: number[];
768
768
  ends: number[];
769
769
  attributes?: {} | undefined;
770
770
  }, {
771
- link: string;
772
771
  type: "Embed";
772
+ link: string;
773
773
  starts: number[];
774
774
  ends: number[];
775
775
  attributes?: {} | undefined;
@@ -1035,14 +1035,14 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
1035
1035
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1036
1036
  type: z.ZodLiteral<"Embed">;
1037
1037
  }, "strict", z.ZodTypeAny, {
1038
- link: string;
1039
1038
  type: "Embed";
1039
+ link: string;
1040
1040
  starts: number[];
1041
1041
  ends: number[];
1042
1042
  attributes?: {} | undefined;
1043
1043
  }, {
1044
- link: string;
1045
1044
  type: "Embed";
1045
+ link: string;
1046
1046
  starts: number[];
1047
1047
  ends: number[];
1048
1048
  attributes?: {} | undefined;
@@ -1228,8 +1228,8 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
1228
1228
  link?: string | undefined;
1229
1229
  attributes?: {} | undefined;
1230
1230
  } | {
1231
- link: string;
1232
1231
  type: "Embed";
1232
+ link: string;
1233
1233
  starts: number[];
1234
1234
  ends: number[];
1235
1235
  attributes?: {} | undefined;
@@ -1320,8 +1320,8 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
1320
1320
  link?: string | undefined;
1321
1321
  attributes?: {} | undefined;
1322
1322
  } | {
1323
- link: string;
1324
1323
  type: "Embed";
1324
+ link: string;
1325
1325
  starts: number[];
1326
1326
  ends: number[];
1327
1327
  attributes?: {} | undefined;
@@ -1493,14 +1493,14 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1493
1493
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1494
1494
  type: z.ZodLiteral<"Embed">;
1495
1495
  }, "strict", z.ZodTypeAny, {
1496
- link: string;
1497
1496
  type: "Embed";
1497
+ link: string;
1498
1498
  starts: number[];
1499
1499
  ends: number[];
1500
1500
  attributes?: {} | undefined;
1501
1501
  }, {
1502
- link: string;
1503
1502
  type: "Embed";
1503
+ link: string;
1504
1504
  starts: number[];
1505
1505
  ends: number[];
1506
1506
  attributes?: {} | undefined;
@@ -1685,8 +1685,8 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1685
1685
  link?: string | undefined;
1686
1686
  attributes?: {} | undefined;
1687
1687
  } | {
1688
- link: string;
1689
1688
  type: "Embed";
1689
+ link: string;
1690
1690
  starts: number[];
1691
1691
  ends: number[];
1692
1692
  attributes?: {} | undefined;
@@ -1776,8 +1776,8 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
1776
1776
  link?: string | undefined;
1777
1777
  attributes?: {} | undefined;
1778
1778
  } | {
1779
- link: string;
1780
1779
  type: "Embed";
1780
+ link: string;
1781
1781
  starts: number[];
1782
1782
  ends: number[];
1783
1783
  attributes?: {} | undefined;
@@ -2042,14 +2042,14 @@ export declare const HMBlockImageSchema: z.ZodObject<{
2042
2042
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
2043
2043
  type: z.ZodLiteral<"Embed">;
2044
2044
  }, "strict", z.ZodTypeAny, {
2045
- link: string;
2046
2045
  type: "Embed";
2046
+ link: string;
2047
2047
  starts: number[];
2048
2048
  ends: number[];
2049
2049
  attributes?: {} | undefined;
2050
2050
  }, {
2051
- link: string;
2052
2051
  type: "Embed";
2052
+ link: string;
2053
2053
  starts: number[];
2054
2054
  ends: number[];
2055
2055
  attributes?: {} | undefined;
@@ -2188,8 +2188,8 @@ export declare const HMBlockImageSchema: z.ZodObject<{
2188
2188
  revision: z.ZodOptional<z.ZodString>;
2189
2189
  type: z.ZodLiteral<"Image">;
2190
2190
  }, "strict", z.ZodTypeAny, {
2191
- link: string;
2192
2191
  type: "Image";
2192
+ link: string;
2193
2193
  id: string;
2194
2194
  attributes: {
2195
2195
  name?: string | undefined;
@@ -2235,8 +2235,8 @@ export declare const HMBlockImageSchema: z.ZodObject<{
2235
2235
  link?: string | undefined;
2236
2236
  attributes?: {} | undefined;
2237
2237
  } | {
2238
- link: string;
2239
2238
  type: "Embed";
2239
+ link: string;
2240
2240
  starts: number[];
2241
2241
  ends: number[];
2242
2242
  attributes?: {} | undefined;
@@ -2281,8 +2281,8 @@ export declare const HMBlockImageSchema: z.ZodObject<{
2281
2281
  })[] | undefined;
2282
2282
  revision?: string | undefined;
2283
2283
  }, {
2284
- link: string;
2285
2284
  type: "Image";
2285
+ link: string;
2286
2286
  id: string;
2287
2287
  attributes?: {
2288
2288
  name?: string | undefined;
@@ -2328,8 +2328,8 @@ export declare const HMBlockImageSchema: z.ZodObject<{
2328
2328
  link?: string | undefined;
2329
2329
  attributes?: {} | undefined;
2330
2330
  } | {
2331
- link: string;
2332
2331
  type: "Embed";
2332
+ link: string;
2333
2333
  starts: number[];
2334
2334
  ends: number[];
2335
2335
  attributes?: {} | undefined;
@@ -2407,8 +2407,8 @@ export declare const HMBlockVideoSchema: z.ZodObject<{
2407
2407
  text: z.ZodOptional<z.ZodLiteral<"">>;
2408
2408
  type: z.ZodLiteral<"Video">;
2409
2409
  }, "strict", z.ZodTypeAny, {
2410
- link: string;
2411
2410
  type: "Video";
2411
+ link: string;
2412
2412
  id: string;
2413
2413
  attributes: {
2414
2414
  name?: string | undefined;
@@ -2423,8 +2423,8 @@ export declare const HMBlockVideoSchema: z.ZodObject<{
2423
2423
  annotations?: never[] | undefined;
2424
2424
  revision?: string | undefined;
2425
2425
  }, {
2426
- link: string;
2427
2426
  type: "Video";
2427
+ link: string;
2428
2428
  id: string;
2429
2429
  attributes?: {
2430
2430
  name?: string | undefined;
@@ -2451,8 +2451,8 @@ export declare const HMBlockFileSchema: z.ZodObject<{
2451
2451
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
2452
2452
  columnCount?: number | undefined;
2453
2453
  }, {
2454
- size?: number | undefined;
2455
2454
  name?: string | undefined;
2455
+ size?: number | undefined;
2456
2456
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
2457
2457
  columnCount?: number | undefined;
2458
2458
  }>>>;
@@ -2463,8 +2463,8 @@ export declare const HMBlockFileSchema: z.ZodObject<{
2463
2463
  text: z.ZodOptional<z.ZodLiteral<"">>;
2464
2464
  type: z.ZodLiteral<"File">;
2465
2465
  }, "strict", z.ZodTypeAny, {
2466
- link: string;
2467
2466
  type: "File";
2467
+ link: string;
2468
2468
  id: string;
2469
2469
  attributes: {
2470
2470
  size: number | null;
@@ -2476,12 +2476,12 @@ export declare const HMBlockFileSchema: z.ZodObject<{
2476
2476
  annotations?: never[] | undefined;
2477
2477
  revision?: string | undefined;
2478
2478
  }, {
2479
- link: string;
2480
2479
  type: "File";
2480
+ link: string;
2481
2481
  id: string;
2482
2482
  attributes?: {
2483
- size?: number | undefined;
2484
2483
  name?: string | undefined;
2484
+ size?: number | undefined;
2485
2485
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
2486
2486
  columnCount?: number | undefined;
2487
2487
  } | undefined;
@@ -2515,8 +2515,8 @@ export declare const HMBlockButtonSchema: z.ZodObject<{
2515
2515
  annotations: z.ZodOptional<z.ZodArray<z.ZodNever, "many">>;
2516
2516
  type: z.ZodLiteral<"Button">;
2517
2517
  }, "strict", z.ZodTypeAny, {
2518
- link: string;
2519
2518
  type: "Button";
2519
+ link: string;
2520
2520
  id: string;
2521
2521
  attributes: {
2522
2522
  name?: string | undefined;
@@ -2528,8 +2528,8 @@ export declare const HMBlockButtonSchema: z.ZodObject<{
2528
2528
  annotations?: never[] | undefined;
2529
2529
  revision?: string | undefined;
2530
2530
  }, {
2531
- link: string;
2532
2531
  type: "Button";
2532
+ link: string;
2533
2533
  id: string;
2534
2534
  attributes?: {
2535
2535
  name?: string | undefined;
@@ -2562,8 +2562,8 @@ export declare const HMBlockEmbedSchema: z.ZodObject<{
2562
2562
  text: z.ZodOptional<z.ZodLiteral<"">>;
2563
2563
  type: z.ZodLiteral<"Embed">;
2564
2564
  }, "strict", z.ZodTypeAny, {
2565
- link: string;
2566
2565
  type: "Embed";
2566
+ link: string;
2567
2567
  id: string;
2568
2568
  attributes: {
2569
2569
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
@@ -2574,8 +2574,8 @@ export declare const HMBlockEmbedSchema: z.ZodObject<{
2574
2574
  annotations?: never[] | undefined;
2575
2575
  revision?: string | undefined;
2576
2576
  }, {
2577
- link: string;
2578
2577
  type: "Embed";
2578
+ link: string;
2579
2579
  id: string;
2580
2580
  attributes?: {
2581
2581
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
@@ -2595,16 +2595,16 @@ export declare const HMBlockWebEmbedSchema: z.ZodObject<{
2595
2595
  text: z.ZodOptional<z.ZodLiteral<"">>;
2596
2596
  type: z.ZodLiteral<"WebEmbed">;
2597
2597
  }, "strict", z.ZodTypeAny, {
2598
- link: string;
2599
2598
  type: "WebEmbed";
2599
+ link: string;
2600
2600
  id: string;
2601
2601
  attributes: {};
2602
2602
  text?: "" | undefined;
2603
2603
  annotations?: never[] | undefined;
2604
2604
  revision?: string | undefined;
2605
2605
  }, {
2606
- link: string;
2607
2606
  type: "WebEmbed";
2607
+ link: string;
2608
2608
  id: string;
2609
2609
  attributes?: {} | undefined;
2610
2610
  text?: "" | undefined;
@@ -2620,16 +2620,16 @@ export declare const HMBlockNostrSchema: z.ZodObject<{
2620
2620
  text: z.ZodOptional<z.ZodLiteral<"">>;
2621
2621
  type: z.ZodLiteral<"Nostr">;
2622
2622
  }, "strict", z.ZodTypeAny, {
2623
- link: string;
2624
2623
  type: "Nostr";
2624
+ link: string;
2625
2625
  id: string;
2626
2626
  attributes: {};
2627
2627
  text?: "" | undefined;
2628
2628
  annotations?: never[] | undefined;
2629
2629
  revision?: string | undefined;
2630
2630
  }, {
2631
- link: string;
2632
2631
  type: "Nostr";
2632
+ link: string;
2633
2633
  id: string;
2634
2634
  attributes?: {} | undefined;
2635
2635
  text?: "" | undefined;
@@ -2931,12 +2931,12 @@ export declare const HMBreadcrumbSchema: z.ZodObject<{
2931
2931
  path: z.ZodString;
2932
2932
  isMissing: z.ZodOptional<z.ZodBoolean>;
2933
2933
  }, "strip", z.ZodTypeAny, {
2934
- path: string;
2935
2934
  name: string;
2935
+ path: string;
2936
2936
  isMissing?: boolean | undefined;
2937
2937
  }, {
2938
- path: string;
2939
2938
  name: string;
2939
+ path: string;
2940
2940
  isMissing?: boolean | undefined;
2941
2941
  }>;
2942
2942
  export type HMBreadcrumb = z.infer<typeof HMBreadcrumbSchema>;
@@ -3704,12 +3704,12 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3704
3704
  path: z.ZodString;
3705
3705
  isMissing: z.ZodOptional<z.ZodBoolean>;
3706
3706
  }, "strip", z.ZodTypeAny, {
3707
- path: string;
3708
3707
  name: string;
3708
+ path: string;
3709
3709
  isMissing?: boolean | undefined;
3710
3710
  }, {
3711
- path: string;
3712
3711
  name: string;
3712
+ path: string;
3713
3713
  isMissing?: boolean | undefined;
3714
3714
  }>, "many">;
3715
3715
  activitySummary: z.ZodObject<{
@@ -3866,8 +3866,8 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3866
3866
  firstImageInContent: z.ZodOptional<z.ZodString>;
3867
3867
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
3868
3868
  }, "strip", z.ZodTypeAny, {
3869
- path: string[];
3870
3869
  type: "document";
3870
+ path: string[];
3871
3871
  version: string;
3872
3872
  id: {
3873
3873
  path: string[] | null;
@@ -3923,8 +3923,8 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3923
3923
  authors: string[];
3924
3924
  sortTime: Date;
3925
3925
  breadcrumbs: {
3926
- path: string;
3927
3926
  name: string;
3927
+ path: string;
3928
3928
  isMissing?: boolean | undefined;
3929
3929
  }[];
3930
3930
  activitySummary: {
@@ -3952,8 +3952,8 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3952
3952
  } | undefined;
3953
3953
  firstImageInContent?: string | undefined;
3954
3954
  }, {
3955
- path: string[];
3956
3955
  type: "document";
3956
+ path: string[];
3957
3957
  version: string;
3958
3958
  id: {
3959
3959
  path: string[] | null;
@@ -4009,8 +4009,8 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
4009
4009
  authors: string[];
4010
4010
  sortTime: Date;
4011
4011
  breadcrumbs: {
4012
- path: string;
4013
4012
  name: string;
4013
+ path: string;
4014
4014
  isMissing?: boolean | undefined;
4015
4015
  }[];
4016
4016
  activitySummary: {
@@ -4190,12 +4190,12 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4190
4190
  path: z.ZodString;
4191
4191
  isMissing: z.ZodOptional<z.ZodBoolean>;
4192
4192
  }, "strip", z.ZodTypeAny, {
4193
- path: string;
4194
4193
  name: string;
4194
+ path: string;
4195
4195
  isMissing?: boolean | undefined;
4196
4196
  }, {
4197
- path: string;
4198
4197
  name: string;
4198
+ path: string;
4199
4199
  isMissing?: boolean | undefined;
4200
4200
  }>, "many">;
4201
4201
  activitySummary: z.ZodObject<{
@@ -4352,8 +4352,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4352
4352
  firstImageInContent: z.ZodOptional<z.ZodString>;
4353
4353
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
4354
4354
  }, "strip", z.ZodTypeAny, {
4355
- path: string[];
4356
4355
  type: "document";
4356
+ path: string[];
4357
4357
  version: string;
4358
4358
  id: {
4359
4359
  path: string[] | null;
@@ -4409,8 +4409,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4409
4409
  authors: string[];
4410
4410
  sortTime: Date;
4411
4411
  breadcrumbs: {
4412
- path: string;
4413
4412
  name: string;
4413
+ path: string;
4414
4414
  isMissing?: boolean | undefined;
4415
4415
  }[];
4416
4416
  activitySummary: {
@@ -4438,8 +4438,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4438
4438
  } | undefined;
4439
4439
  firstImageInContent?: string | undefined;
4440
4440
  }, {
4441
- path: string[];
4442
4441
  type: "document";
4442
+ path: string[];
4443
4443
  version: string;
4444
4444
  id: {
4445
4445
  path: string[] | null;
@@ -4495,8 +4495,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4495
4495
  authors: string[];
4496
4496
  sortTime: Date;
4497
4497
  breadcrumbs: {
4498
- path: string;
4499
4498
  name: string;
4499
+ path: string;
4500
4500
  isMissing?: boolean | undefined;
4501
4501
  }[];
4502
4502
  activitySummary: {
@@ -4544,8 +4544,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4544
4544
  targetDocPath?: string[] | null | undefined;
4545
4545
  };
4546
4546
  results: {
4547
- path: string[];
4548
4547
  type: "document";
4548
+ path: string[];
4549
4549
  version: string;
4550
4550
  id: {
4551
4551
  path: string[] | null;
@@ -4601,8 +4601,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4601
4601
  authors: string[];
4602
4602
  sortTime: Date;
4603
4603
  breadcrumbs: {
4604
- path: string;
4605
4604
  name: string;
4605
+ path: string;
4606
4606
  isMissing?: boolean | undefined;
4607
4607
  }[];
4608
4608
  activitySummary: {
@@ -4650,8 +4650,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4650
4650
  targetDocPath?: string[] | null | undefined;
4651
4651
  };
4652
4652
  results: {
4653
- path: string[];
4654
4653
  type: "document";
4654
+ path: string[];
4655
4655
  version: string;
4656
4656
  id: {
4657
4657
  path: string[] | null;
@@ -4707,8 +4707,8 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4707
4707
  authors: string[];
4708
4708
  sortTime: Date;
4709
4709
  breadcrumbs: {
4710
- path: string;
4711
4710
  name: string;
4711
+ path: string;
4712
4712
  isMissing?: boolean | undefined;
4713
4713
  }[];
4714
4714
  activitySummary: {
@@ -6348,14 +6348,14 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6348
6348
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
6349
6349
  type: z.ZodLiteral<"Embed">;
6350
6350
  }, "strict", z.ZodTypeAny, {
6351
- link: string;
6352
6351
  type: "Embed";
6352
+ link: string;
6353
6353
  starts: number[];
6354
6354
  ends: number[];
6355
6355
  attributes?: {} | undefined;
6356
6356
  }, {
6357
- link: string;
6358
6357
  type: "Embed";
6358
+ link: string;
6359
6359
  starts: number[];
6360
6360
  ends: number[];
6361
6361
  attributes?: {} | undefined;
@@ -6541,8 +6541,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6541
6541
  link?: string | undefined;
6542
6542
  attributes?: {} | undefined;
6543
6543
  } | {
6544
- link: string;
6545
6544
  type: "Embed";
6545
+ link: string;
6546
6546
  starts: number[];
6547
6547
  ends: number[];
6548
6548
  attributes?: {} | undefined;
@@ -6633,8 +6633,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6633
6633
  link?: string | undefined;
6634
6634
  attributes?: {} | undefined;
6635
6635
  } | {
6636
- link: string;
6637
6636
  type: "Embed";
6637
+ link: string;
6638
6638
  starts: number[];
6639
6639
  ends: number[];
6640
6640
  attributes?: {} | undefined;
@@ -6805,14 +6805,14 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6805
6805
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
6806
6806
  type: z.ZodLiteral<"Embed">;
6807
6807
  }, "strict", z.ZodTypeAny, {
6808
- link: string;
6809
6808
  type: "Embed";
6809
+ link: string;
6810
6810
  starts: number[];
6811
6811
  ends: number[];
6812
6812
  attributes?: {} | undefined;
6813
6813
  }, {
6814
- link: string;
6815
6814
  type: "Embed";
6815
+ link: string;
6816
6816
  starts: number[];
6817
6817
  ends: number[];
6818
6818
  attributes?: {} | undefined;
@@ -6997,8 +6997,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
6997
6997
  link?: string | undefined;
6998
6998
  attributes?: {} | undefined;
6999
6999
  } | {
7000
- link: string;
7001
7000
  type: "Embed";
7001
+ link: string;
7002
7002
  starts: number[];
7003
7003
  ends: number[];
7004
7004
  attributes?: {} | undefined;
@@ -7088,8 +7088,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7088
7088
  link?: string | undefined;
7089
7089
  attributes?: {} | undefined;
7090
7090
  } | {
7091
- link: string;
7092
7091
  type: "Embed";
7092
+ link: string;
7093
7093
  starts: number[];
7094
7094
  ends: number[];
7095
7095
  attributes?: {} | undefined;
@@ -7350,14 +7350,14 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7350
7350
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
7351
7351
  type: z.ZodLiteral<"Embed">;
7352
7352
  }, "strict", z.ZodTypeAny, {
7353
- link: string;
7354
7353
  type: "Embed";
7354
+ link: string;
7355
7355
  starts: number[];
7356
7356
  ends: number[];
7357
7357
  attributes?: {} | undefined;
7358
7358
  }, {
7359
- link: string;
7360
7359
  type: "Embed";
7360
+ link: string;
7361
7361
  starts: number[];
7362
7362
  ends: number[];
7363
7363
  attributes?: {} | undefined;
@@ -7496,8 +7496,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7496
7496
  revision: z.ZodOptional<z.ZodString>;
7497
7497
  type: z.ZodLiteral<"Image">;
7498
7498
  }, "strict", z.ZodTypeAny, {
7499
- link: string;
7500
7499
  type: "Image";
7500
+ link: string;
7501
7501
  id: string;
7502
7502
  attributes: {
7503
7503
  name?: string | undefined;
@@ -7543,8 +7543,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7543
7543
  link?: string | undefined;
7544
7544
  attributes?: {} | undefined;
7545
7545
  } | {
7546
- link: string;
7547
7546
  type: "Embed";
7547
+ link: string;
7548
7548
  starts: number[];
7549
7549
  ends: number[];
7550
7550
  attributes?: {} | undefined;
@@ -7589,8 +7589,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7589
7589
  })[] | undefined;
7590
7590
  revision?: string | undefined;
7591
7591
  }, {
7592
- link: string;
7593
7592
  type: "Image";
7593
+ link: string;
7594
7594
  id: string;
7595
7595
  attributes?: {
7596
7596
  name?: string | undefined;
@@ -7636,8 +7636,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7636
7636
  link?: string | undefined;
7637
7637
  attributes?: {} | undefined;
7638
7638
  } | {
7639
- link: string;
7640
7639
  type: "Embed";
7640
+ link: string;
7641
7641
  starts: number[];
7642
7642
  ends: number[];
7643
7643
  attributes?: {} | undefined;
@@ -7714,8 +7714,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7714
7714
  text: z.ZodOptional<z.ZodLiteral<"">>;
7715
7715
  type: z.ZodLiteral<"Video">;
7716
7716
  }, "strict", z.ZodTypeAny, {
7717
- link: string;
7718
7717
  type: "Video";
7718
+ link: string;
7719
7719
  id: string;
7720
7720
  attributes: {
7721
7721
  name?: string | undefined;
@@ -7730,8 +7730,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7730
7730
  annotations?: never[] | undefined;
7731
7731
  revision?: string | undefined;
7732
7732
  }, {
7733
- link: string;
7734
7733
  type: "Video";
7734
+ link: string;
7735
7735
  id: string;
7736
7736
  attributes?: {
7737
7737
  name?: string | undefined;
@@ -7757,8 +7757,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7757
7757
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
7758
7758
  columnCount?: number | undefined;
7759
7759
  }, {
7760
- size?: number | undefined;
7761
7760
  name?: string | undefined;
7761
+ size?: number | undefined;
7762
7762
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
7763
7763
  columnCount?: number | undefined;
7764
7764
  }>>>;
@@ -7769,8 +7769,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7769
7769
  text: z.ZodOptional<z.ZodLiteral<"">>;
7770
7770
  type: z.ZodLiteral<"File">;
7771
7771
  }, "strict", z.ZodTypeAny, {
7772
- link: string;
7773
7772
  type: "File";
7773
+ link: string;
7774
7774
  id: string;
7775
7775
  attributes: {
7776
7776
  size: number | null;
@@ -7782,12 +7782,12 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7782
7782
  annotations?: never[] | undefined;
7783
7783
  revision?: string | undefined;
7784
7784
  }, {
7785
- link: string;
7786
7785
  type: "File";
7786
+ link: string;
7787
7787
  id: string;
7788
7788
  attributes?: {
7789
- size?: number | undefined;
7790
7789
  name?: string | undefined;
7790
+ size?: number | undefined;
7791
7791
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
7792
7792
  columnCount?: number | undefined;
7793
7793
  } | undefined;
@@ -7818,8 +7818,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7818
7818
  annotations: z.ZodOptional<z.ZodArray<z.ZodNever, "many">>;
7819
7819
  type: z.ZodLiteral<"Button">;
7820
7820
  }, "strict", z.ZodTypeAny, {
7821
- link: string;
7822
7821
  type: "Button";
7822
+ link: string;
7823
7823
  id: string;
7824
7824
  attributes: {
7825
7825
  name?: string | undefined;
@@ -7831,8 +7831,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7831
7831
  annotations?: never[] | undefined;
7832
7832
  revision?: string | undefined;
7833
7833
  }, {
7834
- link: string;
7835
7834
  type: "Button";
7835
+ link: string;
7836
7836
  id: string;
7837
7837
  attributes?: {
7838
7838
  name?: string | undefined;
@@ -7864,8 +7864,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7864
7864
  text: z.ZodOptional<z.ZodLiteral<"">>;
7865
7865
  type: z.ZodLiteral<"Embed">;
7866
7866
  }, "strict", z.ZodTypeAny, {
7867
- link: string;
7868
7867
  type: "Embed";
7868
+ link: string;
7869
7869
  id: string;
7870
7870
  attributes: {
7871
7871
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
@@ -7876,8 +7876,8 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7876
7876
  annotations?: never[] | undefined;
7877
7877
  revision?: string | undefined;
7878
7878
  }, {
7879
- link: string;
7880
7879
  type: "Embed";
7880
+ link: string;
7881
7881
  id: string;
7882
7882
  attributes?: {
7883
7883
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
@@ -7896,16 +7896,16 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7896
7896
  text: z.ZodOptional<z.ZodLiteral<"">>;
7897
7897
  type: z.ZodLiteral<"WebEmbed">;
7898
7898
  }, "strict", z.ZodTypeAny, {
7899
- link: string;
7900
7899
  type: "WebEmbed";
7900
+ link: string;
7901
7901
  id: string;
7902
7902
  attributes: {};
7903
7903
  text?: "" | undefined;
7904
7904
  annotations?: never[] | undefined;
7905
7905
  revision?: string | undefined;
7906
7906
  }, {
7907
- link: string;
7908
7907
  type: "WebEmbed";
7908
+ link: string;
7909
7909
  id: string;
7910
7910
  attributes?: {} | undefined;
7911
7911
  text?: "" | undefined;
@@ -7920,16 +7920,16 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
7920
7920
  text: z.ZodOptional<z.ZodLiteral<"">>;
7921
7921
  type: z.ZodLiteral<"Nostr">;
7922
7922
  }, "strict", z.ZodTypeAny, {
7923
- link: string;
7924
7923
  type: "Nostr";
7924
+ link: string;
7925
7925
  id: string;
7926
7926
  attributes: {};
7927
7927
  text?: "" | undefined;
7928
7928
  annotations?: never[] | undefined;
7929
7929
  revision?: string | undefined;
7930
7930
  }, {
7931
- link: string;
7932
7931
  type: "Nostr";
7932
+ link: string;
7933
7933
  id: string;
7934
7934
  attributes?: {} | undefined;
7935
7935
  text?: "" | undefined;
@@ -8447,14 +8447,14 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8447
8447
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
8448
8448
  type: z.ZodLiteral<"Embed">;
8449
8449
  }, "strict", z.ZodTypeAny, {
8450
- link: string;
8451
8450
  type: "Embed";
8451
+ link: string;
8452
8452
  starts: number[];
8453
8453
  ends: number[];
8454
8454
  attributes?: {} | undefined;
8455
8455
  }, {
8456
- link: string;
8457
8456
  type: "Embed";
8457
+ link: string;
8458
8458
  starts: number[];
8459
8459
  ends: number[];
8460
8460
  attributes?: {} | undefined;
@@ -8640,8 +8640,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8640
8640
  link?: string | undefined;
8641
8641
  attributes?: {} | undefined;
8642
8642
  } | {
8643
- link: string;
8644
8643
  type: "Embed";
8644
+ link: string;
8645
8645
  starts: number[];
8646
8646
  ends: number[];
8647
8647
  attributes?: {} | undefined;
@@ -8732,8 +8732,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8732
8732
  link?: string | undefined;
8733
8733
  attributes?: {} | undefined;
8734
8734
  } | {
8735
- link: string;
8736
8735
  type: "Embed";
8736
+ link: string;
8737
8737
  starts: number[];
8738
8738
  ends: number[];
8739
8739
  attributes?: {} | undefined;
@@ -8904,14 +8904,14 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
8904
8904
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
8905
8905
  type: z.ZodLiteral<"Embed">;
8906
8906
  }, "strict", z.ZodTypeAny, {
8907
- link: string;
8908
8907
  type: "Embed";
8908
+ link: string;
8909
8909
  starts: number[];
8910
8910
  ends: number[];
8911
8911
  attributes?: {} | undefined;
8912
8912
  }, {
8913
- link: string;
8914
8913
  type: "Embed";
8914
+ link: string;
8915
8915
  starts: number[];
8916
8916
  ends: number[];
8917
8917
  attributes?: {} | undefined;
@@ -9096,8 +9096,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9096
9096
  link?: string | undefined;
9097
9097
  attributes?: {} | undefined;
9098
9098
  } | {
9099
- link: string;
9100
9099
  type: "Embed";
9100
+ link: string;
9101
9101
  starts: number[];
9102
9102
  ends: number[];
9103
9103
  attributes?: {} | undefined;
@@ -9187,8 +9187,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9187
9187
  link?: string | undefined;
9188
9188
  attributes?: {} | undefined;
9189
9189
  } | {
9190
- link: string;
9191
9190
  type: "Embed";
9191
+ link: string;
9192
9192
  starts: number[];
9193
9193
  ends: number[];
9194
9194
  attributes?: {} | undefined;
@@ -9449,14 +9449,14 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9449
9449
  attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
9450
9450
  type: z.ZodLiteral<"Embed">;
9451
9451
  }, "strict", z.ZodTypeAny, {
9452
- link: string;
9453
9452
  type: "Embed";
9453
+ link: string;
9454
9454
  starts: number[];
9455
9455
  ends: number[];
9456
9456
  attributes?: {} | undefined;
9457
9457
  }, {
9458
- link: string;
9459
9458
  type: "Embed";
9459
+ link: string;
9460
9460
  starts: number[];
9461
9461
  ends: number[];
9462
9462
  attributes?: {} | undefined;
@@ -9595,8 +9595,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9595
9595
  revision: z.ZodOptional<z.ZodString>;
9596
9596
  type: z.ZodLiteral<"Image">;
9597
9597
  }, "strict", z.ZodTypeAny, {
9598
- link: string;
9599
9598
  type: "Image";
9599
+ link: string;
9600
9600
  id: string;
9601
9601
  attributes: {
9602
9602
  name?: string | undefined;
@@ -9642,8 +9642,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9642
9642
  link?: string | undefined;
9643
9643
  attributes?: {} | undefined;
9644
9644
  } | {
9645
- link: string;
9646
9645
  type: "Embed";
9646
+ link: string;
9647
9647
  starts: number[];
9648
9648
  ends: number[];
9649
9649
  attributes?: {} | undefined;
@@ -9688,8 +9688,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9688
9688
  })[] | undefined;
9689
9689
  revision?: string | undefined;
9690
9690
  }, {
9691
- link: string;
9692
9691
  type: "Image";
9692
+ link: string;
9693
9693
  id: string;
9694
9694
  attributes?: {
9695
9695
  name?: string | undefined;
@@ -9735,8 +9735,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9735
9735
  link?: string | undefined;
9736
9736
  attributes?: {} | undefined;
9737
9737
  } | {
9738
- link: string;
9739
9738
  type: "Embed";
9739
+ link: string;
9740
9740
  starts: number[];
9741
9741
  ends: number[];
9742
9742
  attributes?: {} | undefined;
@@ -9813,8 +9813,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9813
9813
  text: z.ZodOptional<z.ZodLiteral<"">>;
9814
9814
  type: z.ZodLiteral<"Video">;
9815
9815
  }, "strict", z.ZodTypeAny, {
9816
- link: string;
9817
9816
  type: "Video";
9817
+ link: string;
9818
9818
  id: string;
9819
9819
  attributes: {
9820
9820
  name?: string | undefined;
@@ -9829,8 +9829,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9829
9829
  annotations?: never[] | undefined;
9830
9830
  revision?: string | undefined;
9831
9831
  }, {
9832
- link: string;
9833
9832
  type: "Video";
9833
+ link: string;
9834
9834
  id: string;
9835
9835
  attributes?: {
9836
9836
  name?: string | undefined;
@@ -9856,8 +9856,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9856
9856
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
9857
9857
  columnCount?: number | undefined;
9858
9858
  }, {
9859
- size?: number | undefined;
9860
9859
  name?: string | undefined;
9860
+ size?: number | undefined;
9861
9861
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
9862
9862
  columnCount?: number | undefined;
9863
9863
  }>>>;
@@ -9868,8 +9868,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9868
9868
  text: z.ZodOptional<z.ZodLiteral<"">>;
9869
9869
  type: z.ZodLiteral<"File">;
9870
9870
  }, "strict", z.ZodTypeAny, {
9871
- link: string;
9872
9871
  type: "File";
9872
+ link: string;
9873
9873
  id: string;
9874
9874
  attributes: {
9875
9875
  size: number | null;
@@ -9881,12 +9881,12 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9881
9881
  annotations?: never[] | undefined;
9882
9882
  revision?: string | undefined;
9883
9883
  }, {
9884
- link: string;
9885
9884
  type: "File";
9885
+ link: string;
9886
9886
  id: string;
9887
9887
  attributes?: {
9888
- size?: number | undefined;
9889
9888
  name?: string | undefined;
9889
+ size?: number | undefined;
9890
9890
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
9891
9891
  columnCount?: number | undefined;
9892
9892
  } | undefined;
@@ -9917,8 +9917,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9917
9917
  annotations: z.ZodOptional<z.ZodArray<z.ZodNever, "many">>;
9918
9918
  type: z.ZodLiteral<"Button">;
9919
9919
  }, "strict", z.ZodTypeAny, {
9920
- link: string;
9921
9920
  type: "Button";
9921
+ link: string;
9922
9922
  id: string;
9923
9923
  attributes: {
9924
9924
  name?: string | undefined;
@@ -9930,8 +9930,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9930
9930
  annotations?: never[] | undefined;
9931
9931
  revision?: string | undefined;
9932
9932
  }, {
9933
- link: string;
9934
9933
  type: "Button";
9934
+ link: string;
9935
9935
  id: string;
9936
9936
  attributes?: {
9937
9937
  name?: string | undefined;
@@ -9963,8 +9963,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9963
9963
  text: z.ZodOptional<z.ZodLiteral<"">>;
9964
9964
  type: z.ZodLiteral<"Embed">;
9965
9965
  }, "strict", z.ZodTypeAny, {
9966
- link: string;
9967
9966
  type: "Embed";
9967
+ link: string;
9968
9968
  id: string;
9969
9969
  attributes: {
9970
9970
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
@@ -9975,8 +9975,8 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9975
9975
  annotations?: never[] | undefined;
9976
9976
  revision?: string | undefined;
9977
9977
  }, {
9978
- link: string;
9979
9978
  type: "Embed";
9979
+ link: string;
9980
9980
  id: string;
9981
9981
  attributes?: {
9982
9982
  childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
@@ -9995,16 +9995,16 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
9995
9995
  text: z.ZodOptional<z.ZodLiteral<"">>;
9996
9996
  type: z.ZodLiteral<"WebEmbed">;
9997
9997
  }, "strict", z.ZodTypeAny, {
9998
- link: string;
9999
9998
  type: "WebEmbed";
9999
+ link: string;
10000
10000
  id: string;
10001
10001
  attributes: {};
10002
10002
  text?: "" | undefined;
10003
10003
  annotations?: never[] | undefined;
10004
10004
  revision?: string | undefined;
10005
10005
  }, {
10006
- link: string;
10007
10006
  type: "WebEmbed";
10007
+ link: string;
10008
10008
  id: string;
10009
10009
  attributes?: {} | undefined;
10010
10010
  text?: "" | undefined;
@@ -10019,16 +10019,16 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
10019
10019
  text: z.ZodOptional<z.ZodLiteral<"">>;
10020
10020
  type: z.ZodLiteral<"Nostr">;
10021
10021
  }, "strict", z.ZodTypeAny, {
10022
- link: string;
10023
10022
  type: "Nostr";
10023
+ link: string;
10024
10024
  id: string;
10025
10025
  attributes: {};
10026
10026
  text?: "" | undefined;
10027
10027
  annotations?: never[] | undefined;
10028
10028
  revision?: string | undefined;
10029
10029
  }, {
10030
- link: string;
10031
10030
  type: "Nostr";
10031
+ link: string;
10032
10032
  id: string;
10033
10033
  attributes?: {} | undefined;
10034
10034
  text?: "" | undefined;
@@ -10549,6 +10549,7 @@ export declare const HMDocumentSchema: z.ZodObject<{
10549
10549
  }>>;
10550
10550
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
10551
10551
  }, "strip", z.ZodTypeAny, {
10552
+ account: string;
10552
10553
  path: string;
10553
10554
  version: string;
10554
10555
  content: HMBlockNode[];
@@ -10587,7 +10588,6 @@ export declare const HMDocumentSchema: z.ZodObject<{
10587
10588
  };
10588
10589
  genesis: string;
10589
10590
  authors: string[];
10590
- account: string;
10591
10591
  generationInfo?: {
10592
10592
  genesis: string;
10593
10593
  generation: bigint;
@@ -10621,6 +10621,7 @@ export declare const HMDocumentSchema: z.ZodObject<{
10621
10621
  };
10622
10622
  genesis: string;
10623
10623
  authors: string[];
10624
+ account?: string | undefined;
10624
10625
  path?: string | undefined;
10625
10626
  version?: string | undefined;
10626
10627
  content?: HMBlockNode[] | undefined;
@@ -10636,7 +10637,6 @@ export declare const HMDocumentSchema: z.ZodObject<{
10636
10637
  genesis: string;
10637
10638
  generation: bigint;
10638
10639
  } | undefined;
10639
- account?: string | undefined;
10640
10640
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
10641
10641
  }>;
10642
10642
  export type HMDocument = z.infer<typeof HMDocumentSchema>;
@@ -10758,6 +10758,7 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
10758
10758
  }>>;
10759
10759
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
10760
10760
  }, "strip", z.ZodTypeAny, {
10761
+ account: string;
10761
10762
  path: string;
10762
10763
  version: string;
10763
10764
  content: HMBlockNode[];
@@ -10796,7 +10797,6 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
10796
10797
  };
10797
10798
  genesis: string;
10798
10799
  authors: string[];
10799
- account: string;
10800
10800
  generationInfo?: {
10801
10801
  genesis: string;
10802
10802
  generation: bigint;
@@ -10830,6 +10830,7 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
10830
10830
  };
10831
10831
  genesis: string;
10832
10832
  authors: string[];
10833
+ account?: string | undefined;
10833
10834
  path?: string | undefined;
10834
10835
  version?: string | undefined;
10835
10836
  content?: HMBlockNode[] | undefined;
@@ -10845,7 +10846,6 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
10845
10846
  genesis: string;
10846
10847
  generation: bigint;
10847
10848
  } | undefined;
10848
- account?: string | undefined;
10849
10849
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
10850
10850
  }>;
10851
10851
  id: z.ZodObject<{
@@ -10925,6 +10925,7 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
10925
10925
  targetDocPath?: string[] | null | undefined;
10926
10926
  };
10927
10927
  document: {
10928
+ account: string;
10928
10929
  path: string;
10929
10930
  version: string;
10930
10931
  content: HMBlockNode[];
@@ -10963,7 +10964,6 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
10963
10964
  };
10964
10965
  genesis: string;
10965
10966
  authors: string[];
10966
- account: string;
10967
10967
  generationInfo?: {
10968
10968
  genesis: string;
10969
10969
  generation: bigint;
@@ -11017,6 +11017,7 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
11017
11017
  };
11018
11018
  genesis: string;
11019
11019
  authors: string[];
11020
+ account?: string | undefined;
11020
11021
  path?: string | undefined;
11021
11022
  version?: string | undefined;
11022
11023
  content?: HMBlockNode[] | undefined;
@@ -11032,7 +11033,6 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
11032
11033
  genesis: string;
11033
11034
  generation: bigint;
11034
11035
  } | undefined;
11035
- account?: string | undefined;
11036
11036
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
11037
11037
  };
11038
11038
  }>;
@@ -11713,8 +11713,8 @@ export declare const HMResourceErrorSchema: z.ZodObject<{
11713
11713
  }>;
11714
11714
  message: z.ZodString;
11715
11715
  }, "strip", z.ZodTypeAny, {
11716
- message: string;
11717
11716
  type: "error";
11717
+ message: string;
11718
11718
  id: {
11719
11719
  path: string[] | null;
11720
11720
  version: string | null;
@@ -11733,8 +11733,8 @@ export declare const HMResourceErrorSchema: z.ZodObject<{
11733
11733
  targetDocPath?: string[] | null | undefined;
11734
11734
  };
11735
11735
  }, {
11736
- message: string;
11737
11736
  type: "error";
11737
+ message: string;
11738
11738
  id: {
11739
11739
  path: string[] | null;
11740
11740
  version: string | null;
@@ -11872,6 +11872,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11872
11872
  }>>;
11873
11873
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
11874
11874
  }, "strip", z.ZodTypeAny, {
11875
+ account: string;
11875
11876
  path: string;
11876
11877
  version: string;
11877
11878
  content: HMBlockNode[];
@@ -11910,7 +11911,6 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11910
11911
  };
11911
11912
  genesis: string;
11912
11913
  authors: string[];
11913
- account: string;
11914
11914
  generationInfo?: {
11915
11915
  genesis: string;
11916
11916
  generation: bigint;
@@ -11944,6 +11944,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11944
11944
  };
11945
11945
  genesis: string;
11946
11946
  authors: string[];
11947
+ account?: string | undefined;
11947
11948
  path?: string | undefined;
11948
11949
  version?: string | undefined;
11949
11950
  content?: HMBlockNode[] | undefined;
@@ -11959,7 +11960,6 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11959
11960
  genesis: string;
11960
11961
  generation: bigint;
11961
11962
  } | undefined;
11962
- account?: string | undefined;
11963
11963
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
11964
11964
  }>;
11965
11965
  id: z.ZodObject<{
@@ -12039,6 +12039,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
12039
12039
  targetDocPath?: string[] | null | undefined;
12040
12040
  };
12041
12041
  document: {
12042
+ account: string;
12042
12043
  path: string;
12043
12044
  version: string;
12044
12045
  content: HMBlockNode[];
@@ -12077,7 +12078,6 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
12077
12078
  };
12078
12079
  genesis: string;
12079
12080
  authors: string[];
12080
- account: string;
12081
12081
  generationInfo?: {
12082
12082
  genesis: string;
12083
12083
  generation: bigint;
@@ -12131,6 +12131,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
12131
12131
  };
12132
12132
  genesis: string;
12133
12133
  authors: string[];
12134
+ account?: string | undefined;
12134
12135
  path?: string | undefined;
12135
12136
  version?: string | undefined;
12136
12137
  content?: HMBlockNode[] | undefined;
@@ -12146,7 +12147,6 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
12146
12147
  genesis: string;
12147
12148
  generation: bigint;
12148
12149
  } | undefined;
12149
- account?: string | undefined;
12150
12150
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
12151
12151
  };
12152
12152
  }>, z.ZodObject<{
@@ -12817,8 +12817,8 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
12817
12817
  }>;
12818
12818
  message: z.ZodString;
12819
12819
  }, "strip", z.ZodTypeAny, {
12820
- message: string;
12821
12820
  type: "error";
12821
+ message: string;
12822
12822
  id: {
12823
12823
  path: string[] | null;
12824
12824
  version: string | null;
@@ -12837,8 +12837,8 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
12837
12837
  targetDocPath?: string[] | null | undefined;
12838
12838
  };
12839
12839
  }, {
12840
- message: string;
12841
12840
  type: "error";
12841
+ message: string;
12842
12842
  id: {
12843
12843
  path: string[] | null;
12844
12844
  version: string | null;
@@ -12976,6 +12976,7 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
12976
12976
  }>>;
12977
12977
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
12978
12978
  }, "strip", z.ZodTypeAny, {
12979
+ account: string;
12979
12980
  path: string;
12980
12981
  version: string;
12981
12982
  content: HMBlockNode[];
@@ -13014,7 +13015,6 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
13014
13015
  };
13015
13016
  genesis: string;
13016
13017
  authors: string[];
13017
- account: string;
13018
13018
  generationInfo?: {
13019
13019
  genesis: string;
13020
13020
  generation: bigint;
@@ -13048,6 +13048,7 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
13048
13048
  };
13049
13049
  genesis: string;
13050
13050
  authors: string[];
13051
+ account?: string | undefined;
13051
13052
  path?: string | undefined;
13052
13053
  version?: string | undefined;
13053
13054
  content?: HMBlockNode[] | undefined;
@@ -13063,7 +13064,6 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
13063
13064
  genesis: string;
13064
13065
  generation: bigint;
13065
13066
  } | undefined;
13066
- account?: string | undefined;
13067
13067
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
13068
13068
  }>;
13069
13069
  id: z.ZodObject<{
@@ -13143,6 +13143,7 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
13143
13143
  targetDocPath?: string[] | null | undefined;
13144
13144
  };
13145
13145
  document: {
13146
+ account: string;
13146
13147
  path: string;
13147
13148
  version: string;
13148
13149
  content: HMBlockNode[];
@@ -13181,7 +13182,6 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
13181
13182
  };
13182
13183
  genesis: string;
13183
13184
  authors: string[];
13184
- account: string;
13185
13185
  generationInfo?: {
13186
13186
  genesis: string;
13187
13187
  generation: bigint;
@@ -13235,6 +13235,7 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
13235
13235
  };
13236
13236
  genesis: string;
13237
13237
  authors: string[];
13238
+ account?: string | undefined;
13238
13239
  path?: string | undefined;
13239
13240
  version?: string | undefined;
13240
13241
  content?: HMBlockNode[] | undefined;
@@ -13250,7 +13251,6 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
13250
13251
  genesis: string;
13251
13252
  generation: bigint;
13252
13253
  } | undefined;
13253
- account?: string | undefined;
13254
13254
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
13255
13255
  };
13256
13256
  }>, z.ZodObject<{
@@ -13622,11 +13622,11 @@ export declare const HMContactRecordSchema: z.ZodObject<{
13622
13622
  profile?: boolean | undefined;
13623
13623
  }>>;
13624
13624
  }, "strip", z.ZodTypeAny, {
13625
+ signer: string;
13625
13626
  name: string;
13626
- id: string;
13627
13627
  account: string;
13628
+ id: string;
13628
13629
  subject: string;
13629
- signer: string;
13630
13630
  createTime?: string | {
13631
13631
  seconds: number | bigint;
13632
13632
  nanos: number;
@@ -13640,11 +13640,11 @@ export declare const HMContactRecordSchema: z.ZodObject<{
13640
13640
  profile?: boolean | undefined;
13641
13641
  } | undefined;
13642
13642
  }, {
13643
+ signer: string;
13643
13644
  name: string;
13644
- id: string;
13645
13645
  account: string;
13646
+ id: string;
13646
13647
  subject: string;
13647
- signer: string;
13648
13648
  createTime?: string | {
13649
13649
  seconds: number | bigint;
13650
13650
  nanos: number;
@@ -13699,11 +13699,11 @@ export declare const HMAccountContactsRequestSchema: z.ZodObject<{
13699
13699
  profile?: boolean | undefined;
13700
13700
  }>>;
13701
13701
  }, "strip", z.ZodTypeAny, {
13702
+ signer: string;
13702
13703
  name: string;
13703
- id: string;
13704
13704
  account: string;
13705
+ id: string;
13705
13706
  subject: string;
13706
- signer: string;
13707
13707
  createTime?: string | {
13708
13708
  seconds: number | bigint;
13709
13709
  nanos: number;
@@ -13717,11 +13717,11 @@ export declare const HMAccountContactsRequestSchema: z.ZodObject<{
13717
13717
  profile?: boolean | undefined;
13718
13718
  } | undefined;
13719
13719
  }, {
13720
+ signer: string;
13720
13721
  name: string;
13721
- id: string;
13722
13722
  account: string;
13723
+ id: string;
13723
13724
  subject: string;
13724
- signer: string;
13725
13725
  createTime?: string | {
13726
13726
  seconds: number | bigint;
13727
13727
  nanos: number;
@@ -13739,11 +13739,11 @@ export declare const HMAccountContactsRequestSchema: z.ZodObject<{
13739
13739
  key: "AccountContacts";
13740
13740
  input: string;
13741
13741
  output: {
13742
+ signer: string;
13742
13743
  name: string;
13743
- id: string;
13744
13744
  account: string;
13745
+ id: string;
13745
13746
  subject: string;
13746
- signer: string;
13747
13747
  createTime?: string | {
13748
13748
  seconds: number | bigint;
13749
13749
  nanos: number;
@@ -13761,11 +13761,11 @@ export declare const HMAccountContactsRequestSchema: z.ZodObject<{
13761
13761
  key: "AccountContacts";
13762
13762
  input: string;
13763
13763
  output: {
13764
+ signer: string;
13764
13765
  name: string;
13765
- id: string;
13766
13766
  account: string;
13767
+ id: string;
13767
13768
  subject: string;
13768
- signer: string;
13769
13769
  createTime?: string | {
13770
13770
  seconds: number | bigint;
13771
13771
  nanos: number;
@@ -14038,11 +14038,11 @@ export declare const HMContactSchema: z.ZodObject<{
14038
14038
  profile?: boolean | undefined;
14039
14039
  }>>;
14040
14040
  }, "strip", z.ZodTypeAny, {
14041
+ signer: string;
14041
14042
  name: string;
14042
- id: string;
14043
14043
  account: string;
14044
+ id: string;
14044
14045
  subject: string;
14045
- signer: string;
14046
14046
  createTime?: string | {
14047
14047
  seconds: number | bigint;
14048
14048
  nanos: number;
@@ -14056,11 +14056,11 @@ export declare const HMContactSchema: z.ZodObject<{
14056
14056
  profile?: boolean | undefined;
14057
14057
  } | undefined;
14058
14058
  }, {
14059
+ signer: string;
14059
14060
  name: string;
14060
- id: string;
14061
14061
  account: string;
14062
+ id: string;
14062
14063
  subject: string;
14063
- signer: string;
14064
14064
  createTime?: string | {
14065
14065
  seconds: number | bigint;
14066
14066
  nanos: number;
@@ -14111,11 +14111,11 @@ export declare const HMContactSchema: z.ZodObject<{
14111
14111
  profile?: boolean | undefined;
14112
14112
  }>>;
14113
14113
  }, "strip", z.ZodTypeAny, {
14114
+ signer: string;
14114
14115
  name: string;
14115
- id: string;
14116
14116
  account: string;
14117
+ id: string;
14117
14118
  subject: string;
14118
- signer: string;
14119
14119
  createTime?: string | {
14120
14120
  seconds: number | bigint;
14121
14121
  nanos: number;
@@ -14129,11 +14129,11 @@ export declare const HMContactSchema: z.ZodObject<{
14129
14129
  profile?: boolean | undefined;
14130
14130
  } | undefined;
14131
14131
  }, {
14132
+ signer: string;
14132
14133
  name: string;
14133
- id: string;
14134
14134
  account: string;
14135
+ id: string;
14135
14136
  subject: string;
14136
- signer: string;
14137
14137
  createTime?: string | {
14138
14138
  seconds: number | bigint;
14139
14139
  nanos: number;
@@ -14173,11 +14173,11 @@ export declare const HMContactSchema: z.ZodObject<{
14173
14173
  [k: string]: unknown;
14174
14174
  };
14175
14175
  contacts?: {
14176
+ signer: string;
14176
14177
  name: string;
14177
- id: string;
14178
14178
  account: string;
14179
+ id: string;
14179
14180
  subject: string;
14180
- signer: string;
14181
14181
  createTime?: string | {
14182
14182
  seconds: number | bigint;
14183
14183
  nanos: number;
@@ -14192,11 +14192,11 @@ export declare const HMContactSchema: z.ZodObject<{
14192
14192
  } | undefined;
14193
14193
  }[] | undefined;
14194
14194
  subjectContacts?: {
14195
+ signer: string;
14195
14196
  name: string;
14196
- id: string;
14197
14197
  account: string;
14198
+ id: string;
14198
14199
  subject: string;
14199
- signer: string;
14200
14200
  createTime?: string | {
14201
14201
  seconds: number | bigint;
14202
14202
  nanos: number;
@@ -14236,11 +14236,11 @@ export declare const HMContactSchema: z.ZodObject<{
14236
14236
  [k: string]: unknown;
14237
14237
  };
14238
14238
  contacts?: {
14239
+ signer: string;
14239
14240
  name: string;
14240
- id: string;
14241
14241
  account: string;
14242
+ id: string;
14242
14243
  subject: string;
14243
- signer: string;
14244
14244
  createTime?: string | {
14245
14245
  seconds: number | bigint;
14246
14246
  nanos: number;
@@ -14255,11 +14255,11 @@ export declare const HMContactSchema: z.ZodObject<{
14255
14255
  } | undefined;
14256
14256
  }[] | undefined;
14257
14257
  subjectContacts?: {
14258
+ signer: string;
14258
14259
  name: string;
14259
- id: string;
14260
14260
  account: string;
14261
+ id: string;
14261
14262
  subject: string;
14262
- signer: string;
14263
14263
  createTime?: string | {
14264
14264
  seconds: number | bigint;
14265
14265
  nanos: number;
@@ -14573,12 +14573,12 @@ export declare const HMCapabilitySchema: z.ZodObject<{
14573
14573
  nanos: number;
14574
14574
  }>, z.ZodString]>;
14575
14575
  }, "strip", z.ZodTypeAny, {
14576
+ role: "writer" | "agent" | "none" | "owner";
14576
14577
  id: string;
14577
14578
  createTime: string | {
14578
14579
  seconds: number | bigint;
14579
14580
  nanos: number;
14580
14581
  };
14581
- role: "writer" | "agent" | "none" | "owner";
14582
14582
  accountUid: string;
14583
14583
  grantId: {
14584
14584
  path: string[] | null;
@@ -14597,15 +14597,15 @@ export declare const HMCapabilitySchema: z.ZodObject<{
14597
14597
  targetDocUid?: string | null | undefined;
14598
14598
  targetDocPath?: string[] | null | undefined;
14599
14599
  };
14600
- capabilityId?: string | undefined;
14601
14600
  label?: string | undefined;
14601
+ capabilityId?: string | undefined;
14602
14602
  }, {
14603
+ role: "writer" | "agent" | "none" | "owner";
14603
14604
  id: string;
14604
14605
  createTime: string | {
14605
14606
  seconds: number | bigint;
14606
14607
  nanos: number;
14607
14608
  };
14608
- role: "writer" | "agent" | "none" | "owner";
14609
14609
  accountUid: string;
14610
14610
  grantId: {
14611
14611
  path: string[] | null;
@@ -14624,8 +14624,8 @@ export declare const HMCapabilitySchema: z.ZodObject<{
14624
14624
  targetDocUid?: string | null | undefined;
14625
14625
  targetDocPath?: string[] | null | undefined;
14626
14626
  };
14627
- capabilityId?: string | undefined;
14628
14627
  label?: string | undefined;
14628
+ capabilityId?: string | undefined;
14629
14629
  }>;
14630
14630
  export type HMCapability = z.infer<typeof HMCapabilitySchema>;
14631
14631
  export declare const siteDiscoverRequestSchema: z.ZodObject<{
@@ -15174,13 +15174,13 @@ export declare const HMNavigationItemSchema: z.ZodObject<{
15174
15174
  text: z.ZodString;
15175
15175
  link: z.ZodString;
15176
15176
  }, "strip", z.ZodTypeAny, {
15177
- link: string;
15178
15177
  type: "Link";
15178
+ link: string;
15179
15179
  id: string;
15180
15180
  text: string;
15181
15181
  }, {
15182
- link: string;
15183
15182
  type: "Link";
15183
+ link: string;
15184
15184
  id: string;
15185
15185
  text: string;
15186
15186
  }>;
@@ -15194,13 +15194,13 @@ export declare const HMDraftContentSchema: z.ZodObject<{
15194
15194
  text: z.ZodString;
15195
15195
  link: z.ZodString;
15196
15196
  }, "strip", z.ZodTypeAny, {
15197
- link: string;
15198
15197
  type: "Link";
15198
+ link: string;
15199
15199
  id: string;
15200
15200
  text: string;
15201
15201
  }, {
15202
- link: string;
15203
15202
  type: "Link";
15203
+ link: string;
15204
15204
  id: string;
15205
15205
  text: string;
15206
15206
  }>, "many">>;
@@ -15220,8 +15220,8 @@ export declare const HMDraftContentSchema: z.ZodObject<{
15220
15220
  content: any[];
15221
15221
  deps: string[];
15222
15222
  navigation?: {
15223
- link: string;
15224
15223
  type: "Link";
15224
+ link: string;
15225
15225
  id: string;
15226
15226
  text: string;
15227
15227
  }[] | undefined;
@@ -15232,8 +15232,8 @@ export declare const HMDraftContentSchema: z.ZodObject<{
15232
15232
  content: any[];
15233
15233
  deps?: string[] | undefined;
15234
15234
  navigation?: {
15235
- link: string;
15236
15235
  type: "Link";
15236
+ link: string;
15237
15237
  id: string;
15238
15238
  text: string;
15239
15239
  }[] | undefined;
@@ -15332,13 +15332,13 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
15332
15332
  text: z.ZodString;
15333
15333
  link: z.ZodString;
15334
15334
  }, "strip", z.ZodTypeAny, {
15335
- link: string;
15336
15335
  type: "Link";
15336
+ link: string;
15337
15337
  id: string;
15338
15338
  text: string;
15339
15339
  }, {
15340
- link: string;
15341
15340
  type: "Link";
15341
+ link: string;
15342
15342
  id: string;
15343
15343
  text: string;
15344
15344
  }>, "many">>;
@@ -15371,8 +15371,8 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
15371
15371
  };
15372
15372
  deps: string[];
15373
15373
  navigation?: {
15374
- link: string;
15375
15374
  type: "Link";
15375
+ link: string;
15376
15376
  id: string;
15377
15377
  text: string;
15378
15378
  }[] | undefined;
@@ -15409,8 +15409,8 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
15409
15409
  visibility?: string | number | undefined;
15410
15410
  deps?: string[] | undefined;
15411
15411
  navigation?: {
15412
- link: string;
15413
15412
  type: "Link";
15413
+ link: string;
15414
15414
  id: string;
15415
15415
  text: string;
15416
15416
  }[] | undefined;
@@ -15447,8 +15447,8 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
15447
15447
  };
15448
15448
  deps: string[];
15449
15449
  navigation?: {
15450
- link: string;
15451
15450
  type: "Link";
15451
+ link: string;
15452
15452
  id: string;
15453
15453
  text: string;
15454
15454
  }[] | undefined;
@@ -15485,8 +15485,8 @@ export declare const HMDraftMetaSchema: z.ZodEffects<z.ZodObject<{
15485
15485
  visibility?: string | number | undefined;
15486
15486
  deps?: string[] | undefined;
15487
15487
  navigation?: {
15488
- link: string;
15489
15488
  type: "Link";
15489
+ link: string;
15490
15490
  id: string;
15491
15491
  text: string;
15492
15492
  }[] | undefined;
@@ -15598,13 +15598,13 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
15598
15598
  text: z.ZodString;
15599
15599
  link: z.ZodString;
15600
15600
  }, "strip", z.ZodTypeAny, {
15601
- link: string;
15602
15601
  type: "Link";
15602
+ link: string;
15603
15603
  id: string;
15604
15604
  text: string;
15605
15605
  }, {
15606
- link: string;
15607
15606
  type: "Link";
15607
+ link: string;
15608
15608
  id: string;
15609
15609
  text: string;
15610
15610
  }>, "many">>;
@@ -15640,8 +15640,8 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
15640
15640
  lastUpdateTime: number;
15641
15641
  deps: string[];
15642
15642
  navigation?: {
15643
- link: string;
15644
15643
  type: "Link";
15644
+ link: string;
15645
15645
  id: string;
15646
15646
  text: string;
15647
15647
  }[] | undefined;
@@ -15679,8 +15679,8 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
15679
15679
  visibility?: string | number | undefined;
15680
15680
  deps?: string[] | undefined;
15681
15681
  navigation?: {
15682
- link: string;
15683
15682
  type: "Link";
15683
+ link: string;
15684
15684
  id: string;
15685
15685
  text: string;
15686
15686
  }[] | undefined;
@@ -15718,8 +15718,8 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
15718
15718
  lastUpdateTime: number;
15719
15719
  deps: string[];
15720
15720
  navigation?: {
15721
- link: string;
15722
15721
  type: "Link";
15722
+ link: string;
15723
15723
  id: string;
15724
15724
  text: string;
15725
15725
  }[] | undefined;
@@ -15757,8 +15757,8 @@ export declare const HMListedDraftSchema: z.ZodEffects<z.ZodObject<{
15757
15757
  visibility?: string | number | undefined;
15758
15758
  deps?: string[] | undefined;
15759
15759
  navigation?: {
15760
- link: string;
15761
15760
  type: "Link";
15761
+ link: string;
15762
15762
  id: string;
15763
15763
  text: string;
15764
15764
  }[] | undefined;
@@ -15857,13 +15857,13 @@ export declare const HMListedDraftReadSchema: z.ZodObject<{
15857
15857
  text: z.ZodString;
15858
15858
  link: z.ZodString;
15859
15859
  }, "strip", z.ZodTypeAny, {
15860
- link: string;
15861
15860
  type: "Link";
15861
+ link: string;
15862
15862
  id: string;
15863
15863
  text: string;
15864
15864
  }, {
15865
- link: string;
15866
15865
  type: "Link";
15866
+ link: string;
15867
15867
  id: string;
15868
15868
  text: string;
15869
15869
  }>, "many">>;
@@ -15899,8 +15899,8 @@ export declare const HMListedDraftReadSchema: z.ZodObject<{
15899
15899
  lastUpdateTime: number;
15900
15900
  deps: string[];
15901
15901
  navigation?: {
15902
- link: string;
15903
15902
  type: "Link";
15903
+ link: string;
15904
15904
  id: string;
15905
15905
  text: string;
15906
15906
  }[] | undefined;
@@ -15938,8 +15938,8 @@ export declare const HMListedDraftReadSchema: z.ZodObject<{
15938
15938
  visibility?: string | number | undefined;
15939
15939
  deps?: string[] | undefined;
15940
15940
  navigation?: {
15941
- link: string;
15942
15941
  type: "Link";
15942
+ link: string;
15943
15943
  id: string;
15944
15944
  text: string;
15945
15945
  }[] | undefined;
@@ -16023,11 +16023,11 @@ export declare const HMSubjectContactsRequestSchema: z.ZodObject<{
16023
16023
  profile?: boolean | undefined;
16024
16024
  }>>;
16025
16025
  }, "strip", z.ZodTypeAny, {
16026
+ signer: string;
16026
16027
  name: string;
16027
- id: string;
16028
16028
  account: string;
16029
+ id: string;
16029
16030
  subject: string;
16030
- signer: string;
16031
16031
  createTime?: string | {
16032
16032
  seconds: number | bigint;
16033
16033
  nanos: number;
@@ -16041,11 +16041,11 @@ export declare const HMSubjectContactsRequestSchema: z.ZodObject<{
16041
16041
  profile?: boolean | undefined;
16042
16042
  } | undefined;
16043
16043
  }, {
16044
+ signer: string;
16044
16045
  name: string;
16045
- id: string;
16046
16046
  account: string;
16047
+ id: string;
16047
16048
  subject: string;
16048
- signer: string;
16049
16049
  createTime?: string | {
16050
16050
  seconds: number | bigint;
16051
16051
  nanos: number;
@@ -16063,11 +16063,11 @@ export declare const HMSubjectContactsRequestSchema: z.ZodObject<{
16063
16063
  key: "SubjectContacts";
16064
16064
  input: string;
16065
16065
  output: {
16066
+ signer: string;
16066
16067
  name: string;
16067
- id: string;
16068
16068
  account: string;
16069
+ id: string;
16069
16070
  subject: string;
16070
- signer: string;
16071
16071
  createTime?: string | {
16072
16072
  seconds: number | bigint;
16073
16073
  nanos: number;
@@ -16085,11 +16085,11 @@ export declare const HMSubjectContactsRequestSchema: z.ZodObject<{
16085
16085
  key: "SubjectContacts";
16086
16086
  input: string;
16087
16087
  output: {
16088
+ signer: string;
16088
16089
  name: string;
16089
- id: string;
16090
16090
  account: string;
16091
+ id: string;
16091
16092
  subject: string;
16092
- signer: string;
16093
16093
  createTime?: string | {
16094
16094
  seconds: number | bigint;
16095
16095
  nanos: number;
@@ -16282,6 +16282,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16282
16282
  }>>;
16283
16283
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
16284
16284
  }, "strip", z.ZodTypeAny, {
16285
+ account: string;
16285
16286
  path: string;
16286
16287
  version: string;
16287
16288
  content: HMBlockNode[];
@@ -16320,7 +16321,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16320
16321
  };
16321
16322
  genesis: string;
16322
16323
  authors: string[];
16323
- account: string;
16324
16324
  generationInfo?: {
16325
16325
  genesis: string;
16326
16326
  generation: bigint;
@@ -16354,6 +16354,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16354
16354
  };
16355
16355
  genesis: string;
16356
16356
  authors: string[];
16357
+ account?: string | undefined;
16357
16358
  path?: string | undefined;
16358
16359
  version?: string | undefined;
16359
16360
  content?: HMBlockNode[] | undefined;
@@ -16369,7 +16370,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16369
16370
  genesis: string;
16370
16371
  generation: bigint;
16371
16372
  } | undefined;
16372
- account?: string | undefined;
16373
16373
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
16374
16374
  }>;
16375
16375
  id: z.ZodObject<{
@@ -16449,6 +16449,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16449
16449
  targetDocPath?: string[] | null | undefined;
16450
16450
  };
16451
16451
  document: {
16452
+ account: string;
16452
16453
  path: string;
16453
16454
  version: string;
16454
16455
  content: HMBlockNode[];
@@ -16487,7 +16488,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16487
16488
  };
16488
16489
  genesis: string;
16489
16490
  authors: string[];
16490
- account: string;
16491
16491
  generationInfo?: {
16492
16492
  genesis: string;
16493
16493
  generation: bigint;
@@ -16541,6 +16541,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16541
16541
  };
16542
16542
  genesis: string;
16543
16543
  authors: string[];
16544
+ account?: string | undefined;
16544
16545
  path?: string | undefined;
16545
16546
  version?: string | undefined;
16546
16547
  content?: HMBlockNode[] | undefined;
@@ -16556,7 +16557,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16556
16557
  genesis: string;
16557
16558
  generation: bigint;
16558
16559
  } | undefined;
16559
- account?: string | undefined;
16560
16560
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
16561
16561
  };
16562
16562
  }>, z.ZodObject<{
@@ -17227,8 +17227,8 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17227
17227
  }>;
17228
17228
  message: z.ZodString;
17229
17229
  }, "strip", z.ZodTypeAny, {
17230
- message: string;
17231
17230
  type: "error";
17231
+ message: string;
17232
17232
  id: {
17233
17233
  path: string[] | null;
17234
17234
  version: string | null;
@@ -17247,8 +17247,8 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17247
17247
  targetDocPath?: string[] | null | undefined;
17248
17248
  };
17249
17249
  }, {
17250
- message: string;
17251
17250
  type: "error";
17251
+ message: string;
17252
17252
  id: {
17253
17253
  path: string[] | null;
17254
17254
  version: string | null;
@@ -17306,6 +17306,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17306
17306
  targetDocPath?: string[] | null | undefined;
17307
17307
  };
17308
17308
  document: {
17309
+ account: string;
17309
17310
  path: string;
17310
17311
  version: string;
17311
17312
  content: HMBlockNode[];
@@ -17344,7 +17345,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17344
17345
  };
17345
17346
  genesis: string;
17346
17347
  authors: string[];
17347
- account: string;
17348
17348
  generationInfo?: {
17349
17349
  genesis: string;
17350
17350
  generation: bigint;
@@ -17469,8 +17469,8 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17469
17469
  targetDocPath?: string[] | null | undefined;
17470
17470
  };
17471
17471
  } | {
17472
- message: string;
17473
17472
  type: "error";
17473
+ message: string;
17474
17474
  id: {
17475
17475
  path: string[] | null;
17476
17476
  version: string | null;
@@ -17555,6 +17555,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17555
17555
  };
17556
17556
  genesis: string;
17557
17557
  authors: string[];
17558
+ account?: string | undefined;
17558
17559
  path?: string | undefined;
17559
17560
  version?: string | undefined;
17560
17561
  content?: HMBlockNode[] | undefined;
@@ -17570,7 +17571,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17570
17571
  genesis: string;
17571
17572
  generation: bigint;
17572
17573
  } | undefined;
17573
- account?: string | undefined;
17574
17574
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
17575
17575
  };
17576
17576
  } | {
@@ -17691,8 +17691,8 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
17691
17691
  targetDocPath?: string[] | null | undefined;
17692
17692
  };
17693
17693
  } | {
17694
- message: string;
17695
17694
  type: "error";
17695
+ message: string;
17696
17696
  id: {
17697
17697
  path: string[] | null;
17698
17698
  version: string | null;
@@ -19995,12 +19995,12 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19995
19995
  path: z.ZodString;
19996
19996
  isMissing: z.ZodOptional<z.ZodBoolean>;
19997
19997
  }, "strip", z.ZodTypeAny, {
19998
- path: string;
19999
19998
  name: string;
19999
+ path: string;
20000
20000
  isMissing?: boolean | undefined;
20001
20001
  }, {
20002
- path: string;
20003
20002
  name: string;
20003
+ path: string;
20004
20004
  isMissing?: boolean | undefined;
20005
20005
  }>, "many">;
20006
20006
  activitySummary: z.ZodObject<{
@@ -20157,8 +20157,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20157
20157
  firstImageInContent: z.ZodOptional<z.ZodString>;
20158
20158
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
20159
20159
  }, "strip", z.ZodTypeAny, {
20160
- path: string[];
20161
20160
  type: "document";
20161
+ path: string[];
20162
20162
  version: string;
20163
20163
  id: {
20164
20164
  path: string[] | null;
@@ -20214,8 +20214,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20214
20214
  authors: string[];
20215
20215
  sortTime: Date;
20216
20216
  breadcrumbs: {
20217
- path: string;
20218
20217
  name: string;
20218
+ path: string;
20219
20219
  isMissing?: boolean | undefined;
20220
20220
  }[];
20221
20221
  activitySummary: {
@@ -20243,8 +20243,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20243
20243
  } | undefined;
20244
20244
  firstImageInContent?: string | undefined;
20245
20245
  }, {
20246
- path: string[];
20247
20246
  type: "document";
20247
+ path: string[];
20248
20248
  version: string;
20249
20249
  id: {
20250
20250
  path: string[] | null;
@@ -20300,8 +20300,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20300
20300
  authors: string[];
20301
20301
  sortTime: Date;
20302
20302
  breadcrumbs: {
20303
- path: string;
20304
20303
  name: string;
20304
+ path: string;
20305
20305
  isMissing?: boolean | undefined;
20306
20306
  }[];
20307
20307
  activitySummary: {
@@ -20349,8 +20349,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20349
20349
  targetDocPath?: string[] | null | undefined;
20350
20350
  };
20351
20351
  results: {
20352
- path: string[];
20353
20352
  type: "document";
20353
+ path: string[];
20354
20354
  version: string;
20355
20355
  id: {
20356
20356
  path: string[] | null;
@@ -20406,8 +20406,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20406
20406
  authors: string[];
20407
20407
  sortTime: Date;
20408
20408
  breadcrumbs: {
20409
- path: string;
20410
20409
  name: string;
20410
+ path: string;
20411
20411
  isMissing?: boolean | undefined;
20412
20412
  }[];
20413
20413
  activitySummary: {
@@ -20455,8 +20455,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20455
20455
  targetDocPath?: string[] | null | undefined;
20456
20456
  };
20457
20457
  results: {
20458
- path: string[];
20459
20458
  type: "document";
20459
+ path: string[];
20460
20460
  version: string;
20461
20461
  id: {
20462
20462
  path: string[] | null;
@@ -20512,8 +20512,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20512
20512
  authors: string[];
20513
20513
  sortTime: Date;
20514
20514
  breadcrumbs: {
20515
- path: string;
20516
20515
  name: string;
20516
+ path: string;
20517
20517
  isMissing?: boolean | undefined;
20518
20518
  }[];
20519
20519
  activitySummary: {
@@ -20576,8 +20576,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20576
20576
  targetDocPath?: string[] | null | undefined;
20577
20577
  };
20578
20578
  results: {
20579
- path: string[];
20580
20579
  type: "document";
20580
+ path: string[];
20581
20581
  version: string;
20582
20582
  id: {
20583
20583
  path: string[] | null;
@@ -20633,8 +20633,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20633
20633
  authors: string[];
20634
20634
  sortTime: Date;
20635
20635
  breadcrumbs: {
20636
- path: string;
20637
20636
  name: string;
20637
+ path: string;
20638
20638
  isMissing?: boolean | undefined;
20639
20639
  }[];
20640
20640
  activitySummary: {
@@ -20697,8 +20697,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20697
20697
  targetDocPath?: string[] | null | undefined;
20698
20698
  };
20699
20699
  results: {
20700
- path: string[];
20701
20700
  type: "document";
20701
+ path: string[];
20702
20702
  version: string;
20703
20703
  id: {
20704
20704
  path: string[] | null;
@@ -20754,8 +20754,8 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20754
20754
  authors: string[];
20755
20755
  sortTime: Date;
20756
20756
  breadcrumbs: {
20757
- path: string;
20758
20757
  name: string;
20758
+ path: string;
20759
20759
  isMissing?: boolean | undefined;
20760
20760
  }[];
20761
20761
  activitySummary: {
@@ -28949,24 +28949,24 @@ export declare const HMRawCapabilitySchema: z.ZodObject<{
28949
28949
  label: z.ZodOptional<z.ZodString>;
28950
28950
  createTime: z.ZodOptional<z.ZodString>;
28951
28951
  }, "strip", z.ZodTypeAny, {
28952
- path?: string | undefined;
28953
- id?: string | undefined;
28954
- createTime?: string | undefined;
28955
28952
  account?: string | undefined;
28953
+ delegate?: string | undefined;
28954
+ path?: string | undefined;
28956
28955
  role?: string | undefined;
28957
28956
  label?: string | undefined;
28957
+ id?: string | undefined;
28958
+ createTime?: string | undefined;
28958
28959
  issuer?: string | undefined;
28959
- delegate?: string | undefined;
28960
28960
  noRecursive?: boolean | undefined;
28961
28961
  }, {
28962
- path?: string | undefined;
28963
- id?: string | undefined;
28964
- createTime?: string | undefined;
28965
28962
  account?: string | undefined;
28963
+ delegate?: string | undefined;
28964
+ path?: string | undefined;
28966
28965
  role?: string | undefined;
28967
28966
  label?: string | undefined;
28967
+ id?: string | undefined;
28968
+ createTime?: string | undefined;
28968
28969
  issuer?: string | undefined;
28969
- delegate?: string | undefined;
28970
28970
  noRecursive?: boolean | undefined;
28971
28971
  }>;
28972
28972
  export type HMRawCapability = z.infer<typeof HMRawCapabilitySchema>;
@@ -28982,48 +28982,48 @@ export declare const HMListCapabilitiesOutputSchema: z.ZodObject<{
28982
28982
  label: z.ZodOptional<z.ZodString>;
28983
28983
  createTime: z.ZodOptional<z.ZodString>;
28984
28984
  }, "strip", z.ZodTypeAny, {
28985
- path?: string | undefined;
28986
- id?: string | undefined;
28987
- createTime?: string | undefined;
28988
28985
  account?: string | undefined;
28986
+ delegate?: string | undefined;
28987
+ path?: string | undefined;
28989
28988
  role?: string | undefined;
28990
28989
  label?: string | undefined;
28990
+ id?: string | undefined;
28991
+ createTime?: string | undefined;
28991
28992
  issuer?: string | undefined;
28992
- delegate?: string | undefined;
28993
28993
  noRecursive?: boolean | undefined;
28994
28994
  }, {
28995
- path?: string | undefined;
28996
- id?: string | undefined;
28997
- createTime?: string | undefined;
28998
28995
  account?: string | undefined;
28996
+ delegate?: string | undefined;
28997
+ path?: string | undefined;
28999
28998
  role?: string | undefined;
29000
28999
  label?: string | undefined;
29000
+ id?: string | undefined;
29001
+ createTime?: string | undefined;
29001
29002
  issuer?: string | undefined;
29002
- delegate?: string | undefined;
29003
29003
  noRecursive?: boolean | undefined;
29004
29004
  }>, "many">;
29005
29005
  }, "strip", z.ZodTypeAny, {
29006
29006
  capabilities: {
29007
- path?: string | undefined;
29008
- id?: string | undefined;
29009
- createTime?: string | undefined;
29010
29007
  account?: string | undefined;
29008
+ delegate?: string | undefined;
29009
+ path?: string | undefined;
29011
29010
  role?: string | undefined;
29012
29011
  label?: string | undefined;
29012
+ id?: string | undefined;
29013
+ createTime?: string | undefined;
29013
29014
  issuer?: string | undefined;
29014
- delegate?: string | undefined;
29015
29015
  noRecursive?: boolean | undefined;
29016
29016
  }[];
29017
29017
  }, {
29018
29018
  capabilities: {
29019
- path?: string | undefined;
29020
- id?: string | undefined;
29021
- createTime?: string | undefined;
29022
29019
  account?: string | undefined;
29020
+ delegate?: string | undefined;
29021
+ path?: string | undefined;
29023
29022
  role?: string | undefined;
29024
29023
  label?: string | undefined;
29024
+ id?: string | undefined;
29025
+ createTime?: string | undefined;
29025
29026
  issuer?: string | undefined;
29026
- delegate?: string | undefined;
29027
29027
  noRecursive?: boolean | undefined;
29028
29028
  }[];
29029
29029
  }>;
@@ -29233,48 +29233,48 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
29233
29233
  label: z.ZodOptional<z.ZodString>;
29234
29234
  createTime: z.ZodOptional<z.ZodString>;
29235
29235
  }, "strip", z.ZodTypeAny, {
29236
- path?: string | undefined;
29237
- id?: string | undefined;
29238
- createTime?: string | undefined;
29239
29236
  account?: string | undefined;
29237
+ delegate?: string | undefined;
29238
+ path?: string | undefined;
29240
29239
  role?: string | undefined;
29241
29240
  label?: string | undefined;
29241
+ id?: string | undefined;
29242
+ createTime?: string | undefined;
29242
29243
  issuer?: string | undefined;
29243
- delegate?: string | undefined;
29244
29244
  noRecursive?: boolean | undefined;
29245
29245
  }, {
29246
- path?: string | undefined;
29247
- id?: string | undefined;
29248
- createTime?: string | undefined;
29249
29246
  account?: string | undefined;
29247
+ delegate?: string | undefined;
29248
+ path?: string | undefined;
29250
29249
  role?: string | undefined;
29251
29250
  label?: string | undefined;
29251
+ id?: string | undefined;
29252
+ createTime?: string | undefined;
29252
29253
  issuer?: string | undefined;
29253
- delegate?: string | undefined;
29254
29254
  noRecursive?: boolean | undefined;
29255
29255
  }>, "many">;
29256
29256
  }, "strip", z.ZodTypeAny, {
29257
29257
  capabilities: {
29258
- path?: string | undefined;
29259
- id?: string | undefined;
29260
- createTime?: string | undefined;
29261
29258
  account?: string | undefined;
29259
+ delegate?: string | undefined;
29260
+ path?: string | undefined;
29262
29261
  role?: string | undefined;
29263
29262
  label?: string | undefined;
29263
+ id?: string | undefined;
29264
+ createTime?: string | undefined;
29264
29265
  issuer?: string | undefined;
29265
- delegate?: string | undefined;
29266
29266
  noRecursive?: boolean | undefined;
29267
29267
  }[];
29268
29268
  }, {
29269
29269
  capabilities: {
29270
- path?: string | undefined;
29271
- id?: string | undefined;
29272
- createTime?: string | undefined;
29273
29270
  account?: string | undefined;
29271
+ delegate?: string | undefined;
29272
+ path?: string | undefined;
29274
29273
  role?: string | undefined;
29275
29274
  label?: string | undefined;
29275
+ id?: string | undefined;
29276
+ createTime?: string | undefined;
29276
29277
  issuer?: string | undefined;
29277
- delegate?: string | undefined;
29278
29278
  noRecursive?: boolean | undefined;
29279
29279
  }[];
29280
29280
  }>;
@@ -29301,14 +29301,14 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
29301
29301
  };
29302
29302
  output: {
29303
29303
  capabilities: {
29304
- path?: string | undefined;
29305
- id?: string | undefined;
29306
- createTime?: string | undefined;
29307
29304
  account?: string | undefined;
29305
+ delegate?: string | undefined;
29306
+ path?: string | undefined;
29308
29307
  role?: string | undefined;
29309
29308
  label?: string | undefined;
29309
+ id?: string | undefined;
29310
+ createTime?: string | undefined;
29310
29311
  issuer?: string | undefined;
29311
- delegate?: string | undefined;
29312
29312
  noRecursive?: boolean | undefined;
29313
29313
  }[];
29314
29314
  };
@@ -29335,14 +29335,14 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
29335
29335
  };
29336
29336
  output: {
29337
29337
  capabilities: {
29338
- path?: string | undefined;
29339
- id?: string | undefined;
29340
- createTime?: string | undefined;
29341
29338
  account?: string | undefined;
29339
+ delegate?: string | undefined;
29340
+ path?: string | undefined;
29342
29341
  role?: string | undefined;
29343
29342
  label?: string | undefined;
29343
+ id?: string | undefined;
29344
+ createTime?: string | undefined;
29344
29345
  issuer?: string | undefined;
29345
- delegate?: string | undefined;
29346
29346
  noRecursive?: boolean | undefined;
29347
29347
  }[];
29348
29348
  };
@@ -29520,12 +29520,12 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
29520
29520
  nanos: number;
29521
29521
  }>, z.ZodString]>;
29522
29522
  }, "strip", z.ZodTypeAny, {
29523
+ role: "writer" | "agent" | "none" | "owner";
29523
29524
  id: string;
29524
29525
  createTime: string | {
29525
29526
  seconds: number | bigint;
29526
29527
  nanos: number;
29527
29528
  };
29528
- role: "writer" | "agent" | "none" | "owner";
29529
29529
  accountUid: string;
29530
29530
  grantId: {
29531
29531
  path: string[] | null;
@@ -29544,15 +29544,15 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
29544
29544
  targetDocUid?: string | null | undefined;
29545
29545
  targetDocPath?: string[] | null | undefined;
29546
29546
  };
29547
- capabilityId?: string | undefined;
29548
29547
  label?: string | undefined;
29548
+ capabilityId?: string | undefined;
29549
29549
  }, {
29550
+ role: "writer" | "agent" | "none" | "owner";
29550
29551
  id: string;
29551
29552
  createTime: string | {
29552
29553
  seconds: number | bigint;
29553
29554
  nanos: number;
29554
29555
  };
29555
- role: "writer" | "agent" | "none" | "owner";
29556
29556
  accountUid: string;
29557
29557
  grantId: {
29558
29558
  path: string[] | null;
@@ -29571,8 +29571,8 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
29571
29571
  targetDocUid?: string | null | undefined;
29572
29572
  targetDocPath?: string[] | null | undefined;
29573
29573
  };
29574
- capabilityId?: string | undefined;
29575
29574
  label?: string | undefined;
29575
+ capabilityId?: string | undefined;
29576
29576
  }>, "many">;
29577
29577
  grantedCapabilities: z.ZodArray<z.ZodObject<{
29578
29578
  id: z.ZodString;
@@ -29648,12 +29648,12 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
29648
29648
  nanos: number;
29649
29649
  }>, z.ZodString]>;
29650
29650
  }, "strip", z.ZodTypeAny, {
29651
+ role: "writer" | "agent" | "none" | "owner";
29651
29652
  id: string;
29652
29653
  createTime: string | {
29653
29654
  seconds: number | bigint;
29654
29655
  nanos: number;
29655
29656
  };
29656
- role: "writer" | "agent" | "none" | "owner";
29657
29657
  accountUid: string;
29658
29658
  grantId: {
29659
29659
  path: string[] | null;
@@ -29672,15 +29672,15 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
29672
29672
  targetDocUid?: string | null | undefined;
29673
29673
  targetDocPath?: string[] | null | undefined;
29674
29674
  };
29675
- capabilityId?: string | undefined;
29676
29675
  label?: string | undefined;
29676
+ capabilityId?: string | undefined;
29677
29677
  }, {
29678
+ role: "writer" | "agent" | "none" | "owner";
29678
29679
  id: string;
29679
29680
  createTime: string | {
29680
29681
  seconds: number | bigint;
29681
29682
  nanos: number;
29682
29683
  };
29683
- role: "writer" | "agent" | "none" | "owner";
29684
29684
  accountUid: string;
29685
29685
  grantId: {
29686
29686
  path: string[] | null;
@@ -29699,8 +29699,8 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
29699
29699
  targetDocUid?: string | null | undefined;
29700
29700
  targetDocPath?: string[] | null | undefined;
29701
29701
  };
29702
- capabilityId?: string | undefined;
29703
29702
  label?: string | undefined;
29703
+ capabilityId?: string | undefined;
29704
29704
  }>, "many">;
29705
29705
  grantedMembers: z.ZodArray<z.ZodObject<{
29706
29706
  account: z.ZodObject<{
@@ -30173,12 +30173,12 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
30173
30173
  }>;
30174
30174
  publisherUid: string;
30175
30175
  parentCapabilities: {
30176
+ role: "writer" | "agent" | "none" | "owner";
30176
30177
  id: string;
30177
30178
  createTime: string | {
30178
30179
  seconds: number | bigint;
30179
30180
  nanos: number;
30180
30181
  };
30181
- role: "writer" | "agent" | "none" | "owner";
30182
30182
  accountUid: string;
30183
30183
  grantId: {
30184
30184
  path: string[] | null;
@@ -30197,16 +30197,16 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
30197
30197
  targetDocUid?: string | null | undefined;
30198
30198
  targetDocPath?: string[] | null | undefined;
30199
30199
  };
30200
- capabilityId?: string | undefined;
30201
30200
  label?: string | undefined;
30201
+ capabilityId?: string | undefined;
30202
30202
  }[];
30203
30203
  grantedCapabilities: {
30204
+ role: "writer" | "agent" | "none" | "owner";
30204
30205
  id: string;
30205
30206
  createTime: string | {
30206
30207
  seconds: number | bigint;
30207
30208
  nanos: number;
30208
30209
  };
30209
- role: "writer" | "agent" | "none" | "owner";
30210
30210
  accountUid: string;
30211
30211
  grantId: {
30212
30212
  path: string[] | null;
@@ -30225,8 +30225,8 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
30225
30225
  targetDocUid?: string | null | undefined;
30226
30226
  targetDocPath?: string[] | null | undefined;
30227
30227
  };
30228
- capabilityId?: string | undefined;
30229
30228
  label?: string | undefined;
30229
+ capabilityId?: string | undefined;
30230
30230
  }[];
30231
30231
  grantedMembers: {
30232
30232
  account: {
@@ -30317,12 +30317,12 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
30317
30317
  }>;
30318
30318
  publisherUid: string;
30319
30319
  parentCapabilities: {
30320
+ role: "writer" | "agent" | "none" | "owner";
30320
30321
  id: string;
30321
30322
  createTime: string | {
30322
30323
  seconds: number | bigint;
30323
30324
  nanos: number;
30324
30325
  };
30325
- role: "writer" | "agent" | "none" | "owner";
30326
30326
  accountUid: string;
30327
30327
  grantId: {
30328
30328
  path: string[] | null;
@@ -30341,16 +30341,16 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
30341
30341
  targetDocUid?: string | null | undefined;
30342
30342
  targetDocPath?: string[] | null | undefined;
30343
30343
  };
30344
- capabilityId?: string | undefined;
30345
30344
  label?: string | undefined;
30345
+ capabilityId?: string | undefined;
30346
30346
  }[];
30347
30347
  grantedCapabilities: {
30348
+ role: "writer" | "agent" | "none" | "owner";
30348
30349
  id: string;
30349
30350
  createTime: string | {
30350
30351
  seconds: number | bigint;
30351
30352
  nanos: number;
30352
30353
  };
30353
- role: "writer" | "agent" | "none" | "owner";
30354
30354
  accountUid: string;
30355
30355
  grantId: {
30356
30356
  path: string[] | null;
@@ -30369,8 +30369,8 @@ export declare const HMListDocumentCollaboratorsOutputSchema: z.ZodObject<{
30369
30369
  targetDocUid?: string | null | undefined;
30370
30370
  targetDocPath?: string[] | null | undefined;
30371
30371
  };
30372
- capabilityId?: string | undefined;
30373
30372
  label?: string | undefined;
30373
+ capabilityId?: string | undefined;
30374
30374
  }[];
30375
30375
  grantedMembers: {
30376
30376
  account: {
@@ -30587,12 +30587,12 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
30587
30587
  nanos: number;
30588
30588
  }>, z.ZodString]>;
30589
30589
  }, "strip", z.ZodTypeAny, {
30590
+ role: "writer" | "agent" | "none" | "owner";
30590
30591
  id: string;
30591
30592
  createTime: string | {
30592
30593
  seconds: number | bigint;
30593
30594
  nanos: number;
30594
30595
  };
30595
- role: "writer" | "agent" | "none" | "owner";
30596
30596
  accountUid: string;
30597
30597
  grantId: {
30598
30598
  path: string[] | null;
@@ -30611,15 +30611,15 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
30611
30611
  targetDocUid?: string | null | undefined;
30612
30612
  targetDocPath?: string[] | null | undefined;
30613
30613
  };
30614
- capabilityId?: string | undefined;
30615
30614
  label?: string | undefined;
30615
+ capabilityId?: string | undefined;
30616
30616
  }, {
30617
+ role: "writer" | "agent" | "none" | "owner";
30617
30618
  id: string;
30618
30619
  createTime: string | {
30619
30620
  seconds: number | bigint;
30620
30621
  nanos: number;
30621
30622
  };
30622
- role: "writer" | "agent" | "none" | "owner";
30623
30623
  accountUid: string;
30624
30624
  grantId: {
30625
30625
  path: string[] | null;
@@ -30638,8 +30638,8 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
30638
30638
  targetDocUid?: string | null | undefined;
30639
30639
  targetDocPath?: string[] | null | undefined;
30640
30640
  };
30641
- capabilityId?: string | undefined;
30642
30641
  label?: string | undefined;
30642
+ capabilityId?: string | undefined;
30643
30643
  }>, "many">;
30644
30644
  grantedCapabilities: z.ZodArray<z.ZodObject<{
30645
30645
  id: z.ZodString;
@@ -30715,12 +30715,12 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
30715
30715
  nanos: number;
30716
30716
  }>, z.ZodString]>;
30717
30717
  }, "strip", z.ZodTypeAny, {
30718
+ role: "writer" | "agent" | "none" | "owner";
30718
30719
  id: string;
30719
30720
  createTime: string | {
30720
30721
  seconds: number | bigint;
30721
30722
  nanos: number;
30722
30723
  };
30723
- role: "writer" | "agent" | "none" | "owner";
30724
30724
  accountUid: string;
30725
30725
  grantId: {
30726
30726
  path: string[] | null;
@@ -30739,15 +30739,15 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
30739
30739
  targetDocUid?: string | null | undefined;
30740
30740
  targetDocPath?: string[] | null | undefined;
30741
30741
  };
30742
- capabilityId?: string | undefined;
30743
30742
  label?: string | undefined;
30743
+ capabilityId?: string | undefined;
30744
30744
  }, {
30745
+ role: "writer" | "agent" | "none" | "owner";
30745
30746
  id: string;
30746
30747
  createTime: string | {
30747
30748
  seconds: number | bigint;
30748
30749
  nanos: number;
30749
30750
  };
30750
- role: "writer" | "agent" | "none" | "owner";
30751
30751
  accountUid: string;
30752
30752
  grantId: {
30753
30753
  path: string[] | null;
@@ -30766,8 +30766,8 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
30766
30766
  targetDocUid?: string | null | undefined;
30767
30767
  targetDocPath?: string[] | null | undefined;
30768
30768
  };
30769
- capabilityId?: string | undefined;
30770
30769
  label?: string | undefined;
30770
+ capabilityId?: string | undefined;
30771
30771
  }>, "many">;
30772
30772
  grantedMembers: z.ZodArray<z.ZodObject<{
30773
30773
  account: z.ZodObject<{
@@ -31240,12 +31240,12 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31240
31240
  }>;
31241
31241
  publisherUid: string;
31242
31242
  parentCapabilities: {
31243
+ role: "writer" | "agent" | "none" | "owner";
31243
31244
  id: string;
31244
31245
  createTime: string | {
31245
31246
  seconds: number | bigint;
31246
31247
  nanos: number;
31247
31248
  };
31248
- role: "writer" | "agent" | "none" | "owner";
31249
31249
  accountUid: string;
31250
31250
  grantId: {
31251
31251
  path: string[] | null;
@@ -31264,16 +31264,16 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31264
31264
  targetDocUid?: string | null | undefined;
31265
31265
  targetDocPath?: string[] | null | undefined;
31266
31266
  };
31267
- capabilityId?: string | undefined;
31268
31267
  label?: string | undefined;
31268
+ capabilityId?: string | undefined;
31269
31269
  }[];
31270
31270
  grantedCapabilities: {
31271
+ role: "writer" | "agent" | "none" | "owner";
31271
31272
  id: string;
31272
31273
  createTime: string | {
31273
31274
  seconds: number | bigint;
31274
31275
  nanos: number;
31275
31276
  };
31276
- role: "writer" | "agent" | "none" | "owner";
31277
31277
  accountUid: string;
31278
31278
  grantId: {
31279
31279
  path: string[] | null;
@@ -31292,8 +31292,8 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31292
31292
  targetDocUid?: string | null | undefined;
31293
31293
  targetDocPath?: string[] | null | undefined;
31294
31294
  };
31295
- capabilityId?: string | undefined;
31296
31295
  label?: string | undefined;
31296
+ capabilityId?: string | undefined;
31297
31297
  }[];
31298
31298
  grantedMembers: {
31299
31299
  account: {
@@ -31384,12 +31384,12 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31384
31384
  }>;
31385
31385
  publisherUid: string;
31386
31386
  parentCapabilities: {
31387
+ role: "writer" | "agent" | "none" | "owner";
31387
31388
  id: string;
31388
31389
  createTime: string | {
31389
31390
  seconds: number | bigint;
31390
31391
  nanos: number;
31391
31392
  };
31392
- role: "writer" | "agent" | "none" | "owner";
31393
31393
  accountUid: string;
31394
31394
  grantId: {
31395
31395
  path: string[] | null;
@@ -31408,16 +31408,16 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31408
31408
  targetDocUid?: string | null | undefined;
31409
31409
  targetDocPath?: string[] | null | undefined;
31410
31410
  };
31411
- capabilityId?: string | undefined;
31412
31411
  label?: string | undefined;
31412
+ capabilityId?: string | undefined;
31413
31413
  }[];
31414
31414
  grantedCapabilities: {
31415
+ role: "writer" | "agent" | "none" | "owner";
31415
31416
  id: string;
31416
31417
  createTime: string | {
31417
31418
  seconds: number | bigint;
31418
31419
  nanos: number;
31419
31420
  };
31420
- role: "writer" | "agent" | "none" | "owner";
31421
31421
  accountUid: string;
31422
31422
  grantId: {
31423
31423
  path: string[] | null;
@@ -31436,8 +31436,8 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31436
31436
  targetDocUid?: string | null | undefined;
31437
31437
  targetDocPath?: string[] | null | undefined;
31438
31438
  };
31439
- capabilityId?: string | undefined;
31440
31439
  label?: string | undefined;
31440
+ capabilityId?: string | undefined;
31441
31441
  }[];
31442
31442
  grantedMembers: {
31443
31443
  account: {
@@ -31550,12 +31550,12 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31550
31550
  }>;
31551
31551
  publisherUid: string;
31552
31552
  parentCapabilities: {
31553
+ role: "writer" | "agent" | "none" | "owner";
31553
31554
  id: string;
31554
31555
  createTime: string | {
31555
31556
  seconds: number | bigint;
31556
31557
  nanos: number;
31557
31558
  };
31558
- role: "writer" | "agent" | "none" | "owner";
31559
31559
  accountUid: string;
31560
31560
  grantId: {
31561
31561
  path: string[] | null;
@@ -31574,16 +31574,16 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31574
31574
  targetDocUid?: string | null | undefined;
31575
31575
  targetDocPath?: string[] | null | undefined;
31576
31576
  };
31577
- capabilityId?: string | undefined;
31578
31577
  label?: string | undefined;
31578
+ capabilityId?: string | undefined;
31579
31579
  }[];
31580
31580
  grantedCapabilities: {
31581
+ role: "writer" | "agent" | "none" | "owner";
31581
31582
  id: string;
31582
31583
  createTime: string | {
31583
31584
  seconds: number | bigint;
31584
31585
  nanos: number;
31585
31586
  };
31586
- role: "writer" | "agent" | "none" | "owner";
31587
31587
  accountUid: string;
31588
31588
  grantId: {
31589
31589
  path: string[] | null;
@@ -31602,8 +31602,8 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31602
31602
  targetDocUid?: string | null | undefined;
31603
31603
  targetDocPath?: string[] | null | undefined;
31604
31604
  };
31605
- capabilityId?: string | undefined;
31606
31605
  label?: string | undefined;
31606
+ capabilityId?: string | undefined;
31607
31607
  }[];
31608
31608
  grantedMembers: {
31609
31609
  account: {
@@ -31716,12 +31716,12 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31716
31716
  }>;
31717
31717
  publisherUid: string;
31718
31718
  parentCapabilities: {
31719
+ role: "writer" | "agent" | "none" | "owner";
31719
31720
  id: string;
31720
31721
  createTime: string | {
31721
31722
  seconds: number | bigint;
31722
31723
  nanos: number;
31723
31724
  };
31724
- role: "writer" | "agent" | "none" | "owner";
31725
31725
  accountUid: string;
31726
31726
  grantId: {
31727
31727
  path: string[] | null;
@@ -31740,16 +31740,16 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31740
31740
  targetDocUid?: string | null | undefined;
31741
31741
  targetDocPath?: string[] | null | undefined;
31742
31742
  };
31743
- capabilityId?: string | undefined;
31744
31743
  label?: string | undefined;
31744
+ capabilityId?: string | undefined;
31745
31745
  }[];
31746
31746
  grantedCapabilities: {
31747
+ role: "writer" | "agent" | "none" | "owner";
31747
31748
  id: string;
31748
31749
  createTime: string | {
31749
31750
  seconds: number | bigint;
31750
31751
  nanos: number;
31751
31752
  };
31752
- role: "writer" | "agent" | "none" | "owner";
31753
31753
  accountUid: string;
31754
31754
  grantId: {
31755
31755
  path: string[] | null;
@@ -31768,8 +31768,8 @@ export declare const HMListDocumentCollaboratorsRequestSchema: z.ZodObject<{
31768
31768
  targetDocUid?: string | null | undefined;
31769
31769
  targetDocPath?: string[] | null | undefined;
31770
31770
  };
31771
- capabilityId?: string | undefined;
31772
31771
  label?: string | undefined;
31772
+ capabilityId?: string | undefined;
31773
31773
  }[];
31774
31774
  grantedMembers: {
31775
31775
  account: {
@@ -32310,12 +32310,12 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32310
32310
  path: z.ZodString;
32311
32311
  isMissing: z.ZodOptional<z.ZodBoolean>;
32312
32312
  }, "strip", z.ZodTypeAny, {
32313
- path: string;
32314
32313
  name: string;
32314
+ path: string;
32315
32315
  isMissing?: boolean | undefined;
32316
32316
  }, {
32317
- path: string;
32318
32317
  name: string;
32318
+ path: string;
32319
32319
  isMissing?: boolean | undefined;
32320
32320
  }>, "many">;
32321
32321
  activitySummary: z.ZodObject<{
@@ -32472,8 +32472,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32472
32472
  firstImageInContent: z.ZodOptional<z.ZodString>;
32473
32473
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
32474
32474
  }, "strip", z.ZodTypeAny, {
32475
- path: string[];
32476
32475
  type: "document";
32476
+ path: string[];
32477
32477
  version: string;
32478
32478
  id: {
32479
32479
  path: string[] | null;
@@ -32529,8 +32529,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32529
32529
  authors: string[];
32530
32530
  sortTime: Date;
32531
32531
  breadcrumbs: {
32532
- path: string;
32533
32532
  name: string;
32533
+ path: string;
32534
32534
  isMissing?: boolean | undefined;
32535
32535
  }[];
32536
32536
  activitySummary: {
@@ -32558,8 +32558,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32558
32558
  } | undefined;
32559
32559
  firstImageInContent?: string | undefined;
32560
32560
  }, {
32561
- path: string[];
32562
32561
  type: "document";
32562
+ path: string[];
32563
32563
  version: string;
32564
32564
  id: {
32565
32565
  path: string[] | null;
@@ -32615,8 +32615,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32615
32615
  authors: string[];
32616
32616
  sortTime: Date;
32617
32617
  breadcrumbs: {
32618
- path: string;
32619
32618
  name: string;
32619
+ path: string;
32620
32620
  isMissing?: boolean | undefined;
32621
32621
  }[];
32622
32622
  activitySummary: {
@@ -32903,8 +32903,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32903
32903
  targetDocPath?: string[] | null | undefined;
32904
32904
  };
32905
32905
  results: {
32906
- path: string[];
32907
32906
  type: "document";
32907
+ path: string[];
32908
32908
  version: string;
32909
32909
  id: {
32910
32910
  path: string[] | null;
@@ -32960,8 +32960,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32960
32960
  authors: string[];
32961
32961
  sortTime: Date;
32962
32962
  breadcrumbs: {
32963
- path: string;
32964
32963
  name: string;
32964
+ path: string;
32965
32965
  isMissing?: boolean | undefined;
32966
32966
  }[];
32967
32967
  activitySummary: {
@@ -33061,8 +33061,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
33061
33061
  targetDocPath?: string[] | null | undefined;
33062
33062
  };
33063
33063
  results: {
33064
- path: string[];
33065
33064
  type: "document";
33065
+ path: string[];
33066
33066
  version: string;
33067
33067
  id: {
33068
33068
  path: string[] | null;
@@ -33118,8 +33118,8 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
33118
33118
  authors: string[];
33119
33119
  sortTime: Date;
33120
33120
  breadcrumbs: {
33121
- path: string;
33122
33121
  name: string;
33122
+ path: string;
33123
33123
  isMissing?: boolean | undefined;
33124
33124
  }[];
33125
33125
  activitySummary: {
@@ -33428,12 +33428,12 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33428
33428
  path: z.ZodString;
33429
33429
  isMissing: z.ZodOptional<z.ZodBoolean>;
33430
33430
  }, "strip", z.ZodTypeAny, {
33431
- path: string;
33432
33431
  name: string;
33432
+ path: string;
33433
33433
  isMissing?: boolean | undefined;
33434
33434
  }, {
33435
- path: string;
33436
33435
  name: string;
33436
+ path: string;
33437
33437
  isMissing?: boolean | undefined;
33438
33438
  }>, "many">;
33439
33439
  activitySummary: z.ZodObject<{
@@ -33590,8 +33590,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33590
33590
  firstImageInContent: z.ZodOptional<z.ZodString>;
33591
33591
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
33592
33592
  }, "strip", z.ZodTypeAny, {
33593
- path: string[];
33594
33593
  type: "document";
33594
+ path: string[];
33595
33595
  version: string;
33596
33596
  id: {
33597
33597
  path: string[] | null;
@@ -33647,8 +33647,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33647
33647
  authors: string[];
33648
33648
  sortTime: Date;
33649
33649
  breadcrumbs: {
33650
- path: string;
33651
33650
  name: string;
33651
+ path: string;
33652
33652
  isMissing?: boolean | undefined;
33653
33653
  }[];
33654
33654
  activitySummary: {
@@ -33676,8 +33676,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33676
33676
  } | undefined;
33677
33677
  firstImageInContent?: string | undefined;
33678
33678
  }, {
33679
- path: string[];
33680
33679
  type: "document";
33680
+ path: string[];
33681
33681
  version: string;
33682
33682
  id: {
33683
33683
  path: string[] | null;
@@ -33733,8 +33733,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33733
33733
  authors: string[];
33734
33734
  sortTime: Date;
33735
33735
  breadcrumbs: {
33736
- path: string;
33737
33736
  name: string;
33737
+ path: string;
33738
33738
  isMissing?: boolean | undefined;
33739
33739
  }[];
33740
33740
  activitySummary: {
@@ -34021,8 +34021,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34021
34021
  targetDocPath?: string[] | null | undefined;
34022
34022
  };
34023
34023
  results: {
34024
- path: string[];
34025
34024
  type: "document";
34025
+ path: string[];
34026
34026
  version: string;
34027
34027
  id: {
34028
34028
  path: string[] | null;
@@ -34078,8 +34078,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34078
34078
  authors: string[];
34079
34079
  sortTime: Date;
34080
34080
  breadcrumbs: {
34081
- path: string;
34082
34081
  name: string;
34082
+ path: string;
34083
34083
  isMissing?: boolean | undefined;
34084
34084
  }[];
34085
34085
  activitySummary: {
@@ -34179,8 +34179,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34179
34179
  targetDocPath?: string[] | null | undefined;
34180
34180
  };
34181
34181
  results: {
34182
- path: string[];
34183
34182
  type: "document";
34183
+ path: string[];
34184
34184
  version: string;
34185
34185
  id: {
34186
34186
  path: string[] | null;
@@ -34236,8 +34236,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34236
34236
  authors: string[];
34237
34237
  sortTime: Date;
34238
34238
  breadcrumbs: {
34239
- path: string;
34240
34239
  name: string;
34240
+ path: string;
34241
34241
  isMissing?: boolean | undefined;
34242
34242
  }[];
34243
34243
  activitySummary: {
@@ -34354,8 +34354,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34354
34354
  targetDocPath?: string[] | null | undefined;
34355
34355
  };
34356
34356
  results: {
34357
- path: string[];
34358
34357
  type: "document";
34358
+ path: string[];
34359
34359
  version: string;
34360
34360
  id: {
34361
34361
  path: string[] | null;
@@ -34411,8 +34411,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34411
34411
  authors: string[];
34412
34412
  sortTime: Date;
34413
34413
  breadcrumbs: {
34414
- path: string;
34415
34414
  name: string;
34415
+ path: string;
34416
34416
  isMissing?: boolean | undefined;
34417
34417
  }[];
34418
34418
  activitySummary: {
@@ -34529,8 +34529,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34529
34529
  targetDocPath?: string[] | null | undefined;
34530
34530
  };
34531
34531
  results: {
34532
- path: string[];
34533
34532
  type: "document";
34533
+ path: string[];
34534
34534
  version: string;
34535
34535
  id: {
34536
34536
  path: string[] | null;
@@ -34586,8 +34586,8 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34586
34586
  authors: string[];
34587
34587
  sortTime: Date;
34588
34588
  breadcrumbs: {
34589
- path: string;
34590
34589
  name: string;
34590
+ path: string;
34591
34591
  isMissing?: boolean | undefined;
34592
34592
  }[];
34593
34593
  activitySummary: {
@@ -34844,8 +34844,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
34844
34844
  }>, "many">>;
34845
34845
  revision: z.ZodOptional<z.ZodString>;
34846
34846
  }, "strip", z.ZodTypeAny, {
34847
- link?: string | undefined;
34848
34847
  type?: string | undefined;
34848
+ link?: string | undefined;
34849
34849
  id?: string | undefined;
34850
34850
  attributes?: Record<string, any> | undefined;
34851
34851
  text?: string | undefined;
@@ -34858,8 +34858,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
34858
34858
  }[] | undefined;
34859
34859
  revision?: string | undefined;
34860
34860
  }, {
34861
- link?: string | undefined;
34862
34861
  type?: string | undefined;
34862
+ link?: string | undefined;
34863
34863
  id?: string | undefined;
34864
34864
  attributes?: Record<string, any> | undefined;
34865
34865
  text?: string | undefined;
@@ -34874,8 +34874,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
34874
34874
  }>;
34875
34875
  }, "strip", z.ZodTypeAny, {
34876
34876
  value: {
34877
- link?: string | undefined;
34878
34877
  type?: string | undefined;
34878
+ link?: string | undefined;
34879
34879
  id?: string | undefined;
34880
34880
  attributes?: Record<string, any> | undefined;
34881
34881
  text?: string | undefined;
@@ -34891,8 +34891,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
34891
34891
  case: "replaceBlock";
34892
34892
  }, {
34893
34893
  value: {
34894
- link?: string | undefined;
34895
34894
  type?: string | undefined;
34895
+ link?: string | undefined;
34896
34896
  id?: string | undefined;
34897
34897
  attributes?: Record<string, any> | undefined;
34898
34898
  text?: string | undefined;
@@ -35075,8 +35075,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
35075
35075
  case: "moveBlock";
35076
35076
  } | {
35077
35077
  value: {
35078
- link?: string | undefined;
35079
35078
  type?: string | undefined;
35079
+ link?: string | undefined;
35080
35080
  id?: string | undefined;
35081
35081
  attributes?: Record<string, any> | undefined;
35082
35082
  text?: string | undefined;
@@ -35135,8 +35135,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
35135
35135
  case: "moveBlock";
35136
35136
  } | {
35137
35137
  value: {
35138
- link?: string | undefined;
35139
35138
  type?: string | undefined;
35139
+ link?: string | undefined;
35140
35140
  id?: string | undefined;
35141
35141
  attributes?: Record<string, any> | undefined;
35142
35142
  text?: string | undefined;
@@ -35200,8 +35200,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
35200
35200
  case: "moveBlock";
35201
35201
  } | {
35202
35202
  value: {
35203
- link?: string | undefined;
35204
35203
  type?: string | undefined;
35204
+ link?: string | undefined;
35205
35205
  id?: string | undefined;
35206
35206
  attributes?: Record<string, any> | undefined;
35207
35207
  text?: string | undefined;
@@ -35267,8 +35267,8 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
35267
35267
  case: "moveBlock";
35268
35268
  } | {
35269
35269
  value: {
35270
- link?: string | undefined;
35271
35270
  type?: string | undefined;
35271
+ link?: string | undefined;
35272
35272
  id?: string | undefined;
35273
35273
  attributes?: Record<string, any> | undefined;
35274
35274
  text?: string | undefined;
@@ -35415,8 +35415,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35415
35415
  }>, "many">>;
35416
35416
  revision: z.ZodOptional<z.ZodString>;
35417
35417
  }, "strip", z.ZodTypeAny, {
35418
- link?: string | undefined;
35419
35418
  type?: string | undefined;
35419
+ link?: string | undefined;
35420
35420
  id?: string | undefined;
35421
35421
  attributes?: Record<string, any> | undefined;
35422
35422
  text?: string | undefined;
@@ -35429,8 +35429,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35429
35429
  }[] | undefined;
35430
35430
  revision?: string | undefined;
35431
35431
  }, {
35432
- link?: string | undefined;
35433
35432
  type?: string | undefined;
35433
+ link?: string | undefined;
35434
35434
  id?: string | undefined;
35435
35435
  attributes?: Record<string, any> | undefined;
35436
35436
  text?: string | undefined;
@@ -35445,8 +35445,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35445
35445
  }>;
35446
35446
  }, "strip", z.ZodTypeAny, {
35447
35447
  value: {
35448
- link?: string | undefined;
35449
35448
  type?: string | undefined;
35449
+ link?: string | undefined;
35450
35450
  id?: string | undefined;
35451
35451
  attributes?: Record<string, any> | undefined;
35452
35452
  text?: string | undefined;
@@ -35462,8 +35462,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35462
35462
  case: "replaceBlock";
35463
35463
  }, {
35464
35464
  value: {
35465
- link?: string | undefined;
35466
35465
  type?: string | undefined;
35466
+ link?: string | undefined;
35467
35467
  id?: string | undefined;
35468
35468
  attributes?: Record<string, any> | undefined;
35469
35469
  text?: string | undefined;
@@ -35646,8 +35646,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35646
35646
  case: "moveBlock";
35647
35647
  } | {
35648
35648
  value: {
35649
- link?: string | undefined;
35650
35649
  type?: string | undefined;
35650
+ link?: string | undefined;
35651
35651
  id?: string | undefined;
35652
35652
  attributes?: Record<string, any> | undefined;
35653
35653
  text?: string | undefined;
@@ -35706,8 +35706,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35706
35706
  case: "moveBlock";
35707
35707
  } | {
35708
35708
  value: {
35709
- link?: string | undefined;
35710
35709
  type?: string | undefined;
35710
+ link?: string | undefined;
35711
35711
  id?: string | undefined;
35712
35712
  attributes?: Record<string, any> | undefined;
35713
35713
  text?: string | undefined;
@@ -35771,8 +35771,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35771
35771
  case: "moveBlock";
35772
35772
  } | {
35773
35773
  value: {
35774
- link?: string | undefined;
35775
35774
  type?: string | undefined;
35775
+ link?: string | undefined;
35776
35776
  id?: string | undefined;
35777
35777
  attributes?: Record<string, any> | undefined;
35778
35778
  text?: string | undefined;
@@ -35838,8 +35838,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35838
35838
  case: "moveBlock";
35839
35839
  } | {
35840
35840
  value: {
35841
- link?: string | undefined;
35842
35841
  type?: string | undefined;
35842
+ link?: string | undefined;
35843
35843
  id?: string | undefined;
35844
35844
  attributes?: Record<string, any> | undefined;
35845
35845
  text?: string | undefined;
@@ -35915,8 +35915,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35915
35915
  case: "moveBlock";
35916
35916
  } | {
35917
35917
  value: {
35918
- link?: string | undefined;
35919
35918
  type?: string | undefined;
35919
+ link?: string | undefined;
35920
35920
  id?: string | undefined;
35921
35921
  attributes?: Record<string, any> | undefined;
35922
35922
  text?: string | undefined;
@@ -35988,8 +35988,8 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
35988
35988
  case: "moveBlock";
35989
35989
  } | {
35990
35990
  value: {
35991
- link?: string | undefined;
35992
35991
  type?: string | undefined;
35992
+ link?: string | undefined;
35993
35993
  id?: string | undefined;
35994
35994
  attributes?: Record<string, any> | undefined;
35995
35995
  text?: string | undefined;
@@ -36888,6 +36888,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
36888
36888
  }>>;
36889
36889
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
36890
36890
  }, "strip", z.ZodTypeAny, {
36891
+ account: string;
36891
36892
  path: string;
36892
36893
  version: string;
36893
36894
  content: HMBlockNode[];
@@ -36926,7 +36927,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
36926
36927
  };
36927
36928
  genesis: string;
36928
36929
  authors: string[];
36929
- account: string;
36930
36930
  generationInfo?: {
36931
36931
  genesis: string;
36932
36932
  generation: bigint;
@@ -36960,6 +36960,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
36960
36960
  };
36961
36961
  genesis: string;
36962
36962
  authors: string[];
36963
+ account?: string | undefined;
36963
36964
  path?: string | undefined;
36964
36965
  version?: string | undefined;
36965
36966
  content?: HMBlockNode[] | undefined;
@@ -36975,7 +36976,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
36975
36976
  genesis: string;
36976
36977
  generation: bigint;
36977
36978
  } | undefined;
36978
- account?: string | undefined;
36979
36979
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
36980
36980
  }>;
36981
36981
  id: z.ZodObject<{
@@ -37055,6 +37055,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37055
37055
  targetDocPath?: string[] | null | undefined;
37056
37056
  };
37057
37057
  document: {
37058
+ account: string;
37058
37059
  path: string;
37059
37060
  version: string;
37060
37061
  content: HMBlockNode[];
@@ -37093,7 +37094,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37093
37094
  };
37094
37095
  genesis: string;
37095
37096
  authors: string[];
37096
- account: string;
37097
37097
  generationInfo?: {
37098
37098
  genesis: string;
37099
37099
  generation: bigint;
@@ -37147,6 +37147,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37147
37147
  };
37148
37148
  genesis: string;
37149
37149
  authors: string[];
37150
+ account?: string | undefined;
37150
37151
  path?: string | undefined;
37151
37152
  version?: string | undefined;
37152
37153
  content?: HMBlockNode[] | undefined;
@@ -37162,7 +37163,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37162
37163
  genesis: string;
37163
37164
  generation: bigint;
37164
37165
  } | undefined;
37165
- account?: string | undefined;
37166
37166
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
37167
37167
  };
37168
37168
  }>, z.ZodObject<{
@@ -37833,8 +37833,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37833
37833
  }>;
37834
37834
  message: z.ZodString;
37835
37835
  }, "strip", z.ZodTypeAny, {
37836
- message: string;
37837
37836
  type: "error";
37837
+ message: string;
37838
37838
  id: {
37839
37839
  path: string[] | null;
37840
37840
  version: string | null;
@@ -37853,8 +37853,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37853
37853
  targetDocPath?: string[] | null | undefined;
37854
37854
  };
37855
37855
  }, {
37856
- message: string;
37857
37856
  type: "error";
37857
+ message: string;
37858
37858
  id: {
37859
37859
  path: string[] | null;
37860
37860
  version: string | null;
@@ -37912,6 +37912,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37912
37912
  targetDocPath?: string[] | null | undefined;
37913
37913
  };
37914
37914
  document: {
37915
+ account: string;
37915
37916
  path: string;
37916
37917
  version: string;
37917
37918
  content: HMBlockNode[];
@@ -37950,7 +37951,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37950
37951
  };
37951
37952
  genesis: string;
37952
37953
  authors: string[];
37953
- account: string;
37954
37954
  generationInfo?: {
37955
37955
  genesis: string;
37956
37956
  generation: bigint;
@@ -38075,8 +38075,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38075
38075
  targetDocPath?: string[] | null | undefined;
38076
38076
  };
38077
38077
  } | {
38078
- message: string;
38079
38078
  type: "error";
38079
+ message: string;
38080
38080
  id: {
38081
38081
  path: string[] | null;
38082
38082
  version: string | null;
@@ -38161,6 +38161,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38161
38161
  };
38162
38162
  genesis: string;
38163
38163
  authors: string[];
38164
+ account?: string | undefined;
38164
38165
  path?: string | undefined;
38165
38166
  version?: string | undefined;
38166
38167
  content?: HMBlockNode[] | undefined;
@@ -38176,7 +38177,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38176
38177
  genesis: string;
38177
38178
  generation: bigint;
38178
38179
  } | undefined;
38179
- account?: string | undefined;
38180
38180
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
38181
38181
  };
38182
38182
  } | {
@@ -38297,8 +38297,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38297
38297
  targetDocPath?: string[] | null | undefined;
38298
38298
  };
38299
38299
  } | {
38300
- message: string;
38301
38300
  type: "error";
38301
+ message: string;
38302
38302
  id: {
38303
38303
  path: string[] | null;
38304
38304
  version: string | null;
@@ -39950,12 +39950,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39950
39950
  path: z.ZodString;
39951
39951
  isMissing: z.ZodOptional<z.ZodBoolean>;
39952
39952
  }, "strip", z.ZodTypeAny, {
39953
- path: string;
39954
39953
  name: string;
39954
+ path: string;
39955
39955
  isMissing?: boolean | undefined;
39956
39956
  }, {
39957
- path: string;
39958
39957
  name: string;
39958
+ path: string;
39959
39959
  isMissing?: boolean | undefined;
39960
39960
  }>, "many">;
39961
39961
  activitySummary: z.ZodObject<{
@@ -40112,8 +40112,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40112
40112
  firstImageInContent: z.ZodOptional<z.ZodString>;
40113
40113
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
40114
40114
  }, "strip", z.ZodTypeAny, {
40115
- path: string[];
40116
40115
  type: "document";
40116
+ path: string[];
40117
40117
  version: string;
40118
40118
  id: {
40119
40119
  path: string[] | null;
@@ -40169,8 +40169,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40169
40169
  authors: string[];
40170
40170
  sortTime: Date;
40171
40171
  breadcrumbs: {
40172
- path: string;
40173
40172
  name: string;
40173
+ path: string;
40174
40174
  isMissing?: boolean | undefined;
40175
40175
  }[];
40176
40176
  activitySummary: {
@@ -40198,8 +40198,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40198
40198
  } | undefined;
40199
40199
  firstImageInContent?: string | undefined;
40200
40200
  }, {
40201
- path: string[];
40202
40201
  type: "document";
40202
+ path: string[];
40203
40203
  version: string;
40204
40204
  id: {
40205
40205
  path: string[] | null;
@@ -40255,8 +40255,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40255
40255
  authors: string[];
40256
40256
  sortTime: Date;
40257
40257
  breadcrumbs: {
40258
- path: string;
40259
40258
  name: string;
40259
+ path: string;
40260
40260
  isMissing?: boolean | undefined;
40261
40261
  }[];
40262
40262
  activitySummary: {
@@ -40304,8 +40304,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40304
40304
  targetDocPath?: string[] | null | undefined;
40305
40305
  };
40306
40306
  results: {
40307
- path: string[];
40308
40307
  type: "document";
40308
+ path: string[];
40309
40309
  version: string;
40310
40310
  id: {
40311
40311
  path: string[] | null;
@@ -40361,8 +40361,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40361
40361
  authors: string[];
40362
40362
  sortTime: Date;
40363
40363
  breadcrumbs: {
40364
- path: string;
40365
40364
  name: string;
40365
+ path: string;
40366
40366
  isMissing?: boolean | undefined;
40367
40367
  }[];
40368
40368
  activitySummary: {
@@ -40410,8 +40410,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40410
40410
  targetDocPath?: string[] | null | undefined;
40411
40411
  };
40412
40412
  results: {
40413
- path: string[];
40414
40413
  type: "document";
40414
+ path: string[];
40415
40415
  version: string;
40416
40416
  id: {
40417
40417
  path: string[] | null;
@@ -40467,8 +40467,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40467
40467
  authors: string[];
40468
40468
  sortTime: Date;
40469
40469
  breadcrumbs: {
40470
- path: string;
40471
40470
  name: string;
40471
+ path: string;
40472
40472
  isMissing?: boolean | undefined;
40473
40473
  }[];
40474
40474
  activitySummary: {
@@ -40531,8 +40531,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40531
40531
  targetDocPath?: string[] | null | undefined;
40532
40532
  };
40533
40533
  results: {
40534
- path: string[];
40535
40534
  type: "document";
40535
+ path: string[];
40536
40536
  version: string;
40537
40537
  id: {
40538
40538
  path: string[] | null;
@@ -40588,8 +40588,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40588
40588
  authors: string[];
40589
40589
  sortTime: Date;
40590
40590
  breadcrumbs: {
40591
- path: string;
40592
40591
  name: string;
40592
+ path: string;
40593
40593
  isMissing?: boolean | undefined;
40594
40594
  }[];
40595
40595
  activitySummary: {
@@ -40652,8 +40652,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40652
40652
  targetDocPath?: string[] | null | undefined;
40653
40653
  };
40654
40654
  results: {
40655
- path: string[];
40656
40655
  type: "document";
40656
+ path: string[];
40657
40657
  version: string;
40658
40658
  id: {
40659
40659
  path: string[] | null;
@@ -40709,8 +40709,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40709
40709
  authors: string[];
40710
40710
  sortTime: Date;
40711
40711
  breadcrumbs: {
40712
- path: string;
40713
40712
  name: string;
40713
+ path: string;
40714
40714
  isMissing?: boolean | undefined;
40715
40715
  }[];
40716
40716
  activitySummary: {
@@ -40966,12 +40966,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40966
40966
  path: z.ZodString;
40967
40967
  isMissing: z.ZodOptional<z.ZodBoolean>;
40968
40968
  }, "strip", z.ZodTypeAny, {
40969
- path: string;
40970
40969
  name: string;
40970
+ path: string;
40971
40971
  isMissing?: boolean | undefined;
40972
40972
  }, {
40973
- path: string;
40974
40973
  name: string;
40974
+ path: string;
40975
40975
  isMissing?: boolean | undefined;
40976
40976
  }>, "many">;
40977
40977
  activitySummary: z.ZodObject<{
@@ -41128,8 +41128,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41128
41128
  firstImageInContent: z.ZodOptional<z.ZodString>;
41129
41129
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
41130
41130
  }, "strip", z.ZodTypeAny, {
41131
- path: string[];
41132
41131
  type: "document";
41132
+ path: string[];
41133
41133
  version: string;
41134
41134
  id: {
41135
41135
  path: string[] | null;
@@ -41185,8 +41185,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41185
41185
  authors: string[];
41186
41186
  sortTime: Date;
41187
41187
  breadcrumbs: {
41188
- path: string;
41189
41188
  name: string;
41189
+ path: string;
41190
41190
  isMissing?: boolean | undefined;
41191
41191
  }[];
41192
41192
  activitySummary: {
@@ -41214,8 +41214,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41214
41214
  } | undefined;
41215
41215
  firstImageInContent?: string | undefined;
41216
41216
  }, {
41217
- path: string[];
41218
41217
  type: "document";
41218
+ path: string[];
41219
41219
  version: string;
41220
41220
  id: {
41221
41221
  path: string[] | null;
@@ -41271,8 +41271,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41271
41271
  authors: string[];
41272
41272
  sortTime: Date;
41273
41273
  breadcrumbs: {
41274
- path: string;
41275
41274
  name: string;
41275
+ path: string;
41276
41276
  isMissing?: boolean | undefined;
41277
41277
  }[];
41278
41278
  activitySummary: {
@@ -41559,8 +41559,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41559
41559
  targetDocPath?: string[] | null | undefined;
41560
41560
  };
41561
41561
  results: {
41562
- path: string[];
41563
41562
  type: "document";
41563
+ path: string[];
41564
41564
  version: string;
41565
41565
  id: {
41566
41566
  path: string[] | null;
@@ -41616,8 +41616,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41616
41616
  authors: string[];
41617
41617
  sortTime: Date;
41618
41618
  breadcrumbs: {
41619
- path: string;
41620
41619
  name: string;
41620
+ path: string;
41621
41621
  isMissing?: boolean | undefined;
41622
41622
  }[];
41623
41623
  activitySummary: {
@@ -41717,8 +41717,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41717
41717
  targetDocPath?: string[] | null | undefined;
41718
41718
  };
41719
41719
  results: {
41720
- path: string[];
41721
41720
  type: "document";
41721
+ path: string[];
41722
41722
  version: string;
41723
41723
  id: {
41724
41724
  path: string[] | null;
@@ -41774,8 +41774,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41774
41774
  authors: string[];
41775
41775
  sortTime: Date;
41776
41776
  breadcrumbs: {
41777
- path: string;
41778
41777
  name: string;
41778
+ path: string;
41779
41779
  isMissing?: boolean | undefined;
41780
41780
  }[];
41781
41781
  activitySummary: {
@@ -41892,8 +41892,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41892
41892
  targetDocPath?: string[] | null | undefined;
41893
41893
  };
41894
41894
  results: {
41895
- path: string[];
41896
41895
  type: "document";
41896
+ path: string[];
41897
41897
  version: string;
41898
41898
  id: {
41899
41899
  path: string[] | null;
@@ -41949,8 +41949,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41949
41949
  authors: string[];
41950
41950
  sortTime: Date;
41951
41951
  breadcrumbs: {
41952
- path: string;
41953
41952
  name: string;
41953
+ path: string;
41954
41954
  isMissing?: boolean | undefined;
41955
41955
  }[];
41956
41956
  activitySummary: {
@@ -42067,8 +42067,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42067
42067
  targetDocPath?: string[] | null | undefined;
42068
42068
  };
42069
42069
  results: {
42070
- path: string[];
42071
42070
  type: "document";
42071
+ path: string[];
42072
42072
  version: string;
42073
42073
  id: {
42074
42074
  path: string[] | null;
@@ -42124,8 +42124,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42124
42124
  authors: string[];
42125
42125
  sortTime: Date;
42126
42126
  breadcrumbs: {
42127
- path: string;
42128
42127
  name: string;
42128
+ path: string;
42129
42129
  isMissing?: boolean | undefined;
42130
42130
  }[];
42131
42131
  activitySummary: {
@@ -42247,11 +42247,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42247
42247
  profile?: boolean | undefined;
42248
42248
  }>>;
42249
42249
  }, "strip", z.ZodTypeAny, {
42250
+ signer: string;
42250
42251
  name: string;
42251
- id: string;
42252
42252
  account: string;
42253
+ id: string;
42253
42254
  subject: string;
42254
- signer: string;
42255
42255
  createTime?: string | {
42256
42256
  seconds: number | bigint;
42257
42257
  nanos: number;
@@ -42265,11 +42265,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42265
42265
  profile?: boolean | undefined;
42266
42266
  } | undefined;
42267
42267
  }, {
42268
+ signer: string;
42268
42269
  name: string;
42269
- id: string;
42270
42270
  account: string;
42271
+ id: string;
42271
42272
  subject: string;
42272
- signer: string;
42273
42273
  createTime?: string | {
42274
42274
  seconds: number | bigint;
42275
42275
  nanos: number;
@@ -42287,11 +42287,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42287
42287
  key: "AccountContacts";
42288
42288
  input: string;
42289
42289
  output: {
42290
+ signer: string;
42290
42291
  name: string;
42291
- id: string;
42292
42292
  account: string;
42293
+ id: string;
42293
42294
  subject: string;
42294
- signer: string;
42295
42295
  createTime?: string | {
42296
42296
  seconds: number | bigint;
42297
42297
  nanos: number;
@@ -42309,11 +42309,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42309
42309
  key: "AccountContacts";
42310
42310
  input: string;
42311
42311
  output: {
42312
+ signer: string;
42312
42313
  name: string;
42313
- id: string;
42314
42314
  account: string;
42315
+ id: string;
42315
42316
  subject: string;
42316
- signer: string;
42317
42317
  createTime?: string | {
42318
42318
  seconds: number | bigint;
42319
42319
  nanos: number;
@@ -42367,11 +42367,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42367
42367
  profile?: boolean | undefined;
42368
42368
  }>>;
42369
42369
  }, "strip", z.ZodTypeAny, {
42370
+ signer: string;
42370
42371
  name: string;
42371
- id: string;
42372
42372
  account: string;
42373
+ id: string;
42373
42374
  subject: string;
42374
- signer: string;
42375
42375
  createTime?: string | {
42376
42376
  seconds: number | bigint;
42377
42377
  nanos: number;
@@ -42385,11 +42385,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42385
42385
  profile?: boolean | undefined;
42386
42386
  } | undefined;
42387
42387
  }, {
42388
+ signer: string;
42388
42389
  name: string;
42389
- id: string;
42390
42390
  account: string;
42391
+ id: string;
42391
42392
  subject: string;
42392
- signer: string;
42393
42393
  createTime?: string | {
42394
42394
  seconds: number | bigint;
42395
42395
  nanos: number;
@@ -42407,11 +42407,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42407
42407
  key: "SubjectContacts";
42408
42408
  input: string;
42409
42409
  output: {
42410
+ signer: string;
42410
42411
  name: string;
42411
- id: string;
42412
42412
  account: string;
42413
+ id: string;
42413
42414
  subject: string;
42414
- signer: string;
42415
42415
  createTime?: string | {
42416
42416
  seconds: number | bigint;
42417
42417
  nanos: number;
@@ -42429,11 +42429,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
42429
42429
  key: "SubjectContacts";
42430
42430
  input: string;
42431
42431
  output: {
42432
+ signer: string;
42432
42433
  name: string;
42433
- id: string;
42434
42434
  account: string;
42435
+ id: string;
42435
42436
  subject: string;
42436
- signer: string;
42437
42437
  createTime?: string | {
42438
42438
  seconds: number | bigint;
42439
42439
  nanos: number;
@@ -47361,48 +47361,48 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47361
47361
  label: z.ZodOptional<z.ZodString>;
47362
47362
  createTime: z.ZodOptional<z.ZodString>;
47363
47363
  }, "strip", z.ZodTypeAny, {
47364
- path?: string | undefined;
47365
- id?: string | undefined;
47366
- createTime?: string | undefined;
47367
47364
  account?: string | undefined;
47365
+ delegate?: string | undefined;
47366
+ path?: string | undefined;
47368
47367
  role?: string | undefined;
47369
47368
  label?: string | undefined;
47369
+ id?: string | undefined;
47370
+ createTime?: string | undefined;
47370
47371
  issuer?: string | undefined;
47371
- delegate?: string | undefined;
47372
47372
  noRecursive?: boolean | undefined;
47373
47373
  }, {
47374
- path?: string | undefined;
47375
- id?: string | undefined;
47376
- createTime?: string | undefined;
47377
47374
  account?: string | undefined;
47375
+ delegate?: string | undefined;
47376
+ path?: string | undefined;
47378
47377
  role?: string | undefined;
47379
47378
  label?: string | undefined;
47379
+ id?: string | undefined;
47380
+ createTime?: string | undefined;
47380
47381
  issuer?: string | undefined;
47381
- delegate?: string | undefined;
47382
47382
  noRecursive?: boolean | undefined;
47383
47383
  }>, "many">;
47384
47384
  }, "strip", z.ZodTypeAny, {
47385
47385
  capabilities: {
47386
- path?: string | undefined;
47387
- id?: string | undefined;
47388
- createTime?: string | undefined;
47389
47386
  account?: string | undefined;
47387
+ delegate?: string | undefined;
47388
+ path?: string | undefined;
47390
47389
  role?: string | undefined;
47391
47390
  label?: string | undefined;
47391
+ id?: string | undefined;
47392
+ createTime?: string | undefined;
47392
47393
  issuer?: string | undefined;
47393
- delegate?: string | undefined;
47394
47394
  noRecursive?: boolean | undefined;
47395
47395
  }[];
47396
47396
  }, {
47397
47397
  capabilities: {
47398
- path?: string | undefined;
47399
- id?: string | undefined;
47400
- createTime?: string | undefined;
47401
47398
  account?: string | undefined;
47399
+ delegate?: string | undefined;
47400
+ path?: string | undefined;
47402
47401
  role?: string | undefined;
47403
47402
  label?: string | undefined;
47403
+ id?: string | undefined;
47404
+ createTime?: string | undefined;
47404
47405
  issuer?: string | undefined;
47405
- delegate?: string | undefined;
47406
47406
  noRecursive?: boolean | undefined;
47407
47407
  }[];
47408
47408
  }>;
@@ -47429,14 +47429,14 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47429
47429
  };
47430
47430
  output: {
47431
47431
  capabilities: {
47432
- path?: string | undefined;
47433
- id?: string | undefined;
47434
- createTime?: string | undefined;
47435
47432
  account?: string | undefined;
47433
+ delegate?: string | undefined;
47434
+ path?: string | undefined;
47436
47435
  role?: string | undefined;
47437
47436
  label?: string | undefined;
47437
+ id?: string | undefined;
47438
+ createTime?: string | undefined;
47438
47439
  issuer?: string | undefined;
47439
- delegate?: string | undefined;
47440
47440
  noRecursive?: boolean | undefined;
47441
47441
  }[];
47442
47442
  };
@@ -47463,14 +47463,14 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47463
47463
  };
47464
47464
  output: {
47465
47465
  capabilities: {
47466
- path?: string | undefined;
47467
- id?: string | undefined;
47468
- createTime?: string | undefined;
47469
47466
  account?: string | undefined;
47467
+ delegate?: string | undefined;
47468
+ path?: string | undefined;
47470
47469
  role?: string | undefined;
47471
47470
  label?: string | undefined;
47471
+ id?: string | undefined;
47472
+ createTime?: string | undefined;
47472
47473
  issuer?: string | undefined;
47473
- delegate?: string | undefined;
47474
47474
  noRecursive?: boolean | undefined;
47475
47475
  }[];
47476
47476
  };
@@ -47647,12 +47647,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47647
47647
  nanos: number;
47648
47648
  }>, z.ZodString]>;
47649
47649
  }, "strip", z.ZodTypeAny, {
47650
+ role: "writer" | "agent" | "none" | "owner";
47650
47651
  id: string;
47651
47652
  createTime: string | {
47652
47653
  seconds: number | bigint;
47653
47654
  nanos: number;
47654
47655
  };
47655
- role: "writer" | "agent" | "none" | "owner";
47656
47656
  accountUid: string;
47657
47657
  grantId: {
47658
47658
  path: string[] | null;
@@ -47671,15 +47671,15 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47671
47671
  targetDocUid?: string | null | undefined;
47672
47672
  targetDocPath?: string[] | null | undefined;
47673
47673
  };
47674
- capabilityId?: string | undefined;
47675
47674
  label?: string | undefined;
47675
+ capabilityId?: string | undefined;
47676
47676
  }, {
47677
+ role: "writer" | "agent" | "none" | "owner";
47677
47678
  id: string;
47678
47679
  createTime: string | {
47679
47680
  seconds: number | bigint;
47680
47681
  nanos: number;
47681
47682
  };
47682
- role: "writer" | "agent" | "none" | "owner";
47683
47683
  accountUid: string;
47684
47684
  grantId: {
47685
47685
  path: string[] | null;
@@ -47698,8 +47698,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47698
47698
  targetDocUid?: string | null | undefined;
47699
47699
  targetDocPath?: string[] | null | undefined;
47700
47700
  };
47701
- capabilityId?: string | undefined;
47702
47701
  label?: string | undefined;
47702
+ capabilityId?: string | undefined;
47703
47703
  }>, "many">;
47704
47704
  grantedCapabilities: z.ZodArray<z.ZodObject<{
47705
47705
  id: z.ZodString;
@@ -47775,12 +47775,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47775
47775
  nanos: number;
47776
47776
  }>, z.ZodString]>;
47777
47777
  }, "strip", z.ZodTypeAny, {
47778
+ role: "writer" | "agent" | "none" | "owner";
47778
47779
  id: string;
47779
47780
  createTime: string | {
47780
47781
  seconds: number | bigint;
47781
47782
  nanos: number;
47782
47783
  };
47783
- role: "writer" | "agent" | "none" | "owner";
47784
47784
  accountUid: string;
47785
47785
  grantId: {
47786
47786
  path: string[] | null;
@@ -47799,15 +47799,15 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47799
47799
  targetDocUid?: string | null | undefined;
47800
47800
  targetDocPath?: string[] | null | undefined;
47801
47801
  };
47802
- capabilityId?: string | undefined;
47803
47802
  label?: string | undefined;
47803
+ capabilityId?: string | undefined;
47804
47804
  }, {
47805
+ role: "writer" | "agent" | "none" | "owner";
47805
47806
  id: string;
47806
47807
  createTime: string | {
47807
47808
  seconds: number | bigint;
47808
47809
  nanos: number;
47809
47810
  };
47810
- role: "writer" | "agent" | "none" | "owner";
47811
47811
  accountUid: string;
47812
47812
  grantId: {
47813
47813
  path: string[] | null;
@@ -47826,8 +47826,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
47826
47826
  targetDocUid?: string | null | undefined;
47827
47827
  targetDocPath?: string[] | null | undefined;
47828
47828
  };
47829
- capabilityId?: string | undefined;
47830
47829
  label?: string | undefined;
47830
+ capabilityId?: string | undefined;
47831
47831
  }>, "many">;
47832
47832
  grantedMembers: z.ZodArray<z.ZodObject<{
47833
47833
  account: z.ZodObject<{
@@ -48300,12 +48300,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48300
48300
  }>;
48301
48301
  publisherUid: string;
48302
48302
  parentCapabilities: {
48303
+ role: "writer" | "agent" | "none" | "owner";
48303
48304
  id: string;
48304
48305
  createTime: string | {
48305
48306
  seconds: number | bigint;
48306
48307
  nanos: number;
48307
48308
  };
48308
- role: "writer" | "agent" | "none" | "owner";
48309
48309
  accountUid: string;
48310
48310
  grantId: {
48311
48311
  path: string[] | null;
@@ -48324,16 +48324,16 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48324
48324
  targetDocUid?: string | null | undefined;
48325
48325
  targetDocPath?: string[] | null | undefined;
48326
48326
  };
48327
- capabilityId?: string | undefined;
48328
48327
  label?: string | undefined;
48328
+ capabilityId?: string | undefined;
48329
48329
  }[];
48330
48330
  grantedCapabilities: {
48331
+ role: "writer" | "agent" | "none" | "owner";
48331
48332
  id: string;
48332
48333
  createTime: string | {
48333
48334
  seconds: number | bigint;
48334
48335
  nanos: number;
48335
48336
  };
48336
- role: "writer" | "agent" | "none" | "owner";
48337
48337
  accountUid: string;
48338
48338
  grantId: {
48339
48339
  path: string[] | null;
@@ -48352,8 +48352,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48352
48352
  targetDocUid?: string | null | undefined;
48353
48353
  targetDocPath?: string[] | null | undefined;
48354
48354
  };
48355
- capabilityId?: string | undefined;
48356
48355
  label?: string | undefined;
48356
+ capabilityId?: string | undefined;
48357
48357
  }[];
48358
48358
  grantedMembers: {
48359
48359
  account: {
@@ -48444,12 +48444,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48444
48444
  }>;
48445
48445
  publisherUid: string;
48446
48446
  parentCapabilities: {
48447
+ role: "writer" | "agent" | "none" | "owner";
48447
48448
  id: string;
48448
48449
  createTime: string | {
48449
48450
  seconds: number | bigint;
48450
48451
  nanos: number;
48451
48452
  };
48452
- role: "writer" | "agent" | "none" | "owner";
48453
48453
  accountUid: string;
48454
48454
  grantId: {
48455
48455
  path: string[] | null;
@@ -48468,16 +48468,16 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48468
48468
  targetDocUid?: string | null | undefined;
48469
48469
  targetDocPath?: string[] | null | undefined;
48470
48470
  };
48471
- capabilityId?: string | undefined;
48472
48471
  label?: string | undefined;
48472
+ capabilityId?: string | undefined;
48473
48473
  }[];
48474
48474
  grantedCapabilities: {
48475
+ role: "writer" | "agent" | "none" | "owner";
48475
48476
  id: string;
48476
48477
  createTime: string | {
48477
48478
  seconds: number | bigint;
48478
48479
  nanos: number;
48479
48480
  };
48480
- role: "writer" | "agent" | "none" | "owner";
48481
48481
  accountUid: string;
48482
48482
  grantId: {
48483
48483
  path: string[] | null;
@@ -48496,8 +48496,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48496
48496
  targetDocUid?: string | null | undefined;
48497
48497
  targetDocPath?: string[] | null | undefined;
48498
48498
  };
48499
- capabilityId?: string | undefined;
48500
48499
  label?: string | undefined;
48500
+ capabilityId?: string | undefined;
48501
48501
  }[];
48502
48502
  grantedMembers: {
48503
48503
  account: {
@@ -48610,12 +48610,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48610
48610
  }>;
48611
48611
  publisherUid: string;
48612
48612
  parentCapabilities: {
48613
+ role: "writer" | "agent" | "none" | "owner";
48613
48614
  id: string;
48614
48615
  createTime: string | {
48615
48616
  seconds: number | bigint;
48616
48617
  nanos: number;
48617
48618
  };
48618
- role: "writer" | "agent" | "none" | "owner";
48619
48619
  accountUid: string;
48620
48620
  grantId: {
48621
48621
  path: string[] | null;
@@ -48634,16 +48634,16 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48634
48634
  targetDocUid?: string | null | undefined;
48635
48635
  targetDocPath?: string[] | null | undefined;
48636
48636
  };
48637
- capabilityId?: string | undefined;
48638
48637
  label?: string | undefined;
48638
+ capabilityId?: string | undefined;
48639
48639
  }[];
48640
48640
  grantedCapabilities: {
48641
+ role: "writer" | "agent" | "none" | "owner";
48641
48642
  id: string;
48642
48643
  createTime: string | {
48643
48644
  seconds: number | bigint;
48644
48645
  nanos: number;
48645
48646
  };
48646
- role: "writer" | "agent" | "none" | "owner";
48647
48647
  accountUid: string;
48648
48648
  grantId: {
48649
48649
  path: string[] | null;
@@ -48662,8 +48662,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48662
48662
  targetDocUid?: string | null | undefined;
48663
48663
  targetDocPath?: string[] | null | undefined;
48664
48664
  };
48665
- capabilityId?: string | undefined;
48666
48665
  label?: string | undefined;
48666
+ capabilityId?: string | undefined;
48667
48667
  }[];
48668
48668
  grantedMembers: {
48669
48669
  account: {
@@ -48776,12 +48776,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48776
48776
  }>;
48777
48777
  publisherUid: string;
48778
48778
  parentCapabilities: {
48779
+ role: "writer" | "agent" | "none" | "owner";
48779
48780
  id: string;
48780
48781
  createTime: string | {
48781
48782
  seconds: number | bigint;
48782
48783
  nanos: number;
48783
48784
  };
48784
- role: "writer" | "agent" | "none" | "owner";
48785
48785
  accountUid: string;
48786
48786
  grantId: {
48787
48787
  path: string[] | null;
@@ -48800,16 +48800,16 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48800
48800
  targetDocUid?: string | null | undefined;
48801
48801
  targetDocPath?: string[] | null | undefined;
48802
48802
  };
48803
- capabilityId?: string | undefined;
48804
48803
  label?: string | undefined;
48804
+ capabilityId?: string | undefined;
48805
48805
  }[];
48806
48806
  grantedCapabilities: {
48807
+ role: "writer" | "agent" | "none" | "owner";
48807
48808
  id: string;
48808
48809
  createTime: string | {
48809
48810
  seconds: number | bigint;
48810
48811
  nanos: number;
48811
48812
  };
48812
- role: "writer" | "agent" | "none" | "owner";
48813
48813
  accountUid: string;
48814
48814
  grantId: {
48815
48815
  path: string[] | null;
@@ -48828,8 +48828,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
48828
48828
  targetDocUid?: string | null | undefined;
48829
48829
  targetDocPath?: string[] | null | undefined;
48830
48830
  };
48831
- capabilityId?: string | undefined;
48832
48831
  label?: string | undefined;
48832
+ capabilityId?: string | undefined;
48833
48833
  }[];
48834
48834
  grantedMembers: {
48835
48835
  account: {
@@ -49616,8 +49616,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
49616
49616
  }>, "many">>;
49617
49617
  revision: z.ZodOptional<z.ZodString>;
49618
49618
  }, "strip", z.ZodTypeAny, {
49619
- link?: string | undefined;
49620
49619
  type?: string | undefined;
49620
+ link?: string | undefined;
49621
49621
  id?: string | undefined;
49622
49622
  attributes?: Record<string, any> | undefined;
49623
49623
  text?: string | undefined;
@@ -49630,8 +49630,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
49630
49630
  }[] | undefined;
49631
49631
  revision?: string | undefined;
49632
49632
  }, {
49633
- link?: string | undefined;
49634
49633
  type?: string | undefined;
49634
+ link?: string | undefined;
49635
49635
  id?: string | undefined;
49636
49636
  attributes?: Record<string, any> | undefined;
49637
49637
  text?: string | undefined;
@@ -49646,8 +49646,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
49646
49646
  }>;
49647
49647
  }, "strip", z.ZodTypeAny, {
49648
49648
  value: {
49649
- link?: string | undefined;
49650
49649
  type?: string | undefined;
49650
+ link?: string | undefined;
49651
49651
  id?: string | undefined;
49652
49652
  attributes?: Record<string, any> | undefined;
49653
49653
  text?: string | undefined;
@@ -49663,8 +49663,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
49663
49663
  case: "replaceBlock";
49664
49664
  }, {
49665
49665
  value: {
49666
- link?: string | undefined;
49667
49666
  type?: string | undefined;
49667
+ link?: string | undefined;
49668
49668
  id?: string | undefined;
49669
49669
  attributes?: Record<string, any> | undefined;
49670
49670
  text?: string | undefined;
@@ -49847,8 +49847,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
49847
49847
  case: "moveBlock";
49848
49848
  } | {
49849
49849
  value: {
49850
- link?: string | undefined;
49851
49850
  type?: string | undefined;
49851
+ link?: string | undefined;
49852
49852
  id?: string | undefined;
49853
49853
  attributes?: Record<string, any> | undefined;
49854
49854
  text?: string | undefined;
@@ -49907,8 +49907,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
49907
49907
  case: "moveBlock";
49908
49908
  } | {
49909
49909
  value: {
49910
- link?: string | undefined;
49911
49910
  type?: string | undefined;
49911
+ link?: string | undefined;
49912
49912
  id?: string | undefined;
49913
49913
  attributes?: Record<string, any> | undefined;
49914
49914
  text?: string | undefined;
@@ -49972,8 +49972,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
49972
49972
  case: "moveBlock";
49973
49973
  } | {
49974
49974
  value: {
49975
- link?: string | undefined;
49976
49975
  type?: string | undefined;
49976
+ link?: string | undefined;
49977
49977
  id?: string | undefined;
49978
49978
  attributes?: Record<string, any> | undefined;
49979
49979
  text?: string | undefined;
@@ -50039,8 +50039,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
50039
50039
  case: "moveBlock";
50040
50040
  } | {
50041
50041
  value: {
50042
- link?: string | undefined;
50043
50042
  type?: string | undefined;
50043
+ link?: string | undefined;
50044
50044
  id?: string | undefined;
50045
50045
  attributes?: Record<string, any> | undefined;
50046
50046
  text?: string | undefined;
@@ -50116,8 +50116,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
50116
50116
  case: "moveBlock";
50117
50117
  } | {
50118
50118
  value: {
50119
- link?: string | undefined;
50120
50119
  type?: string | undefined;
50120
+ link?: string | undefined;
50121
50121
  id?: string | undefined;
50122
50122
  attributes?: Record<string, any> | undefined;
50123
50123
  text?: string | undefined;
@@ -50189,8 +50189,8 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObject
50189
50189
  case: "moveBlock";
50190
50190
  } | {
50191
50191
  value: {
50192
- link?: string | undefined;
50193
50192
  type?: string | undefined;
50193
+ link?: string | undefined;
50194
50194
  id?: string | undefined;
50195
50195
  attributes?: Record<string, any> | undefined;
50196
50196
  text?: string | undefined;
@@ -50421,6 +50421,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50421
50421
  }>>;
50422
50422
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
50423
50423
  }, "strip", z.ZodTypeAny, {
50424
+ account: string;
50424
50425
  path: string;
50425
50426
  version: string;
50426
50427
  content: HMBlockNode[];
@@ -50459,7 +50460,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50459
50460
  };
50460
50461
  genesis: string;
50461
50462
  authors: string[];
50462
- account: string;
50463
50463
  generationInfo?: {
50464
50464
  genesis: string;
50465
50465
  generation: bigint;
@@ -50493,6 +50493,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50493
50493
  };
50494
50494
  genesis: string;
50495
50495
  authors: string[];
50496
+ account?: string | undefined;
50496
50497
  path?: string | undefined;
50497
50498
  version?: string | undefined;
50498
50499
  content?: HMBlockNode[] | undefined;
@@ -50508,7 +50509,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50508
50509
  genesis: string;
50509
50510
  generation: bigint;
50510
50511
  } | undefined;
50511
- account?: string | undefined;
50512
50512
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
50513
50513
  }>;
50514
50514
  id: z.ZodObject<{
@@ -50588,6 +50588,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50588
50588
  targetDocPath?: string[] | null | undefined;
50589
50589
  };
50590
50590
  document: {
50591
+ account: string;
50591
50592
  path: string;
50592
50593
  version: string;
50593
50594
  content: HMBlockNode[];
@@ -50626,7 +50627,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50626
50627
  };
50627
50628
  genesis: string;
50628
50629
  authors: string[];
50629
- account: string;
50630
50630
  generationInfo?: {
50631
50631
  genesis: string;
50632
50632
  generation: bigint;
@@ -50680,6 +50680,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50680
50680
  };
50681
50681
  genesis: string;
50682
50682
  authors: string[];
50683
+ account?: string | undefined;
50683
50684
  path?: string | undefined;
50684
50685
  version?: string | undefined;
50685
50686
  content?: HMBlockNode[] | undefined;
@@ -50695,7 +50696,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50695
50696
  genesis: string;
50696
50697
  generation: bigint;
50697
50698
  } | undefined;
50698
- account?: string | undefined;
50699
50699
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
50700
50700
  };
50701
50701
  }>, z.ZodObject<{
@@ -51366,8 +51366,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51366
51366
  }>;
51367
51367
  message: z.ZodString;
51368
51368
  }, "strip", z.ZodTypeAny, {
51369
- message: string;
51370
51369
  type: "error";
51370
+ message: string;
51371
51371
  id: {
51372
51372
  path: string[] | null;
51373
51373
  version: string | null;
@@ -51386,8 +51386,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51386
51386
  targetDocPath?: string[] | null | undefined;
51387
51387
  };
51388
51388
  }, {
51389
- message: string;
51390
51389
  type: "error";
51390
+ message: string;
51391
51391
  id: {
51392
51392
  path: string[] | null;
51393
51393
  version: string | null;
@@ -51445,6 +51445,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51445
51445
  targetDocPath?: string[] | null | undefined;
51446
51446
  };
51447
51447
  document: {
51448
+ account: string;
51448
51449
  path: string;
51449
51450
  version: string;
51450
51451
  content: HMBlockNode[];
@@ -51483,7 +51484,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51483
51484
  };
51484
51485
  genesis: string;
51485
51486
  authors: string[];
51486
- account: string;
51487
51487
  generationInfo?: {
51488
51488
  genesis: string;
51489
51489
  generation: bigint;
@@ -51608,8 +51608,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51608
51608
  targetDocPath?: string[] | null | undefined;
51609
51609
  };
51610
51610
  } | {
51611
- message: string;
51612
51611
  type: "error";
51612
+ message: string;
51613
51613
  id: {
51614
51614
  path: string[] | null;
51615
51615
  version: string | null;
@@ -51694,6 +51694,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51694
51694
  };
51695
51695
  genesis: string;
51696
51696
  authors: string[];
51697
+ account?: string | undefined;
51697
51698
  path?: string | undefined;
51698
51699
  version?: string | undefined;
51699
51700
  content?: HMBlockNode[] | undefined;
@@ -51709,7 +51710,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51709
51710
  genesis: string;
51710
51711
  generation: bigint;
51711
51712
  } | undefined;
51712
- account?: string | undefined;
51713
51713
  detachedBlocks?: Record<string, HMBlockNode> | undefined;
51714
51714
  };
51715
51715
  } | {
@@ -51830,8 +51830,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51830
51830
  targetDocPath?: string[] | null | undefined;
51831
51831
  };
51832
51832
  } | {
51833
- message: string;
51834
51833
  type: "error";
51834
+ message: string;
51835
51835
  id: {
51836
51836
  path: string[] | null;
51837
51837
  version: string | null;
@@ -53483,12 +53483,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53483
53483
  path: z.ZodString;
53484
53484
  isMissing: z.ZodOptional<z.ZodBoolean>;
53485
53485
  }, "strip", z.ZodTypeAny, {
53486
- path: string;
53487
53486
  name: string;
53487
+ path: string;
53488
53488
  isMissing?: boolean | undefined;
53489
53489
  }, {
53490
- path: string;
53491
53490
  name: string;
53491
+ path: string;
53492
53492
  isMissing?: boolean | undefined;
53493
53493
  }>, "many">;
53494
53494
  activitySummary: z.ZodObject<{
@@ -53645,8 +53645,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53645
53645
  firstImageInContent: z.ZodOptional<z.ZodString>;
53646
53646
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
53647
53647
  }, "strip", z.ZodTypeAny, {
53648
- path: string[];
53649
53648
  type: "document";
53649
+ path: string[];
53650
53650
  version: string;
53651
53651
  id: {
53652
53652
  path: string[] | null;
@@ -53702,8 +53702,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53702
53702
  authors: string[];
53703
53703
  sortTime: Date;
53704
53704
  breadcrumbs: {
53705
- path: string;
53706
53705
  name: string;
53706
+ path: string;
53707
53707
  isMissing?: boolean | undefined;
53708
53708
  }[];
53709
53709
  activitySummary: {
@@ -53731,8 +53731,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53731
53731
  } | undefined;
53732
53732
  firstImageInContent?: string | undefined;
53733
53733
  }, {
53734
- path: string[];
53735
53734
  type: "document";
53735
+ path: string[];
53736
53736
  version: string;
53737
53737
  id: {
53738
53738
  path: string[] | null;
@@ -53788,8 +53788,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53788
53788
  authors: string[];
53789
53789
  sortTime: Date;
53790
53790
  breadcrumbs: {
53791
- path: string;
53792
53791
  name: string;
53792
+ path: string;
53793
53793
  isMissing?: boolean | undefined;
53794
53794
  }[];
53795
53795
  activitySummary: {
@@ -53837,8 +53837,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53837
53837
  targetDocPath?: string[] | null | undefined;
53838
53838
  };
53839
53839
  results: {
53840
- path: string[];
53841
53840
  type: "document";
53841
+ path: string[];
53842
53842
  version: string;
53843
53843
  id: {
53844
53844
  path: string[] | null;
@@ -53894,8 +53894,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53894
53894
  authors: string[];
53895
53895
  sortTime: Date;
53896
53896
  breadcrumbs: {
53897
- path: string;
53898
53897
  name: string;
53898
+ path: string;
53899
53899
  isMissing?: boolean | undefined;
53900
53900
  }[];
53901
53901
  activitySummary: {
@@ -53943,8 +53943,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53943
53943
  targetDocPath?: string[] | null | undefined;
53944
53944
  };
53945
53945
  results: {
53946
- path: string[];
53947
53946
  type: "document";
53947
+ path: string[];
53948
53948
  version: string;
53949
53949
  id: {
53950
53950
  path: string[] | null;
@@ -54000,8 +54000,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54000
54000
  authors: string[];
54001
54001
  sortTime: Date;
54002
54002
  breadcrumbs: {
54003
- path: string;
54004
54003
  name: string;
54004
+ path: string;
54005
54005
  isMissing?: boolean | undefined;
54006
54006
  }[];
54007
54007
  activitySummary: {
@@ -54064,8 +54064,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54064
54064
  targetDocPath?: string[] | null | undefined;
54065
54065
  };
54066
54066
  results: {
54067
- path: string[];
54068
54067
  type: "document";
54068
+ path: string[];
54069
54069
  version: string;
54070
54070
  id: {
54071
54071
  path: string[] | null;
@@ -54121,8 +54121,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54121
54121
  authors: string[];
54122
54122
  sortTime: Date;
54123
54123
  breadcrumbs: {
54124
- path: string;
54125
54124
  name: string;
54125
+ path: string;
54126
54126
  isMissing?: boolean | undefined;
54127
54127
  }[];
54128
54128
  activitySummary: {
@@ -54185,8 +54185,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54185
54185
  targetDocPath?: string[] | null | undefined;
54186
54186
  };
54187
54187
  results: {
54188
- path: string[];
54189
54188
  type: "document";
54189
+ path: string[];
54190
54190
  version: string;
54191
54191
  id: {
54192
54192
  path: string[] | null;
@@ -54242,8 +54242,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54242
54242
  authors: string[];
54243
54243
  sortTime: Date;
54244
54244
  breadcrumbs: {
54245
- path: string;
54246
54245
  name: string;
54246
+ path: string;
54247
54247
  isMissing?: boolean | undefined;
54248
54248
  }[];
54249
54249
  activitySummary: {
@@ -54499,12 +54499,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54499
54499
  path: z.ZodString;
54500
54500
  isMissing: z.ZodOptional<z.ZodBoolean>;
54501
54501
  }, "strip", z.ZodTypeAny, {
54502
- path: string;
54503
54502
  name: string;
54503
+ path: string;
54504
54504
  isMissing?: boolean | undefined;
54505
54505
  }, {
54506
- path: string;
54507
54506
  name: string;
54507
+ path: string;
54508
54508
  isMissing?: boolean | undefined;
54509
54509
  }>, "many">;
54510
54510
  activitySummary: z.ZodObject<{
@@ -54661,8 +54661,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54661
54661
  firstImageInContent: z.ZodOptional<z.ZodString>;
54662
54662
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
54663
54663
  }, "strip", z.ZodTypeAny, {
54664
- path: string[];
54665
54664
  type: "document";
54665
+ path: string[];
54666
54666
  version: string;
54667
54667
  id: {
54668
54668
  path: string[] | null;
@@ -54718,8 +54718,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54718
54718
  authors: string[];
54719
54719
  sortTime: Date;
54720
54720
  breadcrumbs: {
54721
- path: string;
54722
54721
  name: string;
54722
+ path: string;
54723
54723
  isMissing?: boolean | undefined;
54724
54724
  }[];
54725
54725
  activitySummary: {
@@ -54747,8 +54747,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54747
54747
  } | undefined;
54748
54748
  firstImageInContent?: string | undefined;
54749
54749
  }, {
54750
- path: string[];
54751
54750
  type: "document";
54751
+ path: string[];
54752
54752
  version: string;
54753
54753
  id: {
54754
54754
  path: string[] | null;
@@ -54804,8 +54804,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54804
54804
  authors: string[];
54805
54805
  sortTime: Date;
54806
54806
  breadcrumbs: {
54807
- path: string;
54808
54807
  name: string;
54808
+ path: string;
54809
54809
  isMissing?: boolean | undefined;
54810
54810
  }[];
54811
54811
  activitySummary: {
@@ -55092,8 +55092,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55092
55092
  targetDocPath?: string[] | null | undefined;
55093
55093
  };
55094
55094
  results: {
55095
- path: string[];
55096
55095
  type: "document";
55096
+ path: string[];
55097
55097
  version: string;
55098
55098
  id: {
55099
55099
  path: string[] | null;
@@ -55149,8 +55149,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55149
55149
  authors: string[];
55150
55150
  sortTime: Date;
55151
55151
  breadcrumbs: {
55152
- path: string;
55153
55152
  name: string;
55153
+ path: string;
55154
55154
  isMissing?: boolean | undefined;
55155
55155
  }[];
55156
55156
  activitySummary: {
@@ -55250,8 +55250,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55250
55250
  targetDocPath?: string[] | null | undefined;
55251
55251
  };
55252
55252
  results: {
55253
- path: string[];
55254
55253
  type: "document";
55254
+ path: string[];
55255
55255
  version: string;
55256
55256
  id: {
55257
55257
  path: string[] | null;
@@ -55307,8 +55307,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55307
55307
  authors: string[];
55308
55308
  sortTime: Date;
55309
55309
  breadcrumbs: {
55310
- path: string;
55311
55310
  name: string;
55311
+ path: string;
55312
55312
  isMissing?: boolean | undefined;
55313
55313
  }[];
55314
55314
  activitySummary: {
@@ -55425,8 +55425,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55425
55425
  targetDocPath?: string[] | null | undefined;
55426
55426
  };
55427
55427
  results: {
55428
- path: string[];
55429
55428
  type: "document";
55429
+ path: string[];
55430
55430
  version: string;
55431
55431
  id: {
55432
55432
  path: string[] | null;
@@ -55482,8 +55482,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55482
55482
  authors: string[];
55483
55483
  sortTime: Date;
55484
55484
  breadcrumbs: {
55485
- path: string;
55486
55485
  name: string;
55486
+ path: string;
55487
55487
  isMissing?: boolean | undefined;
55488
55488
  }[];
55489
55489
  activitySummary: {
@@ -55600,8 +55600,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55600
55600
  targetDocPath?: string[] | null | undefined;
55601
55601
  };
55602
55602
  results: {
55603
- path: string[];
55604
55603
  type: "document";
55604
+ path: string[];
55605
55605
  version: string;
55606
55606
  id: {
55607
55607
  path: string[] | null;
@@ -55657,8 +55657,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55657
55657
  authors: string[];
55658
55658
  sortTime: Date;
55659
55659
  breadcrumbs: {
55660
- path: string;
55661
55660
  name: string;
55661
+ path: string;
55662
55662
  isMissing?: boolean | undefined;
55663
55663
  }[];
55664
55664
  activitySummary: {
@@ -55780,11 +55780,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55780
55780
  profile?: boolean | undefined;
55781
55781
  }>>;
55782
55782
  }, "strip", z.ZodTypeAny, {
55783
+ signer: string;
55783
55784
  name: string;
55784
- id: string;
55785
55785
  account: string;
55786
+ id: string;
55786
55787
  subject: string;
55787
- signer: string;
55788
55788
  createTime?: string | {
55789
55789
  seconds: number | bigint;
55790
55790
  nanos: number;
@@ -55798,11 +55798,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55798
55798
  profile?: boolean | undefined;
55799
55799
  } | undefined;
55800
55800
  }, {
55801
+ signer: string;
55801
55802
  name: string;
55802
- id: string;
55803
55803
  account: string;
55804
+ id: string;
55804
55805
  subject: string;
55805
- signer: string;
55806
55806
  createTime?: string | {
55807
55807
  seconds: number | bigint;
55808
55808
  nanos: number;
@@ -55820,11 +55820,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55820
55820
  key: "AccountContacts";
55821
55821
  input: string;
55822
55822
  output: {
55823
+ signer: string;
55823
55824
  name: string;
55824
- id: string;
55825
55825
  account: string;
55826
+ id: string;
55826
55827
  subject: string;
55827
- signer: string;
55828
55828
  createTime?: string | {
55829
55829
  seconds: number | bigint;
55830
55830
  nanos: number;
@@ -55842,11 +55842,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55842
55842
  key: "AccountContacts";
55843
55843
  input: string;
55844
55844
  output: {
55845
+ signer: string;
55845
55846
  name: string;
55846
- id: string;
55847
55847
  account: string;
55848
+ id: string;
55848
55849
  subject: string;
55849
- signer: string;
55850
55850
  createTime?: string | {
55851
55851
  seconds: number | bigint;
55852
55852
  nanos: number;
@@ -55900,11 +55900,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55900
55900
  profile?: boolean | undefined;
55901
55901
  }>>;
55902
55902
  }, "strip", z.ZodTypeAny, {
55903
+ signer: string;
55903
55904
  name: string;
55904
- id: string;
55905
55905
  account: string;
55906
+ id: string;
55906
55907
  subject: string;
55907
- signer: string;
55908
55908
  createTime?: string | {
55909
55909
  seconds: number | bigint;
55910
55910
  nanos: number;
@@ -55918,11 +55918,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55918
55918
  profile?: boolean | undefined;
55919
55919
  } | undefined;
55920
55920
  }, {
55921
+ signer: string;
55921
55922
  name: string;
55922
- id: string;
55923
55923
  account: string;
55924
+ id: string;
55924
55925
  subject: string;
55925
- signer: string;
55926
55926
  createTime?: string | {
55927
55927
  seconds: number | bigint;
55928
55928
  nanos: number;
@@ -55940,11 +55940,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55940
55940
  key: "SubjectContacts";
55941
55941
  input: string;
55942
55942
  output: {
55943
+ signer: string;
55943
55944
  name: string;
55944
- id: string;
55945
55945
  account: string;
55946
+ id: string;
55946
55947
  subject: string;
55947
- signer: string;
55948
55948
  createTime?: string | {
55949
55949
  seconds: number | bigint;
55950
55950
  nanos: number;
@@ -55962,11 +55962,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55962
55962
  key: "SubjectContacts";
55963
55963
  input: string;
55964
55964
  output: {
55965
+ signer: string;
55965
55966
  name: string;
55966
- id: string;
55967
55967
  account: string;
55968
+ id: string;
55968
55969
  subject: string;
55969
- signer: string;
55970
55970
  createTime?: string | {
55971
55971
  seconds: number | bigint;
55972
55972
  nanos: number;
@@ -60894,48 +60894,48 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
60894
60894
  label: z.ZodOptional<z.ZodString>;
60895
60895
  createTime: z.ZodOptional<z.ZodString>;
60896
60896
  }, "strip", z.ZodTypeAny, {
60897
- path?: string | undefined;
60898
- id?: string | undefined;
60899
- createTime?: string | undefined;
60900
60897
  account?: string | undefined;
60898
+ delegate?: string | undefined;
60899
+ path?: string | undefined;
60901
60900
  role?: string | undefined;
60902
60901
  label?: string | undefined;
60902
+ id?: string | undefined;
60903
+ createTime?: string | undefined;
60903
60904
  issuer?: string | undefined;
60904
- delegate?: string | undefined;
60905
60905
  noRecursive?: boolean | undefined;
60906
60906
  }, {
60907
- path?: string | undefined;
60908
- id?: string | undefined;
60909
- createTime?: string | undefined;
60910
60907
  account?: string | undefined;
60908
+ delegate?: string | undefined;
60909
+ path?: string | undefined;
60911
60910
  role?: string | undefined;
60912
60911
  label?: string | undefined;
60912
+ id?: string | undefined;
60913
+ createTime?: string | undefined;
60913
60914
  issuer?: string | undefined;
60914
- delegate?: string | undefined;
60915
60915
  noRecursive?: boolean | undefined;
60916
60916
  }>, "many">;
60917
60917
  }, "strip", z.ZodTypeAny, {
60918
60918
  capabilities: {
60919
- path?: string | undefined;
60920
- id?: string | undefined;
60921
- createTime?: string | undefined;
60922
60919
  account?: string | undefined;
60920
+ delegate?: string | undefined;
60921
+ path?: string | undefined;
60923
60922
  role?: string | undefined;
60924
60923
  label?: string | undefined;
60924
+ id?: string | undefined;
60925
+ createTime?: string | undefined;
60925
60926
  issuer?: string | undefined;
60926
- delegate?: string | undefined;
60927
60927
  noRecursive?: boolean | undefined;
60928
60928
  }[];
60929
60929
  }, {
60930
60930
  capabilities: {
60931
- path?: string | undefined;
60932
- id?: string | undefined;
60933
- createTime?: string | undefined;
60934
60931
  account?: string | undefined;
60932
+ delegate?: string | undefined;
60933
+ path?: string | undefined;
60935
60934
  role?: string | undefined;
60936
60935
  label?: string | undefined;
60936
+ id?: string | undefined;
60937
+ createTime?: string | undefined;
60937
60938
  issuer?: string | undefined;
60938
- delegate?: string | undefined;
60939
60939
  noRecursive?: boolean | undefined;
60940
60940
  }[];
60941
60941
  }>;
@@ -60962,14 +60962,14 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
60962
60962
  };
60963
60963
  output: {
60964
60964
  capabilities: {
60965
- path?: string | undefined;
60966
- id?: string | undefined;
60967
- createTime?: string | undefined;
60968
60965
  account?: string | undefined;
60966
+ delegate?: string | undefined;
60967
+ path?: string | undefined;
60969
60968
  role?: string | undefined;
60970
60969
  label?: string | undefined;
60970
+ id?: string | undefined;
60971
+ createTime?: string | undefined;
60971
60972
  issuer?: string | undefined;
60972
- delegate?: string | undefined;
60973
60973
  noRecursive?: boolean | undefined;
60974
60974
  }[];
60975
60975
  };
@@ -60996,14 +60996,14 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
60996
60996
  };
60997
60997
  output: {
60998
60998
  capabilities: {
60999
- path?: string | undefined;
61000
- id?: string | undefined;
61001
- createTime?: string | undefined;
61002
60999
  account?: string | undefined;
61000
+ delegate?: string | undefined;
61001
+ path?: string | undefined;
61003
61002
  role?: string | undefined;
61004
61003
  label?: string | undefined;
61004
+ id?: string | undefined;
61005
+ createTime?: string | undefined;
61005
61006
  issuer?: string | undefined;
61006
- delegate?: string | undefined;
61007
61007
  noRecursive?: boolean | undefined;
61008
61008
  }[];
61009
61009
  };
@@ -61180,12 +61180,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61180
61180
  nanos: number;
61181
61181
  }>, z.ZodString]>;
61182
61182
  }, "strip", z.ZodTypeAny, {
61183
+ role: "writer" | "agent" | "none" | "owner";
61183
61184
  id: string;
61184
61185
  createTime: string | {
61185
61186
  seconds: number | bigint;
61186
61187
  nanos: number;
61187
61188
  };
61188
- role: "writer" | "agent" | "none" | "owner";
61189
61189
  accountUid: string;
61190
61190
  grantId: {
61191
61191
  path: string[] | null;
@@ -61204,15 +61204,15 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61204
61204
  targetDocUid?: string | null | undefined;
61205
61205
  targetDocPath?: string[] | null | undefined;
61206
61206
  };
61207
- capabilityId?: string | undefined;
61208
61207
  label?: string | undefined;
61208
+ capabilityId?: string | undefined;
61209
61209
  }, {
61210
+ role: "writer" | "agent" | "none" | "owner";
61210
61211
  id: string;
61211
61212
  createTime: string | {
61212
61213
  seconds: number | bigint;
61213
61214
  nanos: number;
61214
61215
  };
61215
- role: "writer" | "agent" | "none" | "owner";
61216
61216
  accountUid: string;
61217
61217
  grantId: {
61218
61218
  path: string[] | null;
@@ -61231,8 +61231,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61231
61231
  targetDocUid?: string | null | undefined;
61232
61232
  targetDocPath?: string[] | null | undefined;
61233
61233
  };
61234
- capabilityId?: string | undefined;
61235
61234
  label?: string | undefined;
61235
+ capabilityId?: string | undefined;
61236
61236
  }>, "many">;
61237
61237
  grantedCapabilities: z.ZodArray<z.ZodObject<{
61238
61238
  id: z.ZodString;
@@ -61308,12 +61308,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61308
61308
  nanos: number;
61309
61309
  }>, z.ZodString]>;
61310
61310
  }, "strip", z.ZodTypeAny, {
61311
+ role: "writer" | "agent" | "none" | "owner";
61311
61312
  id: string;
61312
61313
  createTime: string | {
61313
61314
  seconds: number | bigint;
61314
61315
  nanos: number;
61315
61316
  };
61316
- role: "writer" | "agent" | "none" | "owner";
61317
61317
  accountUid: string;
61318
61318
  grantId: {
61319
61319
  path: string[] | null;
@@ -61332,15 +61332,15 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61332
61332
  targetDocUid?: string | null | undefined;
61333
61333
  targetDocPath?: string[] | null | undefined;
61334
61334
  };
61335
- capabilityId?: string | undefined;
61336
61335
  label?: string | undefined;
61336
+ capabilityId?: string | undefined;
61337
61337
  }, {
61338
+ role: "writer" | "agent" | "none" | "owner";
61338
61339
  id: string;
61339
61340
  createTime: string | {
61340
61341
  seconds: number | bigint;
61341
61342
  nanos: number;
61342
61343
  };
61343
- role: "writer" | "agent" | "none" | "owner";
61344
61344
  accountUid: string;
61345
61345
  grantId: {
61346
61346
  path: string[] | null;
@@ -61359,8 +61359,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61359
61359
  targetDocUid?: string | null | undefined;
61360
61360
  targetDocPath?: string[] | null | undefined;
61361
61361
  };
61362
- capabilityId?: string | undefined;
61363
61362
  label?: string | undefined;
61363
+ capabilityId?: string | undefined;
61364
61364
  }>, "many">;
61365
61365
  grantedMembers: z.ZodArray<z.ZodObject<{
61366
61366
  account: z.ZodObject<{
@@ -61833,12 +61833,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61833
61833
  }>;
61834
61834
  publisherUid: string;
61835
61835
  parentCapabilities: {
61836
+ role: "writer" | "agent" | "none" | "owner";
61836
61837
  id: string;
61837
61838
  createTime: string | {
61838
61839
  seconds: number | bigint;
61839
61840
  nanos: number;
61840
61841
  };
61841
- role: "writer" | "agent" | "none" | "owner";
61842
61842
  accountUid: string;
61843
61843
  grantId: {
61844
61844
  path: string[] | null;
@@ -61857,16 +61857,16 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61857
61857
  targetDocUid?: string | null | undefined;
61858
61858
  targetDocPath?: string[] | null | undefined;
61859
61859
  };
61860
- capabilityId?: string | undefined;
61861
61860
  label?: string | undefined;
61861
+ capabilityId?: string | undefined;
61862
61862
  }[];
61863
61863
  grantedCapabilities: {
61864
+ role: "writer" | "agent" | "none" | "owner";
61864
61865
  id: string;
61865
61866
  createTime: string | {
61866
61867
  seconds: number | bigint;
61867
61868
  nanos: number;
61868
61869
  };
61869
- role: "writer" | "agent" | "none" | "owner";
61870
61870
  accountUid: string;
61871
61871
  grantId: {
61872
61872
  path: string[] | null;
@@ -61885,8 +61885,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61885
61885
  targetDocUid?: string | null | undefined;
61886
61886
  targetDocPath?: string[] | null | undefined;
61887
61887
  };
61888
- capabilityId?: string | undefined;
61889
61888
  label?: string | undefined;
61889
+ capabilityId?: string | undefined;
61890
61890
  }[];
61891
61891
  grantedMembers: {
61892
61892
  account: {
@@ -61977,12 +61977,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
61977
61977
  }>;
61978
61978
  publisherUid: string;
61979
61979
  parentCapabilities: {
61980
+ role: "writer" | "agent" | "none" | "owner";
61980
61981
  id: string;
61981
61982
  createTime: string | {
61982
61983
  seconds: number | bigint;
61983
61984
  nanos: number;
61984
61985
  };
61985
- role: "writer" | "agent" | "none" | "owner";
61986
61986
  accountUid: string;
61987
61987
  grantId: {
61988
61988
  path: string[] | null;
@@ -62001,16 +62001,16 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62001
62001
  targetDocUid?: string | null | undefined;
62002
62002
  targetDocPath?: string[] | null | undefined;
62003
62003
  };
62004
- capabilityId?: string | undefined;
62005
62004
  label?: string | undefined;
62005
+ capabilityId?: string | undefined;
62006
62006
  }[];
62007
62007
  grantedCapabilities: {
62008
+ role: "writer" | "agent" | "none" | "owner";
62008
62009
  id: string;
62009
62010
  createTime: string | {
62010
62011
  seconds: number | bigint;
62011
62012
  nanos: number;
62012
62013
  };
62013
- role: "writer" | "agent" | "none" | "owner";
62014
62014
  accountUid: string;
62015
62015
  grantId: {
62016
62016
  path: string[] | null;
@@ -62029,8 +62029,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62029
62029
  targetDocUid?: string | null | undefined;
62030
62030
  targetDocPath?: string[] | null | undefined;
62031
62031
  };
62032
- capabilityId?: string | undefined;
62033
62032
  label?: string | undefined;
62033
+ capabilityId?: string | undefined;
62034
62034
  }[];
62035
62035
  grantedMembers: {
62036
62036
  account: {
@@ -62143,12 +62143,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62143
62143
  }>;
62144
62144
  publisherUid: string;
62145
62145
  parentCapabilities: {
62146
+ role: "writer" | "agent" | "none" | "owner";
62146
62147
  id: string;
62147
62148
  createTime: string | {
62148
62149
  seconds: number | bigint;
62149
62150
  nanos: number;
62150
62151
  };
62151
- role: "writer" | "agent" | "none" | "owner";
62152
62152
  accountUid: string;
62153
62153
  grantId: {
62154
62154
  path: string[] | null;
@@ -62167,16 +62167,16 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62167
62167
  targetDocUid?: string | null | undefined;
62168
62168
  targetDocPath?: string[] | null | undefined;
62169
62169
  };
62170
- capabilityId?: string | undefined;
62171
62170
  label?: string | undefined;
62171
+ capabilityId?: string | undefined;
62172
62172
  }[];
62173
62173
  grantedCapabilities: {
62174
+ role: "writer" | "agent" | "none" | "owner";
62174
62175
  id: string;
62175
62176
  createTime: string | {
62176
62177
  seconds: number | bigint;
62177
62178
  nanos: number;
62178
62179
  };
62179
- role: "writer" | "agent" | "none" | "owner";
62180
62180
  accountUid: string;
62181
62181
  grantId: {
62182
62182
  path: string[] | null;
@@ -62195,8 +62195,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62195
62195
  targetDocUid?: string | null | undefined;
62196
62196
  targetDocPath?: string[] | null | undefined;
62197
62197
  };
62198
- capabilityId?: string | undefined;
62199
62198
  label?: string | undefined;
62199
+ capabilityId?: string | undefined;
62200
62200
  }[];
62201
62201
  grantedMembers: {
62202
62202
  account: {
@@ -62309,12 +62309,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62309
62309
  }>;
62310
62310
  publisherUid: string;
62311
62311
  parentCapabilities: {
62312
+ role: "writer" | "agent" | "none" | "owner";
62312
62313
  id: string;
62313
62314
  createTime: string | {
62314
62315
  seconds: number | bigint;
62315
62316
  nanos: number;
62316
62317
  };
62317
- role: "writer" | "agent" | "none" | "owner";
62318
62318
  accountUid: string;
62319
62319
  grantId: {
62320
62320
  path: string[] | null;
@@ -62333,16 +62333,16 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62333
62333
  targetDocUid?: string | null | undefined;
62334
62334
  targetDocPath?: string[] | null | undefined;
62335
62335
  };
62336
- capabilityId?: string | undefined;
62337
62336
  label?: string | undefined;
62337
+ capabilityId?: string | undefined;
62338
62338
  }[];
62339
62339
  grantedCapabilities: {
62340
+ role: "writer" | "agent" | "none" | "owner";
62340
62341
  id: string;
62341
62342
  createTime: string | {
62342
62343
  seconds: number | bigint;
62343
62344
  nanos: number;
62344
62345
  };
62345
- role: "writer" | "agent" | "none" | "owner";
62346
62346
  accountUid: string;
62347
62347
  grantId: {
62348
62348
  path: string[] | null;
@@ -62361,8 +62361,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
62361
62361
  targetDocUid?: string | null | undefined;
62362
62362
  targetDocPath?: string[] | null | undefined;
62363
62363
  };
62364
- capabilityId?: string | undefined;
62365
62364
  label?: string | undefined;
62365
+ capabilityId?: string | undefined;
62366
62366
  }[];
62367
62367
  grantedMembers: {
62368
62368
  account: {
@@ -63147,8 +63147,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63147
63147
  }>, "many">>;
63148
63148
  revision: z.ZodOptional<z.ZodString>;
63149
63149
  }, "strip", z.ZodTypeAny, {
63150
- link?: string | undefined;
63151
63150
  type?: string | undefined;
63151
+ link?: string | undefined;
63152
63152
  id?: string | undefined;
63153
63153
  attributes?: Record<string, any> | undefined;
63154
63154
  text?: string | undefined;
@@ -63161,8 +63161,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63161
63161
  }[] | undefined;
63162
63162
  revision?: string | undefined;
63163
63163
  }, {
63164
- link?: string | undefined;
63165
63164
  type?: string | undefined;
63165
+ link?: string | undefined;
63166
63166
  id?: string | undefined;
63167
63167
  attributes?: Record<string, any> | undefined;
63168
63168
  text?: string | undefined;
@@ -63177,8 +63177,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63177
63177
  }>;
63178
63178
  }, "strip", z.ZodTypeAny, {
63179
63179
  value: {
63180
- link?: string | undefined;
63181
63180
  type?: string | undefined;
63181
+ link?: string | undefined;
63182
63182
  id?: string | undefined;
63183
63183
  attributes?: Record<string, any> | undefined;
63184
63184
  text?: string | undefined;
@@ -63194,8 +63194,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63194
63194
  case: "replaceBlock";
63195
63195
  }, {
63196
63196
  value: {
63197
- link?: string | undefined;
63198
63197
  type?: string | undefined;
63198
+ link?: string | undefined;
63199
63199
  id?: string | undefined;
63200
63200
  attributes?: Record<string, any> | undefined;
63201
63201
  text?: string | undefined;
@@ -63378,8 +63378,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63378
63378
  case: "moveBlock";
63379
63379
  } | {
63380
63380
  value: {
63381
- link?: string | undefined;
63382
63381
  type?: string | undefined;
63382
+ link?: string | undefined;
63383
63383
  id?: string | undefined;
63384
63384
  attributes?: Record<string, any> | undefined;
63385
63385
  text?: string | undefined;
@@ -63438,8 +63438,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63438
63438
  case: "moveBlock";
63439
63439
  } | {
63440
63440
  value: {
63441
- link?: string | undefined;
63442
63441
  type?: string | undefined;
63442
+ link?: string | undefined;
63443
63443
  id?: string | undefined;
63444
63444
  attributes?: Record<string, any> | undefined;
63445
63445
  text?: string | undefined;
@@ -63503,8 +63503,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63503
63503
  case: "moveBlock";
63504
63504
  } | {
63505
63505
  value: {
63506
- link?: string | undefined;
63507
63506
  type?: string | undefined;
63507
+ link?: string | undefined;
63508
63508
  id?: string | undefined;
63509
63509
  attributes?: Record<string, any> | undefined;
63510
63510
  text?: string | undefined;
@@ -63570,8 +63570,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63570
63570
  case: "moveBlock";
63571
63571
  } | {
63572
63572
  value: {
63573
- link?: string | undefined;
63574
63573
  type?: string | undefined;
63574
+ link?: string | undefined;
63575
63575
  id?: string | undefined;
63576
63576
  attributes?: Record<string, any> | undefined;
63577
63577
  text?: string | undefined;
@@ -63647,8 +63647,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63647
63647
  case: "moveBlock";
63648
63648
  } | {
63649
63649
  value: {
63650
- link?: string | undefined;
63651
63650
  type?: string | undefined;
63651
+ link?: string | undefined;
63652
63652
  id?: string | undefined;
63653
63653
  attributes?: Record<string, any> | undefined;
63654
63654
  text?: string | undefined;
@@ -63720,8 +63720,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
63720
63720
  case: "moveBlock";
63721
63721
  } | {
63722
63722
  value: {
63723
- link?: string | undefined;
63724
63723
  type?: string | undefined;
63724
+ link?: string | undefined;
63725
63725
  id?: string | undefined;
63726
63726
  attributes?: Record<string, any> | undefined;
63727
63727
  text?: string | undefined;