@seed-hypermedia/client 0.0.63 → 0.0.64

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.
@@ -347,7 +347,10 @@ var HMActivitySummarySchema = z.object({
347
347
  latestCommentId: z.string(),
348
348
  commentCount: z.number(),
349
349
  latestChangeTime: HMTimestampSchema,
350
- isUnread: z.boolean()
350
+ isUnread: z.boolean(),
351
+ // Alive direct child documents. Populated in listings so cards show the
352
+ // subdocument count without a per-document interaction-summary request.
353
+ childrenCount: z.number().optional()
351
354
  });
352
355
  var HMGenerationInfoSchema = z.object({
353
356
  genesis: z.string(),
@@ -373,6 +376,11 @@ var HMDocumentInfoSchema = z.object({
373
376
  generationInfo: HMGenerationInfoSchema,
374
377
  redirectInfo: HMRedirectInfoSchema.optional(),
375
378
  metadata: HMDocumentMetadataSchema,
379
+ // Indexer-derived first image block of the document's content (reading
380
+ // order), used as a fallback cover on directory cards without fetching the
381
+ // full document. Undefined = not derived (yet); empty string = derived, the
382
+ // document has no content image (cards skip their fallback fetch).
383
+ firstImageInContent: z.string().optional(),
376
384
  visibility: HMResourceVisibilitySchema
377
385
  });
378
386
  var HMQueryResultSchema = z.object({
@@ -982,6 +990,7 @@ var HMInteractionSummaryRequestSchema = z.object({
982
990
  });
983
991
  var HMQueryBlockItemSummarySchema = z.object({
984
992
  comments: z.number(),
993
+ children: z.number().optional(),
985
994
  authorUids: z.array(z.string()).default([])
986
995
  });
987
996
  var HMQueryBlockPayloadSchema = z.object({
@@ -3530,6 +3530,7 @@ export declare const HMActivitySummarySchema: z.ZodObject<{
3530
3530
  nanos: number;
3531
3531
  }>, z.ZodString]>;
3532
3532
  isUnread: z.ZodBoolean;
3533
+ childrenCount: z.ZodOptional<z.ZodNumber>;
3533
3534
  }, "strip", z.ZodTypeAny, {
3534
3535
  latestCommentId: string;
3535
3536
  commentCount: number;
@@ -3542,6 +3543,7 @@ export declare const HMActivitySummarySchema: z.ZodObject<{
3542
3543
  seconds: number | bigint;
3543
3544
  nanos: number;
3544
3545
  } | undefined;
3546
+ childrenCount?: number | undefined;
3545
3547
  }, {
3546
3548
  latestCommentId: string;
3547
3549
  commentCount: number;
@@ -3554,6 +3556,7 @@ export declare const HMActivitySummarySchema: z.ZodObject<{
3554
3556
  seconds: number | bigint;
3555
3557
  nanos: number;
3556
3558
  } | undefined;
3559
+ childrenCount?: number | undefined;
3557
3560
  }>;
3558
3561
  export type HMActivitySummary = z.infer<typeof HMActivitySummarySchema>;
3559
3562
  export declare const HMGenerationInfoSchema: z.ZodObject<{
@@ -3702,6 +3705,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3702
3705
  nanos: number;
3703
3706
  }>, z.ZodString]>;
3704
3707
  isUnread: z.ZodBoolean;
3708
+ childrenCount: z.ZodOptional<z.ZodNumber>;
3705
3709
  }, "strip", z.ZodTypeAny, {
3706
3710
  latestCommentId: string;
3707
3711
  commentCount: number;
@@ -3714,6 +3718,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3714
3718
  seconds: number | bigint;
3715
3719
  nanos: number;
3716
3720
  } | undefined;
3721
+ childrenCount?: number | undefined;
3717
3722
  }, {
3718
3723
  latestCommentId: string;
3719
3724
  commentCount: number;
@@ -3726,6 +3731,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3726
3731
  seconds: number | bigint;
3727
3732
  nanos: number;
3728
3733
  } | undefined;
3734
+ childrenCount?: number | undefined;
3729
3735
  }>;
3730
3736
  generationInfo: z.ZodObject<{
3731
3737
  genesis: z.ZodString;
@@ -3826,6 +3832,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3826
3832
  importCategories: z.ZodOptional<z.ZodString>;
3827
3833
  importTags: z.ZodOptional<z.ZodString>;
3828
3834
  }, z.ZodTypeAny, "passthrough">>;
3835
+ firstImageInContent: z.ZodOptional<z.ZodString>;
3829
3836
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
3830
3837
  }, "strip", z.ZodTypeAny, {
3831
3838
  path: string[];
@@ -3901,6 +3908,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3901
3908
  seconds: number | bigint;
3902
3909
  nanos: number;
3903
3910
  } | undefined;
3911
+ childrenCount?: number | undefined;
3904
3912
  };
3905
3913
  generationInfo: {
3906
3914
  genesis: string;
@@ -3911,6 +3919,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3911
3919
  target: string;
3912
3920
  republish?: boolean | undefined;
3913
3921
  } | undefined;
3922
+ firstImageInContent?: string | undefined;
3914
3923
  }, {
3915
3924
  path: string[];
3916
3925
  type: "document";
@@ -3985,6 +3994,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3985
3994
  seconds: number | bigint;
3986
3995
  nanos: number;
3987
3996
  } | undefined;
3997
+ childrenCount?: number | undefined;
3988
3998
  };
3989
3999
  generationInfo: {
3990
4000
  genesis: string;
@@ -3995,6 +4005,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3995
4005
  target: string;
3996
4006
  republish?: boolean | undefined;
3997
4007
  } | undefined;
4008
+ firstImageInContent?: string | undefined;
3998
4009
  }>;
3999
4010
  export type HMDocumentInfo = z.infer<typeof HMDocumentInfoSchema>;
4000
4011
  export type HMLibraryDocument = HMDocumentInfo & {
@@ -4180,6 +4191,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4180
4191
  nanos: number;
4181
4192
  }>, z.ZodString]>;
4182
4193
  isUnread: z.ZodBoolean;
4194
+ childrenCount: z.ZodOptional<z.ZodNumber>;
4183
4195
  }, "strip", z.ZodTypeAny, {
4184
4196
  latestCommentId: string;
4185
4197
  commentCount: number;
@@ -4192,6 +4204,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4192
4204
  seconds: number | bigint;
4193
4205
  nanos: number;
4194
4206
  } | undefined;
