@wise/dynamic-flow-types 4.5.1 → 4.6.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/ButtonRendererProps.d.ts +5 -0
- package/build/spec/feature/Action.d.ts +1 -1
- package/build/spec/feature/SubflowBehavior.d.ts +2 -2
- package/build/spec/feature/{DynamicLaunchConfig.d.ts → subflow/DynamicLaunchConfig.d.ts} +5 -1
- package/build/spec/feature/{LaunchConfig.d.ts → subflow/LaunchConfig.d.ts} +1 -1
- package/build/spec/feature/{Presentation.d.ts → subflow/Presentation.d.ts} +1 -1
- package/build/spec/index.d.ts +2 -2
- package/build/spec/layout/ButtonLayout.d.ts +5 -0
- package/build/spec/main.js +10 -9
- package/build/spec/main.mjs +10 -9
- package/build/spec/misc/Request.d.ts +1 -1
- package/build/spec/responses/subflow/SubflowResponseBody.d.ts +4 -1
- package/build/zod/schemas.d.ts +127 -127
- package/build/zod/schemas.ts +14 -13
- package/package.json +1 -1
- /package/build/spec/feature/{ModalPresentation.d.ts → subflow/ModalPresentation.d.ts} +0 -0
- /package/build/spec/feature/{PushPresentation.d.ts → subflow/PushPresentation.d.ts} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Media } from '.';
|
|
1
2
|
import { Context, Margin, Size } from './constants';
|
|
2
3
|
import { BaseRendererProps } from './RendererProps';
|
|
3
4
|
/**
|
|
@@ -8,7 +9,11 @@ export type ButtonRendererProps = BaseRendererProps & {
|
|
|
8
9
|
context: Context;
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
margin: Margin;
|
|
12
|
+
media?: Media;
|
|
11
13
|
pinOrder?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Please use `control` instead.
|
|
16
|
+
*/
|
|
12
17
|
size?: Size;
|
|
13
18
|
title: string;
|
|
14
19
|
onClick: () => void;
|
|
@@ -122,7 +122,7 @@ export type Action = {
|
|
|
122
122
|
*/
|
|
123
123
|
skipValidation?: boolean;
|
|
124
124
|
/**
|
|
125
|
-
* Indicates that the action is safe to be pre-fetched, i.e. before the action is triggered.
|
|
125
|
+
* Indicates that the action is safe to be pre-fetched, i.e. before the action is triggered. Typically, this is done when the step is loaded.
|
|
126
126
|
*/
|
|
127
127
|
prefetch?: boolean;
|
|
128
128
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LaunchConfig } from './LaunchConfig';
|
|
1
|
+
import type { LaunchConfig } from './subflow/LaunchConfig';
|
|
2
2
|
import type { Behavior } from './Behavior';
|
|
3
3
|
/**
|
|
4
|
-
* Launches a Subflow when triggered.
|
|
4
|
+
* Launches a [com.wise.dynamicflow.feature.subflow.Subflow] when triggered.
|
|
5
5
|
*/
|
|
6
6
|
export type SubflowBehavior = {
|
|
7
7
|
/**
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type { Request } from '
|
|
1
|
+
import type { Request } from '../../misc/Request';
|
|
2
2
|
import type { Presentation } from './Presentation';
|
|
3
|
+
/**
|
|
4
|
+
* Launches a [Subflow] that is powered by Dynamic Flow.
|
|
5
|
+
* The subflow must be started with a request to the server.
|
|
6
|
+
*/
|
|
3
7
|
export type DynamicLaunchConfig = {
|
|
4
8
|
/**
|
|
5
9
|
* It must be `dynamic`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ModalPresentation } from './ModalPresentation';
|
|
2
2
|
import type { PushPresentation } from './PushPresentation';
|
|
3
3
|
/**
|
|
4
|
-
* Describes how a
|
|
4
|
+
* Describes how a Dynamic [Subflow] is presented.
|
|
5
5
|
*/
|
|
6
6
|
export type Presentation = ModalPresentation | PushPresentation;
|
package/build/spec/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export type { PersistAsync } from './feature/PersistAsync';
|
|
|
7
7
|
export type { Polling } from './feature/Polling';
|
|
8
8
|
export type { PollingOnError } from './feature/PollingOnError';
|
|
9
9
|
export type { ValidateAsync } from './feature/ValidateAsync';
|
|
10
|
-
export type { Presentation } from './feature/Presentation';
|
|
11
|
-
export type { LaunchConfig } from './feature/LaunchConfig';
|
|
10
|
+
export type { Presentation } from './feature/subflow/Presentation';
|
|
11
|
+
export type { LaunchConfig } from './feature/subflow/LaunchConfig';
|
|
12
12
|
export type { ActionBehavior } from './feature/ActionBehavior';
|
|
13
13
|
export type { Behavior } from './feature/Behavior';
|
|
14
14
|
export type { CopyBehavior } from './feature/CopyBehavior';
|
|
@@ -2,6 +2,7 @@ import type { Action } from '../feature/Action';
|
|
|
2
2
|
import type { Size } from '../misc/Size';
|
|
3
3
|
import type { Behavior } from '../feature/Behavior';
|
|
4
4
|
import type { Context } from '../misc/Context';
|
|
5
|
+
import type { Media } from '../misc/media/Media';
|
|
5
6
|
/**
|
|
6
7
|
* A component which performs a [com.wise.dynamicflow.feature.Behavior] when pressed.
|
|
7
8
|
* You can affect the button appearance using the "control" and "context" properties.
|
|
@@ -61,4 +62,8 @@ export type ButtonLayout = {
|
|
|
61
62
|
* An optional list of identifiers used to configure renderers.
|
|
62
63
|
*/
|
|
63
64
|
tags?: string[];
|
|
65
|
+
/**
|
|
66
|
+
* A media object (avatar, icon, image) which the client can use to represent this button.
|
|
67
|
+
*/
|
|
68
|
+
media?: Media;
|
|
64
69
|
};
|
package/build/spec/main.js
CHANGED
|
@@ -410,12 +410,6 @@ var actionTypeSchema = import_zod.z.union([
|
|
|
410
410
|
import_zod.z.literal("positive"),
|
|
411
411
|
import_zod.z.literal("negative")
|
|
412
412
|
]);
|
|
413
|
-
var requestSchema = import_zod.z.object({
|
|
414
|
-
url: import_zod.z.string(),
|
|
415
|
-
method: httpMethodSchema,
|
|
416
|
-
body: jsonElementSchema.optional(),
|
|
417
|
-
prefetch: import_zod.z.boolean().optional()
|
|
418
|
-
});
|
|
419
413
|
var actionSchema = import_zod.z.object({
|
|
420
414
|
title: import_zod.z.string().optional(),
|
|
421
415
|
type: actionTypeSchema.optional(),
|
|
@@ -432,10 +426,16 @@ var actionSchema = import_zod.z.object({
|
|
|
432
426
|
skipValidation: import_zod.z.boolean().optional(),
|
|
433
427
|
prefetch: import_zod.z.boolean().optional()
|
|
434
428
|
});
|
|
429
|
+
var summarySchema = import_zod.z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
430
|
+
var requestSchema = import_zod.z.object({
|
|
431
|
+
url: import_zod.z.string(),
|
|
432
|
+
method: httpMethodSchema,
|
|
433
|
+
body: jsonElementSchema.optional(),
|
|
434
|
+
prefetch: import_zod.z.boolean().optional()
|
|
435
|
+
});
|
|
435
436
|
var modalPresentationSchema = import_zod.z.object({
|
|
436
437
|
type: import_zod.z.literal("modal")
|
|
437
438
|
});
|
|
438
|
-
var summarySchema = import_zod.z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
439
439
|
var pushPresentationSchema = import_zod.z.object({
|
|
440
440
|
type: import_zod.z.literal("push")
|
|
441
441
|
});
|
|
@@ -487,8 +487,8 @@ var dynamicLaunchConfigSchema = import_zod.z.object({
|
|
|
487
487
|
request: requestSchema,
|
|
488
488
|
presentation: presentationSchema
|
|
489
489
|
});
|
|
490
|
-
var searchResultSchema = import_zod.z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
491
490
|
var launchConfigSchema = dynamicLaunchConfigSchema;
|
|
491
|
+
var searchResultSchema = import_zod.z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
492
492
|
var searchResponseBodySchema = import_zod.z.object({
|
|
493
493
|
results: import_zod.z.array(searchResultSchema)
|
|
494
494
|
});
|
|
@@ -726,7 +726,8 @@ var buttonLayoutSchema = import_zod.z.lazy(
|
|
|
726
726
|
control: import_zod.z.string().optional(),
|
|
727
727
|
margin: sizeSchema.optional(),
|
|
728
728
|
analyticsId: import_zod.z.string().optional(),
|
|
729
|
-
tags: import_zod.z.array(import_zod.z.string()).optional()
|
|
729
|
+
tags: import_zod.z.array(import_zod.z.string()).optional(),
|
|
730
|
+
media: mediaSchema.optional()
|
|
730
731
|
})
|
|
731
732
|
);
|
|
732
733
|
var columnsLayoutSchema = import_zod.z.lazy(
|
package/build/spec/main.mjs
CHANGED
|
@@ -381,12 +381,6 @@ var actionTypeSchema = z.union([
|
|
|
381
381
|
z.literal("positive"),
|
|
382
382
|
z.literal("negative")
|
|
383
383
|
]);
|
|
384
|
-
var requestSchema = z.object({
|
|
385
|
-
url: z.string(),
|
|
386
|
-
method: httpMethodSchema,
|
|
387
|
-
body: jsonElementSchema.optional(),
|
|
388
|
-
prefetch: z.boolean().optional()
|
|
389
|
-
});
|
|
390
384
|
var actionSchema = z.object({
|
|
391
385
|
title: z.string().optional(),
|
|
392
386
|
type: actionTypeSchema.optional(),
|
|
@@ -403,10 +397,16 @@ var actionSchema = z.object({
|
|
|
403
397
|
skipValidation: z.boolean().optional(),
|
|
404
398
|
prefetch: z.boolean().optional()
|
|
405
399
|
});
|
|
400
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
401
|
+
var requestSchema = z.object({
|
|
402
|
+
url: z.string(),
|
|
403
|
+
method: httpMethodSchema,
|
|
404
|
+
body: jsonElementSchema.optional(),
|
|
405
|
+
prefetch: z.boolean().optional()
|
|
406
|
+
});
|
|
406
407
|
var modalPresentationSchema = z.object({
|
|
407
408
|
type: z.literal("modal")
|
|
408
409
|
});
|
|
409
|
-
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
410
410
|
var pushPresentationSchema = z.object({
|
|
411
411
|
type: z.literal("push")
|
|
412
412
|
});
|
|
@@ -458,8 +458,8 @@ var dynamicLaunchConfigSchema = z.object({
|
|
|
458
458
|
request: requestSchema,
|
|
459
459
|
presentation: presentationSchema
|
|
460
460
|
});
|
|
461
|
-
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
462
461
|
var launchConfigSchema = dynamicLaunchConfigSchema;
|
|
462
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
463
463
|
var searchResponseBodySchema = z.object({
|
|
464
464
|
results: z.array(searchResultSchema)
|
|
465
465
|
});
|
|
@@ -697,7 +697,8 @@ var buttonLayoutSchema = z.lazy(
|
|
|
697
697
|
control: z.string().optional(),
|
|
698
698
|
margin: sizeSchema.optional(),
|
|
699
699
|
analyticsId: z.string().optional(),
|
|
700
|
-
tags: z.array(z.string()).optional()
|
|
700
|
+
tags: z.array(z.string()).optional(),
|
|
701
|
+
media: mediaSchema.optional()
|
|
701
702
|
})
|
|
702
703
|
);
|
|
703
704
|
var columnsLayoutSchema = z.lazy(
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type { LaunchConfig } from '../../feature/LaunchConfig';
|
|
1
|
+
import type { LaunchConfig } from '../../feature/subflow/LaunchConfig';
|
|
2
2
|
import type { Behavior } from '../../feature/Behavior';
|
|
3
|
+
/**
|
|
4
|
+
* A response instructing the client to begin a [Subflow].
|
|
5
|
+
*/
|
|
3
6
|
export type SubflowResponseBody = {
|
|
4
7
|
/**
|
|
5
8
|
* The identifier for the triggering flow, used for tracking
|
package/build/zod/schemas.d.ts
CHANGED
|
@@ -1318,22 +1318,6 @@ export declare const copyBehaviorSchema: z.ZodObject<{
|
|
|
1318
1318
|
}>;
|
|
1319
1319
|
export declare const navigationStackBehaviorSchema: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>;
|
|
1320
1320
|
export declare const actionTypeSchema: z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>;
|
|
1321
|
-
export declare const requestSchema: z.ZodObject<{
|
|
1322
|
-
url: z.ZodString;
|
|
1323
|
-
method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
|
|
1324
|
-
body: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
1325
|
-
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
1326
|
-
}, "strip", z.ZodTypeAny, {
|
|
1327
|
-
url: string;
|
|
1328
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1329
|
-
body?: JsonElement | undefined;
|
|
1330
|
-
prefetch?: boolean | undefined;
|
|
1331
|
-
}, {
|
|
1332
|
-
url: string;
|
|
1333
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1334
|
-
body?: JsonElement | undefined;
|
|
1335
|
-
prefetch?: boolean | undefined;
|
|
1336
|
-
}>;
|
|
1337
1321
|
export declare const actionSchema: z.ZodObject<{
|
|
1338
1322
|
title: z.ZodOptional<z.ZodString>;
|
|
1339
1323
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
|
|
@@ -1355,7 +1339,6 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
1355
1339
|
$ref?: string | undefined;
|
|
1356
1340
|
title?: string | undefined;
|
|
1357
1341
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1358
|
-
prefetch?: boolean | undefined;
|
|
1359
1342
|
disabled?: boolean | undefined;
|
|
1360
1343
|
$id?: string | undefined;
|
|
1361
1344
|
id?: string | undefined;
|
|
@@ -1364,13 +1347,13 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
1364
1347
|
data?: JsonElement | undefined;
|
|
1365
1348
|
timeout?: number | undefined;
|
|
1366
1349
|
skipValidation?: boolean | undefined;
|
|
1350
|
+
prefetch?: boolean | undefined;
|
|
1367
1351
|
}, {
|
|
1368
1352
|
url?: string | undefined;
|
|
1369
1353
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
1370
1354
|
$ref?: string | undefined;
|
|
1371
1355
|
title?: string | undefined;
|
|
1372
1356
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1373
|
-
prefetch?: boolean | undefined;
|
|
1374
1357
|
disabled?: boolean | undefined;
|
|
1375
1358
|
$id?: string | undefined;
|
|
1376
1359
|
id?: string | undefined;
|
|
@@ -1379,13 +1362,7 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
1379
1362
|
data?: JsonElement | undefined;
|
|
1380
1363
|
timeout?: number | undefined;
|
|
1381
1364
|
skipValidation?: boolean | undefined;
|
|
1382
|
-
|
|
1383
|
-
export declare const modalPresentationSchema: z.ZodObject<{
|
|
1384
|
-
type: z.ZodLiteral<"modal">;
|
|
1385
|
-
}, "strip", z.ZodTypeAny, {
|
|
1386
|
-
type: "modal";
|
|
1387
|
-
}, {
|
|
1388
|
-
type: "modal";
|
|
1365
|
+
prefetch?: boolean | undefined;
|
|
1389
1366
|
}>;
|
|
1390
1367
|
export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
|
|
1391
1368
|
providesTitle: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1580,6 +1557,29 @@ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1580
1557
|
} | undefined;
|
|
1581
1558
|
providesMedia?: boolean | undefined;
|
|
1582
1559
|
}>]>;
|
|
1560
|
+
export declare const requestSchema: z.ZodObject<{
|
|
1561
|
+
url: z.ZodString;
|
|
1562
|
+
method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
|
|
1563
|
+
body: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
1564
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
1565
|
+
}, "strip", z.ZodTypeAny, {
|
|
1566
|
+
url: string;
|
|
1567
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1568
|
+
prefetch?: boolean | undefined;
|
|
1569
|
+
body?: JsonElement | undefined;
|
|
1570
|
+
}, {
|
|
1571
|
+
url: string;
|
|
1572
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1573
|
+
prefetch?: boolean | undefined;
|
|
1574
|
+
body?: JsonElement | undefined;
|
|
1575
|
+
}>;
|
|
1576
|
+
export declare const modalPresentationSchema: z.ZodObject<{
|
|
1577
|
+
type: z.ZodLiteral<"modal">;
|
|
1578
|
+
}, "strip", z.ZodTypeAny, {
|
|
1579
|
+
type: "modal";
|
|
1580
|
+
}, {
|
|
1581
|
+
type: "modal";
|
|
1582
|
+
}>;
|
|
1583
1583
|
export declare const pushPresentationSchema: z.ZodObject<{
|
|
1584
1584
|
type: z.ZodLiteral<"push">;
|
|
1585
1585
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1627,7 +1627,6 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1627
1627
|
$ref?: string | undefined;
|
|
1628
1628
|
title?: string | undefined;
|
|
1629
1629
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1630
|
-
prefetch?: boolean | undefined;
|
|
1631
1630
|
disabled?: boolean | undefined;
|
|
1632
1631
|
$id?: string | undefined;
|
|
1633
1632
|
id?: string | undefined;
|
|
@@ -1636,13 +1635,13 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1636
1635
|
data?: JsonElement | undefined;
|
|
1637
1636
|
timeout?: number | undefined;
|
|
1638
1637
|
skipValidation?: boolean | undefined;
|
|
1638
|
+
prefetch?: boolean | undefined;
|
|
1639
1639
|
}, {
|
|
1640
1640
|
url?: string | undefined;
|
|
1641
1641
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
1642
1642
|
$ref?: string | undefined;
|
|
1643
1643
|
title?: string | undefined;
|
|
1644
1644
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1645
|
-
prefetch?: boolean | undefined;
|
|
1646
1645
|
disabled?: boolean | undefined;
|
|
1647
1646
|
$id?: string | undefined;
|
|
1648
1647
|
id?: string | undefined;
|
|
@@ -1651,6 +1650,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1651
1650
|
data?: JsonElement | undefined;
|
|
1652
1651
|
timeout?: number | undefined;
|
|
1653
1652
|
skipValidation?: boolean | undefined;
|
|
1653
|
+
prefetch?: boolean | undefined;
|
|
1654
1654
|
}>;
|
|
1655
1655
|
}, "strip", z.ZodTypeAny, {
|
|
1656
1656
|
action: {
|
|
@@ -1659,7 +1659,6 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1659
1659
|
$ref?: string | undefined;
|
|
1660
1660
|
title?: string | undefined;
|
|
1661
1661
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1662
|
-
prefetch?: boolean | undefined;
|
|
1663
1662
|
disabled?: boolean | undefined;
|
|
1664
1663
|
$id?: string | undefined;
|
|
1665
1664
|
id?: string | undefined;
|
|
@@ -1668,6 +1667,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1668
1667
|
data?: JsonElement | undefined;
|
|
1669
1668
|
timeout?: number | undefined;
|
|
1670
1669
|
skipValidation?: boolean | undefined;
|
|
1670
|
+
prefetch?: boolean | undefined;
|
|
1671
1671
|
};
|
|
1672
1672
|
title?: string | undefined;
|
|
1673
1673
|
}, {
|
|
@@ -1677,7 +1677,6 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1677
1677
|
$ref?: string | undefined;
|
|
1678
1678
|
title?: string | undefined;
|
|
1679
1679
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1680
|
-
prefetch?: boolean | undefined;
|
|
1681
1680
|
disabled?: boolean | undefined;
|
|
1682
1681
|
$id?: string | undefined;
|
|
1683
1682
|
id?: string | undefined;
|
|
@@ -1686,6 +1685,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1686
1685
|
data?: JsonElement | undefined;
|
|
1687
1686
|
timeout?: number | undefined;
|
|
1688
1687
|
skipValidation?: boolean | undefined;
|
|
1688
|
+
prefetch?: boolean | undefined;
|
|
1689
1689
|
};
|
|
1690
1690
|
title?: string | undefined;
|
|
1691
1691
|
}>;
|
|
@@ -1719,7 +1719,6 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1719
1719
|
$ref?: string | undefined;
|
|
1720
1720
|
title?: string | undefined;
|
|
1721
1721
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1722
|
-
prefetch?: boolean | undefined;
|
|
1723
1722
|
disabled?: boolean | undefined;
|
|
1724
1723
|
$id?: string | undefined;
|
|
1725
1724
|
id?: string | undefined;
|
|
@@ -1728,13 +1727,13 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1728
1727
|
data?: JsonElement | undefined;
|
|
1729
1728
|
timeout?: number | undefined;
|
|
1730
1729
|
skipValidation?: boolean | undefined;
|
|
1730
|
+
prefetch?: boolean | undefined;
|
|
1731
1731
|
}, {
|
|
1732
1732
|
url?: string | undefined;
|
|
1733
1733
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
1734
1734
|
$ref?: string | undefined;
|
|
1735
1735
|
title?: string | undefined;
|
|
1736
1736
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1737
|
-
prefetch?: boolean | undefined;
|
|
1738
1737
|
disabled?: boolean | undefined;
|
|
1739
1738
|
$id?: string | undefined;
|
|
1740
1739
|
id?: string | undefined;
|
|
@@ -1743,6 +1742,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1743
1742
|
data?: JsonElement | undefined;
|
|
1744
1743
|
timeout?: number | undefined;
|
|
1745
1744
|
skipValidation?: boolean | undefined;
|
|
1745
|
+
prefetch?: boolean | undefined;
|
|
1746
1746
|
}>;
|
|
1747
1747
|
}, "strip", z.ZodTypeAny, {
|
|
1748
1748
|
action: {
|
|
@@ -1751,7 +1751,6 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1751
1751
|
$ref?: string | undefined;
|
|
1752
1752
|
title?: string | undefined;
|
|
1753
1753
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1754
|
-
prefetch?: boolean | undefined;
|
|
1755
1754
|
disabled?: boolean | undefined;
|
|
1756
1755
|
$id?: string | undefined;
|
|
1757
1756
|
id?: string | undefined;
|
|
@@ -1760,6 +1759,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1760
1759
|
data?: JsonElement | undefined;
|
|
1761
1760
|
timeout?: number | undefined;
|
|
1762
1761
|
skipValidation?: boolean | undefined;
|
|
1762
|
+
prefetch?: boolean | undefined;
|
|
1763
1763
|
};
|
|
1764
1764
|
type: "action";
|
|
1765
1765
|
}, {
|
|
@@ -1769,7 +1769,6 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1769
1769
|
$ref?: string | undefined;
|
|
1770
1770
|
title?: string | undefined;
|
|
1771
1771
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1772
|
-
prefetch?: boolean | undefined;
|
|
1773
1772
|
disabled?: boolean | undefined;
|
|
1774
1773
|
$id?: string | undefined;
|
|
1775
1774
|
id?: string | undefined;
|
|
@@ -1778,6 +1777,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1778
1777
|
data?: JsonElement | undefined;
|
|
1779
1778
|
timeout?: number | undefined;
|
|
1780
1779
|
skipValidation?: boolean | undefined;
|
|
1780
|
+
prefetch?: boolean | undefined;
|
|
1781
1781
|
};
|
|
1782
1782
|
type: "action";
|
|
1783
1783
|
}>;
|
|
@@ -1803,7 +1803,6 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1803
1803
|
$ref?: string | undefined;
|
|
1804
1804
|
title?: string | undefined;
|
|
1805
1805
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1806
|
-
prefetch?: boolean | undefined;
|
|
1807
1806
|
disabled?: boolean | undefined;
|
|
1808
1807
|
$id?: string | undefined;
|
|
1809
1808
|
id?: string | undefined;
|
|
@@ -1812,13 +1811,13 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1812
1811
|
data?: JsonElement | undefined;
|
|
1813
1812
|
timeout?: number | undefined;
|
|
1814
1813
|
skipValidation?: boolean | undefined;
|
|
1814
|
+
prefetch?: boolean | undefined;
|
|
1815
1815
|
}, {
|
|
1816
1816
|
url?: string | undefined;
|
|
1817
1817
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
1818
1818
|
$ref?: string | undefined;
|
|
1819
1819
|
title?: string | undefined;
|
|
1820
1820
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1821
|
-
prefetch?: boolean | undefined;
|
|
1822
1821
|
disabled?: boolean | undefined;
|
|
1823
1822
|
$id?: string | undefined;
|
|
1824
1823
|
id?: string | undefined;
|
|
@@ -1827,6 +1826,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1827
1826
|
data?: JsonElement | undefined;
|
|
1828
1827
|
timeout?: number | undefined;
|
|
1829
1828
|
skipValidation?: boolean | undefined;
|
|
1829
|
+
prefetch?: boolean | undefined;
|
|
1830
1830
|
}>>;
|
|
1831
1831
|
link: z.ZodOptional<z.ZodObject<{
|
|
1832
1832
|
url: z.ZodString;
|
|
@@ -1845,7 +1845,6 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1845
1845
|
$ref?: string | undefined;
|
|
1846
1846
|
title?: string | undefined;
|
|
1847
1847
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1848
|
-
prefetch?: boolean | undefined;
|
|
1849
1848
|
disabled?: boolean | undefined;
|
|
1850
1849
|
$id?: string | undefined;
|
|
1851
1850
|
id?: string | undefined;
|
|
@@ -1854,6 +1853,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1854
1853
|
data?: JsonElement | undefined;
|
|
1855
1854
|
timeout?: number | undefined;
|
|
1856
1855
|
skipValidation?: boolean | undefined;
|
|
1856
|
+
prefetch?: boolean | undefined;
|
|
1857
1857
|
} | undefined;
|
|
1858
1858
|
}, {
|
|
1859
1859
|
link?: {
|
|
@@ -1865,7 +1865,6 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1865
1865
|
$ref?: string | undefined;
|
|
1866
1866
|
title?: string | undefined;
|
|
1867
1867
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
1868
|
-
prefetch?: boolean | undefined;
|
|
1869
1868
|
disabled?: boolean | undefined;
|
|
1870
1869
|
$id?: string | undefined;
|
|
1871
1870
|
id?: string | undefined;
|
|
@@ -1874,6 +1873,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1874
1873
|
data?: JsonElement | undefined;
|
|
1875
1874
|
timeout?: number | undefined;
|
|
1876
1875
|
skipValidation?: boolean | undefined;
|
|
1876
|
+
prefetch?: boolean | undefined;
|
|
1877
1877
|
} | undefined;
|
|
1878
1878
|
}>;
|
|
1879
1879
|
export declare const suggestionsSchema: z.ZodObject<{
|
|
@@ -2173,7 +2173,6 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2173
2173
|
$ref?: string | undefined;
|
|
2174
2174
|
title?: string | undefined;
|
|
2175
2175
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2176
|
-
prefetch?: boolean | undefined;
|
|
2177
2176
|
disabled?: boolean | undefined;
|
|
2178
2177
|
$id?: string | undefined;
|
|
2179
2178
|
id?: string | undefined;
|
|
@@ -2182,13 +2181,13 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2182
2181
|
data?: JsonElement | undefined;
|
|
2183
2182
|
timeout?: number | undefined;
|
|
2184
2183
|
skipValidation?: boolean | undefined;
|
|
2184
|
+
prefetch?: boolean | undefined;
|
|
2185
2185
|
}, {
|
|
2186
2186
|
url?: string | undefined;
|
|
2187
2187
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
2188
2188
|
$ref?: string | undefined;
|
|
2189
2189
|
title?: string | undefined;
|
|
2190
2190
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2191
|
-
prefetch?: boolean | undefined;
|
|
2192
2191
|
disabled?: boolean | undefined;
|
|
2193
2192
|
$id?: string | undefined;
|
|
2194
2193
|
id?: string | undefined;
|
|
@@ -2197,6 +2196,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2197
2196
|
data?: JsonElement | undefined;
|
|
2198
2197
|
timeout?: number | undefined;
|
|
2199
2198
|
skipValidation?: boolean | undefined;
|
|
2199
|
+
prefetch?: boolean | undefined;
|
|
2200
2200
|
}>;
|
|
2201
2201
|
media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2202
2202
|
type: z.ZodLiteral<"avatar">;
|
|
@@ -2270,7 +2270,6 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2270
2270
|
$ref?: string | undefined;
|
|
2271
2271
|
title?: string | undefined;
|
|
2272
2272
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2273
|
-
prefetch?: boolean | undefined;
|
|
2274
2273
|
disabled?: boolean | undefined;
|
|
2275
2274
|
$id?: string | undefined;
|
|
2276
2275
|
id?: string | undefined;
|
|
@@ -2279,6 +2278,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2279
2278
|
data?: JsonElement | undefined;
|
|
2280
2279
|
timeout?: number | undefined;
|
|
2281
2280
|
skipValidation?: boolean | undefined;
|
|
2281
|
+
prefetch?: boolean | undefined;
|
|
2282
2282
|
};
|
|
2283
2283
|
type: "action";
|
|
2284
2284
|
title: string;
|
|
@@ -2318,7 +2318,6 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2318
2318
|
$ref?: string | undefined;
|
|
2319
2319
|
title?: string | undefined;
|
|
2320
2320
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2321
|
-
prefetch?: boolean | undefined;
|
|
2322
2321
|
disabled?: boolean | undefined;
|
|
2323
2322
|
$id?: string | undefined;
|
|
2324
2323
|
id?: string | undefined;
|
|
@@ -2327,6 +2326,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2327
2326
|
data?: JsonElement | undefined;
|
|
2328
2327
|
timeout?: number | undefined;
|
|
2329
2328
|
skipValidation?: boolean | undefined;
|
|
2329
|
+
prefetch?: boolean | undefined;
|
|
2330
2330
|
};
|
|
2331
2331
|
type: "action";
|
|
2332
2332
|
title: string;
|
|
@@ -2382,7 +2382,6 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2382
2382
|
$ref?: string | undefined;
|
|
2383
2383
|
title?: string | undefined;
|
|
2384
2384
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2385
|
-
prefetch?: boolean | undefined;
|
|
2386
2385
|
disabled?: boolean | undefined;
|
|
2387
2386
|
$id?: string | undefined;
|
|
2388
2387
|
id?: string | undefined;
|
|
@@ -2391,13 +2390,13 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2391
2390
|
data?: JsonElement | undefined;
|
|
2392
2391
|
timeout?: number | undefined;
|
|
2393
2392
|
skipValidation?: boolean | undefined;
|
|
2393
|
+
prefetch?: boolean | undefined;
|
|
2394
2394
|
}, {
|
|
2395
2395
|
url?: string | undefined;
|
|
2396
2396
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
2397
2397
|
$ref?: string | undefined;
|
|
2398
2398
|
title?: string | undefined;
|
|
2399
2399
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2400
|
-
prefetch?: boolean | undefined;
|
|
2401
2400
|
disabled?: boolean | undefined;
|
|
2402
2401
|
$id?: string | undefined;
|
|
2403
2402
|
id?: string | undefined;
|
|
@@ -2406,6 +2405,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2406
2405
|
data?: JsonElement | undefined;
|
|
2407
2406
|
timeout?: number | undefined;
|
|
2408
2407
|
skipValidation?: boolean | undefined;
|
|
2408
|
+
prefetch?: boolean | undefined;
|
|
2409
2409
|
}>;
|
|
2410
2410
|
}, "strip", z.ZodTypeAny, {
|
|
2411
2411
|
action: {
|
|
@@ -2414,7 +2414,6 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2414
2414
|
$ref?: string | undefined;
|
|
2415
2415
|
title?: string | undefined;
|
|
2416
2416
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2417
|
-
prefetch?: boolean | undefined;
|
|
2418
2417
|
disabled?: boolean | undefined;
|
|
2419
2418
|
$id?: string | undefined;
|
|
2420
2419
|
id?: string | undefined;
|
|
@@ -2423,6 +2422,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2423
2422
|
data?: JsonElement | undefined;
|
|
2424
2423
|
timeout?: number | undefined;
|
|
2425
2424
|
skipValidation?: boolean | undefined;
|
|
2425
|
+
prefetch?: boolean | undefined;
|
|
2426
2426
|
};
|
|
2427
2427
|
}, {
|
|
2428
2428
|
action: {
|
|
@@ -2431,7 +2431,6 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2431
2431
|
$ref?: string | undefined;
|
|
2432
2432
|
title?: string | undefined;
|
|
2433
2433
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2434
|
-
prefetch?: boolean | undefined;
|
|
2435
2434
|
disabled?: boolean | undefined;
|
|
2436
2435
|
$id?: string | undefined;
|
|
2437
2436
|
id?: string | undefined;
|
|
@@ -2440,6 +2439,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2440
2439
|
data?: JsonElement | undefined;
|
|
2441
2440
|
timeout?: number | undefined;
|
|
2442
2441
|
skipValidation?: boolean | undefined;
|
|
2442
|
+
prefetch?: boolean | undefined;
|
|
2443
2443
|
};
|
|
2444
2444
|
}>;
|
|
2445
2445
|
export declare const navigationSchema: z.ZodObject<{
|
|
@@ -2466,7 +2466,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2466
2466
|
$ref?: string | undefined;
|
|
2467
2467
|
title?: string | undefined;
|
|
2468
2468
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2469
|
-
prefetch?: boolean | undefined;
|
|
2470
2469
|
disabled?: boolean | undefined;
|
|
2471
2470
|
$id?: string | undefined;
|
|
2472
2471
|
id?: string | undefined;
|
|
@@ -2475,13 +2474,13 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2475
2474
|
data?: JsonElement | undefined;
|
|
2476
2475
|
timeout?: number | undefined;
|
|
2477
2476
|
skipValidation?: boolean | undefined;
|
|
2477
|
+
prefetch?: boolean | undefined;
|
|
2478
2478
|
}, {
|
|
2479
2479
|
url?: string | undefined;
|
|
2480
2480
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
2481
2481
|
$ref?: string | undefined;
|
|
2482
2482
|
title?: string | undefined;
|
|
2483
2483
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2484
|
-
prefetch?: boolean | undefined;
|
|
2485
2484
|
disabled?: boolean | undefined;
|
|
2486
2485
|
$id?: string | undefined;
|
|
2487
2486
|
id?: string | undefined;
|
|
@@ -2490,6 +2489,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2490
2489
|
data?: JsonElement | undefined;
|
|
2491
2490
|
timeout?: number | undefined;
|
|
2492
2491
|
skipValidation?: boolean | undefined;
|
|
2492
|
+
prefetch?: boolean | undefined;
|
|
2493
2493
|
}>;
|
|
2494
2494
|
}, "strip", z.ZodTypeAny, {
|
|
2495
2495
|
action: {
|
|
@@ -2498,7 +2498,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2498
2498
|
$ref?: string | undefined;
|
|
2499
2499
|
title?: string | undefined;
|
|
2500
2500
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2501
|
-
prefetch?: boolean | undefined;
|
|
2502
2501
|
disabled?: boolean | undefined;
|
|
2503
2502
|
$id?: string | undefined;
|
|
2504
2503
|
id?: string | undefined;
|
|
@@ -2507,6 +2506,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2507
2506
|
data?: JsonElement | undefined;
|
|
2508
2507
|
timeout?: number | undefined;
|
|
2509
2508
|
skipValidation?: boolean | undefined;
|
|
2509
|
+
prefetch?: boolean | undefined;
|
|
2510
2510
|
};
|
|
2511
2511
|
title?: string | undefined;
|
|
2512
2512
|
}, {
|
|
@@ -2516,7 +2516,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2516
2516
|
$ref?: string | undefined;
|
|
2517
2517
|
title?: string | undefined;
|
|
2518
2518
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2519
|
-
prefetch?: boolean | undefined;
|
|
2520
2519
|
disabled?: boolean | undefined;
|
|
2521
2520
|
$id?: string | undefined;
|
|
2522
2521
|
id?: string | undefined;
|
|
@@ -2525,6 +2524,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2525
2524
|
data?: JsonElement | undefined;
|
|
2526
2525
|
timeout?: number | undefined;
|
|
2527
2526
|
skipValidation?: boolean | undefined;
|
|
2527
|
+
prefetch?: boolean | undefined;
|
|
2528
2528
|
};
|
|
2529
2529
|
title?: string | undefined;
|
|
2530
2530
|
}>>;
|
|
@@ -2551,7 +2551,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2551
2551
|
$ref?: string | undefined;
|
|
2552
2552
|
title?: string | undefined;
|
|
2553
2553
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2554
|
-
prefetch?: boolean | undefined;
|
|
2555
2554
|
disabled?: boolean | undefined;
|
|
2556
2555
|
$id?: string | undefined;
|
|
2557
2556
|
id?: string | undefined;
|
|
@@ -2560,13 +2559,13 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2560
2559
|
data?: JsonElement | undefined;
|
|
2561
2560
|
timeout?: number | undefined;
|
|
2562
2561
|
skipValidation?: boolean | undefined;
|
|
2562
|
+
prefetch?: boolean | undefined;
|
|
2563
2563
|
}, {
|
|
2564
2564
|
url?: string | undefined;
|
|
2565
2565
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
2566
2566
|
$ref?: string | undefined;
|
|
2567
2567
|
title?: string | undefined;
|
|
2568
2568
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2569
|
-
prefetch?: boolean | undefined;
|
|
2570
2569
|
disabled?: boolean | undefined;
|
|
2571
2570
|
$id?: string | undefined;
|
|
2572
2571
|
id?: string | undefined;
|
|
@@ -2575,6 +2574,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2575
2574
|
data?: JsonElement | undefined;
|
|
2576
2575
|
timeout?: number | undefined;
|
|
2577
2576
|
skipValidation?: boolean | undefined;
|
|
2577
|
+
prefetch?: boolean | undefined;
|
|
2578
2578
|
}>;
|
|
2579
2579
|
}, "strip", z.ZodTypeAny, {
|
|
2580
2580
|
action: {
|
|
@@ -2583,7 +2583,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2583
2583
|
$ref?: string | undefined;
|
|
2584
2584
|
title?: string | undefined;
|
|
2585
2585
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2586
|
-
prefetch?: boolean | undefined;
|
|
2587
2586
|
disabled?: boolean | undefined;
|
|
2588
2587
|
$id?: string | undefined;
|
|
2589
2588
|
id?: string | undefined;
|
|
@@ -2592,6 +2591,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2592
2591
|
data?: JsonElement | undefined;
|
|
2593
2592
|
timeout?: number | undefined;
|
|
2594
2593
|
skipValidation?: boolean | undefined;
|
|
2594
|
+
prefetch?: boolean | undefined;
|
|
2595
2595
|
};
|
|
2596
2596
|
title?: string | undefined;
|
|
2597
2597
|
}, {
|
|
@@ -2601,7 +2601,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2601
2601
|
$ref?: string | undefined;
|
|
2602
2602
|
title?: string | undefined;
|
|
2603
2603
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2604
|
-
prefetch?: boolean | undefined;
|
|
2605
2604
|
disabled?: boolean | undefined;
|
|
2606
2605
|
$id?: string | undefined;
|
|
2607
2606
|
id?: string | undefined;
|
|
@@ -2610,6 +2609,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2610
2609
|
data?: JsonElement | undefined;
|
|
2611
2610
|
timeout?: number | undefined;
|
|
2612
2611
|
skipValidation?: boolean | undefined;
|
|
2612
|
+
prefetch?: boolean | undefined;
|
|
2613
2613
|
};
|
|
2614
2614
|
title?: string | undefined;
|
|
2615
2615
|
}>>;
|
|
@@ -2622,7 +2622,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2622
2622
|
$ref?: string | undefined;
|
|
2623
2623
|
title?: string | undefined;
|
|
2624
2624
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2625
|
-
prefetch?: boolean | undefined;
|
|
2626
2625
|
disabled?: boolean | undefined;
|
|
2627
2626
|
$id?: string | undefined;
|
|
2628
2627
|
id?: string | undefined;
|
|
@@ -2631,6 +2630,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2631
2630
|
data?: JsonElement | undefined;
|
|
2632
2631
|
timeout?: number | undefined;
|
|
2633
2632
|
skipValidation?: boolean | undefined;
|
|
2633
|
+
prefetch?: boolean | undefined;
|
|
2634
2634
|
};
|
|
2635
2635
|
title?: string | undefined;
|
|
2636
2636
|
} | undefined;
|
|
@@ -2641,7 +2641,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2641
2641
|
$ref?: string | undefined;
|
|
2642
2642
|
title?: string | undefined;
|
|
2643
2643
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2644
|
-
prefetch?: boolean | undefined;
|
|
2645
2644
|
disabled?: boolean | undefined;
|
|
2646
2645
|
$id?: string | undefined;
|
|
2647
2646
|
id?: string | undefined;
|
|
@@ -2650,6 +2649,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2650
2649
|
data?: JsonElement | undefined;
|
|
2651
2650
|
timeout?: number | undefined;
|
|
2652
2651
|
skipValidation?: boolean | undefined;
|
|
2652
|
+
prefetch?: boolean | undefined;
|
|
2653
2653
|
};
|
|
2654
2654
|
title?: string | undefined;
|
|
2655
2655
|
} | undefined;
|
|
@@ -2662,7 +2662,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2662
2662
|
$ref?: string | undefined;
|
|
2663
2663
|
title?: string | undefined;
|
|
2664
2664
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2665
|
-
prefetch?: boolean | undefined;
|
|
2666
2665
|
disabled?: boolean | undefined;
|
|
2667
2666
|
$id?: string | undefined;
|
|
2668
2667
|
id?: string | undefined;
|
|
@@ -2671,6 +2670,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2671
2670
|
data?: JsonElement | undefined;
|
|
2672
2671
|
timeout?: number | undefined;
|
|
2673
2672
|
skipValidation?: boolean | undefined;
|
|
2673
|
+
prefetch?: boolean | undefined;
|
|
2674
2674
|
};
|
|
2675
2675
|
title?: string | undefined;
|
|
2676
2676
|
} | undefined;
|
|
@@ -2681,7 +2681,6 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2681
2681
|
$ref?: string | undefined;
|
|
2682
2682
|
title?: string | undefined;
|
|
2683
2683
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2684
|
-
prefetch?: boolean | undefined;
|
|
2685
2684
|
disabled?: boolean | undefined;
|
|
2686
2685
|
$id?: string | undefined;
|
|
2687
2686
|
id?: string | undefined;
|
|
@@ -2690,6 +2689,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2690
2689
|
data?: JsonElement | undefined;
|
|
2691
2690
|
timeout?: number | undefined;
|
|
2692
2691
|
skipValidation?: boolean | undefined;
|
|
2692
|
+
prefetch?: boolean | undefined;
|
|
2693
2693
|
};
|
|
2694
2694
|
title?: string | undefined;
|
|
2695
2695
|
} | undefined;
|
|
@@ -2718,13 +2718,71 @@ export declare const dynamicLaunchConfigSchema: z.ZodObject<{
|
|
|
2718
2718
|
}, "strip", z.ZodTypeAny, {
|
|
2719
2719
|
url: string;
|
|
2720
2720
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2721
|
+
prefetch?: boolean | undefined;
|
|
2721
2722
|
body?: JsonElement | undefined;
|
|
2723
|
+
}, {
|
|
2724
|
+
url: string;
|
|
2725
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2722
2726
|
prefetch?: boolean | undefined;
|
|
2727
|
+
body?: JsonElement | undefined;
|
|
2728
|
+
}>;
|
|
2729
|
+
presentation: z.ZodUnion<[z.ZodObject<{
|
|
2730
|
+
type: z.ZodLiteral<"modal">;
|
|
2731
|
+
}, "strip", z.ZodTypeAny, {
|
|
2732
|
+
type: "modal";
|
|
2733
|
+
}, {
|
|
2734
|
+
type: "modal";
|
|
2735
|
+
}>, z.ZodObject<{
|
|
2736
|
+
type: z.ZodLiteral<"push">;
|
|
2737
|
+
}, "strip", z.ZodTypeAny, {
|
|
2738
|
+
type: "push";
|
|
2723
2739
|
}, {
|
|
2740
|
+
type: "push";
|
|
2741
|
+
}>]>;
|
|
2742
|
+
}, "strip", z.ZodTypeAny, {
|
|
2743
|
+
type: "dynamic";
|
|
2744
|
+
request: {
|
|
2745
|
+
url: string;
|
|
2746
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2747
|
+
prefetch?: boolean | undefined;
|
|
2748
|
+
body?: JsonElement | undefined;
|
|
2749
|
+
};
|
|
2750
|
+
presentation: {
|
|
2751
|
+
type: "modal";
|
|
2752
|
+
} | {
|
|
2753
|
+
type: "push";
|
|
2754
|
+
};
|
|
2755
|
+
}, {
|
|
2756
|
+
type: "dynamic";
|
|
2757
|
+
request: {
|
|
2758
|
+
url: string;
|
|
2759
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2760
|
+
prefetch?: boolean | undefined;
|
|
2761
|
+
body?: JsonElement | undefined;
|
|
2762
|
+
};
|
|
2763
|
+
presentation: {
|
|
2764
|
+
type: "modal";
|
|
2765
|
+
} | {
|
|
2766
|
+
type: "push";
|
|
2767
|
+
};
|
|
2768
|
+
}>;
|
|
2769
|
+
export declare const launchConfigSchema: z.ZodObject<{
|
|
2770
|
+
type: z.ZodLiteral<"dynamic">;
|
|
2771
|
+
request: z.ZodObject<{
|
|
2772
|
+
url: z.ZodString;
|
|
2773
|
+
method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
|
|
2774
|
+
body: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
2775
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
2776
|
+
}, "strip", z.ZodTypeAny, {
|
|
2724
2777
|
url: string;
|
|
2725
2778
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2779
|
+
prefetch?: boolean | undefined;
|
|
2726
2780
|
body?: JsonElement | undefined;
|
|
2781
|
+
}, {
|
|
2782
|
+
url: string;
|
|
2783
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2727
2784
|
prefetch?: boolean | undefined;
|
|
2785
|
+
body?: JsonElement | undefined;
|
|
2728
2786
|
}>;
|
|
2729
2787
|
presentation: z.ZodUnion<[z.ZodObject<{
|
|
2730
2788
|
type: z.ZodLiteral<"modal">;
|
|
@@ -2744,8 +2802,8 @@ export declare const dynamicLaunchConfigSchema: z.ZodObject<{
|
|
|
2744
2802
|
request: {
|
|
2745
2803
|
url: string;
|
|
2746
2804
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2747
|
-
body?: JsonElement | undefined;
|
|
2748
2805
|
prefetch?: boolean | undefined;
|
|
2806
|
+
body?: JsonElement | undefined;
|
|
2749
2807
|
};
|
|
2750
2808
|
presentation: {
|
|
2751
2809
|
type: "modal";
|
|
@@ -2757,8 +2815,8 @@ export declare const dynamicLaunchConfigSchema: z.ZodObject<{
|
|
|
2757
2815
|
request: {
|
|
2758
2816
|
url: string;
|
|
2759
2817
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
2760
|
-
body?: JsonElement | undefined;
|
|
2761
2818
|
prefetch?: boolean | undefined;
|
|
2819
|
+
body?: JsonElement | undefined;
|
|
2762
2820
|
};
|
|
2763
2821
|
presentation: {
|
|
2764
2822
|
type: "modal";
|
|
@@ -2820,7 +2878,6 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2820
2878
|
$ref?: string | undefined;
|
|
2821
2879
|
title?: string | undefined;
|
|
2822
2880
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2823
|
-
prefetch?: boolean | undefined;
|
|
2824
2881
|
disabled?: boolean | undefined;
|
|
2825
2882
|
$id?: string | undefined;
|
|
2826
2883
|
id?: string | undefined;
|
|
@@ -2829,13 +2886,13 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2829
2886
|
data?: JsonElement | undefined;
|
|
2830
2887
|
timeout?: number | undefined;
|
|
2831
2888
|
skipValidation?: boolean | undefined;
|
|
2889
|
+
prefetch?: boolean | undefined;
|
|
2832
2890
|
}, {
|
|
2833
2891
|
url?: string | undefined;
|
|
2834
2892
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
2835
2893
|
$ref?: string | undefined;
|
|
2836
2894
|
title?: string | undefined;
|
|
2837
2895
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2838
|
-
prefetch?: boolean | undefined;
|
|
2839
2896
|
disabled?: boolean | undefined;
|
|
2840
2897
|
$id?: string | undefined;
|
|
2841
2898
|
id?: string | undefined;
|
|
@@ -2844,6 +2901,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2844
2901
|
data?: JsonElement | undefined;
|
|
2845
2902
|
timeout?: number | undefined;
|
|
2846
2903
|
skipValidation?: boolean | undefined;
|
|
2904
|
+
prefetch?: boolean | undefined;
|
|
2847
2905
|
}>;
|
|
2848
2906
|
media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2849
2907
|
type: z.ZodLiteral<"avatar">;
|
|
@@ -2917,7 +2975,6 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2917
2975
|
$ref?: string | undefined;
|
|
2918
2976
|
title?: string | undefined;
|
|
2919
2977
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2920
|
-
prefetch?: boolean | undefined;
|
|
2921
2978
|
disabled?: boolean | undefined;
|
|
2922
2979
|
$id?: string | undefined;
|
|
2923
2980
|
id?: string | undefined;
|
|
@@ -2926,6 +2983,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2926
2983
|
data?: JsonElement | undefined;
|
|
2927
2984
|
timeout?: number | undefined;
|
|
2928
2985
|
skipValidation?: boolean | undefined;
|
|
2986
|
+
prefetch?: boolean | undefined;
|
|
2929
2987
|
};
|
|
2930
2988
|
type: "action";
|
|
2931
2989
|
title: string;
|
|
@@ -2965,7 +3023,6 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2965
3023
|
$ref?: string | undefined;
|
|
2966
3024
|
title?: string | undefined;
|
|
2967
3025
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
2968
|
-
prefetch?: boolean | undefined;
|
|
2969
3026
|
disabled?: boolean | undefined;
|
|
2970
3027
|
$id?: string | undefined;
|
|
2971
3028
|
id?: string | undefined;
|
|
@@ -2974,6 +3031,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2974
3031
|
data?: JsonElement | undefined;
|
|
2975
3032
|
timeout?: number | undefined;
|
|
2976
3033
|
skipValidation?: boolean | undefined;
|
|
3034
|
+
prefetch?: boolean | undefined;
|
|
2977
3035
|
};
|
|
2978
3036
|
type: "action";
|
|
2979
3037
|
title: string;
|
|
@@ -3197,64 +3255,6 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3197
3255
|
accessibilityDescription?: string | undefined;
|
|
3198
3256
|
} | undefined;
|
|
3199
3257
|
}>]>;
|
|
3200
|
-
export declare const launchConfigSchema: z.ZodObject<{
|
|
3201
|
-
type: z.ZodLiteral<"dynamic">;
|
|
3202
|
-
request: z.ZodObject<{
|
|
3203
|
-
url: z.ZodString;
|
|
3204
|
-
method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
|
|
3205
|
-
body: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
3206
|
-
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
3207
|
-
}, "strip", z.ZodTypeAny, {
|
|
3208
|
-
url: string;
|
|
3209
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
3210
|
-
body?: JsonElement | undefined;
|
|
3211
|
-
prefetch?: boolean | undefined;
|
|
3212
|
-
}, {
|
|
3213
|
-
url: string;
|
|
3214
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
3215
|
-
body?: JsonElement | undefined;
|
|
3216
|
-
prefetch?: boolean | undefined;
|
|
3217
|
-
}>;
|
|
3218
|
-
presentation: z.ZodUnion<[z.ZodObject<{
|
|
3219
|
-
type: z.ZodLiteral<"modal">;
|
|
3220
|
-
}, "strip", z.ZodTypeAny, {
|
|
3221
|
-
type: "modal";
|
|
3222
|
-
}, {
|
|
3223
|
-
type: "modal";
|
|
3224
|
-
}>, z.ZodObject<{
|
|
3225
|
-
type: z.ZodLiteral<"push">;
|
|
3226
|
-
}, "strip", z.ZodTypeAny, {
|
|
3227
|
-
type: "push";
|
|
3228
|
-
}, {
|
|
3229
|
-
type: "push";
|
|
3230
|
-
}>]>;
|
|
3231
|
-
}, "strip", z.ZodTypeAny, {
|
|
3232
|
-
type: "dynamic";
|
|
3233
|
-
request: {
|
|
3234
|
-
url: string;
|
|
3235
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
3236
|
-
body?: JsonElement | undefined;
|
|
3237
|
-
prefetch?: boolean | undefined;
|
|
3238
|
-
};
|
|
3239
|
-
presentation: {
|
|
3240
|
-
type: "modal";
|
|
3241
|
-
} | {
|
|
3242
|
-
type: "push";
|
|
3243
|
-
};
|
|
3244
|
-
}, {
|
|
3245
|
-
type: "dynamic";
|
|
3246
|
-
request: {
|
|
3247
|
-
url: string;
|
|
3248
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
3249
|
-
body?: JsonElement | undefined;
|
|
3250
|
-
prefetch?: boolean | undefined;
|
|
3251
|
-
};
|
|
3252
|
-
presentation: {
|
|
3253
|
-
type: "modal";
|
|
3254
|
-
} | {
|
|
3255
|
-
type: "push";
|
|
3256
|
-
};
|
|
3257
|
-
}>;
|
|
3258
3258
|
export declare const searchResponseBodySchema: z.ZodObject<{
|
|
3259
3259
|
results: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3260
3260
|
type: z.ZodLiteral<"action">;
|
|
@@ -3310,7 +3310,6 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3310
3310
|
$ref?: string | undefined;
|
|
3311
3311
|
title?: string | undefined;
|
|
3312
3312
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
3313
|
-
prefetch?: boolean | undefined;
|
|
3314
3313
|
disabled?: boolean | undefined;
|
|
3315
3314
|
$id?: string | undefined;
|
|
3316
3315
|
id?: string | undefined;
|
|
@@ -3319,13 +3318,13 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3319
3318
|
data?: JsonElement | undefined;
|
|
3320
3319
|
timeout?: number | undefined;
|
|
3321
3320
|
skipValidation?: boolean | undefined;
|
|
3321
|
+
prefetch?: boolean | undefined;
|
|
3322
3322
|
}, {
|
|
3323
3323
|
url?: string | undefined;
|
|
3324
3324
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
3325
3325
|
$ref?: string | undefined;
|
|
3326
3326
|
title?: string | undefined;
|
|
3327
3327
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
3328
|
-
prefetch?: boolean | undefined;
|
|
3329
3328
|
disabled?: boolean | undefined;
|
|
3330
3329
|
$id?: string | undefined;
|
|
3331
3330
|
id?: string | undefined;
|
|
@@ -3334,6 +3333,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3334
3333
|
data?: JsonElement | undefined;
|
|
3335
3334
|
timeout?: number | undefined;
|
|
3336
3335
|
skipValidation?: boolean | undefined;
|
|
3336
|
+
prefetch?: boolean | undefined;
|
|
3337
3337
|
}>;
|
|
3338
3338
|
media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3339
3339
|
type: z.ZodLiteral<"avatar">;
|
|
@@ -3407,7 +3407,6 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3407
3407
|
$ref?: string | undefined;
|
|
3408
3408
|
title?: string | undefined;
|
|
3409
3409
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
3410
|
-
prefetch?: boolean | undefined;
|
|
3411
3410
|
disabled?: boolean | undefined;
|
|
3412
3411
|
$id?: string | undefined;
|
|
3413
3412
|
id?: string | undefined;
|
|
@@ -3416,6 +3415,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3416
3415
|
data?: JsonElement | undefined;
|
|
3417
3416
|
timeout?: number | undefined;
|
|
3418
3417
|
skipValidation?: boolean | undefined;
|
|
3418
|
+
prefetch?: boolean | undefined;
|
|
3419
3419
|
};
|
|
3420
3420
|
type: "action";
|
|
3421
3421
|
title: string;
|
|
@@ -3455,7 +3455,6 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3455
3455
|
$ref?: string | undefined;
|
|
3456
3456
|
title?: string | undefined;
|
|
3457
3457
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
3458
|
-
prefetch?: boolean | undefined;
|
|
3459
3458
|
disabled?: boolean | undefined;
|
|
3460
3459
|
$id?: string | undefined;
|
|
3461
3460
|
id?: string | undefined;
|
|
@@ -3464,6 +3463,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3464
3463
|
data?: JsonElement | undefined;
|
|
3465
3464
|
timeout?: number | undefined;
|
|
3466
3465
|
skipValidation?: boolean | undefined;
|
|
3466
|
+
prefetch?: boolean | undefined;
|
|
3467
3467
|
};
|
|
3468
3468
|
type: "action";
|
|
3469
3469
|
title: string;
|
|
@@ -3733,7 +3733,6 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3733
3733
|
$ref?: string | undefined;
|
|
3734
3734
|
title?: string | undefined;
|
|
3735
3735
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
3736
|
-
prefetch?: boolean | undefined;
|
|
3737
3736
|
disabled?: boolean | undefined;
|
|
3738
3737
|
$id?: string | undefined;
|
|
3739
3738
|
id?: string | undefined;
|
|
@@ -3742,6 +3741,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3742
3741
|
data?: JsonElement | undefined;
|
|
3743
3742
|
timeout?: number | undefined;
|
|
3744
3743
|
skipValidation?: boolean | undefined;
|
|
3744
|
+
prefetch?: boolean | undefined;
|
|
3745
3745
|
};
|
|
3746
3746
|
type: "action";
|
|
3747
3747
|
title: string;
|
|
@@ -3821,7 +3821,6 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3821
3821
|
$ref?: string | undefined;
|
|
3822
3822
|
title?: string | undefined;
|
|
3823
3823
|
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | undefined;
|
|
3824
|
-
prefetch?: boolean | undefined;
|
|
3825
3824
|
disabled?: boolean | undefined;
|
|
3826
3825
|
$id?: string | undefined;
|
|
3827
3826
|
id?: string | undefined;
|
|
@@ -3830,6 +3829,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3830
3829
|
data?: JsonElement | undefined;
|
|
3831
3830
|
timeout?: number | undefined;
|
|
3832
3831
|
skipValidation?: boolean | undefined;
|
|
3832
|
+
prefetch?: boolean | undefined;
|
|
3833
3833
|
};
|
|
3834
3834
|
type: "action";
|
|
3835
3835
|
title: string;
|
package/build/zod/schemas.ts
CHANGED
|
@@ -448,6 +448,19 @@ export const pushPresentationSchema = z.object({
|
|
|
448
448
|
type: z.literal('push'),
|
|
449
449
|
});
|
|
450
450
|
|
|
451
|
+
export const modalPresentationSchema = z.object({
|
|
452
|
+
type: z.literal('modal'),
|
|
453
|
+
});
|
|
454
|
+
|
|
455
|
+
export const requestSchema = z.object({
|
|
456
|
+
url: z.string(),
|
|
457
|
+
method: httpMethodSchema,
|
|
458
|
+
body: jsonElementSchema.optional(),
|
|
459
|
+
prefetch: z.boolean().optional(),
|
|
460
|
+
});
|
|
461
|
+
|
|
462
|
+
export const presentationSchema = z.union([modalPresentationSchema, pushPresentationSchema]);
|
|
463
|
+
|
|
451
464
|
export const dismissBehaviorSchema = z.object({
|
|
452
465
|
type: z.literal('dismiss'),
|
|
453
466
|
});
|
|
@@ -484,10 +497,6 @@ export const linkSchema = z.object({
|
|
|
484
497
|
url: z.string(),
|
|
485
498
|
});
|
|
486
499
|
|
|
487
|
-
export const modalPresentationSchema = z.object({
|
|
488
|
-
type: z.literal('modal'),
|
|
489
|
-
});
|
|
490
|
-
|
|
491
500
|
export const actionSchema = z.object({
|
|
492
501
|
title: z.string().optional(),
|
|
493
502
|
type: actionTypeSchema.optional(),
|
|
@@ -515,15 +524,6 @@ export const copyBehaviorSchema = z.object({
|
|
|
515
524
|
content: z.string(),
|
|
516
525
|
});
|
|
517
526
|
|
|
518
|
-
export const requestSchema = z.object({
|
|
519
|
-
url: z.string(),
|
|
520
|
-
method: httpMethodSchema,
|
|
521
|
-
body: jsonElementSchema.optional(),
|
|
522
|
-
prefetch: z.boolean().optional(),
|
|
523
|
-
});
|
|
524
|
-
|
|
525
|
-
export const presentationSchema = z.union([modalPresentationSchema, pushPresentationSchema]);
|
|
526
|
-
|
|
527
527
|
export const linkBehaviorSchema = z.object({
|
|
528
528
|
type: z.literal('link'),
|
|
529
529
|
url: z.string(),
|
|
@@ -829,6 +829,7 @@ export const buttonLayoutSchema: z.ZodSchema<ButtonLayout> = z.lazy(() =>
|
|
|
829
829
|
margin: sizeSchema.optional(),
|
|
830
830
|
analyticsId: z.string().optional(),
|
|
831
831
|
tags: z.array(z.string()).optional(),
|
|
832
|
+
media: mediaSchema.optional(),
|
|
832
833
|
}),
|
|
833
834
|
);
|
|
834
835
|
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|