@seed-hypermedia/client 0.0.58 → 0.0.59

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.
@@ -882,10 +882,20 @@ var HMListCommentsByAuthorRequestSchema = z.object({
882
882
  var HMRawCitationSchema = z.object({
883
883
  source: z.string(),
884
884
  sourceType: z.string().optional(),
885
+ sourceContext: z.string().optional(),
886
+ sourceBlob: z.object({
887
+ cid: z.string().optional(),
888
+ author: z.string().optional(),
889
+ createTime: HMTimestampSchema.optional()
890
+ }).optional(),
885
891
  sourceDocument: z.string().optional(),
892
+ target: z.string().optional(),
893
+ targetVersion: z.string().optional(),
886
894
  targetFragment: z.string().optional(),
887
895
  isExactVersion: z.boolean().optional(),
888
- targetBlockRevision: z.string().optional()
896
+ targetBlockRevision: z.string().optional(),
897
+ mentionType: z.string().optional(),
898
+ isExact: z.boolean().optional()
889
899
  });
890
900
  var HMListCitationsOutputSchema = z.object({
891
901
  citations: z.array(HMRawCitationSchema)
@@ -27719,66 +27719,210 @@ export type HMListCommentsByAuthorRequest = z.infer<typeof HMListCommentsByAutho
27719
27719
  export declare const HMRawCitationSchema: z.ZodObject<{
27720
27720
  source: z.ZodString;
27721
27721
  sourceType: z.ZodOptional<z.ZodString>;
27722
+ sourceContext: z.ZodOptional<z.ZodString>;
27723
+ sourceBlob: z.ZodOptional<z.ZodObject<{
27724
+ cid: z.ZodOptional<z.ZodString>;
27725
+ author: z.ZodOptional<z.ZodString>;
27726
+ createTime: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
27727
+ seconds: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
27728
+ nanos: z.ZodNumber;
27729
+ }, "strict", z.ZodTypeAny, {
27730
+ seconds: number | bigint;
27731
+ nanos: number;
27732
+ }, {
27733
+ seconds: number | bigint;
27734
+ nanos: number;
27735
+ }>, z.ZodString]>>;
27736
+ }, "strip", z.ZodTypeAny, {
27737
+ author?: string | undefined;
27738
+ createTime?: string | {
27739
+ seconds: number | bigint;
27740
+ nanos: number;
27741
+ } | undefined;
27742
+ cid?: string | undefined;
27743
+ }, {
27744
+ author?: string | undefined;
27745
+ createTime?: string | {
27746
+ seconds: number | bigint;
27747
+ nanos: number;
27748
+ } | undefined;
27749
+ cid?: string | undefined;
27750
+ }>>;
27722
27751
  sourceDocument: z.ZodOptional<z.ZodString>;
27752
+ target: z.ZodOptional<z.ZodString>;
27753
+ targetVersion: z.ZodOptional<z.ZodString>;
27723
27754
  targetFragment: z.ZodOptional<z.ZodString>;
27724
27755
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
27725
27756
  targetBlockRevision: z.ZodOptional<z.ZodString>;
27757
+ mentionType: z.ZodOptional<z.ZodString>;
27758
+ isExact: z.ZodOptional<z.ZodBoolean>;
27726
27759
  }, "strip", z.ZodTypeAny, {
27727
27760
  source: string;
27728
27761
  sourceType?: string | undefined;
27762
+ targetVersion?: string | undefined;
27763
+ target?: string | undefined;
27729
27764
  isExactVersion?: boolean | undefined;
27730
27765
  targetFragment?: string | undefined;
27766
+ sourceContext?: string | undefined;
27767
+ sourceBlob?: {
27768
+ author?: string | undefined;
27769
+ createTime?: string | {
27770
+ seconds: number | bigint;
27771
+ nanos: number;
27772
+ } | undefined;
27773
+ cid?: string | undefined;
27774
+ } | undefined;
27731
27775
  sourceDocument?: string | undefined;
27732
27776
  targetBlockRevision?: string | undefined;
27777
+ mentionType?: string | undefined;
27778
+ isExact?: boolean | undefined;
27733
27779
  }, {
27734
27780
  source: string;
27735
27781
  sourceType?: string | undefined;
27782
+ targetVersion?: string | undefined;
27783
+ target?: string | undefined;
27736
27784
  isExactVersion?: boolean | undefined;
27737
27785
  targetFragment?: string | undefined;
27786
+ sourceContext?: string | undefined;
27787
+ sourceBlob?: {
27788
+ author?: string | undefined;
27789
+ createTime?: string | {
27790
+ seconds: number | bigint;
27791
+ nanos: number;
27792
+ } | undefined;
27793
+ cid?: string | undefined;
27794
+ } | undefined;
27738
27795
  sourceDocument?: string | undefined;
27739
27796
  targetBlockRevision?: string | undefined;
27797
+ mentionType?: string | undefined;
27798
+ isExact?: boolean | undefined;
27740
27799
  }>;
27741
27800
  export type HMRawCitation = z.infer<typeof HMRawCitationSchema>;
27742
27801
  export declare const HMListCitationsOutputSchema: z.ZodObject<{
27743
27802
  citations: z.ZodArray<z.ZodObject<{
27744
27803
  source: z.ZodString;
27745
27804
  sourceType: z.ZodOptional<z.ZodString>;
27805
+ sourceContext: z.ZodOptional<z.ZodString>;
27806
+ sourceBlob: z.ZodOptional<z.ZodObject<{
27807
+ cid: z.ZodOptional<z.ZodString>;
27808
+ author: z.ZodOptional<z.ZodString>;
27809
+ createTime: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
27810
+ seconds: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
27811
+ nanos: z.ZodNumber;
27812
+ }, "strict", z.ZodTypeAny, {
27813
+ seconds: number | bigint;
27814
+ nanos: number;
27815
+ }, {
27816
+ seconds: number | bigint;
27817
+ nanos: number;
27818
+ }>, z.ZodString]>>;
27819
+ }, "strip", z.ZodTypeAny, {
27820
+ author?: string | undefined;
27821
+ createTime?: string | {
27822
+ seconds: number | bigint;
27823
+ nanos: number;
27824
+ } | undefined;
27825
+ cid?: string | undefined;
27826
+ }, {
27827
+ author?: string | undefined;
27828
+ createTime?: string | {
27829
+ seconds: number | bigint;
27830
+ nanos: number;
27831
+ } | undefined;
27832
+ cid?: string | undefined;
27833
+ }>>;
27746
27834
  sourceDocument: z.ZodOptional<z.ZodString>;
27835
+ target: z.ZodOptional<z.ZodString>;
27836
+ targetVersion: z.ZodOptional<z.ZodString>;
27747
27837
  targetFragment: z.ZodOptional<z.ZodString>;
27748
27838
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
27749
27839
  targetBlockRevision: z.ZodOptional<z.ZodString>;
27840
+ mentionType: z.ZodOptional<z.ZodString>;
27841
+ isExact: z.ZodOptional<z.ZodBoolean>;
27750
27842
  }, "strip", z.ZodTypeAny, {
27751
27843
  source: string;
27752
27844
  sourceType?: string | undefined;
27845
+ targetVersion?: string | undefined;
27846
+ target?: string | undefined;
27753
27847
  isExactVersion?: boolean | undefined;
27754
27848
  targetFragment?: string | undefined;
27849
+ sourceContext?: string | undefined;
27850
+ sourceBlob?: {
27851
+ author?: string | undefined;
27852
+ createTime?: string | {
27853
+ seconds: number | bigint;
27854
+ nanos: number;
27855
+ } | undefined;
27856
+ cid?: string | undefined;
27857
+ } | undefined;
27755
27858
  sourceDocument?: string | undefined;
27756
27859
  targetBlockRevision?: string | undefined;
27860
+ mentionType?: string | undefined;
27861
+ isExact?: boolean | undefined;
27757
27862
  }, {
27758
27863
  source: string;
27759
27864
  sourceType?: string | undefined;
27865
+ targetVersion?: string | undefined;
27866
+ target?: string | undefined;
27760
27867
  isExactVersion?: boolean | undefined;
27761
27868
  targetFragment?: string | undefined;
27869
+ sourceContext?: string | undefined;
27870
+ sourceBlob?: {
27871
+ author?: string | undefined;
27872
+ createTime?: string | {
27873
+ seconds: number | bigint;
27874
+ nanos: number;
27875
+ } | undefined;
27876
+ cid?: string | undefined;
27877
+ } | undefined;
27762
27878
  sourceDocument?: string | undefined;
27763
27879
  targetBlockRevision?: string | undefined;
27880
+ mentionType?: string | undefined;
27881
+ isExact?: boolean | undefined;
27764
27882
  }>, "many">;
27765
27883
  }, "strip", z.ZodTypeAny, {
27766
27884
  citations: {
27767
27885
  source: string;
27768
27886
  sourceType?: string | undefined;
27887
+ targetVersion?: string | undefined;
27888
+ target?: string | undefined;
27769
27889
  isExactVersion?: boolean | undefined;
27770
27890
  targetFragment?: string | undefined;
27891
+ sourceContext?: string | undefined;
27892
+ sourceBlob?: {
27893
+ author?: string | undefined;
27894
+ createTime?: string | {
27895
+ seconds: number | bigint;
27896
+ nanos: number;
27897
+ } | undefined;
27898
+ cid?: string | undefined;
27899
+ } | undefined;
27771
27900
  sourceDocument?: string | undefined;
27772
27901
  targetBlockRevision?: string | undefined;
27902
+ mentionType?: string | undefined;
27903
+ isExact?: boolean | undefined;
27773
27904
  }[];
27774
27905
  }, {
27775
27906
  citations: {
27776
27907
  source: string;
27777
27908
  sourceType?: string | undefined;
27909
+ targetVersion?: string | undefined;
27910
+ target?: string | undefined;
27778
27911
  isExactVersion?: boolean | undefined;
27779
27912
  targetFragment?: string | undefined;
27913
+ sourceContext?: string | undefined;
27914
+ sourceBlob?: {
27915
+ author?: string | undefined;
27916
+ createTime?: string | {
27917
+ seconds: number | bigint;
27918
+ nanos: number;
27919
+ } | undefined;
27920
+ cid?: string | undefined;
27921
+ } | undefined;
27780
27922
  sourceDocument?: string | undefined;
27781
27923
  targetBlockRevision?: string | undefined;
27924
+ mentionType?: string | undefined;
27925
+ isExact?: boolean | undefined;
27782
27926
  }[];
27783
27927
  }>;
