@seed-hypermedia/client 0.0.84 → 0.0.86
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/auto-link.mjs +3 -3
- package/dist/blocks-to-markdown.mjs +2 -2
- package/dist/capability.mjs +2 -2
- package/dist/{chunk-7UTCJZPQ.mjs → chunk-7DJW6A2P.mjs} +3 -3
- package/dist/{chunk-IQONPGLX.mjs → chunk-7QKG43UV.mjs} +2 -2
- package/dist/{chunk-TSUQYYH6.mjs → chunk-DVJ3XGXS.mjs} +1 -1
- package/dist/{chunk-PEG3UOMI.mjs → chunk-E2UOAVXB.mjs} +2 -2
- package/dist/{chunk-Q7YPP3WO.mjs → chunk-GIO2JLKT.mjs} +35 -0
- package/dist/{chunk-Q2NA774U.mjs → chunk-GN76IN3M.mjs} +8 -3
- package/dist/{chunk-X4VXKKMT.mjs → chunk-GVFAXUKA.mjs} +10 -8
- package/dist/{chunk-LQMTE724.mjs → chunk-I273FRIR.mjs} +1 -1
- package/dist/{chunk-MTGPGNGT.mjs → chunk-IW5GLPEG.mjs} +5 -4
- package/dist/{chunk-N3P7S5YZ.mjs → chunk-JKKS35IS.mjs} +1 -1
- package/dist/{chunk-NGLLI4HI.mjs → chunk-NR2TW5BW.mjs} +1 -1
- package/dist/{chunk-LMWLJHSM.mjs → chunk-QRWRLUTY.mjs} +1 -1
- package/dist/{chunk-73JZJ5YC.mjs → chunk-STKAE4YB.mjs} +1 -1
- package/dist/{chunk-5OEUIK3L.mjs → chunk-ZVJGJE2L.mjs} +1 -1
- package/dist/client.mjs +2 -2
- package/dist/comment.mjs +3 -3
- package/dist/document-state.mjs +2 -2
- package/dist/editor-types.d.ts +2 -0
- package/dist/editorblock-to-hmblock.mjs +3 -3
- package/dist/hm-resolver.mjs +2 -2
- package/dist/hm-types.d.ts +2519 -754
- package/dist/hm-types.mjs +5 -1
- package/dist/hmblock-to-editorblock.mjs +2 -2
- package/dist/index.mjs +14 -14
- package/dist/pdf-to-blocks.mjs +3 -3
- package/dist/resource-read.mjs +4 -4
- package/dist/tei-to-blocks.mjs +2 -2
- package/dist/unicode.mjs +2 -2
- package/package.json +1 -1
package/dist/hm-types.d.ts
CHANGED
|
@@ -243,23 +243,33 @@ export declare const LinkAnnotationSchema: z.ZodObject<{
|
|
|
243
243
|
attributes?: {} | undefined;
|
|
244
244
|
}>;
|
|
245
245
|
export declare const InlineEmbedAnnotationSchema: z.ZodObject<{
|
|
246
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
247
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
mentionKind?: "account" | "document" | undefined;
|
|
250
|
+
}, {
|
|
251
|
+
mentionKind?: "account" | "document" | undefined;
|
|
252
|
+
}>>;
|
|
246
253
|
link: z.ZodString;
|
|
247
254
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
248
255
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
249
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
250
256
|
type: z.ZodLiteral<"Embed">;
|
|
251
257
|
}, "strict", z.ZodTypeAny, {
|
|
252
258
|
link: string;
|
|
253
259
|
type: "Embed";
|
|
254
260
|
starts: number[];
|
|
255
261
|
ends: number[];
|
|
256
|
-
attributes?: {
|
|
262
|
+
attributes?: {
|
|
263
|
+
mentionKind?: "account" | "document" | undefined;
|
|
264
|
+
} | undefined;
|
|
257
265
|
}, {
|
|
258
266
|
link: string;
|
|
259
267
|
type: "Embed";
|
|
260
268
|
starts: number[];
|
|
261
269
|
ends: number[];
|
|
262
|
-
attributes?: {
|
|
270
|
+
attributes?: {
|
|
271
|
+
mentionKind?: "account" | "document" | undefined;
|
|
272
|
+
} | undefined;
|
|
263
273
|
}>;
|
|
264
274
|
export declare const HighlightAnnotationSchema: z.ZodObject<{
|
|
265
275
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -505,23 +515,33 @@ export declare const HMAnnotationSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
505
515
|
link?: string | undefined;
|
|
506
516
|
attributes?: {} | undefined;
|
|
507
517
|
}>, z.ZodObject<{
|
|
518
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
519
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
521
|
+
mentionKind?: "account" | "document" | undefined;
|
|
522
|
+
}, {
|
|
523
|
+
mentionKind?: "account" | "document" | undefined;
|
|
524
|
+
}>>;
|
|
508
525
|
link: z.ZodString;
|
|
509
526
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
510
527
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
511
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
512
528
|
type: z.ZodLiteral<"Embed">;
|
|
513
529
|
}, "strict", z.ZodTypeAny, {
|
|
514
530
|
link: string;
|
|
515
531
|
type: "Embed";
|
|
516
532
|
starts: number[];
|
|
517
533
|
ends: number[];
|
|
518
|
-
attributes?: {
|
|
534
|
+
attributes?: {
|
|
535
|
+
mentionKind?: "account" | "document" | undefined;
|
|
536
|
+
} | undefined;
|
|
519
537
|
}, {
|
|
520
538
|
link: string;
|
|
521
539
|
type: "Embed";
|
|
522
540
|
starts: number[];
|
|
523
541
|
ends: number[];
|
|
524
|
-
attributes?: {
|
|
542
|
+
attributes?: {
|
|
543
|
+
mentionKind?: "account" | "document" | undefined;
|
|
544
|
+
} | undefined;
|
|
525
545
|
}>, z.ZodObject<{
|
|
526
546
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
527
547
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -774,23 +794,33 @@ export declare const HMAnnotationsSchema: z.ZodOptional<z.ZodArray<z.ZodDiscrimi
|
|
|
774
794
|
link?: string | undefined;
|
|
775
795
|
attributes?: {} | undefined;
|
|
776
796
|
}>, z.ZodObject<{
|
|
797
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
798
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
799
|
+
}, "strip", z.ZodTypeAny, {
|
|
800
|
+
mentionKind?: "account" | "document" | undefined;
|
|
801
|
+
}, {
|
|
802
|
+
mentionKind?: "account" | "document" | undefined;
|
|
803
|
+
}>>;
|
|
777
804
|
link: z.ZodString;
|
|
778
805
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
779
806
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
780
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
781
807
|
type: z.ZodLiteral<"Embed">;
|
|
782
808
|
}, "strict", z.ZodTypeAny, {
|
|
783
809
|
link: string;
|
|
784
810
|
type: "Embed";
|
|
785
811
|
starts: number[];
|
|
786
812
|
ends: number[];
|
|
787
|
-
attributes?: {
|
|
813
|
+
attributes?: {
|
|
814
|
+
mentionKind?: "account" | "document" | undefined;
|
|
815
|
+
} | undefined;
|
|
788
816
|
}, {
|
|
789
817
|
link: string;
|
|
790
818
|
type: "Embed";
|
|
791
819
|
starts: number[];
|
|
792
820
|
ends: number[];
|
|
793
|
-
attributes?: {
|
|
821
|
+
attributes?: {
|
|
822
|
+
mentionKind?: "account" | "document" | undefined;
|
|
823
|
+
} | undefined;
|
|
794
824
|
}>, z.ZodObject<{
|
|
795
825
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
796
826
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -1047,23 +1077,33 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
|
|
|
1047
1077
|
link?: string | undefined;
|
|
1048
1078
|
attributes?: {} | undefined;
|
|
1049
1079
|
}>, z.ZodObject<{
|
|
1080
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1081
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
1082
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1084
|
+
}, {
|
|
1085
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1086
|
+
}>>;
|
|
1050
1087
|
link: z.ZodString;
|
|
1051
1088
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
1052
1089
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
1053
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
1054
1090
|
type: z.ZodLiteral<"Embed">;
|
|
1055
1091
|
}, "strict", z.ZodTypeAny, {
|
|
1056
1092
|
link: string;
|
|
1057
1093
|
type: "Embed";
|
|
1058
1094
|
starts: number[];
|
|
1059
1095
|
ends: number[];
|
|
1060
|
-
attributes?: {
|
|
1096
|
+
attributes?: {
|
|
1097
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1098
|
+
} | undefined;
|
|
1061
1099
|
}, {
|
|
1062
1100
|
link: string;
|
|
1063
1101
|
type: "Embed";
|
|
1064
1102
|
starts: number[];
|
|
1065
1103
|
ends: number[];
|
|
1066
|
-
attributes?: {
|
|
1104
|
+
attributes?: {
|
|
1105
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1106
|
+
} | undefined;
|
|
1067
1107
|
}>, z.ZodObject<{
|
|
1068
1108
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
1069
1109
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -1250,7 +1290,9 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
|
|
|
1250
1290
|
type: "Embed";
|
|
1251
1291
|
starts: number[];
|
|
1252
1292
|
ends: number[];
|
|
1253
|
-
attributes?: {
|
|
1293
|
+
attributes?: {
|
|
1294
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1295
|
+
} | undefined;
|
|
1254
1296
|
} | {
|
|
1255
1297
|
type: "Range";
|
|
1256
1298
|
starts: number[];
|
|
@@ -1342,7 +1384,9 @@ export declare const HMBlockParagraphSchema: z.ZodObject<{
|
|
|
1342
1384
|
type: "Embed";
|
|
1343
1385
|
starts: number[];
|
|
1344
1386
|
ends: number[];
|
|
1345
|
-
attributes?: {
|
|
1387
|
+
attributes?: {
|
|
1388
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1389
|
+
} | undefined;
|
|
1346
1390
|
} | {
|
|
1347
1391
|
type: "Range";
|
|
1348
1392
|
starts: number[];
|
|
@@ -1505,23 +1549,33 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
|
|
|
1505
1549
|
link?: string | undefined;
|
|
1506
1550
|
attributes?: {} | undefined;
|
|
1507
1551
|
}>, z.ZodObject<{
|
|
1552
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1553
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
1554
|
+
}, "strip", z.ZodTypeAny, {
|
|
1555
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1556
|
+
}, {
|
|
1557
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1558
|
+
}>>;
|
|
1508
1559
|
link: z.ZodString;
|
|
1509
1560
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
1510
1561
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
1511
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
1512
1562
|
type: z.ZodLiteral<"Embed">;
|
|
1513
1563
|
}, "strict", z.ZodTypeAny, {
|
|
1514
1564
|
link: string;
|
|
1515
1565
|
type: "Embed";
|
|
1516
1566
|
starts: number[];
|
|
1517
1567
|
ends: number[];
|
|
1518
|
-
attributes?: {
|
|
1568
|
+
attributes?: {
|
|
1569
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1570
|
+
} | undefined;
|
|
1519
1571
|
}, {
|
|
1520
1572
|
link: string;
|
|
1521
1573
|
type: "Embed";
|
|
1522
1574
|
starts: number[];
|
|
1523
1575
|
ends: number[];
|
|
1524
|
-
attributes?: {
|
|
1576
|
+
attributes?: {
|
|
1577
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1578
|
+
} | undefined;
|
|
1525
1579
|
}>, z.ZodObject<{
|
|
1526
1580
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
1527
1581
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -1707,7 +1761,9 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
|
|
|
1707
1761
|
type: "Embed";
|
|
1708
1762
|
starts: number[];
|
|
1709
1763
|
ends: number[];
|
|
1710
|
-
attributes?: {
|
|
1764
|
+
attributes?: {
|
|
1765
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1766
|
+
} | undefined;
|
|
1711
1767
|
} | {
|
|
1712
1768
|
type: "Range";
|
|
1713
1769
|
starts: number[];
|
|
@@ -1798,7 +1854,9 @@ export declare const HMBlockHeadingSchema: z.ZodObject<{
|
|
|
1798
1854
|
type: "Embed";
|
|
1799
1855
|
starts: number[];
|
|
1800
1856
|
ends: number[];
|
|
1801
|
-
attributes?: {
|
|
1857
|
+
attributes?: {
|
|
1858
|
+
mentionKind?: "account" | "document" | undefined;
|
|
1859
|
+
} | undefined;
|
|
1802
1860
|
} | {
|
|
1803
1861
|
type: "Range";
|
|
1804
1862
|
starts: number[];
|
|
@@ -2054,23 +2112,33 @@ export declare const HMBlockImageSchema: z.ZodObject<{
|
|
|
2054
2112
|
link?: string | undefined;
|
|
2055
2113
|
attributes?: {} | undefined;
|
|
2056
2114
|
}>, z.ZodObject<{
|
|
2115
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2116
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
2117
|
+
}, "strip", z.ZodTypeAny, {
|
|
2118
|
+
mentionKind?: "account" | "document" | undefined;
|
|
2119
|
+
}, {
|
|
2120
|
+
mentionKind?: "account" | "document" | undefined;
|
|
2121
|
+
}>>;
|
|
2057
2122
|
link: z.ZodString;
|
|
2058
2123
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
2059
2124
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
2060
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
2061
2125
|
type: z.ZodLiteral<"Embed">;
|
|
2062
2126
|
}, "strict", z.ZodTypeAny, {
|
|
2063
2127
|
link: string;
|
|
2064
2128
|
type: "Embed";
|
|
2065
2129
|
starts: number[];
|
|
2066
2130
|
ends: number[];
|
|
2067
|
-
attributes?: {
|
|
2131
|
+
attributes?: {
|
|
2132
|
+
mentionKind?: "account" | "document" | undefined;
|
|
2133
|
+
} | undefined;
|
|
2068
2134
|
}, {
|
|
2069
2135
|
link: string;
|
|
2070
2136
|
type: "Embed";
|
|
2071
2137
|
starts: number[];
|
|
2072
2138
|
ends: number[];
|
|
2073
|
-
attributes?: {
|
|
2139
|
+
attributes?: {
|
|
2140
|
+
mentionKind?: "account" | "document" | undefined;
|
|
2141
|
+
} | undefined;
|
|
2074
2142
|
}>, z.ZodObject<{
|
|
2075
2143
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
2076
2144
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -2257,7 +2325,9 @@ export declare const HMBlockImageSchema: z.ZodObject<{
|
|
|
2257
2325
|
type: "Embed";
|
|
2258
2326
|
starts: number[];
|
|
2259
2327
|
ends: number[];
|
|
2260
|
-
attributes?: {
|
|
2328
|
+
attributes?: {
|
|
2329
|
+
mentionKind?: "account" | "document" | undefined;
|
|
2330
|
+
} | undefined;
|
|
2261
2331
|
} | {
|
|
2262
2332
|
type: "Range";
|
|
2263
2333
|
starts: number[];
|
|
@@ -2350,7 +2420,9 @@ export declare const HMBlockImageSchema: z.ZodObject<{
|
|
|
2350
2420
|
type: "Embed";
|
|
2351
2421
|
starts: number[];
|
|
2352
2422
|
ends: number[];
|
|
2353
|
-
attributes?: {
|
|
2423
|
+
attributes?: {
|
|
2424
|
+
mentionKind?: "account" | "document" | undefined;
|
|
2425
|
+
} | undefined;
|
|
2354
2426
|
} | {
|
|
2355
2427
|
type: "Range";
|
|
2356
2428
|
starts: number[];
|
|
@@ -7259,23 +7331,33 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
7259
7331
|
link?: string | undefined;
|
|
7260
7332
|
attributes?: {} | undefined;
|
|
7261
7333
|
}>, z.ZodObject<{
|
|
7334
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
7335
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
7336
|
+
}, "strip", z.ZodTypeAny, {
|
|
7337
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7338
|
+
}, {
|
|
7339
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7340
|
+
}>>;
|
|
7262
7341
|
link: z.ZodString;
|
|
7263
7342
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
7264
7343
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
7265
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
7266
7344
|
type: z.ZodLiteral<"Embed">;
|
|
7267
7345
|
}, "strict", z.ZodTypeAny, {
|
|
7268
7346
|
link: string;
|
|
7269
7347
|
type: "Embed";
|
|
7270
7348
|
starts: number[];
|
|
7271
7349
|
ends: number[];
|
|
7272
|
-
attributes?: {
|
|
7350
|
+
attributes?: {
|
|
7351
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7352
|
+
} | undefined;
|
|
7273
7353
|
}, {
|
|
7274
7354
|
link: string;
|
|
7275
7355
|
type: "Embed";
|
|
7276
7356
|
starts: number[];
|
|
7277
7357
|
ends: number[];
|
|
7278
|
-
attributes?: {
|
|
7358
|
+
attributes?: {
|
|
7359
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7360
|
+
} | undefined;
|
|
7279
7361
|
}>, z.ZodObject<{
|
|
7280
7362
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
7281
7363
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -7462,7 +7544,9 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
7462
7544
|
type: "Embed";
|
|
7463
7545
|
starts: number[];
|
|
7464
7546
|
ends: number[];
|
|
7465
|
-
attributes?: {
|
|
7547
|
+
attributes?: {
|
|
7548
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7549
|
+
} | undefined;
|
|
7466
7550
|
} | {
|
|
7467
7551
|
type: "Range";
|
|
7468
7552
|
starts: number[];
|
|
@@ -7554,7 +7638,9 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
7554
7638
|
type: "Embed";
|
|
7555
7639
|
starts: number[];
|
|
7556
7640
|
ends: number[];
|
|
7557
|
-
attributes?: {
|
|
7641
|
+
attributes?: {
|
|
7642
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7643
|
+
} | undefined;
|
|
7558
7644
|
} | {
|
|
7559
7645
|
type: "Range";
|
|
7560
7646
|
starts: number[];
|
|
@@ -7716,23 +7802,33 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
7716
7802
|
link?: string | undefined;
|
|
7717
7803
|
attributes?: {} | undefined;
|
|
7718
7804
|
}>, z.ZodObject<{
|
|
7805
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
7806
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
7807
|
+
}, "strip", z.ZodTypeAny, {
|
|
7808
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7809
|
+
}, {
|
|
7810
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7811
|
+
}>>;
|
|
7719
7812
|
link: z.ZodString;
|
|
7720
7813
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
7721
7814
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
7722
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
7723
7815
|
type: z.ZodLiteral<"Embed">;
|
|
7724
7816
|
}, "strict", z.ZodTypeAny, {
|
|
7725
7817
|
link: string;
|
|
7726
7818
|
type: "Embed";
|
|
7727
7819
|
starts: number[];
|
|
7728
7820
|
ends: number[];
|
|
7729
|
-
attributes?: {
|
|
7821
|
+
attributes?: {
|
|
7822
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7823
|
+
} | undefined;
|
|
7730
7824
|
}, {
|
|
7731
7825
|
link: string;
|
|
7732
7826
|
type: "Embed";
|
|
7733
7827
|
starts: number[];
|
|
7734
7828
|
ends: number[];
|
|
7735
|
-
attributes?: {
|
|
7829
|
+
attributes?: {
|
|
7830
|
+
mentionKind?: "account" | "document" | undefined;
|
|
7831
|
+
} | undefined;
|
|
7736
7832
|
}>, z.ZodObject<{
|
|
7737
7833
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
7738
7834
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -7918,7 +8014,9 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
7918
8014
|
type: "Embed";
|
|
7919
8015
|
starts: number[];
|
|
7920
8016
|
ends: number[];
|
|
7921
|
-
attributes?: {
|
|
8017
|
+
attributes?: {
|
|
8018
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8019
|
+
} | undefined;
|
|
7922
8020
|
} | {
|
|
7923
8021
|
type: "Range";
|
|
7924
8022
|
starts: number[];
|
|
@@ -8009,7 +8107,9 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
8009
8107
|
type: "Embed";
|
|
8010
8108
|
starts: number[];
|
|
8011
8109
|
ends: number[];
|
|
8012
|
-
attributes?: {
|
|
8110
|
+
attributes?: {
|
|
8111
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8112
|
+
} | undefined;
|
|
8013
8113
|
} | {
|
|
8014
8114
|
type: "Range";
|
|
8015
8115
|
starts: number[];
|
|
@@ -8261,23 +8361,33 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
8261
8361
|
link?: string | undefined;
|
|
8262
8362
|
attributes?: {} | undefined;
|
|
8263
8363
|
}>, z.ZodObject<{
|
|
8364
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
8365
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
8366
|
+
}, "strip", z.ZodTypeAny, {
|
|
8367
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8368
|
+
}, {
|
|
8369
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8370
|
+
}>>;
|
|
8264
8371
|
link: z.ZodString;
|
|
8265
8372
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
8266
8373
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
8267
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
8268
8374
|
type: z.ZodLiteral<"Embed">;
|
|
8269
8375
|
}, "strict", z.ZodTypeAny, {
|
|
8270
8376
|
link: string;
|
|
8271
8377
|
type: "Embed";
|
|
8272
8378
|
starts: number[];
|
|
8273
8379
|
ends: number[];
|
|
8274
|
-
attributes?: {
|
|
8380
|
+
attributes?: {
|
|
8381
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8382
|
+
} | undefined;
|
|
8275
8383
|
}, {
|
|
8276
8384
|
link: string;
|
|
8277
8385
|
type: "Embed";
|
|
8278
8386
|
starts: number[];
|
|
8279
8387
|
ends: number[];
|
|
8280
|
-
attributes?: {
|
|
8388
|
+
attributes?: {
|
|
8389
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8390
|
+
} | undefined;
|
|
8281
8391
|
}>, z.ZodObject<{
|
|
8282
8392
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
8283
8393
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -8464,7 +8574,9 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
8464
8574
|
type: "Embed";
|
|
8465
8575
|
starts: number[];
|
|
8466
8576
|
ends: number[];
|
|
8467
|
-
attributes?: {
|
|
8577
|
+
attributes?: {
|
|
8578
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8579
|
+
} | undefined;
|
|
8468
8580
|
} | {
|
|
8469
8581
|
type: "Range";
|
|
8470
8582
|
starts: number[];
|
|
@@ -8557,7 +8669,9 @@ export declare const HMBlockKnownSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
8557
8669
|
type: "Embed";
|
|
8558
8670
|
starts: number[];
|
|
8559
8671
|
ends: number[];
|
|
8560
|
-
attributes?: {
|
|
8672
|
+
attributes?: {
|
|
8673
|
+
mentionKind?: "account" | "document" | undefined;
|
|
8674
|
+
} | undefined;
|
|
8561
8675
|
} | {
|
|
8562
8676
|
type: "Range";
|
|
8563
8677
|
starts: number[];
|
|
@@ -9437,23 +9551,33 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
9437
9551
|
link?: string | undefined;
|
|
9438
9552
|
attributes?: {} | undefined;
|
|
9439
9553
|
}>, z.ZodObject<{
|
|
9554
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
9555
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
9556
|
+
}, "strip", z.ZodTypeAny, {
|
|
9557
|
+
mentionKind?: "account" | "document" | undefined;
|
|
9558
|
+
}, {
|
|
9559
|
+
mentionKind?: "account" | "document" | undefined;
|
|
9560
|
+
}>>;
|
|
9440
9561
|
link: z.ZodString;
|
|
9441
9562
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
9442
9563
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
9443
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
9444
9564
|
type: z.ZodLiteral<"Embed">;
|
|
9445
9565
|
}, "strict", z.ZodTypeAny, {
|
|
9446
9566
|
link: string;
|
|
9447
9567
|
type: "Embed";
|
|
9448
9568
|
starts: number[];
|
|
9449
9569
|
ends: number[];
|
|
9450
|
-
attributes?: {
|
|
9570
|
+
attributes?: {
|
|
9571
|
+
mentionKind?: "account" | "document" | undefined;
|
|
9572
|
+
} | undefined;
|
|
9451
9573
|
}, {
|
|
9452
9574
|
link: string;
|
|
9453
9575
|
type: "Embed";
|
|
9454
9576
|
starts: number[];
|
|
9455
9577
|
ends: number[];
|
|
9456
|
-
attributes?: {
|
|
9578
|
+
attributes?: {
|
|
9579
|
+
mentionKind?: "account" | "document" | undefined;
|
|
9580
|
+
} | undefined;
|
|
9457
9581
|
}>, z.ZodObject<{
|
|
9458
9582
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
9459
9583
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -9640,7 +9764,9 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
9640
9764
|
type: "Embed";
|
|
9641
9765
|
starts: number[];
|
|
9642
9766
|
ends: number[];
|
|
9643
|
-
attributes?: {
|
|
9767
|
+
attributes?: {
|
|
9768
|
+
mentionKind?: "account" | "document" | undefined;
|
|
9769
|
+
} | undefined;
|
|
9644
9770
|
} | {
|
|
9645
9771
|
type: "Range";
|
|
9646
9772
|
starts: number[];
|
|
@@ -9732,7 +9858,9 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
9732
9858
|
type: "Embed";
|
|
9733
9859
|
starts: number[];
|
|
9734
9860
|
ends: number[];
|
|
9735
|
-
attributes?: {
|
|
9861
|
+
attributes?: {
|
|
9862
|
+
mentionKind?: "account" | "document" | undefined;
|
|
9863
|
+
} | undefined;
|
|
9736
9864
|
} | {
|
|
9737
9865
|
type: "Range";
|
|
9738
9866
|
starts: number[];
|
|
@@ -9894,23 +10022,33 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
9894
10022
|
link?: string | undefined;
|
|
9895
10023
|
attributes?: {} | undefined;
|
|
9896
10024
|
}>, z.ZodObject<{
|
|
10025
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
10026
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
10027
|
+
}, "strip", z.ZodTypeAny, {
|
|
10028
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10029
|
+
}, {
|
|
10030
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10031
|
+
}>>;
|
|
9897
10032
|
link: z.ZodString;
|
|
9898
10033
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
9899
10034
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
9900
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
9901
10035
|
type: z.ZodLiteral<"Embed">;
|
|
9902
10036
|
}, "strict", z.ZodTypeAny, {
|
|
9903
10037
|
link: string;
|
|
9904
10038
|
type: "Embed";
|
|
9905
10039
|
starts: number[];
|
|
9906
10040
|
ends: number[];
|
|
9907
|
-
attributes?: {
|
|
10041
|
+
attributes?: {
|
|
10042
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10043
|
+
} | undefined;
|
|
9908
10044
|
}, {
|
|
9909
10045
|
link: string;
|
|
9910
10046
|
type: "Embed";
|
|
9911
10047
|
starts: number[];
|
|
9912
10048
|
ends: number[];
|
|
9913
|
-
attributes?: {
|
|
10049
|
+
attributes?: {
|
|
10050
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10051
|
+
} | undefined;
|
|
9914
10052
|
}>, z.ZodObject<{
|
|
9915
10053
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
9916
10054
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -10096,7 +10234,9 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
10096
10234
|
type: "Embed";
|
|
10097
10235
|
starts: number[];
|
|
10098
10236
|
ends: number[];
|
|
10099
|
-
attributes?: {
|
|
10237
|
+
attributes?: {
|
|
10238
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10239
|
+
} | undefined;
|
|
10100
10240
|
} | {
|
|
10101
10241
|
type: "Range";
|
|
10102
10242
|
starts: number[];
|
|
@@ -10187,7 +10327,9 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
10187
10327
|
type: "Embed";
|
|
10188
10328
|
starts: number[];
|
|
10189
10329
|
ends: number[];
|
|
10190
|
-
attributes?: {
|
|
10330
|
+
attributes?: {
|
|
10331
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10332
|
+
} | undefined;
|
|
10191
10333
|
} | {
|
|
10192
10334
|
type: "Range";
|
|
10193
10335
|
starts: number[];
|
|
@@ -10439,23 +10581,33 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
10439
10581
|
link?: string | undefined;
|
|
10440
10582
|
attributes?: {} | undefined;
|
|
10441
10583
|
}>, z.ZodObject<{
|
|
10584
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
10585
|
+
mentionKind: z.ZodOptional<z.ZodEnum<["account", "document"]>>;
|
|
10586
|
+
}, "strip", z.ZodTypeAny, {
|
|
10587
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10588
|
+
}, {
|
|
10589
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10590
|
+
}>>;
|
|
10442
10591
|
link: z.ZodString;
|
|
10443
10592
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
10444
10593
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
10445
|
-
attributes: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
10446
10594
|
type: z.ZodLiteral<"Embed">;
|
|
10447
10595
|
}, "strict", z.ZodTypeAny, {
|
|
10448
10596
|
link: string;
|
|
10449
10597
|
type: "Embed";
|
|
10450
10598
|
starts: number[];
|
|
10451
10599
|
ends: number[];
|
|
10452
|
-
attributes?: {
|
|
10600
|
+
attributes?: {
|
|
10601
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10602
|
+
} | undefined;
|
|
10453
10603
|
}, {
|
|
10454
10604
|
link: string;
|
|
10455
10605
|
type: "Embed";
|
|
10456
10606
|
starts: number[];
|
|
10457
10607
|
ends: number[];
|
|
10458
|
-
attributes?: {
|
|
10608
|
+
attributes?: {
|
|
10609
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10610
|
+
} | undefined;
|
|
10459
10611
|
}>, z.ZodObject<{
|
|
10460
10612
|
starts: z.ZodArray<z.ZodNumber, "many">;
|
|
10461
10613
|
ends: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -10642,100 +10794,104 @@ export declare const HMBlockSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<"type",
|
|
|
10642
10794
|
type: "Embed";
|
|
10643
10795
|
starts: number[];
|
|
10644
10796
|
ends: number[];
|
|
10645
|
-
attributes?: {} | undefined;
|
|
10646
|
-
} | {
|
|
10647
|
-
type: "Range";
|
|
10648
|
-
starts: number[];
|
|
10649
|
-
ends: number[];
|
|
10650
|
-
link?: "" | undefined;
|
|
10651
|
-
attributes?: {} | undefined;
|
|
10652
|
-
} | {
|
|
10653
|
-
type: "TextColor";
|
|
10654
|
-
starts: number[];
|
|
10655
|
-
ends: number[];
|
|
10656
|
-
link?: "" | undefined;
|
|
10657
|
-
attributes?: {
|
|
10658
|
-
value: string;
|
|
10659
|
-
} | undefined;
|
|
10660
|
-
} | {
|
|
10661
|
-
type: "BackgroundColor";
|
|
10662
|
-
starts: number[];
|
|
10663
|
-
ends: number[];
|
|
10664
|
-
link?: "" | undefined;
|
|
10665
|
-
attributes?: {
|
|
10666
|
-
value: string;
|
|
10667
|
-
} | undefined;
|
|
10668
|
-
} | {
|
|
10669
|
-
type: "TextSize";
|
|
10670
|
-
starts: number[];
|
|
10671
|
-
ends: number[];
|
|
10672
|
-
link?: "" | undefined;
|
|
10673
10797
|
attributes?: {
|
|
10674
|
-
|
|
10798
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10799
|
+
} | undefined;
|
|
10800
|
+
} | {
|
|
10801
|
+
type: "Range";
|
|
10802
|
+
starts: number[];
|
|
10803
|
+
ends: number[];
|
|
10804
|
+
link?: "" | undefined;
|
|
10805
|
+
attributes?: {} | undefined;
|
|
10806
|
+
} | {
|
|
10807
|
+
type: "TextColor";
|
|
10808
|
+
starts: number[];
|
|
10809
|
+
ends: number[];
|
|
10810
|
+
link?: "" | undefined;
|
|
10811
|
+
attributes?: {
|
|
10812
|
+
value: string;
|
|
10813
|
+
} | undefined;
|
|
10814
|
+
} | {
|
|
10815
|
+
type: "BackgroundColor";
|
|
10816
|
+
starts: number[];
|
|
10817
|
+
ends: number[];
|
|
10818
|
+
link?: "" | undefined;
|
|
10819
|
+
attributes?: {
|
|
10820
|
+
value: string;
|
|
10821
|
+
} | undefined;
|
|
10822
|
+
} | {
|
|
10823
|
+
type: "TextSize";
|
|
10824
|
+
starts: number[];
|
|
10825
|
+
ends: number[];
|
|
10826
|
+
link?: "" | undefined;
|
|
10827
|
+
attributes?: {
|
|
10828
|
+
value: string;
|
|
10829
|
+
} | undefined;
|
|
10830
|
+
} | {
|
|
10831
|
+
type: "TextFamily";
|
|
10832
|
+
starts: number[];
|
|
10833
|
+
ends: number[];
|
|
10834
|
+
link?: "" | undefined;
|
|
10835
|
+
attributes?: {
|
|
10836
|
+
value: string;
|
|
10837
|
+
} | undefined;
|
|
10838
|
+
})[] | undefined;
|
|
10839
|
+
revision?: string | undefined;
|
|
10840
|
+
}, {
|
|
10841
|
+
link: string;
|
|
10842
|
+
type: "Image";
|
|
10843
|
+
id: string;
|
|
10844
|
+
attributes?: {
|
|
10845
|
+
name?: string | undefined;
|
|
10846
|
+
width?: number | undefined;
|
|
10847
|
+
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
10848
|
+
columnCount?: number | undefined;
|
|
10849
|
+
} | undefined;
|
|
10850
|
+
text?: string | undefined;
|
|
10851
|
+
annotations?: ({
|
|
10852
|
+
type: "Bold";
|
|
10853
|
+
starts: number[];
|
|
10854
|
+
ends: number[];
|
|
10855
|
+
link?: "" | undefined;
|
|
10856
|
+
attributes?: {} | undefined;
|
|
10857
|
+
} | {
|
|
10858
|
+
type: "Italic";
|
|
10859
|
+
starts: number[];
|
|
10860
|
+
ends: number[];
|
|
10861
|
+
link?: "" | undefined;
|
|
10862
|
+
attributes?: {} | undefined;
|
|
10863
|
+
} | {
|
|
10864
|
+
type: "Underline";
|
|
10865
|
+
starts: number[];
|
|
10866
|
+
ends: number[];
|
|
10867
|
+
link?: "" | undefined;
|
|
10868
|
+
attributes?: {} | undefined;
|
|
10869
|
+
} | {
|
|
10870
|
+
type: "Strike";
|
|
10871
|
+
starts: number[];
|
|
10872
|
+
ends: number[];
|
|
10873
|
+
link?: "" | undefined;
|
|
10874
|
+
attributes?: {} | undefined;
|
|
10875
|
+
} | {
|
|
10876
|
+
type: "Code";
|
|
10877
|
+
starts: number[];
|
|
10878
|
+
ends: number[];
|
|
10879
|
+
link?: "" | undefined;
|
|
10880
|
+
attributes?: {} | undefined;
|
|
10881
|
+
} | {
|
|
10882
|
+
type: "Link";
|
|
10883
|
+
starts: number[];
|
|
10884
|
+
ends: number[];
|
|
10885
|
+
link?: string | undefined;
|
|
10886
|
+
attributes?: {} | undefined;
|
|
10887
|
+
} | {
|
|
10888
|
+
link: string;
|
|
10889
|
+
type: "Embed";
|
|
10890
|
+
starts: number[];
|
|
10891
|
+
ends: number[];
|
|
10892
|
+
attributes?: {
|
|
10893
|
+
mentionKind?: "account" | "document" | undefined;
|
|
10675
10894
|
} | undefined;
|
|
10676
|
-
} | {
|
|
10677
|
-
type: "TextFamily";
|
|
10678
|
-
starts: number[];
|
|
10679
|
-
ends: number[];
|
|
10680
|
-
link?: "" | undefined;
|
|
10681
|
-
attributes?: {
|
|
10682
|
-
value: string;
|
|
10683
|
-
} | undefined;
|
|
10684
|
-
})[] | undefined;
|
|
10685
|
-
revision?: string | undefined;
|
|
10686
|
-
}, {
|
|
10687
|
-
link: string;
|
|
10688
|
-
type: "Image";
|
|
10689
|
-
id: string;
|
|
10690
|
-
attributes?: {
|
|
10691
|
-
name?: string | undefined;
|
|
10692
|
-
width?: number | undefined;
|
|
10693
|
-
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
10694
|
-
columnCount?: number | undefined;
|
|
10695
|
-
} | undefined;
|
|
10696
|
-
text?: string | undefined;
|
|
10697
|
-
annotations?: ({
|
|
10698
|
-
type: "Bold";
|
|
10699
|
-
starts: number[];
|
|
10700
|
-
ends: number[];
|
|
10701
|
-
link?: "" | undefined;
|
|
10702
|
-
attributes?: {} | undefined;
|
|
10703
|
-
} | {
|
|
10704
|
-
type: "Italic";
|
|
10705
|
-
starts: number[];
|
|
10706
|
-
ends: number[];
|
|
10707
|
-
link?: "" | undefined;
|
|
10708
|
-
attributes?: {} | undefined;
|
|
10709
|
-
} | {
|
|
10710
|
-
type: "Underline";
|
|
10711
|
-
starts: number[];
|
|
10712
|
-
ends: number[];
|
|
10713
|
-
link?: "" | undefined;
|
|
10714
|
-
attributes?: {} | undefined;
|
|
10715
|
-
} | {
|
|
10716
|
-
type: "Strike";
|
|
10717
|
-
starts: number[];
|
|
10718
|
-
ends: number[];
|
|
10719
|
-
link?: "" | undefined;
|
|
10720
|
-
attributes?: {} | undefined;
|
|
10721
|
-
} | {
|
|
10722
|
-
type: "Code";
|
|
10723
|
-
starts: number[];
|
|
10724
|
-
ends: number[];
|
|
10725
|
-
link?: "" | undefined;
|
|
10726
|
-
attributes?: {} | undefined;
|
|
10727
|
-
} | {
|
|
10728
|
-
type: "Link";
|
|
10729
|
-
starts: number[];
|
|
10730
|
-
ends: number[];
|
|
10731
|
-
link?: string | undefined;
|
|
10732
|
-
attributes?: {} | undefined;
|
|
10733
|
-
} | {
|
|
10734
|
-
link: string;
|
|
10735
|
-
type: "Embed";
|
|
10736
|
-
starts: number[];
|
|
10737
|
-
ends: number[];
|
|
10738
|
-
attributes?: {} | undefined;
|
|
10739
10895
|
} | {
|
|
10740
10896
|
type: "Range";
|
|
10741
10897
|
starts: number[];
|
|
@@ -11690,6 +11846,7 @@ export declare const HMDocumentSchema: z.ZodObject<{
|
|
|
11690
11846
|
}, "strip", z.ZodTypeAny, {
|
|
11691
11847
|
path: string;
|
|
11692
11848
|
version: string;
|
|
11849
|
+
account: string;
|
|
11693
11850
|
content: HMBlockNode[];
|
|
11694
11851
|
createTime: string | {
|
|
11695
11852
|
seconds: number | bigint;
|
|
@@ -11728,7 +11885,6 @@ export declare const HMDocumentSchema: z.ZodObject<{
|
|
|
11728
11885
|
};
|
|
11729
11886
|
genesis: string;
|
|
11730
11887
|
authors: string[];
|
|
11731
|
-
account: string;
|
|
11732
11888
|
generationInfo?: {
|
|
11733
11889
|
genesis: string;
|
|
11734
11890
|
generation: bigint;
|
|
@@ -11766,6 +11922,7 @@ export declare const HMDocumentSchema: z.ZodObject<{
|
|
|
11766
11922
|
authors: string[];
|
|
11767
11923
|
path?: string | undefined;
|
|
11768
11924
|
version?: string | undefined;
|
|
11925
|
+
account?: string | undefined;
|
|
11769
11926
|
content?: HMBlockNode[] | undefined;
|
|
11770
11927
|
createTime?: string | {
|
|
11771
11928
|
seconds: number | bigint;
|
|
@@ -11779,7 +11936,6 @@ export declare const HMDocumentSchema: z.ZodObject<{
|
|
|
11779
11936
|
genesis: string;
|
|
11780
11937
|
generation: bigint;
|
|
11781
11938
|
} | undefined;
|
|
11782
|
-
account?: string | undefined;
|
|
11783
11939
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
11784
11940
|
}>;
|
|
11785
11941
|
export type HMDocument = z.infer<typeof HMDocumentSchema>;
|
|
@@ -11966,177 +12122,7 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
|
|
|
11966
12122
|
}, "strip", z.ZodTypeAny, {
|
|
11967
12123
|
path: string;
|
|
11968
12124
|
version: string;
|
|
11969
|
-
content: HMBlockNode[];
|
|
11970
|
-
createTime: string | {
|
|
11971
|
-
seconds: number | bigint;
|
|
11972
|
-
nanos: number;
|
|
11973
|
-
};
|
|
11974
|
-
updateTime: string | {
|
|
11975
|
-
seconds: number | bigint;
|
|
11976
|
-
nanos: number;
|
|
11977
|
-
};
|
|
11978
|
-
visibility: "PUBLIC" | "PRIVATE";
|
|
11979
|
-
metadata: {
|
|
11980
|
-
name?: string | undefined;
|
|
11981
|
-
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
11982
|
-
summary?: string | undefined;
|
|
11983
|
-
icon?: string | undefined;
|
|
11984
|
-
thumbnail?: string | undefined;
|
|
11985
|
-
cover?: string | undefined;
|
|
11986
|
-
siteUrl?: string | undefined;
|
|
11987
|
-
agentServerUrl?: string | undefined;
|
|
11988
|
-
spaceAgents?: Record<string, unknown> | undefined;
|
|
11989
|
-
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
11990
|
-
displayPublishTime?: string | undefined;
|
|
11991
|
-
displayAuthor?: string | undefined;
|
|
11992
|
-
seedExperimentalLogo?: string | undefined;
|
|
11993
|
-
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
11994
|
-
showOutline?: boolean | undefined;
|
|
11995
|
-
showActivity?: boolean | undefined;
|
|
11996
|
-
contentWidth?: "S" | "M" | "L" | undefined;
|
|
11997
|
-
theme?: {
|
|
11998
|
-
headerLayout?: "" | "Center" | undefined;
|
|
11999
|
-
} | undefined;
|
|
12000
|
-
importCategories?: string | undefined;
|
|
12001
|
-
importTags?: string | undefined;
|
|
12002
|
-
} & {
|
|
12003
|
-
[k: string]: unknown;
|
|
12004
|
-
};
|
|
12005
|
-
genesis: string;
|
|
12006
|
-
authors: string[];
|
|
12007
12125
|
account: string;
|
|
12008
|
-
generationInfo?: {
|
|
12009
|
-
genesis: string;
|
|
12010
|
-
generation: bigint;
|
|
12011
|
-
} | undefined;
|
|
12012
|
-
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
12013
|
-
}, {
|
|
12014
|
-
visibility: string | number;
|
|
12015
|
-
metadata: {
|
|
12016
|
-
name?: string | undefined;
|
|
12017
|
-
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
12018
|
-
summary?: string | undefined;
|
|
12019
|
-
icon?: string | undefined;
|
|
12020
|
-
thumbnail?: string | undefined;
|
|
12021
|
-
cover?: string | undefined;
|
|
12022
|
-
siteUrl?: string | undefined;
|
|
12023
|
-
agentServerUrl?: string | undefined;
|
|
12024
|
-
spaceAgents?: Record<string, unknown> | undefined;
|
|
12025
|
-
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
12026
|
-
displayPublishTime?: string | undefined;
|
|
12027
|
-
displayAuthor?: string | undefined;
|
|
12028
|
-
seedExperimentalLogo?: string | undefined;
|
|
12029
|
-
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
12030
|
-
showOutline?: boolean | undefined;
|
|
12031
|
-
showActivity?: boolean | undefined;
|
|
12032
|
-
contentWidth?: "S" | "M" | "L" | undefined;
|
|
12033
|
-
theme?: {
|
|
12034
|
-
headerLayout?: "" | "Center" | undefined;
|
|
12035
|
-
} | undefined;
|
|
12036
|
-
importCategories?: string | undefined;
|
|
12037
|
-
importTags?: string | undefined;
|
|
12038
|
-
} & {
|
|
12039
|
-
[k: string]: unknown;
|
|
12040
|
-
};
|
|
12041
|
-
genesis: string;
|
|
12042
|
-
authors: string[];
|
|
12043
|
-
path?: string | undefined;
|
|
12044
|
-
version?: string | undefined;
|
|
12045
|
-
content?: HMBlockNode[] | undefined;
|
|
12046
|
-
createTime?: string | {
|
|
12047
|
-
seconds: number | bigint;
|
|
12048
|
-
nanos: number;
|
|
12049
|
-
} | undefined;
|
|
12050
|
-
updateTime?: string | {
|
|
12051
|
-
seconds: number | bigint;
|
|
12052
|
-
nanos: number;
|
|
12053
|
-
} | undefined;
|
|
12054
|
-
generationInfo?: {
|
|
12055
|
-
genesis: string;
|
|
12056
|
-
generation: bigint;
|
|
12057
|
-
} | undefined;
|
|
12058
|
-
account?: string | undefined;
|
|
12059
|
-
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
12060
|
-
}>;
|
|
12061
|
-
id: z.ZodObject<{
|
|
12062
|
-
id: z.ZodString;
|
|
12063
|
-
uid: z.ZodString;
|
|
12064
|
-
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
12065
|
-
version: z.ZodNullable<z.ZodString>;
|
|
12066
|
-
blockRef: z.ZodNullable<z.ZodString>;
|
|
12067
|
-
blockRange: z.ZodNullable<z.ZodObject<{
|
|
12068
|
-
start: z.ZodOptional<z.ZodNumber>;
|
|
12069
|
-
end: z.ZodOptional<z.ZodNumber>;
|
|
12070
|
-
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
12071
|
-
}, "strip", z.ZodTypeAny, {
|
|
12072
|
-
start?: number | undefined;
|
|
12073
|
-
end?: number | undefined;
|
|
12074
|
-
expanded?: boolean | undefined;
|
|
12075
|
-
}, {
|
|
12076
|
-
start?: number | undefined;
|
|
12077
|
-
end?: number | undefined;
|
|
12078
|
-
expanded?: boolean | undefined;
|
|
12079
|
-
}>>;
|
|
12080
|
-
hostname: z.ZodNullable<z.ZodString>;
|
|
12081
|
-
scheme: z.ZodNullable<z.ZodString>;
|
|
12082
|
-
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12083
|
-
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12084
|
-
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
12085
|
-
}, "strip", z.ZodTypeAny, {
|
|
12086
|
-
path: string[] | null;
|
|
12087
|
-
version: string | null;
|
|
12088
|
-
id: string;
|
|
12089
|
-
uid: string;
|
|
12090
|
-
blockRef: string | null;
|
|
12091
|
-
blockRange: {
|
|
12092
|
-
start?: number | undefined;
|
|
12093
|
-
end?: number | undefined;
|
|
12094
|
-
expanded?: boolean | undefined;
|
|
12095
|
-
} | null;
|
|
12096
|
-
hostname: string | null;
|
|
12097
|
-
scheme: string | null;
|
|
12098
|
-
latest?: boolean | null | undefined;
|
|
12099
|
-
targetDocUid?: string | null | undefined;
|
|
12100
|
-
targetDocPath?: string[] | null | undefined;
|
|
12101
|
-
}, {
|
|
12102
|
-
path: string[] | null;
|
|
12103
|
-
version: string | null;
|
|
12104
|
-
id: string;
|
|
12105
|
-
uid: string;
|
|
12106
|
-
blockRef: string | null;
|
|
12107
|
-
blockRange: {
|
|
12108
|
-
start?: number | undefined;
|
|
12109
|
-
end?: number | undefined;
|
|
12110
|
-
expanded?: boolean | undefined;
|
|
12111
|
-
} | null;
|
|
12112
|
-
hostname: string | null;
|
|
12113
|
-
scheme: string | null;
|
|
12114
|
-
latest?: boolean | null | undefined;
|
|
12115
|
-
targetDocUid?: string | null | undefined;
|
|
12116
|
-
targetDocPath?: string[] | null | undefined;
|
|
12117
|
-
}>;
|
|
12118
|
-
}, "strip", z.ZodTypeAny, {
|
|
12119
|
-
type: "document";
|
|
12120
|
-
id: {
|
|
12121
|
-
path: string[] | null;
|
|
12122
|
-
version: string | null;
|
|
12123
|
-
id: string;
|
|
12124
|
-
uid: string;
|
|
12125
|
-
blockRef: string | null;
|
|
12126
|
-
blockRange: {
|
|
12127
|
-
start?: number | undefined;
|
|
12128
|
-
end?: number | undefined;
|
|
12129
|
-
expanded?: boolean | undefined;
|
|
12130
|
-
} | null;
|
|
12131
|
-
hostname: string | null;
|
|
12132
|
-
scheme: string | null;
|
|
12133
|
-
latest?: boolean | null | undefined;
|
|
12134
|
-
targetDocUid?: string | null | undefined;
|
|
12135
|
-
targetDocPath?: string[] | null | undefined;
|
|
12136
|
-
};
|
|
12137
|
-
document: {
|
|
12138
|
-
path: string;
|
|
12139
|
-
version: string;
|
|
12140
12126
|
content: HMBlockNode[];
|
|
12141
12127
|
createTime: string | {
|
|
12142
12128
|
seconds: number | bigint;
|
|
@@ -12175,7 +12161,177 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
|
|
|
12175
12161
|
};
|
|
12176
12162
|
genesis: string;
|
|
12177
12163
|
authors: string[];
|
|
12164
|
+
generationInfo?: {
|
|
12165
|
+
genesis: string;
|
|
12166
|
+
generation: bigint;
|
|
12167
|
+
} | undefined;
|
|
12168
|
+
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
12169
|
+
}, {
|
|
12170
|
+
visibility: string | number;
|
|
12171
|
+
metadata: {
|
|
12172
|
+
name?: string | undefined;
|
|
12173
|
+
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
12174
|
+
summary?: string | undefined;
|
|
12175
|
+
icon?: string | undefined;
|
|
12176
|
+
thumbnail?: string | undefined;
|
|
12177
|
+
cover?: string | undefined;
|
|
12178
|
+
siteUrl?: string | undefined;
|
|
12179
|
+
agentServerUrl?: string | undefined;
|
|
12180
|
+
spaceAgents?: Record<string, unknown> | undefined;
|
|
12181
|
+
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
12182
|
+
displayPublishTime?: string | undefined;
|
|
12183
|
+
displayAuthor?: string | undefined;
|
|
12184
|
+
seedExperimentalLogo?: string | undefined;
|
|
12185
|
+
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
12186
|
+
showOutline?: boolean | undefined;
|
|
12187
|
+
showActivity?: boolean | undefined;
|
|
12188
|
+
contentWidth?: "S" | "M" | "L" | undefined;
|
|
12189
|
+
theme?: {
|
|
12190
|
+
headerLayout?: "" | "Center" | undefined;
|
|
12191
|
+
} | undefined;
|
|
12192
|
+
importCategories?: string | undefined;
|
|
12193
|
+
importTags?: string | undefined;
|
|
12194
|
+
} & {
|
|
12195
|
+
[k: string]: unknown;
|
|
12196
|
+
};
|
|
12197
|
+
genesis: string;
|
|
12198
|
+
authors: string[];
|
|
12199
|
+
path?: string | undefined;
|
|
12200
|
+
version?: string | undefined;
|
|
12201
|
+
account?: string | undefined;
|
|
12202
|
+
content?: HMBlockNode[] | undefined;
|
|
12203
|
+
createTime?: string | {
|
|
12204
|
+
seconds: number | bigint;
|
|
12205
|
+
nanos: number;
|
|
12206
|
+
} | undefined;
|
|
12207
|
+
updateTime?: string | {
|
|
12208
|
+
seconds: number | bigint;
|
|
12209
|
+
nanos: number;
|
|
12210
|
+
} | undefined;
|
|
12211
|
+
generationInfo?: {
|
|
12212
|
+
genesis: string;
|
|
12213
|
+
generation: bigint;
|
|
12214
|
+
} | undefined;
|
|
12215
|
+
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
12216
|
+
}>;
|
|
12217
|
+
id: z.ZodObject<{
|
|
12218
|
+
id: z.ZodString;
|
|
12219
|
+
uid: z.ZodString;
|
|
12220
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
12221
|
+
version: z.ZodNullable<z.ZodString>;
|
|
12222
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
12223
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
12224
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
12225
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
12226
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
12227
|
+
}, "strip", z.ZodTypeAny, {
|
|
12228
|
+
start?: number | undefined;
|
|
12229
|
+
end?: number | undefined;
|
|
12230
|
+
expanded?: boolean | undefined;
|
|
12231
|
+
}, {
|
|
12232
|
+
start?: number | undefined;
|
|
12233
|
+
end?: number | undefined;
|
|
12234
|
+
expanded?: boolean | undefined;
|
|
12235
|
+
}>>;
|
|
12236
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
12237
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
12238
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12239
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12240
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
12241
|
+
}, "strip", z.ZodTypeAny, {
|
|
12242
|
+
path: string[] | null;
|
|
12243
|
+
version: string | null;
|
|
12244
|
+
id: string;
|
|
12245
|
+
uid: string;
|
|
12246
|
+
blockRef: string | null;
|
|
12247
|
+
blockRange: {
|
|
12248
|
+
start?: number | undefined;
|
|
12249
|
+
end?: number | undefined;
|
|
12250
|
+
expanded?: boolean | undefined;
|
|
12251
|
+
} | null;
|
|
12252
|
+
hostname: string | null;
|
|
12253
|
+
scheme: string | null;
|
|
12254
|
+
latest?: boolean | null | undefined;
|
|
12255
|
+
targetDocUid?: string | null | undefined;
|
|
12256
|
+
targetDocPath?: string[] | null | undefined;
|
|
12257
|
+
}, {
|
|
12258
|
+
path: string[] | null;
|
|
12259
|
+
version: string | null;
|
|
12260
|
+
id: string;
|
|
12261
|
+
uid: string;
|
|
12262
|
+
blockRef: string | null;
|
|
12263
|
+
blockRange: {
|
|
12264
|
+
start?: number | undefined;
|
|
12265
|
+
end?: number | undefined;
|
|
12266
|
+
expanded?: boolean | undefined;
|
|
12267
|
+
} | null;
|
|
12268
|
+
hostname: string | null;
|
|
12269
|
+
scheme: string | null;
|
|
12270
|
+
latest?: boolean | null | undefined;
|
|
12271
|
+
targetDocUid?: string | null | undefined;
|
|
12272
|
+
targetDocPath?: string[] | null | undefined;
|
|
12273
|
+
}>;
|
|
12274
|
+
}, "strip", z.ZodTypeAny, {
|
|
12275
|
+
type: "document";
|
|
12276
|
+
id: {
|
|
12277
|
+
path: string[] | null;
|
|
12278
|
+
version: string | null;
|
|
12279
|
+
id: string;
|
|
12280
|
+
uid: string;
|
|
12281
|
+
blockRef: string | null;
|
|
12282
|
+
blockRange: {
|
|
12283
|
+
start?: number | undefined;
|
|
12284
|
+
end?: number | undefined;
|
|
12285
|
+
expanded?: boolean | undefined;
|
|
12286
|
+
} | null;
|
|
12287
|
+
hostname: string | null;
|
|
12288
|
+
scheme: string | null;
|
|
12289
|
+
latest?: boolean | null | undefined;
|
|
12290
|
+
targetDocUid?: string | null | undefined;
|
|
12291
|
+
targetDocPath?: string[] | null | undefined;
|
|
12292
|
+
};
|
|
12293
|
+
document: {
|
|
12294
|
+
path: string;
|
|
12295
|
+
version: string;
|
|
12178
12296
|
account: string;
|
|
12297
|
+
content: HMBlockNode[];
|
|
12298
|
+
createTime: string | {
|
|
12299
|
+
seconds: number | bigint;
|
|
12300
|
+
nanos: number;
|
|
12301
|
+
};
|
|
12302
|
+
updateTime: string | {
|
|
12303
|
+
seconds: number | bigint;
|
|
12304
|
+
nanos: number;
|
|
12305
|
+
};
|
|
12306
|
+
visibility: "PUBLIC" | "PRIVATE";
|
|
12307
|
+
metadata: {
|
|
12308
|
+
name?: string | undefined;
|
|
12309
|
+
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
12310
|
+
summary?: string | undefined;
|
|
12311
|
+
icon?: string | undefined;
|
|
12312
|
+
thumbnail?: string | undefined;
|
|
12313
|
+
cover?: string | undefined;
|
|
12314
|
+
siteUrl?: string | undefined;
|
|
12315
|
+
agentServerUrl?: string | undefined;
|
|
12316
|
+
spaceAgents?: Record<string, unknown> | undefined;
|
|
12317
|
+
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
12318
|
+
displayPublishTime?: string | undefined;
|
|
12319
|
+
displayAuthor?: string | undefined;
|
|
12320
|
+
seedExperimentalLogo?: string | undefined;
|
|
12321
|
+
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
12322
|
+
showOutline?: boolean | undefined;
|
|
12323
|
+
showActivity?: boolean | undefined;
|
|
12324
|
+
contentWidth?: "S" | "M" | "L" | undefined;
|
|
12325
|
+
theme?: {
|
|
12326
|
+
headerLayout?: "" | "Center" | undefined;
|
|
12327
|
+
} | undefined;
|
|
12328
|
+
importCategories?: string | undefined;
|
|
12329
|
+
importTags?: string | undefined;
|
|
12330
|
+
} & {
|
|
12331
|
+
[k: string]: unknown;
|
|
12332
|
+
};
|
|
12333
|
+
genesis: string;
|
|
12334
|
+
authors: string[];
|
|
12179
12335
|
generationInfo?: {
|
|
12180
12336
|
genesis: string;
|
|
12181
12337
|
generation: bigint;
|
|
@@ -12233,6 +12389,7 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
|
|
|
12233
12389
|
authors: string[];
|
|
12234
12390
|
path?: string | undefined;
|
|
12235
12391
|
version?: string | undefined;
|
|
12392
|
+
account?: string | undefined;
|
|
12236
12393
|
content?: HMBlockNode[] | undefined;
|
|
12237
12394
|
createTime?: string | {
|
|
12238
12395
|
seconds: number | bigint;
|
|
@@ -12246,7 +12403,6 @@ export declare const HMResourceDocumentSchema: z.ZodObject<{
|
|
|
12246
12403
|
genesis: string;
|
|
12247
12404
|
generation: bigint;
|
|
12248
12405
|
} | undefined;
|
|
12249
|
-
account?: string | undefined;
|
|
12250
12406
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
12251
12407
|
};
|
|
12252
12408
|
}>;
|
|
@@ -13151,177 +13307,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
13151
13307
|
}, "strip", z.ZodTypeAny, {
|
|
13152
13308
|
path: string;
|
|
13153
13309
|
version: string;
|
|
13154
|
-
content: HMBlockNode[];
|
|
13155
|
-
createTime: string | {
|
|
13156
|
-
seconds: number | bigint;
|
|
13157
|
-
nanos: number;
|
|
13158
|
-
};
|
|
13159
|
-
updateTime: string | {
|
|
13160
|
-
seconds: number | bigint;
|
|
13161
|
-
nanos: number;
|
|
13162
|
-
};
|
|
13163
|
-
visibility: "PUBLIC" | "PRIVATE";
|
|
13164
|
-
metadata: {
|
|
13165
|
-
name?: string | undefined;
|
|
13166
|
-
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
13167
|
-
summary?: string | undefined;
|
|
13168
|
-
icon?: string | undefined;
|
|
13169
|
-
thumbnail?: string | undefined;
|
|
13170
|
-
cover?: string | undefined;
|
|
13171
|
-
siteUrl?: string | undefined;
|
|
13172
|
-
agentServerUrl?: string | undefined;
|
|
13173
|
-
spaceAgents?: Record<string, unknown> | undefined;
|
|
13174
|
-
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
13175
|
-
displayPublishTime?: string | undefined;
|
|
13176
|
-
displayAuthor?: string | undefined;
|
|
13177
|
-
seedExperimentalLogo?: string | undefined;
|
|
13178
|
-
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
13179
|
-
showOutline?: boolean | undefined;
|
|
13180
|
-
showActivity?: boolean | undefined;
|
|
13181
|
-
contentWidth?: "S" | "M" | "L" | undefined;
|
|
13182
|
-
theme?: {
|
|
13183
|
-
headerLayout?: "" | "Center" | undefined;
|
|
13184
|
-
} | undefined;
|
|
13185
|
-
importCategories?: string | undefined;
|
|
13186
|
-
importTags?: string | undefined;
|
|
13187
|
-
} & {
|
|
13188
|
-
[k: string]: unknown;
|
|
13189
|
-
};
|
|
13190
|
-
genesis: string;
|
|
13191
|
-
authors: string[];
|
|
13192
13310
|
account: string;
|
|
13193
|
-
generationInfo?: {
|
|
13194
|
-
genesis: string;
|
|
13195
|
-
generation: bigint;
|
|
13196
|
-
} | undefined;
|
|
13197
|
-
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
13198
|
-
}, {
|
|
13199
|
-
visibility: string | number;
|
|
13200
|
-
metadata: {
|
|
13201
|
-
name?: string | undefined;
|
|
13202
|
-
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
13203
|
-
summary?: string | undefined;
|
|
13204
|
-
icon?: string | undefined;
|
|
13205
|
-
thumbnail?: string | undefined;
|
|
13206
|
-
cover?: string | undefined;
|
|
13207
|
-
siteUrl?: string | undefined;
|
|
13208
|
-
agentServerUrl?: string | undefined;
|
|
13209
|
-
spaceAgents?: Record<string, unknown> | undefined;
|
|
13210
|
-
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
13211
|
-
displayPublishTime?: string | undefined;
|
|
13212
|
-
displayAuthor?: string | undefined;
|
|
13213
|
-
seedExperimentalLogo?: string | undefined;
|
|
13214
|
-
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
13215
|
-
showOutline?: boolean | undefined;
|
|
13216
|
-
showActivity?: boolean | undefined;
|
|
13217
|
-
contentWidth?: "S" | "M" | "L" | undefined;
|
|
13218
|
-
theme?: {
|
|
13219
|
-
headerLayout?: "" | "Center" | undefined;
|
|
13220
|
-
} | undefined;
|
|
13221
|
-
importCategories?: string | undefined;
|
|
13222
|
-
importTags?: string | undefined;
|
|
13223
|
-
} & {
|
|
13224
|
-
[k: string]: unknown;
|
|
13225
|
-
};
|
|
13226
|
-
genesis: string;
|
|
13227
|
-
authors: string[];
|
|
13228
|
-
path?: string | undefined;
|
|
13229
|
-
version?: string | undefined;
|
|
13230
|
-
content?: HMBlockNode[] | undefined;
|
|
13231
|
-
createTime?: string | {
|
|
13232
|
-
seconds: number | bigint;
|
|
13233
|
-
nanos: number;
|
|
13234
|
-
} | undefined;
|
|
13235
|
-
updateTime?: string | {
|
|
13236
|
-
seconds: number | bigint;
|
|
13237
|
-
nanos: number;
|
|
13238
|
-
} | undefined;
|
|
13239
|
-
generationInfo?: {
|
|
13240
|
-
genesis: string;
|
|
13241
|
-
generation: bigint;
|
|
13242
|
-
} | undefined;
|
|
13243
|
-
account?: string | undefined;
|
|
13244
|
-
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
13245
|
-
}>;
|
|
13246
|
-
id: z.ZodObject<{
|
|
13247
|
-
id: z.ZodString;
|
|
13248
|
-
uid: z.ZodString;
|
|
13249
|
-
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
13250
|
-
version: z.ZodNullable<z.ZodString>;
|
|
13251
|
-
blockRef: z.ZodNullable<z.ZodString>;
|
|
13252
|
-
blockRange: z.ZodNullable<z.ZodObject<{
|
|
13253
|
-
start: z.ZodOptional<z.ZodNumber>;
|
|
13254
|
-
end: z.ZodOptional<z.ZodNumber>;
|
|
13255
|
-
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
13256
|
-
}, "strip", z.ZodTypeAny, {
|
|
13257
|
-
start?: number | undefined;
|
|
13258
|
-
end?: number | undefined;
|
|
13259
|
-
expanded?: boolean | undefined;
|
|
13260
|
-
}, {
|
|
13261
|
-
start?: number | undefined;
|
|
13262
|
-
end?: number | undefined;
|
|
13263
|
-
expanded?: boolean | undefined;
|
|
13264
|
-
}>>;
|
|
13265
|
-
hostname: z.ZodNullable<z.ZodString>;
|
|
13266
|
-
scheme: z.ZodNullable<z.ZodString>;
|
|
13267
|
-
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13268
|
-
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13269
|
-
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
13270
|
-
}, "strip", z.ZodTypeAny, {
|
|
13271
|
-
path: string[] | null;
|
|
13272
|
-
version: string | null;
|
|
13273
|
-
id: string;
|
|
13274
|
-
uid: string;
|
|
13275
|
-
blockRef: string | null;
|
|
13276
|
-
blockRange: {
|
|
13277
|
-
start?: number | undefined;
|
|
13278
|
-
end?: number | undefined;
|
|
13279
|
-
expanded?: boolean | undefined;
|
|
13280
|
-
} | null;
|
|
13281
|
-
hostname: string | null;
|
|
13282
|
-
scheme: string | null;
|
|
13283
|
-
latest?: boolean | null | undefined;
|
|
13284
|
-
targetDocUid?: string | null | undefined;
|
|
13285
|
-
targetDocPath?: string[] | null | undefined;
|
|
13286
|
-
}, {
|
|
13287
|
-
path: string[] | null;
|
|
13288
|
-
version: string | null;
|
|
13289
|
-
id: string;
|
|
13290
|
-
uid: string;
|
|
13291
|
-
blockRef: string | null;
|
|
13292
|
-
blockRange: {
|
|
13293
|
-
start?: number | undefined;
|
|
13294
|
-
end?: number | undefined;
|
|
13295
|
-
expanded?: boolean | undefined;
|
|
13296
|
-
} | null;
|
|
13297
|
-
hostname: string | null;
|
|
13298
|
-
scheme: string | null;
|
|
13299
|
-
latest?: boolean | null | undefined;
|
|
13300
|
-
targetDocUid?: string | null | undefined;
|
|
13301
|
-
targetDocPath?: string[] | null | undefined;
|
|
13302
|
-
}>;
|
|
13303
|
-
}, "strip", z.ZodTypeAny, {
|
|
13304
|
-
type: "document";
|
|
13305
|
-
id: {
|
|
13306
|
-
path: string[] | null;
|
|
13307
|
-
version: string | null;
|
|
13308
|
-
id: string;
|
|
13309
|
-
uid: string;
|
|
13310
|
-
blockRef: string | null;
|
|
13311
|
-
blockRange: {
|
|
13312
|
-
start?: number | undefined;
|
|
13313
|
-
end?: number | undefined;
|
|
13314
|
-
expanded?: boolean | undefined;
|
|
13315
|
-
} | null;
|
|
13316
|
-
hostname: string | null;
|
|
13317
|
-
scheme: string | null;
|
|
13318
|
-
latest?: boolean | null | undefined;
|
|
13319
|
-
targetDocUid?: string | null | undefined;
|
|
13320
|
-
targetDocPath?: string[] | null | undefined;
|
|
13321
|
-
};
|
|
13322
|
-
document: {
|
|
13323
|
-
path: string;
|
|
13324
|
-
version: string;
|
|
13325
13311
|
content: HMBlockNode[];
|
|
13326
13312
|
createTime: string | {
|
|
13327
13313
|
seconds: number | bigint;
|
|
@@ -13360,7 +13346,177 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
13360
13346
|
};
|
|
13361
13347
|
genesis: string;
|
|
13362
13348
|
authors: string[];
|
|
13349
|
+
generationInfo?: {
|
|
13350
|
+
genesis: string;
|
|
13351
|
+
generation: bigint;
|
|
13352
|
+
} | undefined;
|
|
13353
|
+
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
13354
|
+
}, {
|
|
13355
|
+
visibility: string | number;
|
|
13356
|
+
metadata: {
|
|
13357
|
+
name?: string | undefined;
|
|
13358
|
+
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
13359
|
+
summary?: string | undefined;
|
|
13360
|
+
icon?: string | undefined;
|
|
13361
|
+
thumbnail?: string | undefined;
|
|
13362
|
+
cover?: string | undefined;
|
|
13363
|
+
siteUrl?: string | undefined;
|
|
13364
|
+
agentServerUrl?: string | undefined;
|
|
13365
|
+
spaceAgents?: Record<string, unknown> | undefined;
|
|
13366
|
+
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
13367
|
+
displayPublishTime?: string | undefined;
|
|
13368
|
+
displayAuthor?: string | undefined;
|
|
13369
|
+
seedExperimentalLogo?: string | undefined;
|
|
13370
|
+
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
13371
|
+
showOutline?: boolean | undefined;
|
|
13372
|
+
showActivity?: boolean | undefined;
|
|
13373
|
+
contentWidth?: "S" | "M" | "L" | undefined;
|
|
13374
|
+
theme?: {
|
|
13375
|
+
headerLayout?: "" | "Center" | undefined;
|
|
13376
|
+
} | undefined;
|
|
13377
|
+
importCategories?: string | undefined;
|
|
13378
|
+
importTags?: string | undefined;
|
|
13379
|
+
} & {
|
|
13380
|
+
[k: string]: unknown;
|
|
13381
|
+
};
|
|
13382
|
+
genesis: string;
|
|
13383
|
+
authors: string[];
|
|
13384
|
+
path?: string | undefined;
|
|
13385
|
+
version?: string | undefined;
|
|
13386
|
+
account?: string | undefined;
|
|
13387
|
+
content?: HMBlockNode[] | undefined;
|
|
13388
|
+
createTime?: string | {
|
|
13389
|
+
seconds: number | bigint;
|
|
13390
|
+
nanos: number;
|
|
13391
|
+
} | undefined;
|
|
13392
|
+
updateTime?: string | {
|
|
13393
|
+
seconds: number | bigint;
|
|
13394
|
+
nanos: number;
|
|
13395
|
+
} | undefined;
|
|
13396
|
+
generationInfo?: {
|
|
13397
|
+
genesis: string;
|
|
13398
|
+
generation: bigint;
|
|
13399
|
+
} | undefined;
|
|
13400
|
+
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
13401
|
+
}>;
|
|
13402
|
+
id: z.ZodObject<{
|
|
13403
|
+
id: z.ZodString;
|
|
13404
|
+
uid: z.ZodString;
|
|
13405
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
13406
|
+
version: z.ZodNullable<z.ZodString>;
|
|
13407
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
13408
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
13409
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
13410
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
13411
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
13412
|
+
}, "strip", z.ZodTypeAny, {
|
|
13413
|
+
start?: number | undefined;
|
|
13414
|
+
end?: number | undefined;
|
|
13415
|
+
expanded?: boolean | undefined;
|
|
13416
|
+
}, {
|
|
13417
|
+
start?: number | undefined;
|
|
13418
|
+
end?: number | undefined;
|
|
13419
|
+
expanded?: boolean | undefined;
|
|
13420
|
+
}>>;
|
|
13421
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
13422
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
13423
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13424
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13425
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
13426
|
+
}, "strip", z.ZodTypeAny, {
|
|
13427
|
+
path: string[] | null;
|
|
13428
|
+
version: string | null;
|
|
13429
|
+
id: string;
|
|
13430
|
+
uid: string;
|
|
13431
|
+
blockRef: string | null;
|
|
13432
|
+
blockRange: {
|
|
13433
|
+
start?: number | undefined;
|
|
13434
|
+
end?: number | undefined;
|
|
13435
|
+
expanded?: boolean | undefined;
|
|
13436
|
+
} | null;
|
|
13437
|
+
hostname: string | null;
|
|
13438
|
+
scheme: string | null;
|
|
13439
|
+
latest?: boolean | null | undefined;
|
|
13440
|
+
targetDocUid?: string | null | undefined;
|
|
13441
|
+
targetDocPath?: string[] | null | undefined;
|
|
13442
|
+
}, {
|
|
13443
|
+
path: string[] | null;
|
|
13444
|
+
version: string | null;
|
|
13445
|
+
id: string;
|
|
13446
|
+
uid: string;
|
|
13447
|
+
blockRef: string | null;
|
|
13448
|
+
blockRange: {
|
|
13449
|
+
start?: number | undefined;
|
|
13450
|
+
end?: number | undefined;
|
|
13451
|
+
expanded?: boolean | undefined;
|
|
13452
|
+
} | null;
|
|
13453
|
+
hostname: string | null;
|
|
13454
|
+
scheme: string | null;
|
|
13455
|
+
latest?: boolean | null | undefined;
|
|
13456
|
+
targetDocUid?: string | null | undefined;
|
|
13457
|
+
targetDocPath?: string[] | null | undefined;
|
|
13458
|
+
}>;
|
|
13459
|
+
}, "strip", z.ZodTypeAny, {
|
|
13460
|
+
type: "document";
|
|
13461
|
+
id: {
|
|
13462
|
+
path: string[] | null;
|
|
13463
|
+
version: string | null;
|
|
13464
|
+
id: string;
|
|
13465
|
+
uid: string;
|
|
13466
|
+
blockRef: string | null;
|
|
13467
|
+
blockRange: {
|
|
13468
|
+
start?: number | undefined;
|
|
13469
|
+
end?: number | undefined;
|
|
13470
|
+
expanded?: boolean | undefined;
|
|
13471
|
+
} | null;
|
|
13472
|
+
hostname: string | null;
|
|
13473
|
+
scheme: string | null;
|
|
13474
|
+
latest?: boolean | null | undefined;
|
|
13475
|
+
targetDocUid?: string | null | undefined;
|
|
13476
|
+
targetDocPath?: string[] | null | undefined;
|
|
13477
|
+
};
|
|
13478
|
+
document: {
|
|
13479
|
+
path: string;
|
|
13480
|
+
version: string;
|
|
13363
13481
|
account: string;
|
|
13482
|
+
content: HMBlockNode[];
|
|
13483
|
+
createTime: string | {
|
|
13484
|
+
seconds: number | bigint;
|
|
13485
|
+
nanos: number;
|
|
13486
|
+
};
|
|
13487
|
+
updateTime: string | {
|
|
13488
|
+
seconds: number | bigint;
|
|
13489
|
+
nanos: number;
|
|
13490
|
+
};
|
|
13491
|
+
visibility: "PUBLIC" | "PRIVATE";
|
|
13492
|
+
metadata: {
|
|
13493
|
+
name?: string | undefined;
|
|
13494
|
+
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
13495
|
+
summary?: string | undefined;
|
|
13496
|
+
icon?: string | undefined;
|
|
13497
|
+
thumbnail?: string | undefined;
|
|
13498
|
+
cover?: string | undefined;
|
|
13499
|
+
siteUrl?: string | undefined;
|
|
13500
|
+
agentServerUrl?: string | undefined;
|
|
13501
|
+
spaceAgents?: Record<string, unknown> | undefined;
|
|
13502
|
+
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
13503
|
+
displayPublishTime?: string | undefined;
|
|
13504
|
+
displayAuthor?: string | undefined;
|
|
13505
|
+
seedExperimentalLogo?: string | undefined;
|
|
13506
|
+
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
13507
|
+
showOutline?: boolean | undefined;
|
|
13508
|
+
showActivity?: boolean | undefined;
|
|
13509
|
+
contentWidth?: "S" | "M" | "L" | undefined;
|
|
13510
|
+
theme?: {
|
|
13511
|
+
headerLayout?: "" | "Center" | undefined;
|
|
13512
|
+
} | undefined;
|
|
13513
|
+
importCategories?: string | undefined;
|
|
13514
|
+
importTags?: string | undefined;
|
|
13515
|
+
} & {
|
|
13516
|
+
[k: string]: unknown;
|
|
13517
|
+
};
|
|
13518
|
+
genesis: string;
|
|
13519
|
+
authors: string[];
|
|
13364
13520
|
generationInfo?: {
|
|
13365
13521
|
genesis: string;
|
|
13366
13522
|
generation: bigint;
|
|
@@ -13418,6 +13574,7 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
13418
13574
|
authors: string[];
|
|
13419
13575
|
path?: string | undefined;
|
|
13420
13576
|
version?: string | undefined;
|
|
13577
|
+
account?: string | undefined;
|
|
13421
13578
|
content?: HMBlockNode[] | undefined;
|
|
13422
13579
|
createTime?: string | {
|
|
13423
13580
|
seconds: number | bigint;
|
|
@@ -13431,7 +13588,6 @@ export declare const HMResourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
13431
13588
|
genesis: string;
|
|
13432
13589
|
generation: bigint;
|
|
13433
13590
|
} | undefined;
|
|
13434
|
-
account?: string | undefined;
|
|
13435
13591
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
13436
13592
|
};
|
|
13437
13593
|
}>, z.ZodObject<{
|
|
@@ -14326,177 +14482,7 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
14326
14482
|
}, "strip", z.ZodTypeAny, {
|
|
14327
14483
|
path: string;
|
|
14328
14484
|
version: string;
|
|
14329
|
-
content: HMBlockNode[];
|
|
14330
|
-
createTime: string | {
|
|
14331
|
-
seconds: number | bigint;
|
|
14332
|
-
nanos: number;
|
|
14333
|
-
};
|
|
14334
|
-
updateTime: string | {
|
|
14335
|
-
seconds: number | bigint;
|
|
14336
|
-
nanos: number;
|
|
14337
|
-
};
|
|
14338
|
-
visibility: "PUBLIC" | "PRIVATE";
|
|
14339
|
-
metadata: {
|
|
14340
|
-
name?: string | undefined;
|
|
14341
|
-
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
14342
|
-
summary?: string | undefined;
|
|
14343
|
-
icon?: string | undefined;
|
|
14344
|
-
thumbnail?: string | undefined;
|
|
14345
|
-
cover?: string | undefined;
|
|
14346
|
-
siteUrl?: string | undefined;
|
|
14347
|
-
agentServerUrl?: string | undefined;
|
|
14348
|
-
spaceAgents?: Record<string, unknown> | undefined;
|
|
14349
|
-
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
14350
|
-
displayPublishTime?: string | undefined;
|
|
14351
|
-
displayAuthor?: string | undefined;
|
|
14352
|
-
seedExperimentalLogo?: string | undefined;
|
|
14353
|
-
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
14354
|
-
showOutline?: boolean | undefined;
|
|
14355
|
-
showActivity?: boolean | undefined;
|
|
14356
|
-
contentWidth?: "S" | "M" | "L" | undefined;
|
|
14357
|
-
theme?: {
|
|
14358
|
-
headerLayout?: "" | "Center" | undefined;
|
|
14359
|
-
} | undefined;
|
|
14360
|
-
importCategories?: string | undefined;
|
|
14361
|
-
importTags?: string | undefined;
|
|
14362
|
-
} & {
|
|
14363
|
-
[k: string]: unknown;
|
|
14364
|
-
};
|
|
14365
|
-
genesis: string;
|
|
14366
|
-
authors: string[];
|
|
14367
14485
|
account: string;
|
|
14368
|
-
generationInfo?: {
|
|
14369
|
-
genesis: string;
|
|
14370
|
-
generation: bigint;
|
|
14371
|
-
} | undefined;
|
|
14372
|
-
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
14373
|
-
}, {
|
|
14374
|
-
visibility: string | number;
|
|
14375
|
-
metadata: {
|
|
14376
|
-
name?: string | undefined;
|
|
14377
|
-
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
14378
|
-
summary?: string | undefined;
|
|
14379
|
-
icon?: string | undefined;
|
|
14380
|
-
thumbnail?: string | undefined;
|
|
14381
|
-
cover?: string | undefined;
|
|
14382
|
-
siteUrl?: string | undefined;
|
|
14383
|
-
agentServerUrl?: string | undefined;
|
|
14384
|
-
spaceAgents?: Record<string, unknown> | undefined;
|
|
14385
|
-
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
14386
|
-
displayPublishTime?: string | undefined;
|
|
14387
|
-
displayAuthor?: string | undefined;
|
|
14388
|
-
seedExperimentalLogo?: string | undefined;
|
|
14389
|
-
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
14390
|
-
showOutline?: boolean | undefined;
|
|
14391
|
-
showActivity?: boolean | undefined;
|
|
14392
|
-
contentWidth?: "S" | "M" | "L" | undefined;
|
|
14393
|
-
theme?: {
|
|
14394
|
-
headerLayout?: "" | "Center" | undefined;
|
|
14395
|
-
} | undefined;
|
|
14396
|
-
importCategories?: string | undefined;
|
|
14397
|
-
importTags?: string | undefined;
|
|
14398
|
-
} & {
|
|
14399
|
-
[k: string]: unknown;
|
|
14400
|
-
};
|
|
14401
|
-
genesis: string;
|
|
14402
|
-
authors: string[];
|
|
14403
|
-
path?: string | undefined;
|
|
14404
|
-
version?: string | undefined;
|
|
14405
|
-
content?: HMBlockNode[] | undefined;
|
|
14406
|
-
createTime?: string | {
|
|
14407
|
-
seconds: number | bigint;
|
|
14408
|
-
nanos: number;
|
|
14409
|
-
} | undefined;
|
|
14410
|
-
updateTime?: string | {
|
|
14411
|
-
seconds: number | bigint;
|
|
14412
|
-
nanos: number;
|
|
14413
|
-
} | undefined;
|
|
14414
|
-
generationInfo?: {
|
|
14415
|
-
genesis: string;
|
|
14416
|
-
generation: bigint;
|
|
14417
|
-
} | undefined;
|
|
14418
|
-
account?: string | undefined;
|
|
14419
|
-
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
14420
|
-
}>;
|
|
14421
|
-
id: z.ZodObject<{
|
|
14422
|
-
id: z.ZodString;
|
|
14423
|
-
uid: z.ZodString;
|
|
14424
|
-
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
14425
|
-
version: z.ZodNullable<z.ZodString>;
|
|
14426
|
-
blockRef: z.ZodNullable<z.ZodString>;
|
|
14427
|
-
blockRange: z.ZodNullable<z.ZodObject<{
|
|
14428
|
-
start: z.ZodOptional<z.ZodNumber>;
|
|
14429
|
-
end: z.ZodOptional<z.ZodNumber>;
|
|
14430
|
-
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
14431
|
-
}, "strip", z.ZodTypeAny, {
|
|
14432
|
-
start?: number | undefined;
|
|
14433
|
-
end?: number | undefined;
|
|
14434
|
-
expanded?: boolean | undefined;
|
|
14435
|
-
}, {
|
|
14436
|
-
start?: number | undefined;
|
|
14437
|
-
end?: number | undefined;
|
|
14438
|
-
expanded?: boolean | undefined;
|
|
14439
|
-
}>>;
|
|
14440
|
-
hostname: z.ZodNullable<z.ZodString>;
|
|
14441
|
-
scheme: z.ZodNullable<z.ZodString>;
|
|
14442
|
-
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14443
|
-
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14444
|
-
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
14445
|
-
}, "strip", z.ZodTypeAny, {
|
|
14446
|
-
path: string[] | null;
|
|
14447
|
-
version: string | null;
|
|
14448
|
-
id: string;
|
|
14449
|
-
uid: string;
|
|
14450
|
-
blockRef: string | null;
|
|
14451
|
-
blockRange: {
|
|
14452
|
-
start?: number | undefined;
|
|
14453
|
-
end?: number | undefined;
|
|
14454
|
-
expanded?: boolean | undefined;
|
|
14455
|
-
} | null;
|
|
14456
|
-
hostname: string | null;
|
|
14457
|
-
scheme: string | null;
|
|
14458
|
-
latest?: boolean | null | undefined;
|
|
14459
|
-
targetDocUid?: string | null | undefined;
|
|
14460
|
-
targetDocPath?: string[] | null | undefined;
|
|
14461
|
-
}, {
|
|
14462
|
-
path: string[] | null;
|
|
14463
|
-
version: string | null;
|
|
14464
|
-
id: string;
|
|
14465
|
-
uid: string;
|
|
14466
|
-
blockRef: string | null;
|
|
14467
|
-
blockRange: {
|
|
14468
|
-
start?: number | undefined;
|
|
14469
|
-
end?: number | undefined;
|
|
14470
|
-
expanded?: boolean | undefined;
|
|
14471
|
-
} | null;
|
|
14472
|
-
hostname: string | null;
|
|
14473
|
-
scheme: string | null;
|
|
14474
|
-
latest?: boolean | null | undefined;
|
|
14475
|
-
targetDocUid?: string | null | undefined;
|
|
14476
|
-
targetDocPath?: string[] | null | undefined;
|
|
14477
|
-
}>;
|
|
14478
|
-
}, "strip", z.ZodTypeAny, {
|
|
14479
|
-
type: "document";
|
|
14480
|
-
id: {
|
|
14481
|
-
path: string[] | null;
|
|
14482
|
-
version: string | null;
|
|
14483
|
-
id: string;
|
|
14484
|
-
uid: string;
|
|
14485
|
-
blockRef: string | null;
|
|
14486
|
-
blockRange: {
|
|
14487
|
-
start?: number | undefined;
|
|
14488
|
-
end?: number | undefined;
|
|
14489
|
-
expanded?: boolean | undefined;
|
|
14490
|
-
} | null;
|
|
14491
|
-
hostname: string | null;
|
|
14492
|
-
scheme: string | null;
|
|
14493
|
-
latest?: boolean | null | undefined;
|
|
14494
|
-
targetDocUid?: string | null | undefined;
|
|
14495
|
-
targetDocPath?: string[] | null | undefined;
|
|
14496
|
-
};
|
|
14497
|
-
document: {
|
|
14498
|
-
path: string;
|
|
14499
|
-
version: string;
|
|
14500
14486
|
content: HMBlockNode[];
|
|
14501
14487
|
createTime: string | {
|
|
14502
14488
|
seconds: number | bigint;
|
|
@@ -14535,7 +14521,177 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
14535
14521
|
};
|
|
14536
14522
|
genesis: string;
|
|
14537
14523
|
authors: string[];
|
|
14524
|
+
generationInfo?: {
|
|
14525
|
+
genesis: string;
|
|
14526
|
+
generation: bigint;
|
|
14527
|
+
} | undefined;
|
|
14528
|
+
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
14529
|
+
}, {
|
|
14530
|
+
visibility: string | number;
|
|
14531
|
+
metadata: {
|
|
14532
|
+
name?: string | undefined;
|
|
14533
|
+
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
14534
|
+
summary?: string | undefined;
|
|
14535
|
+
icon?: string | undefined;
|
|
14536
|
+
thumbnail?: string | undefined;
|
|
14537
|
+
cover?: string | undefined;
|
|
14538
|
+
siteUrl?: string | undefined;
|
|
14539
|
+
agentServerUrl?: string | undefined;
|
|
14540
|
+
spaceAgents?: Record<string, unknown> | undefined;
|
|
14541
|
+
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
14542
|
+
displayPublishTime?: string | undefined;
|
|
14543
|
+
displayAuthor?: string | undefined;
|
|
14544
|
+
seedExperimentalLogo?: string | undefined;
|
|
14545
|
+
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
14546
|
+
showOutline?: boolean | undefined;
|
|
14547
|
+
showActivity?: boolean | undefined;
|
|
14548
|
+
contentWidth?: "S" | "M" | "L" | undefined;
|
|
14549
|
+
theme?: {
|
|
14550
|
+
headerLayout?: "" | "Center" | undefined;
|
|
14551
|
+
} | undefined;
|
|
14552
|
+
importCategories?: string | undefined;
|
|
14553
|
+
importTags?: string | undefined;
|
|
14554
|
+
} & {
|
|
14555
|
+
[k: string]: unknown;
|
|
14556
|
+
};
|
|
14557
|
+
genesis: string;
|
|
14558
|
+
authors: string[];
|
|
14559
|
+
path?: string | undefined;
|
|
14560
|
+
version?: string | undefined;
|
|
14561
|
+
account?: string | undefined;
|
|
14562
|
+
content?: HMBlockNode[] | undefined;
|
|
14563
|
+
createTime?: string | {
|
|
14564
|
+
seconds: number | bigint;
|
|
14565
|
+
nanos: number;
|
|
14566
|
+
} | undefined;
|
|
14567
|
+
updateTime?: string | {
|
|
14568
|
+
seconds: number | bigint;
|
|
14569
|
+
nanos: number;
|
|
14570
|
+
} | undefined;
|
|
14571
|
+
generationInfo?: {
|
|
14572
|
+
genesis: string;
|
|
14573
|
+
generation: bigint;
|
|
14574
|
+
} | undefined;
|
|
14575
|
+
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
14576
|
+
}>;
|
|
14577
|
+
id: z.ZodObject<{
|
|
14578
|
+
id: z.ZodString;
|
|
14579
|
+
uid: z.ZodString;
|
|
14580
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
14581
|
+
version: z.ZodNullable<z.ZodString>;
|
|
14582
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
14583
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
14584
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
14585
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
14586
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
14587
|
+
}, "strip", z.ZodTypeAny, {
|
|
14588
|
+
start?: number | undefined;
|
|
14589
|
+
end?: number | undefined;
|
|
14590
|
+
expanded?: boolean | undefined;
|
|
14591
|
+
}, {
|
|
14592
|
+
start?: number | undefined;
|
|
14593
|
+
end?: number | undefined;
|
|
14594
|
+
expanded?: boolean | undefined;
|
|
14595
|
+
}>>;
|
|
14596
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
14597
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
14598
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14599
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14600
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
14601
|
+
}, "strip", z.ZodTypeAny, {
|
|
14602
|
+
path: string[] | null;
|
|
14603
|
+
version: string | null;
|
|
14604
|
+
id: string;
|
|
14605
|
+
uid: string;
|
|
14606
|
+
blockRef: string | null;
|
|
14607
|
+
blockRange: {
|
|
14608
|
+
start?: number | undefined;
|
|
14609
|
+
end?: number | undefined;
|
|
14610
|
+
expanded?: boolean | undefined;
|
|
14611
|
+
} | null;
|
|
14612
|
+
hostname: string | null;
|
|
14613
|
+
scheme: string | null;
|
|
14614
|
+
latest?: boolean | null | undefined;
|
|
14615
|
+
targetDocUid?: string | null | undefined;
|
|
14616
|
+
targetDocPath?: string[] | null | undefined;
|
|
14617
|
+
}, {
|
|
14618
|
+
path: string[] | null;
|
|
14619
|
+
version: string | null;
|
|
14620
|
+
id: string;
|
|
14621
|
+
uid: string;
|
|
14622
|
+
blockRef: string | null;
|
|
14623
|
+
blockRange: {
|
|
14624
|
+
start?: number | undefined;
|
|
14625
|
+
end?: number | undefined;
|
|
14626
|
+
expanded?: boolean | undefined;
|
|
14627
|
+
} | null;
|
|
14628
|
+
hostname: string | null;
|
|
14629
|
+
scheme: string | null;
|
|
14630
|
+
latest?: boolean | null | undefined;
|
|
14631
|
+
targetDocUid?: string | null | undefined;
|
|
14632
|
+
targetDocPath?: string[] | null | undefined;
|
|
14633
|
+
}>;
|
|
14634
|
+
}, "strip", z.ZodTypeAny, {
|
|
14635
|
+
type: "document";
|
|
14636
|
+
id: {
|
|
14637
|
+
path: string[] | null;
|
|
14638
|
+
version: string | null;
|
|
14639
|
+
id: string;
|
|
14640
|
+
uid: string;
|
|
14641
|
+
blockRef: string | null;
|
|
14642
|
+
blockRange: {
|
|
14643
|
+
start?: number | undefined;
|
|
14644
|
+
end?: number | undefined;
|
|
14645
|
+
expanded?: boolean | undefined;
|
|
14646
|
+
} | null;
|
|
14647
|
+
hostname: string | null;
|
|
14648
|
+
scheme: string | null;
|
|
14649
|
+
latest?: boolean | null | undefined;
|
|
14650
|
+
targetDocUid?: string | null | undefined;
|
|
14651
|
+
targetDocPath?: string[] | null | undefined;
|
|
14652
|
+
};
|
|
14653
|
+
document: {
|
|
14654
|
+
path: string;
|
|
14655
|
+
version: string;
|
|
14538
14656
|
account: string;
|
|
14657
|
+
content: HMBlockNode[];
|
|
14658
|
+
createTime: string | {
|
|
14659
|
+
seconds: number | bigint;
|
|
14660
|
+
nanos: number;
|
|
14661
|
+
};
|
|
14662
|
+
updateTime: string | {
|
|
14663
|
+
seconds: number | bigint;
|
|
14664
|
+
nanos: number;
|
|
14665
|
+
};
|
|
14666
|
+
visibility: "PUBLIC" | "PRIVATE";
|
|
14667
|
+
metadata: {
|
|
14668
|
+
name?: string | undefined;
|
|
14669
|
+
childrenType?: "Group" | "Ordered" | "Unordered" | "Blockquote" | "Grid" | null | undefined;
|
|
14670
|
+
summary?: string | undefined;
|
|
14671
|
+
icon?: string | undefined;
|
|
14672
|
+
thumbnail?: string | undefined;
|
|
14673
|
+
cover?: string | undefined;
|
|
14674
|
+
siteUrl?: string | undefined;
|
|
14675
|
+
agentServerUrl?: string | undefined;
|
|
14676
|
+
spaceAgents?: Record<string, unknown> | undefined;
|
|
14677
|
+
layout?: "" | "Seed/Experimental/Newspaper" | undefined;
|
|
14678
|
+
displayPublishTime?: string | undefined;
|
|
14679
|
+
displayAuthor?: string | undefined;
|
|
14680
|
+
seedExperimentalLogo?: string | undefined;
|
|
14681
|
+
seedExperimentalHomeOrder?: "UpdatedFirst" | "CreatedFirst" | undefined;
|
|
14682
|
+
showOutline?: boolean | undefined;
|
|
14683
|
+
showActivity?: boolean | undefined;
|
|
14684
|
+
contentWidth?: "S" | "M" | "L" | undefined;
|
|
14685
|
+
theme?: {
|
|
14686
|
+
headerLayout?: "" | "Center" | undefined;
|
|
14687
|
+
} | undefined;
|
|
14688
|
+
importCategories?: string | undefined;
|
|
14689
|
+
importTags?: string | undefined;
|
|
14690
|
+
} & {
|
|
14691
|
+
[k: string]: unknown;
|
|
14692
|
+
};
|
|
14693
|
+
genesis: string;
|
|
14694
|
+
authors: string[];
|
|
14539
14695
|
generationInfo?: {
|
|
14540
14696
|
genesis: string;
|
|
14541
14697
|
generation: bigint;
|
|
@@ -14593,6 +14749,7 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
14593
14749
|
authors: string[];
|
|
14594
14750
|
path?: string | undefined;
|
|
14595
14751
|
version?: string | undefined;
|
|
14752
|
+
account?: string | undefined;
|
|
14596
14753
|
content?: HMBlockNode[] | undefined;
|
|
14597
14754
|
createTime?: string | {
|
|
14598
14755
|
seconds: number | bigint;
|
|
@@ -14606,7 +14763,6 @@ export declare const HMResolvedResourceSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
14606
14763
|
genesis: string;
|
|
14607
14764
|
generation: bigint;
|
|
14608
14765
|
} | undefined;
|
|
14609
|
-
account?: string | undefined;
|
|
14610
14766
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
14611
14767
|
};
|
|
14612
14768
|
}>, z.ZodObject<{
|
|
@@ -18208,6 +18364,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18208
18364
|
}, "strip", z.ZodTypeAny, {
|
|
18209
18365
|
path: string;
|
|
18210
18366
|
version: string;
|
|
18367
|
+
account: string;
|
|
18211
18368
|
content: HMBlockNode[];
|
|
18212
18369
|
createTime: string | {
|
|
18213
18370
|
seconds: number | bigint;
|
|
@@ -18246,7 +18403,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18246
18403
|
};
|
|
18247
18404
|
genesis: string;
|
|
18248
18405
|
authors: string[];
|
|
18249
|
-
account: string;
|
|
18250
18406
|
generationInfo?: {
|
|
18251
18407
|
genesis: string;
|
|
18252
18408
|
generation: bigint;
|
|
@@ -18284,6 +18440,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18284
18440
|
authors: string[];
|
|
18285
18441
|
path?: string | undefined;
|
|
18286
18442
|
version?: string | undefined;
|
|
18443
|
+
account?: string | undefined;
|
|
18287
18444
|
content?: HMBlockNode[] | undefined;
|
|
18288
18445
|
createTime?: string | {
|
|
18289
18446
|
seconds: number | bigint;
|
|
@@ -18297,7 +18454,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18297
18454
|
genesis: string;
|
|
18298
18455
|
generation: bigint;
|
|
18299
18456
|
} | undefined;
|
|
18300
|
-
account?: string | undefined;
|
|
18301
18457
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
18302
18458
|
}>;
|
|
18303
18459
|
id: z.ZodObject<{
|
|
@@ -18379,6 +18535,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18379
18535
|
document: {
|
|
18380
18536
|
path: string;
|
|
18381
18537
|
version: string;
|
|
18538
|
+
account: string;
|
|
18382
18539
|
content: HMBlockNode[];
|
|
18383
18540
|
createTime: string | {
|
|
18384
18541
|
seconds: number | bigint;
|
|
@@ -18417,7 +18574,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18417
18574
|
};
|
|
18418
18575
|
genesis: string;
|
|
18419
18576
|
authors: string[];
|
|
18420
|
-
account: string;
|
|
18421
18577
|
generationInfo?: {
|
|
18422
18578
|
genesis: string;
|
|
18423
18579
|
generation: bigint;
|
|
@@ -18475,6 +18631,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18475
18631
|
authors: string[];
|
|
18476
18632
|
path?: string | undefined;
|
|
18477
18633
|
version?: string | undefined;
|
|
18634
|
+
account?: string | undefined;
|
|
18478
18635
|
content?: HMBlockNode[] | undefined;
|
|
18479
18636
|
createTime?: string | {
|
|
18480
18637
|
seconds: number | bigint;
|
|
@@ -18488,7 +18645,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
18488
18645
|
genesis: string;
|
|
18489
18646
|
generation: bigint;
|
|
18490
18647
|
} | undefined;
|
|
18491
|
-
account?: string | undefined;
|
|
18492
18648
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
18493
18649
|
};
|
|
18494
18650
|
}>, z.ZodObject<{
|
|
@@ -19240,6 +19396,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
19240
19396
|
document: {
|
|
19241
19397
|
path: string;
|
|
19242
19398
|
version: string;
|
|
19399
|
+
account: string;
|
|
19243
19400
|
content: HMBlockNode[];
|
|
19244
19401
|
createTime: string | {
|
|
19245
19402
|
seconds: number | bigint;
|
|
@@ -19278,7 +19435,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
19278
19435
|
};
|
|
19279
19436
|
genesis: string;
|
|
19280
19437
|
authors: string[];
|
|
19281
|
-
account: string;
|
|
19282
19438
|
generationInfo?: {
|
|
19283
19439
|
genesis: string;
|
|
19284
19440
|
generation: bigint;
|
|
@@ -19493,6 +19649,7 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
19493
19649
|
authors: string[];
|
|
19494
19650
|
path?: string | undefined;
|
|
19495
19651
|
version?: string | undefined;
|
|
19652
|
+
account?: string | undefined;
|
|
19496
19653
|
content?: HMBlockNode[] | undefined;
|
|
19497
19654
|
createTime?: string | {
|
|
19498
19655
|
seconds: number | bigint;
|
|
@@ -19506,7 +19663,6 @@ export declare const HMResourceRequestSchema: z.ZodObject<{
|
|
|
19506
19663
|
genesis: string;
|
|
19507
19664
|
generation: bigint;
|
|
19508
19665
|
} | undefined;
|
|
19509
|
-
account?: string | undefined;
|
|
19510
19666
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
19511
19667
|
};
|
|
19512
19668
|
} | {
|
|
@@ -22469,64 +22625,697 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
22469
22625
|
};
|
|
22470
22626
|
}>;
|
|
22471
22627
|
export type HMSearchRequest = z.infer<typeof HMSearchRequestSchema>;
|
|
22472
|
-
|
|
22473
|
-
|
|
22474
|
-
|
|
22475
|
-
|
|
22476
|
-
|
|
22477
|
-
|
|
22478
|
-
|
|
22479
|
-
|
|
22480
|
-
|
|
22481
|
-
|
|
22482
|
-
|
|
22483
|
-
|
|
22484
|
-
space: string;
|
|
22485
|
-
mode: "Children" | "AllDescendants";
|
|
22486
|
-
path?: string | undefined;
|
|
22487
|
-
}>, "many">;
|
|
22488
|
-
sort: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
22489
|
-
term: z.ZodOptional<z.ZodString>;
|
|
22490
|
-
reverse: z.ZodOptional<z.ZodBoolean>;
|
|
22628
|
+
/** A published entity eligible for the account or document mention picker. */
|
|
22629
|
+
export declare const HMMentionCandidateSchema: z.ZodObject<{
|
|
22630
|
+
id: z.ZodObject<{
|
|
22631
|
+
id: z.ZodString;
|
|
22632
|
+
uid: z.ZodString;
|
|
22633
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
22634
|
+
version: z.ZodNullable<z.ZodString>;
|
|
22635
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
22636
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
22637
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
22638
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
22639
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
22491
22640
|
}, "strip", z.ZodTypeAny, {
|
|
22492
|
-
|
|
22493
|
-
|
|
22494
|
-
|
|
22495
|
-
reverse?: boolean | undefined;
|
|
22496
|
-
term?: string | undefined;
|
|
22497
|
-
}>, {
|
|
22498
|
-
term: string;
|
|
22499
|
-
reverse: boolean;
|
|
22641
|
+
start?: number | undefined;
|
|
22642
|
+
end?: number | undefined;
|
|
22643
|
+
expanded?: boolean | undefined;
|
|
22500
22644
|
}, {
|
|
22501
|
-
|
|
22502
|
-
|
|
22503
|
-
|
|
22504
|
-
|
|
22645
|
+
start?: number | undefined;
|
|
22646
|
+
end?: number | undefined;
|
|
22647
|
+
expanded?: boolean | undefined;
|
|
22648
|
+
}>>;
|
|
22649
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
22650
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
22651
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22652
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22653
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
22505
22654
|
}, "strip", z.ZodTypeAny, {
|
|
22506
|
-
|
|
22507
|
-
|
|
22508
|
-
|
|
22509
|
-
|
|
22510
|
-
|
|
22511
|
-
|
|
22512
|
-
|
|
22513
|
-
|
|
22514
|
-
|
|
22515
|
-
|
|
22655
|
+
path: string[] | null;
|
|
22656
|
+
version: string | null;
|
|
22657
|
+
id: string;
|
|
22658
|
+
uid: string;
|
|
22659
|
+
blockRef: string | null;
|
|
22660
|
+
blockRange: {
|
|
22661
|
+
start?: number | undefined;
|
|
22662
|
+
end?: number | undefined;
|
|
22663
|
+
expanded?: boolean | undefined;
|
|
22664
|
+
} | null;
|
|
22665
|
+
hostname: string | null;
|
|
22666
|
+
scheme: string | null;
|
|
22667
|
+
latest?: boolean | null | undefined;
|
|
22668
|
+
targetDocUid?: string | null | undefined;
|
|
22669
|
+
targetDocPath?: string[] | null | undefined;
|
|
22516
22670
|
}, {
|
|
22517
|
-
|
|
22518
|
-
|
|
22519
|
-
|
|
22520
|
-
|
|
22521
|
-
|
|
22522
|
-
|
|
22523
|
-
|
|
22524
|
-
|
|
22525
|
-
|
|
22526
|
-
|
|
22671
|
+
path: string[] | null;
|
|
22672
|
+
version: string | null;
|
|
22673
|
+
id: string;
|
|
22674
|
+
uid: string;
|
|
22675
|
+
blockRef: string | null;
|
|
22676
|
+
blockRange: {
|
|
22677
|
+
start?: number | undefined;
|
|
22678
|
+
end?: number | undefined;
|
|
22679
|
+
expanded?: boolean | undefined;
|
|
22680
|
+
} | null;
|
|
22681
|
+
hostname: string | null;
|
|
22682
|
+
scheme: string | null;
|
|
22683
|
+
latest?: boolean | null | undefined;
|
|
22684
|
+
targetDocUid?: string | null | undefined;
|
|
22685
|
+
targetDocPath?: string[] | null | undefined;
|
|
22527
22686
|
}>;
|
|
22528
|
-
|
|
22529
|
-
|
|
22687
|
+
type: z.ZodEnum<["account", "document"]>;
|
|
22688
|
+
title: z.ZodString;
|
|
22689
|
+
icon: z.ZodString;
|
|
22690
|
+
parentNames: z.ZodArray<z.ZodString, "many">;
|
|
22691
|
+
searchQuery: z.ZodString;
|
|
22692
|
+
/** Requested account identity before the daemon resolves an account alias. */
|
|
22693
|
+
sourceAccountUid: z.ZodOptional<z.ZodString>;
|
|
22694
|
+
publicName: z.ZodOptional<z.ZodString>;
|
|
22695
|
+
petname: z.ZodOptional<z.ZodString>;
|
|
22696
|
+
activityTime: z.ZodOptional<z.ZodNumber>;
|
|
22697
|
+
activityType: z.ZodOptional<z.ZodEnum<["publication", "comment"]>>;
|
|
22698
|
+
accountRole: z.ZodOptional<z.ZodEnum<["site-owner", "site-editor", "document-editor", "site-follower"]>>;
|
|
22699
|
+
sameSite: z.ZodBoolean;
|
|
22700
|
+
issuedContact: z.ZodBoolean;
|
|
22701
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
22702
|
+
}, "strip", z.ZodTypeAny, {
|
|
22703
|
+
type: "account" | "document";
|
|
22704
|
+
id: {
|
|
22705
|
+
path: string[] | null;
|
|
22706
|
+
version: string | null;
|
|
22707
|
+
id: string;
|
|
22708
|
+
uid: string;
|
|
22709
|
+
blockRef: string | null;
|
|
22710
|
+
blockRange: {
|
|
22711
|
+
start?: number | undefined;
|
|
22712
|
+
end?: number | undefined;
|
|
22713
|
+
expanded?: boolean | undefined;
|
|
22714
|
+
} | null;
|
|
22715
|
+
hostname: string | null;
|
|
22716
|
+
scheme: string | null;
|
|
22717
|
+
latest?: boolean | null | undefined;
|
|
22718
|
+
targetDocUid?: string | null | undefined;
|
|
22719
|
+
targetDocPath?: string[] | null | undefined;
|
|
22720
|
+
};
|
|
22721
|
+
icon: string;
|
|
22722
|
+
title: string;
|
|
22723
|
+
parentNames: string[];
|
|
22724
|
+
searchQuery: string;
|
|
22725
|
+
sameSite: boolean;
|
|
22726
|
+
issuedContact: boolean;
|
|
22727
|
+
sourceAccountUid?: string | undefined;
|
|
22728
|
+
publicName?: string | undefined;
|
|
22729
|
+
petname?: string | undefined;
|
|
22730
|
+
activityTime?: number | undefined;
|
|
22731
|
+
activityType?: "comment" | "publication" | undefined;
|
|
22732
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
22733
|
+
hint?: string | undefined;
|
|
22734
|
+
}, {
|
|
22735
|
+
type: "account" | "document";
|
|
22736
|
+
id: {
|
|
22737
|
+
path: string[] | null;
|
|
22738
|
+
version: string | null;
|
|
22739
|
+
id: string;
|
|
22740
|
+
uid: string;
|
|
22741
|
+
blockRef: string | null;
|
|
22742
|
+
blockRange: {
|
|
22743
|
+
start?: number | undefined;
|
|
22744
|
+
end?: number | undefined;
|
|
22745
|
+
expanded?: boolean | undefined;
|
|
22746
|
+
} | null;
|
|
22747
|
+
hostname: string | null;
|
|
22748
|
+
scheme: string | null;
|
|
22749
|
+
latest?: boolean | null | undefined;
|
|
22750
|
+
targetDocUid?: string | null | undefined;
|
|
22751
|
+
targetDocPath?: string[] | null | undefined;
|
|
22752
|
+
};
|
|
22753
|
+
icon: string;
|
|
22754
|
+
title: string;
|
|
22755
|
+
parentNames: string[];
|
|
22756
|
+
searchQuery: string;
|
|
22757
|
+
sameSite: boolean;
|
|
22758
|
+
issuedContact: boolean;
|
|
22759
|
+
sourceAccountUid?: string | undefined;
|
|
22760
|
+
publicName?: string | undefined;
|
|
22761
|
+
petname?: string | undefined;
|
|
22762
|
+
activityTime?: number | undefined;
|
|
22763
|
+
activityType?: "comment" | "publication" | undefined;
|
|
22764
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
22765
|
+
hint?: string | undefined;
|
|
22766
|
+
}>;
|
|
22767
|
+
/** Shared mention candidate shape; visit timestamps remain local to the client. */
|
|
22768
|
+
export type HMMentionCandidate = z.infer<typeof HMMentionCandidateSchema>;
|
|
22769
|
+
/** Bounded request for one mention mode with optional acting-account/site context. */
|
|
22770
|
+
export declare const HMMentionCandidatesRequestSchema: z.ZodObject<{
|
|
22771
|
+
key: z.ZodLiteral<"MentionCandidates">;
|
|
22772
|
+
input: z.ZodObject<{
|
|
22773
|
+
mode: z.ZodEnum<["account", "document"]>;
|
|
22774
|
+
query: z.ZodString;
|
|
22775
|
+
perspectiveAccountUid: z.ZodOptional<z.ZodString>;
|
|
22776
|
+
siteUid: z.ZodOptional<z.ZodString>;
|
|
22777
|
+
documentId: z.ZodOptional<z.ZodObject<{
|
|
22778
|
+
id: z.ZodString;
|
|
22779
|
+
uid: z.ZodString;
|
|
22780
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
22781
|
+
version: z.ZodNullable<z.ZodString>;
|
|
22782
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
22783
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
22784
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
22785
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
22786
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
22787
|
+
}, "strip", z.ZodTypeAny, {
|
|
22788
|
+
start?: number | undefined;
|
|
22789
|
+
end?: number | undefined;
|
|
22790
|
+
expanded?: boolean | undefined;
|
|
22791
|
+
}, {
|
|
22792
|
+
start?: number | undefined;
|
|
22793
|
+
end?: number | undefined;
|
|
22794
|
+
expanded?: boolean | undefined;
|
|
22795
|
+
}>>;
|
|
22796
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
22797
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
22798
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22799
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22800
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
22801
|
+
}, "strip", z.ZodTypeAny, {
|
|
22802
|
+
path: string[] | null;
|
|
22803
|
+
version: string | null;
|
|
22804
|
+
id: string;
|
|
22805
|
+
uid: string;
|
|
22806
|
+
blockRef: string | null;
|
|
22807
|
+
blockRange: {
|
|
22808
|
+
start?: number | undefined;
|
|
22809
|
+
end?: number | undefined;
|
|
22810
|
+
expanded?: boolean | undefined;
|
|
22811
|
+
} | null;
|
|
22812
|
+
hostname: string | null;
|
|
22813
|
+
scheme: string | null;
|
|
22814
|
+
latest?: boolean | null | undefined;
|
|
22815
|
+
targetDocUid?: string | null | undefined;
|
|
22816
|
+
targetDocPath?: string[] | null | undefined;
|
|
22817
|
+
}, {
|
|
22818
|
+
path: string[] | null;
|
|
22819
|
+
version: string | null;
|
|
22820
|
+
id: string;
|
|
22821
|
+
uid: string;
|
|
22822
|
+
blockRef: string | null;
|
|
22823
|
+
blockRange: {
|
|
22824
|
+
start?: number | undefined;
|
|
22825
|
+
end?: number | undefined;
|
|
22826
|
+
expanded?: boolean | undefined;
|
|
22827
|
+
} | null;
|
|
22828
|
+
hostname: string | null;
|
|
22829
|
+
scheme: string | null;
|
|
22830
|
+
latest?: boolean | null | undefined;
|
|
22831
|
+
targetDocUid?: string | null | undefined;
|
|
22832
|
+
targetDocPath?: string[] | null | undefined;
|
|
22833
|
+
}>>;
|
|
22834
|
+
seedIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22835
|
+
id: z.ZodString;
|
|
22836
|
+
uid: z.ZodString;
|
|
22837
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
22838
|
+
version: z.ZodNullable<z.ZodString>;
|
|
22839
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
22840
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
22841
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
22842
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
22843
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
22844
|
+
}, "strip", z.ZodTypeAny, {
|
|
22845
|
+
start?: number | undefined;
|
|
22846
|
+
end?: number | undefined;
|
|
22847
|
+
expanded?: boolean | undefined;
|
|
22848
|
+
}, {
|
|
22849
|
+
start?: number | undefined;
|
|
22850
|
+
end?: number | undefined;
|
|
22851
|
+
expanded?: boolean | undefined;
|
|
22852
|
+
}>>;
|
|
22853
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
22854
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
22855
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22856
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22857
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
22858
|
+
}, "strip", z.ZodTypeAny, {
|
|
22859
|
+
path: string[] | null;
|
|
22860
|
+
version: string | null;
|
|
22861
|
+
id: string;
|
|
22862
|
+
uid: string;
|
|
22863
|
+
blockRef: string | null;
|
|
22864
|
+
blockRange: {
|
|
22865
|
+
start?: number | undefined;
|
|
22866
|
+
end?: number | undefined;
|
|
22867
|
+
expanded?: boolean | undefined;
|
|
22868
|
+
} | null;
|
|
22869
|
+
hostname: string | null;
|
|
22870
|
+
scheme: string | null;
|
|
22871
|
+
latest?: boolean | null | undefined;
|
|
22872
|
+
targetDocUid?: string | null | undefined;
|
|
22873
|
+
targetDocPath?: string[] | null | undefined;
|
|
22874
|
+
}, {
|
|
22875
|
+
path: string[] | null;
|
|
22876
|
+
version: string | null;
|
|
22877
|
+
id: string;
|
|
22878
|
+
uid: string;
|
|
22879
|
+
blockRef: string | null;
|
|
22880
|
+
blockRange: {
|
|
22881
|
+
start?: number | undefined;
|
|
22882
|
+
end?: number | undefined;
|
|
22883
|
+
expanded?: boolean | undefined;
|
|
22884
|
+
} | null;
|
|
22885
|
+
hostname: string | null;
|
|
22886
|
+
scheme: string | null;
|
|
22887
|
+
latest?: boolean | null | undefined;
|
|
22888
|
+
targetDocUid?: string | null | undefined;
|
|
22889
|
+
targetDocPath?: string[] | null | undefined;
|
|
22890
|
+
}>, "many">>;
|
|
22891
|
+
}, "strip", z.ZodTypeAny, {
|
|
22892
|
+
mode: "account" | "document";
|
|
22893
|
+
query: string;
|
|
22894
|
+
perspectiveAccountUid?: string | undefined;
|
|
22895
|
+
siteUid?: string | undefined;
|
|
22896
|
+
documentId?: {
|
|
22897
|
+
path: string[] | null;
|
|
22898
|
+
version: string | null;
|
|
22899
|
+
id: string;
|
|
22900
|
+
uid: string;
|
|
22901
|
+
blockRef: string | null;
|
|
22902
|
+
blockRange: {
|
|
22903
|
+
start?: number | undefined;
|
|
22904
|
+
end?: number | undefined;
|
|
22905
|
+
expanded?: boolean | undefined;
|
|
22906
|
+
} | null;
|
|
22907
|
+
hostname: string | null;
|
|
22908
|
+
scheme: string | null;
|
|
22909
|
+
latest?: boolean | null | undefined;
|
|
22910
|
+
targetDocUid?: string | null | undefined;
|
|
22911
|
+
targetDocPath?: string[] | null | undefined;
|
|
22912
|
+
} | undefined;
|
|
22913
|
+
seedIds?: {
|
|
22914
|
+
path: string[] | null;
|
|
22915
|
+
version: string | null;
|
|
22916
|
+
id: string;
|
|
22917
|
+
uid: string;
|
|
22918
|
+
blockRef: string | null;
|
|
22919
|
+
blockRange: {
|
|
22920
|
+
start?: number | undefined;
|
|
22921
|
+
end?: number | undefined;
|
|
22922
|
+
expanded?: boolean | undefined;
|
|
22923
|
+
} | null;
|
|
22924
|
+
hostname: string | null;
|
|
22925
|
+
scheme: string | null;
|
|
22926
|
+
latest?: boolean | null | undefined;
|
|
22927
|
+
targetDocUid?: string | null | undefined;
|
|
22928
|
+
targetDocPath?: string[] | null | undefined;
|
|
22929
|
+
}[] | undefined;
|
|
22930
|
+
}, {
|
|
22931
|
+
mode: "account" | "document";
|
|
22932
|
+
query: string;
|
|
22933
|
+
perspectiveAccountUid?: string | undefined;
|
|
22934
|
+
siteUid?: string | undefined;
|
|
22935
|
+
documentId?: {
|
|
22936
|
+
path: string[] | null;
|
|
22937
|
+
version: string | null;
|
|
22938
|
+
id: string;
|
|
22939
|
+
uid: string;
|
|
22940
|
+
blockRef: string | null;
|
|
22941
|
+
blockRange: {
|
|
22942
|
+
start?: number | undefined;
|
|
22943
|
+
end?: number | undefined;
|
|
22944
|
+
expanded?: boolean | undefined;
|
|
22945
|
+
} | null;
|
|
22946
|
+
hostname: string | null;
|
|
22947
|
+
scheme: string | null;
|
|
22948
|
+
latest?: boolean | null | undefined;
|
|
22949
|
+
targetDocUid?: string | null | undefined;
|
|
22950
|
+
targetDocPath?: string[] | null | undefined;
|
|
22951
|
+
} | undefined;
|
|
22952
|
+
seedIds?: {
|
|
22953
|
+
path: string[] | null;
|
|
22954
|
+
version: string | null;
|
|
22955
|
+
id: string;
|
|
22956
|
+
uid: string;
|
|
22957
|
+
blockRef: string | null;
|
|
22958
|
+
blockRange: {
|
|
22959
|
+
start?: number | undefined;
|
|
22960
|
+
end?: number | undefined;
|
|
22961
|
+
expanded?: boolean | undefined;
|
|
22962
|
+
} | null;
|
|
22963
|
+
hostname: string | null;
|
|
22964
|
+
scheme: string | null;
|
|
22965
|
+
latest?: boolean | null | undefined;
|
|
22966
|
+
targetDocUid?: string | null | undefined;
|
|
22967
|
+
targetDocPath?: string[] | null | undefined;
|
|
22968
|
+
}[] | undefined;
|
|
22969
|
+
}>;
|
|
22970
|
+
output: z.ZodArray<z.ZodObject<{
|
|
22971
|
+
id: z.ZodObject<{
|
|
22972
|
+
id: z.ZodString;
|
|
22973
|
+
uid: z.ZodString;
|
|
22974
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
22975
|
+
version: z.ZodNullable<z.ZodString>;
|
|
22976
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
22977
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
22978
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
22979
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
22980
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
22981
|
+
}, "strip", z.ZodTypeAny, {
|
|
22982
|
+
start?: number | undefined;
|
|
22983
|
+
end?: number | undefined;
|
|
22984
|
+
expanded?: boolean | undefined;
|
|
22985
|
+
}, {
|
|
22986
|
+
start?: number | undefined;
|
|
22987
|
+
end?: number | undefined;
|
|
22988
|
+
expanded?: boolean | undefined;
|
|
22989
|
+
}>>;
|
|
22990
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
22991
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
22992
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22993
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22994
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
22995
|
+
}, "strip", z.ZodTypeAny, {
|
|
22996
|
+
path: string[] | null;
|
|
22997
|
+
version: string | null;
|
|
22998
|
+
id: string;
|
|
22999
|
+
uid: string;
|
|
23000
|
+
blockRef: string | null;
|
|
23001
|
+
blockRange: {
|
|
23002
|
+
start?: number | undefined;
|
|
23003
|
+
end?: number | undefined;
|
|
23004
|
+
expanded?: boolean | undefined;
|
|
23005
|
+
} | null;
|
|
23006
|
+
hostname: string | null;
|
|
23007
|
+
scheme: string | null;
|
|
23008
|
+
latest?: boolean | null | undefined;
|
|
23009
|
+
targetDocUid?: string | null | undefined;
|
|
23010
|
+
targetDocPath?: string[] | null | undefined;
|
|
23011
|
+
}, {
|
|
23012
|
+
path: string[] | null;
|
|
23013
|
+
version: string | null;
|
|
23014
|
+
id: string;
|
|
23015
|
+
uid: string;
|
|
23016
|
+
blockRef: string | null;
|
|
23017
|
+
blockRange: {
|
|
23018
|
+
start?: number | undefined;
|
|
23019
|
+
end?: number | undefined;
|
|
23020
|
+
expanded?: boolean | undefined;
|
|
23021
|
+
} | null;
|
|
23022
|
+
hostname: string | null;
|
|
23023
|
+
scheme: string | null;
|
|
23024
|
+
latest?: boolean | null | undefined;
|
|
23025
|
+
targetDocUid?: string | null | undefined;
|
|
23026
|
+
targetDocPath?: string[] | null | undefined;
|
|
23027
|
+
}>;
|
|
23028
|
+
type: z.ZodEnum<["account", "document"]>;
|
|
23029
|
+
title: z.ZodString;
|
|
23030
|
+
icon: z.ZodString;
|
|
23031
|
+
parentNames: z.ZodArray<z.ZodString, "many">;
|
|
23032
|
+
searchQuery: z.ZodString;
|
|
23033
|
+
/** Requested account identity before the daemon resolves an account alias. */
|
|
23034
|
+
sourceAccountUid: z.ZodOptional<z.ZodString>;
|
|
23035
|
+
publicName: z.ZodOptional<z.ZodString>;
|
|
23036
|
+
petname: z.ZodOptional<z.ZodString>;
|
|
23037
|
+
activityTime: z.ZodOptional<z.ZodNumber>;
|
|
23038
|
+
activityType: z.ZodOptional<z.ZodEnum<["publication", "comment"]>>;
|
|
23039
|
+
accountRole: z.ZodOptional<z.ZodEnum<["site-owner", "site-editor", "document-editor", "site-follower"]>>;
|
|
23040
|
+
sameSite: z.ZodBoolean;
|
|
23041
|
+
issuedContact: z.ZodBoolean;
|
|
23042
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
23043
|
+
}, "strip", z.ZodTypeAny, {
|
|
23044
|
+
type: "account" | "document";
|
|
23045
|
+
id: {
|
|
23046
|
+
path: string[] | null;
|
|
23047
|
+
version: string | null;
|
|
23048
|
+
id: string;
|
|
23049
|
+
uid: string;
|
|
23050
|
+
blockRef: string | null;
|
|
23051
|
+
blockRange: {
|
|
23052
|
+
start?: number | undefined;
|
|
23053
|
+
end?: number | undefined;
|
|
23054
|
+
expanded?: boolean | undefined;
|
|
23055
|
+
} | null;
|
|
23056
|
+
hostname: string | null;
|
|
23057
|
+
scheme: string | null;
|
|
23058
|
+
latest?: boolean | null | undefined;
|
|
23059
|
+
targetDocUid?: string | null | undefined;
|
|
23060
|
+
targetDocPath?: string[] | null | undefined;
|
|
23061
|
+
};
|
|
23062
|
+
icon: string;
|
|
23063
|
+
title: string;
|
|
23064
|
+
parentNames: string[];
|
|
23065
|
+
searchQuery: string;
|
|
23066
|
+
sameSite: boolean;
|
|
23067
|
+
issuedContact: boolean;
|
|
23068
|
+
sourceAccountUid?: string | undefined;
|
|
23069
|
+
publicName?: string | undefined;
|
|
23070
|
+
petname?: string | undefined;
|
|
23071
|
+
activityTime?: number | undefined;
|
|
23072
|
+
activityType?: "comment" | "publication" | undefined;
|
|
23073
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
23074
|
+
hint?: string | undefined;
|
|
23075
|
+
}, {
|
|
23076
|
+
type: "account" | "document";
|
|
23077
|
+
id: {
|
|
23078
|
+
path: string[] | null;
|
|
23079
|
+
version: string | null;
|
|
23080
|
+
id: string;
|
|
23081
|
+
uid: string;
|
|
23082
|
+
blockRef: string | null;
|
|
23083
|
+
blockRange: {
|
|
23084
|
+
start?: number | undefined;
|
|
23085
|
+
end?: number | undefined;
|
|
23086
|
+
expanded?: boolean | undefined;
|
|
23087
|
+
} | null;
|
|
23088
|
+
hostname: string | null;
|
|
23089
|
+
scheme: string | null;
|
|
23090
|
+
latest?: boolean | null | undefined;
|
|
23091
|
+
targetDocUid?: string | null | undefined;
|
|
23092
|
+
targetDocPath?: string[] | null | undefined;
|
|
23093
|
+
};
|
|
23094
|
+
icon: string;
|
|
23095
|
+
title: string;
|
|
23096
|
+
parentNames: string[];
|
|
23097
|
+
searchQuery: string;
|
|
23098
|
+
sameSite: boolean;
|
|
23099
|
+
issuedContact: boolean;
|
|
23100
|
+
sourceAccountUid?: string | undefined;
|
|
23101
|
+
publicName?: string | undefined;
|
|
23102
|
+
petname?: string | undefined;
|
|
23103
|
+
activityTime?: number | undefined;
|
|
23104
|
+
activityType?: "comment" | "publication" | undefined;
|
|
23105
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
23106
|
+
hint?: string | undefined;
|
|
23107
|
+
}>, "many">;
|
|
23108
|
+
}, "strip", z.ZodTypeAny, {
|
|
23109
|
+
key: "MentionCandidates";
|
|
23110
|
+
input: {
|
|
23111
|
+
mode: "account" | "document";
|
|
23112
|
+
query: string;
|
|
23113
|
+
perspectiveAccountUid?: string | undefined;
|
|
23114
|
+
siteUid?: string | undefined;
|
|
23115
|
+
documentId?: {
|
|
23116
|
+
path: string[] | null;
|
|
23117
|
+
version: string | null;
|
|
23118
|
+
id: string;
|
|
23119
|
+
uid: string;
|
|
23120
|
+
blockRef: string | null;
|
|
23121
|
+
blockRange: {
|
|
23122
|
+
start?: number | undefined;
|
|
23123
|
+
end?: number | undefined;
|
|
23124
|
+
expanded?: boolean | undefined;
|
|
23125
|
+
} | null;
|
|
23126
|
+
hostname: string | null;
|
|
23127
|
+
scheme: string | null;
|
|
23128
|
+
latest?: boolean | null | undefined;
|
|
23129
|
+
targetDocUid?: string | null | undefined;
|
|
23130
|
+
targetDocPath?: string[] | null | undefined;
|
|
23131
|
+
} | undefined;
|
|
23132
|
+
seedIds?: {
|
|
23133
|
+
path: string[] | null;
|
|
23134
|
+
version: string | null;
|
|
23135
|
+
id: string;
|
|
23136
|
+
uid: string;
|
|
23137
|
+
blockRef: string | null;
|
|
23138
|
+
blockRange: {
|
|
23139
|
+
start?: number | undefined;
|
|
23140
|
+
end?: number | undefined;
|
|
23141
|
+
expanded?: boolean | undefined;
|
|
23142
|
+
} | null;
|
|
23143
|
+
hostname: string | null;
|
|
23144
|
+
scheme: string | null;
|
|
23145
|
+
latest?: boolean | null | undefined;
|
|
23146
|
+
targetDocUid?: string | null | undefined;
|
|
23147
|
+
targetDocPath?: string[] | null | undefined;
|
|
23148
|
+
}[] | undefined;
|
|
23149
|
+
};
|
|
23150
|
+
output: {
|
|
23151
|
+
type: "account" | "document";
|
|
23152
|
+
id: {
|
|
23153
|
+
path: string[] | null;
|
|
23154
|
+
version: string | null;
|
|
23155
|
+
id: string;
|
|
23156
|
+
uid: string;
|
|
23157
|
+
blockRef: string | null;
|
|
23158
|
+
blockRange: {
|
|
23159
|
+
start?: number | undefined;
|
|
23160
|
+
end?: number | undefined;
|
|
23161
|
+
expanded?: boolean | undefined;
|
|
23162
|
+
} | null;
|
|
23163
|
+
hostname: string | null;
|
|
23164
|
+
scheme: string | null;
|
|
23165
|
+
latest?: boolean | null | undefined;
|
|
23166
|
+
targetDocUid?: string | null | undefined;
|
|
23167
|
+
targetDocPath?: string[] | null | undefined;
|
|
23168
|
+
};
|
|
23169
|
+
icon: string;
|
|
23170
|
+
title: string;
|
|
23171
|
+
parentNames: string[];
|
|
23172
|
+
searchQuery: string;
|
|
23173
|
+
sameSite: boolean;
|
|
23174
|
+
issuedContact: boolean;
|
|
23175
|
+
sourceAccountUid?: string | undefined;
|
|
23176
|
+
publicName?: string | undefined;
|
|
23177
|
+
petname?: string | undefined;
|
|
23178
|
+
activityTime?: number | undefined;
|
|
23179
|
+
activityType?: "comment" | "publication" | undefined;
|
|
23180
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
23181
|
+
hint?: string | undefined;
|
|
23182
|
+
}[];
|
|
23183
|
+
}, {
|
|
23184
|
+
key: "MentionCandidates";
|
|
23185
|
+
input: {
|
|
23186
|
+
mode: "account" | "document";
|
|
23187
|
+
query: string;
|
|
23188
|
+
perspectiveAccountUid?: string | undefined;
|
|
23189
|
+
siteUid?: string | undefined;
|
|
23190
|
+
documentId?: {
|
|
23191
|
+
path: string[] | null;
|
|
23192
|
+
version: string | null;
|
|
23193
|
+
id: string;
|
|
23194
|
+
uid: string;
|
|
23195
|
+
blockRef: string | null;
|
|
23196
|
+
blockRange: {
|
|
23197
|
+
start?: number | undefined;
|
|
23198
|
+
end?: number | undefined;
|
|
23199
|
+
expanded?: boolean | undefined;
|
|
23200
|
+
} | null;
|
|
23201
|
+
hostname: string | null;
|
|
23202
|
+
scheme: string | null;
|
|
23203
|
+
latest?: boolean | null | undefined;
|
|
23204
|
+
targetDocUid?: string | null | undefined;
|
|
23205
|
+
targetDocPath?: string[] | null | undefined;
|
|
23206
|
+
} | undefined;
|
|
23207
|
+
seedIds?: {
|
|
23208
|
+
path: string[] | null;
|
|
23209
|
+
version: string | null;
|
|
23210
|
+
id: string;
|
|
23211
|
+
uid: string;
|
|
23212
|
+
blockRef: string | null;
|
|
23213
|
+
blockRange: {
|
|
23214
|
+
start?: number | undefined;
|
|
23215
|
+
end?: number | undefined;
|
|
23216
|
+
expanded?: boolean | undefined;
|
|
23217
|
+
} | null;
|
|
23218
|
+
hostname: string | null;
|
|
23219
|
+
scheme: string | null;
|
|
23220
|
+
latest?: boolean | null | undefined;
|
|
23221
|
+
targetDocUid?: string | null | undefined;
|
|
23222
|
+
targetDocPath?: string[] | null | undefined;
|
|
23223
|
+
}[] | undefined;
|
|
23224
|
+
};
|
|
23225
|
+
output: {
|
|
23226
|
+
type: "account" | "document";
|
|
23227
|
+
id: {
|
|
23228
|
+
path: string[] | null;
|
|
23229
|
+
version: string | null;
|
|
23230
|
+
id: string;
|
|
23231
|
+
uid: string;
|
|
23232
|
+
blockRef: string | null;
|
|
23233
|
+
blockRange: {
|
|
23234
|
+
start?: number | undefined;
|
|
23235
|
+
end?: number | undefined;
|
|
23236
|
+
expanded?: boolean | undefined;
|
|
23237
|
+
} | null;
|
|
23238
|
+
hostname: string | null;
|
|
23239
|
+
scheme: string | null;
|
|
23240
|
+
latest?: boolean | null | undefined;
|
|
23241
|
+
targetDocUid?: string | null | undefined;
|
|
23242
|
+
targetDocPath?: string[] | null | undefined;
|
|
23243
|
+
};
|
|
23244
|
+
icon: string;
|
|
23245
|
+
title: string;
|
|
23246
|
+
parentNames: string[];
|
|
23247
|
+
searchQuery: string;
|
|
23248
|
+
sameSite: boolean;
|
|
23249
|
+
issuedContact: boolean;
|
|
23250
|
+
sourceAccountUid?: string | undefined;
|
|
23251
|
+
publicName?: string | undefined;
|
|
23252
|
+
petname?: string | undefined;
|
|
23253
|
+
activityTime?: number | undefined;
|
|
23254
|
+
activityType?: "comment" | "publication" | undefined;
|
|
23255
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
23256
|
+
hint?: string | undefined;
|
|
23257
|
+
}[];
|
|
23258
|
+
}>;
|
|
23259
|
+
/** Universal-client request for mention candidates. */
|
|
23260
|
+
export type HMMentionCandidatesRequest = z.infer<typeof HMMentionCandidatesRequestSchema>;
|
|
23261
|
+
export declare const HMQueryRequestSchema: z.ZodObject<{
|
|
23262
|
+
key: z.ZodLiteral<"Query">;
|
|
23263
|
+
input: z.ZodObject<{
|
|
23264
|
+
includes: z.ZodArray<z.ZodObject<{
|
|
23265
|
+
space: z.ZodString;
|
|
23266
|
+
path: z.ZodOptional<z.ZodString>;
|
|
23267
|
+
mode: z.ZodUnion<[z.ZodLiteral<"Children">, z.ZodLiteral<"AllDescendants">]>;
|
|
23268
|
+
}, "strip", z.ZodTypeAny, {
|
|
23269
|
+
space: string;
|
|
23270
|
+
mode: "Children" | "AllDescendants";
|
|
23271
|
+
path?: string | undefined;
|
|
23272
|
+
}, {
|
|
23273
|
+
space: string;
|
|
23274
|
+
mode: "Children" | "AllDescendants";
|
|
23275
|
+
path?: string | undefined;
|
|
23276
|
+
}>, "many">;
|
|
23277
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
23278
|
+
term: z.ZodOptional<z.ZodString>;
|
|
23279
|
+
reverse: z.ZodOptional<z.ZodBoolean>;
|
|
23280
|
+
}, "strip", z.ZodTypeAny, {
|
|
23281
|
+
reverse?: boolean | undefined;
|
|
23282
|
+
term?: string | undefined;
|
|
23283
|
+
}, {
|
|
23284
|
+
reverse?: boolean | undefined;
|
|
23285
|
+
term?: string | undefined;
|
|
23286
|
+
}>, {
|
|
23287
|
+
term: string;
|
|
23288
|
+
reverse: boolean;
|
|
23289
|
+
}, {
|
|
23290
|
+
reverse?: boolean | undefined;
|
|
23291
|
+
term?: string | undefined;
|
|
23292
|
+
}>, "many">>;
|
|
23293
|
+
limit: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, unknown>;
|
|
23294
|
+
}, "strip", z.ZodTypeAny, {
|
|
23295
|
+
includes: {
|
|
23296
|
+
space: string;
|
|
23297
|
+
mode: "Children" | "AllDescendants";
|
|
23298
|
+
path?: string | undefined;
|
|
23299
|
+
}[];
|
|
23300
|
+
sort?: {
|
|
23301
|
+
term: string;
|
|
23302
|
+
reverse: boolean;
|
|
23303
|
+
}[] | undefined;
|
|
23304
|
+
limit?: number | undefined;
|
|
23305
|
+
}, {
|
|
23306
|
+
includes: {
|
|
23307
|
+
space: string;
|
|
23308
|
+
mode: "Children" | "AllDescendants";
|
|
23309
|
+
path?: string | undefined;
|
|
23310
|
+
}[];
|
|
23311
|
+
sort?: {
|
|
23312
|
+
reverse?: boolean | undefined;
|
|
23313
|
+
term?: string | undefined;
|
|
23314
|
+
}[] | undefined;
|
|
23315
|
+
limit?: unknown;
|
|
23316
|
+
}>;
|
|
23317
|
+
output: z.ZodNullable<z.ZodObject<{
|
|
23318
|
+
in: z.ZodObject<{
|
|
22530
23319
|
id: z.ZodString;
|
|
22531
23320
|
uid: z.ZodString;
|
|
22532
23321
|
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -33670,8 +34459,8 @@ export declare const HMRawCapabilitySchema: z.ZodObject<{
|
|
|
33670
34459
|
}, "strip", z.ZodTypeAny, {
|
|
33671
34460
|
path?: string | undefined;
|
|
33672
34461
|
id?: string | undefined;
|
|
33673
|
-
createTime?: string | undefined;
|
|
33674
34462
|
account?: string | undefined;
|
|
34463
|
+
createTime?: string | undefined;
|
|
33675
34464
|
role?: string | undefined;
|
|
33676
34465
|
label?: string | undefined;
|
|
33677
34466
|
issuer?: string | undefined;
|
|
@@ -33680,8 +34469,8 @@ export declare const HMRawCapabilitySchema: z.ZodObject<{
|
|
|
33680
34469
|
}, {
|
|
33681
34470
|
path?: string | undefined;
|
|
33682
34471
|
id?: string | undefined;
|
|
33683
|
-
createTime?: string | undefined;
|
|
33684
34472
|
account?: string | undefined;
|
|
34473
|
+
createTime?: string | undefined;
|
|
33685
34474
|
role?: string | undefined;
|
|
33686
34475
|
label?: string | undefined;
|
|
33687
34476
|
issuer?: string | undefined;
|
|
@@ -33703,8 +34492,8 @@ export declare const HMListCapabilitiesOutputSchema: z.ZodObject<{
|
|
|
33703
34492
|
}, "strip", z.ZodTypeAny, {
|
|
33704
34493
|
path?: string | undefined;
|
|
33705
34494
|
id?: string | undefined;
|
|
33706
|
-
createTime?: string | undefined;
|
|
33707
34495
|
account?: string | undefined;
|
|
34496
|
+
createTime?: string | undefined;
|
|
33708
34497
|
role?: string | undefined;
|
|
33709
34498
|
label?: string | undefined;
|
|
33710
34499
|
issuer?: string | undefined;
|
|
@@ -33713,8 +34502,8 @@ export declare const HMListCapabilitiesOutputSchema: z.ZodObject<{
|
|
|
33713
34502
|
}, {
|
|
33714
34503
|
path?: string | undefined;
|
|
33715
34504
|
id?: string | undefined;
|
|
33716
|
-
createTime?: string | undefined;
|
|
33717
34505
|
account?: string | undefined;
|
|
34506
|
+
createTime?: string | undefined;
|
|
33718
34507
|
role?: string | undefined;
|
|
33719
34508
|
label?: string | undefined;
|
|
33720
34509
|
issuer?: string | undefined;
|
|
@@ -33725,8 +34514,8 @@ export declare const HMListCapabilitiesOutputSchema: z.ZodObject<{
|
|
|
33725
34514
|
capabilities: {
|
|
33726
34515
|
path?: string | undefined;
|
|
33727
34516
|
id?: string | undefined;
|
|
33728
|
-
createTime?: string | undefined;
|
|
33729
34517
|
account?: string | undefined;
|
|
34518
|
+
createTime?: string | undefined;
|
|
33730
34519
|
role?: string | undefined;
|
|
33731
34520
|
label?: string | undefined;
|
|
33732
34521
|
issuer?: string | undefined;
|
|
@@ -33737,8 +34526,8 @@ export declare const HMListCapabilitiesOutputSchema: z.ZodObject<{
|
|
|
33737
34526
|
capabilities: {
|
|
33738
34527
|
path?: string | undefined;
|
|
33739
34528
|
id?: string | undefined;
|
|
33740
|
-
createTime?: string | undefined;
|
|
33741
34529
|
account?: string | undefined;
|
|
34530
|
+
createTime?: string | undefined;
|
|
33742
34531
|
role?: string | undefined;
|
|
33743
34532
|
label?: string | undefined;
|
|
33744
34533
|
issuer?: string | undefined;
|
|
@@ -33954,8 +34743,8 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
|
|
|
33954
34743
|
}, "strip", z.ZodTypeAny, {
|
|
33955
34744
|
path?: string | undefined;
|
|
33956
34745
|
id?: string | undefined;
|
|
33957
|
-
createTime?: string | undefined;
|
|
33958
34746
|
account?: string | undefined;
|
|
34747
|
+
createTime?: string | undefined;
|
|
33959
34748
|
role?: string | undefined;
|
|
33960
34749
|
label?: string | undefined;
|
|
33961
34750
|
issuer?: string | undefined;
|
|
@@ -33964,8 +34753,8 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
|
|
|
33964
34753
|
}, {
|
|
33965
34754
|
path?: string | undefined;
|
|
33966
34755
|
id?: string | undefined;
|
|
33967
|
-
createTime?: string | undefined;
|
|
33968
34756
|
account?: string | undefined;
|
|
34757
|
+
createTime?: string | undefined;
|
|
33969
34758
|
role?: string | undefined;
|
|
33970
34759
|
label?: string | undefined;
|
|
33971
34760
|
issuer?: string | undefined;
|
|
@@ -33976,8 +34765,8 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
|
|
|
33976
34765
|
capabilities: {
|
|
33977
34766
|
path?: string | undefined;
|
|
33978
34767
|
id?: string | undefined;
|
|
33979
|
-
createTime?: string | undefined;
|
|
33980
34768
|
account?: string | undefined;
|
|
34769
|
+
createTime?: string | undefined;
|
|
33981
34770
|
role?: string | undefined;
|
|
33982
34771
|
label?: string | undefined;
|
|
33983
34772
|
issuer?: string | undefined;
|
|
@@ -33988,8 +34777,8 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
|
|
|
33988
34777
|
capabilities: {
|
|
33989
34778
|
path?: string | undefined;
|
|
33990
34779
|
id?: string | undefined;
|
|
33991
|
-
createTime?: string | undefined;
|
|
33992
34780
|
account?: string | undefined;
|
|
34781
|
+
createTime?: string | undefined;
|
|
33993
34782
|
role?: string | undefined;
|
|
33994
34783
|
label?: string | undefined;
|
|
33995
34784
|
issuer?: string | undefined;
|
|
@@ -34022,8 +34811,8 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
|
|
|
34022
34811
|
capabilities: {
|
|
34023
34812
|
path?: string | undefined;
|
|
34024
34813
|
id?: string | undefined;
|
|
34025
|
-
createTime?: string | undefined;
|
|
34026
34814
|
account?: string | undefined;
|
|
34815
|
+
createTime?: string | undefined;
|
|
34027
34816
|
role?: string | undefined;
|
|
34028
34817
|
label?: string | undefined;
|
|
34029
34818
|
issuer?: string | undefined;
|
|
@@ -34056,8 +34845,8 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
|
|
|
34056
34845
|
capabilities: {
|
|
34057
34846
|
path?: string | undefined;
|
|
34058
34847
|
id?: string | undefined;
|
|
34059
|
-
createTime?: string | undefined;
|
|
34060
34848
|
account?: string | undefined;
|
|
34849
|
+
createTime?: string | undefined;
|
|
34061
34850
|
role?: string | undefined;
|
|
34062
34851
|
label?: string | undefined;
|
|
34063
34852
|
issuer?: string | undefined;
|
|
@@ -42530,6 +43319,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42530
43319
|
}, "strip", z.ZodTypeAny, {
|
|
42531
43320
|
path: string;
|
|
42532
43321
|
version: string;
|
|
43322
|
+
account: string;
|
|
42533
43323
|
content: HMBlockNode[];
|
|
42534
43324
|
createTime: string | {
|
|
42535
43325
|
seconds: number | bigint;
|
|
@@ -42568,7 +43358,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42568
43358
|
};
|
|
42569
43359
|
genesis: string;
|
|
42570
43360
|
authors: string[];
|
|
42571
|
-
account: string;
|
|
42572
43361
|
generationInfo?: {
|
|
42573
43362
|
genesis: string;
|
|
42574
43363
|
generation: bigint;
|
|
@@ -42606,6 +43395,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42606
43395
|
authors: string[];
|
|
42607
43396
|
path?: string | undefined;
|
|
42608
43397
|
version?: string | undefined;
|
|
43398
|
+
account?: string | undefined;
|
|
42609
43399
|
content?: HMBlockNode[] | undefined;
|
|
42610
43400
|
createTime?: string | {
|
|
42611
43401
|
seconds: number | bigint;
|
|
@@ -42619,7 +43409,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42619
43409
|
genesis: string;
|
|
42620
43410
|
generation: bigint;
|
|
42621
43411
|
} | undefined;
|
|
42622
|
-
account?: string | undefined;
|
|
42623
43412
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
42624
43413
|
}>;
|
|
42625
43414
|
id: z.ZodObject<{
|
|
@@ -42701,6 +43490,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42701
43490
|
document: {
|
|
42702
43491
|
path: string;
|
|
42703
43492
|
version: string;
|
|
43493
|
+
account: string;
|
|
42704
43494
|
content: HMBlockNode[];
|
|
42705
43495
|
createTime: string | {
|
|
42706
43496
|
seconds: number | bigint;
|
|
@@ -42739,7 +43529,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42739
43529
|
};
|
|
42740
43530
|
genesis: string;
|
|
42741
43531
|
authors: string[];
|
|
42742
|
-
account: string;
|
|
42743
43532
|
generationInfo?: {
|
|
42744
43533
|
genesis: string;
|
|
42745
43534
|
generation: bigint;
|
|
@@ -42797,6 +43586,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42797
43586
|
authors: string[];
|
|
42798
43587
|
path?: string | undefined;
|
|
42799
43588
|
version?: string | undefined;
|
|
43589
|
+
account?: string | undefined;
|
|
42800
43590
|
content?: HMBlockNode[] | undefined;
|
|
42801
43591
|
createTime?: string | {
|
|
42802
43592
|
seconds: number | bigint;
|
|
@@ -42810,7 +43600,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
42810
43600
|
genesis: string;
|
|
42811
43601
|
generation: bigint;
|
|
42812
43602
|
} | undefined;
|
|
42813
|
-
account?: string | undefined;
|
|
42814
43603
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
42815
43604
|
};
|
|
42816
43605
|
}>, z.ZodObject<{
|
|
@@ -43562,6 +44351,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43562
44351
|
document: {
|
|
43563
44352
|
path: string;
|
|
43564
44353
|
version: string;
|
|
44354
|
+
account: string;
|
|
43565
44355
|
content: HMBlockNode[];
|
|
43566
44356
|
createTime: string | {
|
|
43567
44357
|
seconds: number | bigint;
|
|
@@ -43600,7 +44390,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43600
44390
|
};
|
|
43601
44391
|
genesis: string;
|
|
43602
44392
|
authors: string[];
|
|
43603
|
-
account: string;
|
|
43604
44393
|
generationInfo?: {
|
|
43605
44394
|
genesis: string;
|
|
43606
44395
|
generation: bigint;
|
|
@@ -43815,6 +44604,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43815
44604
|
authors: string[];
|
|
43816
44605
|
path?: string | undefined;
|
|
43817
44606
|
version?: string | undefined;
|
|
44607
|
+
account?: string | undefined;
|
|
43818
44608
|
content?: HMBlockNode[] | undefined;
|
|
43819
44609
|
createTime?: string | {
|
|
43820
44610
|
seconds: number | bigint;
|
|
@@ -43828,7 +44618,6 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
43828
44618
|
genesis: string;
|
|
43829
44619
|
generation: bigint;
|
|
43830
44620
|
} | undefined;
|
|
43831
|
-
account?: string | undefined;
|
|
43832
44621
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
43833
44622
|
};
|
|
43834
44623
|
} | {
|
|
@@ -45888,6 +46677,494 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
45888
46677
|
}[];
|
|
45889
46678
|
nextPageToken: string;
|
|
45890
46679
|
};
|
|
46680
|
+
}>, z.ZodObject<{
|
|
46681
|
+
key: z.ZodLiteral<"MentionCandidates">;
|
|
46682
|
+
input: z.ZodObject<{
|
|
46683
|
+
mode: z.ZodEnum<["account", "document"]>;
|
|
46684
|
+
query: z.ZodString;
|
|
46685
|
+
perspectiveAccountUid: z.ZodOptional<z.ZodString>;
|
|
46686
|
+
siteUid: z.ZodOptional<z.ZodString>;
|
|
46687
|
+
documentId: z.ZodOptional<z.ZodObject<{
|
|
46688
|
+
id: z.ZodString;
|
|
46689
|
+
uid: z.ZodString;
|
|
46690
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
46691
|
+
version: z.ZodNullable<z.ZodString>;
|
|
46692
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
46693
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
46694
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
46695
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
46696
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
46697
|
+
}, "strip", z.ZodTypeAny, {
|
|
46698
|
+
start?: number | undefined;
|
|
46699
|
+
end?: number | undefined;
|
|
46700
|
+
expanded?: boolean | undefined;
|
|
46701
|
+
}, {
|
|
46702
|
+
start?: number | undefined;
|
|
46703
|
+
end?: number | undefined;
|
|
46704
|
+
expanded?: boolean | undefined;
|
|
46705
|
+
}>>;
|
|
46706
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
46707
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
46708
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46709
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46710
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
46711
|
+
}, "strip", z.ZodTypeAny, {
|
|
46712
|
+
path: string[] | null;
|
|
46713
|
+
version: string | null;
|
|
46714
|
+
id: string;
|
|
46715
|
+
uid: string;
|
|
46716
|
+
blockRef: string | null;
|
|
46717
|
+
blockRange: {
|
|
46718
|
+
start?: number | undefined;
|
|
46719
|
+
end?: number | undefined;
|
|
46720
|
+
expanded?: boolean | undefined;
|
|
46721
|
+
} | null;
|
|
46722
|
+
hostname: string | null;
|
|
46723
|
+
scheme: string | null;
|
|
46724
|
+
latest?: boolean | null | undefined;
|
|
46725
|
+
targetDocUid?: string | null | undefined;
|
|
46726
|
+
targetDocPath?: string[] | null | undefined;
|
|
46727
|
+
}, {
|
|
46728
|
+
path: string[] | null;
|
|
46729
|
+
version: string | null;
|
|
46730
|
+
id: string;
|
|
46731
|
+
uid: string;
|
|
46732
|
+
blockRef: string | null;
|
|
46733
|
+
blockRange: {
|
|
46734
|
+
start?: number | undefined;
|
|
46735
|
+
end?: number | undefined;
|
|
46736
|
+
expanded?: boolean | undefined;
|
|
46737
|
+
} | null;
|
|
46738
|
+
hostname: string | null;
|
|
46739
|
+
scheme: string | null;
|
|
46740
|
+
latest?: boolean | null | undefined;
|
|
46741
|
+
targetDocUid?: string | null | undefined;
|
|
46742
|
+
targetDocPath?: string[] | null | undefined;
|
|
46743
|
+
}>>;
|
|
46744
|
+
seedIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46745
|
+
id: z.ZodString;
|
|
46746
|
+
uid: z.ZodString;
|
|
46747
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
46748
|
+
version: z.ZodNullable<z.ZodString>;
|
|
46749
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
46750
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
46751
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
46752
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
46753
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
46754
|
+
}, "strip", z.ZodTypeAny, {
|
|
46755
|
+
start?: number | undefined;
|
|
46756
|
+
end?: number | undefined;
|
|
46757
|
+
expanded?: boolean | undefined;
|
|
46758
|
+
}, {
|
|
46759
|
+
start?: number | undefined;
|
|
46760
|
+
end?: number | undefined;
|
|
46761
|
+
expanded?: boolean | undefined;
|
|
46762
|
+
}>>;
|
|
46763
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
46764
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
46765
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46766
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46767
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
46768
|
+
}, "strip", z.ZodTypeAny, {
|
|
46769
|
+
path: string[] | null;
|
|
46770
|
+
version: string | null;
|
|
46771
|
+
id: string;
|
|
46772
|
+
uid: string;
|
|
46773
|
+
blockRef: string | null;
|
|
46774
|
+
blockRange: {
|
|
46775
|
+
start?: number | undefined;
|
|
46776
|
+
end?: number | undefined;
|
|
46777
|
+
expanded?: boolean | undefined;
|
|
46778
|
+
} | null;
|
|
46779
|
+
hostname: string | null;
|
|
46780
|
+
scheme: string | null;
|
|
46781
|
+
latest?: boolean | null | undefined;
|
|
46782
|
+
targetDocUid?: string | null | undefined;
|
|
46783
|
+
targetDocPath?: string[] | null | undefined;
|
|
46784
|
+
}, {
|
|
46785
|
+
path: string[] | null;
|
|
46786
|
+
version: string | null;
|
|
46787
|
+
id: string;
|
|
46788
|
+
uid: string;
|
|
46789
|
+
blockRef: string | null;
|
|
46790
|
+
blockRange: {
|
|
46791
|
+
start?: number | undefined;
|
|
46792
|
+
end?: number | undefined;
|
|
46793
|
+
expanded?: boolean | undefined;
|
|
46794
|
+
} | null;
|
|
46795
|
+
hostname: string | null;
|
|
46796
|
+
scheme: string | null;
|
|
46797
|
+
latest?: boolean | null | undefined;
|
|
46798
|
+
targetDocUid?: string | null | undefined;
|
|
46799
|
+
targetDocPath?: string[] | null | undefined;
|
|
46800
|
+
}>, "many">>;
|
|
46801
|
+
}, "strip", z.ZodTypeAny, {
|
|
46802
|
+
mode: "account" | "document";
|
|
46803
|
+
query: string;
|
|
46804
|
+
perspectiveAccountUid?: string | undefined;
|
|
46805
|
+
siteUid?: string | undefined;
|
|
46806
|
+
documentId?: {
|
|
46807
|
+
path: string[] | null;
|
|
46808
|
+
version: string | null;
|
|
46809
|
+
id: string;
|
|
46810
|
+
uid: string;
|
|
46811
|
+
blockRef: string | null;
|
|
46812
|
+
blockRange: {
|
|
46813
|
+
start?: number | undefined;
|
|
46814
|
+
end?: number | undefined;
|
|
46815
|
+
expanded?: boolean | undefined;
|
|
46816
|
+
} | null;
|
|
46817
|
+
hostname: string | null;
|
|
46818
|
+
scheme: string | null;
|
|
46819
|
+
latest?: boolean | null | undefined;
|
|
46820
|
+
targetDocUid?: string | null | undefined;
|
|
46821
|
+
targetDocPath?: string[] | null | undefined;
|
|
46822
|
+
} | undefined;
|
|
46823
|
+
seedIds?: {
|
|
46824
|
+
path: string[] | null;
|
|
46825
|
+
version: string | null;
|
|
46826
|
+
id: string;
|
|
46827
|
+
uid: string;
|
|
46828
|
+
blockRef: string | null;
|
|
46829
|
+
blockRange: {
|
|
46830
|
+
start?: number | undefined;
|
|
46831
|
+
end?: number | undefined;
|
|
46832
|
+
expanded?: boolean | undefined;
|
|
46833
|
+
} | null;
|
|
46834
|
+
hostname: string | null;
|
|
46835
|
+
scheme: string | null;
|
|
46836
|
+
latest?: boolean | null | undefined;
|
|
46837
|
+
targetDocUid?: string | null | undefined;
|
|
46838
|
+
targetDocPath?: string[] | null | undefined;
|
|
46839
|
+
}[] | undefined;
|
|
46840
|
+
}, {
|
|
46841
|
+
mode: "account" | "document";
|
|
46842
|
+
query: string;
|
|
46843
|
+
perspectiveAccountUid?: string | undefined;
|
|
46844
|
+
siteUid?: string | undefined;
|
|
46845
|
+
documentId?: {
|
|
46846
|
+
path: string[] | null;
|
|
46847
|
+
version: string | null;
|
|
46848
|
+
id: string;
|
|
46849
|
+
uid: string;
|
|
46850
|
+
blockRef: string | null;
|
|
46851
|
+
blockRange: {
|
|
46852
|
+
start?: number | undefined;
|
|
46853
|
+
end?: number | undefined;
|
|
46854
|
+
expanded?: boolean | undefined;
|
|
46855
|
+
} | null;
|
|
46856
|
+
hostname: string | null;
|
|
46857
|
+
scheme: string | null;
|
|
46858
|
+
latest?: boolean | null | undefined;
|
|
46859
|
+
targetDocUid?: string | null | undefined;
|
|
46860
|
+
targetDocPath?: string[] | null | undefined;
|
|
46861
|
+
} | undefined;
|
|
46862
|
+
seedIds?: {
|
|
46863
|
+
path: string[] | null;
|
|
46864
|
+
version: string | null;
|
|
46865
|
+
id: string;
|
|
46866
|
+
uid: string;
|
|
46867
|
+
blockRef: string | null;
|
|
46868
|
+
blockRange: {
|
|
46869
|
+
start?: number | undefined;
|
|
46870
|
+
end?: number | undefined;
|
|
46871
|
+
expanded?: boolean | undefined;
|
|
46872
|
+
} | null;
|
|
46873
|
+
hostname: string | null;
|
|
46874
|
+
scheme: string | null;
|
|
46875
|
+
latest?: boolean | null | undefined;
|
|
46876
|
+
targetDocUid?: string | null | undefined;
|
|
46877
|
+
targetDocPath?: string[] | null | undefined;
|
|
46878
|
+
}[] | undefined;
|
|
46879
|
+
}>;
|
|
46880
|
+
output: z.ZodArray<z.ZodObject<{
|
|
46881
|
+
id: z.ZodObject<{
|
|
46882
|
+
id: z.ZodString;
|
|
46883
|
+
uid: z.ZodString;
|
|
46884
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
46885
|
+
version: z.ZodNullable<z.ZodString>;
|
|
46886
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
46887
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
46888
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
46889
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
46890
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
46891
|
+
}, "strip", z.ZodTypeAny, {
|
|
46892
|
+
start?: number | undefined;
|
|
46893
|
+
end?: number | undefined;
|
|
46894
|
+
expanded?: boolean | undefined;
|
|
46895
|
+
}, {
|
|
46896
|
+
start?: number | undefined;
|
|
46897
|
+
end?: number | undefined;
|
|
46898
|
+
expanded?: boolean | undefined;
|
|
46899
|
+
}>>;
|
|
46900
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
46901
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
46902
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46903
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46904
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
46905
|
+
}, "strip", z.ZodTypeAny, {
|
|
46906
|
+
path: string[] | null;
|
|
46907
|
+
version: string | null;
|
|
46908
|
+
id: string;
|
|
46909
|
+
uid: string;
|
|
46910
|
+
blockRef: string | null;
|
|
46911
|
+
blockRange: {
|
|
46912
|
+
start?: number | undefined;
|
|
46913
|
+
end?: number | undefined;
|
|
46914
|
+
expanded?: boolean | undefined;
|
|
46915
|
+
} | null;
|
|
46916
|
+
hostname: string | null;
|
|
46917
|
+
scheme: string | null;
|
|
46918
|
+
latest?: boolean | null | undefined;
|
|
46919
|
+
targetDocUid?: string | null | undefined;
|
|
46920
|
+
targetDocPath?: string[] | null | undefined;
|
|
46921
|
+
}, {
|
|
46922
|
+
path: string[] | null;
|
|
46923
|
+
version: string | null;
|
|
46924
|
+
id: string;
|
|
46925
|
+
uid: string;
|
|
46926
|
+
blockRef: string | null;
|
|
46927
|
+
blockRange: {
|
|
46928
|
+
start?: number | undefined;
|
|
46929
|
+
end?: number | undefined;
|
|
46930
|
+
expanded?: boolean | undefined;
|
|
46931
|
+
} | null;
|
|
46932
|
+
hostname: string | null;
|
|
46933
|
+
scheme: string | null;
|
|
46934
|
+
latest?: boolean | null | undefined;
|
|
46935
|
+
targetDocUid?: string | null | undefined;
|
|
46936
|
+
targetDocPath?: string[] | null | undefined;
|
|
46937
|
+
}>;
|
|
46938
|
+
type: z.ZodEnum<["account", "document"]>;
|
|
46939
|
+
title: z.ZodString;
|
|
46940
|
+
icon: z.ZodString;
|
|
46941
|
+
parentNames: z.ZodArray<z.ZodString, "many">;
|
|
46942
|
+
searchQuery: z.ZodString;
|
|
46943
|
+
/** Requested account identity before the daemon resolves an account alias. */
|
|
46944
|
+
sourceAccountUid: z.ZodOptional<z.ZodString>;
|
|
46945
|
+
publicName: z.ZodOptional<z.ZodString>;
|
|
46946
|
+
petname: z.ZodOptional<z.ZodString>;
|
|
46947
|
+
activityTime: z.ZodOptional<z.ZodNumber>;
|
|
46948
|
+
activityType: z.ZodOptional<z.ZodEnum<["publication", "comment"]>>;
|
|
46949
|
+
accountRole: z.ZodOptional<z.ZodEnum<["site-owner", "site-editor", "document-editor", "site-follower"]>>;
|
|
46950
|
+
sameSite: z.ZodBoolean;
|
|
46951
|
+
issuedContact: z.ZodBoolean;
|
|
46952
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
46953
|
+
}, "strip", z.ZodTypeAny, {
|
|
46954
|
+
type: "account" | "document";
|
|
46955
|
+
id: {
|
|
46956
|
+
path: string[] | null;
|
|
46957
|
+
version: string | null;
|
|
46958
|
+
id: string;
|
|
46959
|
+
uid: string;
|
|
46960
|
+
blockRef: string | null;
|
|
46961
|
+
blockRange: {
|
|
46962
|
+
start?: number | undefined;
|
|
46963
|
+
end?: number | undefined;
|
|
46964
|
+
expanded?: boolean | undefined;
|
|
46965
|
+
} | null;
|
|
46966
|
+
hostname: string | null;
|
|
46967
|
+
scheme: string | null;
|
|
46968
|
+
latest?: boolean | null | undefined;
|
|
46969
|
+
targetDocUid?: string | null | undefined;
|
|
46970
|
+
targetDocPath?: string[] | null | undefined;
|
|
46971
|
+
};
|
|
46972
|
+
icon: string;
|
|
46973
|
+
title: string;
|
|
46974
|
+
parentNames: string[];
|
|
46975
|
+
searchQuery: string;
|
|
46976
|
+
sameSite: boolean;
|
|
46977
|
+
issuedContact: boolean;
|
|
46978
|
+
sourceAccountUid?: string | undefined;
|
|
46979
|
+
publicName?: string | undefined;
|
|
46980
|
+
petname?: string | undefined;
|
|
46981
|
+
activityTime?: number | undefined;
|
|
46982
|
+
activityType?: "comment" | "publication" | undefined;
|
|
46983
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
46984
|
+
hint?: string | undefined;
|
|
46985
|
+
}, {
|
|
46986
|
+
type: "account" | "document";
|
|
46987
|
+
id: {
|
|
46988
|
+
path: string[] | null;
|
|
46989
|
+
version: string | null;
|
|
46990
|
+
id: string;
|
|
46991
|
+
uid: string;
|
|
46992
|
+
blockRef: string | null;
|
|
46993
|
+
blockRange: {
|
|
46994
|
+
start?: number | undefined;
|
|
46995
|
+
end?: number | undefined;
|
|
46996
|
+
expanded?: boolean | undefined;
|
|
46997
|
+
} | null;
|
|
46998
|
+
hostname: string | null;
|
|
46999
|
+
scheme: string | null;
|
|
47000
|
+
latest?: boolean | null | undefined;
|
|
47001
|
+
targetDocUid?: string | null | undefined;
|
|
47002
|
+
targetDocPath?: string[] | null | undefined;
|
|
47003
|
+
};
|
|
47004
|
+
icon: string;
|
|
47005
|
+
title: string;
|
|
47006
|
+
parentNames: string[];
|
|
47007
|
+
searchQuery: string;
|
|
47008
|
+
sameSite: boolean;
|
|
47009
|
+
issuedContact: boolean;
|
|
47010
|
+
sourceAccountUid?: string | undefined;
|
|
47011
|
+
publicName?: string | undefined;
|
|
47012
|
+
petname?: string | undefined;
|
|
47013
|
+
activityTime?: number | undefined;
|
|
47014
|
+
activityType?: "comment" | "publication" | undefined;
|
|
47015
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
47016
|
+
hint?: string | undefined;
|
|
47017
|
+
}>, "many">;
|
|
47018
|
+
}, "strip", z.ZodTypeAny, {
|
|
47019
|
+
key: "MentionCandidates";
|
|
47020
|
+
input: {
|
|
47021
|
+
mode: "account" | "document";
|
|
47022
|
+
query: string;
|
|
47023
|
+
perspectiveAccountUid?: string | undefined;
|
|
47024
|
+
siteUid?: string | undefined;
|
|
47025
|
+
documentId?: {
|
|
47026
|
+
path: string[] | null;
|
|
47027
|
+
version: string | null;
|
|
47028
|
+
id: string;
|
|
47029
|
+
uid: string;
|
|
47030
|
+
blockRef: string | null;
|
|
47031
|
+
blockRange: {
|
|
47032
|
+
start?: number | undefined;
|
|
47033
|
+
end?: number | undefined;
|
|
47034
|
+
expanded?: boolean | undefined;
|
|
47035
|
+
} | null;
|
|
47036
|
+
hostname: string | null;
|
|
47037
|
+
scheme: string | null;
|
|
47038
|
+
latest?: boolean | null | undefined;
|
|
47039
|
+
targetDocUid?: string | null | undefined;
|
|
47040
|
+
targetDocPath?: string[] | null | undefined;
|
|
47041
|
+
} | undefined;
|
|
47042
|
+
seedIds?: {
|
|
47043
|
+
path: string[] | null;
|
|
47044
|
+
version: string | null;
|
|
47045
|
+
id: string;
|
|
47046
|
+
uid: string;
|
|
47047
|
+
blockRef: string | null;
|
|
47048
|
+
blockRange: {
|
|
47049
|
+
start?: number | undefined;
|
|
47050
|
+
end?: number | undefined;
|
|
47051
|
+
expanded?: boolean | undefined;
|
|
47052
|
+
} | null;
|
|
47053
|
+
hostname: string | null;
|
|
47054
|
+
scheme: string | null;
|
|
47055
|
+
latest?: boolean | null | undefined;
|
|
47056
|
+
targetDocUid?: string | null | undefined;
|
|
47057
|
+
targetDocPath?: string[] | null | undefined;
|
|
47058
|
+
}[] | undefined;
|
|
47059
|
+
};
|
|
47060
|
+
output: {
|
|
47061
|
+
type: "account" | "document";
|
|
47062
|
+
id: {
|
|
47063
|
+
path: string[] | null;
|
|
47064
|
+
version: string | null;
|
|
47065
|
+
id: string;
|
|
47066
|
+
uid: string;
|
|
47067
|
+
blockRef: string | null;
|
|
47068
|
+
blockRange: {
|
|
47069
|
+
start?: number | undefined;
|
|
47070
|
+
end?: number | undefined;
|
|
47071
|
+
expanded?: boolean | undefined;
|
|
47072
|
+
} | null;
|
|
47073
|
+
hostname: string | null;
|
|
47074
|
+
scheme: string | null;
|
|
47075
|
+
latest?: boolean | null | undefined;
|
|
47076
|
+
targetDocUid?: string | null | undefined;
|
|
47077
|
+
targetDocPath?: string[] | null | undefined;
|
|
47078
|
+
};
|
|
47079
|
+
icon: string;
|
|
47080
|
+
title: string;
|
|
47081
|
+
parentNames: string[];
|
|
47082
|
+
searchQuery: string;
|
|
47083
|
+
sameSite: boolean;
|
|
47084
|
+
issuedContact: boolean;
|
|
47085
|
+
sourceAccountUid?: string | undefined;
|
|
47086
|
+
publicName?: string | undefined;
|
|
47087
|
+
petname?: string | undefined;
|
|
47088
|
+
activityTime?: number | undefined;
|
|
47089
|
+
activityType?: "comment" | "publication" | undefined;
|
|
47090
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
47091
|
+
hint?: string | undefined;
|
|
47092
|
+
}[];
|
|
47093
|
+
}, {
|
|
47094
|
+
key: "MentionCandidates";
|
|
47095
|
+
input: {
|
|
47096
|
+
mode: "account" | "document";
|
|
47097
|
+
query: string;
|
|
47098
|
+
perspectiveAccountUid?: string | undefined;
|
|
47099
|
+
siteUid?: string | undefined;
|
|
47100
|
+
documentId?: {
|
|
47101
|
+
path: string[] | null;
|
|
47102
|
+
version: string | null;
|
|
47103
|
+
id: string;
|
|
47104
|
+
uid: string;
|
|
47105
|
+
blockRef: string | null;
|
|
47106
|
+
blockRange: {
|
|
47107
|
+
start?: number | undefined;
|
|
47108
|
+
end?: number | undefined;
|
|
47109
|
+
expanded?: boolean | undefined;
|
|
47110
|
+
} | null;
|
|
47111
|
+
hostname: string | null;
|
|
47112
|
+
scheme: string | null;
|
|
47113
|
+
latest?: boolean | null | undefined;
|
|
47114
|
+
targetDocUid?: string | null | undefined;
|
|
47115
|
+
targetDocPath?: string[] | null | undefined;
|
|
47116
|
+
} | undefined;
|
|
47117
|
+
seedIds?: {
|
|
47118
|
+
path: string[] | null;
|
|
47119
|
+
version: string | null;
|
|
47120
|
+
id: string;
|
|
47121
|
+
uid: string;
|
|
47122
|
+
blockRef: string | null;
|
|
47123
|
+
blockRange: {
|
|
47124
|
+
start?: number | undefined;
|
|
47125
|
+
end?: number | undefined;
|
|
47126
|
+
expanded?: boolean | undefined;
|
|
47127
|
+
} | null;
|
|
47128
|
+
hostname: string | null;
|
|
47129
|
+
scheme: string | null;
|
|
47130
|
+
latest?: boolean | null | undefined;
|
|
47131
|
+
targetDocUid?: string | null | undefined;
|
|
47132
|
+
targetDocPath?: string[] | null | undefined;
|
|
47133
|
+
}[] | undefined;
|
|
47134
|
+
};
|
|
47135
|
+
output: {
|
|
47136
|
+
type: "account" | "document";
|
|
47137
|
+
id: {
|
|
47138
|
+
path: string[] | null;
|
|
47139
|
+
version: string | null;
|
|
47140
|
+
id: string;
|
|
47141
|
+
uid: string;
|
|
47142
|
+
blockRef: string | null;
|
|
47143
|
+
blockRange: {
|
|
47144
|
+
start?: number | undefined;
|
|
47145
|
+
end?: number | undefined;
|
|
47146
|
+
expanded?: boolean | undefined;
|
|
47147
|
+
} | null;
|
|
47148
|
+
hostname: string | null;
|
|
47149
|
+
scheme: string | null;
|
|
47150
|
+
latest?: boolean | null | undefined;
|
|
47151
|
+
targetDocUid?: string | null | undefined;
|
|
47152
|
+
targetDocPath?: string[] | null | undefined;
|
|
47153
|
+
};
|
|
47154
|
+
icon: string;
|
|
47155
|
+
title: string;
|
|
47156
|
+
parentNames: string[];
|
|
47157
|
+
searchQuery: string;
|
|
47158
|
+
sameSite: boolean;
|
|
47159
|
+
issuedContact: boolean;
|
|
47160
|
+
sourceAccountUid?: string | undefined;
|
|
47161
|
+
publicName?: string | undefined;
|
|
47162
|
+
petname?: string | undefined;
|
|
47163
|
+
activityTime?: number | undefined;
|
|
47164
|
+
activityType?: "comment" | "publication" | undefined;
|
|
47165
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
47166
|
+
hint?: string | undefined;
|
|
47167
|
+
}[];
|
|
45891
47168
|
}>, z.ZodObject<{
|
|
45892
47169
|
key: z.ZodLiteral<"Query">;
|
|
45893
47170
|
input: z.ZodObject<{
|
|
@@ -55041,8 +56318,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
55041
56318
|
}, "strip", z.ZodTypeAny, {
|
|
55042
56319
|
path?: string | undefined;
|
|
55043
56320
|
id?: string | undefined;
|
|
55044
|
-
createTime?: string | undefined;
|
|
55045
56321
|
account?: string | undefined;
|
|
56322
|
+
createTime?: string | undefined;
|
|
55046
56323
|
role?: string | undefined;
|
|
55047
56324
|
label?: string | undefined;
|
|
55048
56325
|
issuer?: string | undefined;
|
|
@@ -55051,8 +56328,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
55051
56328
|
}, {
|
|
55052
56329
|
path?: string | undefined;
|
|
55053
56330
|
id?: string | undefined;
|
|
55054
|
-
createTime?: string | undefined;
|
|
55055
56331
|
account?: string | undefined;
|
|
56332
|
+
createTime?: string | undefined;
|
|
55056
56333
|
role?: string | undefined;
|
|
55057
56334
|
label?: string | undefined;
|
|
55058
56335
|
issuer?: string | undefined;
|
|
@@ -55063,8 +56340,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
55063
56340
|
capabilities: {
|
|
55064
56341
|
path?: string | undefined;
|
|
55065
56342
|
id?: string | undefined;
|
|
55066
|
-
createTime?: string | undefined;
|
|
55067
56343
|
account?: string | undefined;
|
|
56344
|
+
createTime?: string | undefined;
|
|
55068
56345
|
role?: string | undefined;
|
|
55069
56346
|
label?: string | undefined;
|
|
55070
56347
|
issuer?: string | undefined;
|
|
@@ -55075,8 +56352,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
55075
56352
|
capabilities: {
|
|
55076
56353
|
path?: string | undefined;
|
|
55077
56354
|
id?: string | undefined;
|
|
55078
|
-
createTime?: string | undefined;
|
|
55079
56355
|
account?: string | undefined;
|
|
56356
|
+
createTime?: string | undefined;
|
|
55080
56357
|
role?: string | undefined;
|
|
55081
56358
|
label?: string | undefined;
|
|
55082
56359
|
issuer?: string | undefined;
|
|
@@ -55109,8 +56386,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
55109
56386
|
capabilities: {
|
|
55110
56387
|
path?: string | undefined;
|
|
55111
56388
|
id?: string | undefined;
|
|
55112
|
-
createTime?: string | undefined;
|
|
55113
56389
|
account?: string | undefined;
|
|
56390
|
+
createTime?: string | undefined;
|
|
55114
56391
|
role?: string | undefined;
|
|
55115
56392
|
label?: string | undefined;
|
|
55116
56393
|
issuer?: string | undefined;
|
|
@@ -55143,8 +56420,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
55143
56420
|
capabilities: {
|
|
55144
56421
|
path?: string | undefined;
|
|
55145
56422
|
id?: string | undefined;
|
|
55146
|
-
createTime?: string | undefined;
|
|
55147
56423
|
account?: string | undefined;
|
|
56424
|
+
createTime?: string | undefined;
|
|
55148
56425
|
role?: string | undefined;
|
|
55149
56426
|
label?: string | undefined;
|
|
55150
56427
|
issuer?: string | undefined;
|
|
@@ -58365,6 +59642,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58365
59642
|
}, "strip", z.ZodTypeAny, {
|
|
58366
59643
|
path: string;
|
|
58367
59644
|
version: string;
|
|
59645
|
+
account: string;
|
|
58368
59646
|
content: HMBlockNode[];
|
|
58369
59647
|
createTime: string | {
|
|
58370
59648
|
seconds: number | bigint;
|
|
@@ -58403,7 +59681,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58403
59681
|
};
|
|
58404
59682
|
genesis: string;
|
|
58405
59683
|
authors: string[];
|
|
58406
|
-
account: string;
|
|
58407
59684
|
generationInfo?: {
|
|
58408
59685
|
genesis: string;
|
|
58409
59686
|
generation: bigint;
|
|
@@ -58441,6 +59718,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58441
59718
|
authors: string[];
|
|
58442
59719
|
path?: string | undefined;
|
|
58443
59720
|
version?: string | undefined;
|
|
59721
|
+
account?: string | undefined;
|
|
58444
59722
|
content?: HMBlockNode[] | undefined;
|
|
58445
59723
|
createTime?: string | {
|
|
58446
59724
|
seconds: number | bigint;
|
|
@@ -58454,7 +59732,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58454
59732
|
genesis: string;
|
|
58455
59733
|
generation: bigint;
|
|
58456
59734
|
} | undefined;
|
|
58457
|
-
account?: string | undefined;
|
|
58458
59735
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
58459
59736
|
}>;
|
|
58460
59737
|
id: z.ZodObject<{
|
|
@@ -58536,6 +59813,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58536
59813
|
document: {
|
|
58537
59814
|
path: string;
|
|
58538
59815
|
version: string;
|
|
59816
|
+
account: string;
|
|
58539
59817
|
content: HMBlockNode[];
|
|
58540
59818
|
createTime: string | {
|
|
58541
59819
|
seconds: number | bigint;
|
|
@@ -58574,7 +59852,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58574
59852
|
};
|
|
58575
59853
|
genesis: string;
|
|
58576
59854
|
authors: string[];
|
|
58577
|
-
account: string;
|
|
58578
59855
|
generationInfo?: {
|
|
58579
59856
|
genesis: string;
|
|
58580
59857
|
generation: bigint;
|
|
@@ -58632,6 +59909,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58632
59909
|
authors: string[];
|
|
58633
59910
|
path?: string | undefined;
|
|
58634
59911
|
version?: string | undefined;
|
|
59912
|
+
account?: string | undefined;
|
|
58635
59913
|
content?: HMBlockNode[] | undefined;
|
|
58636
59914
|
createTime?: string | {
|
|
58637
59915
|
seconds: number | bigint;
|
|
@@ -58645,7 +59923,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
58645
59923
|
genesis: string;
|
|
58646
59924
|
generation: bigint;
|
|
58647
59925
|
} | undefined;
|
|
58648
|
-
account?: string | undefined;
|
|
58649
59926
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
58650
59927
|
};
|
|
58651
59928
|
}>, z.ZodObject<{
|
|
@@ -59397,6 +60674,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
59397
60674
|
document: {
|
|
59398
60675
|
path: string;
|
|
59399
60676
|
version: string;
|
|
60677
|
+
account: string;
|
|
59400
60678
|
content: HMBlockNode[];
|
|
59401
60679
|
createTime: string | {
|
|
59402
60680
|
seconds: number | bigint;
|
|
@@ -59435,7 +60713,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
59435
60713
|
};
|
|
59436
60714
|
genesis: string;
|
|
59437
60715
|
authors: string[];
|
|
59438
|
-
account: string;
|
|
59439
60716
|
generationInfo?: {
|
|
59440
60717
|
genesis: string;
|
|
59441
60718
|
generation: bigint;
|
|
@@ -59650,6 +60927,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
59650
60927
|
authors: string[];
|
|
59651
60928
|
path?: string | undefined;
|
|
59652
60929
|
version?: string | undefined;
|
|
60930
|
+
account?: string | undefined;
|
|
59653
60931
|
content?: HMBlockNode[] | undefined;
|
|
59654
60932
|
createTime?: string | {
|
|
59655
60933
|
seconds: number | bigint;
|
|
@@ -59663,7 +60941,6 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
59663
60941
|
genesis: string;
|
|
59664
60942
|
generation: bigint;
|
|
59665
60943
|
} | undefined;
|
|
59666
|
-
account?: string | undefined;
|
|
59667
60944
|
detachedBlocks?: Record<string, HMBlockNode> | undefined;
|
|
59668
60945
|
};
|
|
59669
60946
|
} | {
|
|
@@ -61723,6 +63000,494 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
61723
63000
|
}[];
|
|
61724
63001
|
nextPageToken: string;
|
|
61725
63002
|
};
|
|
63003
|
+
}>, z.ZodObject<{
|
|
63004
|
+
key: z.ZodLiteral<"MentionCandidates">;
|
|
63005
|
+
input: z.ZodObject<{
|
|
63006
|
+
mode: z.ZodEnum<["account", "document"]>;
|
|
63007
|
+
query: z.ZodString;
|
|
63008
|
+
perspectiveAccountUid: z.ZodOptional<z.ZodString>;
|
|
63009
|
+
siteUid: z.ZodOptional<z.ZodString>;
|
|
63010
|
+
documentId: z.ZodOptional<z.ZodObject<{
|
|
63011
|
+
id: z.ZodString;
|
|
63012
|
+
uid: z.ZodString;
|
|
63013
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
63014
|
+
version: z.ZodNullable<z.ZodString>;
|
|
63015
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
63016
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
63017
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
63018
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
63019
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
63020
|
+
}, "strip", z.ZodTypeAny, {
|
|
63021
|
+
start?: number | undefined;
|
|
63022
|
+
end?: number | undefined;
|
|
63023
|
+
expanded?: boolean | undefined;
|
|
63024
|
+
}, {
|
|
63025
|
+
start?: number | undefined;
|
|
63026
|
+
end?: number | undefined;
|
|
63027
|
+
expanded?: boolean | undefined;
|
|
63028
|
+
}>>;
|
|
63029
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
63030
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
63031
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63032
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63033
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
63034
|
+
}, "strip", z.ZodTypeAny, {
|
|
63035
|
+
path: string[] | null;
|
|
63036
|
+
version: string | null;
|
|
63037
|
+
id: string;
|
|
63038
|
+
uid: string;
|
|
63039
|
+
blockRef: string | null;
|
|
63040
|
+
blockRange: {
|
|
63041
|
+
start?: number | undefined;
|
|
63042
|
+
end?: number | undefined;
|
|
63043
|
+
expanded?: boolean | undefined;
|
|
63044
|
+
} | null;
|
|
63045
|
+
hostname: string | null;
|
|
63046
|
+
scheme: string | null;
|
|
63047
|
+
latest?: boolean | null | undefined;
|
|
63048
|
+
targetDocUid?: string | null | undefined;
|
|
63049
|
+
targetDocPath?: string[] | null | undefined;
|
|
63050
|
+
}, {
|
|
63051
|
+
path: string[] | null;
|
|
63052
|
+
version: string | null;
|
|
63053
|
+
id: string;
|
|
63054
|
+
uid: string;
|
|
63055
|
+
blockRef: string | null;
|
|
63056
|
+
blockRange: {
|
|
63057
|
+
start?: number | undefined;
|
|
63058
|
+
end?: number | undefined;
|
|
63059
|
+
expanded?: boolean | undefined;
|
|
63060
|
+
} | null;
|
|
63061
|
+
hostname: string | null;
|
|
63062
|
+
scheme: string | null;
|
|
63063
|
+
latest?: boolean | null | undefined;
|
|
63064
|
+
targetDocUid?: string | null | undefined;
|
|
63065
|
+
targetDocPath?: string[] | null | undefined;
|
|
63066
|
+
}>>;
|
|
63067
|
+
seedIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
63068
|
+
id: z.ZodString;
|
|
63069
|
+
uid: z.ZodString;
|
|
63070
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
63071
|
+
version: z.ZodNullable<z.ZodString>;
|
|
63072
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
63073
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
63074
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
63075
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
63076
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
63077
|
+
}, "strip", z.ZodTypeAny, {
|
|
63078
|
+
start?: number | undefined;
|
|
63079
|
+
end?: number | undefined;
|
|
63080
|
+
expanded?: boolean | undefined;
|
|
63081
|
+
}, {
|
|
63082
|
+
start?: number | undefined;
|
|
63083
|
+
end?: number | undefined;
|
|
63084
|
+
expanded?: boolean | undefined;
|
|
63085
|
+
}>>;
|
|
63086
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
63087
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
63088
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63089
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63090
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
63091
|
+
}, "strip", z.ZodTypeAny, {
|
|
63092
|
+
path: string[] | null;
|
|
63093
|
+
version: string | null;
|
|
63094
|
+
id: string;
|
|
63095
|
+
uid: string;
|
|
63096
|
+
blockRef: string | null;
|
|
63097
|
+
blockRange: {
|
|
63098
|
+
start?: number | undefined;
|
|
63099
|
+
end?: number | undefined;
|
|
63100
|
+
expanded?: boolean | undefined;
|
|
63101
|
+
} | null;
|
|
63102
|
+
hostname: string | null;
|
|
63103
|
+
scheme: string | null;
|
|
63104
|
+
latest?: boolean | null | undefined;
|
|
63105
|
+
targetDocUid?: string | null | undefined;
|
|
63106
|
+
targetDocPath?: string[] | null | undefined;
|
|
63107
|
+
}, {
|
|
63108
|
+
path: string[] | null;
|
|
63109
|
+
version: string | null;
|
|
63110
|
+
id: string;
|
|
63111
|
+
uid: string;
|
|
63112
|
+
blockRef: string | null;
|
|
63113
|
+
blockRange: {
|
|
63114
|
+
start?: number | undefined;
|
|
63115
|
+
end?: number | undefined;
|
|
63116
|
+
expanded?: boolean | undefined;
|
|
63117
|
+
} | null;
|
|
63118
|
+
hostname: string | null;
|
|
63119
|
+
scheme: string | null;
|
|
63120
|
+
latest?: boolean | null | undefined;
|
|
63121
|
+
targetDocUid?: string | null | undefined;
|
|
63122
|
+
targetDocPath?: string[] | null | undefined;
|
|
63123
|
+
}>, "many">>;
|
|
63124
|
+
}, "strip", z.ZodTypeAny, {
|
|
63125
|
+
mode: "account" | "document";
|
|
63126
|
+
query: string;
|
|
63127
|
+
perspectiveAccountUid?: string | undefined;
|
|
63128
|
+
siteUid?: string | undefined;
|
|
63129
|
+
documentId?: {
|
|
63130
|
+
path: string[] | null;
|
|
63131
|
+
version: string | null;
|
|
63132
|
+
id: string;
|
|
63133
|
+
uid: string;
|
|
63134
|
+
blockRef: string | null;
|
|
63135
|
+
blockRange: {
|
|
63136
|
+
start?: number | undefined;
|
|
63137
|
+
end?: number | undefined;
|
|
63138
|
+
expanded?: boolean | undefined;
|
|
63139
|
+
} | null;
|
|
63140
|
+
hostname: string | null;
|
|
63141
|
+
scheme: string | null;
|
|
63142
|
+
latest?: boolean | null | undefined;
|
|
63143
|
+
targetDocUid?: string | null | undefined;
|
|
63144
|
+
targetDocPath?: string[] | null | undefined;
|
|
63145
|
+
} | undefined;
|
|
63146
|
+
seedIds?: {
|
|
63147
|
+
path: string[] | null;
|
|
63148
|
+
version: string | null;
|
|
63149
|
+
id: string;
|
|
63150
|
+
uid: string;
|
|
63151
|
+
blockRef: string | null;
|
|
63152
|
+
blockRange: {
|
|
63153
|
+
start?: number | undefined;
|
|
63154
|
+
end?: number | undefined;
|
|
63155
|
+
expanded?: boolean | undefined;
|
|
63156
|
+
} | null;
|
|
63157
|
+
hostname: string | null;
|
|
63158
|
+
scheme: string | null;
|
|
63159
|
+
latest?: boolean | null | undefined;
|
|
63160
|
+
targetDocUid?: string | null | undefined;
|
|
63161
|
+
targetDocPath?: string[] | null | undefined;
|
|
63162
|
+
}[] | undefined;
|
|
63163
|
+
}, {
|
|
63164
|
+
mode: "account" | "document";
|
|
63165
|
+
query: string;
|
|
63166
|
+
perspectiveAccountUid?: string | undefined;
|
|
63167
|
+
siteUid?: string | undefined;
|
|
63168
|
+
documentId?: {
|
|
63169
|
+
path: string[] | null;
|
|
63170
|
+
version: string | null;
|
|
63171
|
+
id: string;
|
|
63172
|
+
uid: string;
|
|
63173
|
+
blockRef: string | null;
|
|
63174
|
+
blockRange: {
|
|
63175
|
+
start?: number | undefined;
|
|
63176
|
+
end?: number | undefined;
|
|
63177
|
+
expanded?: boolean | undefined;
|
|
63178
|
+
} | null;
|
|
63179
|
+
hostname: string | null;
|
|
63180
|
+
scheme: string | null;
|
|
63181
|
+
latest?: boolean | null | undefined;
|
|
63182
|
+
targetDocUid?: string | null | undefined;
|
|
63183
|
+
targetDocPath?: string[] | null | undefined;
|
|
63184
|
+
} | undefined;
|
|
63185
|
+
seedIds?: {
|
|
63186
|
+
path: string[] | null;
|
|
63187
|
+
version: string | null;
|
|
63188
|
+
id: string;
|
|
63189
|
+
uid: string;
|
|
63190
|
+
blockRef: string | null;
|
|
63191
|
+
blockRange: {
|
|
63192
|
+
start?: number | undefined;
|
|
63193
|
+
end?: number | undefined;
|
|
63194
|
+
expanded?: boolean | undefined;
|
|
63195
|
+
} | null;
|
|
63196
|
+
hostname: string | null;
|
|
63197
|
+
scheme: string | null;
|
|
63198
|
+
latest?: boolean | null | undefined;
|
|
63199
|
+
targetDocUid?: string | null | undefined;
|
|
63200
|
+
targetDocPath?: string[] | null | undefined;
|
|
63201
|
+
}[] | undefined;
|
|
63202
|
+
}>;
|
|
63203
|
+
output: z.ZodArray<z.ZodObject<{
|
|
63204
|
+
id: z.ZodObject<{
|
|
63205
|
+
id: z.ZodString;
|
|
63206
|
+
uid: z.ZodString;
|
|
63207
|
+
path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
63208
|
+
version: z.ZodNullable<z.ZodString>;
|
|
63209
|
+
blockRef: z.ZodNullable<z.ZodString>;
|
|
63210
|
+
blockRange: z.ZodNullable<z.ZodObject<{
|
|
63211
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
63212
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
63213
|
+
expanded: z.ZodOptional<z.ZodBoolean>;
|
|
63214
|
+
}, "strip", z.ZodTypeAny, {
|
|
63215
|
+
start?: number | undefined;
|
|
63216
|
+
end?: number | undefined;
|
|
63217
|
+
expanded?: boolean | undefined;
|
|
63218
|
+
}, {
|
|
63219
|
+
start?: number | undefined;
|
|
63220
|
+
end?: number | undefined;
|
|
63221
|
+
expanded?: boolean | undefined;
|
|
63222
|
+
}>>;
|
|
63223
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
63224
|
+
scheme: z.ZodNullable<z.ZodString>;
|
|
63225
|
+
latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63226
|
+
targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63227
|
+
targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
63228
|
+
}, "strip", z.ZodTypeAny, {
|
|
63229
|
+
path: string[] | null;
|
|
63230
|
+
version: string | null;
|
|
63231
|
+
id: string;
|
|
63232
|
+
uid: string;
|
|
63233
|
+
blockRef: string | null;
|
|
63234
|
+
blockRange: {
|
|
63235
|
+
start?: number | undefined;
|
|
63236
|
+
end?: number | undefined;
|
|
63237
|
+
expanded?: boolean | undefined;
|
|
63238
|
+
} | null;
|
|
63239
|
+
hostname: string | null;
|
|
63240
|
+
scheme: string | null;
|
|
63241
|
+
latest?: boolean | null | undefined;
|
|
63242
|
+
targetDocUid?: string | null | undefined;
|
|
63243
|
+
targetDocPath?: string[] | null | undefined;
|
|
63244
|
+
}, {
|
|
63245
|
+
path: string[] | null;
|
|
63246
|
+
version: string | null;
|
|
63247
|
+
id: string;
|
|
63248
|
+
uid: string;
|
|
63249
|
+
blockRef: string | null;
|
|
63250
|
+
blockRange: {
|
|
63251
|
+
start?: number | undefined;
|
|
63252
|
+
end?: number | undefined;
|
|
63253
|
+
expanded?: boolean | undefined;
|
|
63254
|
+
} | null;
|
|
63255
|
+
hostname: string | null;
|
|
63256
|
+
scheme: string | null;
|
|
63257
|
+
latest?: boolean | null | undefined;
|
|
63258
|
+
targetDocUid?: string | null | undefined;
|
|
63259
|
+
targetDocPath?: string[] | null | undefined;
|
|
63260
|
+
}>;
|
|
63261
|
+
type: z.ZodEnum<["account", "document"]>;
|
|
63262
|
+
title: z.ZodString;
|
|
63263
|
+
icon: z.ZodString;
|
|
63264
|
+
parentNames: z.ZodArray<z.ZodString, "many">;
|
|
63265
|
+
searchQuery: z.ZodString;
|
|
63266
|
+
/** Requested account identity before the daemon resolves an account alias. */
|
|
63267
|
+
sourceAccountUid: z.ZodOptional<z.ZodString>;
|
|
63268
|
+
publicName: z.ZodOptional<z.ZodString>;
|
|
63269
|
+
petname: z.ZodOptional<z.ZodString>;
|
|
63270
|
+
activityTime: z.ZodOptional<z.ZodNumber>;
|
|
63271
|
+
activityType: z.ZodOptional<z.ZodEnum<["publication", "comment"]>>;
|
|
63272
|
+
accountRole: z.ZodOptional<z.ZodEnum<["site-owner", "site-editor", "document-editor", "site-follower"]>>;
|
|
63273
|
+
sameSite: z.ZodBoolean;
|
|
63274
|
+
issuedContact: z.ZodBoolean;
|
|
63275
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
63276
|
+
}, "strip", z.ZodTypeAny, {
|
|
63277
|
+
type: "account" | "document";
|
|
63278
|
+
id: {
|
|
63279
|
+
path: string[] | null;
|
|
63280
|
+
version: string | null;
|
|
63281
|
+
id: string;
|
|
63282
|
+
uid: string;
|
|
63283
|
+
blockRef: string | null;
|
|
63284
|
+
blockRange: {
|
|
63285
|
+
start?: number | undefined;
|
|
63286
|
+
end?: number | undefined;
|
|
63287
|
+
expanded?: boolean | undefined;
|
|
63288
|
+
} | null;
|
|
63289
|
+
hostname: string | null;
|
|
63290
|
+
scheme: string | null;
|
|
63291
|
+
latest?: boolean | null | undefined;
|
|
63292
|
+
targetDocUid?: string | null | undefined;
|
|
63293
|
+
targetDocPath?: string[] | null | undefined;
|
|
63294
|
+
};
|
|
63295
|
+
icon: string;
|
|
63296
|
+
title: string;
|
|
63297
|
+
parentNames: string[];
|
|
63298
|
+
searchQuery: string;
|
|
63299
|
+
sameSite: boolean;
|
|
63300
|
+
issuedContact: boolean;
|
|
63301
|
+
sourceAccountUid?: string | undefined;
|
|
63302
|
+
publicName?: string | undefined;
|
|
63303
|
+
petname?: string | undefined;
|
|
63304
|
+
activityTime?: number | undefined;
|
|
63305
|
+
activityType?: "comment" | "publication" | undefined;
|
|
63306
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
63307
|
+
hint?: string | undefined;
|
|
63308
|
+
}, {
|
|
63309
|
+
type: "account" | "document";
|
|
63310
|
+
id: {
|
|
63311
|
+
path: string[] | null;
|
|
63312
|
+
version: string | null;
|
|
63313
|
+
id: string;
|
|
63314
|
+
uid: string;
|
|
63315
|
+
blockRef: string | null;
|
|
63316
|
+
blockRange: {
|
|
63317
|
+
start?: number | undefined;
|
|
63318
|
+
end?: number | undefined;
|
|
63319
|
+
expanded?: boolean | undefined;
|
|
63320
|
+
} | null;
|
|
63321
|
+
hostname: string | null;
|
|
63322
|
+
scheme: string | null;
|
|
63323
|
+
latest?: boolean | null | undefined;
|
|
63324
|
+
targetDocUid?: string | null | undefined;
|
|
63325
|
+
targetDocPath?: string[] | null | undefined;
|
|
63326
|
+
};
|
|
63327
|
+
icon: string;
|
|
63328
|
+
title: string;
|
|
63329
|
+
parentNames: string[];
|
|
63330
|
+
searchQuery: string;
|
|
63331
|
+
sameSite: boolean;
|
|
63332
|
+
issuedContact: boolean;
|
|
63333
|
+
sourceAccountUid?: string | undefined;
|
|
63334
|
+
publicName?: string | undefined;
|
|
63335
|
+
petname?: string | undefined;
|
|
63336
|
+
activityTime?: number | undefined;
|
|
63337
|
+
activityType?: "comment" | "publication" | undefined;
|
|
63338
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
63339
|
+
hint?: string | undefined;
|
|
63340
|
+
}>, "many">;
|
|
63341
|
+
}, "strip", z.ZodTypeAny, {
|
|
63342
|
+
key: "MentionCandidates";
|
|
63343
|
+
input: {
|
|
63344
|
+
mode: "account" | "document";
|
|
63345
|
+
query: string;
|
|
63346
|
+
perspectiveAccountUid?: string | undefined;
|
|
63347
|
+
siteUid?: string | undefined;
|
|
63348
|
+
documentId?: {
|
|
63349
|
+
path: string[] | null;
|
|
63350
|
+
version: string | null;
|
|
63351
|
+
id: string;
|
|
63352
|
+
uid: string;
|
|
63353
|
+
blockRef: string | null;
|
|
63354
|
+
blockRange: {
|
|
63355
|
+
start?: number | undefined;
|
|
63356
|
+
end?: number | undefined;
|
|
63357
|
+
expanded?: boolean | undefined;
|
|
63358
|
+
} | null;
|
|
63359
|
+
hostname: string | null;
|
|
63360
|
+
scheme: string | null;
|
|
63361
|
+
latest?: boolean | null | undefined;
|
|
63362
|
+
targetDocUid?: string | null | undefined;
|
|
63363
|
+
targetDocPath?: string[] | null | undefined;
|
|
63364
|
+
} | undefined;
|
|
63365
|
+
seedIds?: {
|
|
63366
|
+
path: string[] | null;
|
|
63367
|
+
version: string | null;
|
|
63368
|
+
id: string;
|
|
63369
|
+
uid: string;
|
|
63370
|
+
blockRef: string | null;
|
|
63371
|
+
blockRange: {
|
|
63372
|
+
start?: number | undefined;
|
|
63373
|
+
end?: number | undefined;
|
|
63374
|
+
expanded?: boolean | undefined;
|
|
63375
|
+
} | null;
|
|
63376
|
+
hostname: string | null;
|
|
63377
|
+
scheme: string | null;
|
|
63378
|
+
latest?: boolean | null | undefined;
|
|
63379
|
+
targetDocUid?: string | null | undefined;
|
|
63380
|
+
targetDocPath?: string[] | null | undefined;
|
|
63381
|
+
}[] | undefined;
|
|
63382
|
+
};
|
|
63383
|
+
output: {
|
|
63384
|
+
type: "account" | "document";
|
|
63385
|
+
id: {
|
|
63386
|
+
path: string[] | null;
|
|
63387
|
+
version: string | null;
|
|
63388
|
+
id: string;
|
|
63389
|
+
uid: string;
|
|
63390
|
+
blockRef: string | null;
|
|
63391
|
+
blockRange: {
|
|
63392
|
+
start?: number | undefined;
|
|
63393
|
+
end?: number | undefined;
|
|
63394
|
+
expanded?: boolean | undefined;
|
|
63395
|
+
} | null;
|
|
63396
|
+
hostname: string | null;
|
|
63397
|
+
scheme: string | null;
|
|
63398
|
+
latest?: boolean | null | undefined;
|
|
63399
|
+
targetDocUid?: string | null | undefined;
|
|
63400
|
+
targetDocPath?: string[] | null | undefined;
|
|
63401
|
+
};
|
|
63402
|
+
icon: string;
|
|
63403
|
+
title: string;
|
|
63404
|
+
parentNames: string[];
|
|
63405
|
+
searchQuery: string;
|
|
63406
|
+
sameSite: boolean;
|
|
63407
|
+
issuedContact: boolean;
|
|
63408
|
+
sourceAccountUid?: string | undefined;
|
|
63409
|
+
publicName?: string | undefined;
|
|
63410
|
+
petname?: string | undefined;
|
|
63411
|
+
activityTime?: number | undefined;
|
|
63412
|
+
activityType?: "comment" | "publication" | undefined;
|
|
63413
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
63414
|
+
hint?: string | undefined;
|
|
63415
|
+
}[];
|
|
63416
|
+
}, {
|
|
63417
|
+
key: "MentionCandidates";
|
|
63418
|
+
input: {
|
|
63419
|
+
mode: "account" | "document";
|
|
63420
|
+
query: string;
|
|
63421
|
+
perspectiveAccountUid?: string | undefined;
|
|
63422
|
+
siteUid?: string | undefined;
|
|
63423
|
+
documentId?: {
|
|
63424
|
+
path: string[] | null;
|
|
63425
|
+
version: string | null;
|
|
63426
|
+
id: string;
|
|
63427
|
+
uid: string;
|
|
63428
|
+
blockRef: string | null;
|
|
63429
|
+
blockRange: {
|
|
63430
|
+
start?: number | undefined;
|
|
63431
|
+
end?: number | undefined;
|
|
63432
|
+
expanded?: boolean | undefined;
|
|
63433
|
+
} | null;
|
|
63434
|
+
hostname: string | null;
|
|
63435
|
+
scheme: string | null;
|
|
63436
|
+
latest?: boolean | null | undefined;
|
|
63437
|
+
targetDocUid?: string | null | undefined;
|
|
63438
|
+
targetDocPath?: string[] | null | undefined;
|
|
63439
|
+
} | undefined;
|
|
63440
|
+
seedIds?: {
|
|
63441
|
+
path: string[] | null;
|
|
63442
|
+
version: string | null;
|
|
63443
|
+
id: string;
|
|
63444
|
+
uid: string;
|
|
63445
|
+
blockRef: string | null;
|
|
63446
|
+
blockRange: {
|
|
63447
|
+
start?: number | undefined;
|
|
63448
|
+
end?: number | undefined;
|
|
63449
|
+
expanded?: boolean | undefined;
|
|
63450
|
+
} | null;
|
|
63451
|
+
hostname: string | null;
|
|
63452
|
+
scheme: string | null;
|
|
63453
|
+
latest?: boolean | null | undefined;
|
|
63454
|
+
targetDocUid?: string | null | undefined;
|
|
63455
|
+
targetDocPath?: string[] | null | undefined;
|
|
63456
|
+
}[] | undefined;
|
|
63457
|
+
};
|
|
63458
|
+
output: {
|
|
63459
|
+
type: "account" | "document";
|
|
63460
|
+
id: {
|
|
63461
|
+
path: string[] | null;
|
|
63462
|
+
version: string | null;
|
|
63463
|
+
id: string;
|
|
63464
|
+
uid: string;
|
|
63465
|
+
blockRef: string | null;
|
|
63466
|
+
blockRange: {
|
|
63467
|
+
start?: number | undefined;
|
|
63468
|
+
end?: number | undefined;
|
|
63469
|
+
expanded?: boolean | undefined;
|
|
63470
|
+
} | null;
|
|
63471
|
+
hostname: string | null;
|
|
63472
|
+
scheme: string | null;
|
|
63473
|
+
latest?: boolean | null | undefined;
|
|
63474
|
+
targetDocUid?: string | null | undefined;
|
|
63475
|
+
targetDocPath?: string[] | null | undefined;
|
|
63476
|
+
};
|
|
63477
|
+
icon: string;
|
|
63478
|
+
title: string;
|
|
63479
|
+
parentNames: string[];
|
|
63480
|
+
searchQuery: string;
|
|
63481
|
+
sameSite: boolean;
|
|
63482
|
+
issuedContact: boolean;
|
|
63483
|
+
sourceAccountUid?: string | undefined;
|
|
63484
|
+
publicName?: string | undefined;
|
|
63485
|
+
petname?: string | undefined;
|
|
63486
|
+
activityTime?: number | undefined;
|
|
63487
|
+
activityType?: "comment" | "publication" | undefined;
|
|
63488
|
+
accountRole?: "site-owner" | "site-editor" | "document-editor" | "site-follower" | undefined;
|
|
63489
|
+
hint?: string | undefined;
|
|
63490
|
+
}[];
|
|
61726
63491
|
}>, z.ZodObject<{
|
|
61727
63492
|
key: z.ZodLiteral<"Query">;
|
|
61728
63493
|
input: z.ZodObject<{
|
|
@@ -70876,8 +72641,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
70876
72641
|
}, "strip", z.ZodTypeAny, {
|
|
70877
72642
|
path?: string | undefined;
|
|
70878
72643
|
id?: string | undefined;
|
|
70879
|
-
createTime?: string | undefined;
|
|
70880
72644
|
account?: string | undefined;
|
|
72645
|
+
createTime?: string | undefined;
|
|
70881
72646
|
role?: string | undefined;
|
|
70882
72647
|
label?: string | undefined;
|
|
70883
72648
|
issuer?: string | undefined;
|
|
@@ -70886,8 +72651,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
70886
72651
|
}, {
|
|
70887
72652
|
path?: string | undefined;
|
|
70888
72653
|
id?: string | undefined;
|
|
70889
|
-
createTime?: string | undefined;
|
|
70890
72654
|
account?: string | undefined;
|
|
72655
|
+
createTime?: string | undefined;
|
|
70891
72656
|
role?: string | undefined;
|
|
70892
72657
|
label?: string | undefined;
|
|
70893
72658
|
issuer?: string | undefined;
|
|
@@ -70898,8 +72663,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
70898
72663
|
capabilities: {
|
|
70899
72664
|
path?: string | undefined;
|
|
70900
72665
|
id?: string | undefined;
|
|
70901
|
-
createTime?: string | undefined;
|
|
70902
72666
|
account?: string | undefined;
|
|
72667
|
+
createTime?: string | undefined;
|
|
70903
72668
|
role?: string | undefined;
|
|
70904
72669
|
label?: string | undefined;
|
|
70905
72670
|
issuer?: string | undefined;
|
|
@@ -70910,8 +72675,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
70910
72675
|
capabilities: {
|
|
70911
72676
|
path?: string | undefined;
|
|
70912
72677
|
id?: string | undefined;
|
|
70913
|
-
createTime?: string | undefined;
|
|
70914
72678
|
account?: string | undefined;
|
|
72679
|
+
createTime?: string | undefined;
|
|
70915
72680
|
role?: string | undefined;
|
|
70916
72681
|
label?: string | undefined;
|
|
70917
72682
|
issuer?: string | undefined;
|
|
@@ -70944,8 +72709,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
70944
72709
|
capabilities: {
|
|
70945
72710
|
path?: string | undefined;
|
|
70946
72711
|
id?: string | undefined;
|
|
70947
|
-
createTime?: string | undefined;
|
|
70948
72712
|
account?: string | undefined;
|
|
72713
|
+
createTime?: string | undefined;
|
|
70949
72714
|
role?: string | undefined;
|
|
70950
72715
|
label?: string | undefined;
|
|
70951
72716
|
issuer?: string | undefined;
|
|
@@ -70978,8 +72743,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
70978
72743
|
capabilities: {
|
|
70979
72744
|
path?: string | undefined;
|
|
70980
72745
|
id?: string | undefined;
|
|
70981
|
-
createTime?: string | undefined;
|
|
70982
72746
|
account?: string | undefined;
|
|
72747
|
+
createTime?: string | undefined;
|
|
70983
72748
|
role?: string | undefined;
|
|
70984
72749
|
label?: string | undefined;
|
|
70985
72750
|
issuer?: string | undefined;
|