4207
+ childrenCount?: number | undefined;
4195
4208
  }, {
4196
4209
  latestCommentId: string;
4197
4210
  commentCount: number;
@@ -4204,6 +4217,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4204
4217
  seconds: number | bigint;
4205
4218
  nanos: number;
4206
4219
  } | undefined;
4220
+ childrenCount?: number | undefined;
4207
4221
  }>;
4208
4222
  generationInfo: z.ZodObject<{
4209
4223
  genesis: z.ZodString;
@@ -4304,6 +4318,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4304
4318
  importCategories: z.ZodOptional<z.ZodString>;
4305
4319
  importTags: z.ZodOptional<z.ZodString>;
4306
4320
  }, z.ZodTypeAny, "passthrough">>;
4321
+ firstImageInContent: z.ZodOptional<z.ZodString>;
4307
4322
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
4308
4323
  }, "strip", z.ZodTypeAny, {
4309
4324
  path: string[];
@@ -4379,6 +4394,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4379
4394
  seconds: number | bigint;
4380
4395
  nanos: number;
4381
4396
  } | undefined;
4397
+ childrenCount?: number | undefined;
4382
4398
  };
4383
4399
  generationInfo: {
4384
4400
  genesis: string;
@@ -4389,6 +4405,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4389
4405
  target: string;
4390
4406
  republish?: boolean | undefined;
4391
4407
  } | undefined;
4408
+ firstImageInContent?: string | undefined;
4392
4409
  }, {
4393
4410
  path: string[];
4394
4411
  type: "document";
@@ -4463,6 +4480,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4463
4480
  seconds: number | bigint;
4464
4481
  nanos: number;
4465
4482
  } | undefined;
4483
+ childrenCount?: number | undefined;
4466
4484
  };
4467
4485
  generationInfo: {
4468
4486
  genesis: string;
@@ -4473,6 +4491,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4473
4491
  target: string;
4474
4492
  republish?: boolean | undefined;
4475
4493
  } | undefined;
4494
+ firstImageInContent?: string | undefined;
4476
4495
  }>, "many">;
4477
4496
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
4478
4497
  }, "strip", z.ZodTypeAny, {
@@ -4567,6 +4586,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4567
4586
  seconds: number | bigint;
4568
4587
  nanos: number;
4569
4588
  } | undefined;
4589
+ childrenCount?: number | undefined;
4570
4590
  };
4571
4591
  generationInfo: {
4572
4592
  genesis: string;
@@ -4577,6 +4597,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4577
4597
  target: string;
4578
4598
  republish?: boolean | undefined;
4579
4599
  } | undefined;
4600
+ firstImageInContent?: string | undefined;
4580
4601
  }[];
4581
4602
  mode?: "Children" | "AllDescendants" | undefined;
4582
4603
  }, {
@@ -4671,6 +4692,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4671
4692
  seconds: number | bigint;
4672
4693
  nanos: number;
4673
4694
  } | undefined;
4695
+ childrenCount?: number | undefined;
4674
4696
  };
4675
4697
  generationInfo: {
4676
4698
  genesis: string;
@@ -4681,6 +4703,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4681
4703
  target: string;
4682
4704
  republish?: boolean | undefined;
4683
4705
  } | undefined;
4706
+ firstImageInContent?: string | undefined;
4684
4707
  }[];
4685
4708
  mode?: "Children" | "AllDescendants" | undefined;
4686
4709
  }>;
@@ -19784,6 +19807,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19784
19807
  nanos: number;
19785
19808
  }>, z.ZodString]>;
19786
19809
  isUnread: z.ZodBoolean;
19810
+ childrenCount: z.ZodOptional<z.ZodNumber>;
19787
19811
  }, "strip", z.ZodTypeAny, {
19788
19812
  latestCommentId: string;
19789
19813
  commentCount: number;
@@ -19796,6 +19820,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19796
19820
  seconds: number | bigint;
19797
19821
  nanos: number;
19798
19822
  } | undefined;
19823
+ childrenCount?: number | undefined;
19799
19824
  }, {
19800
19825
  latestCommentId: string;
19801
19826
  commentCount: number;
@@ -19808,6 +19833,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19808
19833
  seconds: number | bigint;
19809
19834
  nanos: number;
19810
19835
  } | undefined;
19836
+ childrenCount?: number | undefined;
19811
19837
  }>;
19812
19838
  generationInfo: z.ZodObject<{
19813
19839
  genesis: z.ZodString;
@@ -19908,6 +19934,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19908
19934
  importCategories: z.ZodOptional<z.ZodString>;
19909
19935
  importTags: z.ZodOptional<z.ZodString>;
19910
19936
  }, z.ZodTypeAny, "passthrough">>;
19937
+ firstImageInContent: z.ZodOptional<z.ZodString>;
19911
19938
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
19912
19939
  }, "strip", z.ZodTypeAny, {
19913
19940
  path: string[];
@@ -19983,6 +20010,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19983
20010
  seconds: number | bigint;
19984
20011
  nanos: number;
19985
20012
  } | undefined;
20013
+ childrenCount?: number | undefined;
19986
20014
  };
19987
20015
  generationInfo: {
19988
20016
  genesis: string;
@@ -19993,6 +20021,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19993
20021
  target: string;
19994
20022
  republish?: boolean | undefined;
19995
20023
  } | undefined;
20024
+ firstImageInContent?: string | undefined;
19996
20025
  }, {
19997
20026
  path: string[];
19998
20027
  type: "document";
@@ -20067,6 +20096,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20067
20096
  seconds: number | bigint;
20068
20097
  nanos: number;
20069
20098
  } | undefined;
20099
+ childrenCount?: number | undefined;
20070
20100
  };
20071
20101
  generationInfo: {
20072
20102
  genesis: string;
@@ -20077,6 +20107,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20077
20107
  target: string;
20078
20108
  republish?: boolean | undefined;
20079
20109
  } | undefined;
20110
+ firstImageInContent?: string | undefined;
20080
20111
  }>, "many">;
20081
20112
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
20082
20113
  }, "strip", z.ZodTypeAny, {
@@ -20171,6 +20202,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20171
20202
  seconds: number | bigint;
20172
20203
  nanos: number;
20173
20204
  } | undefined;
20205
+ childrenCount?: number | undefined;
20174
20206
  };
20175
20207
  generationInfo: {
20176
20208
  genesis: string;
@@ -20181,6 +20213,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20181
20213
  target: string;
20182
20214
  republish?: boolean | undefined;
20183
20215
  } | undefined;