27784
27928
  export type HMListCitationsOutput = z.infer<typeof HMListCitationsOutputSchema>;
@@ -27979,42 +28123,127 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
27979
28123
  citations: z.ZodArray<z.ZodObject<{
27980
28124
  source: z.ZodString;
27981
28125
  sourceType: z.ZodOptional<z.ZodString>;
28126
+ sourceContext: z.ZodOptional<z.ZodString>;
28127
+ sourceBlob: z.ZodOptional<z.ZodObject<{
28128
+ cid: z.ZodOptional<z.ZodString>;
28129
+ author: z.ZodOptional<z.ZodString>;
28130
+ createTime: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
28131
+ seconds: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
28132
+ nanos: z.ZodNumber;
28133
+ }, "strict", z.ZodTypeAny, {
28134
+ seconds: number | bigint;
28135
+ nanos: number;
28136
+ }, {
28137
+ seconds: number | bigint;
28138
+ nanos: number;
28139
+ }>, z.ZodString]>>;
28140
+ }, "strip", z.ZodTypeAny, {
28141
+ author?: string | undefined;
28142
+ createTime?: string | {
28143
+ seconds: number | bigint;
28144
+ nanos: number;
28145
+ } | undefined;
28146
+ cid?: string | undefined;
28147
+ }, {
28148
+ author?: string | undefined;
28149
+ createTime?: string | {
28150
+ seconds: number | bigint;
28151
+ nanos: number;
28152
+ } | undefined;
28153
+ cid?: string | undefined;
28154
+ }>>;
27982
28155
  sourceDocument: z.ZodOptional<z.ZodString>;
