@walkeros/core 4.1.2 → 4.1.3-next-1780071196115
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/CHANGELOG.md +20 -0
- package/dist/dev.d.mts +363 -2
- package/dist/dev.d.ts +363 -2
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/index.d.mts +61 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dev.d.ts
CHANGED
|
@@ -986,6 +986,23 @@ declare const ConfigSchema$5: z.ZodObject<{
|
|
|
986
986
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
987
987
|
}, z.core.$strip>>;
|
|
988
988
|
}, z.core.$strip>>;
|
|
989
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
990
|
+
mode: z.ZodEnum<{
|
|
991
|
+
set: "set";
|
|
992
|
+
get: "get";
|
|
993
|
+
}>;
|
|
994
|
+
store: z.ZodOptional<z.ZodString>;
|
|
995
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
996
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
997
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
998
|
+
mode: z.ZodEnum<{
|
|
999
|
+
set: "set";
|
|
1000
|
+
get: "get";
|
|
1001
|
+
}>;
|
|
1002
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1003
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1004
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1005
|
+
}, z.core.$strip>>]>>;
|
|
989
1006
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
990
1007
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
991
1008
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1103,6 +1120,23 @@ declare const PartialConfigSchema$3: z.ZodObject<{
|
|
|
1103
1120
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1104
1121
|
}, z.core.$strip>>;
|
|
1105
1122
|
}, z.core.$strip>>>;
|
|
1123
|
+
state: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1124
|
+
mode: z.ZodEnum<{
|
|
1125
|
+
set: "set";
|
|
1126
|
+
get: "get";
|
|
1127
|
+
}>;
|
|
1128
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1130
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1131
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1132
|
+
mode: z.ZodEnum<{
|
|
1133
|
+
set: "set";
|
|
1134
|
+
get: "get";
|
|
1135
|
+
}>;
|
|
1136
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1138
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1139
|
+
}, z.core.$strip>>]>>>;
|
|
1106
1140
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1107
1141
|
mock: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
1108
1142
|
queueMax: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1228,6 +1262,23 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
1228
1262
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1229
1263
|
}, z.core.$strip>>;
|
|
1230
1264
|
}, z.core.$strip>>;
|
|
1265
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1266
|
+
mode: z.ZodEnum<{
|
|
1267
|
+
set: "set";
|
|
1268
|
+
get: "get";
|
|
1269
|
+
}>;
|
|
1270
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1272
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1273
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1274
|
+
mode: z.ZodEnum<{
|
|
1275
|
+
set: "set";
|
|
1276
|
+
get: "get";
|
|
1277
|
+
}>;
|
|
1278
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1280
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1281
|
+
}, z.core.$strip>>]>>;
|
|
1231
1282
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1232
1283
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
1233
1284
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1347,6 +1398,23 @@ declare const PushContextSchema$1: z.ZodObject<{
|
|
|
1347
1398
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1348
1399
|
}, z.core.$strip>>;
|
|
1349
1400
|
}, z.core.$strip>>;
|
|
1401
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1402
|
+
mode: z.ZodEnum<{
|
|
1403
|
+
set: "set";
|
|
1404
|
+
get: "get";
|
|
1405
|
+
}>;
|
|
1406
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1408
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1409
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1410
|
+
mode: z.ZodEnum<{
|
|
1411
|
+
set: "set";
|
|
1412
|
+
get: "get";
|
|
1413
|
+
}>;
|
|
1414
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1416
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1417
|
+
}, z.core.$strip>>]>>;
|
|
1350
1418
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1351
1419
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
1352
1420
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1499,6 +1567,23 @@ declare const PushBatchContextSchema: z.ZodObject<{
|
|
|
1499
1567
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1500
1568
|
}, z.core.$strip>>;
|
|
1501
1569
|
}, z.core.$strip>>;
|
|
1570
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1571
|
+
mode: z.ZodEnum<{
|
|
1572
|
+
set: "set";
|
|
1573
|
+
get: "get";
|
|
1574
|
+
}>;
|
|
1575
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1577
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1578
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1579
|
+
mode: z.ZodEnum<{
|
|
1580
|
+
set: "set";
|
|
1581
|
+
get: "get";
|
|
1582
|
+
}>;
|
|
1583
|
+
store: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1585
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1586
|
+
}, z.core.$strip>>]>>;
|
|
1502
1587
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1503
1588
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
1504
1589
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1928,6 +2013,23 @@ declare const InstanceSchema$2: z.ZodObject<{
|
|
|
1928
2013
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1929
2014
|
}, z.core.$strip>>;
|
|
1930
2015
|
}, z.core.$strip>>;
|
|
2016
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2017
|
+
mode: z.ZodEnum<{
|
|
2018
|
+
set: "set";
|
|
2019
|
+
get: "get";
|
|
2020
|
+
}>;
|
|
2021
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2022
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2023
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2024
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2025
|
+
mode: z.ZodEnum<{
|
|
2026
|
+
set: "set";
|
|
2027
|
+
get: "get";
|
|
2028
|
+
}>;
|
|
2029
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2030
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2031
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2032
|
+
}, z.core.$strip>>]>>;
|
|
1931
2033
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1932
2034
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
1933
2035
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2153,6 +2255,23 @@ declare const InitSchema$1: z.ZodObject<{
|
|
|
2153
2255
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2154
2256
|
}, z.core.$strip>>;
|
|
2155
2257
|
}, z.core.$strip>>;
|
|
2258
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2259
|
+
mode: z.ZodEnum<{
|
|
2260
|
+
set: "set";
|
|
2261
|
+
get: "get";
|
|
2262
|
+
}>;
|
|
2263
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2264
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2265
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2266
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2267
|
+
mode: z.ZodEnum<{
|
|
2268
|
+
set: "set";
|
|
2269
|
+
get: "get";
|
|
2270
|
+
}>;
|
|
2271
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2272
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2273
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2274
|
+
}, z.core.$strip>>]>>;
|
|
2156
2275
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
2157
2276
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
2158
2277
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2372,6 +2491,23 @@ declare const InitSchema$1: z.ZodObject<{
|
|
|
2372
2491
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2373
2492
|
}, z.core.$strip>>;
|
|
2374
2493
|
}, z.core.$strip>>>;
|
|
2494
|
+
state: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2495
|
+
mode: z.ZodEnum<{
|
|
2496
|
+
set: "set";
|
|
2497
|
+
get: "get";
|
|
2498
|
+
}>;
|
|
2499
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2500
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2501
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2502
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2503
|
+
mode: z.ZodEnum<{
|
|
2504
|
+
set: "set";
|
|
2505
|
+
get: "get";
|
|
2506
|
+
}>;
|
|
2507
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2509
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2510
|
+
}, z.core.$strip>>]>>>;
|
|
2375
2511
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2376
2512
|
mock: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
2377
2513
|
queueMax: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2489,6 +2625,23 @@ declare const InitDestinationsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2489
2625
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2490
2626
|
}, z.core.$strip>>;
|
|
2491
2627
|
}, z.core.$strip>>;
|
|
2628
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2629
|
+
mode: z.ZodEnum<{
|
|
2630
|
+
set: "set";
|
|
2631
|
+
get: "get";
|
|
2632
|
+
}>;
|
|
2633
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2634
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2635
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2636
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2637
|
+
mode: z.ZodEnum<{
|
|
2638
|
+
set: "set";
|
|
2639
|
+
get: "get";
|
|
2640
|
+
}>;
|
|
2641
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2642
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2643
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2644
|
+
}, z.core.$strip>>]>>;
|
|
2492
2645
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
2493
2646
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
2494
2647
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2708,6 +2861,23 @@ declare const InitDestinationsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2708
2861
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2709
2862
|
}, z.core.$strip>>;
|
|
2710
2863
|
}, z.core.$strip>>>;
|
|
2864
|
+
state: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2865
|
+
mode: z.ZodEnum<{
|
|
2866
|
+
set: "set";
|
|
2867
|
+
get: "get";
|
|
2868
|
+
}>;
|
|
2869
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2871
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2872
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2873
|
+
mode: z.ZodEnum<{
|
|
2874
|
+
set: "set";
|
|
2875
|
+
get: "get";
|
|
2876
|
+
}>;
|
|
2877
|
+
store: z.ZodOptional<z.ZodString>;
|
|
2878
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2879
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2880
|
+
}, z.core.$strip>>]>>>;
|
|
2711
2881
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2712
2882
|
mock: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
2713
2883
|
queueMax: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2824,6 +2994,23 @@ declare const DestinationsSchema$1: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2824
2994
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2825
2995
|
}, z.core.$strip>>;
|
|
2826
2996
|
}, z.core.$strip>>;
|
|
2997
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2998
|
+
mode: z.ZodEnum<{
|
|
2999
|
+
set: "set";
|
|
3000
|
+
get: "get";
|
|
3001
|
+
}>;
|
|
3002
|
+
store: z.ZodOptional<z.ZodString>;
|
|
3003
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
3004
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3005
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3006
|
+
mode: z.ZodEnum<{
|
|
3007
|
+
set: "set";
|
|
3008
|
+
get: "get";
|
|
3009
|
+
}>;
|
|
3010
|
+
store: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
3012
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3013
|
+
}, z.core.$strip>>]>>;
|
|
2827
3014
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
2828
3015
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
2829
3016
|
queueMax: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3675,6 +3862,23 @@ declare const ConfigSchema$3: z.ZodObject<{
|
|
|
3675
3862
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
3676
3863
|
ingest: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>]>>;
|
|
3677
3864
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3865
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3866
|
+
mode: z.ZodEnum<{
|
|
3867
|
+
set: "set";
|
|
3868
|
+
get: "get";
|
|
3869
|
+
}>;
|
|
3870
|
+
store: z.ZodOptional<z.ZodString>;
|
|
3871
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
3872
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3873
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3874
|
+
mode: z.ZodEnum<{
|
|
3875
|
+
set: "set";
|
|
3876
|
+
get: "get";
|
|
3877
|
+
}>;
|
|
3878
|
+
store: z.ZodOptional<z.ZodString>;
|
|
3879
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
3880
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3881
|
+
}, z.core.$strip>>]>>;
|
|
3678
3882
|
init: z.ZodOptional<z.ZodBoolean>;
|
|
3679
3883
|
}, z.core.$strip>;
|
|
3680
3884
|
/**
|
|
@@ -3776,6 +3980,23 @@ declare const PartialConfigSchema$2: z.ZodObject<{
|
|
|
3776
3980
|
setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
3777
3981
|
ingest: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>]>>>;
|
|
3778
3982
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3983
|
+
state: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3984
|
+
mode: z.ZodEnum<{
|
|
3985
|
+
set: "set";
|
|
3986
|
+
get: "get";
|
|
3987
|
+
}>;
|
|
3988
|
+
store: z.ZodOptional<z.ZodString>;
|
|
3989
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
3990
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3991
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
3992
|
+
mode: z.ZodEnum<{
|
|
3993
|
+
set: "set";
|
|
3994
|
+
get: "get";
|
|
3995
|
+
}>;
|
|
3996
|
+
store: z.ZodOptional<z.ZodString>;
|
|
3997
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
3998
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3999
|
+
}, z.core.$strip>>]>>>;
|
|
3779
4000
|
init: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3780
4001
|
}, z.core.$strip>;
|
|
3781
4002
|
/**
|
|
@@ -3893,6 +4114,23 @@ declare const InstanceSchema: z.ZodObject<{
|
|
|
3893
4114
|
setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
3894
4115
|
ingest: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>]>>;
|
|
3895
4116
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
4117
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4118
|
+
mode: z.ZodEnum<{
|
|
4119
|
+
set: "set";
|
|
4120
|
+
get: "get";
|
|
4121
|
+
}>;
|
|
4122
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4123
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4124
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4125
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4126
|
+
mode: z.ZodEnum<{
|
|
4127
|
+
set: "set";
|
|
4128
|
+
get: "get";
|
|
4129
|
+
}>;
|
|
4130
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4131
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4132
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4133
|
+
}, z.core.$strip>>]>>;
|
|
3896
4134
|
init: z.ZodOptional<z.ZodBoolean>;
|
|
3897
4135
|
}, z.core.$strip>;
|
|
3898
4136
|
push: z.ZodAny;
|
|
@@ -4019,6 +4257,23 @@ declare const InitSourceSchema: z.ZodObject<{
|
|
|
4019
4257
|
setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
4020
4258
|
ingest: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>]>>>;
|
|
4021
4259
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4260
|
+
state: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4261
|
+
mode: z.ZodEnum<{
|
|
4262
|
+
set: "set";
|
|
4263
|
+
get: "get";
|
|
4264
|
+
}>;
|
|
4265
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4266
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4267
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4268
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4269
|
+
mode: z.ZodEnum<{
|
|
4270
|
+
set: "set";
|
|
4271
|
+
get: "get";
|
|
4272
|
+
}>;
|
|
4273
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4274
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4275
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4276
|
+
}, z.core.$strip>>]>>>;
|
|
4022
4277
|
init: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4023
4278
|
}, z.core.$strip>>;
|
|
4024
4279
|
env: z.ZodOptional<z.ZodObject<{
|
|
@@ -4126,6 +4381,23 @@ declare const InitSourcesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
4126
4381
|
setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
4127
4382
|
ingest: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>]>>>;
|
|
4128
4383
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4384
|
+
state: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4385
|
+
mode: z.ZodEnum<{
|
|
4386
|
+
set: "set";
|
|
4387
|
+
get: "get";
|
|
4388
|
+
}>;
|
|
4389
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4390
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4391
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4392
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4393
|
+
mode: z.ZodEnum<{
|
|
4394
|
+
set: "set";
|
|
4395
|
+
get: "get";
|
|
4396
|
+
}>;
|
|
4397
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4398
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4399
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4400
|
+
}, z.core.$strip>>]>>>;
|
|
4129
4401
|
init: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4130
4402
|
}, z.core.$strip>>;
|
|
4131
4403
|
env: z.ZodOptional<z.ZodObject<{
|
|
@@ -4199,6 +4471,23 @@ declare const ConfigSchema$2: z.ZodObject<{
|
|
|
4199
4471
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4200
4472
|
}, z.core.$strip>>;
|
|
4201
4473
|
}, z.core.$strip>>;
|
|
4474
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4475
|
+
mode: z.ZodEnum<{
|
|
4476
|
+
set: "set";
|
|
4477
|
+
get: "get";
|
|
4478
|
+
}>;
|
|
4479
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4480
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4481
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4482
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4483
|
+
mode: z.ZodEnum<{
|
|
4484
|
+
set: "set";
|
|
4485
|
+
get: "get";
|
|
4486
|
+
}>;
|
|
4487
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4488
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4489
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4490
|
+
}, z.core.$strip>>]>>;
|
|
4202
4491
|
init: z.ZodOptional<z.ZodBoolean>;
|
|
4203
4492
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
4204
4493
|
mock: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -4304,6 +4593,23 @@ declare const PartialConfigSchema$1: z.ZodObject<{
|
|
|
4304
4593
|
update: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4305
4594
|
}, z.core.$strip>>;
|
|
4306
4595
|
}, z.core.$strip>>>;
|
|
4596
|
+
state: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4597
|
+
mode: z.ZodEnum<{
|
|
4598
|
+
set: "set";
|
|
4599
|
+
get: "get";
|
|
4600
|
+
}>;
|
|
4601
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4602
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4603
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4604
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
4605
|
+
mode: z.ZodEnum<{
|
|
4606
|
+
set: "set";
|
|
4607
|
+
get: "get";
|
|
4608
|
+
}>;
|
|
4609
|
+
store: z.ZodOptional<z.ZodString>;
|
|
4610
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
4611
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4612
|
+
}, z.core.$strip>>]>>>;
|
|
4307
4613
|
init: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4308
4614
|
disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4309
4615
|
mock: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
@@ -6243,6 +6549,31 @@ declare namespace cache {
|
|
|
6243
6549
|
export { cache_CacheRuleSchema as CacheRuleSchema, cache_CacheSchema as CacheSchema, cache_EventCacheRuleSchema as EventCacheRuleSchema, cache_EventCacheSchema as EventCacheSchema, cache_StoreCacheRuleSchema as StoreCacheRuleSchema, cache_StoreCacheSchema as StoreCacheSchema };
|
|
6244
6550
|
}
|
|
6245
6551
|
|
|
6552
|
+
/**
|
|
6553
|
+
* StateSchema — declarative store get/set operation.
|
|
6554
|
+
*
|
|
6555
|
+
* Mirrors: types/state.ts → State
|
|
6556
|
+
*
|
|
6557
|
+
* - mode: 'get' | 'set' direction ('delete' is reserved for a later release).
|
|
6558
|
+
* - store: optional store id; defaults to the in-memory `__cache` store.
|
|
6559
|
+
* - key: Mapping.Value resolving (against the event) to the store key.
|
|
6560
|
+
* - value: Mapping.Value. For `set` it resolves to the payload to store; for
|
|
6561
|
+
* `get` its bare-string path (or `.key`) is the event write-target. Optional
|
|
6562
|
+
* at the type level (to keep a future `delete` mode non-breaking) but
|
|
6563
|
+
* validation requires it for `get`/`set`, and for `get` it must be a bare
|
|
6564
|
+
* string or a ValueConfig with a `key` (no `value`/`fn`/`map`/`loop`/`set`,
|
|
6565
|
+
* and no `*` wildcard in the path).
|
|
6566
|
+
*/
|
|
6567
|
+
declare const StateSchema: z.ZodObject<{
|
|
6568
|
+
mode: z.ZodEnum<{
|
|
6569
|
+
set: "set";
|
|
6570
|
+
get: "get";
|
|
6571
|
+
}>;
|
|
6572
|
+
store: z.ZodOptional<z.ZodString>;
|
|
6573
|
+
key: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
6574
|
+
value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
6575
|
+
}, z.core.$strip>;
|
|
6576
|
+
|
|
6246
6577
|
declare const MatchExpressionSchema: z.ZodType;
|
|
6247
6578
|
declare const RouteSchema: z.ZodType;
|
|
6248
6579
|
declare const RouteWithoutManySchema: z.ZodType;
|
|
@@ -6618,6 +6949,7 @@ declare const index_RuntimeInstanceConfig: typeof RuntimeInstanceConfig;
|
|
|
6618
6949
|
declare const index_SetSchema: typeof SetSchema;
|
|
6619
6950
|
declare const index_SourceTypeSchema: typeof SourceTypeSchema;
|
|
6620
6951
|
declare const index_SourcesMapConfig: typeof SourcesMapConfig;
|
|
6952
|
+
declare const index_StateSchema: typeof StateSchema;
|
|
6621
6953
|
declare const index_StoreCacheRuleSchema: typeof StoreCacheRuleSchema;
|
|
6622
6954
|
declare const index_StoreCacheSchema: typeof StoreCacheSchema;
|
|
6623
6955
|
declare const index_Timestamp: typeof Timestamp;
|
|
@@ -6673,7 +7005,7 @@ declare const index_valueJsonSchema: typeof valueJsonSchema;
|
|
|
6673
7005
|
declare const index_z: typeof z;
|
|
6674
7006
|
declare const index_zodToSchema: typeof zodToSchema;
|
|
6675
7007
|
declare namespace index {
|
|
6676
|
-
export { index_BaseContextConfig as BaseContextConfig, index_CacheRuleSchema as CacheRuleSchema, index_CacheSchema as CacheSchema, cache as CacheSchemas, index_ClickIdEntrySchema as ClickIdEntrySchema, index_CodeSchema as CodeSchema, collector as CollectorSchemas, index_ConsentSchema as ConsentSchema, index_ContractActionsSchema as ContractActionsSchema, index_ContractRuleSchema as ContractRuleSchema, index_ContractSchema as ContractSchema, index_ContractSchemaEntry as ContractSchemaEntry, index_Counter as Counter, index_DeepPartialEventSchema as DeepPartialEventSchema, destination as DestinationSchemas, index_DestinationsMapConfig as DestinationsMapConfig, index_EntitiesSchema as EntitiesSchema, index_EntitySchema as EntitySchema, index_EventCacheRuleSchema as EventCacheRuleSchema, index_EventCacheSchema as EventCacheSchema, index_EventSchema as EventSchema, BundlePackageSchema as FlowBundlePackageSchema, BundleSchema as FlowBundleSchema, CodeSchema$1 as FlowCodeSchema, ConfigSchema as FlowConfigSchema, DestinationSchema as FlowDestinationSchema, JsonSchema$1 as FlowJsonSchema, index_FlowSchema as FlowSchema, flow as FlowSchemas, SourceSchema as FlowSourceSchema, StoreSchema as FlowStoreSchema, TransformerSchema as FlowTransformerSchema, index_GenericEnvConfig as GenericEnvConfig, index_GenericSettingsConfig as GenericSettingsConfig, index_HandlersConfig as HandlersConfig, index_HintSchema as HintSchema, index_HintsSchema as HintsSchema, index_IdConfig as IdConfig, index_Identifier as Identifier, InitConfig$1 as InitConfig, type index_IntelliSenseContext as IntelliSenseContext, type index_JSONSchema as JSONSchema, index_LoggerConfigSchema as LoggerConfigSchema, index_LoggerHandlerSchema as LoggerHandlerSchema, index_LoopSchema as LoopSchema, index_MapSchema as MapSchema, ResultSchema$1 as MappingResultSchema, mapping as MappingSchemas, index_MatchExpressionSchema as MatchExpressionSchema, matcher as MatcherSchemas, index_OptionalPrimitiveValue as OptionalPrimitiveValue, index_OrderedPropertiesSchema as OrderedPropertiesSchema, type index_PackageInfo as PackageInfo, index_PartialEventSchema as PartialEventSchema, index_PolicySchema as PolicySchema, index_PrimaryConfig as PrimaryConfig, index_PrimitiveValue as PrimitiveValue, index_ProcessingControlConfig as ProcessingControlConfig, index_PropertiesSchema as PropertiesSchema, type index_PropertyDef as PropertyDef, index_PropertySchema as PropertySchema, index_PropertyTypeSchema as PropertyTypeSchema, index_QueueConfig as QueueConfig, index_RequiredBoolean as RequiredBoolean, index_RequiredNumber as RequiredNumber, index_RequiredString as RequiredString, index_RouteSchema as RouteSchema, index_RouteWithoutManySchema as RouteWithoutManySchema, index_RuleSchema as RuleSchema, index_RulesSchema as RulesSchema, index_RuntimeInstanceConfig as RuntimeInstanceConfig, index_SetSchema as SetSchema, SourceSchema$1 as SourceSchema, source as SourceSchemas, index_SourceTypeSchema as SourceTypeSchema, index_SourcesMapConfig as SourcesMapConfig, index_StoreCacheRuleSchema as StoreCacheRuleSchema, index_StoreCacheSchema as StoreCacheSchema, store as StoreSchemas, index_Timestamp as Timestamp, transformer as TransformerSchemas, index_UserSchema as UserSchema, utilities as UtilitySchemas, index_ValidateEventsSchema as ValidateEventsSchema, index_ValidateSchema as ValidateSchema, type index_ValidationIssue as ValidationIssue, type index_ValidationResult as ValidationResult, index_ValueConfigSchema as ValueConfigSchema, index_ValueSchema as ValueSchema, index_ValuesSchema as ValuesSchema, index_VerboseConfig as VerboseConfig, walkeros as WalkerOSSchemas, index_configJsonSchema as configJsonSchema, index_consentJsonSchema as consentJsonSchema, index_contractJsonSchema as contractJsonSchema, index_contractRuleJsonSchema as contractRuleJsonSchema, index_createArraySchema as createArraySchema, index_createConsentConfig as createConsentConfig, index_createDataTransformationConfig as createDataTransformationConfig, index_createEnumSchema as createEnumSchema, index_createMappingRulesConfig as createMappingRulesConfig, index_createObjectSchema as createObjectSchema, index_createPolicyConfig as createPolicyConfig, index_createTupleSchema as createTupleSchema, index_destinationJsonSchema as destinationJsonSchema, index_entityJsonSchema as entityJsonSchema, index_eventJsonSchema as eventJsonSchema, index_flowConfigJsonSchema as flowConfigJsonSchema, index_flowJsonSchema as flowJsonSchema, index_loopJsonSchema as loopJsonSchema, index_mapJsonSchema as mapJsonSchema, index_orderedPropertiesJsonSchema as orderedPropertiesJsonSchema, index_parseConfig as parseConfig, index_parseFlow as parseFlow, index_partialEventJsonSchema as partialEventJsonSchema, index_policyJsonSchema as policyJsonSchema, index_propertiesJsonSchema as propertiesJsonSchema, index_ruleJsonSchema as ruleJsonSchema, index_rulesJsonSchema as rulesJsonSchema, index_safeParseConfig as safeParseConfig, index_safeParseFlow as safeParseFlow, index_setJsonSchema as setJsonSchema, index_sourceJsonSchema as sourceJsonSchema, index_sourceTypeJsonSchema as sourceTypeJsonSchema, index_storeJsonSchema as storeJsonSchema, index_transformerJsonSchema as transformerJsonSchema, index_userJsonSchema as userJsonSchema, index_validateEventsJsonSchema as validateEventsJsonSchema, index_validateFlowConfig as validateFlowConfig, index_validateJsonSchema as validateJsonSchema, index_valueConfigJsonSchema as valueConfigJsonSchema, index_valueJsonSchema as valueJsonSchema, index_z as z, index_zodToSchema as zodToSchema };
|
|
7008
|
+
export { index_BaseContextConfig as BaseContextConfig, index_CacheRuleSchema as CacheRuleSchema, index_CacheSchema as CacheSchema, cache as CacheSchemas, index_ClickIdEntrySchema as ClickIdEntrySchema, index_CodeSchema as CodeSchema, collector as CollectorSchemas, index_ConsentSchema as ConsentSchema, index_ContractActionsSchema as ContractActionsSchema, index_ContractRuleSchema as ContractRuleSchema, index_ContractSchema as ContractSchema, index_ContractSchemaEntry as ContractSchemaEntry, index_Counter as Counter, index_DeepPartialEventSchema as DeepPartialEventSchema, destination as DestinationSchemas, index_DestinationsMapConfig as DestinationsMapConfig, index_EntitiesSchema as EntitiesSchema, index_EntitySchema as EntitySchema, index_EventCacheRuleSchema as EventCacheRuleSchema, index_EventCacheSchema as EventCacheSchema, index_EventSchema as EventSchema, BundlePackageSchema as FlowBundlePackageSchema, BundleSchema as FlowBundleSchema, CodeSchema$1 as FlowCodeSchema, ConfigSchema as FlowConfigSchema, DestinationSchema as FlowDestinationSchema, JsonSchema$1 as FlowJsonSchema, index_FlowSchema as FlowSchema, flow as FlowSchemas, SourceSchema as FlowSourceSchema, StoreSchema as FlowStoreSchema, TransformerSchema as FlowTransformerSchema, index_GenericEnvConfig as GenericEnvConfig, index_GenericSettingsConfig as GenericSettingsConfig, index_HandlersConfig as HandlersConfig, index_HintSchema as HintSchema, index_HintsSchema as HintsSchema, index_IdConfig as IdConfig, index_Identifier as Identifier, InitConfig$1 as InitConfig, type index_IntelliSenseContext as IntelliSenseContext, type index_JSONSchema as JSONSchema, index_LoggerConfigSchema as LoggerConfigSchema, index_LoggerHandlerSchema as LoggerHandlerSchema, index_LoopSchema as LoopSchema, index_MapSchema as MapSchema, ResultSchema$1 as MappingResultSchema, mapping as MappingSchemas, index_MatchExpressionSchema as MatchExpressionSchema, matcher as MatcherSchemas, index_OptionalPrimitiveValue as OptionalPrimitiveValue, index_OrderedPropertiesSchema as OrderedPropertiesSchema, type index_PackageInfo as PackageInfo, index_PartialEventSchema as PartialEventSchema, index_PolicySchema as PolicySchema, index_PrimaryConfig as PrimaryConfig, index_PrimitiveValue as PrimitiveValue, index_ProcessingControlConfig as ProcessingControlConfig, index_PropertiesSchema as PropertiesSchema, type index_PropertyDef as PropertyDef, index_PropertySchema as PropertySchema, index_PropertyTypeSchema as PropertyTypeSchema, index_QueueConfig as QueueConfig, index_RequiredBoolean as RequiredBoolean, index_RequiredNumber as RequiredNumber, index_RequiredString as RequiredString, index_RouteSchema as RouteSchema, index_RouteWithoutManySchema as RouteWithoutManySchema, index_RuleSchema as RuleSchema, index_RulesSchema as RulesSchema, index_RuntimeInstanceConfig as RuntimeInstanceConfig, index_SetSchema as SetSchema, SourceSchema$1 as SourceSchema, source as SourceSchemas, index_SourceTypeSchema as SourceTypeSchema, index_SourcesMapConfig as SourcesMapConfig, index_StateSchema as StateSchema, index_StoreCacheRuleSchema as StoreCacheRuleSchema, index_StoreCacheSchema as StoreCacheSchema, store as StoreSchemas, index_Timestamp as Timestamp, transformer as TransformerSchemas, index_UserSchema as UserSchema, utilities as UtilitySchemas, index_ValidateEventsSchema as ValidateEventsSchema, index_ValidateSchema as ValidateSchema, type index_ValidationIssue as ValidationIssue, type index_ValidationResult as ValidationResult, index_ValueConfigSchema as ValueConfigSchema, index_ValueSchema as ValueSchema, index_ValuesSchema as ValuesSchema, index_VerboseConfig as VerboseConfig, walkeros as WalkerOSSchemas, index_configJsonSchema as configJsonSchema, index_consentJsonSchema as consentJsonSchema, index_contractJsonSchema as contractJsonSchema, index_contractRuleJsonSchema as contractRuleJsonSchema, index_createArraySchema as createArraySchema, index_createConsentConfig as createConsentConfig, index_createDataTransformationConfig as createDataTransformationConfig, index_createEnumSchema as createEnumSchema, index_createMappingRulesConfig as createMappingRulesConfig, index_createObjectSchema as createObjectSchema, index_createPolicyConfig as createPolicyConfig, index_createTupleSchema as createTupleSchema, index_destinationJsonSchema as destinationJsonSchema, index_entityJsonSchema as entityJsonSchema, index_eventJsonSchema as eventJsonSchema, index_flowConfigJsonSchema as flowConfigJsonSchema, index_flowJsonSchema as flowJsonSchema, index_loopJsonSchema as loopJsonSchema, index_mapJsonSchema as mapJsonSchema, index_orderedPropertiesJsonSchema as orderedPropertiesJsonSchema, index_parseConfig as parseConfig, index_parseFlow as parseFlow, index_partialEventJsonSchema as partialEventJsonSchema, index_policyJsonSchema as policyJsonSchema, index_propertiesJsonSchema as propertiesJsonSchema, index_ruleJsonSchema as ruleJsonSchema, index_rulesJsonSchema as rulesJsonSchema, index_safeParseConfig as safeParseConfig, index_safeParseFlow as safeParseFlow, index_setJsonSchema as setJsonSchema, index_sourceJsonSchema as sourceJsonSchema, index_sourceTypeJsonSchema as sourceTypeJsonSchema, index_storeJsonSchema as storeJsonSchema, index_transformerJsonSchema as transformerJsonSchema, index_userJsonSchema as userJsonSchema, index_validateEventsJsonSchema as validateEventsJsonSchema, index_validateFlowConfig as validateFlowConfig, index_validateJsonSchema as validateJsonSchema, index_valueConfigJsonSchema as valueConfigJsonSchema, index_valueJsonSchema as valueJsonSchema, index_z as z, index_zodToSchema as zodToSchema };
|
|
6677
7009
|
}
|
|
6678
7010
|
|
|
6679
7011
|
type PackageType = 'source' | 'destination' | 'transformer' | 'store';
|
|
@@ -7165,6 +7497,26 @@ interface Validate {
|
|
|
7165
7497
|
schema?: JsonSchema;
|
|
7166
7498
|
}
|
|
7167
7499
|
|
|
7500
|
+
/**
|
|
7501
|
+
* Declarative store operation. Replaces `$code:` for simple fetch/stash.
|
|
7502
|
+
* key = store side, value = event side, mode = direction.
|
|
7503
|
+
*/
|
|
7504
|
+
interface State {
|
|
7505
|
+
/** Direction. 'delete' is reserved for a later release. */
|
|
7506
|
+
mode: 'get' | 'set';
|
|
7507
|
+
/** Store id; defaults to the in-memory `__cache` store when omitted. */
|
|
7508
|
+
store?: string;
|
|
7509
|
+
/** Resolves against the event to the store key. */
|
|
7510
|
+
key: Value;
|
|
7511
|
+
/**
|
|
7512
|
+
* set: resolves to the payload to store.
|
|
7513
|
+
* get: its `key`/bare-string path is the event write-target.
|
|
7514
|
+
* Optional at the type level to keep a future `delete` mode non-breaking;
|
|
7515
|
+
* validation requires it for get/set.
|
|
7516
|
+
*/
|
|
7517
|
+
value?: Value;
|
|
7518
|
+
}
|
|
7519
|
+
|
|
7168
7520
|
/**
|
|
7169
7521
|
* Shared context for one-shot lifecycle hooks (setup, destroy).
|
|
7170
7522
|
* No event pipeline machinery — just config, env, logger, and id.
|
|
@@ -7281,6 +7633,8 @@ interface Config$5<T extends TypesGeneric$3 = Types$4> {
|
|
|
7281
7633
|
next?: Route;
|
|
7282
7634
|
/** Cache configuration for deduplication (step-level: skip push on HIT). */
|
|
7283
7635
|
cache?: Cache;
|
|
7636
|
+
/** Declarative store get/set operations applied around this destination. */
|
|
7637
|
+
state?: State | State[];
|
|
7284
7638
|
/** Completely skip this destination — no init, no push, no queuing. */
|
|
7285
7639
|
disabled?: boolean;
|
|
7286
7640
|
/** Return this value instead of calling push(). Uses !== undefined check to support falsy values. */
|
|
@@ -7330,6 +7684,7 @@ type Init$3<T extends TypesGeneric$3 = Types$4> = {
|
|
|
7330
7684
|
before?: Route;
|
|
7331
7685
|
next?: Route;
|
|
7332
7686
|
cache?: Cache;
|
|
7687
|
+
state?: State | State[];
|
|
7333
7688
|
validate?: Validate;
|
|
7334
7689
|
};
|
|
7335
7690
|
interface InitDestinations {
|
|
@@ -7684,6 +8039,8 @@ interface Config$2<T extends TypesGeneric$2 = Types$2> {
|
|
|
7684
8039
|
before?: Route;
|
|
7685
8040
|
next?: Route;
|
|
7686
8041
|
cache?: Cache;
|
|
8042
|
+
/** Declarative store get/set operations applied around this transformer. */
|
|
8043
|
+
state?: State | State[];
|
|
7687
8044
|
init?: boolean;
|
|
7688
8045
|
disabled?: boolean;
|
|
7689
8046
|
/** Return this value instead of calling push(). Global mock for all chains. */
|
|
@@ -7780,7 +8137,7 @@ type InitTransformer<T extends TypesGeneric$2 = Types$2> = {
|
|
|
7780
8137
|
* `cache` chain.
|
|
7781
8138
|
*
|
|
7782
8139
|
* Validation: an entry without `code` must declare at least one of
|
|
7783
|
-
* `package`, `before`, `next`, `cache`, `mapping`. Enforced by
|
|
8140
|
+
* `package`, `before`, `next`, `cache`, `state`, `mapping`. Enforced by
|
|
7784
8141
|
* `validateStepEntry` in `@walkeros/core`.
|
|
7785
8142
|
*/
|
|
7786
8143
|
code?: Init$2<T>;
|
|
@@ -7789,6 +8146,7 @@ type InitTransformer<T extends TypesGeneric$2 = Types$2> = {
|
|
|
7789
8146
|
before?: Route;
|
|
7790
8147
|
next?: Route;
|
|
7791
8148
|
cache?: Cache;
|
|
8149
|
+
state?: State | State[];
|
|
7792
8150
|
mapping?: Config$7;
|
|
7793
8151
|
validate?: Validate;
|
|
7794
8152
|
};
|
|
@@ -7889,6 +8247,8 @@ interface Config$1<T extends TypesGeneric$1 = Types$1> extends Config$7<Mapping<
|
|
|
7889
8247
|
* `config.init === true` and `config.require` is empty/absent, then replayed.
|
|
7890
8248
|
*/
|
|
7891
8249
|
init?: boolean;
|
|
8250
|
+
/** Declarative store get/set operations applied around this source. */
|
|
8251
|
+
state?: State | State[];
|
|
7892
8252
|
}
|
|
7893
8253
|
interface Instance$1<T extends TypesGeneric$1 = Types$1> {
|
|
7894
8254
|
type: string;
|
|
@@ -7975,6 +8335,7 @@ type InitSource<T extends TypesGeneric$1 = Types$1> = {
|
|
|
7975
8335
|
next?: Route;
|
|
7976
8336
|
before?: Route;
|
|
7977
8337
|
cache?: Cache;
|
|
8338
|
+
state?: State | State[];
|
|
7978
8339
|
validate?: Validate;
|
|
7979
8340
|
};
|
|
7980
8341
|
/**
|