20216
+ firstImageInContent?: string | undefined;
20184
20217
  }[];
20185
20218
  mode?: "Children" | "AllDescendants" | undefined;
20186
20219
  }, {
@@ -20275,6 +20308,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20275
20308
  seconds: number | bigint;
20276
20309
  nanos: number;
20277
20310
  } | undefined;
20311
+ childrenCount?: number | undefined;
20278
20312
  };
20279
20313
  generationInfo: {
20280
20314
  genesis: string;
@@ -20285,6 +20319,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20285
20319
  target: string;
20286
20320
  republish?: boolean | undefined;
20287
20321
  } | undefined;
20322
+ firstImageInContent?: string | undefined;
20288
20323
  }[];
20289
20324
  mode?: "Children" | "AllDescendants" | undefined;
20290
20325
  }>>;
@@ -20394,6 +20429,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20394
20429
  seconds: number | bigint;
20395
20430
  nanos: number;
20396
20431
  } | undefined;
20432
+ childrenCount?: number | undefined;
20397
20433
  };
20398
20434
  generationInfo: {
20399
20435
  genesis: string;
@@ -20404,6 +20440,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20404
20440
  target: string;
20405
20441
  republish?: boolean | undefined;
20406
20442
  } | undefined;
20443
+ firstImageInContent?: string | undefined;
20407
20444
  }[];
20408
20445
  mode?: "Children" | "AllDescendants" | undefined;
20409
20446
  } | null;
@@ -20513,6 +20550,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20513
20550
  seconds: number | bigint;
20514
20551
  nanos: number;
20515
20552
  } | undefined;
20553
+ childrenCount?: number | undefined;
20516
20554
  };
20517
20555
  generationInfo: {
20518
20556
  genesis: string;
@@ -20523,6 +20561,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
20523
20561
  target: string;
20524
20562
  republish?: boolean | undefined;
20525
20563
  } | undefined;
20564
+ firstImageInContent?: string | undefined;
20526
20565
  }[];
20527
20566
  mode?: "Children" | "AllDescendants" | undefined;
20528
20567
  } | null;
@@ -31891,12 +31930,15 @@ export declare const HMInteractionSummaryRequestSchema: z.ZodObject<{
31891
31930
  export type HMInteractionSummaryRequest = z.infer<typeof HMInteractionSummaryRequestSchema>;
31892
31931
  export declare const HMQueryBlockItemSummarySchema: z.ZodObject<{
31893
31932
  comments: z.ZodNumber;
31933
+ children: z.ZodOptional<z.ZodNumber>;
31894
31934
  authorUids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
31895
31935
  }, "strip", z.ZodTypeAny, {
31896
31936
  comments: number;
31897
31937
  authorUids: string[];
31938
+ children?: number | undefined;
31898
31939
  }, {
31899
31940
  comments: number;
31941
+ children?: number | undefined;
31900
31942
  authorUids?: string[] | undefined;
31901
31943
  }>;
31902
31944
  export type HMQueryBlockItemSummary = z.infer<typeof HMQueryBlockItemSummarySchema>;
@@ -32080,6 +32122,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32080
32122
  nanos: number;
32081
32123
  }>, z.ZodString]>;
32082
32124
  isUnread: z.ZodBoolean;
32125
+ childrenCount: z.ZodOptional<z.ZodNumber>;
32083
32126
  }, "strip", z.ZodTypeAny, {
32084
32127
  latestCommentId: string;
32085
32128
  commentCount: number;
@@ -32092,6 +32135,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32092
32135
  seconds: number | bigint;
32093
32136
  nanos: number;
32094
32137
  } | undefined;
32138
+ childrenCount?: number | undefined;
32095
32139
  }, {
32096
32140
  latestCommentId: string;
32097
32141
  commentCount: number;
@@ -32104,6 +32148,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32104
32148
  seconds: number | bigint;
32105
32149
  nanos: number;
32106
32150
  } | undefined;
32151
+ childrenCount?: number | undefined;
32107
32152
  }>;
32108
32153
  generationInfo: z.ZodObject<{
32109
32154
  genesis: z.ZodString;
@@ -32204,6 +32249,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32204
32249
  importCategories: z.ZodOptional<z.ZodString>;
32205
32250
  importTags: z.ZodOptional<z.ZodString>;
32206
32251
  }, z.ZodTypeAny, "passthrough">>;
32252
+ firstImageInContent: z.ZodOptional<z.ZodString>;
32207
32253
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
32208
32254
  }, "strip", z.ZodTypeAny, {
32209
32255
  path: string[];
@@ -32279,6 +32325,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32279
32325
  seconds: number | bigint;
32280
32326
  nanos: number;
32281
32327
  } | undefined;
32328
+ childrenCount?: number | undefined;
32282
32329
  };
32283
32330
  generationInfo: {
32284
32331
  genesis: string;
@@ -32289,6 +32336,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32289
32336
  target: string;
32290
32337
  republish?: boolean | undefined;
32291
32338
  } | undefined;
32339
+ firstImageInContent?: string | undefined;
32292
32340
  }, {
32293
32341
  path: string[];
32294
32342
  type: "document";
@@ -32363,6 +32411,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32363
32411
  seconds: number | bigint;
32364
32412
  nanos: number;
32365
32413
  } | undefined;
32414
+ childrenCount?: number | undefined;
32366
32415
  };
32367
32416
  generationInfo: {
32368
32417
  genesis: string;
@@ -32373,16 +32422,20 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32373
32422
  target: string;
32374
32423
  republish?: boolean | undefined;
32375
32424
  } | undefined;
32425
+ firstImageInContent?: string | undefined;
32376
32426
  }>, "many">;
32377
32427
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
32378
32428
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
32379
32429
  comments: z.ZodNumber;
32430
+ children: z.ZodOptional<z.ZodNumber>;
32380
32431
  authorUids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
32381
32432
  }, "strip", z.ZodTypeAny, {
32382
32433
  comments: number;
32383
32434
  authorUids: string[];
32435
+ children?: number | undefined;
32384
32436
  }, {
32385
32437
  comments: number;
32438
+ children?: number | undefined;
32386
32439
  authorUids?: string[] | undefined;
32387
32440
  }>>;
32388
32441
  accountsMetadata: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -32703,6 +32756,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32703
32756
  seconds: number | bigint;
32704
32757
  nanos: number;
32705
32758
  } | undefined;
32759
+ childrenCount?: number | undefined;
32706
32760
  };