28156
+ target: z.ZodOptional<z.ZodString>;
28157
+ targetVersion: z.ZodOptional<z.ZodString>;
27983
28158
  targetFragment: z.ZodOptional<z.ZodString>;
27984
28159
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
27985
28160
  targetBlockRevision: z.ZodOptional<z.ZodString>;
28161
+ mentionType: z.ZodOptional<z.ZodString>;
28162
+ isExact: z.ZodOptional<z.ZodBoolean>;
27986
28163
  }, "strip", z.ZodTypeAny, {
27987
28164
  source: string;
27988
28165
  sourceType?: string | undefined;
28166
+ targetVersion?: string | undefined;
28167
+ target?: string | undefined;
27989
28168
  isExactVersion?: boolean | undefined;
27990
28169
  targetFragment?: string | undefined;
28170
+ sourceContext?: string | undefined;
28171
+ sourceBlob?: {
28172
+ author?: string | undefined;
28173
+ createTime?: string | {
28174
+ seconds: number | bigint;
28175
+ nanos: number;
28176
+ } | undefined;
28177
+ cid?: string | undefined;
28178
+ } | undefined;
27991
28179
  sourceDocument?: string | undefined;
27992
28180
  targetBlockRevision?: string | undefined;
28181
+ mentionType?: string | undefined;
28182
+ isExact?: boolean | undefined;
27993
28183
  }, {
27994
28184
  source: string;
27995
28185
  sourceType?: string | undefined;
28186
+ targetVersion?: string | undefined;
28187
+ target?: string | undefined;
27996
28188
  isExactVersion?: boolean | undefined;
27997
28189
  targetFragment?: string | undefined;
28190
+ sourceContext?: string | undefined;
28191
+ sourceBlob?: {
28192
+ author?: string | undefined;
28193
+ createTime?: string | {
28194
+ seconds: number | bigint;
28195
+ nanos: number;
28196
+ } | undefined;
28197
+ cid?: string | undefined;
28198
+ } | undefined;
27998
28199
  sourceDocument?: string | undefined;
27999
28200
  targetBlockRevision?: string | undefined;
28201
+ mentionType?: string | undefined;
28202
+ isExact?: boolean | undefined;
28000
28203
  }>, "many">;
