@mossbear/protocol 0.1.0-alpha.118 → 0.1.0-alpha.121
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/bundles.d.ts +13 -39
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +12 -29
- package/dist/bundles.js.map +1 -1
- package/dist/bundles.test.js +5 -3
- package/dist/bundles.test.js.map +1 -1
- package/dist/comments.d.ts +0 -9
- package/dist/comments.d.ts.map +1 -1
- package/dist/comments.js +0 -8
- package/dist/comments.js.map +1 -1
- package/dist/frameDocument.d.ts +6 -3
- package/dist/frameDocument.d.ts.map +1 -1
- package/dist/frameDocument.js +66 -4
- package/dist/frameDocument.js.map +1 -1
- package/dist/frameDocument.test.js +4 -0
- package/dist/frameDocument.test.js.map +1 -1
- package/dist/guideImport.d.ts +5 -5
- package/dist/guideImport.d.ts.map +1 -1
- package/dist/guideImport.js +4 -6
- package/dist/guideImport.js.map +1 -1
- package/dist/guideImport.test.js +1 -0
- package/dist/guideImport.test.js.map +1 -1
- package/dist/photos.d.ts +2 -79
- package/dist/photos.d.ts.map +1 -1
- package/dist/photos.js +1 -36
- package/dist/photos.js.map +1 -1
- package/dist/photos.test.js +15 -23
- package/dist/photos.test.js.map +1 -1
- package/dist/schemas.d.ts +113 -568
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +42 -63
- package/dist/schemas.js.map +1 -1
- package/dist/schemas.test.js +48 -52
- package/dist/schemas.test.js.map +1 -1
- package/dist/types.d.ts +4 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/whatSyncs.d.ts.map +1 -1
- package/dist/whatSyncs.js +0 -4
- package/dist/whatSyncs.js.map +1 -1
- package/dist/whatSyncs.test.js +1 -4
- package/dist/whatSyncs.test.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -276,15 +276,8 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
276
276
|
*/
|
|
277
277
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
278
278
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
279
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
280
|
-
readonly
|
|
281
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
282
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
283
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
284
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
285
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
286
|
-
}, undefined>, undefined>, undefined>;
|
|
287
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
279
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
280
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
288
281
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
289
282
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
290
283
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -302,28 +295,10 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
302
295
|
width: number;
|
|
303
296
|
height: number;
|
|
304
297
|
}[];
|
|
305
|
-
}[], 1, undefined>]
|
|
306
|
-
}, undefined>,
|
|
307
|
-
parts?: {
|
|
308
|
-
role: "original" | "display" | "thumb";
|
|
309
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
310
|
-
bytes: number;
|
|
311
|
-
width: number;
|
|
312
|
-
height: number;
|
|
313
|
-
}[] | undefined;
|
|
314
|
-
images?: {
|
|
315
|
-
id?: string | undefined;
|
|
316
|
-
parts: {
|
|
317
|
-
role: "original" | "display" | "thumb";
|
|
318
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
319
|
-
bytes: number;
|
|
320
|
-
width: number;
|
|
321
|
-
height: number;
|
|
322
|
-
}[];
|
|
323
|
-
}[] | undefined;
|
|
324
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
298
|
+
}[], 1, undefined>]>;
|
|
299
|
+
}, undefined>, undefined>, undefined>;
|
|
325
300
|
readonly origin: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
326
|
-
readonly version: v.
|
|
301
|
+
readonly version: v.NumberSchema<undefined>;
|
|
327
302
|
/**
|
|
328
303
|
* The guide a **derived** item belongs to — its evaluation criteria, or a
|
|
329
304
|
* skill's member files (`subscription-delivery-target-plan.md` → slice 4).
|
|
@@ -564,14 +539,7 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
564
539
|
content: string | null;
|
|
565
540
|
description?: string | null | undefined;
|
|
566
541
|
asset?: {
|
|
567
|
-
|
|
568
|
-
role: "original" | "display" | "thumb";
|
|
569
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
570
|
-
bytes: number;
|
|
571
|
-
width: number;
|
|
572
|
-
height: number;
|
|
573
|
-
}[] | undefined;
|
|
574
|
-
images?: {
|
|
542
|
+
images: {
|
|
575
543
|
id?: string | undefined;
|
|
576
544
|
parts: {
|
|
577
545
|
role: "original" | "display" | "thumb";
|
|
@@ -580,10 +548,10 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
580
548
|
width: number;
|
|
581
549
|
height: number;
|
|
582
550
|
}[];
|
|
583
|
-
}[]
|
|
551
|
+
}[];
|
|
584
552
|
} | null | undefined;
|
|
585
553
|
origin?: string | null | undefined;
|
|
586
|
-
version
|
|
554
|
+
version: number;
|
|
587
555
|
guideId?: string | null | undefined;
|
|
588
556
|
executable?: boolean | undefined;
|
|
589
557
|
root?: "project" | "global" | null | undefined;
|
|
@@ -656,14 +624,7 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
656
624
|
content: string | null;
|
|
657
625
|
description?: string | null | undefined;
|
|
658
626
|
asset?: {
|
|
659
|
-
|
|
660
|
-
role: "original" | "display" | "thumb";
|
|
661
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
662
|
-
bytes: number;
|
|
663
|
-
width: number;
|
|
664
|
-
height: number;
|
|
665
|
-
}[] | undefined;
|
|
666
|
-
images?: {
|
|
627
|
+
images: {
|
|
667
628
|
id?: string | undefined;
|
|
668
629
|
parts: {
|
|
669
630
|
role: "original" | "display" | "thumb";
|
|
@@ -672,10 +633,10 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
672
633
|
width: number;
|
|
673
634
|
height: number;
|
|
674
635
|
}[];
|
|
675
|
-
}[]
|
|
636
|
+
}[];
|
|
676
637
|
} | null | undefined;
|
|
677
638
|
origin?: string | null | undefined;
|
|
678
|
-
version
|
|
639
|
+
version: number;
|
|
679
640
|
guideId?: string | null | undefined;
|
|
680
641
|
executable?: boolean | undefined;
|
|
681
642
|
root?: "project" | "global" | null | undefined;
|
|
@@ -781,15 +742,8 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
781
742
|
*/
|
|
782
743
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
783
744
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
784
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
785
|
-
readonly
|
|
786
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
787
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
788
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
789
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
790
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
791
|
-
}, undefined>, undefined>, undefined>;
|
|
792
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
745
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
746
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
793
747
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
794
748
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
795
749
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -807,28 +761,10 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
807
761
|
width: number;
|
|
808
762
|
height: number;
|
|
809
763
|
}[];
|
|
810
|
-
}[], 1, undefined>]
|
|
811
|
-
}, undefined>,
|
|
812
|
-
parts?: {
|
|
813
|
-
role: "original" | "display" | "thumb";
|
|
814
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
815
|
-
bytes: number;
|
|
816
|
-
width: number;
|
|
817
|
-
height: number;
|
|
818
|
-
}[] | undefined;
|
|
819
|
-
images?: {
|
|
820
|
-
id?: string | undefined;
|
|
821
|
-
parts: {
|
|
822
|
-
role: "original" | "display" | "thumb";
|
|
823
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
824
|
-
bytes: number;
|
|
825
|
-
width: number;
|
|
826
|
-
height: number;
|
|
827
|
-
}[];
|
|
828
|
-
}[] | undefined;
|
|
829
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
764
|
+
}[], 1, undefined>]>;
|
|
765
|
+
}, undefined>, undefined>, undefined>;
|
|
830
766
|
readonly origin: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
831
|
-
readonly version: v.
|
|
767
|
+
readonly version: v.NumberSchema<undefined>;
|
|
832
768
|
/**
|
|
833
769
|
* The guide a **derived** item belongs to — its evaluation criteria, or a
|
|
834
770
|
* skill's member files (`subscription-delivery-target-plan.md` → slice 4).
|
|
@@ -1069,14 +1005,7 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
1069
1005
|
content: string | null;
|
|
1070
1006
|
description?: string | null | undefined;
|
|
1071
1007
|
asset?: {
|
|
1072
|
-
|
|
1073
|
-
role: "original" | "display" | "thumb";
|
|
1074
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1075
|
-
bytes: number;
|
|
1076
|
-
width: number;
|
|
1077
|
-
height: number;
|
|
1078
|
-
}[] | undefined;
|
|
1079
|
-
images?: {
|
|
1008
|
+
images: {
|
|
1080
1009
|
id?: string | undefined;
|
|
1081
1010
|
parts: {
|
|
1082
1011
|
role: "original" | "display" | "thumb";
|
|
@@ -1085,10 +1014,10 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
1085
1014
|
width: number;
|
|
1086
1015
|
height: number;
|
|
1087
1016
|
}[];
|
|
1088
|
-
}[]
|
|
1017
|
+
}[];
|
|
1089
1018
|
} | null | undefined;
|
|
1090
1019
|
origin?: string | null | undefined;
|
|
1091
|
-
version
|
|
1020
|
+
version: number;
|
|
1092
1021
|
guideId?: string | null | undefined;
|
|
1093
1022
|
executable?: boolean | undefined;
|
|
1094
1023
|
root?: "project" | "global" | null | undefined;
|
|
@@ -1161,14 +1090,7 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
1161
1090
|
content: string | null;
|
|
1162
1091
|
description?: string | null | undefined;
|
|
1163
1092
|
asset?: {
|
|
1164
|
-
|
|
1165
|
-
role: "original" | "display" | "thumb";
|
|
1166
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1167
|
-
bytes: number;
|
|
1168
|
-
width: number;
|
|
1169
|
-
height: number;
|
|
1170
|
-
}[] | undefined;
|
|
1171
|
-
images?: {
|
|
1093
|
+
images: {
|
|
1172
1094
|
id?: string | undefined;
|
|
1173
1095
|
parts: {
|
|
1174
1096
|
role: "original" | "display" | "thumb";
|
|
@@ -1177,10 +1099,10 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
1177
1099
|
width: number;
|
|
1178
1100
|
height: number;
|
|
1179
1101
|
}[];
|
|
1180
|
-
}[]
|
|
1102
|
+
}[];
|
|
1181
1103
|
} | null | undefined;
|
|
1182
1104
|
origin?: string | null | undefined;
|
|
1183
|
-
version
|
|
1105
|
+
version: number;
|
|
1184
1106
|
guideId?: string | null | undefined;
|
|
1185
1107
|
executable?: boolean | undefined;
|
|
1186
1108
|
root?: "project" | "global" | null | undefined;
|
|
@@ -1304,15 +1226,8 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1304
1226
|
*/
|
|
1305
1227
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1306
1228
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
1307
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
1308
|
-
readonly
|
|
1309
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
1310
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
1311
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1312
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1313
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1314
|
-
}, undefined>, undefined>, undefined>;
|
|
1315
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1229
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1230
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1316
1231
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1317
1232
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
1318
1233
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -1330,28 +1245,10 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1330
1245
|
width: number;
|
|
1331
1246
|
height: number;
|
|
1332
1247
|
}[];
|
|
1333
|
-
}[], 1, undefined>]
|
|
1334
|
-
}, undefined>,
|
|
1335
|
-
parts?: {
|
|
1336
|
-
role: "original" | "display" | "thumb";
|
|
1337
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1338
|
-
bytes: number;
|
|
1339
|
-
width: number;
|
|
1340
|
-
height: number;
|
|
1341
|
-
}[] | undefined;
|
|
1342
|
-
images?: {
|
|
1343
|
-
id?: string | undefined;
|
|
1344
|
-
parts: {
|
|
1345
|
-
role: "original" | "display" | "thumb";
|
|
1346
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1347
|
-
bytes: number;
|
|
1348
|
-
width: number;
|
|
1349
|
-
height: number;
|
|
1350
|
-
}[];
|
|
1351
|
-
}[] | undefined;
|
|
1352
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
1248
|
+
}[], 1, undefined>]>;
|
|
1249
|
+
}, undefined>, undefined>, undefined>;
|
|
1353
1250
|
readonly origin: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1354
|
-
readonly version: v.
|
|
1251
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1355
1252
|
/**
|
|
1356
1253
|
* The guide a **derived** item belongs to — its evaluation criteria, or a
|
|
1357
1254
|
* skill's member files (`subscription-delivery-target-plan.md` → slice 4).
|
|
@@ -1592,14 +1489,7 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1592
1489
|
content: string | null;
|
|
1593
1490
|
description?: string | null | undefined;
|
|
1594
1491
|
asset?: {
|
|
1595
|
-
|
|
1596
|
-
role: "original" | "display" | "thumb";
|
|
1597
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1598
|
-
bytes: number;
|
|
1599
|
-
width: number;
|
|
1600
|
-
height: number;
|
|
1601
|
-
}[] | undefined;
|
|
1602
|
-
images?: {
|
|
1492
|
+
images: {
|
|
1603
1493
|
id?: string | undefined;
|
|
1604
1494
|
parts: {
|
|
1605
1495
|
role: "original" | "display" | "thumb";
|
|
@@ -1608,10 +1498,10 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1608
1498
|
width: number;
|
|
1609
1499
|
height: number;
|
|
1610
1500
|
}[];
|
|
1611
|
-
}[]
|
|
1501
|
+
}[];
|
|
1612
1502
|
} | null | undefined;
|
|
1613
1503
|
origin?: string | null | undefined;
|
|
1614
|
-
version
|
|
1504
|
+
version: number;
|
|
1615
1505
|
guideId?: string | null | undefined;
|
|
1616
1506
|
executable?: boolean | undefined;
|
|
1617
1507
|
root?: "project" | "global" | null | undefined;
|
|
@@ -1684,14 +1574,7 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1684
1574
|
content: string | null;
|
|
1685
1575
|
description?: string | null | undefined;
|
|
1686
1576
|
asset?: {
|
|
1687
|
-
|
|
1688
|
-
role: "original" | "display" | "thumb";
|
|
1689
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1690
|
-
bytes: number;
|
|
1691
|
-
width: number;
|
|
1692
|
-
height: number;
|
|
1693
|
-
}[] | undefined;
|
|
1694
|
-
images?: {
|
|
1577
|
+
images: {
|
|
1695
1578
|
id?: string | undefined;
|
|
1696
1579
|
parts: {
|
|
1697
1580
|
role: "original" | "display" | "thumb";
|
|
@@ -1700,10 +1583,10 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1700
1583
|
width: number;
|
|
1701
1584
|
height: number;
|
|
1702
1585
|
}[];
|
|
1703
|
-
}[]
|
|
1586
|
+
}[];
|
|
1704
1587
|
} | null | undefined;
|
|
1705
1588
|
origin?: string | null | undefined;
|
|
1706
|
-
version
|
|
1589
|
+
version: number;
|
|
1707
1590
|
guideId?: string | null | undefined;
|
|
1708
1591
|
executable?: boolean | undefined;
|
|
1709
1592
|
root?: "project" | "global" | null | undefined;
|
|
@@ -1773,12 +1656,8 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1773
1656
|
readonly endMarker: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1774
1657
|
readonly note: v.StringSchema<undefined>;
|
|
1775
1658
|
}, undefined>, undefined>, undefined>;
|
|
1776
|
-
/**
|
|
1777
|
-
|
|
1778
|
-
* `null` after the last. Absent on an unpaged read, and from a server that
|
|
1779
|
-
* predates paging — which is how a reader tells the two apart.
|
|
1780
|
-
*/
|
|
1781
|
-
readonly next: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1659
|
+
/** The cursor for the next page, or `null` after the last. */
|
|
1660
|
+
readonly next: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1782
1661
|
}, undefined>;
|
|
1783
1662
|
export declare const CaptureIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 8, "id must be at least 8 characters">, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "id must contain only letters, digits, underscore, dot or hyphen">]>;
|
|
1784
1663
|
export declare const CaptureRequestSchema: v.ObjectSchema<{
|
|
@@ -1795,7 +1674,7 @@ export declare const CaptureRequestSchema: v.ObjectSchema<{
|
|
|
1795
1674
|
* dashboard composer.
|
|
1796
1675
|
*/
|
|
1797
1676
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 8, "id must be at least 8 characters">, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "id must contain only letters, digits, underscore, dot or hyphen">]>, undefined>;
|
|
1798
|
-
readonly bundleId: v.
|
|
1677
|
+
readonly bundleId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1799
1678
|
readonly contentType: v.PicklistSchema<("content" | "asset")[], undefined>;
|
|
1800
1679
|
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "content must be at most 262144 bytes">]>;
|
|
1801
1680
|
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -1816,14 +1695,7 @@ export declare const CapturedItemSchema: v.ObjectSchema<{
|
|
|
1816
1695
|
readonly content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1817
1696
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
1818
1697
|
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1819
|
-
readonly
|
|
1820
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
1821
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
1822
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1823
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1824
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1825
|
-
}, undefined>, undefined>;
|
|
1826
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1698
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1827
1699
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1828
1700
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
1829
1701
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -1841,7 +1713,7 @@ export declare const CapturedItemSchema: v.ObjectSchema<{
|
|
|
1841
1713
|
width: number;
|
|
1842
1714
|
height: number;
|
|
1843
1715
|
}[];
|
|
1844
|
-
}[], 1, undefined>]
|
|
1716
|
+
}[], 1, undefined>]>;
|
|
1845
1717
|
}, undefined>, undefined>, undefined>;
|
|
1846
1718
|
readonly source: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1847
1719
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1859,14 +1731,7 @@ export declare const CaptureResponseSchema: v.ObjectSchema<{
|
|
|
1859
1731
|
readonly content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1860
1732
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
1861
1733
|
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1862
|
-
readonly
|
|
1863
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
1864
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
1865
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1866
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1867
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1868
|
-
}, undefined>, undefined>;
|
|
1869
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1734
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1870
1735
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1871
1736
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
1872
1737
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -1884,7 +1749,7 @@ export declare const CaptureResponseSchema: v.ObjectSchema<{
|
|
|
1884
1749
|
width: number;
|
|
1885
1750
|
height: number;
|
|
1886
1751
|
}[];
|
|
1887
|
-
}[], 1, undefined>]
|
|
1752
|
+
}[], 1, undefined>]>;
|
|
1888
1753
|
}, undefined>, undefined>, undefined>;
|
|
1889
1754
|
readonly source: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1890
1755
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1912,14 +1777,7 @@ export declare const BeginPhotoUploadResponseSchema: v.VariantSchema<"state", [v
|
|
|
1912
1777
|
readonly content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1913
1778
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
1914
1779
|
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1915
|
-
readonly
|
|
1916
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
1917
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
1918
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1919
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1920
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1921
|
-
}, undefined>, undefined>;
|
|
1922
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1780
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1923
1781
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1924
1782
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
1925
1783
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -1937,7 +1795,7 @@ export declare const BeginPhotoUploadResponseSchema: v.VariantSchema<"state", [v
|
|
|
1937
1795
|
width: number;
|
|
1938
1796
|
height: number;
|
|
1939
1797
|
}[];
|
|
1940
|
-
}[], 1, undefined>]
|
|
1798
|
+
}[], 1, undefined>]>;
|
|
1941
1799
|
}, undefined>, undefined>, undefined>;
|
|
1942
1800
|
readonly source: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1943
1801
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -2187,15 +2045,8 @@ export declare const ArtifactSchema: v.ObjectSchema<{
|
|
|
2187
2045
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
2188
2046
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
2189
2047
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
2190
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
2191
|
-
readonly
|
|
2192
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
2193
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
2194
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2195
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2196
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2197
|
-
}, undefined>, undefined>, undefined>;
|
|
2198
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
2048
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2049
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
2199
2050
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2200
2051
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
2201
2052
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -2213,26 +2064,8 @@ export declare const ArtifactSchema: v.ObjectSchema<{
|
|
|
2213
2064
|
width: number;
|
|
2214
2065
|
height: number;
|
|
2215
2066
|
}[];
|
|
2216
|
-
}[], 1, undefined>]
|
|
2217
|
-
}, undefined>,
|
|
2218
|
-
parts?: {
|
|
2219
|
-
role: "original" | "display" | "thumb";
|
|
2220
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2221
|
-
bytes: number;
|
|
2222
|
-
width: number;
|
|
2223
|
-
height: number;
|
|
2224
|
-
}[] | undefined;
|
|
2225
|
-
images?: {
|
|
2226
|
-
id?: string | undefined;
|
|
2227
|
-
parts: {
|
|
2228
|
-
role: "original" | "display" | "thumb";
|
|
2229
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2230
|
-
bytes: number;
|
|
2231
|
-
width: number;
|
|
2232
|
-
height: number;
|
|
2233
|
-
}[];
|
|
2234
|
-
}[] | undefined;
|
|
2235
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
2067
|
+
}[], 1, undefined>]>;
|
|
2068
|
+
}, undefined>, undefined>, undefined>;
|
|
2236
2069
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
2237
2070
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2238
2071
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -2392,15 +2225,8 @@ export declare const ArtifactMetadataSchema: v.StrictObjectSchema<Omit<{
|
|
|
2392
2225
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
2393
2226
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
2394
2227
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
2395
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
2396
|
-
readonly
|
|
2397
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
2398
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
2399
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2400
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2401
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2402
|
-
}, undefined>, undefined>, undefined>;
|
|
2403
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
2228
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2229
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
2404
2230
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2405
2231
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
2406
2232
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -2418,26 +2244,8 @@ export declare const ArtifactMetadataSchema: v.StrictObjectSchema<Omit<{
|
|
|
2418
2244
|
width: number;
|
|
2419
2245
|
height: number;
|
|
2420
2246
|
}[];
|
|
2421
|
-
}[], 1, undefined>]
|
|
2422
|
-
}, undefined>,
|
|
2423
|
-
parts?: {
|
|
2424
|
-
role: "original" | "display" | "thumb";
|
|
2425
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2426
|
-
bytes: number;
|
|
2427
|
-
width: number;
|
|
2428
|
-
height: number;
|
|
2429
|
-
}[] | undefined;
|
|
2430
|
-
images?: {
|
|
2431
|
-
id?: string | undefined;
|
|
2432
|
-
parts: {
|
|
2433
|
-
role: "original" | "display" | "thumb";
|
|
2434
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2435
|
-
bytes: number;
|
|
2436
|
-
width: number;
|
|
2437
|
-
height: number;
|
|
2438
|
-
}[];
|
|
2439
|
-
}[] | undefined;
|
|
2440
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
2247
|
+
}[], 1, undefined>]>;
|
|
2248
|
+
}, undefined>, undefined>, undefined>;
|
|
2441
2249
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
2442
2250
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2443
2251
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -3385,15 +3193,8 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3385
3193
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
3386
3194
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
3387
3195
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
3388
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
3389
|
-
readonly
|
|
3390
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
3391
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
3392
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3393
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3394
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3395
|
-
}, undefined>, undefined>, undefined>;
|
|
3396
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3196
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3197
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3397
3198
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3398
3199
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
3399
3200
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -3411,26 +3212,8 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3411
3212
|
width: number;
|
|
3412
3213
|
height: number;
|
|
3413
3214
|
}[];
|
|
3414
|
-
}[], 1, undefined>]
|
|
3415
|
-
}, undefined>,
|
|
3416
|
-
parts?: {
|
|
3417
|
-
role: "original" | "display" | "thumb";
|
|
3418
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3419
|
-
bytes: number;
|
|
3420
|
-
width: number;
|
|
3421
|
-
height: number;
|
|
3422
|
-
}[] | undefined;
|
|
3423
|
-
images?: {
|
|
3424
|
-
id?: string | undefined;
|
|
3425
|
-
parts: {
|
|
3426
|
-
role: "original" | "display" | "thumb";
|
|
3427
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3428
|
-
bytes: number;
|
|
3429
|
-
width: number;
|
|
3430
|
-
height: number;
|
|
3431
|
-
}[];
|
|
3432
|
-
}[] | undefined;
|
|
3433
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
3215
|
+
}[], 1, undefined>]>;
|
|
3216
|
+
}, undefined>, undefined>, undefined>;
|
|
3434
3217
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
3435
3218
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3436
3219
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -3629,15 +3412,8 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3629
3412
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
3630
3413
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
3631
3414
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
3632
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
3633
|
-
readonly
|
|
3634
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
3635
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
3636
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3637
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3638
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3639
|
-
}, undefined>, undefined>, undefined>;
|
|
3640
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3415
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3416
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3641
3417
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3642
3418
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
3643
3419
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -3655,26 +3431,8 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3655
3431
|
width: number;
|
|
3656
3432
|
height: number;
|
|
3657
3433
|
}[];
|
|
3658
|
-
}[], 1, undefined>]
|
|
3659
|
-
}, undefined>,
|
|
3660
|
-
parts?: {
|
|
3661
|
-
role: "original" | "display" | "thumb";
|
|
3662
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3663
|
-
bytes: number;
|
|
3664
|
-
width: number;
|
|
3665
|
-
height: number;
|
|
3666
|
-
}[] | undefined;
|
|
3667
|
-
images?: {
|
|
3668
|
-
id?: string | undefined;
|
|
3669
|
-
parts: {
|
|
3670
|
-
role: "original" | "display" | "thumb";
|
|
3671
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3672
|
-
bytes: number;
|
|
3673
|
-
width: number;
|
|
3674
|
-
height: number;
|
|
3675
|
-
}[];
|
|
3676
|
-
}[] | undefined;
|
|
3677
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
3434
|
+
}[], 1, undefined>]>;
|
|
3435
|
+
}, undefined>, undefined>, undefined>;
|
|
3678
3436
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
3679
3437
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3680
3438
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -3835,15 +3593,8 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3835
3593
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
3836
3594
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
3837
3595
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
3838
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
3839
|
-
readonly
|
|
3840
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
3841
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
3842
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3843
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3844
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3845
|
-
}, undefined>, undefined>, undefined>;
|
|
3846
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3596
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3597
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3847
3598
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3848
3599
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
3849
3600
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -3861,26 +3612,8 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3861
3612
|
width: number;
|
|
3862
3613
|
height: number;
|
|
3863
3614
|
}[];
|
|
3864
|
-
}[], 1, undefined>]
|
|
3865
|
-
}, undefined>,
|
|
3866
|
-
parts?: {
|
|
3867
|
-
role: "original" | "display" | "thumb";
|
|
3868
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3869
|
-
bytes: number;
|
|
3870
|
-
width: number;
|
|
3871
|
-
height: number;
|
|
3872
|
-
}[] | undefined;
|
|
3873
|
-
images?: {
|
|
3874
|
-
id?: string | undefined;
|
|
3875
|
-
parts: {
|
|
3876
|
-
role: "original" | "display" | "thumb";
|
|
3877
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3878
|
-
bytes: number;
|
|
3879
|
-
width: number;
|
|
3880
|
-
height: number;
|
|
3881
|
-
}[];
|
|
3882
|
-
}[] | undefined;
|
|
3883
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
3615
|
+
}[], 1, undefined>]>;
|
|
3616
|
+
}, undefined>, undefined>, undefined>;
|
|
3884
3617
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
3885
3618
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3886
3619
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4061,8 +3794,6 @@ export declare const ListArtifactsQuerySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
4061
3794
|
readonly comments: v.OptionalSchema<v.LiteralSchema<"none", undefined>, undefined>;
|
|
4062
3795
|
/** Omit bodies and comments without fetching external source bytes. */
|
|
4063
3796
|
readonly view: v.OptionalSchema<v.LiteralSchema<"metadata", undefined>, undefined>;
|
|
4064
|
-
/** The CLI release asking, so thread replies reach only one that renders them. */
|
|
4065
|
-
readonly cli: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
4066
3797
|
}, undefined>, v.CheckAction<{
|
|
4067
3798
|
inbox?: "true" | "false" | undefined;
|
|
4068
3799
|
trash?: "true" | "false" | undefined;
|
|
@@ -4073,7 +3804,6 @@ export declare const ListArtifactsQuerySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
4073
3804
|
cursor?: string | undefined;
|
|
4074
3805
|
comments?: "none" | undefined;
|
|
4075
3806
|
view?: "metadata" | undefined;
|
|
4076
|
-
cli?: string | undefined;
|
|
4077
3807
|
}, "The inbox holds only unfiled captures, so inbox and bundle cannot be combined.">, v.CheckAction<{
|
|
4078
3808
|
inbox?: "true" | "false" | undefined;
|
|
4079
3809
|
trash?: "true" | "false" | undefined;
|
|
@@ -4084,7 +3814,6 @@ export declare const ListArtifactsQuerySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
4084
3814
|
cursor?: string | undefined;
|
|
4085
3815
|
comments?: "none" | undefined;
|
|
4086
3816
|
view?: "metadata" | undefined;
|
|
4087
|
-
cli?: string | undefined;
|
|
4088
3817
|
}, "Trash and Inbox cannot be combined.">, v.TransformAction<{
|
|
4089
3818
|
inbox?: "true" | "false" | undefined;
|
|
4090
3819
|
trash?: "true" | "false" | undefined;
|
|
@@ -4095,7 +3824,6 @@ export declare const ListArtifactsQuerySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
4095
3824
|
cursor?: string | undefined;
|
|
4096
3825
|
comments?: "none" | undefined;
|
|
4097
3826
|
view?: "metadata" | undefined;
|
|
4098
|
-
cli?: string | undefined;
|
|
4099
3827
|
}, {
|
|
4100
3828
|
inbox: boolean;
|
|
4101
3829
|
trash: boolean;
|
|
@@ -4106,7 +3834,6 @@ export declare const ListArtifactsQuerySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
4106
3834
|
cursor?: string | undefined;
|
|
4107
3835
|
comments?: "none" | undefined;
|
|
4108
3836
|
view?: "metadata" | undefined;
|
|
4109
|
-
cli?: string | undefined;
|
|
4110
3837
|
}>]>;
|
|
4111
3838
|
export type ListArtifactsQuery = v.InferOutput<typeof ListArtifactsQuerySchema>;
|
|
4112
3839
|
/**
|
|
@@ -4122,15 +3849,8 @@ export declare const ListArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
4122
3849
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4123
3850
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4124
3851
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4125
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
4126
|
-
readonly
|
|
4127
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4128
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4129
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4130
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4131
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4132
|
-
}, undefined>, undefined>, undefined>;
|
|
4133
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3852
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3853
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4134
3854
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4135
3855
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4136
3856
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -4148,26 +3868,8 @@ export declare const ListArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
4148
3868
|
width: number;
|
|
4149
3869
|
height: number;
|
|
4150
3870
|
}[];
|
|
4151
|
-
}[], 1, undefined>]
|
|
4152
|
-
}, undefined>,
|
|
4153
|
-
parts?: {
|
|
4154
|
-
role: "original" | "display" | "thumb";
|
|
4155
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4156
|
-
bytes: number;
|
|
4157
|
-
width: number;
|
|
4158
|
-
height: number;
|
|
4159
|
-
}[] | undefined;
|
|
4160
|
-
images?: {
|
|
4161
|
-
id?: string | undefined;
|
|
4162
|
-
parts: {
|
|
4163
|
-
role: "original" | "display" | "thumb";
|
|
4164
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4165
|
-
bytes: number;
|
|
4166
|
-
width: number;
|
|
4167
|
-
height: number;
|
|
4168
|
-
}[];
|
|
4169
|
-
}[] | undefined;
|
|
4170
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
3871
|
+
}[], 1, undefined>]>;
|
|
3872
|
+
}, undefined>, undefined>, undefined>;
|
|
4171
3873
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4172
3874
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4173
3875
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4338,15 +4040,8 @@ export declare const ListArtifactMetadataResponseSchema: v.ObjectSchema<{
|
|
|
4338
4040
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4339
4041
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4340
4042
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4341
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
4342
|
-
readonly
|
|
4343
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4344
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4345
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4346
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4347
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4348
|
-
}, undefined>, undefined>, undefined>;
|
|
4349
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4043
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4044
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4350
4045
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4351
4046
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4352
4047
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -4364,26 +4059,8 @@ export declare const ListArtifactMetadataResponseSchema: v.ObjectSchema<{
|
|
|
4364
4059
|
width: number;
|
|
4365
4060
|
height: number;
|
|
4366
4061
|
}[];
|
|
4367
|
-
}[], 1, undefined>]
|
|
4368
|
-
}, undefined>,
|
|
4369
|
-
parts?: {
|
|
4370
|
-
role: "original" | "display" | "thumb";
|
|
4371
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4372
|
-
bytes: number;
|
|
4373
|
-
width: number;
|
|
4374
|
-
height: number;
|
|
4375
|
-
}[] | undefined;
|
|
4376
|
-
images?: {
|
|
4377
|
-
id?: string | undefined;
|
|
4378
|
-
parts: {
|
|
4379
|
-
role: "original" | "display" | "thumb";
|
|
4380
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4381
|
-
bytes: number;
|
|
4382
|
-
width: number;
|
|
4383
|
-
height: number;
|
|
4384
|
-
}[];
|
|
4385
|
-
}[] | undefined;
|
|
4386
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4062
|
+
}[], 1, undefined>]>;
|
|
4063
|
+
}, undefined>, undefined>, undefined>;
|
|
4387
4064
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4388
4065
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4389
4066
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4716,15 +4393,8 @@ export declare const MarkDoneResponseSchema: v.ObjectSchema<{
|
|
|
4716
4393
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4717
4394
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4718
4395
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4719
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
4720
|
-
readonly
|
|
4721
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4722
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4723
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4724
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4725
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4726
|
-
}, undefined>, undefined>, undefined>;
|
|
4727
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4396
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4397
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4728
4398
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4729
4399
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4730
4400
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -4742,26 +4412,8 @@ export declare const MarkDoneResponseSchema: v.ObjectSchema<{
|
|
|
4742
4412
|
width: number;
|
|
4743
4413
|
height: number;
|
|
4744
4414
|
}[];
|
|
4745
|
-
}[], 1, undefined>]
|
|
4746
|
-
}, undefined>,
|
|
4747
|
-
parts?: {
|
|
4748
|
-
role: "original" | "display" | "thumb";
|
|
4749
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4750
|
-
bytes: number;
|
|
4751
|
-
width: number;
|
|
4752
|
-
height: number;
|
|
4753
|
-
}[] | undefined;
|
|
4754
|
-
images?: {
|
|
4755
|
-
id?: string | undefined;
|
|
4756
|
-
parts: {
|
|
4757
|
-
role: "original" | "display" | "thumb";
|
|
4758
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4759
|
-
bytes: number;
|
|
4760
|
-
width: number;
|
|
4761
|
-
height: number;
|
|
4762
|
-
}[];
|
|
4763
|
-
}[] | undefined;
|
|
4764
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4415
|
+
}[], 1, undefined>]>;
|
|
4416
|
+
}, undefined>, undefined>, undefined>;
|
|
4765
4417
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4766
4418
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4767
4419
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4913,6 +4565,24 @@ export declare const MarkDoneResponseSchema: v.ObjectSchema<{
|
|
|
4913
4565
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
4914
4566
|
}, undefined>;
|
|
4915
4567
|
}, undefined>;
|
|
4568
|
+
/** What an agent can pin: an artifact or a bundle. Sessions pin from the dashboard. */
|
|
4569
|
+
export declare const PinTargetTypeSchema: v.PicklistSchema<["artifact", "bundle"], undefined>;
|
|
4570
|
+
/**
|
|
4571
|
+
* `POST /api/v1/pins`: `pinned: true` pins the target in the caller's own
|
|
4572
|
+
* sidebar, after their last pin; `false` unpins it. Either is a state, so a
|
|
4573
|
+
* repeat changes nothing.
|
|
4574
|
+
*/
|
|
4575
|
+
export declare const PinRequestSchema: v.StrictObjectSchema<{
|
|
4576
|
+
readonly targetType: v.PicklistSchema<["artifact", "bundle"], undefined>;
|
|
4577
|
+
readonly targetId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
4578
|
+
readonly pinned: v.BooleanSchema<undefined>;
|
|
4579
|
+
}, undefined>;
|
|
4580
|
+
/** The target and whether it is pinned now. */
|
|
4581
|
+
export declare const PinResponseSchema: v.ObjectSchema<{
|
|
4582
|
+
readonly targetType: v.PicklistSchema<["artifact", "bundle"], undefined>;
|
|
4583
|
+
readonly targetId: v.StringSchema<undefined>;
|
|
4584
|
+
readonly pinned: v.BooleanSchema<undefined>;
|
|
4585
|
+
}, undefined>;
|
|
4916
4586
|
/** The artifact after Delete, `state: 'deleted'`. */
|
|
4917
4587
|
export declare const DeleteArtifactResponseSchema: v.ObjectSchema<{
|
|
4918
4588
|
readonly deleted: v.LiteralSchema<true, undefined>;
|
|
@@ -4924,15 +4594,8 @@ export declare const DeleteArtifactResponseSchema: v.ObjectSchema<{
|
|
|
4924
4594
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4925
4595
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4926
4596
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4927
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
4928
|
-
readonly
|
|
4929
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4930
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4931
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4932
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4933
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4934
|
-
}, undefined>, undefined>, undefined>;
|
|
4935
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4597
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4598
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4936
4599
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4937
4600
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4938
4601
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -4950,26 +4613,8 @@ export declare const DeleteArtifactResponseSchema: v.ObjectSchema<{
|
|
|
4950
4613
|
width: number;
|
|
4951
4614
|
height: number;
|
|
4952
4615
|
}[];
|
|
4953
|
-
}[], 1, undefined>]
|
|
4954
|
-
}, undefined>,
|
|
4955
|
-
parts?: {
|
|
4956
|
-
role: "original" | "display" | "thumb";
|
|
4957
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4958
|
-
bytes: number;
|
|
4959
|
-
width: number;
|
|
4960
|
-
height: number;
|
|
4961
|
-
}[] | undefined;
|
|
4962
|
-
images?: {
|
|
4963
|
-
id?: string | undefined;
|
|
4964
|
-
parts: {
|
|
4965
|
-
role: "original" | "display" | "thumb";
|
|
4966
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4967
|
-
bytes: number;
|
|
4968
|
-
width: number;
|
|
4969
|
-
height: number;
|
|
4970
|
-
}[];
|
|
4971
|
-
}[] | undefined;
|
|
4972
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4616
|
+
}[], 1, undefined>]>;
|
|
4617
|
+
}, undefined>, undefined>, undefined>;
|
|
4973
4618
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4974
4619
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4975
4620
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -5131,15 +4776,8 @@ export declare const WithdrawArtifactResponseSchema: v.ObjectSchema<{
|
|
|
5131
4776
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
5132
4777
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
5133
4778
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
5134
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.
|
|
5135
|
-
readonly
|
|
5136
|
-
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
5137
|
-
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
5138
|
-
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5139
|
-
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5140
|
-
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5141
|
-
}, undefined>, undefined>, undefined>;
|
|
5142
|
-
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4779
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4780
|
+
readonly images: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
5143
4781
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
5144
4782
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
5145
4783
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
@@ -5157,26 +4795,8 @@ export declare const WithdrawArtifactResponseSchema: v.ObjectSchema<{
|
|
|
5157
4795
|
width: number;
|
|
5158
4796
|
height: number;
|
|
5159
4797
|
}[];
|
|
5160
|
-
}[], 1, undefined>]
|
|
5161
|
-
}, undefined>,
|
|
5162
|
-
parts?: {
|
|
5163
|
-
role: "original" | "display" | "thumb";
|
|
5164
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
5165
|
-
bytes: number;
|
|
5166
|
-
width: number;
|
|
5167
|
-
height: number;
|
|
5168
|
-
}[] | undefined;
|
|
5169
|
-
images?: {
|
|
5170
|
-
id?: string | undefined;
|
|
5171
|
-
parts: {
|
|
5172
|
-
role: "original" | "display" | "thumb";
|
|
5173
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
5174
|
-
bytes: number;
|
|
5175
|
-
width: number;
|
|
5176
|
-
height: number;
|
|
5177
|
-
}[];
|
|
5178
|
-
}[] | undefined;
|
|
5179
|
-
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4798
|
+
}[], 1, undefined>]>;
|
|
4799
|
+
}, undefined>, undefined>, undefined>;
|
|
5180
4800
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
5181
4801
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5182
4802
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -5901,21 +5521,9 @@ export declare const DashboardSyncActionSchema: v.ObjectSchema<{
|
|
|
5901
5521
|
readonly assistantText: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>, v.CheckAction<string, "narration must not contain a code block — code is stripped structurally on the client before upload">]>, undefined>;
|
|
5902
5522
|
}, undefined>, undefined>;
|
|
5903
5523
|
}, undefined>;
|
|
5904
|
-
export declare const DashboardGuideSuggestionSchema: v.ObjectSchema<{
|
|
5905
|
-
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5906
|
-
readonly content: v.StringSchema<undefined>;
|
|
5907
|
-
readonly reasoning: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5908
|
-
readonly triggerType: v.PicklistSchema<["uncovered", "ambiguous", "performance_pattern", "conversational_feedback"], undefined>;
|
|
5909
|
-
readonly sourceActionIds: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.ObjectSchema<{
|
|
5910
|
-
readonly agentSessionId: v.StringSchema<undefined>;
|
|
5911
|
-
readonly timestamp: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5912
|
-
readonly summary: v.StringSchema<undefined>;
|
|
5913
|
-
}, undefined>], undefined>, undefined>, undefined>;
|
|
5914
|
-
readonly status: v.OptionalSchema<v.PicklistSchema<["pending", "accepted", "dismissed"], undefined>, undefined>;
|
|
5915
|
-
}, undefined>;
|
|
5916
5524
|
/** Max number of actions accepted in a single `POST /api/sync` request. */
|
|
5917
5525
|
export declare const MAX_SYNC_ACTIONS_BATCH = 500;
|
|
5918
|
-
/** Max number of
|
|
5526
|
+
/** Max number of runUsage/skillUsage entries per sync request. */
|
|
5919
5527
|
export declare const MAX_SYNC_AUX_BATCH = 100;
|
|
5920
5528
|
/**
|
|
5921
5529
|
* Where the checkout stood when a session closed — the git head the `SessionEnd`
|
|
@@ -5938,8 +5546,7 @@ export declare const MAX_SYNC_AUX_BATCH = 100;
|
|
|
5938
5546
|
* There is deliberately no `prNumber` here. It is the one part of the anchor
|
|
5939
5547
|
* that is not free: no environment variable in a real cloud agent session names
|
|
5940
5548
|
* a PR (checked 2026-08-22 — see the spec's Open questions), so a wire field
|
|
5941
|
-
* for it would be protocol surface no producer ever fills.
|
|
5942
|
-
* exists as a reserved column; the wire waits for a mechanism.
|
|
5549
|
+
* for it would be protocol surface no producer ever fills.
|
|
5943
5550
|
*
|
|
5944
5551
|
* Not a per-action field and not a per-session map: it describes the machine
|
|
5945
5552
|
* and the checkout at one instant, the way `RuleFileManifestSchema` does, and
|
|
@@ -6148,29 +5755,6 @@ export declare const DashboardSyncRequestSchema: v.ObjectSchema<{
|
|
|
6148
5755
|
assistantText?: string | undefined;
|
|
6149
5756
|
} | undefined;
|
|
6150
5757
|
}[], 500, undefined>]>, undefined>;
|
|
6151
|
-
readonly guideSuggestions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
6152
|
-
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6153
|
-
readonly content: v.StringSchema<undefined>;
|
|
6154
|
-
readonly reasoning: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6155
|
-
readonly triggerType: v.PicklistSchema<["uncovered", "ambiguous", "performance_pattern", "conversational_feedback"], undefined>;
|
|
6156
|
-
readonly sourceActionIds: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.ObjectSchema<{
|
|
6157
|
-
readonly agentSessionId: v.StringSchema<undefined>;
|
|
6158
|
-
readonly timestamp: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6159
|
-
readonly summary: v.StringSchema<undefined>;
|
|
6160
|
-
}, undefined>], undefined>, undefined>, undefined>;
|
|
6161
|
-
readonly status: v.OptionalSchema<v.PicklistSchema<["pending", "accepted", "dismissed"], undefined>, undefined>;
|
|
6162
|
-
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
6163
|
-
id?: string | undefined;
|
|
6164
|
-
content: string;
|
|
6165
|
-
reasoning?: string | undefined;
|
|
6166
|
-
triggerType: "uncovered" | "ambiguous" | "performance_pattern" | "conversational_feedback";
|
|
6167
|
-
sourceActionIds?: (string | {
|
|
6168
|
-
agentSessionId: string;
|
|
6169
|
-
timestamp?: string | undefined;
|
|
6170
|
-
summary: string;
|
|
6171
|
-
})[] | undefined;
|
|
6172
|
-
status?: "pending" | "accepted" | "dismissed" | undefined;
|
|
6173
|
-
}[], 100, undefined>]>, undefined>;
|
|
6174
5758
|
readonly runUsage: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
6175
5759
|
readonly sessionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6176
5760
|
readonly agentSessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -6588,11 +6172,6 @@ export declare const ArtifactFeedbackQuerySchema: v.ObjectSchema<{
|
|
|
6588
6172
|
* correction drafted for one repo is withheld, as on the comments read.
|
|
6589
6173
|
*/
|
|
6590
6174
|
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
6591
|
-
/**
|
|
6592
|
-
* The release asking. Replies on a thread are sent only to one that renders
|
|
6593
|
-
* threads; without it the page is roots only, as it was.
|
|
6594
|
-
*/
|
|
6595
|
-
readonly cli: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
6596
6175
|
}, undefined>;
|
|
6597
6176
|
export type ArtifactFeedbackQuery = v.InferOutput<typeof ArtifactFeedbackQuerySchema>;
|
|
6598
6177
|
/**
|
|
@@ -6776,7 +6355,7 @@ export type ArtifactFeedbackResponse = v.InferOutput<typeof ArtifactFeedbackResp
|
|
|
6776
6355
|
/**
|
|
6777
6356
|
* `POST /api/v1/artifacts/feedback` body: several artifacts read at once, each
|
|
6778
6357
|
* paged as `GET .../:id/feedback` pages it (`cursor` is that artifact's own
|
|
6779
|
-
* `nextCursor`). `project`
|
|
6358
|
+
* `nextCursor`). `project` means what it means on the single read.
|
|
6780
6359
|
*/
|
|
6781
6360
|
export declare const ArtifactFeedbackBatchRequestSchema: v.ObjectSchema<{
|
|
6782
6361
|
readonly artifacts: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
@@ -6790,7 +6369,6 @@ export declare const ArtifactFeedbackBatchRequestSchema: v.ObjectSchema<{
|
|
|
6790
6369
|
cursor?: string | undefined;
|
|
6791
6370
|
}[], 25, undefined>]>;
|
|
6792
6371
|
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
6793
|
-
readonly cli: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
6794
6372
|
}, undefined>;
|
|
6795
6373
|
export type ArtifactFeedbackBatchRequest = v.InferOutput<typeof ArtifactFeedbackBatchRequestSchema>;
|
|
6796
6374
|
/**
|
|
@@ -6992,14 +6570,7 @@ export declare function parseContextItemsResponse(data: unknown): {
|
|
|
6992
6570
|
content: string | null;
|
|
6993
6571
|
description?: string | null | undefined;
|
|
6994
6572
|
asset?: {
|
|
6995
|
-
|
|
6996
|
-
role: "original" | "display" | "thumb";
|
|
6997
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
6998
|
-
bytes: number;
|
|
6999
|
-
width: number;
|
|
7000
|
-
height: number;
|
|
7001
|
-
}[] | undefined;
|
|
7002
|
-
images?: {
|
|
6573
|
+
images: {
|
|
7003
6574
|
id?: string | undefined;
|
|
7004
6575
|
parts: {
|
|
7005
6576
|
role: "original" | "display" | "thumb";
|
|
@@ -7008,10 +6579,10 @@ export declare function parseContextItemsResponse(data: unknown): {
|
|
|
7008
6579
|
width: number;
|
|
7009
6580
|
height: number;
|
|
7010
6581
|
}[];
|
|
7011
|
-
}[]
|
|
6582
|
+
}[];
|
|
7012
6583
|
} | null | undefined;
|
|
7013
6584
|
origin?: string | null | undefined;
|
|
7014
|
-
version
|
|
6585
|
+
version: number;
|
|
7015
6586
|
guideId?: string | null | undefined;
|
|
7016
6587
|
executable?: boolean | undefined;
|
|
7017
6588
|
root?: "project" | "global" | null | undefined;
|
|
@@ -7094,14 +6665,7 @@ export declare function parseBundleArtifactsResponse(data: unknown): {
|
|
|
7094
6665
|
content: string | null;
|
|
7095
6666
|
description?: string | null | undefined;
|
|
7096
6667
|
asset?: {
|
|
7097
|
-
|
|
7098
|
-
role: "original" | "display" | "thumb";
|
|
7099
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
7100
|
-
bytes: number;
|
|
7101
|
-
width: number;
|
|
7102
|
-
height: number;
|
|
7103
|
-
}[] | undefined;
|
|
7104
|
-
images?: {
|
|
6668
|
+
images: {
|
|
7105
6669
|
id?: string | undefined;
|
|
7106
6670
|
parts: {
|
|
7107
6671
|
role: "original" | "display" | "thumb";
|
|
@@ -7110,10 +6674,10 @@ export declare function parseBundleArtifactsResponse(data: unknown): {
|
|
|
7110
6674
|
width: number;
|
|
7111
6675
|
height: number;
|
|
7112
6676
|
}[];
|
|
7113
|
-
}[]
|
|
6677
|
+
}[];
|
|
7114
6678
|
} | null | undefined;
|
|
7115
6679
|
origin?: string | null | undefined;
|
|
7116
|
-
version
|
|
6680
|
+
version: number;
|
|
7117
6681
|
guideId?: string | null | undefined;
|
|
7118
6682
|
executable?: boolean | undefined;
|
|
7119
6683
|
root?: "project" | "global" | null | undefined;
|
|
@@ -7183,11 +6747,11 @@ export declare function parseBundleArtifactsResponse(data: unknown): {
|
|
|
7183
6747
|
endMarker: string;
|
|
7184
6748
|
note: string;
|
|
7185
6749
|
} | null | undefined;
|
|
7186
|
-
next
|
|
6750
|
+
next: string | null;
|
|
7187
6751
|
};
|
|
7188
6752
|
export declare function parseCaptureRequest(data: unknown): {
|
|
7189
6753
|
id?: string | undefined;
|
|
7190
|
-
bundleId
|
|
6754
|
+
bundleId: string | null;
|
|
7191
6755
|
contentType: "content" | "asset";
|
|
7192
6756
|
content: string;
|
|
7193
6757
|
name?: string | undefined;
|
|
@@ -7202,14 +6766,7 @@ export declare function parseCaptureResponse(data: unknown): {
|
|
|
7202
6766
|
format: string | null;
|
|
7203
6767
|
content: string | null;
|
|
7204
6768
|
asset?: {
|
|
7205
|
-
|
|
7206
|
-
role: "original" | "display" | "thumb";
|
|
7207
|
-
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
7208
|
-
bytes: number;
|
|
7209
|
-
width: number;
|
|
7210
|
-
height: number;
|
|
7211
|
-
}[];
|
|
7212
|
-
images?: {
|
|
6769
|
+
images: {
|
|
7213
6770
|
id?: string | undefined;
|
|
7214
6771
|
parts: {
|
|
7215
6772
|
role: "original" | "display" | "thumb";
|
|
@@ -7218,7 +6775,7 @@ export declare function parseCaptureResponse(data: unknown): {
|
|
|
7218
6775
|
width: number;
|
|
7219
6776
|
height: number;
|
|
7220
6777
|
}[];
|
|
7221
|
-
}[]
|
|
6778
|
+
}[];
|
|
7222
6779
|
} | null | undefined;
|
|
7223
6780
|
source?: string | null | undefined;
|
|
7224
6781
|
version?: number | undefined;
|
|
@@ -7262,18 +6819,6 @@ export declare function parseDashboardSyncRequest(data: unknown): {
|
|
|
7262
6819
|
assistantText?: string | undefined;
|
|
7263
6820
|
} | undefined;
|
|
7264
6821
|
}[] | undefined;
|
|
7265
|
-
guideSuggestions?: {
|
|
7266
|
-
id?: string | undefined;
|
|
7267
|
-
content: string;
|
|
7268
|
-
reasoning?: string | undefined;
|
|
7269
|
-
triggerType: "uncovered" | "ambiguous" | "performance_pattern" | "conversational_feedback";
|
|
7270
|
-
sourceActionIds?: (string | {
|
|
7271
|
-
agentSessionId: string;
|
|
7272
|
-
timestamp?: string | undefined;
|
|
7273
|
-
summary: string;
|
|
7274
|
-
})[] | undefined;
|
|
7275
|
-
status?: "pending" | "accepted" | "dismissed" | undefined;
|
|
7276
|
-
}[] | undefined;
|
|
7277
6822
|
runUsage?: {
|
|
7278
6823
|
sessionId?: string | undefined;
|
|
7279
6824
|
agentSessionId: string;
|