@seed-hypermedia/client 0.0.46 → 0.0.47

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.
@@ -345,7 +345,8 @@ var HMGenerationInfoSchema = z.object({
345
345
  });
346
346
  var HMRedirectInfoSchema = z.object({
347
347
  type: z.literal("redirect"),
348
- target: z.string()
348
+ target: z.string(),
349
+ republish: z.boolean().optional()
349
350
  });
350
351
  var HMDocumentInfoSchema = z.object({
351
352
  type: z.literal("document"),
@@ -494,7 +495,8 @@ var HMResourceCommentSchema = z.object({
494
495
  var HMResourceRedirectSchema = z.object({
495
496
  type: z.literal("redirect"),
496
497
  id: unpackedHmIdSchema,
497
- redirectTarget: unpackedHmIdSchema
498
+ redirectTarget: unpackedHmIdSchema,
499
+ republish: z.boolean().optional().default(false)
498
500
  });
499
501
  var HMResourceNotFoundSchema = z.object({
500
502
  type: z.literal("not-found"),
@@ -3525,12 +3525,15 @@ export type HMGenerationInfo = z.infer<typeof HMGenerationInfoSchema>;
3525
3525
  export declare const HMRedirectInfoSchema: z.ZodObject<{
3526
3526
  type: z.ZodLiteral<"redirect">;
3527
3527
  target: z.ZodString;
3528
+ republish: z.ZodOptional<z.ZodBoolean>;
3528
3529
  }, "strip", z.ZodTypeAny, {
3529
3530
  type: "redirect";
3530
3531
  target: string;
3532
+ republish?: boolean | undefined;
3531
3533
  }, {
3532
3534
  type: "redirect";
3533
3535
  target: string;
3536
+ republish?: boolean | undefined;
3534
3537
  }>;
3535
3538
  export type HMRedirectInfo = z.infer<typeof HMRedirectInfoSchema>;
3536
3539
  export declare const HMDocumentInfoSchema: z.ZodObject<{
@@ -3692,12 +3695,15 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3692
3695
  redirectInfo: z.ZodOptional<z.ZodObject<{
3693
3696
  type: z.ZodLiteral<"redirect">;
3694
3697
  target: z.ZodString;
3698
+ republish: z.ZodOptional<z.ZodBoolean>;
3695
3699
  }, "strip", z.ZodTypeAny, {
3696
3700
  type: "redirect";
3697
3701
  target: string;
3702
+ republish?: boolean | undefined;
3698
3703
  }, {
3699
3704
  type: "redirect";
3700
3705
  target: string;
3706
+ republish?: boolean | undefined;
3701
3707
  }>>;
3702
3708
  metadata: z.ZodObject<{
3703
3709
  name: z.ZodOptional<z.ZodString>;
@@ -3848,6 +3854,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3848
3854
  redirectInfo?: {
3849
3855
  type: "redirect";
3850
3856
  target: string;
3857
+ republish?: boolean | undefined;
3851
3858
  } | undefined;
3852
3859
  }, {
3853
3860
  path: string[];
@@ -3929,6 +3936,7 @@ export declare const HMDocumentInfoSchema: z.ZodObject<{
3929
3936
  redirectInfo?: {
3930
3937
  type: "redirect";
3931
3938
  target: string;
3939
+ republish?: boolean | undefined;
3932
3940
  } | undefined;
3933
3941
  }>;
3934
3942
  export type HMDocumentInfo = z.infer<typeof HMDocumentInfoSchema>;
@@ -4153,12 +4161,15 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4153
4161
  redirectInfo: z.ZodOptional<z.ZodObject<{
4154
4162
  type: z.ZodLiteral<"redirect">;
4155
4163
  target: z.ZodString;
4164
+ republish: z.ZodOptional<z.ZodBoolean>;
4156
4165
  }, "strip", z.ZodTypeAny, {
4157
4166
  type: "redirect";
4158
4167
  target: string;
4168
+ republish?: boolean | undefined;
4159
4169
  }, {
4160
4170
  type: "redirect";
4161
4171
  target: string;
4172
+ republish?: boolean | undefined;
4162
4173
  }>>;
4163
4174
  metadata: z.ZodObject<{
4164
4175
  name: z.ZodOptional<z.ZodString>;
@@ -4309,6 +4320,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4309
4320
  redirectInfo?: {
4310
4321
  type: "redirect";
4311
4322
  target: string;
4323
+ republish?: boolean | undefined;
4312
4324
  } | undefined;
4313
4325
  }, {
4314
4326
  path: string[];
@@ -4390,6 +4402,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4390
4402
  redirectInfo?: {
4391
4403
  type: "redirect";
4392
4404
  target: string;
4405
+ republish?: boolean | undefined;
4393
4406
  } | undefined;
4394
4407
  }>, "many">;
4395
4408
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -4491,6 +4504,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4491
4504
  redirectInfo?: {
4492
4505
  type: "redirect";
4493
4506
  target: string;
4507
+ republish?: boolean | undefined;
4494
4508
  } | undefined;
4495
4509
  }[];
4496
4510
  mode?: "Children" | "AllDescendants" | undefined;
@@ -4592,6 +4606,7 @@ export declare const HMQueryResultSchema: z.ZodObject<{
4592
4606
  redirectInfo?: {
4593
4607
  type: "redirect";
4594
4608
  target: string;
4609
+ republish?: boolean | undefined;
4595
4610
  } | undefined;
4596
4611
  }[];
4597
4612
  mode?: "Children" | "AllDescendants" | undefined;
@@ -10566,6 +10581,7 @@ export declare const HMResourceRedirectSchema: z.ZodObject<{
10566
10581
  targetDocUid?: string | null | undefined;
10567
10582
  targetDocPath?: string[] | null | undefined;
10568
10583
  }>;
10584
+ republish: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10569
10585
  }, "strip", z.ZodTypeAny, {
10570
10586
  type: "redirect";
10571
10587
  id: {
@@ -10585,6 +10601,7 @@ export declare const HMResourceRedirectSchema: z.ZodObject<{
10585
10601
  targetDocUid?: string | null | undefined;
10586
10602
  targetDocPath?: string[] | null | undefined;
10587
10603
  };
10604
+ republish: boolean;
10588
10605
  redirectTarget: {
10589
10606
  path: string[] | null;
10590
10607
  version: string | null;
@@ -10638,6 +10655,7 @@ export declare const HMResourceRedirectSchema: z.ZodObject<{
10638
10655
  targetDocUid?: string | null | undefined;
10639
10656
  targetDocPath?: string[] | null | undefined;
10640
10657
  };
10658
+ republish?: boolean | undefined;
10641
10659
  }>;
10642
10660
  export type HMResourceRedirect = z.infer<typeof HMResourceRedirectSchema>;
10643
10661
  export declare const HMResourceNotFoundSchema: z.ZodObject<{
@@ -11657,6 +11675,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11657
11675
  targetDocUid?: string | null | undefined;
11658
11676
  targetDocPath?: string[] | null | undefined;
11659
11677
  }>;
11678
+ republish: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11660
11679
  }, "strip", z.ZodTypeAny, {
11661
11680
  type: "redirect";
11662
11681
  id: {
@@ -11676,6 +11695,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11676
11695
  targetDocUid?: string | null | undefined;
11677
11696
  targetDocPath?: string[] | null | undefined;
11678
11697
  };
11698
+ republish: boolean;
11679
11699
  redirectTarget: {
11680
11700
  path: string[] | null;
11681
11701
  version: string | null;
@@ -11729,6 +11749,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
11729
11749
  targetDocUid?: string | null | undefined;
11730
11750
  targetDocPath?: string[] | null | undefined;
11731
11751
  };
11752
+ republish?: boolean | undefined;
11732
11753
  }>, z.ZodObject<{
11733
11754
  type: z.ZodLiteral<"not-found">;
11734
11755
  id: z.ZodObject<{
@@ -15989,6 +16010,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
15989
16010
  targetDocUid?: string | null | undefined;
15990
16011
  targetDocPath?: string[] | null | undefined;
15991
16012
  }>;
16013
+ republish: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15992
16014
  }, "strip", z.ZodTypeAny, {
15993
16015
  type: "redirect";
15994
16016
  id: {
@@ -16008,6 +16030,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16008
16030
  targetDocUid?: string | null | undefined;
16009
16031
  targetDocPath?: string[] | null | undefined;
16010
16032
  };
16033
+ republish: boolean;
16011
16034
  redirectTarget: {
16012
16035
  path: string[] | null;
16013
16036
  version: string | null;
@@ -16061,6 +16084,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16061
16084
  targetDocUid?: string | null | undefined;
16062
16085
  targetDocPath?: string[] | null | undefined;
16063
16086
  };
16087
+ republish?: boolean | undefined;
16064
16088
  }>, z.ZodObject<{
16065
16089
  type: z.ZodLiteral<"not-found">;
16066
16090
  id: z.ZodObject<{
@@ -16499,6 +16523,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16499
16523
  targetDocUid?: string | null | undefined;
16500
16524
  targetDocPath?: string[] | null | undefined;
16501
16525
  };
16526
+ republish: boolean;
16502
16527
  redirectTarget: {
16503
16528
  path: string[] | null;
16504
16529
  version: string | null;
@@ -16735,6 +16760,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
16735
16760
  targetDocUid?: string | null | undefined;
16736
16761
  targetDocPath?: string[] | null | undefined;
16737
16762
  };
16763
+ republish?: boolean | undefined;
16738
16764
  } | {
16739
16765
  type: "not-found";
16740
16766
  id: {
@@ -19004,12 +19030,15 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19004
19030
  redirectInfo: z.ZodOptional<z.ZodObject<{
19005
19031
  type: z.ZodLiteral<"redirect">;
19006
19032
  target: z.ZodString;
19033
+ republish: z.ZodOptional<z.ZodBoolean>;
19007
19034
  }, "strip", z.ZodTypeAny, {
19008
19035
  type: "redirect";
19009
19036
  target: string;
19037
+ republish?: boolean | undefined;
19010
19038
  }, {
19011
19039
  type: "redirect";
19012
19040
  target: string;
19041
+ republish?: boolean | undefined;
19013
19042
  }>>;
19014
19043
  metadata: z.ZodObject<{
19015
19044
  name: z.ZodOptional<z.ZodString>;
@@ -19160,6 +19189,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19160
19189
  redirectInfo?: {
19161
19190
  type: "redirect";
19162
19191
  target: string;
19192
+ republish?: boolean | undefined;
19163
19193
  } | undefined;
19164
19194
  }, {
19165
19195
  path: string[];
@@ -19241,6 +19271,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19241
19271
  redirectInfo?: {
19242
19272
  type: "redirect";
19243
19273
  target: string;
19274
+ republish?: boolean | undefined;
19244
19275
  } | undefined;
19245
19276
  }>, "many">;
19246
19277
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -19342,6 +19373,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19342
19373
  redirectInfo?: {
19343
19374
  type: "redirect";
19344
19375
  target: string;
19376
+ republish?: boolean | undefined;
19345
19377
  } | undefined;
19346
19378
  }[];
19347
19379
  mode?: "Children" | "AllDescendants" | undefined;
@@ -19443,6 +19475,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19443
19475
  redirectInfo?: {
19444
19476
  type: "redirect";
19445
19477
  target: string;
19478
+ republish?: boolean | undefined;
19446
19479
  } | undefined;
19447
19480
  }[];
19448
19481
  mode?: "Children" | "AllDescendants" | undefined;
@@ -19559,6 +19592,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19559
19592
  redirectInfo?: {
19560
19593
  type: "redirect";
19561
19594
  target: string;
19595
+ republish?: boolean | undefined;
19562
19596
  } | undefined;
19563
19597
  }[];
19564
19598
  mode?: "Children" | "AllDescendants" | undefined;
@@ -19675,6 +19709,7 @@ export declare const HMQueryRequestSchema: z.ZodObject<{
19675
19709
  redirectInfo?: {
19676
19710
  type: "redirect";
19677
19711
  target: string;
19712
+ republish?: boolean | undefined;
19678
19713
  } | undefined;
19679
19714
  }[];
19680
19715
  mode?: "Children" | "AllDescendants" | undefined;
@@ -30609,12 +30644,15 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
30609
30644
  redirectInfo: z.ZodOptional<z.ZodObject<{
30610
30645
  type: z.ZodLiteral<"redirect">;
30611
30646
  target: z.ZodString;
30647
+ republish: z.ZodOptional<z.ZodBoolean>;
30612
30648
  }, "strip", z.ZodTypeAny, {
30613
30649
  type: "redirect";
30614
30650
  target: string;
30651
+ republish?: boolean | undefined;
30615
30652
  }, {
30616
30653
  type: "redirect";
30617
30654
  target: string;
30655
+ republish?: boolean | undefined;
30618
30656
  }>>;
30619
30657
  metadata: z.ZodObject<{
30620
30658
  name: z.ZodOptional<z.ZodString>;
@@ -30765,6 +30803,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
30765
30803
  redirectInfo?: {
30766
30804
  type: "redirect";
30767
30805
  target: string;
30806
+ republish?: boolean | undefined;
30768
30807
  } | undefined;
30769
30808
  }, {
30770
30809
  path: string[];
@@ -30846,6 +30885,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
30846
30885
  redirectInfo?: {
30847
30886
  type: "redirect";
30848
30887
  target: string;
30888
+ republish?: boolean | undefined;
30849
30889
  } | undefined;
30850
30890
  }>, "many">;
30851
30891
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -31167,6 +31207,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
31167
31207
  redirectInfo?: {
31168
31208
  type: "redirect";
31169
31209
  target: string;
31210
+ republish?: boolean | undefined;
31170
31211
  } | undefined;
31171
31212
  }[];
31172
31213
  queryTargetName: string;
@@ -31315,6 +31356,7 @@ export declare const HMQueryBlockPayloadSchema: z.ZodObject<{
31315
31356
  redirectInfo?: {
31316
31357
  type: "redirect";
31317
31358
  target: string;
31359
+ republish?: boolean | undefined;
31318
31360
  } | undefined;
31319
31361
  }[];
31320
31362
  queryTargetName: string;
@@ -31663,12 +31705,15 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
31663
31705
  redirectInfo: z.ZodOptional<z.ZodObject<{
31664
31706
  type: z.ZodLiteral<"redirect">;
31665
31707
  target: z.ZodString;
31708
+ republish: z.ZodOptional<z.ZodBoolean>;
31666
31709
  }, "strip", z.ZodTypeAny, {
31667
31710
  type: "redirect";
31668
31711
  target: string;
31712
+ republish?: boolean | undefined;
31669
31713
  }, {
31670
31714
  type: "redirect";
31671
31715
  target: string;
31716
+ republish?: boolean | undefined;
31672
31717
  }>>;
31673
31718
  metadata: z.ZodObject<{
31674
31719
  name: z.ZodOptional<z.ZodString>;
@@ -31819,6 +31864,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
31819
31864
  redirectInfo?: {
31820
31865
  type: "redirect";
31821
31866
  target: string;
31867
+ republish?: boolean | undefined;
31822
31868
  } | undefined;
31823
31869
  }, {
31824
31870
  path: string[];
@@ -31900,6 +31946,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
31900
31946
  redirectInfo?: {
31901
31947
  type: "redirect";
31902
31948
  target: string;
31949
+ republish?: boolean | undefined;
31903
31950
  } | undefined;
31904
31951
  }>, "many">;
31905
31952
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -32221,6 +32268,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
32221
32268
  redirectInfo?: {
32222
32269
  type: "redirect";
32223
32270
  target: string;
32271
+ republish?: boolean | undefined;
32224
32272
  } | undefined;
32225
32273
  }[];
32226
32274
  queryTargetName: string;
@@ -32369,6 +32417,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
32369
32417
  redirectInfo?: {
32370
32418
  type: "redirect";
32371
32419
  target: string;
32420
+ republish?: boolean | undefined;
32372
32421
  } | undefined;
32373
32422
  }[];
32374
32423
  queryTargetName: string;
@@ -32534,6 +32583,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
32534
32583
  redirectInfo?: {
32535
32584
  type: "redirect";
32536
32585
  target: string;
32586
+ republish?: boolean | undefined;
32537
32587
  } | undefined;
32538
32588
  }[];
32539
32589
  queryTargetName: string;
@@ -32699,6 +32749,7 @@ export declare const HMQueryBlockRequestSchema: z.ZodObject<{
32699
32749
  redirectInfo?: {
32700
32750
  type: "redirect";
32701
32751
  target: string;
32752
+ republish?: boolean | undefined;
32702
32753
  } | undefined;
32703
32754
  }[];
32704
32755
  queryTargetName: string;
@@ -35476,6 +35527,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
35476
35527
  targetDocUid?: string | null | undefined;
35477
35528
  targetDocPath?: string[] | null | undefined;
35478
35529
  }>;
35530
+ republish: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
35479
35531
  }, "strip", z.ZodTypeAny, {
35480
35532
  type: "redirect";
35481
35533
  id: {
@@ -35495,6 +35547,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
35495
35547
  targetDocUid?: string | null | undefined;
35496
35548
  targetDocPath?: string[] | null | undefined;
35497
35549
  };
35550
+ republish: boolean;
35498
35551
  redirectTarget: {
35499
35552
  path: string[] | null;
35500
35553
  version: string | null;
@@ -35548,6 +35601,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
35548
35601
  targetDocUid?: string | null | undefined;
35549
35602
  targetDocPath?: string[] | null | undefined;
35550
35603
  };
35604
+ republish?: boolean | undefined;
35551
35605
  }>, z.ZodObject<{
35552
35606
  type: z.ZodLiteral<"not-found">;
35553
35607
  id: z.ZodObject<{
@@ -35986,6 +36040,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
35986
36040
  targetDocUid?: string | null | undefined;
35987
36041
  targetDocPath?: string[] | null | undefined;
35988
36042
  };
36043
+ republish: boolean;
35989
36044
  redirectTarget: {
35990
36045
  path: string[] | null;
35991
36046
  version: string | null;
@@ -36222,6 +36277,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
36222
36277
  targetDocUid?: string | null | undefined;
36223
36278
  targetDocPath?: string[] | null | undefined;
36224
36279
  };
36280
+ republish?: boolean | undefined;
36225
36281
  } | {
36226
36282
  type: "not-found";
36227
36283
  id: {
@@ -37889,12 +37945,15 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
37889
37945
  redirectInfo: z.ZodOptional<z.ZodObject<{
37890
37946
  type: z.ZodLiteral<"redirect">;
37891
37947
  target: z.ZodString;
37948
+ republish: z.ZodOptional<z.ZodBoolean>;
37892
37949
  }, "strip", z.ZodTypeAny, {
37893
37950
  type: "redirect";
37894
37951
  target: string;
37952
+ republish?: boolean | undefined;
37895
37953
  }, {
37896
37954
  type: "redirect";
37897
37955
  target: string;
37956
+ republish?: boolean | undefined;
37898
37957
  }>>;
37899
37958
  metadata: z.ZodObject<{
37900
37959
  name: z.ZodOptional<z.ZodString>;
@@ -38045,6 +38104,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38045
38104
  redirectInfo?: {
38046
38105
  type: "redirect";
38047
38106
  target: string;
38107
+ republish?: boolean | undefined;
38048
38108
  } | undefined;
38049
38109
  }, {
38050
38110
  path: string[];
@@ -38126,6 +38186,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38126
38186
  redirectInfo?: {
38127
38187
  type: "redirect";
38128
38188
  target: string;
38189
+ republish?: boolean | undefined;
38129
38190
  } | undefined;
38130
38191
  }>, "many">;
38131
38192
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -38227,6 +38288,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38227
38288
  redirectInfo?: {
38228
38289
  type: "redirect";
38229
38290
  target: string;
38291
+ republish?: boolean | undefined;
38230
38292
  } | undefined;
38231
38293
  }[];
38232
38294
  mode?: "Children" | "AllDescendants" | undefined;
@@ -38328,6 +38390,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38328
38390
  redirectInfo?: {
38329
38391
  type: "redirect";
38330
38392
  target: string;
38393
+ republish?: boolean | undefined;
38331
38394
  } | undefined;
38332
38395
  }[];