28001
28204
  }, "strip", z.ZodTypeAny, {
28002
28205
  citations: {
28003
28206
  source: string;
28004
28207
  sourceType?: string | undefined;
28208
+ targetVersion?: string | undefined;
28209
+ target?: string | undefined;
28005
28210
  isExactVersion?: boolean | undefined;
28006
28211
  targetFragment?: string | undefined;
28212
+ sourceContext?: string | undefined;
28213
+ sourceBlob?: {
28214
+ author?: string | undefined;
28215
+ createTime?: string | {
28216
+ seconds: number | bigint;
28217
+ nanos: number;
28218
+ } | undefined;
28219
+ cid?: string | undefined;
28220
+ } | undefined;
28007
28221
  sourceDocument?: string | undefined;
28008
28222
  targetBlockRevision?: string | undefined;
28223
+ mentionType?: string | undefined;
28224
+ isExact?: boolean | undefined;
28009
28225
  }[];
28010
28226
  }, {
28011
28227
  citations: {
28012
28228
  source: string;
28013
28229
  sourceType?: string | undefined;
28230
+ targetVersion?: string | undefined;
28231
+ target?: string | undefined;
28014
28232
  isExactVersion?: boolean | undefined;
28015
28233
  targetFragment?: string | undefined;
28234
+ sourceContext?: string | undefined;
28235
+ sourceBlob?: {
28236
+ author?: string | undefined;
28237
+ createTime?: string | {
28238
+ seconds: number | bigint;
28239
+ nanos: number;
28240
+ } | undefined;
28241
+ cid?: string | undefined;
28242
+ } | undefined;
28016
28243
  sourceDocument?: string | undefined;
28017
28244
  targetBlockRevision?: string | undefined;
28245
+ mentionType?: string | undefined;
28246
+ isExact?: boolean | undefined;
28018
28247
  }[];
28019
28248
  }>;
28020
28249
  }, "strip", z.ZodTypeAny, {
@@ -28042,10 +28271,23 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
28042
28271
  citations: {
28043
28272
  source: string;
28044
28273
  sourceType?: string | undefined;
28274
+ targetVersion?: string | undefined;
28275
+ target?: string | undefined;
28045
28276
  isExactVersion?: boolean | undefined;
28046
28277
  targetFragment?: string | undefined;
28278
+ sourceContext?: string | undefined;
28279
+ sourceBlob?: {
28280
+ author?: string | undefined;
28281
+ createTime?: string | {
28282
+ seconds: number | bigint;
28283
+ nanos: number;
28284
+ } | undefined;
28285
+ cid?: string | undefined;
28286
+ } | undefined;
28047
28287
  sourceDocument?: string | undefined;
28048
28288
  targetBlockRevision?: string | undefined;
28289
+ mentionType?: string | undefined;
28290
+ isExact?: boolean | undefined;
28049
28291
  }[];
28050
28292
  };