32707
32761
  generationInfo: {
32708
32762
  genesis: string;
@@ -32713,11 +32767,13 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32713
32767
  target: string;
32714
32768
  republish?: boolean | undefined;
32715
32769
  } | undefined;
32770
+ firstImageInContent?: string | undefined;
32716
32771
  }[];
32717
32772
  queryTargetName: string;
32718
32773
  interactionSummaries: Record<string, {
32719
32774
  comments: number;
32720
32775
  authorUids: string[];
32776
+ children?: number | undefined;
32721
32777
  }>;
32722
32778
  accountsMetadata: Record<string, {
32723
32779
  id: {
@@ -32858,6 +32914,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32858
32914
  seconds: number | bigint;
32859
32915
  nanos: number;
32860
32916
  } | undefined;
32917
+ childrenCount?: number | undefined;
32861
32918
  };
32862
32919
  generationInfo: {
32863
32920
  genesis: string;
@@ -32868,10 +32925,12 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
32868
32925
  target: string;
32869
32926
  republish?: boolean | undefined;
32870
32927
  } | undefined;
32928
+ firstImageInContent?: string | undefined;
32871
32929
  }[];
32872
32930
  queryTargetName: string;
32873
32931
  interactionSummaries: Record<string, {
32874
32932
  comments: number;
32933
+ children?: number | undefined;
32875
32934
  authorUids?: string[] | undefined;
32876
32935
  }>;
32877
32936
  accountsMetadata: Record<string, {
@@ -33181,6 +33240,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33181
33240
  nanos: number;
33182
33241
  }>, z.ZodString]>;
33183
33242
  isUnread: z.ZodBoolean;
33243
+ childrenCount: z.ZodOptional<z.ZodNumber>;
33184
33244
  }, "strip", z.ZodTypeAny, {
33185
33245
  latestCommentId: string;
33186
33246
  commentCount: number;
@@ -33193,6 +33253,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33193
33253
  seconds: number | bigint;
33194
33254
  nanos: number;
33195
33255
  } | undefined;
33256
+ childrenCount?: number | undefined;
33196
33257
  }, {
33197
33258
  latestCommentId: string;
33198
33259
  commentCount: number;
@@ -33205,6 +33266,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33205
33266
  seconds: number | bigint;
33206
33267
  nanos: number;
33207
33268
  } | undefined;
33269
+ childrenCount?: number | undefined;
33208
33270
  }>;
33209
33271
  generationInfo: z.ZodObject<{
33210
33272
  genesis: z.ZodString;
@@ -33305,6 +33367,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33305
33367
  importCategories: z.ZodOptional<z.ZodString>;
33306
33368
  importTags: z.ZodOptional<z.ZodString>;
33307
33369
  }, z.ZodTypeAny, "passthrough">>;
33370
+ firstImageInContent: z.ZodOptional<z.ZodString>;
33308
33371
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
33309
33372
  }, "strip", z.ZodTypeAny, {
33310
33373
  path: string[];
@@ -33380,6 +33443,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33380
33443
  seconds: number | bigint;
33381
33444
  nanos: number;
33382
33445
  } | undefined;
33446
+ childrenCount?: number | undefined;
33383
33447
  };
33384
33448
  generationInfo: {
33385
33449
  genesis: string;
@@ -33390,6 +33454,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33390
33454
  target: string;
33391
33455
  republish?: boolean | undefined;
33392
33456
  } | undefined;
33457
+ firstImageInContent?: string | undefined;
33393
33458
  }, {
33394
33459
  path: string[];
33395
33460
  type: "document";
@@ -33464,6 +33529,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33464
33529
  seconds: number | bigint;
33465
33530
  nanos: number;
33466
33531
  } | undefined;
33532
+ childrenCount?: number | undefined;
33467
33533
  };
33468
33534
  generationInfo: {
33469
33535
  genesis: string;
@@ -33474,16 +33540,20 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33474
33540
  target: string;
33475
33541
  republish?: boolean | undefined;
33476
33542
  } | undefined;
33543
+ firstImageInContent?: string | undefined;
33477
33544
  }>, "many">;
33478
33545
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
33479
33546
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
33480
33547
  comments: z.ZodNumber;
33548
+ children: z.ZodOptional<z.ZodNumber>;
33481
33549
  authorUids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
33482
33550
  }, "strip", z.ZodTypeAny, {
33483
33551
  comments: number;
33484
33552
  authorUids: string[];
33553
+ children?: number | undefined;
33485
33554
  }, {
33486
33555
  comments: number;
33556
+ children?: number | undefined;
33487
33557
  authorUids?: string[] | undefined;
33488
33558
  }>>;
33489
33559
  accountsMetadata: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -33804,6 +33874,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33804
33874
  seconds: number | bigint;
33805
33875
  nanos: number;
33806
33876
  } | undefined;
33877
+ childrenCount?: number | undefined;
33807
33878
  };
33808
33879
  generationInfo: {
33809
33880
  genesis: string;
@@ -33814,11 +33885,13 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33814
33885
  target: string;
33815
33886
  republish?: boolean | undefined;
33816
33887
  } | undefined;
33888
+ firstImageInContent?: string | undefined;
33817
33889
  }[];
33818
33890
  queryTargetName: string;
33819
33891
  interactionSummaries: Record<string, {
33820
33892
  comments: number;
33821
33893
  authorUids: string[];
33894
+ children?: number | undefined;
33822
33895
  }>;
33823
33896
  accountsMetadata: Record<string, {
33824
33897
  id: {
@@ -33959,6 +34032,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33959
34032
  seconds: number | bigint;
33960
34033
  nanos: number;
33961
34034
  } | undefined;
34035
+ childrenCount?: number | undefined;
33962
34036
  };
33963
34037
  generationInfo: {
33964
34038
  genesis: string;
@@ -33969,10 +34043,12 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
33969
34043
  target: string;
33970
34044
  republish?: boolean | undefined;
33971
34045
  } | undefined;
34046
+ firstImageInContent?: string | undefined;
33972
34047
  }[];
33973
34048
  queryTargetName: string;
33974
34049
  interactionSummaries: Record<string, {
33975
34050
  comments: number;
34051
+ children?: number | undefined;
33976
34052
  authorUids?: string[] | undefined;
33977
34053
  }>;
33978
34054
  accountsMetadata: Record<string, {
@@ -34131,6 +34207,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34131
34207
  seconds: number | bigint;
34132
34208
  nanos: number;
34133
34209
  } | undefined;