38333
38396
  mode?: "Children" | "AllDescendants" | undefined;
@@ -38444,6 +38507,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38444
38507
  redirectInfo?: {
38445
38508
  type: "redirect";
38446
38509
  target: string;
38510
+ republish?: boolean | undefined;
38447
38511
  } | undefined;
38448
38512
  }[];
38449
38513
  mode?: "Children" | "AllDescendants" | undefined;
@@ -38560,6 +38624,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38560
38624
  redirectInfo?: {
38561
38625
  type: "redirect";
38562
38626
  target: string;
38627
+ republish?: boolean | undefined;
38563
38628
  } | undefined;
38564
38629
  }[];
38565
38630
  mode?: "Children" | "AllDescendants" | undefined;
@@ -38860,12 +38925,15 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
38860
38925
  redirectInfo: z.ZodOptional<z.ZodObject<{
38861
38926
  type: z.ZodLiteral<"redirect">;
38862
38927
  target: z.ZodString;
38928
+ republish: z.ZodOptional<z.ZodBoolean>;
38863
38929
  }, "strip", z.ZodTypeAny, {
38864
38930
  type: "redirect";
38865
38931
  target: string;
38932
+ republish?: boolean | undefined;
38866
38933
  }, {
38867
38934
  type: "redirect";
38868
38935
  target: string;
38936
+ republish?: boolean | undefined;
38869
38937
  }>>;
