@wise/dynamic-flow-types 4.18.0-experimental-2dcb025 → 4.18.0
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/build/renderers/RendererProps.d.ts +2 -3
- package/build/renderers/RendererProps.d.ts.map +1 -1
- package/build/renderers/constants.d.ts +1 -1
- package/build/renderers/constants.d.ts.map +1 -1
- package/build/renderers/index.d.ts +0 -1
- package/build/renderers/index.d.ts.map +1 -1
- package/build/spec/index.d.ts +2 -9
- package/build/spec/index.d.ts.map +1 -1
- package/build/spec/layout/Layout.d.ts +3 -4
- package/build/spec/layout/Layout.d.ts.map +1 -1
- package/build/spec/layout/StatusListLayoutItem.d.ts +2 -2
- package/build/spec/layout/StatusListLayoutItem.d.ts.map +1 -1
- package/build/spec/layout/{ItemCallToAction.d.ts → StatusListLayoutItemCallToAction.d.ts} +2 -2
- package/build/spec/layout/StatusListLayoutItemCallToAction.d.ts.map +1 -0
- package/build/spec/main.js +48 -115
- package/build/spec/main.mjs +48 -115
- package/build/spec/misc/Context.d.ts +1 -1
- package/build/spec/misc/Context.d.ts.map +1 -1
- package/build/spec/misc/media/MediaAvatar.d.ts +2 -2
- package/build/spec/misc/media/MediaAvatar.d.ts.map +1 -1
- package/build/spec/misc/media/MediaAvatarContent.d.ts +7 -0
- package/build/spec/misc/media/MediaAvatarContent.d.ts.map +1 -0
- package/build/spec/misc/media/{AvatarTextContent.d.ts → MediaAvatarTextContent.d.ts} +2 -2
- package/build/spec/misc/media/MediaAvatarTextContent.d.ts.map +1 -0
- package/build/spec/misc/media/{AvatarUriContent.d.ts → MediaAvatarUriContent.d.ts} +2 -2
- package/build/spec/misc/media/MediaAvatarUriContent.d.ts.map +1 -0
- package/build/spec/responses/search/SearchResultSearch.d.ts +2 -2
- package/build/spec/responses/search/SearchResultSearch.d.ts.map +1 -1
- package/build/spec/responses/search/{SearchSearchRequest.d.ts → SearchResultSearchSearchRequest.d.ts} +2 -2
- package/build/spec/responses/search/SearchResultSearchSearchRequest.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/zod/schemas.d.ts +356 -472
- package/build/zod/schemas.d.ts.map +1 -1
- package/build/zod/schemas.ts +816 -897
- package/package.json +3 -3
- package/build/renderers/CollectionRendererProps.d.ts +0 -69
- package/build/renderers/CollectionRendererProps.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayout.d.ts +0 -57
- package/build/spec/layout/CollectionLayout.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutCallToAction.d.ts +0 -19
- package/build/spec/layout/CollectionLayoutCallToAction.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutFilter.d.ts +0 -6
- package/build/spec/layout/CollectionLayoutFilter.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutItem.d.ts +0 -56
- package/build/spec/layout/CollectionLayoutItem.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutSearch.d.ts +0 -18
- package/build/spec/layout/CollectionLayoutSearch.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutSection.d.ts +0 -24
- package/build/spec/layout/CollectionLayoutSection.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutSelectFilter.d.ts +0 -24
- package/build/spec/layout/CollectionLayoutSelectFilter.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutState.d.ts +0 -30
- package/build/spec/layout/CollectionLayoutState.d.ts.map +0 -1
- package/build/spec/layout/ItemCallToAction.d.ts.map +0 -1
- package/build/spec/layout/SelectFilterOption.d.ts +0 -22
- package/build/spec/layout/SelectFilterOption.d.ts.map +0 -1
- package/build/spec/misc/media/AvatarContent.d.ts +0 -7
- package/build/spec/misc/media/AvatarContent.d.ts.map +0 -1
- package/build/spec/misc/media/AvatarTextContent.d.ts.map +0 -1
- package/build/spec/misc/media/AvatarUriContent.d.ts.map +0 -1
- package/build/spec/responses/search/SearchSearchRequest.d.ts.map +0 -1
package/build/spec/main.mjs
CHANGED
|
@@ -28,6 +28,7 @@ var contextSchema = z.union([
|
|
|
28
28
|
z.literal("neutral"),
|
|
29
29
|
z.literal("warning"),
|
|
30
30
|
z.literal("negative"),
|
|
31
|
+
z.literal("proposition"),
|
|
31
32
|
z.literal("success"),
|
|
32
33
|
z.literal("failure"),
|
|
33
34
|
z.literal("info"),
|
|
@@ -64,25 +65,28 @@ var jsonElementSchema = z.lazy(
|
|
|
64
65
|
);
|
|
65
66
|
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
66
67
|
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
67
|
-
var
|
|
68
|
-
type: z.literal("
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
var mediaAvatarTextContentSchema = z.object({
|
|
69
|
+
type: z.literal("text"),
|
|
70
|
+
text: z.string(),
|
|
71
|
+
badgeUri: z.string().optional()
|
|
71
72
|
});
|
|
72
|
-
var
|
|
73
|
+
var mediaAvatarUriContentSchema = z.object({
|
|
73
74
|
type: z.literal("uri"),
|
|
74
75
|
uri: z.string(),
|
|
75
76
|
badgeUri: z.string().optional()
|
|
76
77
|
});
|
|
77
|
-
var
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
var mediaAvatarContentSchema = z.union([
|
|
79
|
+
mediaAvatarTextContentSchema,
|
|
80
|
+
mediaAvatarUriContentSchema
|
|
81
|
+
]);
|
|
82
|
+
var mediaImageSchema = z.object({
|
|
83
|
+
type: z.literal("image"),
|
|
84
|
+
uri: z.string(),
|
|
85
|
+
accessibilityDescription: z.string().optional()
|
|
81
86
|
});
|
|
82
|
-
var avatarContentSchema = z.union([avatarTextContentSchema, avatarUriContentSchema]);
|
|
83
87
|
var mediaAvatarSchema = z.object({
|
|
84
88
|
type: z.literal("avatar"),
|
|
85
|
-
content: z.array(
|
|
89
|
+
content: z.array(mediaAvatarContentSchema),
|
|
86
90
|
accessibilityDescription: z.string().optional()
|
|
87
91
|
});
|
|
88
92
|
var autocompleteTokenSchema = z.union([
|
|
@@ -159,11 +163,6 @@ var loadingIndicatorLayoutSchema = z.object({
|
|
|
159
163
|
tags: z.array(z.string()).optional()
|
|
160
164
|
});
|
|
161
165
|
var mediaSchema = z.union([mediaAvatarSchema, mediaImageSchema]);
|
|
162
|
-
var collectionLayoutSearchSchema = z.object({
|
|
163
|
-
param: z.string(),
|
|
164
|
-
title: z.string().optional(),
|
|
165
|
-
hint: z.string().optional()
|
|
166
|
-
});
|
|
167
166
|
var paragraphLayoutSchema = z.object({
|
|
168
167
|
type: z.literal("paragraph"),
|
|
169
168
|
text: z.string(),
|
|
@@ -186,12 +185,6 @@ var listLayoutStatusSchema = z.union([
|
|
|
186
185
|
z.literal("neutral"),
|
|
187
186
|
z.literal("positive")
|
|
188
187
|
]);
|
|
189
|
-
var selectFilterOptionSchema = z.object({
|
|
190
|
-
value: z.string(),
|
|
191
|
-
title: z.string(),
|
|
192
|
-
accessibilityDescription: z.string().optional(),
|
|
193
|
-
selected: z.boolean().optional()
|
|
194
|
-
});
|
|
195
188
|
var requestSchema = z.object({
|
|
196
189
|
url: z.string(),
|
|
197
190
|
method: httpMethodSchema,
|
|
@@ -309,7 +302,7 @@ var columnsLayoutBiasSchema = z.union([
|
|
|
309
302
|
z.literal("right")
|
|
310
303
|
]);
|
|
311
304
|
var noOpResponseBodySchema = z.object({});
|
|
312
|
-
var
|
|
305
|
+
var searchResultSearchSearchRequestSchema = z.object({
|
|
313
306
|
url: z.string(),
|
|
314
307
|
method: httpMethodSchema,
|
|
315
308
|
param: z.string(),
|
|
@@ -321,7 +314,7 @@ var searchResultSearchSchema = z.object({
|
|
|
321
314
|
description: z.string().optional(),
|
|
322
315
|
icon: iconSchema.optional(),
|
|
323
316
|
image: imageSchema.optional(),
|
|
324
|
-
value:
|
|
317
|
+
value: searchResultSearchSearchRequestSchema,
|
|
325
318
|
media: mediaSchema.optional()
|
|
326
319
|
});
|
|
327
320
|
var errorResponseBodySchema = z.object({
|
|
@@ -465,12 +458,6 @@ var containerBehaviorSchema = z.object({
|
|
|
465
458
|
var suggestionsSchema = z.object({
|
|
466
459
|
values: z.array(suggestionsValueSchema)
|
|
467
460
|
});
|
|
468
|
-
var collectionLayoutSelectFilterSchema = z.object({
|
|
469
|
-
type: z.literal("select"),
|
|
470
|
-
param: z.string(),
|
|
471
|
-
options: z.array(selectFilterOptionSchema),
|
|
472
|
-
multiSelect: z.boolean().optional()
|
|
473
|
-
});
|
|
474
461
|
var searchResultActionSchema = z.object({
|
|
475
462
|
type: z.literal("action"),
|
|
476
463
|
title: z.string(),
|
|
@@ -496,7 +483,6 @@ var dynamicLaunchConfigSchema = z.object({
|
|
|
496
483
|
presentation: presentationSchema
|
|
497
484
|
});
|
|
498
485
|
var launchConfigSchema = z.union([dynamicLaunchConfigSchema, nativeLaunchConfigSchema]);
|
|
499
|
-
var collectionLayoutFilterSchema = collectionLayoutSelectFilterSchema;
|
|
500
486
|
var searchResponseBodySchema = z.object({
|
|
501
487
|
type: z.literal("results").optional(),
|
|
502
488
|
results: z.array(searchResultSchema)
|
|
@@ -538,52 +524,6 @@ var reviewLayoutCallToActionSchema = z.lazy(
|
|
|
538
524
|
context: contextSchema.optional()
|
|
539
525
|
})
|
|
540
526
|
);
|
|
541
|
-
var collectionLayoutStateSchema = z.lazy(
|
|
542
|
-
() => z.object({
|
|
543
|
-
sections: z.array(collectionLayoutSectionSchema),
|
|
544
|
-
nextCursor: z.string().optional(),
|
|
545
|
-
filters: z.array(collectionLayoutFilterSchema).optional(),
|
|
546
|
-
beforeSections: z.array(layoutSchema).optional(),
|
|
547
|
-
afterSections: z.array(layoutSchema).optional()
|
|
548
|
-
})
|
|
549
|
-
);
|
|
550
|
-
var collectionLayoutSectionSchema = z.lazy(
|
|
551
|
-
() => z.object({
|
|
552
|
-
id: z.string(),
|
|
553
|
-
items: z.array(collectionLayoutItemSchema),
|
|
554
|
-
title: z.string().optional(),
|
|
555
|
-
callToAction: collectionLayoutCallToActionSchema.optional()
|
|
556
|
-
})
|
|
557
|
-
);
|
|
558
|
-
var layoutSchema = z.lazy(
|
|
559
|
-
() => z.union([
|
|
560
|
-
alertLayoutSchema,
|
|
561
|
-
boxLayoutSchema,
|
|
562
|
-
buttonLayoutSchema,
|
|
563
|
-
collectionLayoutSchema,
|
|
564
|
-
columnsLayoutSchema,
|
|
565
|
-
decisionLayoutSchema,
|
|
566
|
-
dividerLayoutSchema,
|
|
567
|
-
formLayoutSchema,
|
|
568
|
-
headingLayoutSchema,
|
|
569
|
-
imageLayoutSchema,
|
|
570
|
-
infoLayoutSchema,
|
|
571
|
-
instructionsLayoutSchema,
|
|
572
|
-
listLayoutSchema,
|
|
573
|
-
loadingIndicatorLayoutSchema,
|
|
574
|
-
markdownLayoutSchema,
|
|
575
|
-
mediaLayoutSchema,
|
|
576
|
-
modalLayoutSchema,
|
|
577
|
-
paragraphLayoutSchema,
|
|
578
|
-
progressLayoutSchema,
|
|
579
|
-
reviewLayoutSchema,
|
|
580
|
-
searchLayoutSchema,
|
|
581
|
-
sectionLayoutSchema,
|
|
582
|
-
statusListLayoutSchema,
|
|
583
|
-
tabsLayoutSchema,
|
|
584
|
-
upsellLayoutSchema
|
|
585
|
-
])
|
|
586
|
-
);
|
|
587
527
|
var tabsLayoutSchema = z.lazy(
|
|
588
528
|
() => z.object({
|
|
589
529
|
type: z.literal("tabs"),
|
|
@@ -623,26 +563,12 @@ var alertLayoutCallToActionSchema = z.lazy(
|
|
|
623
563
|
context: contextSchema.optional()
|
|
624
564
|
})
|
|
625
565
|
);
|
|
626
|
-
var
|
|
627
|
-
() => z.object({
|
|
628
|
-
title: z.string(),
|
|
629
|
-
description: z.string().optional(),
|
|
630
|
-
disabled: z.boolean().optional(),
|
|
631
|
-
primaryBehavior: behaviorSchema.optional(),
|
|
632
|
-
callToAction: collectionLayoutCallToActionSchema.optional(),
|
|
633
|
-
additionalInfo: additionalInfoSchema.optional(),
|
|
634
|
-
supportingValues: supportingValuesSchema.optional(),
|
|
635
|
-
inlineAlert: inlineAlertSchema.optional(),
|
|
636
|
-
media: mediaSchema.optional(),
|
|
637
|
-
analyticsId: z.string().optional(),
|
|
638
|
-
tags: z.array(z.string()).optional()
|
|
639
|
-
})
|
|
640
|
-
);
|
|
641
|
-
var collectionLayoutCallToActionSchema = z.lazy(
|
|
566
|
+
var statusListLayoutItemCallToActionSchema = z.lazy(
|
|
642
567
|
() => z.object({
|
|
643
568
|
title: z.string(),
|
|
644
569
|
accessibilityDescription: z.string().optional(),
|
|
645
|
-
behavior: behaviorSchema
|
|
570
|
+
behavior: behaviorSchema,
|
|
571
|
+
context: contextSchema.optional()
|
|
646
572
|
})
|
|
647
573
|
);
|
|
648
574
|
var listLayoutSchema = z.lazy(
|
|
@@ -761,25 +687,12 @@ var statusListLayoutItemSchema = z.lazy(
|
|
|
761
687
|
description: z.string().optional(),
|
|
762
688
|
icon: iconSchema,
|
|
763
689
|
status: statusListLayoutStatusSchema.optional(),
|
|
764
|
-
callToAction:
|
|
690
|
+
callToAction: statusListLayoutItemCallToActionSchema.optional(),
|
|
765
691
|
tag: z.string().optional(),
|
|
766
692
|
analyticsId: z.string().optional(),
|
|
767
693
|
tags: z.array(z.string()).optional()
|
|
768
694
|
})
|
|
769
695
|
);
|
|
770
|
-
var collectionLayoutSchema = z.lazy(
|
|
771
|
-
() => z.object({
|
|
772
|
-
type: z.literal("collection"),
|
|
773
|
-
url: z.string(),
|
|
774
|
-
method: httpMethodSchema,
|
|
775
|
-
initialState: collectionLayoutStateSchema,
|
|
776
|
-
search: collectionLayoutSearchSchema.optional(),
|
|
777
|
-
control: z.string().optional(),
|
|
778
|
-
margin: sizeSchema.optional(),
|
|
779
|
-
analyticsId: z.string().optional(),
|
|
780
|
-
tags: z.array(z.string()).optional()
|
|
781
|
-
})
|
|
782
|
-
);
|
|
783
696
|
var sectionLayoutSchema = z.lazy(
|
|
784
697
|
() => z.object({
|
|
785
698
|
type: z.literal("section"),
|
|
@@ -792,13 +705,33 @@ var sectionLayoutSchema = z.lazy(
|
|
|
792
705
|
tags: z.array(z.string()).optional()
|
|
793
706
|
})
|
|
794
707
|
);
|
|
795
|
-
var
|
|
796
|
-
() => z.
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
708
|
+
var layoutSchema = z.lazy(
|
|
709
|
+
() => z.union([
|
|
710
|
+
alertLayoutSchema,
|
|
711
|
+
boxLayoutSchema,
|
|
712
|
+
buttonLayoutSchema,
|
|
713
|
+
columnsLayoutSchema,
|
|
714
|
+
decisionLayoutSchema,
|
|
715
|
+
dividerLayoutSchema,
|
|
716
|
+
formLayoutSchema,
|
|
717
|
+
headingLayoutSchema,
|
|
718
|
+
imageLayoutSchema,
|
|
719
|
+
infoLayoutSchema,
|
|
720
|
+
instructionsLayoutSchema,
|
|
721
|
+
listLayoutSchema,
|
|
722
|
+
loadingIndicatorLayoutSchema,
|
|
723
|
+
markdownLayoutSchema,
|
|
724
|
+
mediaLayoutSchema,
|
|
725
|
+
modalLayoutSchema,
|
|
726
|
+
paragraphLayoutSchema,
|
|
727
|
+
progressLayoutSchema,
|
|
728
|
+
reviewLayoutSchema,
|
|
729
|
+
searchLayoutSchema,
|
|
730
|
+
sectionLayoutSchema,
|
|
731
|
+
statusListLayoutSchema,
|
|
732
|
+
tabsLayoutSchema,
|
|
733
|
+
upsellLayoutSchema
|
|
734
|
+
])
|
|
802
735
|
);
|
|
803
736
|
var searchLayoutSchema = z.lazy(
|
|
804
737
|
() => z.object({
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* The specific meaning of these values is dependent on the client and it's possible that multiple values may be
|
|
4
4
|
* mapped to the same style in some implementations.
|
|
5
5
|
*/
|
|
6
|
-
export type Context = 'positive' | 'neutral' | 'warning' | 'negative' | 'success' | 'failure' | 'info' | 'primary';
|
|
6
|
+
export type Context = 'positive' | 'neutral' | 'warning' | 'negative' | 'proposition' | 'success' | 'failure' | 'info' | 'primary';
|
|
7
7
|
//# sourceMappingURL=Context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/spec/misc/Context.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AACF,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/spec/misc/Context.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AACF,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MediaAvatarContent } from './MediaAvatarContent';
|
|
2
2
|
/**
|
|
3
3
|
* Avatar is a representation of a unique entity. It's comprised of one or more AvatarContent and an optional accessibilityDescription for screen readers.
|
|
4
4
|
*/
|
|
@@ -10,7 +10,7 @@ export type MediaAvatar = {
|
|
|
10
10
|
/**
|
|
11
11
|
* The content to be displayed in the Avatar.
|
|
12
12
|
*/
|
|
13
|
-
content:
|
|
13
|
+
content: MediaAvatarContent[];
|
|
14
14
|
/**
|
|
15
15
|
* An optional description for screen readers.
|
|
16
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaAvatar.d.ts","sourceRoot":"","sources":["../../../../src/spec/misc/media/MediaAvatar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MediaAvatar.d.ts","sourceRoot":"","sources":["../../../../src/spec/misc/media/MediaAvatar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D;;EAEE;AACF,MAAM,MAAM,WAAW,GAAG;IACtB;;MAEE;IACF,IAAI,EAAE,QAAQ,CAAC;IACf;;MAEE;IACF,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B;;MAEE;IACF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MediaAvatarTextContent } from './MediaAvatarTextContent';
|
|
2
|
+
import type { MediaAvatarUriContent } from './MediaAvatarUriContent';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the properties of a visual asset. It can be one of two mutually exclusive types: URI or Text.
|
|
5
|
+
*/
|
|
6
|
+
export type MediaAvatarContent = MediaAvatarTextContent | MediaAvatarUriContent;
|
|
7
|
+
//# sourceMappingURL=MediaAvatarContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaAvatarContent.d.ts","sourceRoot":"","sources":["../../../../src/spec/misc/media/MediaAvatarContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAEpE;;EAEE;AACF,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* An avatar content that is text.
|
|
3
3
|
*/
|
|
4
|
-
export type
|
|
4
|
+
export type MediaAvatarTextContent = {
|
|
5
5
|
/**
|
|
6
6
|
* It must be `text`.
|
|
7
7
|
*/
|
|
@@ -15,4 +15,4 @@ export type AvatarTextContent = {
|
|
|
15
15
|
*/
|
|
16
16
|
badgeUri?: string;
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=MediaAvatarTextContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaAvatarTextContent.d.ts","sourceRoot":"","sources":["../../../../src/spec/misc/media/MediaAvatarTextContent.ts"],"names":[],"mappings":"AAAA;;EAEE;AACF,MAAM,MAAM,sBAAsB,GAAG;IACjC;;MAEE;IACF,IAAI,EAAE,MAAM,CAAC;IACb;;MAEE;IACF,IAAI,EAAE,MAAM,CAAC;IACb;;MAEE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* An avatar content that is a URI.
|
|
3
3
|
*/
|
|
4
|
-
export type
|
|
4
|
+
export type MediaAvatarUriContent = {
|
|
5
5
|
/**
|
|
6
6
|
* It must be `uri`.
|
|
7
7
|
*/
|
|
@@ -15,4 +15,4 @@ export type AvatarUriContent = {
|
|
|
15
15
|
*/
|
|
16
16
|
badgeUri?: string;
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=MediaAvatarUriContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaAvatarUriContent.d.ts","sourceRoot":"","sources":["../../../../src/spec/misc/media/MediaAvatarUriContent.ts"],"names":[],"mappings":"AAAA;;EAEE;AACF,MAAM,MAAM,qBAAqB,GAAG;IAChC;;MAEE;IACF,IAAI,EAAE,KAAK,CAAC;IACZ;;MAEE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ;;MAEE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Icon } from '../../misc/Icon';
|
|
2
2
|
import type { Image } from '../../misc/Image';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SearchResultSearchSearchRequest } from './SearchResultSearchSearchRequest';
|
|
4
4
|
import type { Media } from '../../misc/media/Media';
|
|
5
5
|
/**
|
|
6
6
|
* A search result which contains another search to be performed when selected. Can be used to provide groups of
|
|
@@ -30,7 +30,7 @@ export type SearchResultSearch = {
|
|
|
30
30
|
/**
|
|
31
31
|
* A search configuration to used when the option is selected.
|
|
32
32
|
*/
|
|
33
|
-
value:
|
|
33
|
+
value: SearchResultSearchSearchRequest;
|
|
34
34
|
/**
|
|
35
35
|
* The media object (avatar, icon, image) which the client can use to represent this search result.
|
|
36
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResultSearch.d.ts","sourceRoot":"","sources":["../../../../src/spec/responses/search/SearchResultSearch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SearchResultSearch.d.ts","sourceRoot":"","sources":["../../../../src/spec/responses/search/SearchResultSearch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAA;AACxF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAEnD;;;EAGE;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC7B;;MAEE;IACF,IAAI,EAAE,QAAQ,CAAC;IACf;;MAEE;IACF,KAAK,EAAE,MAAM,CAAC;IACd;;MAEE;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;MAEE;IACF,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;MAEE;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;MAEE;IACF,KAAK,EAAE,+BAA+B,CAAC;IACvC;;MAEE;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { HttpMethod } from '../../misc/HttpMethod';
|
|
|
2
2
|
/**
|
|
3
3
|
* A search request.
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
5
|
+
export type SearchResultSearchSearchRequest = {
|
|
6
6
|
/**
|
|
7
7
|
* The URL for the request. Either absolute or relative to the base URL of the flow.
|
|
8
8
|
*/
|
|
@@ -22,4 +22,4 @@ export type SearchSearchRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
query: string;
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=
|
|
25
|
+
//# sourceMappingURL=SearchResultSearchSearchRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchResultSearchSearchRequest.d.ts","sourceRoot":"","sources":["../../../../src/spec/responses/search/SearchResultSearchSearchRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAEvD;;EAEE;AACF,MAAM,MAAM,+BAA+B,GAAG;IAC1C;;MAEE;IACF,GAAG,EAAE,MAAM,CAAC;IACZ;;MAEE;IACF,MAAM,EAAE,UAAU,CAAC;IACnB;;;;MAIE;IACF,KAAK,EAAE,MAAM,CAAC;IACd;;MAEE;IACF,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC"}
|