34210
+ childrenCount?: number | undefined;
34134
34211
  };
34135
34212
  generationInfo: {
34136
34213
  genesis: string;
@@ -34141,11 +34218,13 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34141
34218
  target: string;
34142
34219
  republish?: boolean | undefined;
34143
34220
  } | undefined;
34221
+ firstImageInContent?: string | undefined;
34144
34222
  }[];
34145
34223
  queryTargetName: string;
34146
34224
  interactionSummaries: Record<string, {
34147
34225
  comments: number;
34148
34226
  authorUids: string[];
34227
+ children?: number | undefined;
34149
34228
  }>;
34150
34229
  accountsMetadata: Record<string, {
34151
34230
  id: {
@@ -34303,6 +34382,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34303
34382
  seconds: number | bigint;
34304
34383
  nanos: number;
34305
34384
  } | undefined;
34385
+ childrenCount?: number | undefined;
34306
34386
  };
34307
34387
  generationInfo: {
34308
34388
  genesis: string;
@@ -34313,10 +34393,12 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
34313
34393
  target: string;
34314
34394
  republish?: boolean | undefined;
34315
34395
  } | undefined;
34396
+ firstImageInContent?: string | undefined;
34316
34397
  }[];
34317
34398
  queryTargetName: string;
34318
34399
  interactionSummaries: Record<string, {
34319
34400
  comments: number;
34401
+ children?: number | undefined;
34320
34402
  authorUids?: string[] | undefined;
34321
34403
  }>;
34322
34404
  accountsMetadata: Record<string, {
@@ -39665,6 +39747,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39665
39747
  nanos: number;
39666
39748
  }>, z.ZodString]>;
39667
39749
  isUnread: z.ZodBoolean;
39750
+ childrenCount: z.ZodOptional<z.ZodNumber>;
39668
39751
  }, "strip", z.ZodTypeAny, {
39669
39752
  latestCommentId: string;
39670
39753
  commentCount: number;
@@ -39677,6 +39760,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39677
39760
  seconds: number | bigint;
39678
39761
  nanos: number;
39679
39762
  } | undefined;
39763
+ childrenCount?: number | undefined;
39680
39764
  }, {
39681
39765
  latestCommentId: string;
39682
39766
  commentCount: number;
@@ -39689,6 +39773,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39689
39773
  seconds: number | bigint;
39690
39774
  nanos: number;
39691
39775
  } | undefined;
39776
+ childrenCount?: number | undefined;
39692
39777
  }>;
39693
39778
  generationInfo: z.ZodObject<{
39694
39779
  genesis: z.ZodString;
@@ -39789,6 +39874,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39789
39874
  importCategories: z.ZodOptional<z.ZodString>;
39790
39875
  importTags: z.ZodOptional<z.ZodString>;
39791
39876
  }, z.ZodTypeAny, "passthrough">>;
39877
+ firstImageInContent: z.ZodOptional<z.ZodString>;
39792
39878
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
39793
39879
  }, "strip", z.ZodTypeAny, {
39794
39880
  path: string[];
@@ -39864,6 +39950,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39864
39950
  seconds: number | bigint;
39865
39951
  nanos: number;
39866
39952
  } | undefined;
39953
+ childrenCount?: number | undefined;
39867
39954
  };
39868
39955
  generationInfo: {
39869
39956
  genesis: string;
@@ -39874,6 +39961,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39874
39961
  target: string;
39875
39962
  republish?: boolean | undefined;
39876
39963
  } | undefined;
39964
+ firstImageInContent?: string | undefined;
39877
39965
  }, {
39878
39966
  path: string[];
39879
39967
  type: "document";
@@ -39948,6 +40036,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39948
40036
  seconds: number | bigint;
39949
40037
  nanos: number;
39950
40038
  } | undefined;
40039
+ childrenCount?: number | undefined;
39951
40040
  };
39952
40041
  generationInfo: {
39953
40042
  genesis: string;
@@ -39958,6 +40047,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39958
40047
  target: string;
39959
40048
  republish?: boolean | undefined;
39960
40049
  } | undefined;
40050
+ firstImageInContent?: string | undefined;
39961
40051
  }>, "many">;
39962
40052
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
39963
40053
  }, "strip", z.ZodTypeAny, {
@@ -40052,6 +40142,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40052
40142
  seconds: number | bigint;
40053
40143
  nanos: number;
40054
40144
  } | undefined;
40145
+ childrenCount?: number | undefined;
40055
40146
  };
40056
40147
  generationInfo: {
40057
40148
  genesis: string;
@@ -40062,6 +40153,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40062
40153
  target: string;
40063
40154
  republish?: boolean | undefined;
40064
40155
  } | undefined;
40156
+ firstImageInContent?: string | undefined;
40065
40157
  }[];
40066
40158
  mode?: "Children" | "AllDescendants" | undefined;
40067
40159
  }, {
@@ -40156,6 +40248,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40156
40248
  seconds: number | bigint;
40157
40249
  nanos: number;
40158
40250
  } | undefined;
40251
+ childrenCount?: number | undefined;
40159
40252
  };
40160
40253
  generationInfo: {
40161
40254
  genesis: string;
@@ -40166,6 +40259,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40166
40259
  target: string;
40167
40260
  republish?: boolean | undefined;
40168
40261
  } | undefined;
40262
+ firstImageInContent?: string | undefined;
40169
40263
  }[];
40170
40264
  mode?: "Children" | "AllDescendants" | undefined;
40171
40265
  }>>;
@@ -40275,6 +40369,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40275
40369
  seconds: number | bigint;
40276
40370
  nanos: number;
40277
40371
  } | undefined;
40372
+ childrenCount?: number | undefined;
40278
40373
  };
40279
40374
  generationInfo: {
40280
40375
  genesis: string;
@@ -40285,6 +40380,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40285
40380
  target: string;
40286
40381
  republish?: boolean | undefined;
40287
40382
  } | undefined;
40383
+ firstImageInContent?: string | undefined;
40288
40384
  }[];
40289
40385
  mode?: "Children" | "AllDescendants" | undefined;
40290
40386
  } | null;
@@ -40394,6 +40490,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40394
40490
  seconds: number | bigint;
40395
40491
  nanos: number;
40396
40492
  } | undefined;
40493
+ childrenCount?: number | undefined;
40397
40494
  };
40398
40495
  generationInfo: {
40399
40496
  genesis: string;
@@ -40404,6 +40501,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40404
40501
  target: string;
40405
40502
  republish?: boolean | undefined;
40406
40503
  } | undefined;