38870
38938
  metadata: z.ZodObject<{
38871
38939
  name: z.ZodOptional<z.ZodString>;
@@ -39016,6 +39084,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39016
39084
  redirectInfo?: {
39017
39085
  type: "redirect";
39018
39086
  target: string;
39087
+ republish?: boolean | undefined;
39019
39088
  } | undefined;
39020
39089
  }, {
39021
39090
  path: string[];
@@ -39097,6 +39166,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39097
39166
  redirectInfo?: {
39098
39167
  type: "redirect";
39099
39168
  target: string;
39169
+ republish?: boolean | undefined;
39100
39170
  } | undefined;
39101
39171
  }>, "many">;
39102
39172
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -39418,6 +39488,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39418
39488
  redirectInfo?: {
39419
39489
  type: "redirect";
39420
39490
  target: string;
39491
+ republish?: boolean | undefined;
39421
39492
  } | undefined;
39422
39493
  }[];
39423
39494
  queryTargetName: string;
@@ -39566,6 +39637,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39566
39637
  redirectInfo?: {
39567
39638
  type: "redirect";
39568
39639
  target: string;
39640
+ republish?: boolean | undefined;
39569
39641
  } | undefined;
39570
39642
  }[];
39571
39643
  queryTargetName: string;
@@ -39731,6 +39803,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39731
39803
  redirectInfo?: {
39732
39804
  type: "redirect";
39733
39805
  target: string;
39806
+ republish?: boolean | undefined;
39734
39807
  } | undefined;