28051
28293
  }, {
@@ -28073,10 +28315,23 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
28073
28315
  citations: {
28074
28316
  source: string;
28075
28317
  sourceType?: string | undefined;
28318
+ targetVersion?: string | undefined;
28319
+ target?: string | undefined;
28076
28320
  isExactVersion?: boolean | undefined;
28077
28321
  targetFragment?: string | undefined;
28322
+ sourceContext?: string | undefined;
28323
+ sourceBlob?: {
28324
+ author?: string | undefined;
28325
+ createTime?: string | {
28326
+ seconds: number | bigint;
28327
+ nanos: number;
28328
+ } | undefined;
28329
+ cid?: string | undefined;
28330
+ } | undefined;
28078
28331
  sourceDocument?: string | undefined;
28079
28332
  targetBlockRevision?: string | undefined;
28333
+ mentionType?: string | undefined;
28334
+ isExact?: boolean | undefined;
28080
28335
  }[];
28081
28336
  };
28082
28337
  }>;
@@ -46238,42 +46493,127 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46238
46493
  citations: z.ZodArray<z.ZodObject<{
46239
46494
  source: z.ZodString;
46240
46495
  sourceType: z.ZodOptional<z.ZodString>;
46496
+ sourceContext: z.ZodOptional<z.ZodString>;
46497
+ sourceBlob: z.ZodOptional<z.ZodObject<{
46498
+ cid: z.ZodOptional<z.ZodString>;
46499
+ author: z.ZodOptional<z.ZodString>;
46500
+ createTime: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
46501
+ seconds: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
46502
+ nanos: z.ZodNumber;
46503
+ }, "strict", z.ZodTypeAny, {
46504
+ seconds: number | bigint;
46505
+ nanos: number;
46506
+ }, {
46507
+ seconds: number | bigint;
46508
+ nanos: number;
46509
+ }>, z.ZodString]>>;
46510
+ }, "strip", z.ZodTypeAny, {
46511
+ author?: string | undefined;
46512
+ createTime?: string | {
46513
+ seconds: number | bigint;
46514
+ nanos: number;
46515
+ } | undefined;
46516
+ cid?: string | undefined;
46517
+ }, {
46518
+ author?: string | undefined;
46519
+ createTime?: string | {
46520
+ seconds: number | bigint;
46521
+ nanos: number;
46522
+ } | undefined;
46523
+ cid?: string | undefined;
46524
+ }>>;
46241
46525
  sourceDocument: z.ZodOptional<z.ZodString>;
46526
+ target: z.ZodOptional<z.ZodString>;
46527
+ targetVersion: z.ZodOptional<z.ZodString>;
46242
46528
  targetFragment: z.ZodOptional<z.ZodString>;
46243
46529
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
46244
46530
  targetBlockRevision: z.ZodOptional<z.ZodString>;
46531
+ mentionType: z.ZodOptional<z.ZodString>;
46532
+ isExact: z.ZodOptional<z.ZodBoolean>;
46245
46533
  }, "strip", z.ZodTypeAny, {
46246
46534
  source: string;
46247
46535
  sourceType?: string | undefined;
46536
+ targetVersion?: string | undefined;
46537
+ target?: string | undefined;
46248
46538
  isExactVersion?: boolean | undefined;
46249
46539
  targetFragment?: string | undefined;
46540
+ sourceContext?: string | undefined;
46541
+ sourceBlob?: {
46542
+ author?: string | undefined;
46543
+ createTime?: string | {
46544
+ seconds: number | bigint;
46545
+ nanos: number;
46546
+ } | undefined;
46547
+ cid?: string | undefined;
46548
+ } | undefined;
46250
46549
  sourceDocument?: string | undefined;
46251
46550
  targetBlockRevision?: string | undefined;
46551
+ mentionType?: string | undefined;
46552
+ isExact?: boolean | undefined;
46252
46553
  }, {
46253
46554
  source: string;
46254
46555
  sourceType?: string | undefined;
46556
+ targetVersion?: string | undefined;
46557
+ target?: string | undefined;
46255
46558
  isExactVersion?: boolean | undefined;
46256
46559
  targetFragment?: string | undefined;
46560
+ sourceContext?: string | undefined;
46561
+ sourceBlob?: {
46562
+ author?: string | undefined;
46563
+ createTime?: string | {
46564
+ seconds: number | bigint;
46565
+ nanos: number;
46566
+ } | undefined;
46567
+ cid?: string | undefined;
46568
+ } | undefined;
46257
46569
  sourceDocument?: string | undefined;
46258
46570
  targetBlockRevision?: string | undefined;
46571
+ mentionType?: string | undefined;
46572
+ isExact?: boolean | undefined;
46259
46573
  }>, "many">;