40504
+ firstImageInContent?: string | undefined;
40407
40505
  }[];
40408
40506
  mode?: "Children" | "AllDescendants" | undefined;
40409
40507
  } | null;
@@ -40665,6 +40763,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40665
40763
  nanos: number;
40666
40764
  }>, z.ZodString]>;
40667
40765
  isUnread: z.ZodBoolean;
40766
+ childrenCount: z.ZodOptional<z.ZodNumber>;
40668
40767
  }, "strip", z.ZodTypeAny, {
40669
40768
  latestCommentId: string;
40670
40769
  commentCount: number;
@@ -40677,6 +40776,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40677
40776
  seconds: number | bigint;
40678
40777
  nanos: number;
40679
40778
  } | undefined;
40779
+ childrenCount?: number | undefined;
40680
40780
  }, {
40681
40781
  latestCommentId: string;
40682
40782
  commentCount: number;
@@ -40689,6 +40789,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40689
40789
  seconds: number | bigint;
40690
40790
  nanos: number;
40691
40791
  } | undefined;
40792
+ childrenCount?: number | undefined;
40692
40793
  }>;
40693
40794
  generationInfo: z.ZodObject<{
40694
40795
  genesis: z.ZodString;
@@ -40789,6 +40890,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40789
40890
  importCategories: z.ZodOptional<z.ZodString>;
40790
40891
  importTags: z.ZodOptional<z.ZodString>;
40791
40892
  }, z.ZodTypeAny, "passthrough">>;
40893
+ firstImageInContent: z.ZodOptional<z.ZodString>;
40792
40894
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
40793
40895
  }, "strip", z.ZodTypeAny, {
40794
40896
  path: string[];
@@ -40864,6 +40966,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40864
40966
  seconds: number | bigint;
40865
40967
  nanos: number;
40866
40968
  } | undefined;
40969
+ childrenCount?: number | undefined;
40867
40970
  };
40868
40971
  generationInfo: {
40869
40972
  genesis: string;
@@ -40874,6 +40977,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40874
40977
  target: string;
40875
40978
  republish?: boolean | undefined;
40876
40979
  } | undefined;
40980
+ firstImageInContent?: string | undefined;
40877
40981
  }, {
40878
40982
  path: string[];
40879
40983
  type: "document";
@@ -40948,6 +41052,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40948
41052
  seconds: number | bigint;
40949
41053
  nanos: number;
40950
41054
  } | undefined;
41055
+ childrenCount?: number | undefined;
40951
41056
  };
40952
41057
  generationInfo: {
40953
41058
  genesis: string;
@@ -40958,16 +41063,20 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
40958
41063
  target: string;
40959
41064
  republish?: boolean | undefined;
40960
41065
  } | undefined;
41066
+ firstImageInContent?: string | undefined;
40961
41067
  }>, "many">;
40962
41068
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
40963
41069
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
40964
41070
  comments: z.ZodNumber;
41071
+ children: z.ZodOptional<z.ZodNumber>;
40965
41072
  authorUids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
40966
41073
  }, "strip", z.ZodTypeAny, {
40967
41074
  comments: number;
40968
41075
  authorUids: string[];
41076
+ children?: number | undefined;
40969
41077
  }, {
40970
41078
  comments: number;
41079
+ children?: number | undefined;
40971
41080
  authorUids?: string[] | undefined;
40972
41081
  }>>;
40973
41082
  accountsMetadata: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -41288,6 +41397,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41288
41397
  seconds: number | bigint;
41289
41398
  nanos: number;
41290
41399
  } | undefined;
41400
+ childrenCount?: number | undefined;
41291
41401
  };
41292
41402
  generationInfo: {
41293
41403
  genesis: string;
@@ -41298,11 +41408,13 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41298
41408
  target: string;
41299
41409
  republish?: boolean | undefined;
41300
41410
  } | undefined;
41411
+ firstImageInContent?: string | undefined;
41301
41412
  }[];
41302
41413
  queryTargetName: string;
41303
41414
  interactionSummaries: Record<string, {
41304
41415
  comments: number;
41305
41416
  authorUids: string[];
41417
+ children?: number | undefined;
41306
41418
  }>;
41307
41419
  accountsMetadata: Record<string, {
41308
41420
  id: {
@@ -41443,6 +41555,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41443
41555
  seconds: number | bigint;
41444
41556
  nanos: number;
41445
41557
  } | undefined;
41558
+ childrenCount?: number | undefined;
41446
41559
  };
41447
41560
  generationInfo: {
41448
41561
  genesis: string;
@@ -41453,10 +41566,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41453
41566
  target: string;
41454
41567
  republish?: boolean | undefined;
41455
41568
  } | undefined;
41569
+ firstImageInContent?: string | undefined;
41456
41570
  }[];
41457
41571
  queryTargetName: string;
41458
41572
  interactionSummaries: Record<string, {
41459
41573
  comments: number;
41574
+ children?: number | undefined;
41460
41575
  authorUids?: string[] | undefined;
41461
41576
  }>;
41462
41577
  accountsMetadata: Record<string, {
@@ -41615,6 +41730,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41615
41730
  seconds: number | bigint;
41616
41731
  nanos: number;
41617
41732
  } | undefined;
41733
+ childrenCount?: number | undefined;
41618
41734
  };
41619
41735
  generationInfo: {
41620
41736
  genesis: string;
@@ -41625,11 +41741,13 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41625
41741
  target: string;
41626
41742
  republish?: boolean | undefined;
41627
41743
  } | undefined;
41744
+ firstImageInContent?: string | undefined;
41628
41745
  }[];
41629
41746
  queryTargetName: string;
41630
41747
  interactionSummaries: Record<string, {
41631
41748
  comments: number;
41632
41749
  authorUids: string[];
41750
+ children?: number | undefined;
41633
41751
  }>;
41634
41752
  accountsMetadata: Record<string, {
41635
41753
  id: {
@@ -41787,6 +41905,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41787
41905
  seconds: number | bigint;
41788
41906
  nanos: number;
41789
41907
  } | undefined;
41908
+ childrenCount?: number | undefined;
41790
41909
  };
41791
41910
  generationInfo: {
41792
41911
  genesis: string;
@@ -41797,10 +41916,12 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
41797
41916
  target: string;
41798
41917
  republish?: boolean | undefined;
41799
41918
  } | undefined;
41919
+ firstImageInContent?: string | undefined;
41800
41920
  }[];