39735
39808
  }[];
39736
39809
  queryTargetName: string;
@@ -39896,6 +39969,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
39896
39969
  redirectInfo?: {
39897
39970
  type: "redirect";
39898
39971
  target: string;
39972
+ republish?: boolean | undefined;
39899
39973
  } | undefined;
39900
39974
  }[];
39901
39975
  queryTargetName: string;
@@ -48347,6 +48421,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
48347
48421
  targetDocUid?: string | null | undefined;
48348
48422
  targetDocPath?: string[] | null | undefined;
48349
48423
  }>;
48424
+ republish: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
48350
48425
  }, "strip", z.ZodTypeAny, {
48351
48426
  type: "redirect";
48352
48427
  id: {
@@ -48366,6 +48441,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
48366
48441
  targetDocUid?: string | null | undefined;
48367
48442
  targetDocPath?: string[] | null | undefined;
48368
48443
  };
48444
+ republish: boolean;
48369
48445
  redirectTarget: {
48370
48446
  path: string[] | null;
48371
48447
  version: string | null;
@@ -48419,6 +48495,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
48419
48495
  targetDocUid?: string | null | undefined;
48420
48496
  targetDocPath?: string[] | null | undefined;
48421
48497
  };
48498
+ republish?: boolean | undefined;
48422
48499
  }>, z.ZodObject<{
48423
48500
  type: z.ZodLiteral<"not-found">;
48424
48501
  id: z.ZodObject<{
@@ -48857,6 +48934,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
48857
48934
  targetDocUid?: string | null | undefined;
48858
48935
  targetDocPath?: string[] | null | undefined;
48859
48936
  };
48937
+ republish: boolean;
48860
48938
  redirectTarget: {
48861
48939
  path: string[] | null;
48862
48940
  version: string | null;
@@ -49093,6 +49171,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
49093
49171
  targetDocUid?: string | null | undefined;
49094
49172
  targetDocPath?: string[] | null | undefined;
49095
49173
  };
49174
+ republish?: boolean | undefined;
49096
49175
  } | {
49097
49176
  type: "not-found";
49098
49177
  id: {
@@ -50760,12 +50839,15 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50760
50839
  redirectInfo: z.ZodOptional<z.ZodObject<{
50761
50840
  type: z.ZodLiteral<"redirect">;
50762
50841
  target: z.ZodString;
50842
+ republish: z.ZodOptional<z.ZodBoolean>;
50763
50843
  }, "strip", z.ZodTypeAny, {
50764
50844
  type: "redirect";
50765
50845
  target: string;
50846
+ republish?: boolean | undefined;
50766
50847
  }, {
50767
50848
  type: "redirect";
50768
50849
  target: string;
50850
+ republish?: boolean | undefined;
50769
50851
  }>>;
50770
50852
  metadata: z.ZodObject<{
50771
50853
  name: z.ZodOptional<z.ZodString>;
@@ -50916,6 +50998,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50916
50998
  redirectInfo?: {
50917
50999
  type: "redirect";
50918
51000
  target: string;
51001
+ republish?: boolean | undefined;
50919
51002
  } | undefined;
50920
51003
  }, {
50921
51004
  path: string[];
@@ -50997,6 +51080,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
50997
51080
  redirectInfo?: {
50998
51081
  type: "redirect";
50999
51082
  target: string;
51083
+ republish?: boolean | undefined;
51000
51084
  } | undefined;
51001
51085
  }>, "many">;
51002
51086
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -51098,6 +51182,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51098
51182
  redirectInfo?: {
51099
51183
  type: "redirect";
51100
51184
  target: string;
51185
+ republish?: boolean | undefined;
51101
51186
  } | undefined;
51102
51187
  }[];
51103
51188
  mode?: "Children" | "AllDescendants" | undefined;
@@ -51199,6 +51284,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51199
51284
  redirectInfo?: {
51200
51285
  type: "redirect";
51201
51286
  target: string;
51287
+ republish?: boolean | undefined;
51202
51288
  } | undefined;
51203
51289
  }[];