46260
46574
  }, "strip", z.ZodTypeAny, {
46261
46575
  citations: {
46262
46576
  source: string;
46263
46577
  sourceType?: string | undefined;
46578
+ targetVersion?: string | undefined;
46579
+ target?: string | undefined;
46264
46580
  isExactVersion?: boolean | undefined;
46265
46581
  targetFragment?: string | undefined;
46582
+ sourceContext?: string | undefined;
46583
+ sourceBlob?: {
46584
+ author?: string | undefined;
46585
+ createTime?: string | {
46586
+ seconds: number | bigint;
46587
+ nanos: number;
46588
+ } | undefined;
46589
+ cid?: string | undefined;
46590
+ } | undefined;
46266
46591
  sourceDocument?: string | undefined;
46267
46592
  targetBlockRevision?: string | undefined;
46593
+ mentionType?: string | undefined;
46594
+ isExact?: boolean | undefined;
46268
46595
  }[];
46269
46596
  }, {
46270
46597
  citations: {
46271
46598
  source: string;
46272
46599
  sourceType?: string | undefined;
46600
+ targetVersion?: string | undefined;
46601
+ target?: string | undefined;
46273
46602
  isExactVersion?: boolean | undefined;
46274
46603
  targetFragment?: string | undefined;
46604
+ sourceContext?: string | undefined;
46605
+ sourceBlob?: {
46606
+ author?: string | undefined;
46607
+ createTime?: string | {
46608
+ seconds: number | bigint;
46609
+ nanos: number;
46610
+ } | undefined;
46611
+ cid?: string | undefined;
46612
+ } | undefined;
46275
46613
  sourceDocument?: string | undefined;
46276
46614
  targetBlockRevision?: string | undefined;
46615
+ mentionType?: string | undefined;
46616
+ isExact?: boolean | undefined;
46277
46617
  }[];
46278
46618
  }>;
46279
46619
  }, "strip", z.ZodTypeAny, {
@@ -46301,10 +46641,23 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46301
46641
  citations: {
46302
46642
  source: string;
46303
46643
  sourceType?: string | undefined;
46644
+ targetVersion?: string | undefined;
46645
+ target?: string | undefined;
46304
46646
  isExactVersion?: boolean | undefined;
46305
46647
  targetFragment?: string | undefined;
46648
+ sourceContext?: string | undefined;
46649
+ sourceBlob?: {
46650
+ author?: string | undefined;
46651
+ createTime?: string | {
46652
+ seconds: number | bigint;
46653
+ nanos: number;
46654
+ } | undefined;
46655
+ cid?: string | undefined;
46656
+ } | undefined;
46306
46657
  sourceDocument?: string | undefined;
46307
46658
  targetBlockRevision?: string | undefined;
46659
+ mentionType?: string | undefined;
46660
+ isExact?: boolean | undefined;
46308
46661
  }[];
46309
46662
  };
46310
46663
  }, {
@@ -46332,10 +46685,23 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
46332
46685
  citations: {
46333
46686
  source: string;
46334
46687
  sourceType?: string | undefined;
46688
+ targetVersion?: string | undefined;
46689
+ target?: string | undefined;
46335
46690
  isExactVersion?: boolean | undefined;
46336
46691
  targetFragment?: string | undefined;
46692
+ sourceContext?: string | undefined;
46693
+ sourceBlob?: {
46694
+ author?: string | undefined;
46695
+ createTime?: string | {
46696
+ seconds: number | bigint;
46697
+ nanos: number;
46698
+ } | undefined;
46699
+ cid?: string | undefined;
46700
+ } | undefined;
46337
46701
  sourceDocument?: string | undefined;
46338
46702
  targetBlockRevision?: string | undefined;
46703
+ mentionType?: string | undefined;
46704
+ isExact?: boolean | undefined;
46339
46705
  }[];
46340
46706
  };