41801
41921
  queryTargetName: string;
41802
41922
  interactionSummaries: Record<string, {
41803
41923
  comments: number;
41924
+ children?: number | undefined;
41804
41925
  authorUids?: string[] | undefined;
41805
41926
  }>;
41806
41927
  accountsMetadata: Record<string, {
@@ -53144,6 +53265,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53144
53265
  nanos: number;
53145
53266
  }>, z.ZodString]>;
53146
53267
  isUnread: z.ZodBoolean;
53268
+ childrenCount: z.ZodOptional<z.ZodNumber>;
53147
53269
  }, "strip", z.ZodTypeAny, {
53148
53270
  latestCommentId: string;
53149
53271
  commentCount: number;
@@ -53156,6 +53278,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53156
53278
  seconds: number | bigint;
53157
53279
  nanos: number;
53158
53280
  } | undefined;
53281
+ childrenCount?: number | undefined;
53159
53282
  }, {
53160
53283
  latestCommentId: string;
53161
53284
  commentCount: number;
@@ -53168,6 +53291,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53168
53291
  seconds: number | bigint;
53169
53292
  nanos: number;
53170
53293
  } | undefined;
53294
+ childrenCount?: number | undefined;
53171
53295
  }>;
53172
53296
  generationInfo: z.ZodObject<{
53173
53297
  genesis: z.ZodString;
@@ -53268,6 +53392,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53268
53392
  importCategories: z.ZodOptional<z.ZodString>;
53269
53393
  importTags: z.ZodOptional<z.ZodString>;
53270
53394
  }, z.ZodTypeAny, "passthrough">>;
53395
+ firstImageInContent: z.ZodOptional<z.ZodString>;
53271
53396
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
53272
53397
  }, "strip", z.ZodTypeAny, {
53273
53398
  path: string[];
@@ -53343,6 +53468,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53343
53468
  seconds: number | bigint;
53344
53469
  nanos: number;
53345
53470
  } | undefined;
53471
+ childrenCount?: number | undefined;
53346
53472
  };
53347
53473
  generationInfo: {
53348
53474
  genesis: string;
@@ -53353,6 +53479,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53353
53479
  target: string;
53354
53480
  republish?: boolean | undefined;
53355
53481
  } | undefined;
53482
+ firstImageInContent?: string | undefined;
53356
53483
  }, {
53357
53484
  path: string[];
53358
53485
  type: "document";
@@ -53427,6 +53554,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53427
53554
  seconds: number | bigint;
53428
53555
  nanos: number;
53429
53556
  } | undefined;
53557
+ childrenCount?: number | undefined;
53430
53558
  };
53431
53559
  generationInfo: {
53432
53560
  genesis: string;
@@ -53437,6 +53565,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53437
53565
  target: string;
53438
53566
  republish?: boolean | undefined;
53439
53567
  } | undefined;
53568
+ firstImageInContent?: string | undefined;
53440
53569
  }>, "many">;
53441
53570
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
53442
53571
  }, "strip", z.ZodTypeAny, {
@@ -53531,6 +53660,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53531
53660
  seconds: number | bigint;
53532
53661
  nanos: number;
53533
53662
  } | undefined;
53663
+ childrenCount?: number | undefined;
53534
53664
  };
53535
53665
  generationInfo: {
53536
53666
  genesis: string;
@@ -53541,6 +53671,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53541
53671
  target: string;
53542
53672
  republish?: boolean | undefined;
53543
53673
  } | undefined;
53674
+ firstImageInContent?: string | undefined;
53544
53675
  }[];
53545
53676
  mode?: "Children" | "AllDescendants" | undefined;
53546
53677
  }, {
@@ -53635,6 +53766,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53635
53766
  seconds: number | bigint;
53636
53767
  nanos: number;
53637
53768
  } | undefined;
53769
+ childrenCount?: number | undefined;
53638
53770
  };
53639
53771
  generationInfo: {
53640
53772
  genesis: string;
@@ -53645,6 +53777,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53645
53777
  target: string;
53646
53778
  republish?: boolean | undefined;
53647
53779
  } | undefined;
53780
+ firstImageInContent?: string | undefined;
53648
53781
  }[];
53649
53782
  mode?: "Children" | "AllDescendants" | undefined;
53650
53783
  }>>;
@@ -53754,6 +53887,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53754
53887
  seconds: number | bigint;
53755
53888
  nanos: number;
53756
53889
  } | undefined;
53890
+ childrenCount?: number | undefined;
53757
53891
  };
53758
53892
  generationInfo: {
53759
53893
  genesis: string;
@@ -53764,6 +53898,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53764
53898
  target: string;
53765
53899
  republish?: boolean | undefined;
53766
53900
  } | undefined;
53901
+ firstImageInContent?: string | undefined;
53767
53902
  }[];
53768
53903
  mode?: "Children" | "AllDescendants" | undefined;
53769
53904
  } | null;
@@ -53873,6 +54008,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53873
54008
  seconds: number | bigint;
53874
54009
  nanos: number;
53875
54010
  } | undefined;
54011
+ childrenCount?: number | undefined;
53876
54012
  };
53877
54013
  generationInfo: {
53878
54014
  genesis: string;
@@ -53883,6 +54019,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
53883
54019
  target: string;
53884
54020
  republish?: boolean | undefined;
53885
54021
  } | undefined;
54022
+ firstImageInContent?: string | undefined;
53886
54023
  }[];
53887
54024
  mode?: "Children" | "AllDescendants" | undefined;
53888
54025
  } | null;
@@ -54144,6 +54281,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54144
54281
  nanos: number;
54145
54282
  }>, z.ZodString]>;
54146
54283
  isUnread: z.ZodBoolean;
54284
+ childrenCount: z.ZodOptional<z.ZodNumber>;
54147
54285
  }, "strip", z.ZodTypeAny, {
54148
54286
  latestCommentId: string;
54149
54287
  commentCount: number;
@@ -54156,6 +54294,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54156
54294
  seconds: number | bigint;
54157
54295
  nanos: number;
54158
54296
  } | undefined;
54297
+ childrenCount?: number | undefined;
54159
54298
  }, {
54160
54299
  latestCommentId: string;
54161
54300
  commentCount: number;
@@ -54168,6 +54307,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54168
54307
  seconds: number | bigint;
54169
54308
  nanos: number;
54170
54309
  } | undefined;
54310
+ childrenCount?: number | undefined;
54171
54311
  }>;
