@seed-hypermedia/client 0.0.52 → 0.0.54
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.
- package/dist/{chunk-S3TOHNCG.mjs → chunk-AQLH2QY4.mjs} +10 -5
- package/dist/hm-types.d.ts +78 -31
- package/dist/hm-types.mjs +3 -3
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -790,7 +790,11 @@ var HMListEventsInputSchema = z.object({
|
|
|
790
790
|
filterAuthors: z.array(z.string()).optional(),
|
|
791
791
|
filterEventType: z.array(z.string()).optional(),
|
|
792
792
|
filterResource: z.string().optional(),
|
|
793
|
-
currentAccount: z.string().optional()
|
|
793
|
+
currentAccount: z.string().optional(),
|
|
794
|
+
// Feed ordering. 'claimed' (default) orders by the event's claimed/create time; 'observed' orders by
|
|
795
|
+
// when the server locally observed the blob — needed by pollers that must see late-propagating events
|
|
796
|
+
// (which carry an old create time) as soon as they arrive, instead of buried at their create position.
|
|
797
|
+
order: z.union([z.literal("claimed"), z.literal("observed")]).optional()
|
|
794
798
|
});
|
|
795
799
|
var HMLoadedEventSchema = z.object({}).passthrough();
|
|
796
800
|
var HMListEventsOutputSchema = z.object({
|
|
@@ -834,15 +838,16 @@ var HMListCommentsByAuthorRequestSchema = z.object({
|
|
|
834
838
|
input: HMListCommentsByAuthorInputSchema,
|
|
835
839
|
output: HMListCommentsByAuthorOutputSchema
|
|
836
840
|
});
|
|
837
|
-
var
|
|
841
|
+
var HMRawCitationSchema = z.object({
|
|
838
842
|
source: z.string(),
|
|
839
843
|
sourceType: z.string().optional(),
|
|
840
844
|
sourceDocument: z.string().optional(),
|
|
841
845
|
targetFragment: z.string().optional(),
|
|
842
|
-
|
|
846
|
+
isExactVersion: z.boolean().optional(),
|
|
847
|
+
targetBlockRevision: z.string().optional()
|
|
843
848
|
});
|
|
844
849
|
var HMListCitationsOutputSchema = z.object({
|
|
845
|
-
citations: z.array(
|
|
850
|
+
citations: z.array(HMRawCitationSchema)
|
|
846
851
|
});
|
|
847
852
|
var HMListCitationsInputSchema = z.object({
|
|
848
853
|
targetId: unpackedHmIdSchema
|
|
@@ -1404,7 +1409,7 @@ export {
|
|
|
1404
1409
|
HMListCommentsByAuthorOutputSchema,
|
|
1405
1410
|
HMListCommentsByAuthorInputSchema,
|
|
1406
1411
|
HMListCommentsByAuthorRequestSchema,
|
|
1407
|
-
|
|
1412
|
+
HMRawCitationSchema,
|
|
1408
1413
|
HMListCitationsOutputSchema,
|
|
1409
1414
|
HMListCitationsInputSchema,
|
|
1410
1415
|
HMListCitationsRequestSchema,
|
package/dist/hm-types.d.ts
CHANGED
|
@@ -24474,6 +24474,7 @@ export declare const HMListEventsInputSchema: z.ZodObject<{
|
|
|
24474
24474
|
filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24475
24475
|
filterResource: z.ZodOptional<z.ZodString>;
|
|
24476
24476
|
currentAccount: z.ZodOptional<z.ZodString>;
|
|
24477
|
+
order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
|
|
24477
24478
|
}, "strip", z.ZodTypeAny, {
|
|
24478
24479
|
pageSize?: number | undefined;
|
|
24479
24480
|
pageToken?: string | undefined;
|
|
@@ -24482,6 +24483,7 @@ export declare const HMListEventsInputSchema: z.ZodObject<{
|
|
|
24482
24483
|
filterEventType?: string[] | undefined;
|
|
24483
24484
|
filterResource?: string | undefined;
|
|
24484
24485
|
currentAccount?: string | undefined;
|
|
24486
|
+
order?: "claimed" | "observed" | undefined;
|
|
24485
24487
|
}, {
|
|
24486
24488
|
pageSize?: number | undefined;
|
|
24487
24489
|
pageToken?: string | undefined;
|
|
@@ -24490,6 +24492,7 @@ export declare const HMListEventsInputSchema: z.ZodObject<{
|
|
|
24490
24492
|
filterEventType?: string[] | undefined;
|
|
24491
24493
|
filterResource?: string | undefined;
|
|
24492
24494
|
currentAccount?: string | undefined;
|
|
24495
|
+
order?: "claimed" | "observed" | undefined;
|
|
24493
24496
|
}>;
|
|
24494
24497
|
export type HMListEventsInput = z.infer<typeof HMListEventsInputSchema>;
|
|
24495
24498
|
export declare const HMLoadedEventSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -24514,6 +24517,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
24514
24517
|
filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24515
24518
|
filterResource: z.ZodOptional<z.ZodString>;
|
|
24516
24519
|
currentAccount: z.ZodOptional<z.ZodString>;
|
|
24520
|
+
order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
|
|
24517
24521
|
}, "strip", z.ZodTypeAny, {
|
|
24518
24522
|
pageSize?: number | undefined;
|
|
24519
24523
|
pageToken?: string | undefined;
|
|
@@ -24522,6 +24526,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
24522
24526
|
filterEventType?: string[] | undefined;
|
|
24523
24527
|
filterResource?: string | undefined;
|
|
24524
24528
|
currentAccount?: string | undefined;
|
|
24529
|
+
order?: "claimed" | "observed" | undefined;
|
|
24525
24530
|
}, {
|
|
24526
24531
|
pageSize?: number | undefined;
|
|
24527
24532
|
pageToken?: string | undefined;
|
|
@@ -24530,6 +24535,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
24530
24535
|
filterEventType?: string[] | undefined;
|
|
24531
24536
|
filterResource?: string | undefined;
|
|
24532
24537
|
currentAccount?: string | undefined;
|
|
24538
|
+
order?: "claimed" | "observed" | undefined;
|
|
24533
24539
|
}>;
|
|
24534
24540
|
output: z.ZodObject<{
|
|
24535
24541
|
events: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
@@ -24551,6 +24557,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
24551
24557
|
filterEventType?: string[] | undefined;
|
|
24552
24558
|
filterResource?: string | undefined;
|
|
24553
24559
|
currentAccount?: string | undefined;
|
|
24560
|
+
order?: "claimed" | "observed" | undefined;
|
|
24554
24561
|
};
|
|
24555
24562
|
output: {
|
|
24556
24563
|
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -24566,6 +24573,7 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
24566
24573
|
filterEventType?: string[] | undefined;
|
|
24567
24574
|
filterResource?: string | undefined;
|
|
24568
24575
|
currentAccount?: string | undefined;
|
|
24576
|
+
order?: "claimed" | "observed" | undefined;
|
|
24569
24577
|
};
|
|
24570
24578
|
output: {
|
|
24571
24579
|
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -26539,61 +26547,69 @@ export declare const HMListCommentsByAuthorRequestSchema: z.ZodObject<{
|
|
|
26539
26547
|
};
|
|
26540
26548
|
}>;
|
|
26541
26549
|
export type HMListCommentsByAuthorRequest = z.infer<typeof HMListCommentsByAuthorRequestSchema>;
|
|
26542
|
-
export declare const
|
|
26550
|
+
export declare const HMRawCitationSchema: z.ZodObject<{
|
|
26543
26551
|
source: z.ZodString;
|
|
26544
26552
|
sourceType: z.ZodOptional<z.ZodString>;
|
|
26545
26553
|
sourceDocument: z.ZodOptional<z.ZodString>;
|
|
26546
26554
|
targetFragment: z.ZodOptional<z.ZodString>;
|
|
26547
|
-
|
|
26555
|
+
isExactVersion: z.ZodOptional<z.ZodBoolean>;
|
|
26556
|
+
targetBlockRevision: z.ZodOptional<z.ZodString>;
|
|
26548
26557
|
}, "strip", z.ZodTypeAny, {
|
|
26549
26558
|
source: string;
|
|
26550
26559
|
sourceType?: string | undefined;
|
|
26560
|
+
isExactVersion?: boolean | undefined;
|
|
26551
26561
|
targetFragment?: string | undefined;
|
|
26552
26562
|
sourceDocument?: string | undefined;
|
|
26553
|
-
|
|
26563
|
+
targetBlockRevision?: string | undefined;
|
|
26554
26564
|
}, {
|
|
26555
26565
|
source: string;
|
|
26556
26566
|
sourceType?: string | undefined;
|
|
26567
|
+
isExactVersion?: boolean | undefined;
|
|
26557
26568
|
targetFragment?: string | undefined;
|
|
26558
26569
|
sourceDocument?: string | undefined;
|
|
26559
|
-
|
|
26570
|
+
targetBlockRevision?: string | undefined;
|
|
26560
26571
|
}>;
|
|
26561
|
-
export type
|
|
26572
|
+
export type HMRawCitation = z.infer<typeof HMRawCitationSchema>;
|
|
26562
26573
|
export declare const HMListCitationsOutputSchema: z.ZodObject<{
|
|
26563
26574
|
citations: z.ZodArray<z.ZodObject<{
|
|
26564
26575
|
source: z.ZodString;
|
|
26565
26576
|
sourceType: z.ZodOptional<z.ZodString>;
|
|
26566
26577
|
sourceDocument: z.ZodOptional<z.ZodString>;
|
|
26567
26578
|
targetFragment: z.ZodOptional<z.ZodString>;
|
|
26568
|
-
|
|
26579
|
+
isExactVersion: z.ZodOptional<z.ZodBoolean>;
|
|
26580
|
+
targetBlockRevision: z.ZodOptional<z.ZodString>;
|
|
26569
26581
|
}, "strip", z.ZodTypeAny, {
|
|
26570
26582
|
source: string;
|
|
26571
26583
|
sourceType?: string | undefined;
|
|
26584
|
+
isExactVersion?: boolean | undefined;
|
|
26572
26585
|
targetFragment?: string | undefined;
|
|
26573
26586
|
sourceDocument?: string | undefined;
|
|
26574
|
-
|
|
26587
|
+
targetBlockRevision?: string | undefined;
|
|
26575
26588
|
}, {
|
|
26576
26589
|
source: string;
|
|
26577
26590
|
sourceType?: string | undefined;
|
|
26591
|
+
isExactVersion?: boolean | undefined;
|
|
26578
26592
|
targetFragment?: string | undefined;
|
|
26579
26593
|
sourceDocument?: string | undefined;
|
|
26580
|
-
|
|
26594
|
+
targetBlockRevision?: string | undefined;
|
|
26581
26595
|
}>, "many">;
|
|
26582
26596
|
}, "strip", z.ZodTypeAny, {
|
|
26583
26597
|
citations: {
|
|
26584
26598
|
source: string;
|
|
26585
26599
|
sourceType?: string | undefined;
|
|
26600
|
+
isExactVersion?: boolean | undefined;
|
|
26586
26601
|
targetFragment?: string | undefined;
|
|
26587
26602
|
sourceDocument?: string | undefined;
|
|
26588
|
-
|
|
26603
|
+
targetBlockRevision?: string | undefined;
|
|
26589
26604
|
}[];
|
|
26590
26605
|
}, {
|
|
26591
26606
|
citations: {
|
|
26592
26607
|
source: string;
|
|
26593
26608
|
sourceType?: string | undefined;
|
|
26609
|
+
isExactVersion?: boolean | undefined;
|
|
26594
26610
|
targetFragment?: string | undefined;
|
|
26595
26611
|
sourceDocument?: string | undefined;
|
|
26596
|
-
|
|
26612
|
+
targetBlockRevision?: string | undefined;
|
|
26597
26613
|
}[];
|
|
26598
26614
|
}>;
|
|
26599
26615
|
export type HMListCitationsOutput = z.infer<typeof HMListCitationsOutputSchema>;
|
|
@@ -26796,35 +26812,40 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
|
|
|
26796
26812
|
sourceType: z.ZodOptional<z.ZodString>;
|
|
26797
26813
|
sourceDocument: z.ZodOptional<z.ZodString>;
|
|
26798
26814
|
targetFragment: z.ZodOptional<z.ZodString>;
|
|
26799
|
-
|
|
26815
|
+
isExactVersion: z.ZodOptional<z.ZodBoolean>;
|
|
26816
|
+
targetBlockRevision: z.ZodOptional<z.ZodString>;
|
|
26800
26817
|
}, "strip", z.ZodTypeAny, {
|
|
26801
26818
|
source: string;
|
|
26802
26819
|
sourceType?: string | undefined;
|
|
26820
|
+
isExactVersion?: boolean | undefined;
|
|
26803
26821
|
targetFragment?: string | undefined;
|
|
26804
26822
|
sourceDocument?: string | undefined;
|
|
26805
|
-
|
|
26823
|
+
targetBlockRevision?: string | undefined;
|
|
26806
26824
|
}, {
|
|
26807
26825
|
source: string;
|
|
26808
26826
|
sourceType?: string | undefined;
|
|
26827
|
+
isExactVersion?: boolean | undefined;
|
|
26809
26828
|
targetFragment?: string | undefined;
|
|
26810
26829
|
sourceDocument?: string | undefined;
|
|
26811
|
-
|
|
26830
|
+
targetBlockRevision?: string | undefined;
|
|
26812
26831
|
}>, "many">;
|
|
26813
26832
|
}, "strip", z.ZodTypeAny, {
|
|
26814
26833
|
citations: {
|
|
26815
26834
|
source: string;
|
|
26816
26835
|
sourceType?: string | undefined;
|
|
26836
|
+
isExactVersion?: boolean | undefined;
|
|
26817
26837
|
targetFragment?: string | undefined;
|
|
26818
26838
|
sourceDocument?: string | undefined;
|
|
26819
|
-
|
|
26839
|
+
targetBlockRevision?: string | undefined;
|
|
26820
26840
|
}[];
|
|
26821
26841
|
}, {
|
|
26822
26842
|
citations: {
|
|
26823
26843
|
source: string;
|
|
26824
26844
|
sourceType?: string | undefined;
|
|
26845
|
+
isExactVersion?: boolean | undefined;
|
|
26825
26846
|
targetFragment?: string | undefined;
|
|
26826
26847
|
sourceDocument?: string | undefined;
|
|
26827
|
-
|
|
26848
|
+
targetBlockRevision?: string | undefined;
|
|
26828
26849
|
}[];
|
|
26829
26850
|
}>;
|
|
26830
26851
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -26852,9 +26873,10 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
|
|
|
26852
26873
|
citations: {
|
|
26853
26874
|
source: string;
|
|
26854
26875
|
sourceType?: string | undefined;
|
|
26876
|
+
isExactVersion?: boolean | undefined;
|
|
26855
26877
|
targetFragment?: string | undefined;
|
|
26856
26878
|
sourceDocument?: string | undefined;
|
|
26857
|
-
|
|
26879
|
+
targetBlockRevision?: string | undefined;
|
|
26858
26880
|
}[];
|
|
26859
26881
|
};
|
|
26860
26882
|
}, {
|
|
@@ -26882,9 +26904,10 @@ export declare const HMListCitationsRequestSchema: z.ZodObject<{
|
|
|
26882
26904
|
citations: {
|
|
26883
26905
|
source: string;
|
|
26884
26906
|
sourceType?: string | undefined;
|
|
26907
|
+
isExactVersion?: boolean | undefined;
|
|
26885
26908
|
targetFragment?: string | undefined;
|
|
26886
26909
|
sourceDocument?: string | undefined;
|
|
26887
|
-
|
|
26910
|
+
targetBlockRevision?: string | undefined;
|
|
26888
26911
|
}[];
|
|
26889
26912
|
};
|
|
26890
26913
|
}>;
|
|
@@ -43148,6 +43171,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43148
43171
|
filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43149
43172
|
filterResource: z.ZodOptional<z.ZodString>;
|
|
43150
43173
|
currentAccount: z.ZodOptional<z.ZodString>;
|
|
43174
|
+
order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
|
|
43151
43175
|
}, "strip", z.ZodTypeAny, {
|
|
43152
43176
|
pageSize?: number | undefined;
|
|
43153
43177
|
pageToken?: string | undefined;
|
|
@@ -43156,6 +43180,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43156
43180
|
filterEventType?: string[] | undefined;
|
|
43157
43181
|
filterResource?: string | undefined;
|
|
43158
43182
|
currentAccount?: string | undefined;
|
|
43183
|
+
order?: "claimed" | "observed" | undefined;
|
|
43159
43184
|
}, {
|
|
43160
43185
|
pageSize?: number | undefined;
|
|
43161
43186
|
pageToken?: string | undefined;
|
|
@@ -43164,6 +43189,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43164
43189
|
filterEventType?: string[] | undefined;
|
|
43165
43190
|
filterResource?: string | undefined;
|
|
43166
43191
|
currentAccount?: string | undefined;
|
|
43192
|
+
order?: "claimed" | "observed" | undefined;
|
|
43167
43193
|
}>;
|
|
43168
43194
|
output: z.ZodObject<{
|
|
43169
43195
|
events: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
@@ -43185,6 +43211,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43185
43211
|
filterEventType?: string[] | undefined;
|
|
43186
43212
|
filterResource?: string | undefined;
|
|
43187
43213
|
currentAccount?: string | undefined;
|
|
43214
|
+
order?: "claimed" | "observed" | undefined;
|
|
43188
43215
|
};
|
|
43189
43216
|
output: {
|
|
43190
43217
|
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -43200,6 +43227,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43200
43227
|
filterEventType?: string[] | undefined;
|
|
43201
43228
|
filterResource?: string | undefined;
|
|
43202
43229
|
currentAccount?: string | undefined;
|
|
43230
|
+
order?: "claimed" | "observed" | undefined;
|
|
43203
43231
|
};
|
|
43204
43232
|
output: {
|
|
43205
43233
|
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -44431,35 +44459,40 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
44431
44459
|
sourceType: z.ZodOptional<z.ZodString>;
|
|
44432
44460
|
sourceDocument: z.ZodOptional<z.ZodString>;
|
|
44433
44461
|
targetFragment: z.ZodOptional<z.ZodString>;
|
|
44434
|
-
|
|
44462
|
+
isExactVersion: z.ZodOptional<z.ZodBoolean>;
|
|
44463
|
+
targetBlockRevision: z.ZodOptional<z.ZodString>;
|
|
44435
44464
|
}, "strip", z.ZodTypeAny, {
|
|
44436
44465
|
source: string;
|
|
44437
44466
|
sourceType?: string | undefined;
|
|
44467
|
+
isExactVersion?: boolean | undefined;
|
|
44438
44468
|
targetFragment?: string | undefined;
|
|
44439
44469
|
sourceDocument?: string | undefined;
|
|
44440
|
-
|
|
44470
|
+
targetBlockRevision?: string | undefined;
|
|
44441
44471
|
}, {
|
|
44442
44472
|
source: string;
|
|
44443
44473
|
sourceType?: string | undefined;
|
|
44474
|
+
isExactVersion?: boolean | undefined;
|
|
44444
44475
|
targetFragment?: string | undefined;
|
|
44445
44476
|
sourceDocument?: string | undefined;
|
|
44446
|
-
|
|
44477
|
+
targetBlockRevision?: string | undefined;
|
|
44447
44478
|
}>, "many">;
|
|
44448
44479
|
}, "strip", z.ZodTypeAny, {
|
|
44449
44480
|
citations: {
|
|
44450
44481
|
source: string;
|
|
44451
44482
|
sourceType?: string | undefined;
|
|
44483
|
+
isExactVersion?: boolean | undefined;
|
|
44452
44484
|
targetFragment?: string | undefined;
|
|
44453
44485
|
sourceDocument?: string | undefined;
|
|
44454
|
-
|
|
44486
|
+
targetBlockRevision?: string | undefined;
|
|
44455
44487
|
}[];
|
|
44456
44488
|
}, {
|
|
44457
44489
|
citations: {
|
|
44458
44490
|
source: string;
|
|
44459
44491
|
sourceType?: string | undefined;
|
|
44492
|
+
isExactVersion?: boolean | undefined;
|
|
44460
44493
|
targetFragment?: string | undefined;
|
|
44461
44494
|
sourceDocument?: string | undefined;
|
|
44462
|
-
|
|
44495
|
+
targetBlockRevision?: string | undefined;
|
|
44463
44496
|
}[];
|
|
44464
44497
|
}>;
|
|
44465
44498
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -44487,9 +44520,10 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
44487
44520
|
citations: {
|
|
44488
44521
|
source: string;
|
|
44489
44522
|
sourceType?: string | undefined;
|
|
44523
|
+
isExactVersion?: boolean | undefined;
|
|
44490
44524
|
targetFragment?: string | undefined;
|
|
44491
44525
|
sourceDocument?: string | undefined;
|
|
44492
|
-
|
|
44526
|
+
targetBlockRevision?: string | undefined;
|
|
44493
44527
|
}[];
|
|
44494
44528
|
};
|
|
44495
44529
|
}, {
|
|
@@ -44517,9 +44551,10 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
44517
44551
|
citations: {
|
|
44518
44552
|
source: string;
|
|
44519
44553
|
sourceType?: string | undefined;
|
|
44554
|
+
isExactVersion?: boolean | undefined;
|
|
44520
44555
|
targetFragment?: string | undefined;
|
|
44521
44556
|
sourceDocument?: string | undefined;
|
|
44522
|
-
|
|
44557
|
+
targetBlockRevision?: string | undefined;
|
|
44523
44558
|
}[];
|
|
44524
44559
|
};
|
|
44525
44560
|
}>, z.ZodObject<{
|
|
@@ -56042,6 +56077,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
56042
56077
|
filterEventType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
56043
56078
|
filterResource: z.ZodOptional<z.ZodString>;
|
|
56044
56079
|
currentAccount: z.ZodOptional<z.ZodString>;
|
|
56080
|
+
order: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"claimed">, z.ZodLiteral<"observed">]>>;
|
|
56045
56081
|
}, "strip", z.ZodTypeAny, {
|
|
56046
56082
|
pageSize?: number | undefined;
|
|
56047
56083
|
pageToken?: string | undefined;
|
|
@@ -56050,6 +56086,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
56050
56086
|
filterEventType?: string[] | undefined;
|
|
56051
56087
|
filterResource?: string | undefined;
|
|
56052
56088
|
currentAccount?: string | undefined;
|
|
56089
|
+
order?: "claimed" | "observed" | undefined;
|
|
56053
56090
|
}, {
|
|
56054
56091
|
pageSize?: number | undefined;
|
|
56055
56092
|
pageToken?: string | undefined;
|
|
@@ -56058,6 +56095,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
56058
56095
|
filterEventType?: string[] | undefined;
|
|
56059
56096
|
filterResource?: string | undefined;
|
|
56060
56097
|
currentAccount?: string | undefined;
|
|
56098
|
+
order?: "claimed" | "observed" | undefined;
|
|
56061
56099
|
}>;
|
|
56062
56100
|
output: z.ZodObject<{
|
|
56063
56101
|
events: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
@@ -56079,6 +56117,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
56079
56117
|
filterEventType?: string[] | undefined;
|
|
56080
56118
|
filterResource?: string | undefined;
|
|
56081
56119
|
currentAccount?: string | undefined;
|
|
56120
|
+
order?: "claimed" | "observed" | undefined;
|
|
56082
56121
|
};
|
|
56083
56122
|
output: {
|
|
56084
56123
|
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -56094,6 +56133,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
56094
56133
|
filterEventType?: string[] | undefined;
|
|
56095
56134
|
filterResource?: string | undefined;
|
|
56096
56135
|
currentAccount?: string | undefined;
|
|
56136
|
+
order?: "claimed" | "observed" | undefined;
|
|
56097
56137
|
};
|
|
56098
56138
|
output: {
|
|
56099
56139
|
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
@@ -57325,35 +57365,40 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
57325
57365
|
sourceType: z.ZodOptional<z.ZodString>;
|
|
57326
57366
|
sourceDocument: z.ZodOptional<z.ZodString>;
|
|
57327
57367
|
targetFragment: z.ZodOptional<z.ZodString>;
|
|
57328
|
-
|
|
57368
|
+
isExactVersion: z.ZodOptional<z.ZodBoolean>;
|
|
57369
|
+
targetBlockRevision: z.ZodOptional<z.ZodString>;
|
|
57329
57370
|
}, "strip", z.ZodTypeAny, {
|
|
57330
57371
|
source: string;
|
|
57331
57372
|
sourceType?: string | undefined;
|
|
57373
|
+
isExactVersion?: boolean | undefined;
|
|
57332
57374
|
targetFragment?: string | undefined;
|
|
57333
57375
|
sourceDocument?: string | undefined;
|
|
57334
|
-
|
|
57376
|
+
targetBlockRevision?: string | undefined;
|
|
57335
57377
|
}, {
|
|
57336
57378
|
source: string;
|
|
57337
57379
|
sourceType?: string | undefined;
|
|
57380
|
+
isExactVersion?: boolean | undefined;
|
|
57338
57381
|
targetFragment?: string | undefined;
|
|
57339
57382
|
sourceDocument?: string | undefined;
|
|
57340
|
-
|
|
57383
|
+
targetBlockRevision?: string | undefined;
|
|
57341
57384
|
}>, "many">;
|
|
57342
57385
|
}, "strip", z.ZodTypeAny, {
|
|
57343
57386
|
citations: {
|
|
57344
57387
|
source: string;
|
|
57345
57388
|
sourceType?: string | undefined;
|
|
57389
|
+
isExactVersion?: boolean | undefined;
|
|
57346
57390
|
targetFragment?: string | undefined;
|
|
57347
57391
|
sourceDocument?: string | undefined;
|
|
57348
|
-
|
|
57392
|
+
targetBlockRevision?: string | undefined;
|
|
57349
57393
|
}[];
|
|
57350
57394
|
}, {
|
|
57351
57395
|
citations: {
|
|
57352
57396
|
source: string;
|
|
57353
57397
|
sourceType?: string | undefined;
|
|
57398
|
+
isExactVersion?: boolean | undefined;
|
|
57354
57399
|
targetFragment?: string | undefined;
|
|
57355
57400
|
sourceDocument?: string | undefined;
|
|
57356
|
-
|
|
57401
|
+
targetBlockRevision?: string | undefined;
|
|
57357
57402
|
}[];
|
|
57358
57403
|
}>;
|
|
57359
57404
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -57381,9 +57426,10 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
57381
57426
|
citations: {
|
|
57382
57427
|
source: string;
|
|
57383
57428
|
sourceType?: string | undefined;
|
|
57429
|
+
isExactVersion?: boolean | undefined;
|
|
57384
57430
|
targetFragment?: string | undefined;
|
|
57385
57431
|
sourceDocument?: string | undefined;
|
|
57386
|
-
|
|
57432
|
+
targetBlockRevision?: string | undefined;
|
|
57387
57433
|
}[];
|
|
57388
57434
|
};
|
|
57389
57435
|
}, {
|
|
@@ -57411,9 +57457,10 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
57411
57457
|
citations: {
|
|
57412
57458
|
source: string;
|
|
57413
57459
|
sourceType?: string | undefined;
|
|
57460
|
+
isExactVersion?: boolean | undefined;
|
|
57414
57461
|
targetFragment?: string | undefined;
|
|
57415
57462
|
sourceDocument?: string | undefined;
|
|
57416
|
-
|
|
57463
|
+
targetBlockRevision?: string | undefined;
|
|
57417
57464
|
}[];
|
|
57418
57465
|
};
|
|
57419
57466
|
}>, z.ZodObject<{
|
package/dist/hm-types.mjs
CHANGED
|
@@ -124,8 +124,8 @@ import {
|
|
|
124
124
|
HMQuerySortSchema,
|
|
125
125
|
HMQueryStyleSchema,
|
|
126
126
|
HMRawCapabilitySchema,
|
|
127
|
+
HMRawCitationSchema,
|
|
127
128
|
HMRawDocumentChangeSchema,
|
|
128
|
-
HMRawMentionSchema,
|
|
129
129
|
HMRedirectInfoSchema,
|
|
130
130
|
HMRequestSchema,
|
|
131
131
|
HMResolvedResourceSchema,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
toNumber,
|
|
177
177
|
unpackHmId,
|
|
178
178
|
unpackedHmIdSchema
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-AQLH2QY4.mjs";
|
|
180
180
|
export {
|
|
181
181
|
BackgroundColorAnnotationSchema,
|
|
182
182
|
BlockRangeSchema,
|
|
@@ -303,8 +303,8 @@ export {
|
|
|
303
303
|
HMQuerySortSchema,
|
|
304
304
|
HMQueryStyleSchema,
|
|
305
305
|
HMRawCapabilitySchema,
|
|
306
|
+
HMRawCitationSchema,
|
|
306
307
|
HMRawDocumentChangeSchema,
|
|
307
|
-
HMRawMentionSchema,
|
|
308
308
|
HMRedirectInfoSchema,
|
|
309
309
|
HMRequestSchema,
|
|
310
310
|
HMResolvedResourceSchema,
|
package/dist/index.mjs
CHANGED