46341
46707
  }>, z.ZodObject<{
@@ -59606,42 +59972,127 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
59606
59972
  citations: z.ZodArray<z.ZodObject<{
59607
59973
  source: z.ZodString;
59608
59974
  sourceType: z.ZodOptional<z.ZodString>;
59975
+ sourceContext: z.ZodOptional<z.ZodString>;
59976
+ sourceBlob: z.ZodOptional<z.ZodObject<{
59977
+ cid: z.ZodOptional<z.ZodString>;
59978
+ author: z.ZodOptional<z.ZodString>;
59979
+ createTime: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
59980
+ seconds: z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>;
59981
+ nanos: z.ZodNumber;
59982
+ }, "strict", z.ZodTypeAny, {
59983
+ seconds: number | bigint;
59984
+ nanos: number;
59985
+ }, {
59986
+ seconds: number | bigint;
59987
+ nanos: number;
59988
+ }>, z.ZodString]>>;
59989
+ }, "strip", z.ZodTypeAny, {
59990
+ author?: string | undefined;
59991
+ createTime?: string | {
59992
+ seconds: number | bigint;
59993
+ nanos: number;
59994
+ } | undefined;
59995
+ cid?: string | undefined;
59996
+ }, {
59997
+ author?: string | undefined;
59998
+ createTime?: string | {
59999
+ seconds: number | bigint;
60000
+ nanos: number;
60001
+ } | undefined;
60002
+ cid?: string | undefined;
60003
+ }>>;
59609
60004
  sourceDocument: z.ZodOptional<z.ZodString>;
60005
+ target: z.ZodOptional<z.ZodString>;
60006
+ targetVersion: z.ZodOptional<z.ZodString>;
59610
60007
  targetFragment: z.ZodOptional<z.ZodString>;
59611
60008
  isExactVersion: z.ZodOptional<z.ZodBoolean>;
59612
60009
  targetBlockRevision: z.ZodOptional<z.ZodString>;
60010
+ mentionType: z.ZodOptional<z.ZodString>;
60011
+ isExact: z.ZodOptional<z.ZodBoolean>;
59613
60012
  }, "strip", z.ZodTypeAny, {
59614
60013
  source: string;
59615
60014
  sourceType?: string | undefined;
60015
+ targetVersion?: string | undefined;
60016
+ target?: string | undefined;
59616
60017
  isExactVersion?: boolean | undefined;
59617
60018
  targetFragment?: string | undefined;
60019
+ sourceContext?: string | undefined;
60020
+ sourceBlob?: {
60021
+ author?: string | undefined;
60022
+ createTime?: string | {
60023
+ seconds: number | bigint;
60024
+ nanos: number;
60025
+ } | undefined;
60026
+ cid?: string | undefined;
60027
+ } | undefined;
59618
60028
  sourceDocument?: string | undefined;
59619
60029
  targetBlockRevision?: string | undefined;
60030
+ mentionType?: string | undefined;
60031
+ isExact?: boolean | undefined;
59620
60032
  }, {
59621
60033
  source: string;
59622
60034
  sourceType?: string | undefined;
60035
+ targetVersion?: string | undefined;
60036
+ target?: string | undefined;
59623
60037
  isExactVersion?: boolean | undefined;
59624
60038
  targetFragment?: string | undefined;
60039
+ sourceContext?: string | undefined;
60040
+ sourceBlob?: {
60041
+ author?: string | undefined;
60042
+ createTime?: string | {
60043
+ seconds: number | bigint;
60044
+ nanos: number;
60045
+ } | undefined;
60046
+ cid?: string | undefined;
60047
+ } | undefined;
59625
60048
  sourceDocument?: string | undefined;
59626
60049
  targetBlockRevision?: string | undefined;
60050
+ mentionType?: string | undefined;
60051
+ isExact?: boolean | undefined;
59627
60052
  }>, "many">;