54172
54312
  generationInfo: z.ZodObject<{
54173
54313
  genesis: z.ZodString;
@@ -54268,6 +54408,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54268
54408
  importCategories: z.ZodOptional<z.ZodString>;
54269
54409
  importTags: z.ZodOptional<z.ZodString>;
54270
54410
  }, z.ZodTypeAny, "passthrough">>;
54411
+ firstImageInContent: z.ZodOptional<z.ZodString>;
54271
54412
  visibility: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "PUBLIC" | "PRIVATE", string | number>;
54272
54413
  }, "strip", z.ZodTypeAny, {
54273
54414
  path: string[];
@@ -54343,6 +54484,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54343
54484
  seconds: number | bigint;
54344
54485
  nanos: number;
54345
54486
  } | undefined;
54487
+ childrenCount?: number | undefined;
54346
54488
  };
54347
54489
  generationInfo: {
54348
54490
  genesis: string;
@@ -54353,6 +54495,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54353
54495
  target: string;
54354
54496
  republish?: boolean | undefined;
54355
54497
  } | undefined;
54498
+ firstImageInContent?: string | undefined;
54356
54499
  }, {
54357
54500
  path: string[];
54358
54501
  type: "document";
@@ -54427,6 +54570,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54427
54570
  seconds: number | bigint;
54428
54571
  nanos: number;
54429
54572
  } | undefined;
54573
+ childrenCount?: number | undefined;
54430
54574
  };
54431
54575
  generationInfo: {
54432
54576
  genesis: string;
@@ -54437,16 +54581,20 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54437
54581
  target: string;
54438
54582
  republish?: boolean | undefined;
54439
54583
  } | undefined;
54584
+ firstImageInContent?: string | undefined;
54440
54585
  }>, "many">;
54441
54586
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
54442
54587
  interactionSummaries: z.ZodRecord<z.ZodString, z.ZodObject<{
54443
54588
  comments: z.ZodNumber;
54589
+ children: z.ZodOptional<z.ZodNumber>;
54444
54590
  authorUids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
54445
54591
  }, "strip", z.ZodTypeAny, {
54446
54592
  comments: number;
54447
54593
  authorUids: string[];
54594
+ children?: number | undefined;
54448
54595
  }, {
54449
54596
  comments: number;
54597
+ children?: number | undefined;
54450
54598
  authorUids?: string[] | undefined;
54451
54599
  }>>;
54452
54600
  accountsMetadata: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -54767,6 +54915,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54767
54915
  seconds: number | bigint;
54768
54916
  nanos: number;
54769
54917
  } | undefined;
54918
+ childrenCount?: number | undefined;
54770
54919
  };
54771
54920
  generationInfo: {
54772
54921
  genesis: string;
@@ -54777,11 +54926,13 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54777
54926
  target: string;
54778
54927
  republish?: boolean | undefined;
54779
54928
  } | undefined;
54929
+ firstImageInContent?: string | undefined;
54780
54930
  }[];
54781
54931
  queryTargetName: string;
54782
54932
  interactionSummaries: Record<string, {
54783
54933
  comments: number;
54784
54934
  authorUids: string[];
54935
+ children?: number | undefined;
54785
54936
  }>;
54786
54937
  accountsMetadata: Record<string, {
54787
54938
  id: {
@@ -54922,6 +55073,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54922
55073
  seconds: number | bigint;
54923
55074
  nanos: number;
54924
55075
  } | undefined;
55076
+ childrenCount?: number | undefined;
54925
55077
  };
54926
55078
  generationInfo: {
54927
55079
  genesis: string;
@@ -54932,10 +55084,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
54932
55084
  target: string;
54933
55085
  republish?: boolean | undefined;
54934
55086
  } | undefined;
55087
+ firstImageInContent?: string | undefined;
54935
55088
  }[];
54936
55089
  queryTargetName: string;
54937
55090
  interactionSummaries: Record<string, {
54938
55091
  comments: number;
55092
+ children?: number | undefined;
54939
55093
  authorUids?: string[] | undefined;
54940
55094
  }>;
54941
55095
  accountsMetadata: Record<string, {
@@ -55094,6 +55248,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55094
55248
  seconds: number | bigint;
55095
55249
  nanos: number;
55096
55250
  } | undefined;
55251
+ childrenCount?: number | undefined;
55097
55252
  };
55098
55253
  generationInfo: {
55099
55254
  genesis: string;
@@ -55104,11 +55259,13 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55104
55259
  target: string;
55105
55260
  republish?: boolean | undefined;
55106
55261
  } | undefined;
55262
+ firstImageInContent?: string | undefined;
55107
55263
  }[];
55108
55264
  queryTargetName: string;
55109
55265
  interactionSummaries: Record<string, {
55110
55266
  comments: number;
55111
55267
  authorUids: string[];
55268
+ children?: number | undefined;
55112
55269
  }>;
55113
55270
  accountsMetadata: Record<string, {
55114
55271
  id: {
@@ -55266,6 +55423,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55266
55423
  seconds: number | bigint;
55267
55424
  nanos: number;
55268
55425
  } | undefined;
55426
+ childrenCount?: number | undefined;
55269
55427
  };
55270
55428
  generationInfo: {
55271
55429
  genesis: string;
@@ -55276,10 +55434,12 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
55276
55434
  target: string;
55277
55435
  republish?: boolean | undefined;
55278
55436
  } | undefined;
55437
+ firstImageInContent?: string | undefined;
55279
55438
  }[];
55280
55439
  queryTargetName: string;
55281
55440
  interactionSummaries: Record<string, {
55282
55441
  comments: number;
55442
+ children?: number | undefined;
55283
55443
  authorUids?: string[] | undefined;
55284
55444
  }>;
55285
55445
  accountsMetadata: Record<string, {
package/dist/hm-types.mjs CHANGED
@@ -184,7 +184,7 @@ import {
184
184
  toNumber,
185
185
  unpackHmId,
186
186
  unpackedHmIdSchema
187
- } from "./chunk-DBW6Z7HZ.mjs";
187
+ } from "./chunk-VWCXRMDI.mjs";
188
188
  import "./chunk-7P6ASYW6.mjs";
189
189
  export {
190
190
  BUILTIN_METADATA_KEYS,
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  serializeBlockRange,
17
17
  toNumber,
18
18
  unpackHmId
19
- } from "./chunk-DBW6Z7HZ.mjs";
19
+ } from "./chunk-VWCXRMDI.mjs";
20
20
  import {
21
21
  DEFAULT_PARAMS,
22
22
  decode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",