@trigger.dev/core 3.0.0-beta.11 → 3.0.0-beta.13
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/v3/index.d.mts +782 -173
- package/dist/v3/index.d.ts +782 -173
- package/dist/v3/index.js +734 -251
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +715 -252
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +2 -1
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +2 -1
- package/dist/v3/otel/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/v3/index.d.ts
CHANGED
|
@@ -411,6 +411,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
411
411
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
412
412
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
413
413
|
}>>;
|
|
414
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
414
415
|
}, "strip", z.ZodTypeAny, {
|
|
415
416
|
id: string;
|
|
416
417
|
filePath: string;
|
|
@@ -464,6 +465,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
464
465
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
465
466
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
466
467
|
} | undefined;
|
|
468
|
+
triggerSource?: string | undefined;
|
|
467
469
|
}, {
|
|
468
470
|
id: string;
|
|
469
471
|
filePath: string;
|
|
@@ -517,10 +519,11 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
517
519
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
518
520
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
519
521
|
} | undefined;
|
|
522
|
+
triggerSource?: string | undefined;
|
|
520
523
|
}>, "many">;
|
|
521
524
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
contentHash: string;
|
|
523
525
|
packageVersion: string;
|
|
526
|
+
contentHash: string;
|
|
524
527
|
tasks: {
|
|
525
528
|
id: string;
|
|
526
529
|
filePath: string;
|
|
@@ -574,11 +577,12 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
574
577
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
575
578
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
576
579
|
} | undefined;
|
|
580
|
+
triggerSource?: string | undefined;
|
|
577
581
|
}[];
|
|
578
582
|
cliPackageVersion?: string | undefined;
|
|
579
583
|
}, {
|
|
580
|
-
contentHash: string;
|
|
581
584
|
packageVersion: string;
|
|
585
|
+
contentHash: string;
|
|
582
586
|
tasks: {
|
|
583
587
|
id: string;
|
|
584
588
|
filePath: string;
|
|
@@ -632,13 +636,14 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
632
636
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
633
637
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
634
638
|
} | undefined;
|
|
639
|
+
triggerSource?: string | undefined;
|
|
635
640
|
}[];
|
|
636
641
|
cliPackageVersion?: string | undefined;
|
|
637
642
|
}>;
|
|
638
643
|
}, "strip", z.ZodTypeAny, {
|
|
639
644
|
metadata: {
|
|
640
|
-
contentHash: string;
|
|
641
645
|
packageVersion: string;
|
|
646
|
+
contentHash: string;
|
|
642
647
|
tasks: {
|
|
643
648
|
id: string;
|
|
644
649
|
filePath: string;
|
|
@@ -692,14 +697,15 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
692
697
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
693
698
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
694
699
|
} | undefined;
|
|
700
|
+
triggerSource?: string | undefined;
|
|
695
701
|
}[];
|
|
696
702
|
cliPackageVersion?: string | undefined;
|
|
697
703
|
};
|
|
698
704
|
localOnly: boolean;
|
|
699
705
|
}, {
|
|
700
706
|
metadata: {
|
|
701
|
-
contentHash: string;
|
|
702
707
|
packageVersion: string;
|
|
708
|
+
contentHash: string;
|
|
703
709
|
tasks: {
|
|
704
710
|
id: string;
|
|
705
711
|
filePath: string;
|
|
@@ -753,6 +759,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
753
759
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
754
760
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
755
761
|
} | undefined;
|
|
762
|
+
triggerSource?: string | undefined;
|
|
756
763
|
}[];
|
|
757
764
|
cliPackageVersion?: string | undefined;
|
|
758
765
|
};
|
|
@@ -966,7 +973,9 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
966
973
|
} | undefined;
|
|
967
974
|
}>>;
|
|
968
975
|
concurrencyKey: z.ZodOptional<z.ZodString>;
|
|
976
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
969
977
|
test: z.ZodOptional<z.ZodBoolean>;
|
|
978
|
+
payloadType: z.ZodOptional<z.ZodString>;
|
|
970
979
|
}, "strip", z.ZodTypeAny, {
|
|
971
980
|
dependentAttempt?: string | undefined;
|
|
972
981
|
dependentBatch?: string | undefined;
|
|
@@ -1009,7 +1018,9 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1009
1018
|
} | undefined;
|
|
1010
1019
|
} | undefined;
|
|
1011
1020
|
concurrencyKey?: string | undefined;
|
|
1021
|
+
idempotencyKey?: string | undefined;
|
|
1012
1022
|
test?: boolean | undefined;
|
|
1023
|
+
payloadType?: string | undefined;
|
|
1013
1024
|
}, {
|
|
1014
1025
|
dependentAttempt?: string | undefined;
|
|
1015
1026
|
dependentBatch?: string | undefined;
|
|
@@ -1052,7 +1063,9 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1052
1063
|
} | undefined;
|
|
1053
1064
|
} | undefined;
|
|
1054
1065
|
concurrencyKey?: string | undefined;
|
|
1066
|
+
idempotencyKey?: string | undefined;
|
|
1055
1067
|
test?: boolean | undefined;
|
|
1068
|
+
payloadType?: string | undefined;
|
|
1056
1069
|
}>>;
|
|
1057
1070
|
}, "strip", z.ZodTypeAny, {
|
|
1058
1071
|
payload?: any;
|
|
@@ -1099,7 +1112,9 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1099
1112
|
} | undefined;
|
|
1100
1113
|
} | undefined;
|
|
1101
1114
|
concurrencyKey?: string | undefined;
|
|
1115
|
+
idempotencyKey?: string | undefined;
|
|
1102
1116
|
test?: boolean | undefined;
|
|
1117
|
+
payloadType?: string | undefined;
|
|
1103
1118
|
} | undefined;
|
|
1104
1119
|
}, {
|
|
1105
1120
|
payload?: any;
|
|
@@ -1146,7 +1161,9 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1146
1161
|
} | undefined;
|
|
1147
1162
|
} | undefined;
|
|
1148
1163
|
concurrencyKey?: string | undefined;
|
|
1164
|
+
idempotencyKey?: string | undefined;
|
|
1149
1165
|
test?: boolean | undefined;
|
|
1166
|
+
payloadType?: string | undefined;
|
|
1150
1167
|
} | undefined;
|
|
1151
1168
|
}>;
|
|
1152
1169
|
type TriggerTaskRequestBody = z.infer<typeof TriggerTaskRequestBody>;
|
|
@@ -1352,7 +1369,9 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1352
1369
|
} | undefined;
|
|
1353
1370
|
}>>;
|
|
1354
1371
|
concurrencyKey: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1355
1373
|
test: z.ZodOptional<z.ZodBoolean>;
|
|
1374
|
+
payloadType: z.ZodOptional<z.ZodString>;
|
|
1356
1375
|
}, "strip", z.ZodTypeAny, {
|
|
1357
1376
|
dependentAttempt?: string | undefined;
|
|
1358
1377
|
dependentBatch?: string | undefined;
|
|
@@ -1395,7 +1414,9 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1395
1414
|
} | undefined;
|
|
1396
1415
|
} | undefined;
|
|
1397
1416
|
concurrencyKey?: string | undefined;
|
|
1417
|
+
idempotencyKey?: string | undefined;
|
|
1398
1418
|
test?: boolean | undefined;
|
|
1419
|
+
payloadType?: string | undefined;
|
|
1399
1420
|
}, {
|
|
1400
1421
|
dependentAttempt?: string | undefined;
|
|
1401
1422
|
dependentBatch?: string | undefined;
|
|
@@ -1438,7 +1459,9 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1438
1459
|
} | undefined;
|
|
1439
1460
|
} | undefined;
|
|
1440
1461
|
concurrencyKey?: string | undefined;
|
|
1462
|
+
idempotencyKey?: string | undefined;
|
|
1441
1463
|
test?: boolean | undefined;
|
|
1464
|
+
payloadType?: string | undefined;
|
|
1442
1465
|
}>>;
|
|
1443
1466
|
}, "strip", z.ZodTypeAny, {
|
|
1444
1467
|
payload?: any;
|
|
@@ -1485,7 +1508,9 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1485
1508
|
} | undefined;
|
|
1486
1509
|
} | undefined;
|
|
1487
1510
|
concurrencyKey?: string | undefined;
|
|
1511
|
+
idempotencyKey?: string | undefined;
|
|
1488
1512
|
test?: boolean | undefined;
|
|
1513
|
+
payloadType?: string | undefined;
|
|
1489
1514
|
} | undefined;
|
|
1490
1515
|
}, {
|
|
1491
1516
|
payload?: any;
|
|
@@ -1532,7 +1557,9 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1532
1557
|
} | undefined;
|
|
1533
1558
|
} | undefined;
|
|
1534
1559
|
concurrencyKey?: string | undefined;
|
|
1560
|
+
idempotencyKey?: string | undefined;
|
|
1535
1561
|
test?: boolean | undefined;
|
|
1562
|
+
payloadType?: string | undefined;
|
|
1536
1563
|
} | undefined;
|
|
1537
1564
|
}>, "many">;
|
|
1538
1565
|
dependentAttempt: z.ZodOptional<z.ZodString>;
|
|
@@ -1582,7 +1609,9 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1582
1609
|
} | undefined;
|
|
1583
1610
|
} | undefined;
|
|
1584
1611
|
concurrencyKey?: string | undefined;
|
|
1612
|
+
idempotencyKey?: string | undefined;
|
|
1585
1613
|
test?: boolean | undefined;
|
|
1614
|
+
payloadType?: string | undefined;
|
|
1586
1615
|
} | undefined;
|
|
1587
1616
|
}[];
|
|
1588
1617
|
dependentAttempt?: string | undefined;
|
|
@@ -1632,7 +1661,9 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1632
1661
|
} | undefined;
|
|
1633
1662
|
} | undefined;
|
|
1634
1663
|
concurrencyKey?: string | undefined;
|
|
1664
|
+
idempotencyKey?: string | undefined;
|
|
1635
1665
|
test?: boolean | undefined;
|
|
1666
|
+
payloadType?: string | undefined;
|
|
1636
1667
|
} | undefined;
|
|
1637
1668
|
}[];
|
|
1638
1669
|
dependentAttempt?: string | undefined;
|
|
@@ -1919,6 +1950,338 @@ declare const CanceledRunResponse: z.ZodObject<{
|
|
|
1919
1950
|
message: string;
|
|
1920
1951
|
}>;
|
|
1921
1952
|
type CanceledRunResponse = z.infer<typeof CanceledRunResponse>;
|
|
1953
|
+
declare const ScheduledTaskPayload: z.ZodObject<{
|
|
1954
|
+
/** The schedule id associated with this run (you can have many schedules for the same task).
|
|
1955
|
+
You can use this to remove the schedule, update it, etc */
|
|
1956
|
+
scheduleId: z.ZodString;
|
|
1957
|
+
/** When the task was scheduled to run.
|
|
1958
|
+
* Note this will be slightly different from `new Date()` because it takes a few ms to run the task. */
|
|
1959
|
+
timestamp: z.ZodDate;
|
|
1960
|
+
/** When the task was last run (it has been).
|
|
1961
|
+
This can be undefined if it's never been run */
|
|
1962
|
+
lastTimestamp: z.ZodOptional<z.ZodDate>;
|
|
1963
|
+
/** You can optionally provide an external id when creating the schedule.
|
|
1964
|
+
Usually you would use a userId or some other unique identifier.
|
|
1965
|
+
This defaults to undefined if you didn't provide one. */
|
|
1966
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
1967
|
+
/** The next 5 dates this task is scheduled to run */
|
|
1968
|
+
upcoming: z.ZodArray<z.ZodDate, "many">;
|
|
1969
|
+
}, "strip", z.ZodTypeAny, {
|
|
1970
|
+
timestamp: Date;
|
|
1971
|
+
scheduleId: string;
|
|
1972
|
+
upcoming: Date[];
|
|
1973
|
+
lastTimestamp?: Date | undefined;
|
|
1974
|
+
externalId?: string | undefined;
|
|
1975
|
+
}, {
|
|
1976
|
+
timestamp: Date;
|
|
1977
|
+
scheduleId: string;
|
|
1978
|
+
upcoming: Date[];
|
|
1979
|
+
lastTimestamp?: Date | undefined;
|
|
1980
|
+
externalId?: string | undefined;
|
|
1981
|
+
}>;
|
|
1982
|
+
type ScheduledTaskPayload = z.infer<typeof ScheduledTaskPayload>;
|
|
1983
|
+
declare const CreateScheduleOptions: z.ZodObject<{
|
|
1984
|
+
/** The id of the task you want to attach to. */
|
|
1985
|
+
task: z.ZodString;
|
|
1986
|
+
/** The schedule in CRON format.
|
|
1987
|
+
*
|
|
1988
|
+
* ```txt
|
|
1989
|
+
* * * * * *
|
|
1990
|
+
┬ ┬ ┬ ┬ ┬
|
|
1991
|
+
│ │ │ │ |
|
|
1992
|
+
│ │ │ │ └ day of week (0 - 7, 1L - 7L) (0 or 7 is Sun)
|
|
1993
|
+
│ │ │ └───── month (1 - 12)
|
|
1994
|
+
│ │ └────────── day of month (1 - 31, L)
|
|
1995
|
+
│ └─────────────── hour (0 - 23)
|
|
1996
|
+
└──────────────────── minute (0 - 59)
|
|
1997
|
+
* ```
|
|
1998
|
+
|
|
1999
|
+
"L" means the last. In the "day of week" field, 1L means the last Monday of the month. In the day of month field, L means the last day of the month.
|
|
2000
|
+
|
|
2001
|
+
*/
|
|
2002
|
+
cron: z.ZodString;
|
|
2003
|
+
/** (Optional) You can only create one schedule with this key. If you use it twice, the second call will update the schedule.
|
|
2004
|
+
*
|
|
2005
|
+
* This is useful if you don't want to create duplicate schedules for a user. */
|
|
2006
|
+
deduplicationKey: z.ZodOptional<z.ZodString>;
|
|
2007
|
+
/** Optionally, you can specify your own IDs (like a user ID) and then use it inside the run function of your task.
|
|
2008
|
+
*
|
|
2009
|
+
* This allows you to have per-user CRON tasks.
|
|
2010
|
+
*/
|
|
2011
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
}, "strip", z.ZodTypeAny, {
|
|
2013
|
+
task: string;
|
|
2014
|
+
cron: string;
|
|
2015
|
+
deduplicationKey?: string | undefined;
|
|
2016
|
+
externalId?: string | undefined;
|
|
2017
|
+
}, {
|
|
2018
|
+
task: string;
|
|
2019
|
+
cron: string;
|
|
2020
|
+
deduplicationKey?: string | undefined;
|
|
2021
|
+
externalId?: string | undefined;
|
|
2022
|
+
}>;
|
|
2023
|
+
type CreateScheduleOptions = z.infer<typeof CreateScheduleOptions>;
|
|
2024
|
+
declare const UpdateScheduleOptions: z.ZodObject<{
|
|
2025
|
+
/** The id of the task you want to attach to. */
|
|
2026
|
+
task: z.ZodString;
|
|
2027
|
+
/** The schedule in CRON format.
|
|
2028
|
+
*
|
|
2029
|
+
* ```txt
|
|
2030
|
+
* * * * * *
|
|
2031
|
+
┬ ┬ ┬ ┬ ┬
|
|
2032
|
+
│ │ │ │ |
|
|
2033
|
+
│ │ │ │ └ day of week (0 - 7, 1L - 7L) (0 or 7 is Sun)
|
|
2034
|
+
│ │ │ └───── month (1 - 12)
|
|
2035
|
+
│ │ └────────── day of month (1 - 31, L)
|
|
2036
|
+
│ └─────────────── hour (0 - 23)
|
|
2037
|
+
└──────────────────── minute (0 - 59)
|
|
2038
|
+
* ```
|
|
2039
|
+
|
|
2040
|
+
"L" means the last. In the "day of week" field, 1L means the last Monday of the month. In the day of month field, L means the last day of the month.
|
|
2041
|
+
|
|
2042
|
+
*/
|
|
2043
|
+
cron: z.ZodString;
|
|
2044
|
+
/** (Optional) You can only create one schedule with this key. If you use it twice, the second call will update the schedule.
|
|
2045
|
+
*
|
|
2046
|
+
* This is useful if you don't want to create duplicate schedules for a user. */
|
|
2047
|
+
deduplicationKey: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
/** Optionally, you can specify your own IDs (like a user ID) and then use it inside the run function of your task.
|
|
2049
|
+
*
|
|
2050
|
+
* This allows you to have per-user CRON tasks.
|
|
2051
|
+
*/
|
|
2052
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
}, "strip", z.ZodTypeAny, {
|
|
2054
|
+
task: string;
|
|
2055
|
+
cron: string;
|
|
2056
|
+
deduplicationKey?: string | undefined;
|
|
2057
|
+
externalId?: string | undefined;
|
|
2058
|
+
}, {
|
|
2059
|
+
task: string;
|
|
2060
|
+
cron: string;
|
|
2061
|
+
deduplicationKey?: string | undefined;
|
|
2062
|
+
externalId?: string | undefined;
|
|
2063
|
+
}>;
|
|
2064
|
+
type UpdateScheduleOptions = z.infer<typeof UpdateScheduleOptions>;
|
|
2065
|
+
declare const ScheduleObject: z.ZodObject<{
|
|
2066
|
+
id: z.ZodString;
|
|
2067
|
+
task: z.ZodString;
|
|
2068
|
+
active: z.ZodBoolean;
|
|
2069
|
+
deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2070
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2071
|
+
generator: z.ZodObject<{
|
|
2072
|
+
type: z.ZodLiteral<"CRON">;
|
|
2073
|
+
expression: z.ZodString;
|
|
2074
|
+
description: z.ZodString;
|
|
2075
|
+
}, "strip", z.ZodTypeAny, {
|
|
2076
|
+
type: "CRON";
|
|
2077
|
+
expression: string;
|
|
2078
|
+
description: string;
|
|
2079
|
+
}, {
|
|
2080
|
+
type: "CRON";
|
|
2081
|
+
expression: string;
|
|
2082
|
+
description: string;
|
|
2083
|
+
}>;
|
|
2084
|
+
nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2085
|
+
environments: z.ZodArray<z.ZodObject<{
|
|
2086
|
+
id: z.ZodString;
|
|
2087
|
+
type: z.ZodString;
|
|
2088
|
+
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2089
|
+
}, "strip", z.ZodTypeAny, {
|
|
2090
|
+
type: string;
|
|
2091
|
+
id: string;
|
|
2092
|
+
userName?: string | null | undefined;
|
|
2093
|
+
}, {
|
|
2094
|
+
type: string;
|
|
2095
|
+
id: string;
|
|
2096
|
+
userName?: string | null | undefined;
|
|
2097
|
+
}>, "many">;
|
|
2098
|
+
}, "strip", z.ZodTypeAny, {
|
|
2099
|
+
id: string;
|
|
2100
|
+
task: string;
|
|
2101
|
+
active: boolean;
|
|
2102
|
+
generator: {
|
|
2103
|
+
type: "CRON";
|
|
2104
|
+
expression: string;
|
|
2105
|
+
description: string;
|
|
2106
|
+
};
|
|
2107
|
+
environments: {
|
|
2108
|
+
type: string;
|
|
2109
|
+
id: string;
|
|
2110
|
+
userName?: string | null | undefined;
|
|
2111
|
+
}[];
|
|
2112
|
+
deduplicationKey?: string | null | undefined;
|
|
2113
|
+
externalId?: string | null | undefined;
|
|
2114
|
+
nextRun?: Date | null | undefined;
|
|
2115
|
+
}, {
|
|
2116
|
+
id: string;
|
|
2117
|
+
task: string;
|
|
2118
|
+
active: boolean;
|
|
2119
|
+
generator: {
|
|
2120
|
+
type: "CRON";
|
|
2121
|
+
expression: string;
|
|
2122
|
+
description: string;
|
|
2123
|
+
};
|
|
2124
|
+
environments: {
|
|
2125
|
+
type: string;
|
|
2126
|
+
id: string;
|
|
2127
|
+
userName?: string | null | undefined;
|
|
2128
|
+
}[];
|
|
2129
|
+
deduplicationKey?: string | null | undefined;
|
|
2130
|
+
externalId?: string | null | undefined;
|
|
2131
|
+
nextRun?: Date | null | undefined;
|
|
2132
|
+
}>;
|
|
2133
|
+
type ScheduleObject = z.infer<typeof ScheduleObject>;
|
|
2134
|
+
declare const DeletedScheduleObject: z.ZodObject<{
|
|
2135
|
+
id: z.ZodString;
|
|
2136
|
+
}, "strip", z.ZodTypeAny, {
|
|
2137
|
+
id: string;
|
|
2138
|
+
}, {
|
|
2139
|
+
id: string;
|
|
2140
|
+
}>;
|
|
2141
|
+
type DeletedScheduleObject = z.infer<typeof DeletedScheduleObject>;
|
|
2142
|
+
declare const ListSchedulesResult: z.ZodObject<{
|
|
2143
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2144
|
+
id: z.ZodString;
|
|
2145
|
+
task: z.ZodString;
|
|
2146
|
+
active: z.ZodBoolean;
|
|
2147
|
+
deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2148
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2149
|
+
generator: z.ZodObject<{
|
|
2150
|
+
type: z.ZodLiteral<"CRON">;
|
|
2151
|
+
expression: z.ZodString;
|
|
2152
|
+
description: z.ZodString;
|
|
2153
|
+
}, "strip", z.ZodTypeAny, {
|
|
2154
|
+
type: "CRON";
|
|
2155
|
+
expression: string;
|
|
2156
|
+
description: string;
|
|
2157
|
+
}, {
|
|
2158
|
+
type: "CRON";
|
|
2159
|
+
expression: string;
|
|
2160
|
+
description: string;
|
|
2161
|
+
}>;
|
|
2162
|
+
nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2163
|
+
environments: z.ZodArray<z.ZodObject<{
|
|
2164
|
+
id: z.ZodString;
|
|
2165
|
+
type: z.ZodString;
|
|
2166
|
+
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2167
|
+
}, "strip", z.ZodTypeAny, {
|
|
2168
|
+
type: string;
|
|
2169
|
+
id: string;
|
|
2170
|
+
userName?: string | null | undefined;
|
|
2171
|
+
}, {
|
|
2172
|
+
type: string;
|
|
2173
|
+
id: string;
|
|
2174
|
+
userName?: string | null | undefined;
|
|
2175
|
+
}>, "many">;
|
|
2176
|
+
}, "strip", z.ZodTypeAny, {
|
|
2177
|
+
id: string;
|
|
2178
|
+
task: string;
|
|
2179
|
+
active: boolean;
|
|
2180
|
+
generator: {
|
|
2181
|
+
type: "CRON";
|
|
2182
|
+
expression: string;
|
|
2183
|
+
description: string;
|
|
2184
|
+
};
|
|
2185
|
+
environments: {
|
|
2186
|
+
type: string;
|
|
2187
|
+
id: string;
|
|
2188
|
+
userName?: string | null | undefined;
|
|
2189
|
+
}[];
|
|
2190
|
+
deduplicationKey?: string | null | undefined;
|
|
2191
|
+
externalId?: string | null | undefined;
|
|
2192
|
+
nextRun?: Date | null | undefined;
|
|
2193
|
+
}, {
|
|
2194
|
+
id: string;
|
|
2195
|
+
task: string;
|
|
2196
|
+
active: boolean;
|
|
2197
|
+
generator: {
|
|
2198
|
+
type: "CRON";
|
|
2199
|
+
expression: string;
|
|
2200
|
+
description: string;
|
|
2201
|
+
};
|
|
2202
|
+
environments: {
|
|
2203
|
+
type: string;
|
|
2204
|
+
id: string;
|
|
2205
|
+
userName?: string | null | undefined;
|
|
2206
|
+
}[];
|
|
2207
|
+
deduplicationKey?: string | null | undefined;
|
|
2208
|
+
externalId?: string | null | undefined;
|
|
2209
|
+
nextRun?: Date | null | undefined;
|
|
2210
|
+
}>, "many">;
|
|
2211
|
+
pagination: z.ZodObject<{
|
|
2212
|
+
currentPage: z.ZodNumber;
|
|
2213
|
+
totalPages: z.ZodNumber;
|
|
2214
|
+
count: z.ZodNumber;
|
|
2215
|
+
}, "strip", z.ZodTypeAny, {
|
|
2216
|
+
currentPage: number;
|
|
2217
|
+
totalPages: number;
|
|
2218
|
+
count: number;
|
|
2219
|
+
}, {
|
|
2220
|
+
currentPage: number;
|
|
2221
|
+
totalPages: number;
|
|
2222
|
+
count: number;
|
|
2223
|
+
}>;
|
|
2224
|
+
}, "strip", z.ZodTypeAny, {
|
|
2225
|
+
data: {
|
|
2226
|
+
id: string;
|
|
2227
|
+
task: string;
|
|
2228
|
+
active: boolean;
|
|
2229
|
+
generator: {
|
|
2230
|
+
type: "CRON";
|
|
2231
|
+
expression: string;
|
|
2232
|
+
description: string;
|
|
2233
|
+
};
|
|
2234
|
+
environments: {
|
|
2235
|
+
type: string;
|
|
2236
|
+
id: string;
|
|
2237
|
+
userName?: string | null | undefined;
|
|
2238
|
+
}[];
|
|
2239
|
+
deduplicationKey?: string | null | undefined;
|
|
2240
|
+
externalId?: string | null | undefined;
|
|
2241
|
+
nextRun?: Date | null | undefined;
|
|
2242
|
+
}[];
|
|
2243
|
+
pagination: {
|
|
2244
|
+
currentPage: number;
|
|
2245
|
+
totalPages: number;
|
|
2246
|
+
count: number;
|
|
2247
|
+
};
|
|
2248
|
+
}, {
|
|
2249
|
+
data: {
|
|
2250
|
+
id: string;
|
|
2251
|
+
task: string;
|
|
2252
|
+
active: boolean;
|
|
2253
|
+
generator: {
|
|
2254
|
+
type: "CRON";
|
|
2255
|
+
expression: string;
|
|
2256
|
+
description: string;
|
|
2257
|
+
};
|
|
2258
|
+
environments: {
|
|
2259
|
+
type: string;
|
|
2260
|
+
id: string;
|
|
2261
|
+
userName?: string | null | undefined;
|
|
2262
|
+
}[];
|
|
2263
|
+
deduplicationKey?: string | null | undefined;
|
|
2264
|
+
externalId?: string | null | undefined;
|
|
2265
|
+
nextRun?: Date | null | undefined;
|
|
2266
|
+
}[];
|
|
2267
|
+
pagination: {
|
|
2268
|
+
currentPage: number;
|
|
2269
|
+
totalPages: number;
|
|
2270
|
+
count: number;
|
|
2271
|
+
};
|
|
2272
|
+
}>;
|
|
2273
|
+
type ListSchedulesResult = z.infer<typeof ListSchedulesResult>;
|
|
2274
|
+
declare const ListScheduleOptions: z.ZodObject<{
|
|
2275
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
2276
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
2277
|
+
}, "strip", z.ZodTypeAny, {
|
|
2278
|
+
page?: number | undefined;
|
|
2279
|
+
perPage?: number | undefined;
|
|
2280
|
+
}, {
|
|
2281
|
+
page?: number | undefined;
|
|
2282
|
+
perPage?: number | undefined;
|
|
2283
|
+
}>;
|
|
2284
|
+
type ListScheduleOptions = z.infer<typeof ListScheduleOptions>;
|
|
1922
2285
|
|
|
1923
2286
|
declare const TaskResource: z.ZodObject<{
|
|
1924
2287
|
id: z.ZodString;
|
|
@@ -2141,6 +2504,7 @@ declare const TaskResource: z.ZodObject<{
|
|
|
2141
2504
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2142
2505
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2143
2506
|
}>>;
|
|
2507
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
2144
2508
|
}, "strip", z.ZodTypeAny, {
|
|
2145
2509
|
id: string;
|
|
2146
2510
|
filePath: string;
|
|
@@ -2194,6 +2558,7 @@ declare const TaskResource: z.ZodObject<{
|
|
|
2194
2558
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2195
2559
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2196
2560
|
} | undefined;
|
|
2561
|
+
triggerSource?: string | undefined;
|
|
2197
2562
|
}, {
|
|
2198
2563
|
id: string;
|
|
2199
2564
|
filePath: string;
|
|
@@ -2247,6 +2612,7 @@ declare const TaskResource: z.ZodObject<{
|
|
|
2247
2612
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2248
2613
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2249
2614
|
} | undefined;
|
|
2615
|
+
triggerSource?: string | undefined;
|
|
2250
2616
|
}>;
|
|
2251
2617
|
type TaskResource = z.infer<typeof TaskResource>;
|
|
2252
2618
|
declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
@@ -2474,6 +2840,7 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
2474
2840
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2475
2841
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2476
2842
|
}>>;
|
|
2843
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
2477
2844
|
}, "strip", z.ZodTypeAny, {
|
|
2478
2845
|
id: string;
|
|
2479
2846
|
filePath: string;
|
|
@@ -2527,6 +2894,7 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
2527
2894
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2528
2895
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2529
2896
|
} | undefined;
|
|
2897
|
+
triggerSource?: string | undefined;
|
|
2530
2898
|
}, {
|
|
2531
2899
|
id: string;
|
|
2532
2900
|
filePath: string;
|
|
@@ -2580,10 +2948,11 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
2580
2948
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2581
2949
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2582
2950
|
} | undefined;
|
|
2951
|
+
triggerSource?: string | undefined;
|
|
2583
2952
|
}>, "many">;
|
|
2584
2953
|
}, "strip", z.ZodTypeAny, {
|
|
2585
|
-
contentHash: string;
|
|
2586
2954
|
packageVersion: string;
|
|
2955
|
+
contentHash: string;
|
|
2587
2956
|
tasks: {
|
|
2588
2957
|
id: string;
|
|
2589
2958
|
filePath: string;
|
|
@@ -2637,11 +3006,12 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
2637
3006
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2638
3007
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2639
3008
|
} | undefined;
|
|
3009
|
+
triggerSource?: string | undefined;
|
|
2640
3010
|
}[];
|
|
2641
3011
|
cliPackageVersion?: string | undefined;
|
|
2642
3012
|
}, {
|
|
2643
|
-
contentHash: string;
|
|
2644
3013
|
packageVersion: string;
|
|
3014
|
+
contentHash: string;
|
|
2645
3015
|
tasks: {
|
|
2646
3016
|
id: string;
|
|
2647
3017
|
filePath: string;
|
|
@@ -2695,6 +3065,7 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
2695
3065
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
2696
3066
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
2697
3067
|
} | undefined;
|
|
3068
|
+
triggerSource?: string | undefined;
|
|
2698
3069
|
}[];
|
|
2699
3070
|
cliPackageVersion?: string | undefined;
|
|
2700
3071
|
}>;
|
|
@@ -2752,6 +3123,7 @@ declare const TaskRunStringError: z.ZodObject<{
|
|
|
2752
3123
|
type TaskRunStringError = z.infer<typeof TaskRunStringError>;
|
|
2753
3124
|
declare const TaskRunErrorCodes: {
|
|
2754
3125
|
readonly COULD_NOT_FIND_EXECUTOR: "COULD_NOT_FIND_EXECUTOR";
|
|
3126
|
+
readonly COULD_NOT_FIND_TASK: "COULD_NOT_FIND_TASK";
|
|
2755
3127
|
readonly CONFIGURED_INCORRECTLY: "CONFIGURED_INCORRECTLY";
|
|
2756
3128
|
readonly TASK_ALREADY_RUNNING: "TASK_ALREADY_RUNNING";
|
|
2757
3129
|
readonly TASK_EXECUTION_FAILED: "TASK_EXECUTION_FAILED";
|
|
@@ -2763,14 +3135,14 @@ declare const TaskRunErrorCodes: {
|
|
|
2763
3135
|
};
|
|
2764
3136
|
declare const TaskRunInternalError: z.ZodObject<{
|
|
2765
3137
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
2766
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
3138
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
2767
3139
|
message: z.ZodOptional<z.ZodString>;
|
|
2768
3140
|
}, "strip", z.ZodTypeAny, {
|
|
2769
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3141
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
2770
3142
|
type: "INTERNAL_ERROR";
|
|
2771
3143
|
message?: string | undefined;
|
|
2772
3144
|
}, {
|
|
2773
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3145
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
2774
3146
|
type: "INTERNAL_ERROR";
|
|
2775
3147
|
message?: string | undefined;
|
|
2776
3148
|
}>;
|
|
@@ -2810,14 +3182,14 @@ declare const TaskRunError: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2810
3182
|
raw: string;
|
|
2811
3183
|
}>, z.ZodObject<{
|
|
2812
3184
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
2813
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
3185
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
2814
3186
|
message: z.ZodOptional<z.ZodString>;
|
|
2815
3187
|
}, "strip", z.ZodTypeAny, {
|
|
2816
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3188
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
2817
3189
|
type: "INTERNAL_ERROR";
|
|
2818
3190
|
message?: string | undefined;
|
|
2819
3191
|
}, {
|
|
2820
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3192
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
2821
3193
|
type: "INTERNAL_ERROR";
|
|
2822
3194
|
message?: string | undefined;
|
|
2823
3195
|
}>]>;
|
|
@@ -3412,14 +3784,14 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
|
|
|
3412
3784
|
raw: string;
|
|
3413
3785
|
}>, z.ZodObject<{
|
|
3414
3786
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
3415
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
3787
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
3416
3788
|
message: z.ZodOptional<z.ZodString>;
|
|
3417
3789
|
}, "strip", z.ZodTypeAny, {
|
|
3418
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3790
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3419
3791
|
type: "INTERNAL_ERROR";
|
|
3420
3792
|
message?: string | undefined;
|
|
3421
3793
|
}, {
|
|
3422
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3794
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3423
3795
|
type: "INTERNAL_ERROR";
|
|
3424
3796
|
message?: string | undefined;
|
|
3425
3797
|
}>]>;
|
|
@@ -3450,7 +3822,7 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
|
|
|
3450
3822
|
type: "STRING_ERROR";
|
|
3451
3823
|
raw: string;
|
|
3452
3824
|
} | {
|
|
3453
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3825
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3454
3826
|
type: "INTERNAL_ERROR";
|
|
3455
3827
|
message?: string | undefined;
|
|
3456
3828
|
};
|
|
@@ -3475,7 +3847,7 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
|
|
|
3475
3847
|
type: "STRING_ERROR";
|
|
3476
3848
|
raw: string;
|
|
3477
3849
|
} | {
|
|
3478
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3850
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3479
3851
|
type: "INTERNAL_ERROR";
|
|
3480
3852
|
message?: string | undefined;
|
|
3481
3853
|
};
|
|
@@ -3559,14 +3931,14 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
|
|
|
3559
3931
|
raw: string;
|
|
3560
3932
|
}>, z.ZodObject<{
|
|
3561
3933
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
3562
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
3934
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
3563
3935
|
message: z.ZodOptional<z.ZodString>;
|
|
3564
3936
|
}, "strip", z.ZodTypeAny, {
|
|
3565
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3937
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3566
3938
|
type: "INTERNAL_ERROR";
|
|
3567
3939
|
message?: string | undefined;
|
|
3568
3940
|
}, {
|
|
3569
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3941
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3570
3942
|
type: "INTERNAL_ERROR";
|
|
3571
3943
|
message?: string | undefined;
|
|
3572
3944
|
}>]>;
|
|
@@ -3597,7 +3969,7 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
|
|
|
3597
3969
|
type: "STRING_ERROR";
|
|
3598
3970
|
raw: string;
|
|
3599
3971
|
} | {
|
|
3600
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3972
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3601
3973
|
type: "INTERNAL_ERROR";
|
|
3602
3974
|
message?: string | undefined;
|
|
3603
3975
|
};
|
|
@@ -3622,7 +3994,7 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
|
|
|
3622
3994
|
type: "STRING_ERROR";
|
|
3623
3995
|
raw: string;
|
|
3624
3996
|
} | {
|
|
3625
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3997
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3626
3998
|
type: "INTERNAL_ERROR";
|
|
3627
3999
|
message?: string | undefined;
|
|
3628
4000
|
};
|
|
@@ -3691,14 +4063,14 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
|
|
|
3691
4063
|
raw: string;
|
|
3692
4064
|
}>, z.ZodObject<{
|
|
3693
4065
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
3694
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
4066
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
3695
4067
|
message: z.ZodOptional<z.ZodString>;
|
|
3696
4068
|
}, "strip", z.ZodTypeAny, {
|
|
3697
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
4069
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3698
4070
|
type: "INTERNAL_ERROR";
|
|
3699
4071
|
message?: string | undefined;
|
|
3700
4072
|
}, {
|
|
3701
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
4073
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3702
4074
|
type: "INTERNAL_ERROR";
|
|
3703
4075
|
message?: string | undefined;
|
|
3704
4076
|
}>]>;
|
|
@@ -3729,7 +4101,7 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
|
|
|
3729
4101
|
type: "STRING_ERROR";
|
|
3730
4102
|
raw: string;
|
|
3731
4103
|
} | {
|
|
3732
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
4104
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3733
4105
|
type: "INTERNAL_ERROR";
|
|
3734
4106
|
message?: string | undefined;
|
|
3735
4107
|
};
|
|
@@ -3754,7 +4126,7 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
|
|
|
3754
4126
|
type: "STRING_ERROR";
|
|
3755
4127
|
raw: string;
|
|
3756
4128
|
} | {
|
|
3757
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
4129
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3758
4130
|
type: "INTERNAL_ERROR";
|
|
3759
4131
|
message?: string | undefined;
|
|
3760
4132
|
};
|
|
@@ -3782,7 +4154,7 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
|
|
|
3782
4154
|
type: "STRING_ERROR";
|
|
3783
4155
|
raw: string;
|
|
3784
4156
|
} | {
|
|
3785
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
4157
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3786
4158
|
type: "INTERNAL_ERROR";
|
|
3787
4159
|
message?: string | undefined;
|
|
3788
4160
|
};
|
|
@@ -3815,7 +4187,7 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
|
|
|
3815
4187
|
type: "STRING_ERROR";
|
|
3816
4188
|
raw: string;
|
|
3817
4189
|
} | {
|
|
3818
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
4190
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
3819
4191
|
type: "INTERNAL_ERROR";
|
|
3820
4192
|
message?: string | undefined;
|
|
3821
4193
|
};
|
|
@@ -5226,12 +5598,12 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
5226
5598
|
type: "SCHEDULE_ATTEMPT";
|
|
5227
5599
|
id: string;
|
|
5228
5600
|
version: string;
|
|
5229
|
-
image: string;
|
|
5230
5601
|
machine: {
|
|
5231
5602
|
version: "v1";
|
|
5232
5603
|
cpu: 2 | 1 | 4 | 0.25 | 0.5;
|
|
5233
5604
|
memory: 2 | 1 | 4 | 0.25 | 0.5 | 8;
|
|
5234
5605
|
};
|
|
5606
|
+
image: string;
|
|
5235
5607
|
envId: string;
|
|
5236
5608
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5237
5609
|
orgId: string;
|
|
@@ -5241,12 +5613,12 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
5241
5613
|
type: "SCHEDULE_ATTEMPT";
|
|
5242
5614
|
id: string;
|
|
5243
5615
|
version: string;
|
|
5244
|
-
image: string;
|
|
5245
5616
|
machine: {
|
|
5246
5617
|
version?: "v1" | undefined;
|
|
5247
5618
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
5248
5619
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
5249
5620
|
};
|
|
5621
|
+
image: string;
|
|
5250
5622
|
envId: string;
|
|
5251
5623
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5252
5624
|
orgId: string;
|
|
@@ -5732,12 +6104,12 @@ declare const serverWebsocketMessages: {
|
|
|
5732
6104
|
type: "SCHEDULE_ATTEMPT";
|
|
5733
6105
|
id: string;
|
|
5734
6106
|
version: string;
|
|
5735
|
-
image: string;
|
|
5736
6107
|
machine: {
|
|
5737
6108
|
version: "v1";
|
|
5738
6109
|
cpu: 2 | 1 | 4 | 0.25 | 0.5;
|
|
5739
6110
|
memory: 2 | 1 | 4 | 0.25 | 0.5 | 8;
|
|
5740
6111
|
};
|
|
6112
|
+
image: string;
|
|
5741
6113
|
envId: string;
|
|
5742
6114
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5743
6115
|
orgId: string;
|
|
@@ -5747,12 +6119,12 @@ declare const serverWebsocketMessages: {
|
|
|
5747
6119
|
type: "SCHEDULE_ATTEMPT";
|
|
5748
6120
|
id: string;
|
|
5749
6121
|
version: string;
|
|
5750
|
-
image: string;
|
|
5751
6122
|
machine: {
|
|
5752
6123
|
version?: "v1" | undefined;
|
|
5753
6124
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
5754
6125
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
5755
6126
|
};
|
|
6127
|
+
image: string;
|
|
5756
6128
|
envId: string;
|
|
5757
6129
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5758
6130
|
orgId: string;
|
|
@@ -5821,12 +6193,12 @@ declare const serverWebsocketMessages: {
|
|
|
5821
6193
|
type: "SCHEDULE_ATTEMPT";
|
|
5822
6194
|
id: string;
|
|
5823
6195
|
version: string;
|
|
5824
|
-
image: string;
|
|
5825
6196
|
machine: {
|
|
5826
6197
|
version: "v1";
|
|
5827
6198
|
cpu: 2 | 1 | 4 | 0.25 | 0.5;
|
|
5828
6199
|
memory: 2 | 1 | 4 | 0.25 | 0.5 | 8;
|
|
5829
6200
|
};
|
|
6201
|
+
image: string;
|
|
5830
6202
|
envId: string;
|
|
5831
6203
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5832
6204
|
orgId: string;
|
|
@@ -5897,12 +6269,12 @@ declare const serverWebsocketMessages: {
|
|
|
5897
6269
|
type: "SCHEDULE_ATTEMPT";
|
|
5898
6270
|
id: string;
|
|
5899
6271
|
version: string;
|
|
5900
|
-
image: string;
|
|
5901
6272
|
machine: {
|
|
5902
6273
|
version?: "v1" | undefined;
|
|
5903
6274
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
5904
6275
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
5905
6276
|
};
|
|
6277
|
+
image: string;
|
|
5906
6278
|
envId: string;
|
|
5907
6279
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
5908
6280
|
orgId: string;
|
|
@@ -5917,7 +6289,7 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
5917
6289
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
5918
6290
|
type: z.ZodLiteral<"TASK_RUN_COMPLETED">;
|
|
5919
6291
|
completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
5920
|
-
ok: z.ZodLiteral<true>;
|
|
6292
|
+
ok: z.ZodLiteral<true>;
|
|
5921
6293
|
id: z.ZodString;
|
|
5922
6294
|
output: z.ZodOptional<z.ZodString>;
|
|
5923
6295
|
outputType: z.ZodString;
|
|
@@ -5969,14 +6341,14 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
5969
6341
|
raw: string;
|
|
5970
6342
|
}>, z.ZodObject<{
|
|
5971
6343
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
5972
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
6344
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
5973
6345
|
message: z.ZodOptional<z.ZodString>;
|
|
5974
6346
|
}, "strip", z.ZodTypeAny, {
|
|
5975
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6347
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
5976
6348
|
type: "INTERNAL_ERROR";
|
|
5977
6349
|
message?: string | undefined;
|
|
5978
6350
|
}, {
|
|
5979
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6351
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
5980
6352
|
type: "INTERNAL_ERROR";
|
|
5981
6353
|
message?: string | undefined;
|
|
5982
6354
|
}>]>;
|
|
@@ -6007,7 +6379,7 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
6007
6379
|
type: "STRING_ERROR";
|
|
6008
6380
|
raw: string;
|
|
6009
6381
|
} | {
|
|
6010
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6382
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6011
6383
|
type: "INTERNAL_ERROR";
|
|
6012
6384
|
message?: string | undefined;
|
|
6013
6385
|
};
|
|
@@ -6032,7 +6404,7 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
6032
6404
|
type: "STRING_ERROR";
|
|
6033
6405
|
raw: string;
|
|
6034
6406
|
} | {
|
|
6035
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6407
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6036
6408
|
type: "INTERNAL_ERROR";
|
|
6037
6409
|
message?: string | undefined;
|
|
6038
6410
|
};
|
|
@@ -6321,7 +6693,7 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
6321
6693
|
type: "STRING_ERROR";
|
|
6322
6694
|
raw: string;
|
|
6323
6695
|
} | {
|
|
6324
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6696
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6325
6697
|
type: "INTERNAL_ERROR";
|
|
6326
6698
|
message?: string | undefined;
|
|
6327
6699
|
};
|
|
@@ -6401,7 +6773,7 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
|
|
|
6401
6773
|
type: "STRING_ERROR";
|
|
6402
6774
|
raw: string;
|
|
6403
6775
|
} | {
|
|
6404
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6776
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6405
6777
|
type: "INTERNAL_ERROR";
|
|
6406
6778
|
message?: string | undefined;
|
|
6407
6779
|
};
|
|
@@ -6476,7 +6848,7 @@ declare const clientWebsocketMessages: {
|
|
|
6476
6848
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
6477
6849
|
type: z.ZodLiteral<"TASK_RUN_COMPLETED">;
|
|
6478
6850
|
completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
6479
|
-
ok: z.ZodLiteral<true>;
|
|
6851
|
+
ok: z.ZodLiteral<true>;
|
|
6480
6852
|
id: z.ZodString;
|
|
6481
6853
|
output: z.ZodOptional<z.ZodString>;
|
|
6482
6854
|
outputType: z.ZodString;
|
|
@@ -6528,14 +6900,14 @@ declare const clientWebsocketMessages: {
|
|
|
6528
6900
|
raw: string;
|
|
6529
6901
|
}>, z.ZodObject<{
|
|
6530
6902
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
6531
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
6903
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
6532
6904
|
message: z.ZodOptional<z.ZodString>;
|
|
6533
6905
|
}, "strip", z.ZodTypeAny, {
|
|
6534
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6906
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6535
6907
|
type: "INTERNAL_ERROR";
|
|
6536
6908
|
message?: string | undefined;
|
|
6537
6909
|
}, {
|
|
6538
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6910
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6539
6911
|
type: "INTERNAL_ERROR";
|
|
6540
6912
|
message?: string | undefined;
|
|
6541
6913
|
}>]>;
|
|
@@ -6566,7 +6938,7 @@ declare const clientWebsocketMessages: {
|
|
|
6566
6938
|
type: "STRING_ERROR";
|
|
6567
6939
|
raw: string;
|
|
6568
6940
|
} | {
|
|
6569
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6941
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6570
6942
|
type: "INTERNAL_ERROR";
|
|
6571
6943
|
message?: string | undefined;
|
|
6572
6944
|
};
|
|
@@ -6591,7 +6963,7 @@ declare const clientWebsocketMessages: {
|
|
|
6591
6963
|
type: "STRING_ERROR";
|
|
6592
6964
|
raw: string;
|
|
6593
6965
|
} | {
|
|
6594
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6966
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6595
6967
|
type: "INTERNAL_ERROR";
|
|
6596
6968
|
message?: string | undefined;
|
|
6597
6969
|
};
|
|
@@ -6880,7 +7252,7 @@ declare const clientWebsocketMessages: {
|
|
|
6880
7252
|
type: "STRING_ERROR";
|
|
6881
7253
|
raw: string;
|
|
6882
7254
|
} | {
|
|
6883
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7255
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6884
7256
|
type: "INTERNAL_ERROR";
|
|
6885
7257
|
message?: string | undefined;
|
|
6886
7258
|
};
|
|
@@ -6960,7 +7332,7 @@ declare const clientWebsocketMessages: {
|
|
|
6960
7332
|
type: "STRING_ERROR";
|
|
6961
7333
|
raw: string;
|
|
6962
7334
|
} | {
|
|
6963
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7335
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
6964
7336
|
type: "INTERNAL_ERROR";
|
|
6965
7337
|
message?: string | undefined;
|
|
6966
7338
|
};
|
|
@@ -7056,7 +7428,7 @@ declare const clientWebsocketMessages: {
|
|
|
7056
7428
|
type: "STRING_ERROR";
|
|
7057
7429
|
raw: string;
|
|
7058
7430
|
} | {
|
|
7059
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7431
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7060
7432
|
type: "INTERNAL_ERROR";
|
|
7061
7433
|
message?: string | undefined;
|
|
7062
7434
|
};
|
|
@@ -7144,7 +7516,7 @@ declare const clientWebsocketMessages: {
|
|
|
7144
7516
|
type: "STRING_ERROR";
|
|
7145
7517
|
raw: string;
|
|
7146
7518
|
} | {
|
|
7147
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7519
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7148
7520
|
type: "INTERNAL_ERROR";
|
|
7149
7521
|
message?: string | undefined;
|
|
7150
7522
|
};
|
|
@@ -7516,7 +7888,7 @@ declare const workerToChildMessages: {
|
|
|
7516
7888
|
TASK_RUN_COMPLETED_NOTIFICATION: z.ZodObject<{
|
|
7517
7889
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
7518
7890
|
completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
7519
|
-
ok: z.ZodLiteral<true>;
|
|
7891
|
+
ok: z.ZodLiteral<true>;
|
|
7520
7892
|
id: z.ZodString;
|
|
7521
7893
|
output: z.ZodOptional<z.ZodString>;
|
|
7522
7894
|
outputType: z.ZodString;
|
|
@@ -7568,14 +7940,14 @@ declare const workerToChildMessages: {
|
|
|
7568
7940
|
raw: string;
|
|
7569
7941
|
}>, z.ZodObject<{
|
|
7570
7942
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
7571
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
7943
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
7572
7944
|
message: z.ZodOptional<z.ZodString>;
|
|
7573
7945
|
}, "strip", z.ZodTypeAny, {
|
|
7574
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7946
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7575
7947
|
type: "INTERNAL_ERROR";
|
|
7576
7948
|
message?: string | undefined;
|
|
7577
7949
|
}, {
|
|
7578
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7950
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7579
7951
|
type: "INTERNAL_ERROR";
|
|
7580
7952
|
message?: string | undefined;
|
|
7581
7953
|
}>]>;
|
|
@@ -7606,7 +7978,7 @@ declare const workerToChildMessages: {
|
|
|
7606
7978
|
type: "STRING_ERROR";
|
|
7607
7979
|
raw: string;
|
|
7608
7980
|
} | {
|
|
7609
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7981
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7610
7982
|
type: "INTERNAL_ERROR";
|
|
7611
7983
|
message?: string | undefined;
|
|
7612
7984
|
};
|
|
@@ -7631,7 +8003,7 @@ declare const workerToChildMessages: {
|
|
|
7631
8003
|
type: "STRING_ERROR";
|
|
7632
8004
|
raw: string;
|
|
7633
8005
|
} | {
|
|
7634
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
8006
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7635
8007
|
type: "INTERNAL_ERROR";
|
|
7636
8008
|
message?: string | undefined;
|
|
7637
8009
|
};
|
|
@@ -7919,7 +8291,7 @@ declare const workerToChildMessages: {
|
|
|
7919
8291
|
type: "STRING_ERROR";
|
|
7920
8292
|
raw: string;
|
|
7921
8293
|
} | {
|
|
7922
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
8294
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
7923
8295
|
type: "INTERNAL_ERROR";
|
|
7924
8296
|
message?: string | undefined;
|
|
7925
8297
|
};
|
|
@@ -7998,7 +8370,7 @@ declare const workerToChildMessages: {
|
|
|
7998
8370
|
type: "STRING_ERROR";
|
|
7999
8371
|
raw: string;
|
|
8000
8372
|
} | {
|
|
8001
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
8373
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
8002
8374
|
type: "INTERNAL_ERROR";
|
|
8003
8375
|
message?: string | undefined;
|
|
8004
8376
|
};
|
|
@@ -8506,7 +8878,6 @@ declare const QueueOptions: z.ZodObject<{
|
|
|
8506
8878
|
type QueueOptions = z.infer<typeof QueueOptions>;
|
|
8507
8879
|
declare const TaskMetadata: z.ZodObject<{
|
|
8508
8880
|
id: z.ZodString;
|
|
8509
|
-
exportName: z.ZodString;
|
|
8510
8881
|
packageVersion: z.ZodString;
|
|
8511
8882
|
queue: z.ZodOptional<z.ZodObject<{
|
|
8512
8883
|
/** You can define a shared queue and then pass the name in to your task.
|
|
@@ -8771,9 +9142,9 @@ declare const TaskMetadata: z.ZodObject<{
|
|
|
8771
9142
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
8772
9143
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
8773
9144
|
}>>;
|
|
9145
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
8774
9146
|
}, "strip", z.ZodTypeAny, {
|
|
8775
9147
|
id: string;
|
|
8776
|
-
exportName: string;
|
|
8777
9148
|
packageVersion: string;
|
|
8778
9149
|
queue?: {
|
|
8779
9150
|
name?: string | undefined;
|
|
@@ -8824,9 +9195,9 @@ declare const TaskMetadata: z.ZodObject<{
|
|
|
8824
9195
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
8825
9196
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
8826
9197
|
} | undefined;
|
|
9198
|
+
triggerSource?: string | undefined;
|
|
8827
9199
|
}, {
|
|
8828
9200
|
id: string;
|
|
8829
|
-
exportName: string;
|
|
8830
9201
|
packageVersion: string;
|
|
8831
9202
|
queue?: {
|
|
8832
9203
|
name?: string | undefined;
|
|
@@ -8877,11 +9248,22 @@ declare const TaskMetadata: z.ZodObject<{
|
|
|
8877
9248
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
8878
9249
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
8879
9250
|
} | undefined;
|
|
9251
|
+
triggerSource?: string | undefined;
|
|
8880
9252
|
}>;
|
|
8881
9253
|
type TaskMetadata = z.infer<typeof TaskMetadata>;
|
|
9254
|
+
declare const TaskFileMetadata: z.ZodObject<{
|
|
9255
|
+
filePath: z.ZodString;
|
|
9256
|
+
exportName: z.ZodString;
|
|
9257
|
+
}, "strip", z.ZodTypeAny, {
|
|
9258
|
+
filePath: string;
|
|
9259
|
+
exportName: string;
|
|
9260
|
+
}, {
|
|
9261
|
+
filePath: string;
|
|
9262
|
+
exportName: string;
|
|
9263
|
+
}>;
|
|
9264
|
+
type TaskFileMetadata = z.infer<typeof TaskFileMetadata>;
|
|
8882
9265
|
declare const TaskMetadataWithFilePath: z.ZodObject<{
|
|
8883
9266
|
id: z.ZodString;
|
|
8884
|
-
exportName: z.ZodString;
|
|
8885
9267
|
queue: z.ZodOptional<z.ZodObject<{
|
|
8886
9268
|
/** You can define a shared queue and then pass the name in to your task.
|
|
8887
9269
|
*
|
|
@@ -9132,6 +9514,7 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
|
|
|
9132
9514
|
maxTimeoutInMs?: number | undefined;
|
|
9133
9515
|
randomize?: boolean | undefined;
|
|
9134
9516
|
}>>;
|
|
9517
|
+
packageVersion: z.ZodString;
|
|
9135
9518
|
machine: z.ZodOptional<z.ZodObject<{
|
|
9136
9519
|
version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
|
|
9137
9520
|
cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
|
|
@@ -9145,8 +9528,9 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
|
|
|
9145
9528
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
9146
9529
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
9147
9530
|
}>>;
|
|
9148
|
-
|
|
9531
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
9149
9532
|
filePath: z.ZodString;
|
|
9533
|
+
exportName: z.ZodString;
|
|
9150
9534
|
}, "strip", z.ZodTypeAny, {
|
|
9151
9535
|
id: string;
|
|
9152
9536
|
filePath: string;
|
|
@@ -9201,6 +9585,7 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
|
|
|
9201
9585
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
9202
9586
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
9203
9587
|
} | undefined;
|
|
9588
|
+
triggerSource?: string | undefined;
|
|
9204
9589
|
}, {
|
|
9205
9590
|
id: string;
|
|
9206
9591
|
filePath: string;
|
|
@@ -9255,6 +9640,7 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
|
|
|
9255
9640
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
9256
9641
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
9257
9642
|
} | undefined;
|
|
9643
|
+
triggerSource?: string | undefined;
|
|
9258
9644
|
}>;
|
|
9259
9645
|
type TaskMetadataWithFilePath = z.infer<typeof TaskMetadataWithFilePath>;
|
|
9260
9646
|
declare const UncaughtExceptionMessage: z.ZodObject<{
|
|
@@ -9520,7 +9906,7 @@ declare const childToWorkerMessages: {
|
|
|
9520
9906
|
} | undefined;
|
|
9521
9907
|
}>;
|
|
9522
9908
|
result: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
9523
|
-
ok: z.ZodLiteral<true>;
|
|
9909
|
+
ok: z.ZodLiteral<true>;
|
|
9524
9910
|
id: z.ZodString;
|
|
9525
9911
|
output: z.ZodOptional<z.ZodString>;
|
|
9526
9912
|
outputType: z.ZodString;
|
|
@@ -9572,14 +9958,14 @@ declare const childToWorkerMessages: {
|
|
|
9572
9958
|
raw: string;
|
|
9573
9959
|
}>, z.ZodObject<{
|
|
9574
9960
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
9575
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
9961
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
9576
9962
|
message: z.ZodOptional<z.ZodString>;
|
|
9577
9963
|
}, "strip", z.ZodTypeAny, {
|
|
9578
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9964
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9579
9965
|
type: "INTERNAL_ERROR";
|
|
9580
9966
|
message?: string | undefined;
|
|
9581
9967
|
}, {
|
|
9582
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9968
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9583
9969
|
type: "INTERNAL_ERROR";
|
|
9584
9970
|
message?: string | undefined;
|
|
9585
9971
|
}>]>;
|
|
@@ -9610,7 +9996,7 @@ declare const childToWorkerMessages: {
|
|
|
9610
9996
|
type: "STRING_ERROR";
|
|
9611
9997
|
raw: string;
|
|
9612
9998
|
} | {
|
|
9613
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9999
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9614
10000
|
type: "INTERNAL_ERROR";
|
|
9615
10001
|
message?: string | undefined;
|
|
9616
10002
|
};
|
|
@@ -9635,7 +10021,7 @@ declare const childToWorkerMessages: {
|
|
|
9635
10021
|
type: "STRING_ERROR";
|
|
9636
10022
|
raw: string;
|
|
9637
10023
|
} | {
|
|
9638
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10024
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9639
10025
|
type: "INTERNAL_ERROR";
|
|
9640
10026
|
message?: string | undefined;
|
|
9641
10027
|
};
|
|
@@ -9710,7 +10096,7 @@ declare const childToWorkerMessages: {
|
|
|
9710
10096
|
type: "STRING_ERROR";
|
|
9711
10097
|
raw: string;
|
|
9712
10098
|
} | {
|
|
9713
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10099
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9714
10100
|
type: "INTERNAL_ERROR";
|
|
9715
10101
|
message?: string | undefined;
|
|
9716
10102
|
};
|
|
@@ -9789,7 +10175,7 @@ declare const childToWorkerMessages: {
|
|
|
9789
10175
|
type: "STRING_ERROR";
|
|
9790
10176
|
raw: string;
|
|
9791
10177
|
} | {
|
|
9792
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10178
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
9793
10179
|
type: "INTERNAL_ERROR";
|
|
9794
10180
|
message?: string | undefined;
|
|
9795
10181
|
};
|
|
@@ -9813,7 +10199,6 @@ declare const childToWorkerMessages: {
|
|
|
9813
10199
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
9814
10200
|
tasks: z.ZodArray<z.ZodObject<{
|
|
9815
10201
|
id: z.ZodString;
|
|
9816
|
-
exportName: z.ZodString;
|
|
9817
10202
|
queue: z.ZodOptional<z.ZodObject<{
|
|
9818
10203
|
/** You can define a shared queue and then pass the name in to your task.
|
|
9819
10204
|
*
|
|
@@ -10064,6 +10449,7 @@ declare const childToWorkerMessages: {
|
|
|
10064
10449
|
maxTimeoutInMs?: number | undefined;
|
|
10065
10450
|
randomize?: boolean | undefined;
|
|
10066
10451
|
}>>;
|
|
10452
|
+
packageVersion: z.ZodString;
|
|
10067
10453
|
machine: z.ZodOptional<z.ZodObject<{
|
|
10068
10454
|
version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
|
|
10069
10455
|
cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
|
|
@@ -10077,8 +10463,9 @@ declare const childToWorkerMessages: {
|
|
|
10077
10463
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
10078
10464
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
10079
10465
|
}>>;
|
|
10080
|
-
|
|
10466
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
10081
10467
|
filePath: z.ZodString;
|
|
10468
|
+
exportName: z.ZodString;
|
|
10082
10469
|
}, "strip", z.ZodTypeAny, {
|
|
10083
10470
|
id: string;
|
|
10084
10471
|
filePath: string;
|
|
@@ -10133,6 +10520,7 @@ declare const childToWorkerMessages: {
|
|
|
10133
10520
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
10134
10521
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
10135
10522
|
} | undefined;
|
|
10523
|
+
triggerSource?: string | undefined;
|
|
10136
10524
|
}, {
|
|
10137
10525
|
id: string;
|
|
10138
10526
|
filePath: string;
|
|
@@ -10187,6 +10575,7 @@ declare const childToWorkerMessages: {
|
|
|
10187
10575
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
10188
10576
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
10189
10577
|
} | undefined;
|
|
10578
|
+
triggerSource?: string | undefined;
|
|
10190
10579
|
}>, "many">;
|
|
10191
10580
|
}, "strip", z.ZodTypeAny, {
|
|
10192
10581
|
version: "v1";
|
|
@@ -10244,6 +10633,7 @@ declare const childToWorkerMessages: {
|
|
|
10244
10633
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
10245
10634
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
10246
10635
|
} | undefined;
|
|
10636
|
+
triggerSource?: string | undefined;
|
|
10247
10637
|
}[];
|
|
10248
10638
|
}, {
|
|
10249
10639
|
tasks: {
|
|
@@ -10300,6 +10690,7 @@ declare const childToWorkerMessages: {
|
|
|
10300
10690
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
10301
10691
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
10302
10692
|
} | undefined;
|
|
10693
|
+
triggerSource?: string | undefined;
|
|
10303
10694
|
}[];
|
|
10304
10695
|
version?: "v1" | undefined;
|
|
10305
10696
|
}>;
|
|
@@ -10612,7 +11003,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
10612
11003
|
} | undefined;
|
|
10613
11004
|
}>;
|
|
10614
11005
|
result: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
10615
|
-
ok: z.ZodLiteral<true>;
|
|
11006
|
+
ok: z.ZodLiteral<true>;
|
|
10616
11007
|
id: z.ZodString;
|
|
10617
11008
|
output: z.ZodOptional<z.ZodString>;
|
|
10618
11009
|
outputType: z.ZodString;
|
|
@@ -10664,14 +11055,14 @@ declare const ProdChildToWorkerMessages: {
|
|
|
10664
11055
|
raw: string;
|
|
10665
11056
|
}>, z.ZodObject<{
|
|
10666
11057
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
10667
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
11058
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
10668
11059
|
message: z.ZodOptional<z.ZodString>;
|
|
10669
11060
|
}, "strip", z.ZodTypeAny, {
|
|
10670
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11061
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10671
11062
|
type: "INTERNAL_ERROR";
|
|
10672
11063
|
message?: string | undefined;
|
|
10673
11064
|
}, {
|
|
10674
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11065
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10675
11066
|
type: "INTERNAL_ERROR";
|
|
10676
11067
|
message?: string | undefined;
|
|
10677
11068
|
}>]>;
|
|
@@ -10702,7 +11093,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
10702
11093
|
type: "STRING_ERROR";
|
|
10703
11094
|
raw: string;
|
|
10704
11095
|
} | {
|
|
10705
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11096
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10706
11097
|
type: "INTERNAL_ERROR";
|
|
10707
11098
|
message?: string | undefined;
|
|
10708
11099
|
};
|
|
@@ -10727,7 +11118,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
10727
11118
|
type: "STRING_ERROR";
|
|
10728
11119
|
raw: string;
|
|
10729
11120
|
} | {
|
|
10730
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11121
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10731
11122
|
type: "INTERNAL_ERROR";
|
|
10732
11123
|
message?: string | undefined;
|
|
10733
11124
|
};
|
|
@@ -10802,7 +11193,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
10802
11193
|
type: "STRING_ERROR";
|
|
10803
11194
|
raw: string;
|
|
10804
11195
|
} | {
|
|
10805
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11196
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10806
11197
|
type: "INTERNAL_ERROR";
|
|
10807
11198
|
message?: string | undefined;
|
|
10808
11199
|
};
|
|
@@ -10881,7 +11272,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
10881
11272
|
type: "STRING_ERROR";
|
|
10882
11273
|
raw: string;
|
|
10883
11274
|
} | {
|
|
10884
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11275
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
10885
11276
|
type: "INTERNAL_ERROR";
|
|
10886
11277
|
message?: string | undefined;
|
|
10887
11278
|
};
|
|
@@ -10907,7 +11298,6 @@ declare const ProdChildToWorkerMessages: {
|
|
|
10907
11298
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
10908
11299
|
tasks: z.ZodArray<z.ZodObject<{
|
|
10909
11300
|
id: z.ZodString;
|
|
10910
|
-
exportName: z.ZodString;
|
|
10911
11301
|
queue: z.ZodOptional<z.ZodObject<{
|
|
10912
11302
|
/** You can define a shared queue and then pass the name in to your task.
|
|
10913
11303
|
*
|
|
@@ -11158,6 +11548,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
11158
11548
|
maxTimeoutInMs?: number | undefined;
|
|
11159
11549
|
randomize?: boolean | undefined;
|
|
11160
11550
|
}>>;
|
|
11551
|
+
packageVersion: z.ZodString;
|
|
11161
11552
|
machine: z.ZodOptional<z.ZodObject<{
|
|
11162
11553
|
version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
|
|
11163
11554
|
cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
|
|
@@ -11171,8 +11562,9 @@ declare const ProdChildToWorkerMessages: {
|
|
|
11171
11562
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
11172
11563
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
11173
11564
|
}>>;
|
|
11174
|
-
|
|
11565
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
11175
11566
|
filePath: z.ZodString;
|
|
11567
|
+
exportName: z.ZodString;
|
|
11176
11568
|
}, "strip", z.ZodTypeAny, {
|
|
11177
11569
|
id: string;
|
|
11178
11570
|
filePath: string;
|
|
@@ -11227,6 +11619,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
11227
11619
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
11228
11620
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
11229
11621
|
} | undefined;
|
|
11622
|
+
triggerSource?: string | undefined;
|
|
11230
11623
|
}, {
|
|
11231
11624
|
id: string;
|
|
11232
11625
|
filePath: string;
|
|
@@ -11281,6 +11674,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
11281
11674
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
11282
11675
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
11283
11676
|
} | undefined;
|
|
11677
|
+
triggerSource?: string | undefined;
|
|
11284
11678
|
}>, "many">;
|
|
11285
11679
|
}, "strip", z.ZodTypeAny, {
|
|
11286
11680
|
version: "v1";
|
|
@@ -11338,6 +11732,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
11338
11732
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
11339
11733
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
11340
11734
|
} | undefined;
|
|
11735
|
+
triggerSource?: string | undefined;
|
|
11341
11736
|
}[];
|
|
11342
11737
|
}, {
|
|
11343
11738
|
tasks: {
|
|
@@ -11394,6 +11789,7 @@ declare const ProdChildToWorkerMessages: {
|
|
|
11394
11789
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
11395
11790
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
11396
11791
|
} | undefined;
|
|
11792
|
+
triggerSource?: string | undefined;
|
|
11397
11793
|
}[];
|
|
11398
11794
|
version?: "v1" | undefined;
|
|
11399
11795
|
}>;
|
|
@@ -11878,7 +12274,7 @@ declare const ProdWorkerToChildMessages: {
|
|
|
11878
12274
|
message: z.ZodObject<{
|
|
11879
12275
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
11880
12276
|
completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
11881
|
-
ok: z.ZodLiteral<true>;
|
|
12277
|
+
ok: z.ZodLiteral<true>;
|
|
11882
12278
|
id: z.ZodString;
|
|
11883
12279
|
output: z.ZodOptional<z.ZodString>;
|
|
11884
12280
|
outputType: z.ZodString;
|
|
@@ -11930,14 +12326,14 @@ declare const ProdWorkerToChildMessages: {
|
|
|
11930
12326
|
raw: string;
|
|
11931
12327
|
}>, z.ZodObject<{
|
|
11932
12328
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
11933
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
12329
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
11934
12330
|
message: z.ZodOptional<z.ZodString>;
|
|
11935
12331
|
}, "strip", z.ZodTypeAny, {
|
|
11936
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12332
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11937
12333
|
type: "INTERNAL_ERROR";
|
|
11938
12334
|
message?: string | undefined;
|
|
11939
12335
|
}, {
|
|
11940
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12336
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11941
12337
|
type: "INTERNAL_ERROR";
|
|
11942
12338
|
message?: string | undefined;
|
|
11943
12339
|
}>]>;
|
|
@@ -11968,7 +12364,7 @@ declare const ProdWorkerToChildMessages: {
|
|
|
11968
12364
|
type: "STRING_ERROR";
|
|
11969
12365
|
raw: string;
|
|
11970
12366
|
} | {
|
|
11971
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12367
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11972
12368
|
type: "INTERNAL_ERROR";
|
|
11973
12369
|
message?: string | undefined;
|
|
11974
12370
|
};
|
|
@@ -11993,7 +12389,7 @@ declare const ProdWorkerToChildMessages: {
|
|
|
11993
12389
|
type: "STRING_ERROR";
|
|
11994
12390
|
raw: string;
|
|
11995
12391
|
} | {
|
|
11996
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12392
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
11997
12393
|
type: "INTERNAL_ERROR";
|
|
11998
12394
|
message?: string | undefined;
|
|
11999
12395
|
};
|
|
@@ -12281,7 +12677,7 @@ declare const ProdWorkerToChildMessages: {
|
|
|
12281
12677
|
type: "STRING_ERROR";
|
|
12282
12678
|
raw: string;
|
|
12283
12679
|
} | {
|
|
12284
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12680
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12285
12681
|
type: "INTERNAL_ERROR";
|
|
12286
12682
|
message?: string | undefined;
|
|
12287
12683
|
};
|
|
@@ -12360,7 +12756,7 @@ declare const ProdWorkerToChildMessages: {
|
|
|
12360
12756
|
type: "STRING_ERROR";
|
|
12361
12757
|
raw: string;
|
|
12362
12758
|
} | {
|
|
12363
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12759
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
12364
12760
|
type: "INTERNAL_ERROR";
|
|
12365
12761
|
message?: string | undefined;
|
|
12366
12762
|
};
|
|
@@ -12497,6 +12893,10 @@ interface ProjectConfig {
|
|
|
12497
12893
|
* @default "log"
|
|
12498
12894
|
*/
|
|
12499
12895
|
logLevel?: LogLevel$1;
|
|
12896
|
+
/**
|
|
12897
|
+
* Enable console logging while running the dev CLI. This will print out logs from console.log, console.warn, and console.error. By default all logs are sent to the trigger.dev backend, and not logged to the console.
|
|
12898
|
+
*/
|
|
12899
|
+
enableConsoleLogging?: boolean;
|
|
12500
12900
|
}
|
|
12501
12901
|
|
|
12502
12902
|
type InitOutput = Record<string, any> | void | undefined;
|
|
@@ -12537,7 +12937,7 @@ type HandleErrorArgs = {
|
|
|
12537
12937
|
retryDelayInMs?: number;
|
|
12538
12938
|
};
|
|
12539
12939
|
type HandleErrorFunction = (payload: any, error: unknown, params: HandleErrorArgs) => HandleErrorResult;
|
|
12540
|
-
type TaskMetadataWithFunctions =
|
|
12940
|
+
type TaskMetadataWithFunctions = TaskMetadata & {
|
|
12541
12941
|
fns: {
|
|
12542
12942
|
run: (payload: any, params: RunFnParams<any>) => Promise<any>;
|
|
12543
12943
|
init?: (payload: any, params: InitFnParams) => Promise<InitOutput>;
|
|
@@ -12601,6 +13001,7 @@ declare const Config: z.ZodObject<{
|
|
|
12601
13001
|
additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12602
13002
|
dependenciesToBundle: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
|
|
12603
13003
|
logLevel: z.ZodOptional<z.ZodString>;
|
|
13004
|
+
enableConsoleLogging: z.ZodOptional<z.ZodBoolean>;
|
|
12604
13005
|
}, "strip", z.ZodTypeAny, {
|
|
12605
13006
|
project: string;
|
|
12606
13007
|
triggerDirectories?: string[] | undefined;
|
|
@@ -12621,6 +13022,7 @@ declare const Config: z.ZodObject<{
|
|
|
12621
13022
|
additionalFiles?: string[] | undefined;
|
|
12622
13023
|
dependenciesToBundle?: (string | RegExp)[] | undefined;
|
|
12623
13024
|
logLevel?: string | undefined;
|
|
13025
|
+
enableConsoleLogging?: boolean | undefined;
|
|
12624
13026
|
}, {
|
|
12625
13027
|
project: string;
|
|
12626
13028
|
triggerDirectories?: string[] | undefined;
|
|
@@ -12641,6 +13043,7 @@ declare const Config: z.ZodObject<{
|
|
|
12641
13043
|
additionalFiles?: string[] | undefined;
|
|
12642
13044
|
dependenciesToBundle?: (string | RegExp)[] | undefined;
|
|
12643
13045
|
logLevel?: string | undefined;
|
|
13046
|
+
enableConsoleLogging?: boolean | undefined;
|
|
12644
13047
|
}>;
|
|
12645
13048
|
type Config = z.infer<typeof Config>;
|
|
12646
13049
|
type ResolvedConfig = RequireKeys<Config, "triggerDirectories" | "triggerUrl" | "projectDir" | "tsconfigPath">;
|
|
@@ -13168,6 +13571,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13168
13571
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
13169
13572
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
13170
13573
|
}>>;
|
|
13574
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
13171
13575
|
}, "strip", z.ZodTypeAny, {
|
|
13172
13576
|
id: string;
|
|
13173
13577
|
filePath: string;
|
|
@@ -13221,6 +13625,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13221
13625
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
13222
13626
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
13223
13627
|
} | undefined;
|
|
13628
|
+
triggerSource?: string | undefined;
|
|
13224
13629
|
}, {
|
|
13225
13630
|
id: string;
|
|
13226
13631
|
filePath: string;
|
|
@@ -13274,10 +13679,11 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13274
13679
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
13275
13680
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
13276
13681
|
} | undefined;
|
|
13682
|
+
triggerSource?: string | undefined;
|
|
13277
13683
|
}>, "many">;
|
|
13278
13684
|
}, "strip", z.ZodTypeAny, {
|
|
13279
|
-
contentHash: string;
|
|
13280
13685
|
packageVersion: string;
|
|
13686
|
+
contentHash: string;
|
|
13281
13687
|
tasks: {
|
|
13282
13688
|
id: string;
|
|
13283
13689
|
filePath: string;
|
|
@@ -13331,11 +13737,12 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13331
13737
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
13332
13738
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
13333
13739
|
} | undefined;
|
|
13740
|
+
triggerSource?: string | undefined;
|
|
13334
13741
|
}[];
|
|
13335
13742
|
cliPackageVersion?: string | undefined;
|
|
13336
13743
|
}, {
|
|
13337
|
-
contentHash: string;
|
|
13338
13744
|
packageVersion: string;
|
|
13745
|
+
contentHash: string;
|
|
13339
13746
|
tasks: {
|
|
13340
13747
|
id: string;
|
|
13341
13748
|
filePath: string;
|
|
@@ -13389,6 +13796,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13389
13796
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
13390
13797
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
13391
13798
|
} | undefined;
|
|
13799
|
+
triggerSource?: string | undefined;
|
|
13392
13800
|
}[];
|
|
13393
13801
|
cliPackageVersion?: string | undefined;
|
|
13394
13802
|
}>;
|
|
@@ -13396,8 +13804,8 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13396
13804
|
version: "v1";
|
|
13397
13805
|
envId: string;
|
|
13398
13806
|
metadata: {
|
|
13399
|
-
contentHash: string;
|
|
13400
13807
|
packageVersion: string;
|
|
13808
|
+
contentHash: string;
|
|
13401
13809
|
tasks: {
|
|
13402
13810
|
id: string;
|
|
13403
13811
|
filePath: string;
|
|
@@ -13451,6 +13859,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13451
13859
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
13452
13860
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
13453
13861
|
} | undefined;
|
|
13862
|
+
triggerSource?: string | undefined;
|
|
13454
13863
|
}[];
|
|
13455
13864
|
cliPackageVersion?: string | undefined;
|
|
13456
13865
|
};
|
|
@@ -13459,8 +13868,8 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13459
13868
|
}, {
|
|
13460
13869
|
envId: string;
|
|
13461
13870
|
metadata: {
|
|
13462
|
-
contentHash: string;
|
|
13463
13871
|
packageVersion: string;
|
|
13872
|
+
contentHash: string;
|
|
13464
13873
|
tasks: {
|
|
13465
13874
|
id: string;
|
|
13466
13875
|
filePath: string;
|
|
@@ -13514,6 +13923,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
13514
13923
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
13515
13924
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
13516
13925
|
} | undefined;
|
|
13926
|
+
triggerSource?: string | undefined;
|
|
13517
13927
|
}[];
|
|
13518
13928
|
cliPackageVersion?: string | undefined;
|
|
13519
13929
|
};
|
|
@@ -14332,14 +14742,14 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
14332
14742
|
raw: string;
|
|
14333
14743
|
}>, z.ZodObject<{
|
|
14334
14744
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
14335
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
14745
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
14336
14746
|
message: z.ZodOptional<z.ZodString>;
|
|
14337
14747
|
}, "strip", z.ZodTypeAny, {
|
|
14338
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14748
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14339
14749
|
type: "INTERNAL_ERROR";
|
|
14340
14750
|
message?: string | undefined;
|
|
14341
14751
|
}, {
|
|
14342
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14752
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14343
14753
|
type: "INTERNAL_ERROR";
|
|
14344
14754
|
message?: string | undefined;
|
|
14345
14755
|
}>]>;
|
|
@@ -14370,7 +14780,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
14370
14780
|
type: "STRING_ERROR";
|
|
14371
14781
|
raw: string;
|
|
14372
14782
|
} | {
|
|
14373
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14783
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14374
14784
|
type: "INTERNAL_ERROR";
|
|
14375
14785
|
message?: string | undefined;
|
|
14376
14786
|
};
|
|
@@ -14395,7 +14805,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
14395
14805
|
type: "STRING_ERROR";
|
|
14396
14806
|
raw: string;
|
|
14397
14807
|
} | {
|
|
14398
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14808
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14399
14809
|
type: "INTERNAL_ERROR";
|
|
14400
14810
|
message?: string | undefined;
|
|
14401
14811
|
};
|
|
@@ -14485,7 +14895,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
14485
14895
|
type: "STRING_ERROR";
|
|
14486
14896
|
raw: string;
|
|
14487
14897
|
} | {
|
|
14488
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14898
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14489
14899
|
type: "INTERNAL_ERROR";
|
|
14490
14900
|
message?: string | undefined;
|
|
14491
14901
|
};
|
|
@@ -14573,7 +14983,7 @@ declare const CoordinatorToPlatformMessages: {
|
|
|
14573
14983
|
type: "STRING_ERROR";
|
|
14574
14984
|
raw: string;
|
|
14575
14985
|
} | {
|
|
14576
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14986
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14577
14987
|
type: "INTERNAL_ERROR";
|
|
14578
14988
|
message?: string | undefined;
|
|
14579
14989
|
};
|
|
@@ -14797,14 +15207,14 @@ declare const PlatformToCoordinatorMessages: {
|
|
|
14797
15207
|
raw: string;
|
|
14798
15208
|
}>, z.ZodObject<{
|
|
14799
15209
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
14800
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
15210
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
14801
15211
|
message: z.ZodOptional<z.ZodString>;
|
|
14802
15212
|
}, "strip", z.ZodTypeAny, {
|
|
14803
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15213
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14804
15214
|
type: "INTERNAL_ERROR";
|
|
14805
15215
|
message?: string | undefined;
|
|
14806
15216
|
}, {
|
|
14807
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15217
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14808
15218
|
type: "INTERNAL_ERROR";
|
|
14809
15219
|
message?: string | undefined;
|
|
14810
15220
|
}>]>;
|
|
@@ -14835,7 +15245,7 @@ declare const PlatformToCoordinatorMessages: {
|
|
|
14835
15245
|
type: "STRING_ERROR";
|
|
14836
15246
|
raw: string;
|
|
14837
15247
|
} | {
|
|
14838
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15248
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14839
15249
|
type: "INTERNAL_ERROR";
|
|
14840
15250
|
message?: string | undefined;
|
|
14841
15251
|
};
|
|
@@ -14860,7 +15270,7 @@ declare const PlatformToCoordinatorMessages: {
|
|
|
14860
15270
|
type: "STRING_ERROR";
|
|
14861
15271
|
raw: string;
|
|
14862
15272
|
} | {
|
|
14863
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15273
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
14864
15274
|
type: "INTERNAL_ERROR";
|
|
14865
15275
|
message?: string | undefined;
|
|
14866
15276
|
};
|
|
@@ -15104,7 +15514,7 @@ declare const PlatformToCoordinatorMessages: {
|
|
|
15104
15514
|
type: "STRING_ERROR";
|
|
15105
15515
|
raw: string;
|
|
15106
15516
|
} | {
|
|
15107
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15517
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15108
15518
|
type: "INTERNAL_ERROR";
|
|
15109
15519
|
message?: string | undefined;
|
|
15110
15520
|
};
|
|
@@ -15186,7 +15596,7 @@ declare const PlatformToCoordinatorMessages: {
|
|
|
15186
15596
|
type: "STRING_ERROR";
|
|
15187
15597
|
raw: string;
|
|
15188
15598
|
} | {
|
|
15189
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15599
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15190
15600
|
type: "INTERNAL_ERROR";
|
|
15191
15601
|
message?: string | undefined;
|
|
15192
15602
|
};
|
|
@@ -15382,14 +15792,14 @@ declare const ClientToSharedQueueMessages: {
|
|
|
15382
15792
|
raw: string;
|
|
15383
15793
|
}>, z.ZodObject<{
|
|
15384
15794
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
15385
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
15795
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
15386
15796
|
message: z.ZodOptional<z.ZodString>;
|
|
15387
15797
|
}, "strip", z.ZodTypeAny, {
|
|
15388
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15798
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15389
15799
|
type: "INTERNAL_ERROR";
|
|
15390
15800
|
message?: string | undefined;
|
|
15391
15801
|
}, {
|
|
15392
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15802
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15393
15803
|
type: "INTERNAL_ERROR";
|
|
15394
15804
|
message?: string | undefined;
|
|
15395
15805
|
}>]>;
|
|
@@ -15420,7 +15830,7 @@ declare const ClientToSharedQueueMessages: {
|
|
|
15420
15830
|
type: "STRING_ERROR";
|
|
15421
15831
|
raw: string;
|
|
15422
15832
|
} | {
|
|
15423
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15833
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15424
15834
|
type: "INTERNAL_ERROR";
|
|
15425
15835
|
message?: string | undefined;
|
|
15426
15836
|
};
|
|
@@ -15445,7 +15855,7 @@ declare const ClientToSharedQueueMessages: {
|
|
|
15445
15855
|
type: "STRING_ERROR";
|
|
15446
15856
|
raw: string;
|
|
15447
15857
|
} | {
|
|
15448
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15858
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15449
15859
|
type: "INTERNAL_ERROR";
|
|
15450
15860
|
message?: string | undefined;
|
|
15451
15861
|
};
|
|
@@ -15734,7 +16144,7 @@ declare const ClientToSharedQueueMessages: {
|
|
|
15734
16144
|
type: "STRING_ERROR";
|
|
15735
16145
|
raw: string;
|
|
15736
16146
|
} | {
|
|
15737
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
16147
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15738
16148
|
type: "INTERNAL_ERROR";
|
|
15739
16149
|
message?: string | undefined;
|
|
15740
16150
|
};
|
|
@@ -15814,7 +16224,7 @@ declare const ClientToSharedQueueMessages: {
|
|
|
15814
16224
|
type: "STRING_ERROR";
|
|
15815
16225
|
raw: string;
|
|
15816
16226
|
} | {
|
|
15817
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
16227
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15818
16228
|
type: "INTERNAL_ERROR";
|
|
15819
16229
|
message?: string | undefined;
|
|
15820
16230
|
};
|
|
@@ -15910,7 +16320,7 @@ declare const ClientToSharedQueueMessages: {
|
|
|
15910
16320
|
type: "STRING_ERROR";
|
|
15911
16321
|
raw: string;
|
|
15912
16322
|
} | {
|
|
15913
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
16323
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
15914
16324
|
type: "INTERNAL_ERROR";
|
|
15915
16325
|
message?: string | undefined;
|
|
15916
16326
|
};
|
|
@@ -15998,7 +16408,7 @@ declare const ClientToSharedQueueMessages: {
|
|
|
15998
16408
|
type: "STRING_ERROR";
|
|
15999
16409
|
raw: string;
|
|
16000
16410
|
} | {
|
|
16001
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
16411
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
16002
16412
|
type: "INTERNAL_ERROR";
|
|
16003
16413
|
message?: string | undefined;
|
|
16004
16414
|
};
|
|
@@ -16508,12 +16918,12 @@ declare const SharedQueueToClientMessages: {
|
|
|
16508
16918
|
type: "SCHEDULE_ATTEMPT";
|
|
16509
16919
|
id: string;
|
|
16510
16920
|
version: string;
|
|
16511
|
-
image: string;
|
|
16512
16921
|
machine: {
|
|
16513
16922
|
version: "v1";
|
|
16514
16923
|
cpu: 2 | 1 | 4 | 0.25 | 0.5;
|
|
16515
16924
|
memory: 2 | 1 | 4 | 0.25 | 0.5 | 8;
|
|
16516
16925
|
};
|
|
16926
|
+
image: string;
|
|
16517
16927
|
envId: string;
|
|
16518
16928
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
16519
16929
|
orgId: string;
|
|
@@ -16523,12 +16933,12 @@ declare const SharedQueueToClientMessages: {
|
|
|
16523
16933
|
type: "SCHEDULE_ATTEMPT";
|
|
16524
16934
|
id: string;
|
|
16525
16935
|
version: string;
|
|
16526
|
-
image: string;
|
|
16527
16936
|
machine: {
|
|
16528
16937
|
version?: "v1" | undefined;
|
|
16529
16938
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
16530
16939
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
16531
16940
|
};
|
|
16941
|
+
image: string;
|
|
16532
16942
|
envId: string;
|
|
16533
16943
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
16534
16944
|
orgId: string;
|
|
@@ -16597,12 +17007,12 @@ declare const SharedQueueToClientMessages: {
|
|
|
16597
17007
|
type: "SCHEDULE_ATTEMPT";
|
|
16598
17008
|
id: string;
|
|
16599
17009
|
version: string;
|
|
16600
|
-
image: string;
|
|
16601
17010
|
machine: {
|
|
16602
17011
|
version: "v1";
|
|
16603
17012
|
cpu: 2 | 1 | 4 | 0.25 | 0.5;
|
|
16604
17013
|
memory: 2 | 1 | 4 | 0.25 | 0.5 | 8;
|
|
16605
17014
|
};
|
|
17015
|
+
image: string;
|
|
16606
17016
|
envId: string;
|
|
16607
17017
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
16608
17018
|
orgId: string;
|
|
@@ -16673,12 +17083,12 @@ declare const SharedQueueToClientMessages: {
|
|
|
16673
17083
|
type: "SCHEDULE_ATTEMPT";
|
|
16674
17084
|
id: string;
|
|
16675
17085
|
version: string;
|
|
16676
|
-
image: string;
|
|
16677
17086
|
machine: {
|
|
16678
17087
|
version?: "v1" | undefined;
|
|
16679
17088
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
16680
17089
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
16681
17090
|
};
|
|
17091
|
+
image: string;
|
|
16682
17092
|
envId: string;
|
|
16683
17093
|
envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
16684
17094
|
orgId: string;
|
|
@@ -16929,6 +17339,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
16929
17339
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
16930
17340
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
16931
17341
|
}>>;
|
|
17342
|
+
triggerSource: z.ZodOptional<z.ZodString>;
|
|
16932
17343
|
}, "strip", z.ZodTypeAny, {
|
|
16933
17344
|
id: string;
|
|
16934
17345
|
filePath: string;
|
|
@@ -16982,6 +17393,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
16982
17393
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
16983
17394
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
16984
17395
|
} | undefined;
|
|
17396
|
+
triggerSource?: string | undefined;
|
|
16985
17397
|
}, {
|
|
16986
17398
|
id: string;
|
|
16987
17399
|
filePath: string;
|
|
@@ -17035,11 +17447,12 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17035
17447
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
17036
17448
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
17037
17449
|
} | undefined;
|
|
17450
|
+
triggerSource?: string | undefined;
|
|
17038
17451
|
}>, "many">;
|
|
17039
17452
|
packageVersion: z.ZodString;
|
|
17040
17453
|
}, "strip", z.ZodTypeAny, {
|
|
17041
|
-
version: "v1";
|
|
17042
17454
|
packageVersion: string;
|
|
17455
|
+
version: "v1";
|
|
17043
17456
|
tasks: {
|
|
17044
17457
|
id: string;
|
|
17045
17458
|
filePath: string;
|
|
@@ -17093,6 +17506,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17093
17506
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
17094
17507
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
17095
17508
|
} | undefined;
|
|
17509
|
+
triggerSource?: string | undefined;
|
|
17096
17510
|
}[];
|
|
17097
17511
|
deploymentId: string;
|
|
17098
17512
|
}, {
|
|
@@ -17150,6 +17564,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17150
17564
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
17151
17565
|
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
17152
17566
|
} | undefined;
|
|
17567
|
+
triggerSource?: string | undefined;
|
|
17153
17568
|
}[];
|
|
17154
17569
|
deploymentId: string;
|
|
17155
17570
|
version?: "v1" | undefined;
|
|
@@ -17520,14 +17935,14 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17520
17935
|
raw: string;
|
|
17521
17936
|
}>, z.ZodObject<{
|
|
17522
17937
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
17523
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
17938
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
17524
17939
|
message: z.ZodOptional<z.ZodString>;
|
|
17525
17940
|
}, "strip", z.ZodTypeAny, {
|
|
17526
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17941
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17527
17942
|
type: "INTERNAL_ERROR";
|
|
17528
17943
|
message?: string | undefined;
|
|
17529
17944
|
}, {
|
|
17530
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17945
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17531
17946
|
type: "INTERNAL_ERROR";
|
|
17532
17947
|
message?: string | undefined;
|
|
17533
17948
|
}>]>;
|
|
@@ -17558,7 +17973,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17558
17973
|
type: "STRING_ERROR";
|
|
17559
17974
|
raw: string;
|
|
17560
17975
|
} | {
|
|
17561
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17976
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17562
17977
|
type: "INTERNAL_ERROR";
|
|
17563
17978
|
message?: string | undefined;
|
|
17564
17979
|
};
|
|
@@ -17583,7 +17998,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17583
17998
|
type: "STRING_ERROR";
|
|
17584
17999
|
raw: string;
|
|
17585
18000
|
} | {
|
|
17586
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18001
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17587
18002
|
type: "INTERNAL_ERROR";
|
|
17588
18003
|
message?: string | undefined;
|
|
17589
18004
|
};
|
|
@@ -17663,7 +18078,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17663
18078
|
type: "STRING_ERROR";
|
|
17664
18079
|
raw: string;
|
|
17665
18080
|
} | {
|
|
17666
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18081
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17667
18082
|
type: "INTERNAL_ERROR";
|
|
17668
18083
|
message?: string | undefined;
|
|
17669
18084
|
};
|
|
@@ -17747,7 +18162,7 @@ declare const ProdWorkerToCoordinatorMessages: {
|
|
|
17747
18162
|
type: "STRING_ERROR";
|
|
17748
18163
|
raw: string;
|
|
17749
18164
|
} | {
|
|
17750
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18165
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17751
18166
|
type: "INTERNAL_ERROR";
|
|
17752
18167
|
message?: string | undefined;
|
|
17753
18168
|
};
|
|
@@ -17944,14 +18359,14 @@ declare const CoordinatorToProdWorkerMessages: {
|
|
|
17944
18359
|
raw: string;
|
|
17945
18360
|
}>, z.ZodObject<{
|
|
17946
18361
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
17947
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
18362
|
+
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_RUN_CANCELLED", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR"]>;
|
|
17948
18363
|
message: z.ZodOptional<z.ZodString>;
|
|
17949
18364
|
}, "strip", z.ZodTypeAny, {
|
|
17950
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18365
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17951
18366
|
type: "INTERNAL_ERROR";
|
|
17952
18367
|
message?: string | undefined;
|
|
17953
18368
|
}, {
|
|
17954
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18369
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17955
18370
|
type: "INTERNAL_ERROR";
|
|
17956
18371
|
message?: string | undefined;
|
|
17957
18372
|
}>]>;
|
|
@@ -17982,7 +18397,7 @@ declare const CoordinatorToProdWorkerMessages: {
|
|
|
17982
18397
|
type: "STRING_ERROR";
|
|
17983
18398
|
raw: string;
|
|
17984
18399
|
} | {
|
|
17985
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18400
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
17986
18401
|
type: "INTERNAL_ERROR";
|
|
17987
18402
|
message?: string | undefined;
|
|
17988
18403
|
};
|
|
@@ -18007,7 +18422,7 @@ declare const CoordinatorToProdWorkerMessages: {
|
|
|
18007
18422
|
type: "STRING_ERROR";
|
|
18008
18423
|
raw: string;
|
|
18009
18424
|
} | {
|
|
18010
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18425
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18011
18426
|
type: "INTERNAL_ERROR";
|
|
18012
18427
|
message?: string | undefined;
|
|
18013
18428
|
};
|
|
@@ -18249,7 +18664,7 @@ declare const CoordinatorToProdWorkerMessages: {
|
|
|
18249
18664
|
type: "STRING_ERROR";
|
|
18250
18665
|
raw: string;
|
|
18251
18666
|
} | {
|
|
18252
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18667
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18253
18668
|
type: "INTERNAL_ERROR";
|
|
18254
18669
|
message?: string | undefined;
|
|
18255
18670
|
};
|
|
@@ -18329,7 +18744,7 @@ declare const CoordinatorToProdWorkerMessages: {
|
|
|
18329
18744
|
type: "STRING_ERROR";
|
|
18330
18745
|
raw: string;
|
|
18331
18746
|
} | {
|
|
18332
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18747
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR";
|
|
18333
18748
|
type: "INTERNAL_ERROR";
|
|
18334
18749
|
message?: string | undefined;
|
|
18335
18750
|
};
|
|
@@ -19815,14 +20230,6 @@ declare const SpanMessagingEvent: z.ZodObject<{
|
|
|
19815
20230
|
}>;
|
|
19816
20231
|
type SpanMessagingEvent = z.infer<typeof SpanMessagingEvent>;
|
|
19817
20232
|
|
|
19818
|
-
type ApiResult<TSuccessResult> = {
|
|
19819
|
-
ok: true;
|
|
19820
|
-
data: TSuccessResult;
|
|
19821
|
-
} | {
|
|
19822
|
-
ok: false;
|
|
19823
|
-
error: string;
|
|
19824
|
-
};
|
|
19825
|
-
|
|
19826
20233
|
type TriggerOptions = {
|
|
19827
20234
|
spanParentAsLink?: boolean;
|
|
19828
20235
|
};
|
|
@@ -19834,25 +20241,143 @@ declare class ApiClient {
|
|
|
19834
20241
|
private readonly accessToken;
|
|
19835
20242
|
private readonly baseUrl;
|
|
19836
20243
|
constructor(baseUrl: string, accessToken: string);
|
|
19837
|
-
triggerTask(taskId: string, body: TriggerTaskRequestBody, options?: TriggerOptions): Promise<
|
|
20244
|
+
triggerTask(taskId: string, body: TriggerTaskRequestBody, options?: TriggerOptions): Promise<{
|
|
19838
20245
|
id: string;
|
|
19839
|
-
}
|
|
19840
|
-
batchTriggerTask(taskId: string, body: BatchTriggerTaskRequestBody, options?: TriggerOptions): Promise<
|
|
20246
|
+
}>;
|
|
20247
|
+
batchTriggerTask(taskId: string, body: BatchTriggerTaskRequestBody, options?: TriggerOptions): Promise<{
|
|
19841
20248
|
runs: string[];
|
|
19842
20249
|
batchId: string;
|
|
19843
|
-
}
|
|
19844
|
-
createUploadPayloadUrl(filename: string): Promise<
|
|
20250
|
+
}>;
|
|
20251
|
+
createUploadPayloadUrl(filename: string): Promise<{
|
|
19845
20252
|
presignedUrl: string;
|
|
19846
|
-
}
|
|
19847
|
-
getPayloadUrl(filename: string): Promise<
|
|
20253
|
+
}>;
|
|
20254
|
+
getPayloadUrl(filename: string): Promise<{
|
|
19848
20255
|
presignedUrl: string;
|
|
19849
|
-
}
|
|
19850
|
-
replayRun(runId: string): Promise<
|
|
20256
|
+
}>;
|
|
20257
|
+
replayRun(runId: string): Promise<{
|
|
19851
20258
|
id: string;
|
|
19852
|
-
}
|
|
19853
|
-
cancelRun(runId: string): Promise<
|
|
20259
|
+
}>;
|
|
20260
|
+
cancelRun(runId: string): Promise<{
|
|
19854
20261
|
message: string;
|
|
19855
|
-
}
|
|
20262
|
+
}>;
|
|
20263
|
+
createSchedule(options: CreateScheduleOptions): Promise<{
|
|
20264
|
+
id: string;
|
|
20265
|
+
task: string;
|
|
20266
|
+
active: boolean;
|
|
20267
|
+
generator: {
|
|
20268
|
+
type: "CRON";
|
|
20269
|
+
expression: string;
|
|
20270
|
+
description: string;
|
|
20271
|
+
};
|
|
20272
|
+
environments: {
|
|
20273
|
+
type: string;
|
|
20274
|
+
id: string;
|
|
20275
|
+
userName?: string | null | undefined;
|
|
20276
|
+
}[];
|
|
20277
|
+
deduplicationKey?: string | null | undefined;
|
|
20278
|
+
externalId?: string | null | undefined;
|
|
20279
|
+
nextRun?: Date | null | undefined;
|
|
20280
|
+
}>;
|
|
20281
|
+
listSchedules(options?: ListScheduleOptions): Promise<{
|
|
20282
|
+
data: {
|
|
20283
|
+
id: string;
|
|
20284
|
+
task: string;
|
|
20285
|
+
active: boolean;
|
|
20286
|
+
generator: {
|
|
20287
|
+
type: "CRON";
|
|
20288
|
+
expression: string;
|
|
20289
|
+
description: string;
|
|
20290
|
+
};
|
|
20291
|
+
environments: {
|
|
20292
|
+
type: string;
|
|
20293
|
+
id: string;
|
|
20294
|
+
userName?: string | null | undefined;
|
|
20295
|
+
}[];
|
|
20296
|
+
deduplicationKey?: string | null | undefined;
|
|
20297
|
+
externalId?: string | null | undefined;
|
|
20298
|
+
nextRun?: Date | null | undefined;
|
|
20299
|
+
}[];
|
|
20300
|
+
pagination: {
|
|
20301
|
+
currentPage: number;
|
|
20302
|
+
totalPages: number;
|
|
20303
|
+
count: number;
|
|
20304
|
+
};
|
|
20305
|
+
}>;
|
|
20306
|
+
retrieveSchedule(scheduleId: string): Promise<{
|
|
20307
|
+
id: string;
|
|
20308
|
+
task: string;
|
|
20309
|
+
active: boolean;
|
|
20310
|
+
generator: {
|
|
20311
|
+
type: "CRON";
|
|
20312
|
+
expression: string;
|
|
20313
|
+
description: string;
|
|
20314
|
+
};
|
|
20315
|
+
environments: {
|
|
20316
|
+
type: string;
|
|
20317
|
+
id: string;
|
|
20318
|
+
userName?: string | null | undefined;
|
|
20319
|
+
}[];
|
|
20320
|
+
deduplicationKey?: string | null | undefined;
|
|
20321
|
+
externalId?: string | null | undefined;
|
|
20322
|
+
nextRun?: Date | null | undefined;
|
|
20323
|
+
}>;
|
|
20324
|
+
updateSchedule(scheduleId: string, options: UpdateScheduleOptions): Promise<{
|
|
20325
|
+
id: string;
|
|
20326
|
+
task: string;
|
|
20327
|
+
active: boolean;
|
|
20328
|
+
generator: {
|
|
20329
|
+
type: "CRON";
|
|
20330
|
+
expression: string;
|
|
20331
|
+
description: string;
|
|
20332
|
+
};
|
|
20333
|
+
environments: {
|
|
20334
|
+
type: string;
|
|
20335
|
+
id: string;
|
|
20336
|
+
userName?: string | null | undefined;
|
|
20337
|
+
}[];
|
|
20338
|
+
deduplicationKey?: string | null | undefined;
|
|
20339
|
+
externalId?: string | null | undefined;
|
|
20340
|
+
nextRun?: Date | null | undefined;
|
|
20341
|
+
}>;
|
|
20342
|
+
deactivateSchedule(scheduleId: string): Promise<{
|
|
20343
|
+
id: string;
|
|
20344
|
+
task: string;
|
|
20345
|
+
active: boolean;
|
|
20346
|
+
generator: {
|
|
20347
|
+
type: "CRON";
|
|
20348
|
+
expression: string;
|
|
20349
|
+
description: string;
|
|
20350
|
+
};
|
|
20351
|
+
environments: {
|
|
20352
|
+
type: string;
|
|
20353
|
+
id: string;
|
|
20354
|
+
userName?: string | null | undefined;
|
|
20355
|
+
}[];
|
|
20356
|
+
deduplicationKey?: string | null | undefined;
|
|
20357
|
+
externalId?: string | null | undefined;
|
|
20358
|
+
nextRun?: Date | null | undefined;
|
|
20359
|
+
}>;
|
|
20360
|
+
activateSchedule(scheduleId: string): Promise<{
|
|
20361
|
+
id: string;
|
|
20362
|
+
task: string;
|
|
20363
|
+
active: boolean;
|
|
20364
|
+
generator: {
|
|
20365
|
+
type: "CRON";
|
|
20366
|
+
expression: string;
|
|
20367
|
+
description: string;
|
|
20368
|
+
};
|
|
20369
|
+
environments: {
|
|
20370
|
+
type: string;
|
|
20371
|
+
id: string;
|
|
20372
|
+
userName?: string | null | undefined;
|
|
20373
|
+
}[];
|
|
20374
|
+
deduplicationKey?: string | null | undefined;
|
|
20375
|
+
externalId?: string | null | undefined;
|
|
20376
|
+
nextRun?: Date | null | undefined;
|
|
20377
|
+
}>;
|
|
20378
|
+
deleteSchedule(scheduleId: string): Promise<{
|
|
20379
|
+
id: string;
|
|
20380
|
+
}>;
|
|
19856
20381
|
}
|
|
19857
20382
|
type ApiClientContext = {
|
|
19858
20383
|
baseURL: string;
|
|
@@ -20112,10 +20637,51 @@ declare function groupTaskMetadataIssuesByTask(tasks: any, issues: z.ZodIssue[])
|
|
|
20112
20637
|
}>;
|
|
20113
20638
|
}>;
|
|
20114
20639
|
|
|
20640
|
+
type APIHeaders = Record<string, string | null | undefined>;
|
|
20641
|
+
declare class APIError extends Error {
|
|
20642
|
+
readonly status: number | undefined;
|
|
20643
|
+
readonly headers: APIHeaders | undefined;
|
|
20644
|
+
readonly error: Object | undefined;
|
|
20645
|
+
readonly code: string | null | undefined;
|
|
20646
|
+
readonly param: string | null | undefined;
|
|
20647
|
+
readonly type: string | undefined;
|
|
20648
|
+
constructor(status: number | undefined, error: Object | undefined, message: string | undefined, headers: APIHeaders | undefined);
|
|
20649
|
+
private static makeMessage;
|
|
20650
|
+
static generate(status: number | undefined, errorResponse: Object | undefined, message: string | undefined, headers: APIHeaders | undefined): APIError;
|
|
20651
|
+
}
|
|
20652
|
+
declare class APIConnectionError extends APIError {
|
|
20653
|
+
readonly status: undefined;
|
|
20654
|
+
constructor({ message, cause }: {
|
|
20655
|
+
message?: string;
|
|
20656
|
+
cause?: Error | undefined;
|
|
20657
|
+
});
|
|
20658
|
+
}
|
|
20659
|
+
declare class BadRequestError extends APIError {
|
|
20660
|
+
readonly status: 400;
|
|
20661
|
+
}
|
|
20662
|
+
declare class AuthenticationError extends APIError {
|
|
20663
|
+
readonly status: 401;
|
|
20664
|
+
}
|
|
20665
|
+
declare class PermissionDeniedError extends APIError {
|
|
20666
|
+
readonly status: 403;
|
|
20667
|
+
}
|
|
20668
|
+
declare class NotFoundError extends APIError {
|
|
20669
|
+
readonly status: 404;
|
|
20670
|
+
}
|
|
20671
|
+
declare class ConflictError extends APIError {
|
|
20672
|
+
readonly status: 409;
|
|
20673
|
+
}
|
|
20674
|
+
declare class UnprocessableEntityError extends APIError {
|
|
20675
|
+
readonly status: 422;
|
|
20676
|
+
}
|
|
20677
|
+
declare class RateLimitError extends APIError {
|
|
20678
|
+
readonly status: 429;
|
|
20679
|
+
}
|
|
20680
|
+
declare class InternalServerError extends APIError {
|
|
20681
|
+
}
|
|
20682
|
+
|
|
20115
20683
|
interface RuntimeManager {
|
|
20116
20684
|
disable(): void;
|
|
20117
|
-
registerTasks(tasks: TaskMetadataWithFilePath[]): void;
|
|
20118
|
-
getTaskMetadata(id: string): TaskMetadataWithFilePath | undefined;
|
|
20119
20685
|
waitUntil(date: Date): Promise<void>;
|
|
20120
20686
|
waitForDuration(ms: number): Promise<void>;
|
|
20121
20687
|
waitForTask(params: {
|
|
@@ -20147,8 +20713,6 @@ declare class RuntimeAPI {
|
|
|
20147
20713
|
}): Promise<BatchTaskRunExecutionResult>;
|
|
20148
20714
|
setGlobalRuntimeManager(runtimeManager: RuntimeManager): boolean;
|
|
20149
20715
|
disable(): void;
|
|
20150
|
-
registerTasks(tasks: TaskMetadataWithFilePath[]): void;
|
|
20151
|
-
getTaskMetadata(id: string): TaskMetadataWithFilePath | undefined;
|
|
20152
20716
|
}
|
|
20153
20717
|
|
|
20154
20718
|
/** Entrypoint for runtime API */
|
|
@@ -20191,6 +20755,33 @@ declare class ClockAPI {
|
|
|
20191
20755
|
/** Entrypoint for clock API */
|
|
20192
20756
|
declare const clock: ClockAPI;
|
|
20193
20757
|
|
|
20758
|
+
interface TaskCatalog {
|
|
20759
|
+
registerTaskMetadata(task: TaskMetadataWithFunctions): void;
|
|
20760
|
+
updateTaskMetadata(id: string, task: Partial<TaskMetadataWithFunctions>): void;
|
|
20761
|
+
registerTaskFileMetadata(id: string, metadata: TaskFileMetadata): void;
|
|
20762
|
+
getAllTaskMetadata(): Array<TaskMetadataWithFilePath>;
|
|
20763
|
+
getTaskMetadata(id: string): TaskMetadataWithFilePath | undefined;
|
|
20764
|
+
getTask(id: string): TaskMetadataWithFunctions | undefined;
|
|
20765
|
+
}
|
|
20766
|
+
|
|
20767
|
+
declare class TaskCatalogAPI {
|
|
20768
|
+
#private;
|
|
20769
|
+
private static _instance?;
|
|
20770
|
+
private constructor();
|
|
20771
|
+
static getInstance(): TaskCatalogAPI;
|
|
20772
|
+
setGlobalTaskCatalog(taskCatalog: TaskCatalog): boolean;
|
|
20773
|
+
disable(): void;
|
|
20774
|
+
registerTaskMetadata(task: TaskMetadataWithFunctions): void;
|
|
20775
|
+
updateTaskMetadata(id: string, updates: Partial<TaskMetadataWithFunctions>): void;
|
|
20776
|
+
registerTaskFileMetadata(id: string, metadata: TaskFileMetadata): void;
|
|
20777
|
+
getAllTaskMetadata(): Array<TaskMetadataWithFilePath>;
|
|
20778
|
+
getTaskMetadata(id: string): TaskMetadataWithFilePath | undefined;
|
|
20779
|
+
getTask(id: string): TaskMetadataWithFunctions | undefined;
|
|
20780
|
+
}
|
|
20781
|
+
|
|
20782
|
+
/** Entrypoint for runtime API */
|
|
20783
|
+
declare const taskCatalog: TaskCatalogAPI;
|
|
20784
|
+
|
|
20194
20785
|
declare const OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT = 256;
|
|
20195
20786
|
declare const OTEL_LOG_ATTRIBUTE_COUNT_LIMIT = 256;
|
|
20196
20787
|
declare const OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT = 1028;
|
|
@@ -20244,6 +20835,7 @@ declare const SemanticInternalAttributes: {
|
|
|
20244
20835
|
RETRY_AT: string;
|
|
20245
20836
|
RETRY_DELAY: string;
|
|
20246
20837
|
RETRY_COUNT: string;
|
|
20838
|
+
LINK_TITLE: string;
|
|
20247
20839
|
};
|
|
20248
20840
|
|
|
20249
20841
|
declare function iconStringForSeverity(severityNumber: SeverityNumber): "trace" | "debug" | "info" | "warn" | "error" | "fatal" | undefined;
|
|
@@ -20297,11 +20889,8 @@ declare class DevRuntimeManager implements RuntimeManager {
|
|
|
20297
20889
|
resolve: (value: BatchTaskRunExecutionResult) => void;
|
|
20298
20890
|
reject: (err?: any) => void;
|
|
20299
20891
|
}>;
|
|
20300
|
-
_tasks: Map<string, TaskMetadataWithFilePath>;
|
|
20301
20892
|
_pendingCompletionNotifications: Map<string, TaskRunExecutionResult>;
|
|
20302
20893
|
disable(): void;
|
|
20303
|
-
registerTasks(tasks: TaskMetadataWithFilePath[]): void;
|
|
20304
|
-
getTaskMetadata(id: string): TaskMetadataWithFilePath | undefined;
|
|
20305
20894
|
waitForDuration(ms: number): Promise<void>;
|
|
20306
20895
|
waitUntil(date: Date): Promise<void>;
|
|
20307
20896
|
waitForTask(params: {
|
|
@@ -20334,11 +20923,8 @@ declare class ProdRuntimeManager implements RuntimeManager {
|
|
|
20334
20923
|
resolve: (value: "restore") => void;
|
|
20335
20924
|
reject: (err?: any) => void;
|
|
20336
20925
|
} | undefined;
|
|
20337
|
-
_tasks: Map<string, TaskMetadataWithFilePath>;
|
|
20338
20926
|
constructor(ipc: ZodIpcConnection<typeof ProdWorkerToChildMessages, typeof ProdChildToWorkerMessages>, options?: ProdRuntimeManagerOptions);
|
|
20339
20927
|
disable(): void;
|
|
20340
|
-
registerTasks(tasks: TaskMetadataWithFilePath[]): void;
|
|
20341
|
-
getTaskMetadata(id: string): TaskMetadataWithFilePath | undefined;
|
|
20342
20928
|
waitForDuration(ms: number): Promise<void>;
|
|
20343
20929
|
resumeAfterRestore(): void;
|
|
20344
20930
|
waitUntil(date: Date): Promise<void>;
|
|
@@ -20370,8 +20956,10 @@ declare class PreciseWallClock implements Clock {
|
|
|
20370
20956
|
declare class ConsoleInterceptor {
|
|
20371
20957
|
#private;
|
|
20372
20958
|
private readonly logger;
|
|
20373
|
-
|
|
20959
|
+
private readonly sendToStdIO;
|
|
20960
|
+
constructor(logger: logsAPI.Logger, sendToStdIO: boolean);
|
|
20374
20961
|
intercept<T>(console: Console, callback: () => Promise<T>): Promise<T>;
|
|
20962
|
+
debug(...args: unknown[]): void;
|
|
20375
20963
|
log(...args: unknown[]): void;
|
|
20376
20964
|
info(...args: unknown[]): void;
|
|
20377
20965
|
warn(...args: unknown[]): void;
|
|
@@ -20467,6 +21055,19 @@ declare function createPacketAttributes(packet: IOPacket, dataKey: string, dataT
|
|
|
20467
21055
|
declare function createPacketAttributesAsJson(data: any, dataType: string): Promise<Attributes>;
|
|
20468
21056
|
declare function prettyPrintPacket(rawData: any, dataType?: string): Promise<string>;
|
|
20469
21057
|
|
|
21058
|
+
declare class StandardTaskCatalog implements TaskCatalog {
|
|
21059
|
+
private _taskMetadata;
|
|
21060
|
+
private _taskFunctions;
|
|
21061
|
+
private _taskFileMetadata;
|
|
21062
|
+
registerTaskMetadata(task: TaskMetadataWithFunctions): void;
|
|
21063
|
+
updateTaskMetadata(id: string, updates: Partial<TaskMetadataWithFunctions>): void;
|
|
21064
|
+
registerTaskFileMetadata(id: string, metadata: TaskFileMetadata): void;
|
|
21065
|
+
getAllTaskMetadata(): Array<TaskMetadataWithFilePath>;
|
|
21066
|
+
getTaskMetadata(id: string): TaskMetadataWithFilePath | undefined;
|
|
21067
|
+
getTask(id: string): TaskMetadataWithFunctions | undefined;
|
|
21068
|
+
disable(): void;
|
|
21069
|
+
}
|
|
21070
|
+
|
|
20470
21071
|
declare function parseTriggerTaskRequestBody(body: unknown): zod.SafeParseReturnType<{
|
|
20471
21072
|
payload?: any;
|
|
20472
21073
|
context?: any;
|
|
@@ -20512,7 +21113,9 @@ declare function parseTriggerTaskRequestBody(body: unknown): zod.SafeParseReturn
|
|
|
20512
21113
|
} | undefined;
|
|
20513
21114
|
} | undefined;
|
|
20514
21115
|
concurrencyKey?: string | undefined;
|
|
21116
|
+
idempotencyKey?: string | undefined;
|
|
20515
21117
|
test?: boolean | undefined;
|
|
21118
|
+
payloadType?: string | undefined;
|
|
20516
21119
|
} | undefined;
|
|
20517
21120
|
}, {
|
|
20518
21121
|
payload?: any;
|
|
@@ -20559,7 +21162,9 @@ declare function parseTriggerTaskRequestBody(body: unknown): zod.SafeParseReturn
|
|
|
20559
21162
|
} | undefined;
|
|
20560
21163
|
} | undefined;
|
|
20561
21164
|
concurrencyKey?: string | undefined;
|
|
21165
|
+
idempotencyKey?: string | undefined;
|
|
20562
21166
|
test?: boolean | undefined;
|
|
21167
|
+
payloadType?: string | undefined;
|
|
20563
21168
|
} | undefined;
|
|
20564
21169
|
}>;
|
|
20565
21170
|
declare function parseBatchTriggerTaskRequestBody(body: unknown): zod.SafeParseReturnType<{
|
|
@@ -20608,7 +21213,9 @@ declare function parseBatchTriggerTaskRequestBody(body: unknown): zod.SafeParseR
|
|
|
20608
21213
|
} | undefined;
|
|
20609
21214
|
} | undefined;
|
|
20610
21215
|
concurrencyKey?: string | undefined;
|
|
21216
|
+
idempotencyKey?: string | undefined;
|
|
20611
21217
|
test?: boolean | undefined;
|
|
21218
|
+
payloadType?: string | undefined;
|
|
20612
21219
|
} | undefined;
|
|
20613
21220
|
}[];
|
|
20614
21221
|
dependentAttempt?: string | undefined;
|
|
@@ -20658,10 +21265,12 @@ declare function parseBatchTriggerTaskRequestBody(body: unknown): zod.SafeParseR
|
|
|
20658
21265
|
} | undefined;
|
|
20659
21266
|
} | undefined;
|
|
20660
21267
|
concurrencyKey?: string | undefined;
|
|
21268
|
+
idempotencyKey?: string | undefined;
|
|
20661
21269
|
test?: boolean | undefined;
|
|
21270
|
+
payloadType?: string | undefined;
|
|
20662
21271
|
} | undefined;
|
|
20663
21272
|
}[];
|
|
20664
21273
|
dependentAttempt?: string | undefined;
|
|
20665
21274
|
}>;
|
|
20666
21275
|
|
|
20667
|
-
export { Accessory, ApiClient, ApiClientManager, BackgroundWorkerClientMessages, BackgroundWorkerMetadata, BackgroundWorkerProperties, BackgroundWorkerServerMessages, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, ClientToSharedQueueMessages, Config, ConsoleInterceptor, type Context, CoordinatorToPlatformMessages, CoordinatorToProdWorkerMessages, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateUploadPayloadUrlResponseBody, DeploymentErrorData, DevRuntimeManager, PreciseWallClock as DurableClock, EnvironmentType, type EventEmitterLike, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, FixedWindowRateLimit, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, type GetSocketCallbackSchema, type GetSocketMessageSchema, type GetSocketMessagesWithCallback, type GetSocketMessagesWithoutCallback, type HandleErrorArgs, type HandleErrorFnParams, type HandleErrorFunction, type HandleErrorModificationOptions, type HandleErrorResult, type IOPacket, ImageDetailsMetadata, type InferSocketCallbackSchema, type InferSocketMessageSchema, type InitFnParams, type InitOutput, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, type LogLevel$1 as LogLevel, Machine, MachineCpu, MachineMemory, type MessageCatalogToSocketIoEvents, type MessageFromCatalog, type MessageFromSchema, type MessagesFromSocketCatalog, type MiddlewareFnParams, OFFLOAD_IO_PACKET_LENGTH_LIMIT, OTEL_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, OTEL_ATTRIBUTE_PER_LINK_COUNT_LIMIT, OTEL_LINK_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_EVENT_COUNT_LIMIT, OtelTaskLogger, OtherSpanEvent, PRIMARY_VARIANT, PlatformToCoordinatorMessages, PlatformToProviderMessages, PostStartCauses, PreStopCauses, type Prettify, ProdChildToWorkerMessages, ProdRuntimeManager, ProdTaskRunExecution, ProdTaskRunExecutionPayload, ProdWorkerSocketData, ProdWorkerToChildMessages, ProdWorkerToCoordinatorMessages, type ProjectConfig, ProviderToPlatformMessages, QueueOptions, RateLimitOptions, ReplayRunResponse, type RequireKeys, type ResolvedConfig, RetryOptions, type RunFnParams, type RuntimeManager, SemanticInternalAttributes, SharedQueueToClientMessages, SimpleStructuredLogger, SlidingWindowRateLimit, type SocketMessageHasCallback, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, type StructuredLogger, type SuccessFnParams, TaskContextSpanProcessor, TaskEventStyle, TaskExecutor, type TaskExecutorOptions, type TaskLogger, TaskMetadata, TaskMetadataFailedToParseData, TaskMetadataWithFilePath, type TaskMetadataWithFunctions, TaskResource, TaskRun, TaskRunBuiltInError, TaskRunContext, TaskRunCustomErrorObject, TaskRunError, TaskRunErrorCodes, TaskRunExecution, TaskRunExecutionAttempt, TaskRunExecutionBatch, TaskRunExecutionEnvironment, TaskRunExecutionOrganization, TaskRunExecutionPayload, TaskRunExecutionProject, TaskRunExecutionQueue, TaskRunExecutionResult, TaskRunExecutionRetry, TaskRunExecutionTask, TaskRunFailedExecutionResult, TaskRunInternalError, TaskRunStringError, TaskRunSuccessfulExecutionResult, TracingSDK, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, UncaughtExceptionMessage, Variant, WaitReason, type WhoAmIResponse, WhoAmIResponseSchema, ZodIpcConnection, type ZodMessageCatalogSchema, type ZodMessageCatalogToSocketIoEvents, ZodMessageHandler, type ZodMessageHandlerOptions, type ZodMessageHandlers, ZodMessageSchema, ZodMessageSender, type ZodMessageSenderOptions, type ZodMessageValueSchema, ZodNamespace, type ZodNamespaceSocket, ZodSchemaParsedError, type ZodSocket, ZodSocketConnection, type ZodSocketMessageCatalogSchema, ZodSocketMessageHandler, type ZodSocketMessageHandlerOptions, type ZodSocketMessageHandlers, ZodSocketMessageSender, type ZodSocketMessageSenderOptions, accessoryAttributes, apiClientManager, calculateNextRetryDelay, calculateResetAt, childToWorkerMessages, clientWebsocketMessages, clock, conditionallyExportPacket, conditionallyImportPacket, correctErrorStackTrace, createErrorTaskError, createPacketAttributes, createPacketAttributesAsJson, defaultFetchRetryOptions, defaultRetryOptions, detectDependencyVersion, flattenAttributes, formatDuration, formatDurationInDays, formatDurationMilliseconds, formatDurationNanoseconds, getEnvVar, groupTaskMetadataIssuesByTask, iconStringForSeverity, imposeAttributeLimits, isCancellationSpanEvent, isExceptionSpanEvent, logLevels, logger, millisecondsToNanoseconds, nanosecondsToMilliseconds, omit, packetRequiresOffloading, parseBatchTriggerTaskRequestBody, parseError, parsePacket, parseTriggerTaskRequestBody, prettyPrintPacket, primitiveValueOrflattenedAttributes, runtime, serverWebsocketMessages, stringPatternMatchers, stringifyIO, taskContextManager, unflattenAttributes, workerToChildMessages };
|
|
21276
|
+
export { APIConnectionError, APIError, type APIHeaders, Accessory, ApiClient, ApiClientManager, AuthenticationError, BackgroundWorkerClientMessages, BackgroundWorkerMetadata, BackgroundWorkerProperties, BackgroundWorkerServerMessages, BadRequestError, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, ClientToSharedQueueMessages, Config, ConflictError, ConsoleInterceptor, type Context, CoordinatorToPlatformMessages, CoordinatorToProdWorkerMessages, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, DevRuntimeManager, PreciseWallClock as DurableClock, EnvironmentType, type EventEmitterLike, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, FixedWindowRateLimit, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, type GetSocketCallbackSchema, type GetSocketMessageSchema, type GetSocketMessagesWithCallback, type GetSocketMessagesWithoutCallback, type HandleErrorArgs, type HandleErrorFnParams, type HandleErrorFunction, type HandleErrorModificationOptions, type HandleErrorResult, type IOPacket, ImageDetailsMetadata, type InferSocketCallbackSchema, type InferSocketMessageSchema, type InitFnParams, type InitOutput, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, InternalServerError, ListScheduleOptions, ListSchedulesResult, type LogLevel$1 as LogLevel, Machine, MachineCpu, MachineMemory, type MessageCatalogToSocketIoEvents, type MessageFromCatalog, type MessageFromSchema, type MessagesFromSocketCatalog, type MiddlewareFnParams, NotFoundError, OFFLOAD_IO_PACKET_LENGTH_LIMIT, OTEL_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, OTEL_ATTRIBUTE_PER_LINK_COUNT_LIMIT, OTEL_LINK_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_EVENT_COUNT_LIMIT, OtelTaskLogger, OtherSpanEvent, PRIMARY_VARIANT, PermissionDeniedError, PlatformToCoordinatorMessages, PlatformToProviderMessages, PostStartCauses, PreStopCauses, type Prettify, ProdChildToWorkerMessages, ProdRuntimeManager, ProdTaskRunExecution, ProdTaskRunExecutionPayload, ProdWorkerSocketData, ProdWorkerToChildMessages, ProdWorkerToCoordinatorMessages, type ProjectConfig, ProviderToPlatformMessages, QueueOptions, RateLimitError, RateLimitOptions, ReplayRunResponse, type RequireKeys, type ResolvedConfig, RetryOptions, type RunFnParams, type RuntimeManager, ScheduleObject, ScheduledTaskPayload, SemanticInternalAttributes, SharedQueueToClientMessages, SimpleStructuredLogger, SlidingWindowRateLimit, type SocketMessageHasCallback, SpanEvent, SpanEvents, SpanMessagingEvent, StandardTaskCatalog, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, type StructuredLogger, type SuccessFnParams, TaskContextSpanProcessor, TaskEventStyle, TaskExecutor, type TaskExecutorOptions, TaskFileMetadata, type TaskLogger, TaskMetadata, TaskMetadataFailedToParseData, TaskMetadataWithFilePath, type TaskMetadataWithFunctions, TaskResource, TaskRun, TaskRunBuiltInError, TaskRunContext, TaskRunCustomErrorObject, TaskRunError, TaskRunErrorCodes, TaskRunExecution, TaskRunExecutionAttempt, TaskRunExecutionBatch, TaskRunExecutionEnvironment, TaskRunExecutionOrganization, TaskRunExecutionPayload, TaskRunExecutionProject, TaskRunExecutionQueue, TaskRunExecutionResult, TaskRunExecutionRetry, TaskRunExecutionTask, TaskRunFailedExecutionResult, TaskRunInternalError, TaskRunStringError, TaskRunSuccessfulExecutionResult, TracingSDK, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, UncaughtExceptionMessage, UnprocessableEntityError, UpdateScheduleOptions, Variant, WaitReason, type WhoAmIResponse, WhoAmIResponseSchema, ZodIpcConnection, type ZodMessageCatalogSchema, type ZodMessageCatalogToSocketIoEvents, ZodMessageHandler, type ZodMessageHandlerOptions, type ZodMessageHandlers, ZodMessageSchema, ZodMessageSender, type ZodMessageSenderOptions, type ZodMessageValueSchema, ZodNamespace, type ZodNamespaceSocket, ZodSchemaParsedError, type ZodSocket, ZodSocketConnection, type ZodSocketMessageCatalogSchema, ZodSocketMessageHandler, type ZodSocketMessageHandlerOptions, type ZodSocketMessageHandlers, ZodSocketMessageSender, type ZodSocketMessageSenderOptions, accessoryAttributes, apiClientManager, calculateNextRetryDelay, calculateResetAt, childToWorkerMessages, clientWebsocketMessages, clock, conditionallyExportPacket, conditionallyImportPacket, correctErrorStackTrace, createErrorTaskError, createPacketAttributes, createPacketAttributesAsJson, defaultFetchRetryOptions, defaultRetryOptions, detectDependencyVersion, flattenAttributes, formatDuration, formatDurationInDays, formatDurationMilliseconds, formatDurationNanoseconds, getEnvVar, groupTaskMetadataIssuesByTask, iconStringForSeverity, imposeAttributeLimits, isCancellationSpanEvent, isExceptionSpanEvent, logLevels, logger, millisecondsToNanoseconds, nanosecondsToMilliseconds, omit, packetRequiresOffloading, parseBatchTriggerTaskRequestBody, parseError, parsePacket, parseTriggerTaskRequestBody, prettyPrintPacket, primitiveValueOrflattenedAttributes, runtime, serverWebsocketMessages, stringPatternMatchers, stringifyIO, taskCatalog, taskContextManager, unflattenAttributes, workerToChildMessages };
|