51204
51290
  mode?: "Children" | "AllDescendants" | undefined;
@@ -51315,6 +51401,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51315
51401
  redirectInfo?: {
51316
51402
  type: "redirect";
51317
51403
  target: string;
51404
+ republish?: boolean | undefined;
51318
51405
  } | undefined;
51319
51406
  }[];
51320
51407
  mode?: "Children" | "AllDescendants" | undefined;
@@ -51431,6 +51518,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51431
51518
  redirectInfo?: {
51432
51519
  type: "redirect";
51433
51520
  target: string;
51521
+ republish?: boolean | undefined;
51434
51522
  } | undefined;
51435
51523
  }[];
51436
51524
  mode?: "Children" | "AllDescendants" | undefined;
@@ -51731,12 +51819,15 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51731
51819
  redirectInfo: z.ZodOptional<z.ZodObject<{
51732
51820
  type: z.ZodLiteral<"redirect">;
51733
51821
  target: z.ZodString;
51822
+ republish: z.ZodOptional<z.ZodBoolean>;
51734
51823
  }, "strip", z.ZodTypeAny, {
51735
51824
  type: "redirect";
51736
51825
  target: string;
51826
+ republish?: boolean | undefined;
51737
51827
  }, {
51738
51828
  type: "redirect";
51739
51829
  target: string;
51830
+ republish?: boolean | undefined;
51740
51831
  }>>;
