@wise/dynamic-flow-types 4.0.0 → 4.1.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/README.md +1 -1
- package/build/renderers/MoneyInputRendererProps.d.ts +1 -1
- package/build/spec/feature/Action.d.ts +4 -0
- package/build/spec/main.js +2 -1
- package/build/spec/main.mjs +2 -1
- package/build/zod/schemas.d.ts +54 -0
- package/build/zod/schemas.ts +847 -846
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,6 @@ This package contains the Dynamic Flow TypeScript types which are used in @wise/
|
|
|
4
4
|
|
|
5
5
|
## Building
|
|
6
6
|
|
|
7
|
-
The types in `src/
|
|
7
|
+
The types in `src/spec/` are generated from our Backend Library. The Zod
|
|
8
8
|
schemas we use to create our validation functions are generated by running
|
|
9
9
|
`./src/zod/build_zod.sh`, or just `pnpm build` within the types package.
|
|
@@ -9,7 +9,7 @@ export type MoneyInputRendererProps = BaseRendererProps & {
|
|
|
9
9
|
help?: string;
|
|
10
10
|
amountValue: string | null;
|
|
11
11
|
selectedCurrencyIndex: number | null;
|
|
12
|
-
onAmountChange: (value: string) => void;
|
|
12
|
+
onAmountChange: (value: string | null) => void;
|
|
13
13
|
onCurrencyChange: (index: number | null) => void;
|
|
14
14
|
currencies: CurrencyOption[];
|
|
15
15
|
validationState?: ValidationResult;
|
|
@@ -121,4 +121,8 @@ export type Action = {
|
|
|
121
121
|
* Indicates that the action should not trigger client-side validation.
|
|
122
122
|
*/
|
|
123
123
|
skipValidation?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Indicates that the action is safe to be pre-fetched, i.e. before the action is triggered.
|
|
126
|
+
*/
|
|
127
|
+
prefetch?: boolean;
|
|
124
128
|
};
|
package/build/spec/main.js
CHANGED
|
@@ -415,7 +415,8 @@ var actionSchema = import_zod.z.object({
|
|
|
415
415
|
result: jsonElementSchema.optional(),
|
|
416
416
|
data: jsonElementSchema.optional(),
|
|
417
417
|
timeout: import_zod.z.number().optional(),
|
|
418
|
-
skipValidation: import_zod.z.boolean().optional()
|
|
418
|
+
skipValidation: import_zod.z.boolean().optional(),
|
|
419
|
+
prefetch: import_zod.z.boolean().optional()
|
|
419
420
|
});
|
|
420
421
|
var summarySchema = import_zod.z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
421
422
|
var linkBehaviorSchema = import_zod.z.object({
|
package/build/spec/main.mjs
CHANGED
|
@@ -387,7 +387,8 @@ var actionSchema = z.object({
|
|
|
387
387
|
result: jsonElementSchema.optional(),
|
|
388
388
|
data: jsonElementSchema.optional(),
|
|
389
389
|
timeout: z.number().optional(),
|
|
390
|
-
skipValidation: z.boolean().optional()
|
|
390
|
+
skipValidation: z.boolean().optional(),
|
|
391
|
+
prefetch: z.boolean().optional()
|
|
391
392
|
});
|
|
392
393
|
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
393
394
|
var linkBehaviorSchema = z.object({
|
package/build/zod/schemas.d.ts
CHANGED
|
@@ -1313,6 +1313,7 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
1313
1313
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
1314
1314
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1315
1315
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1316
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
1316
1317
|
}, "strip", z.ZodTypeAny, {
|
|
1317
1318
|
url?: string | undefined;
|
|
1318
1319
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1327,6 +1328,7 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
1327
1328
|
data?: JsonElement | undefined;
|
|
1328
1329
|
timeout?: number | undefined;
|
|
1329
1330
|
skipValidation?: boolean | undefined;
|
|
1331
|
+
prefetch?: boolean | undefined;
|
|
1330
1332
|
}, {
|
|
1331
1333
|
url?: string | undefined;
|
|
1332
1334
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1341,6 +1343,7 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
1341
1343
|
data?: JsonElement | undefined;
|
|
1342
1344
|
timeout?: number | undefined;
|
|
1343
1345
|
skipValidation?: boolean | undefined;
|
|
1346
|
+
prefetch?: boolean | undefined;
|
|
1344
1347
|
}>;
|
|
1345
1348
|
export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
|
|
1346
1349
|
providesTitle: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1568,6 +1571,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1568
1571
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
1569
1572
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1570
1573
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1574
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
1571
1575
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1576
|
url?: string | undefined;
|
|
1573
1577
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1582,6 +1586,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1582
1586
|
data?: JsonElement | undefined;
|
|
1583
1587
|
timeout?: number | undefined;
|
|
1584
1588
|
skipValidation?: boolean | undefined;
|
|
1589
|
+
prefetch?: boolean | undefined;
|
|
1585
1590
|
}, {
|
|
1586
1591
|
url?: string | undefined;
|
|
1587
1592
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1596,6 +1601,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1596
1601
|
data?: JsonElement | undefined;
|
|
1597
1602
|
timeout?: number | undefined;
|
|
1598
1603
|
skipValidation?: boolean | undefined;
|
|
1604
|
+
prefetch?: boolean | undefined;
|
|
1599
1605
|
}>;
|
|
1600
1606
|
}, "strip", z.ZodTypeAny, {
|
|
1601
1607
|
action: {
|
|
@@ -1612,6 +1618,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1612
1618
|
data?: JsonElement | undefined;
|
|
1613
1619
|
timeout?: number | undefined;
|
|
1614
1620
|
skipValidation?: boolean | undefined;
|
|
1621
|
+
prefetch?: boolean | undefined;
|
|
1615
1622
|
};
|
|
1616
1623
|
title?: string | undefined;
|
|
1617
1624
|
}, {
|
|
@@ -1629,6 +1636,7 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
|
|
|
1629
1636
|
data?: JsonElement | undefined;
|
|
1630
1637
|
timeout?: number | undefined;
|
|
1631
1638
|
skipValidation?: boolean | undefined;
|
|
1639
|
+
prefetch?: boolean | undefined;
|
|
1632
1640
|
};
|
|
1633
1641
|
title?: string | undefined;
|
|
1634
1642
|
}>;
|
|
@@ -1655,6 +1663,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1655
1663
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
1656
1664
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1657
1665
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1666
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
1658
1667
|
}, "strip", z.ZodTypeAny, {
|
|
1659
1668
|
url?: string | undefined;
|
|
1660
1669
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1669,6 +1678,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1669
1678
|
data?: JsonElement | undefined;
|
|
1670
1679
|
timeout?: number | undefined;
|
|
1671
1680
|
skipValidation?: boolean | undefined;
|
|
1681
|
+
prefetch?: boolean | undefined;
|
|
1672
1682
|
}, {
|
|
1673
1683
|
url?: string | undefined;
|
|
1674
1684
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1683,6 +1693,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1683
1693
|
data?: JsonElement | undefined;
|
|
1684
1694
|
timeout?: number | undefined;
|
|
1685
1695
|
skipValidation?: boolean | undefined;
|
|
1696
|
+
prefetch?: boolean | undefined;
|
|
1686
1697
|
}>;
|
|
1687
1698
|
}, "strip", z.ZodTypeAny, {
|
|
1688
1699
|
action: {
|
|
@@ -1699,6 +1710,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1699
1710
|
data?: JsonElement | undefined;
|
|
1700
1711
|
timeout?: number | undefined;
|
|
1701
1712
|
skipValidation?: boolean | undefined;
|
|
1713
|
+
prefetch?: boolean | undefined;
|
|
1702
1714
|
};
|
|
1703
1715
|
type: "action";
|
|
1704
1716
|
}, {
|
|
@@ -1716,6 +1728,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
|
|
|
1716
1728
|
data?: JsonElement | undefined;
|
|
1717
1729
|
timeout?: number | undefined;
|
|
1718
1730
|
skipValidation?: boolean | undefined;
|
|
1731
|
+
prefetch?: boolean | undefined;
|
|
1719
1732
|
};
|
|
1720
1733
|
type: "action";
|
|
1721
1734
|
}>;
|
|
@@ -1734,6 +1747,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1734
1747
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
1735
1748
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1736
1749
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1750
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
1737
1751
|
}, "strip", z.ZodTypeAny, {
|
|
1738
1752
|
url?: string | undefined;
|
|
1739
1753
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1748,6 +1762,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1748
1762
|
data?: JsonElement | undefined;
|
|
1749
1763
|
timeout?: number | undefined;
|
|
1750
1764
|
skipValidation?: boolean | undefined;
|
|
1765
|
+
prefetch?: boolean | undefined;
|
|
1751
1766
|
}, {
|
|
1752
1767
|
url?: string | undefined;
|
|
1753
1768
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -1762,6 +1777,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1762
1777
|
data?: JsonElement | undefined;
|
|
1763
1778
|
timeout?: number | undefined;
|
|
1764
1779
|
skipValidation?: boolean | undefined;
|
|
1780
|
+
prefetch?: boolean | undefined;
|
|
1765
1781
|
}>>;
|
|
1766
1782
|
link: z.ZodOptional<z.ZodObject<{
|
|
1767
1783
|
url: z.ZodString;
|
|
@@ -1788,6 +1804,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1788
1804
|
data?: JsonElement | undefined;
|
|
1789
1805
|
timeout?: number | undefined;
|
|
1790
1806
|
skipValidation?: boolean | undefined;
|
|
1807
|
+
prefetch?: boolean | undefined;
|
|
1791
1808
|
} | undefined;
|
|
1792
1809
|
}, {
|
|
1793
1810
|
link?: {
|
|
@@ -1807,6 +1824,7 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1807
1824
|
data?: JsonElement | undefined;
|
|
1808
1825
|
timeout?: number | undefined;
|
|
1809
1826
|
skipValidation?: boolean | undefined;
|
|
1827
|
+
prefetch?: boolean | undefined;
|
|
1810
1828
|
} | undefined;
|
|
1811
1829
|
}>;
|
|
1812
1830
|
export declare const suggestionsSchema: z.ZodObject<{
|
|
@@ -2099,6 +2117,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2099
2117
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
2100
2118
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2101
2119
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
2120
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
2102
2121
|
}, "strip", z.ZodTypeAny, {
|
|
2103
2122
|
url?: string | undefined;
|
|
2104
2123
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2113,6 +2132,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2113
2132
|
data?: JsonElement | undefined;
|
|
2114
2133
|
timeout?: number | undefined;
|
|
2115
2134
|
skipValidation?: boolean | undefined;
|
|
2135
|
+
prefetch?: boolean | undefined;
|
|
2116
2136
|
}, {
|
|
2117
2137
|
url?: string | undefined;
|
|
2118
2138
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2127,6 +2147,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2127
2147
|
data?: JsonElement | undefined;
|
|
2128
2148
|
timeout?: number | undefined;
|
|
2129
2149
|
skipValidation?: boolean | undefined;
|
|
2150
|
+
prefetch?: boolean | undefined;
|
|
2130
2151
|
}>;
|
|
2131
2152
|
media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2132
2153
|
type: z.ZodLiteral<"avatar">;
|
|
@@ -2208,6 +2229,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2208
2229
|
data?: JsonElement | undefined;
|
|
2209
2230
|
timeout?: number | undefined;
|
|
2210
2231
|
skipValidation?: boolean | undefined;
|
|
2232
|
+
prefetch?: boolean | undefined;
|
|
2211
2233
|
};
|
|
2212
2234
|
type: "action";
|
|
2213
2235
|
title: string;
|
|
@@ -2255,6 +2277,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
|
|
|
2255
2277
|
data?: JsonElement | undefined;
|
|
2256
2278
|
timeout?: number | undefined;
|
|
2257
2279
|
skipValidation?: boolean | undefined;
|
|
2280
|
+
prefetch?: boolean | undefined;
|
|
2258
2281
|
};
|
|
2259
2282
|
type: "action";
|
|
2260
2283
|
title: string;
|
|
@@ -2303,6 +2326,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2303
2326
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
2304
2327
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2305
2328
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
2329
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
2306
2330
|
}, "strip", z.ZodTypeAny, {
|
|
2307
2331
|
url?: string | undefined;
|
|
2308
2332
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2317,6 +2341,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2317
2341
|
data?: JsonElement | undefined;
|
|
2318
2342
|
timeout?: number | undefined;
|
|
2319
2343
|
skipValidation?: boolean | undefined;
|
|
2344
|
+
prefetch?: boolean | undefined;
|
|
2320
2345
|
}, {
|
|
2321
2346
|
url?: string | undefined;
|
|
2322
2347
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2331,6 +2356,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2331
2356
|
data?: JsonElement | undefined;
|
|
2332
2357
|
timeout?: number | undefined;
|
|
2333
2358
|
skipValidation?: boolean | undefined;
|
|
2359
|
+
prefetch?: boolean | undefined;
|
|
2334
2360
|
}>;
|
|
2335
2361
|
}, "strip", z.ZodTypeAny, {
|
|
2336
2362
|
action: {
|
|
@@ -2347,6 +2373,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2347
2373
|
data?: JsonElement | undefined;
|
|
2348
2374
|
timeout?: number | undefined;
|
|
2349
2375
|
skipValidation?: boolean | undefined;
|
|
2376
|
+
prefetch?: boolean | undefined;
|
|
2350
2377
|
};
|
|
2351
2378
|
}, {
|
|
2352
2379
|
action: {
|
|
@@ -2363,6 +2390,7 @@ export declare const actionResponseBodySchema: z.ZodObject<{
|
|
|
2363
2390
|
data?: JsonElement | undefined;
|
|
2364
2391
|
timeout?: number | undefined;
|
|
2365
2392
|
skipValidation?: boolean | undefined;
|
|
2393
|
+
prefetch?: boolean | undefined;
|
|
2366
2394
|
};
|
|
2367
2395
|
}>;
|
|
2368
2396
|
export declare const errorResponseBodySchema: z.ZodObject<{
|
|
@@ -2401,6 +2429,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2401
2429
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
2402
2430
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2403
2431
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
2432
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
2404
2433
|
}, "strip", z.ZodTypeAny, {
|
|
2405
2434
|
url?: string | undefined;
|
|
2406
2435
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2415,6 +2444,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2415
2444
|
data?: JsonElement | undefined;
|
|
2416
2445
|
timeout?: number | undefined;
|
|
2417
2446
|
skipValidation?: boolean | undefined;
|
|
2447
|
+
prefetch?: boolean | undefined;
|
|
2418
2448
|
}, {
|
|
2419
2449
|
url?: string | undefined;
|
|
2420
2450
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2429,6 +2459,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2429
2459
|
data?: JsonElement | undefined;
|
|
2430
2460
|
timeout?: number | undefined;
|
|
2431
2461
|
skipValidation?: boolean | undefined;
|
|
2462
|
+
prefetch?: boolean | undefined;
|
|
2432
2463
|
}>;
|
|
2433
2464
|
}, "strip", z.ZodTypeAny, {
|
|
2434
2465
|
action: {
|
|
@@ -2445,6 +2476,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2445
2476
|
data?: JsonElement | undefined;
|
|
2446
2477
|
timeout?: number | undefined;
|
|
2447
2478
|
skipValidation?: boolean | undefined;
|
|
2479
|
+
prefetch?: boolean | undefined;
|
|
2448
2480
|
};
|
|
2449
2481
|
title?: string | undefined;
|
|
2450
2482
|
}, {
|
|
@@ -2462,6 +2494,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2462
2494
|
data?: JsonElement | undefined;
|
|
2463
2495
|
timeout?: number | undefined;
|
|
2464
2496
|
skipValidation?: boolean | undefined;
|
|
2497
|
+
prefetch?: boolean | undefined;
|
|
2465
2498
|
};
|
|
2466
2499
|
title?: string | undefined;
|
|
2467
2500
|
}>>;
|
|
@@ -2481,6 +2514,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2481
2514
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
2482
2515
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2483
2516
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
2517
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
2484
2518
|
}, "strip", z.ZodTypeAny, {
|
|
2485
2519
|
url?: string | undefined;
|
|
2486
2520
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2495,6 +2529,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2495
2529
|
data?: JsonElement | undefined;
|
|
2496
2530
|
timeout?: number | undefined;
|
|
2497
2531
|
skipValidation?: boolean | undefined;
|
|
2532
|
+
prefetch?: boolean | undefined;
|
|
2498
2533
|
}, {
|
|
2499
2534
|
url?: string | undefined;
|
|
2500
2535
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2509,6 +2544,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2509
2544
|
data?: JsonElement | undefined;
|
|
2510
2545
|
timeout?: number | undefined;
|
|
2511
2546
|
skipValidation?: boolean | undefined;
|
|
2547
|
+
prefetch?: boolean | undefined;
|
|
2512
2548
|
}>;
|
|
2513
2549
|
}, "strip", z.ZodTypeAny, {
|
|
2514
2550
|
action: {
|
|
@@ -2525,6 +2561,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2525
2561
|
data?: JsonElement | undefined;
|
|
2526
2562
|
timeout?: number | undefined;
|
|
2527
2563
|
skipValidation?: boolean | undefined;
|
|
2564
|
+
prefetch?: boolean | undefined;
|
|
2528
2565
|
};
|
|
2529
2566
|
title?: string | undefined;
|
|
2530
2567
|
}, {
|
|
@@ -2542,6 +2579,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2542
2579
|
data?: JsonElement | undefined;
|
|
2543
2580
|
timeout?: number | undefined;
|
|
2544
2581
|
skipValidation?: boolean | undefined;
|
|
2582
|
+
prefetch?: boolean | undefined;
|
|
2545
2583
|
};
|
|
2546
2584
|
title?: string | undefined;
|
|
2547
2585
|
}>>;
|
|
@@ -2562,6 +2600,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2562
2600
|
data?: JsonElement | undefined;
|
|
2563
2601
|
timeout?: number | undefined;
|
|
2564
2602
|
skipValidation?: boolean | undefined;
|
|
2603
|
+
prefetch?: boolean | undefined;
|
|
2565
2604
|
};
|
|
2566
2605
|
title?: string | undefined;
|
|
2567
2606
|
} | undefined;
|
|
@@ -2580,6 +2619,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2580
2619
|
data?: JsonElement | undefined;
|
|
2581
2620
|
timeout?: number | undefined;
|
|
2582
2621
|
skipValidation?: boolean | undefined;
|
|
2622
|
+
prefetch?: boolean | undefined;
|
|
2583
2623
|
};
|
|
2584
2624
|
title?: string | undefined;
|
|
2585
2625
|
} | undefined;
|
|
@@ -2600,6 +2640,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2600
2640
|
data?: JsonElement | undefined;
|
|
2601
2641
|
timeout?: number | undefined;
|
|
2602
2642
|
skipValidation?: boolean | undefined;
|
|
2643
|
+
prefetch?: boolean | undefined;
|
|
2603
2644
|
};
|
|
2604
2645
|
title?: string | undefined;
|
|
2605
2646
|
} | undefined;
|
|
@@ -2618,6 +2659,7 @@ export declare const navigationSchema: z.ZodObject<{
|
|
|
2618
2659
|
data?: JsonElement | undefined;
|
|
2619
2660
|
timeout?: number | undefined;
|
|
2620
2661
|
skipValidation?: boolean | undefined;
|
|
2662
|
+
prefetch?: boolean | undefined;
|
|
2621
2663
|
};
|
|
2622
2664
|
title?: string | undefined;
|
|
2623
2665
|
} | undefined;
|
|
@@ -2670,6 +2712,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2670
2712
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
2671
2713
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2672
2714
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
2715
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
2673
2716
|
}, "strip", z.ZodTypeAny, {
|
|
2674
2717
|
url?: string | undefined;
|
|
2675
2718
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2684,6 +2727,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2684
2727
|
data?: JsonElement | undefined;
|
|
2685
2728
|
timeout?: number | undefined;
|
|
2686
2729
|
skipValidation?: boolean | undefined;
|
|
2730
|
+
prefetch?: boolean | undefined;
|
|
2687
2731
|
}, {
|
|
2688
2732
|
url?: string | undefined;
|
|
2689
2733
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -2698,6 +2742,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2698
2742
|
data?: JsonElement | undefined;
|
|
2699
2743
|
timeout?: number | undefined;
|
|
2700
2744
|
skipValidation?: boolean | undefined;
|
|
2745
|
+
prefetch?: boolean | undefined;
|
|
2701
2746
|
}>;
|
|
2702
2747
|
media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2703
2748
|
type: z.ZodLiteral<"avatar">;
|
|
@@ -2779,6 +2824,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2779
2824
|
data?: JsonElement | undefined;
|
|
2780
2825
|
timeout?: number | undefined;
|
|
2781
2826
|
skipValidation?: boolean | undefined;
|
|
2827
|
+
prefetch?: boolean | undefined;
|
|
2782
2828
|
};
|
|
2783
2829
|
type: "action";
|
|
2784
2830
|
title: string;
|
|
@@ -2826,6 +2872,7 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2826
2872
|
data?: JsonElement | undefined;
|
|
2827
2873
|
timeout?: number | undefined;
|
|
2828
2874
|
skipValidation?: boolean | undefined;
|
|
2875
|
+
prefetch?: boolean | undefined;
|
|
2829
2876
|
};
|
|
2830
2877
|
type: "action";
|
|
2831
2878
|
title: string;
|
|
@@ -3097,6 +3144,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3097
3144
|
data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
|
|
3098
3145
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3099
3146
|
skipValidation: z.ZodOptional<z.ZodBoolean>;
|
|
3147
|
+
prefetch: z.ZodOptional<z.ZodBoolean>;
|
|
3100
3148
|
}, "strip", z.ZodTypeAny, {
|
|
3101
3149
|
url?: string | undefined;
|
|
3102
3150
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -3111,6 +3159,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3111
3159
|
data?: JsonElement | undefined;
|
|
3112
3160
|
timeout?: number | undefined;
|
|
3113
3161
|
skipValidation?: boolean | undefined;
|
|
3162
|
+
prefetch?: boolean | undefined;
|
|
3114
3163
|
}, {
|
|
3115
3164
|
url?: string | undefined;
|
|
3116
3165
|
type?: "primary" | "secondary" | "link" | "positive" | "negative" | undefined;
|
|
@@ -3125,6 +3174,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3125
3174
|
data?: JsonElement | undefined;
|
|
3126
3175
|
timeout?: number | undefined;
|
|
3127
3176
|
skipValidation?: boolean | undefined;
|
|
3177
|
+
prefetch?: boolean | undefined;
|
|
3128
3178
|
}>;
|
|
3129
3179
|
media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3130
3180
|
type: z.ZodLiteral<"avatar">;
|
|
@@ -3206,6 +3256,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3206
3256
|
data?: JsonElement | undefined;
|
|
3207
3257
|
timeout?: number | undefined;
|
|
3208
3258
|
skipValidation?: boolean | undefined;
|
|
3259
|
+
prefetch?: boolean | undefined;
|
|
3209
3260
|
};
|
|
3210
3261
|
type: "action";
|
|
3211
3262
|
title: string;
|
|
@@ -3253,6 +3304,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3253
3304
|
data?: JsonElement | undefined;
|
|
3254
3305
|
timeout?: number | undefined;
|
|
3255
3306
|
skipValidation?: boolean | undefined;
|
|
3307
|
+
prefetch?: boolean | undefined;
|
|
3256
3308
|
};
|
|
3257
3309
|
type: "action";
|
|
3258
3310
|
title: string;
|
|
@@ -3530,6 +3582,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3530
3582
|
data?: JsonElement | undefined;
|
|
3531
3583
|
timeout?: number | undefined;
|
|
3532
3584
|
skipValidation?: boolean | undefined;
|
|
3585
|
+
prefetch?: boolean | undefined;
|
|
3533
3586
|
};
|
|
3534
3587
|
type: "action";
|
|
3535
3588
|
title: string;
|
|
@@ -3617,6 +3670,7 @@ export declare const searchResponseBodySchema: z.ZodObject<{
|
|
|
3617
3670
|
data?: JsonElement | undefined;
|
|
3618
3671
|
timeout?: number | undefined;
|
|
3619
3672
|
skipValidation?: boolean | undefined;
|
|
3673
|
+
prefetch?: boolean | undefined;
|
|
3620
3674
|
};
|
|
3621
3675
|
type: "action";
|
|
3622
3676
|
title: string;
|