@cat-factory/contracts 0.104.0 → 0.106.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/dist/bootstrap.d.ts +2 -0
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/entities.d.ts +120 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +38 -0
- package/dist/entities.js.map +1 -1
- package/dist/env-config-repair.d.ts +1 -0
- package/dist/env-config-repair.d.ts.map +1 -1
- package/dist/environments.d.ts +36 -0
- package/dist/environments.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/observability.d.ts +18 -0
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +25 -0
- package/dist/observability.js.map +1 -1
- package/dist/preflights.d.ts +107 -0
- package/dist/preflights.d.ts.map +1 -0
- package/dist/preflights.js +114 -0
- package/dist/preflights.js.map +1 -0
- package/dist/requests.d.ts +130 -4
- package/dist/requests.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +52 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/board.d.ts +310 -4
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/bootstrap.d.ts +3 -0
- package/dist/routes/bootstrap.d.ts.map +1 -1
- package/dist/routes/environments.d.ts +18 -0
- package/dist/routes/environments.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +274 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/execution.js +14 -1
- package/dist/routes/execution.js.map +1 -1
- package/dist/routes/human-review.d.ts +24 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +120 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/initiative.d.ts +18 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/preflights.d.ts +63 -0
- package/dist/routes/preflights.d.ts.map +1 -0
- package/dist/routes/preflights.js +27 -0
- package/dist/routes/preflights.js.map +1 -0
- package/dist/routes/tasks.d.ts +54 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +72 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +88 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +44 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/stack-recipes.d.ts +24 -0
- package/dist/stack-recipes.d.ts.map +1 -1
- package/dist/stack-recipes.js +8 -0
- package/dist/stack-recipes.js.map +1 -1
- package/package.json +1 -1
package/dist/requests.d.ts
CHANGED
|
@@ -170,6 +170,24 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
170
170
|
}, undefined>, undefined>, undefined>;
|
|
171
171
|
readonly externalNetworks: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
172
172
|
readonly sharedStackRefs: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
173
|
+
readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
174
|
+
readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
|
|
175
|
+
readonly params: v.OptionalSchema<v.ObjectSchema<{
|
|
176
|
+
readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
|
|
177
|
+
readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
178
|
+
readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
179
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
180
|
+
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
181
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
182
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
183
|
+
readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
|
|
184
|
+
readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
185
|
+
readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
186
|
+
}, undefined>, undefined>;
|
|
187
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
188
|
+
readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
189
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
190
|
+
}, undefined>, undefined>, undefined>;
|
|
173
191
|
readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
174
192
|
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
175
193
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
@@ -435,6 +453,24 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
435
453
|
}, undefined>, undefined>, undefined>;
|
|
436
454
|
readonly externalNetworks: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
437
455
|
readonly sharedStackRefs: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
456
|
+
readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
457
|
+
readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
|
|
458
|
+
readonly params: v.OptionalSchema<v.ObjectSchema<{
|
|
459
|
+
readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
|
|
460
|
+
readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
461
|
+
readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
462
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
463
|
+
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
464
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
465
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
466
|
+
readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
|
|
467
|
+
readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
468
|
+
readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
469
|
+
}, undefined>, undefined>;
|
|
470
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
471
|
+
readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
472
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
473
|
+
}, undefined>, undefined>, undefined>;
|
|
438
474
|
readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
439
475
|
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
440
476
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
@@ -702,6 +738,24 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
702
738
|
}[] | undefined;
|
|
703
739
|
externalNetworks?: string[] | undefined;
|
|
704
740
|
sharedStackRefs?: string[] | undefined;
|
|
741
|
+
prerequisites?: {
|
|
742
|
+
check: "disk-space" | "docker-daemon" | "env-secrets-marker" | "hosts-entries" | "http-reachable" | "memory" | "mkcert-ca" | "registry-auth" | "tcp-reachable";
|
|
743
|
+
params?: {
|
|
744
|
+
minGib?: number | undefined;
|
|
745
|
+
registry?: string | undefined;
|
|
746
|
+
host?: string | undefined;
|
|
747
|
+
port?: number | undefined;
|
|
748
|
+
url?: string | undefined;
|
|
749
|
+
expectStatus?: number | undefined;
|
|
750
|
+
expectBodyContains?: string | undefined;
|
|
751
|
+
hostnames?: string[] | undefined;
|
|
752
|
+
file?: string | undefined;
|
|
753
|
+
marker?: string | undefined;
|
|
754
|
+
} | undefined;
|
|
755
|
+
required?: boolean | undefined;
|
|
756
|
+
remediation?: string | undefined;
|
|
757
|
+
label?: string | undefined;
|
|
758
|
+
}[] | undefined;
|
|
705
759
|
setupSteps?: ({
|
|
706
760
|
kind: "compose-exec";
|
|
707
761
|
name: string;
|
|
@@ -939,6 +993,24 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
939
993
|
}[] | undefined;
|
|
940
994
|
externalNetworks?: string[] | undefined;
|
|
941
995
|
sharedStackRefs?: string[] | undefined;
|
|
996
|
+
prerequisites?: {
|
|
997
|
+
check: "disk-space" | "docker-daemon" | "env-secrets-marker" | "hosts-entries" | "http-reachable" | "memory" | "mkcert-ca" | "registry-auth" | "tcp-reachable";
|
|
998
|
+
params?: {
|
|
999
|
+
minGib?: number | undefined;
|
|
1000
|
+
registry?: string | undefined;
|
|
1001
|
+
host?: string | undefined;
|
|
1002
|
+
port?: number | undefined;
|
|
1003
|
+
url?: string | undefined;
|
|
1004
|
+
expectStatus?: number | undefined;
|
|
1005
|
+
expectBodyContains?: string | undefined;
|
|
1006
|
+
hostnames?: string[] | undefined;
|
|
1007
|
+
file?: string | undefined;
|
|
1008
|
+
marker?: string | undefined;
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
required?: boolean | undefined;
|
|
1011
|
+
remediation?: string | undefined;
|
|
1012
|
+
label?: string | undefined;
|
|
1013
|
+
}[] | undefined;
|
|
942
1014
|
setupSteps?: ({
|
|
943
1015
|
kind: "compose-exec";
|
|
944
1016
|
name: string;
|
|
@@ -1177,6 +1249,24 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
1177
1249
|
}[] | undefined;
|
|
1178
1250
|
externalNetworks?: string[] | undefined;
|
|
1179
1251
|
sharedStackRefs?: string[] | undefined;
|
|
1252
|
+
prerequisites?: {
|
|
1253
|
+
check: "disk-space" | "docker-daemon" | "env-secrets-marker" | "hosts-entries" | "http-reachable" | "memory" | "mkcert-ca" | "registry-auth" | "tcp-reachable";
|
|
1254
|
+
params?: {
|
|
1255
|
+
minGib?: number | undefined;
|
|
1256
|
+
registry?: string | undefined;
|
|
1257
|
+
host?: string | undefined;
|
|
1258
|
+
port?: number | undefined;
|
|
1259
|
+
url?: string | undefined;
|
|
1260
|
+
expectStatus?: number | undefined;
|
|
1261
|
+
expectBodyContains?: string | undefined;
|
|
1262
|
+
hostnames?: string[] | undefined;
|
|
1263
|
+
file?: string | undefined;
|
|
1264
|
+
marker?: string | undefined;
|
|
1265
|
+
} | undefined;
|
|
1266
|
+
required?: boolean | undefined;
|
|
1267
|
+
remediation?: string | undefined;
|
|
1268
|
+
label?: string | undefined;
|
|
1269
|
+
}[] | undefined;
|
|
1180
1270
|
setupSteps?: ({
|
|
1181
1271
|
kind: "compose-exec";
|
|
1182
1272
|
name: string;
|
|
@@ -1379,7 +1469,7 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
1379
1469
|
key: string;
|
|
1380
1470
|
} | undefined;
|
|
1381
1471
|
valueTemplate?: string | undefined;
|
|
1382
|
-
}> | v.IntegerIssue<number> | v.LiteralIssue | v.MaxLengthIssue<string, 64> | v.MaxLengthIssue<string, 120> | v.MaxLengthIssue<string, 200> | v.MaxLengthIssue<string, 256> | v.MaxLengthIssue<string, 300> | v.MaxLengthIssue<string, 400> | v.MaxLengthIssue<string, 500> | v.MaxLengthIssue<string, 2000> | v.MaxLengthIssue<string[], 50> | v.MaxLengthIssue<{
|
|
1472
|
+
}> | v.IntegerIssue<number> | v.LiteralIssue | v.MaxLengthIssue<string, 64> | v.MaxLengthIssue<string, 120> | v.MaxLengthIssue<string, 200> | v.MaxLengthIssue<string, 256> | v.MaxLengthIssue<string, 300> | v.MaxLengthIssue<string, 400> | v.MaxLengthIssue<string, 500> | v.MaxLengthIssue<string, 2000> | v.MaxLengthIssue<string, 4000> | v.MaxLengthIssue<string[], 50> | v.MaxLengthIssue<{
|
|
1383
1473
|
serviceBlockId: string;
|
|
1384
1474
|
description?: string | undefined;
|
|
1385
1475
|
}[], 50> | v.MaxLengthIssue<{
|
|
@@ -1388,7 +1478,7 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
1388
1478
|
name: string;
|
|
1389
1479
|
defaultBranch: string;
|
|
1390
1480
|
connectionId?: number | undefined;
|
|
1391
|
-
}[], 20> | v.MaxValueIssue<number, 599> | v.MaxValueIssue<number, 60000> | v.MaxValueIssue<number, 65535> | v.MaxValueIssue<number, 3600000> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string[], 1> | v.MinValueIssue<number, 1> | v.MinValueIssue<number, 100> | v.MinValueIssue<number, 250> | v.MinValueIssue<number, 1000> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue>;
|
|
1481
|
+
}[], 20> | v.MaxValueIssue<number, 599> | v.MaxValueIssue<number, 1024> | v.MaxValueIssue<number, 60000> | v.MaxValueIssue<number, 65535> | v.MaxValueIssue<number, 3600000> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string[], 1> | v.MinValueIssue<number, 0> | v.MinValueIssue<number, 1> | v.MinValueIssue<number, 100> | v.MinValueIssue<number, 250> | v.MinValueIssue<number, 1000> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue>;
|
|
1392
1482
|
readonly "~types"?: {
|
|
1393
1483
|
readonly input: {
|
|
1394
1484
|
title?: string | undefined;
|
|
@@ -1436,6 +1526,24 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
1436
1526
|
}[] | undefined;
|
|
1437
1527
|
externalNetworks?: string[] | undefined;
|
|
1438
1528
|
sharedStackRefs?: string[] | undefined;
|
|
1529
|
+
prerequisites?: {
|
|
1530
|
+
check: "disk-space" | "docker-daemon" | "env-secrets-marker" | "hosts-entries" | "http-reachable" | "memory" | "mkcert-ca" | "registry-auth" | "tcp-reachable";
|
|
1531
|
+
params?: {
|
|
1532
|
+
minGib?: number | undefined;
|
|
1533
|
+
registry?: string | undefined;
|
|
1534
|
+
host?: string | undefined;
|
|
1535
|
+
port?: number | undefined;
|
|
1536
|
+
url?: string | undefined;
|
|
1537
|
+
expectStatus?: number | undefined;
|
|
1538
|
+
expectBodyContains?: string | undefined;
|
|
1539
|
+
hostnames?: string[] | undefined;
|
|
1540
|
+
file?: string | undefined;
|
|
1541
|
+
marker?: string | undefined;
|
|
1542
|
+
} | undefined;
|
|
1543
|
+
required?: boolean | undefined;
|
|
1544
|
+
remediation?: string | undefined;
|
|
1545
|
+
label?: string | undefined;
|
|
1546
|
+
}[] | undefined;
|
|
1439
1547
|
setupSteps?: ({
|
|
1440
1548
|
kind: "compose-exec";
|
|
1441
1549
|
name: string;
|
|
@@ -1674,6 +1782,24 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
1674
1782
|
}[] | undefined;
|
|
1675
1783
|
externalNetworks?: string[] | undefined;
|
|
1676
1784
|
sharedStackRefs?: string[] | undefined;
|
|
1785
|
+
prerequisites?: {
|
|
1786
|
+
check: "disk-space" | "docker-daemon" | "env-secrets-marker" | "hosts-entries" | "http-reachable" | "memory" | "mkcert-ca" | "registry-auth" | "tcp-reachable";
|
|
1787
|
+
params?: {
|
|
1788
|
+
minGib?: number | undefined;
|
|
1789
|
+
registry?: string | undefined;
|
|
1790
|
+
host?: string | undefined;
|
|
1791
|
+
port?: number | undefined;
|
|
1792
|
+
url?: string | undefined;
|
|
1793
|
+
expectStatus?: number | undefined;
|
|
1794
|
+
expectBodyContains?: string | undefined;
|
|
1795
|
+
hostnames?: string[] | undefined;
|
|
1796
|
+
file?: string | undefined;
|
|
1797
|
+
marker?: string | undefined;
|
|
1798
|
+
} | undefined;
|
|
1799
|
+
required?: boolean | undefined;
|
|
1800
|
+
remediation?: string | undefined;
|
|
1801
|
+
label?: string | undefined;
|
|
1802
|
+
}[] | undefined;
|
|
1677
1803
|
setupSteps?: ({
|
|
1678
1804
|
kind: "compose-exec";
|
|
1679
1805
|
name: string;
|
|
@@ -1877,7 +2003,7 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
1877
2003
|
key: string;
|
|
1878
2004
|
} | undefined;
|
|
1879
2005
|
valueTemplate?: string | undefined;
|
|
1880
|
-
}> | v.IntegerIssue<number> | v.LiteralIssue | v.MaxLengthIssue<string, 64> | v.MaxLengthIssue<string, 120> | v.MaxLengthIssue<string, 200> | v.MaxLengthIssue<string, 256> | v.MaxLengthIssue<string, 300> | v.MaxLengthIssue<string, 400> | v.MaxLengthIssue<string, 500> | v.MaxLengthIssue<string, 2000> | v.MaxLengthIssue<string[], 50> | v.MaxLengthIssue<{
|
|
2006
|
+
}> | v.IntegerIssue<number> | v.LiteralIssue | v.MaxLengthIssue<string, 64> | v.MaxLengthIssue<string, 120> | v.MaxLengthIssue<string, 200> | v.MaxLengthIssue<string, 256> | v.MaxLengthIssue<string, 300> | v.MaxLengthIssue<string, 400> | v.MaxLengthIssue<string, 500> | v.MaxLengthIssue<string, 2000> | v.MaxLengthIssue<string, 4000> | v.MaxLengthIssue<string[], 50> | v.MaxLengthIssue<{
|
|
1881
2007
|
serviceBlockId: string;
|
|
1882
2008
|
description?: string | undefined;
|
|
1883
2009
|
}[], 50> | v.MaxLengthIssue<{
|
|
@@ -1886,7 +2012,7 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
|
|
|
1886
2012
|
name: string;
|
|
1887
2013
|
defaultBranch: string;
|
|
1888
2014
|
connectionId?: number | undefined;
|
|
1889
|
-
}[], 20> | v.MaxValueIssue<number, 599> | v.MaxValueIssue<number, 60000> | v.MaxValueIssue<number, 65535> | v.MaxValueIssue<number, 3600000> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string[], 1> | v.MinValueIssue<number, 1> | v.MinValueIssue<number, 100> | v.MinValueIssue<number, 250> | v.MinValueIssue<number, 1000> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue;
|
|
2015
|
+
}[], 20> | v.MaxValueIssue<number, 599> | v.MaxValueIssue<number, 1024> | v.MaxValueIssue<number, 60000> | v.MaxValueIssue<number, 65535> | v.MaxValueIssue<number, 3600000> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string[], 1> | v.MinValueIssue<number, 0> | v.MinValueIssue<number, 1> | v.MinValueIssue<number, 100> | v.MinValueIssue<number, 250> | v.MinValueIssue<number, 1000> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue;
|
|
1890
2016
|
} | undefined;
|
|
1891
2017
|
};
|
|
1892
2018
|
export type UpdateBlockInput = v.InferOutput<typeof updateBlockSchema>;
|
package/dist/requests.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../src/requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA0B5B,eAAO,MAAM,qBAAqB;;IAEhC,oFAAoF;;IAEpF;;;;OAIG;;IAEH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE9E,oDAAoD;AACpD,eAAO,MAAM,qBAAqB;;IAEhC,wEAAwE;;aAExE,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE9E,eAAO,MAAM,cAAc;;;;;;aAGzB,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,cAAc,CAAC,CAAA;AAEhE;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB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F,4EAA4E;AAC5E,eAAO,MAAM,gBAAgB;;aAE3B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;aAEhC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -70,6 +70,7 @@ export declare const retryAgentRunContract: {
|
|
|
70
70
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
71
71
|
}, undefined>, undefined>, undefined>;
|
|
72
72
|
}, undefined>, undefined>;
|
|
73
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
73
74
|
}, undefined>, undefined>;
|
|
74
75
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
75
76
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -343,6 +344,10 @@ export declare const retryAgentRunContract: {
|
|
|
343
344
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
344
345
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
345
346
|
}, undefined>, undefined>, undefined>;
|
|
347
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
348
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
349
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
350
|
+
}, undefined>, undefined>, undefined>;
|
|
346
351
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
347
352
|
readonly id: v.StringSchema<undefined>;
|
|
348
353
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -479,6 +484,24 @@ export declare const retryAgentRunContract: {
|
|
|
479
484
|
}, undefined>, undefined>, undefined>;
|
|
480
485
|
readonly externalNetworks: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
481
486
|
readonly sharedStackRefs: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
487
|
+
readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
488
|
+
readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
|
|
489
|
+
readonly params: v.OptionalSchema<v.ObjectSchema<{
|
|
490
|
+
readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
|
|
491
|
+
readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
492
|
+
readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
493
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
494
|
+
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
495
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
496
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
497
|
+
readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
|
|
498
|
+
readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
499
|
+
readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
500
|
+
}, undefined>, undefined>;
|
|
501
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
502
|
+
readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
503
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
504
|
+
}, undefined>, undefined>, undefined>;
|
|
482
505
|
readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
483
506
|
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
484
507
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
@@ -667,6 +690,7 @@ export declare const retryAgentRunContract: {
|
|
|
667
690
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
668
691
|
}, undefined>, undefined>, undefined>;
|
|
669
692
|
}, undefined>, undefined>;
|
|
693
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
670
694
|
}, undefined>, undefined>, undefined>;
|
|
671
695
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
672
696
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -683,6 +707,7 @@ export declare const retryAgentRunContract: {
|
|
|
683
707
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
684
708
|
}, undefined>, undefined>, undefined>;
|
|
685
709
|
}, undefined>, undefined>;
|
|
710
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
686
711
|
}, undefined>, undefined>, undefined>;
|
|
687
712
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
688
713
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -730,6 +755,7 @@ export declare const retryAgentRunContract: {
|
|
|
730
755
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
731
756
|
}, undefined>, undefined>, undefined>;
|
|
732
757
|
}, undefined>, undefined>;
|
|
758
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
733
759
|
}, undefined>, undefined>;
|
|
734
760
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
735
761
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -807,6 +833,7 @@ export declare const stopAgentRunContract: {
|
|
|
807
833
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
808
834
|
}, undefined>, undefined>, undefined>;
|
|
809
835
|
}, undefined>, undefined>;
|
|
836
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
810
837
|
}, undefined>, undefined>;
|
|
811
838
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
812
839
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -1080,6 +1107,10 @@ export declare const stopAgentRunContract: {
|
|
|
1080
1107
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1081
1108
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1082
1109
|
}, undefined>, undefined>, undefined>;
|
|
1110
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1111
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
1112
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
1113
|
+
}, undefined>, undefined>, undefined>;
|
|
1083
1114
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1084
1115
|
readonly id: v.StringSchema<undefined>;
|
|
1085
1116
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -1216,6 +1247,24 @@ export declare const stopAgentRunContract: {
|
|
|
1216
1247
|
}, undefined>, undefined>, undefined>;
|
|
1217
1248
|
readonly externalNetworks: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
1218
1249
|
readonly sharedStackRefs: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
1250
|
+
readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1251
|
+
readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
|
|
1252
|
+
readonly params: v.OptionalSchema<v.ObjectSchema<{
|
|
1253
|
+
readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
|
|
1254
|
+
readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1255
|
+
readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1256
|
+
readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
|
|
1257
|
+
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1258
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
1259
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1260
|
+
readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
|
|
1261
|
+
readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1262
|
+
readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1263
|
+
}, undefined>, undefined>;
|
|
1264
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1265
|
+
readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1266
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1267
|
+
}, undefined>, undefined>, undefined>;
|
|
1219
1268
|
readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
1220
1269
|
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
1221
1270
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
@@ -1404,6 +1453,7 @@ export declare const stopAgentRunContract: {
|
|
|
1404
1453
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1405
1454
|
}, undefined>, undefined>, undefined>;
|
|
1406
1455
|
}, undefined>, undefined>;
|
|
1456
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1407
1457
|
}, undefined>, undefined>, undefined>;
|
|
1408
1458
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1409
1459
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -1420,6 +1470,7 @@ export declare const stopAgentRunContract: {
|
|
|
1420
1470
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1421
1471
|
}, undefined>, undefined>, undefined>;
|
|
1422
1472
|
}, undefined>, undefined>;
|
|
1473
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1423
1474
|
}, undefined>, undefined>, undefined>;
|
|
1424
1475
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1425
1476
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1467,6 +1518,7 @@ export declare const stopAgentRunContract: {
|
|
|
1467
1518
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1468
1519
|
}, undefined>, undefined>, undefined>;
|
|
1469
1520
|
}, undefined>, undefined>;
|
|
1521
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1470
1522
|
}, undefined>, undefined>;
|
|
1471
1523
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1472
1524
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MA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