51741
51832
  metadata: z.ZodObject<{
51742
51833
  name: z.ZodOptional<z.ZodString>;
@@ -51887,6 +51978,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51887
51978
  redirectInfo?: {
51888
51979
  type: "redirect";
51889
51980
  target: string;
51981
+ republish?: boolean | undefined;
51890
51982
  } | undefined;
51891
51983
  }, {
51892
51984
  path: string[];
@@ -51968,6 +52060,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
51968
52060
  redirectInfo?: {
51969
52061
  type: "redirect";
51970
52062
  target: string;
52063
+ republish?: boolean | undefined;
51971
52064
  } | undefined;
51972
52065
  }>, "many">;
51973
52066
  mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>>;
@@ -52289,6 +52382,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
52289
52382
  redirectInfo?: {
52290
52383
  type: "redirect";
52291
52384
  target: string;
52385
+ republish?: boolean | undefined;
52292
52386
  } | undefined;
52293
52387
  }[];
52294
52388
  queryTargetName: string;
@@ -52437,6 +52531,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
52437
52531
  redirectInfo?: {
52438
52532
  type: "redirect";
52439
52533
  target: string;
52534
+ republish?: boolean | undefined;
52440
52535
  } | undefined;
52441
52536
  }[];
52442
52537
  queryTargetName: string;