59628
60053
  }, "strip", z.ZodTypeAny, {
59629
60054
  citations: {
59630
60055
  source: string;
59631
60056
  sourceType?: string | undefined;
60057
+ targetVersion?: string | undefined;
60058
+ target?: string | undefined;
59632
60059
  isExactVersion?: boolean | undefined;
59633
60060
  targetFragment?: string | undefined;
60061
+ sourceContext?: string | undefined;
60062
+ sourceBlob?: {
60063
+ author?: string | undefined;
60064
+ createTime?: string | {
60065
+ seconds: number | bigint;
60066
+ nanos: number;
60067
+ } | undefined;
60068
+ cid?: string | undefined;
60069
+ } | undefined;
59634
60070
  sourceDocument?: string | undefined;
59635
60071
  targetBlockRevision?: string | undefined;
60072
+ mentionType?: string | undefined;
60073
+ isExact?: boolean | undefined;
59636
60074
  }[];
59637
60075
  }, {
59638
60076
  citations: {
59639
60077
  source: string;
59640
60078
  sourceType?: string | undefined;
60079
+ targetVersion?: string | undefined;
60080
+ target?: string | undefined;
59641
60081
  isExactVersion?: boolean | undefined;
59642
60082
  targetFragment?: string | undefined;
60083
+ sourceContext?: string | undefined;
60084
+ sourceBlob?: {
60085
+ author?: string | undefined;
60086
+ createTime?: string | {
60087
+ seconds: number | bigint;
60088
+ nanos: number;
60089
+ } | undefined;
60090
+ cid?: string | undefined;
60091
+ } | undefined;
59643
60092
  sourceDocument?: string | undefined;
59644
60093
  targetBlockRevision?: string | undefined;
60094
+ mentionType?: string | undefined;
60095
+ isExact?: boolean | undefined;
59645
60096
  }[];
59646
60097
  }>;
59647
60098
  }, "strip", z.ZodTypeAny, {
@@ -59669,10 +60120,23 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
59669
60120
  citations: {
59670
60121
  source: string;
59671
60122
  sourceType?: string | undefined;
60123
+ targetVersion?: string | undefined;
60124
+ target?: string | undefined;
59672
60125
  isExactVersion?: boolean | undefined;
59673
60126
  targetFragment?: string | undefined;
60127
+ sourceContext?: string | undefined;
60128
+ sourceBlob?: {
60129
+ author?: string | undefined;
60130
+ createTime?: string | {
60131
+ seconds: number | bigint;
60132
+ nanos: number;
60133
+ } | undefined;
60134
+ cid?: string | undefined;
60135
+ } | undefined;
59674
60136
  sourceDocument?: string | undefined;
59675
60137
  targetBlockRevision?: string | undefined;
60138
+ mentionType?: string | undefined;
60139
+ isExact?: boolean | undefined;
59676
60140
  }[];
59677
60141
  };
59678
60142
  }, {
@@ -59700,10 +60164,23 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
59700
60164
  citations: {
59701
60165
  source: string;
59702
60166
  sourceType?: string | undefined;
60167
+ targetVersion?: string | undefined;
60168
+ target?: string | undefined;
59703
60169
  isExactVersion?: boolean | undefined;
59704
60170
  targetFragment?: string | undefined;
60171
+ sourceContext?: string | undefined;
60172
+ sourceBlob?: {
60173
+ author?: string | undefined;
60174
+ createTime?: string | {
60175
+ seconds: number | bigint;
60176
+ nanos: number;
60177
+ } | undefined;
60178
+ cid?: string | undefined;
60179
+ } | undefined;
59705
60180
  sourceDocument?: string | undefined;
59706
60181
  targetBlockRevision?: string | undefined;
60182
+ mentionType?: string | undefined;
60183
+ isExact?: boolean | undefined;
59707
60184
  }[];
59708
60185
  };
59709
60186
  }>, z.ZodObject<{
package/dist/hm-types.mjs CHANGED
@@ -184,7 +184,7 @@ import {
184
184
  toNumber,
185
185
  unpackHmId,
186
186
  unpackedHmIdSchema
187
- } from "./chunk-MNRFUFMX.mjs";
187
+ } from "./chunk-5XIADAA7.mjs";
188
188
  export {
189
189
  BUILTIN_METADATA_KEYS,
190
190
  BackgroundColorAnnotationSchema,
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  serializeBlockRange,
18
18
  toNumber,
19
19
  unpackHmId
20
- } from "./chunk-MNRFUFMX.mjs";
20
+ } from "./chunk-5XIADAA7.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.58",
3
+ "version": "0.0.59",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",