@@ -52602,6 +52697,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
52602
52697
  redirectInfo?: {
52603
52698
  type: "redirect";
52604
52699
  target: string;
52700
+ republish?: boolean | undefined;
52605
52701
  } | undefined;
52606
52702
  }[];
52607
52703
  queryTargetName: string;
@@ -52767,6 +52863,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
52767
52863
  redirectInfo?: {
52768
52864
  type: "redirect";
52769
52865
  target: string;
52866
+ republish?: boolean | undefined;
52770
52867
  } | undefined;
52771
52868
  }[];
52772
52869
  queryTargetName: string;
package/dist/hm-types.mjs CHANGED
@@ -177,7 +177,7 @@ import {
177
177
  toNumber,
178
178
  unpackHmId,
179
179
  unpackedHmIdSchema
180
- } from "./chunk-SYBWJKDJ.mjs";
180
+ } from "./chunk-KJWDRBIN.mjs";
181
181
  export {
182
182
  BackgroundColorAnnotationSchema,
183
183
  BlockRangeSchema,
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  serializeBlockRange,
18
18
  toNumber,
19
19
  unpackHmId
20
- } from "./chunk-SYBWJKDJ.mjs";
20
+ } from "./chunk-KJWDRBIN.mjs";
21
21
 
22
22
  // src/capability.ts
23
23
  import { encode as cborEncode2 } from "@ipld/dag-cbor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",