@automate.ax/api-contract 0.19.0 → 0.19.2
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/deployment.d.ts +4 -0
- package/dist/deployment.js +4 -0
- package/dist/index.d.ts +8 -0
- package/package.json +2 -2
- package/src/deployment.ts +4 -0
package/dist/deployment.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ export declare const deploymentContract: {
|
|
|
47
47
|
maxAttempts: z.ZodNumber;
|
|
48
48
|
nextRunAt: z.ZodDate;
|
|
49
49
|
}, z.core.$strip>>;
|
|
50
|
+
planningProgress: z.ZodObject<{
|
|
51
|
+
completed: z.ZodNumber;
|
|
52
|
+
total: z.ZodNumber;
|
|
53
|
+
}, z.core.$strip>;
|
|
50
54
|
project: z.ZodObject<{
|
|
51
55
|
id: z.ZodString;
|
|
52
56
|
name: z.ZodString;
|
package/dist/deployment.js
CHANGED
|
@@ -61,6 +61,10 @@ export const deploymentContract = {
|
|
|
61
61
|
nextRunAt: z.date(),
|
|
62
62
|
})
|
|
63
63
|
.nullable(),
|
|
64
|
+
planningProgress: z.object({
|
|
65
|
+
completed: z.number().int().nonnegative(),
|
|
66
|
+
total: z.number().int().nonnegative(),
|
|
67
|
+
}),
|
|
64
68
|
project: z.object({
|
|
65
69
|
id: z.string(),
|
|
66
70
|
name: z.string(),
|
package/dist/index.d.ts
CHANGED
|
@@ -392,6 +392,10 @@ export declare const firstPartyContract: {
|
|
|
392
392
|
maxAttempts: import("zod").ZodNumber;
|
|
393
393
|
nextRunAt: import("zod").ZodDate;
|
|
394
394
|
}, import("zod/v4/core").$strip>>;
|
|
395
|
+
planningProgress: import("zod").ZodObject<{
|
|
396
|
+
completed: import("zod").ZodNumber;
|
|
397
|
+
total: import("zod").ZodNumber;
|
|
398
|
+
}, import("zod/v4/core").$strip>;
|
|
395
399
|
project: import("zod").ZodObject<{
|
|
396
400
|
id: import("zod").ZodString;
|
|
397
401
|
name: import("zod").ZodString;
|
|
@@ -982,6 +986,10 @@ export declare const contract: {
|
|
|
982
986
|
maxAttempts: import("zod").ZodNumber;
|
|
983
987
|
nextRunAt: import("zod").ZodDate;
|
|
984
988
|
}, import("zod/v4/core").$strip>>;
|
|
989
|
+
planningProgress: import("zod").ZodObject<{
|
|
990
|
+
completed: import("zod").ZodNumber;
|
|
991
|
+
total: import("zod").ZodNumber;
|
|
992
|
+
}, import("zod/v4/core").$strip>;
|
|
985
993
|
project: import("zod").ZodObject<{
|
|
986
994
|
id: import("zod").ZodString;
|
|
987
995
|
name: import("zod").ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@automate.ax/codec": "0.19.
|
|
29
|
+
"@automate.ax/codec": "0.19.2",
|
|
30
30
|
"@orpc/contract": "1.13.14",
|
|
31
31
|
"zod": "^4.3.6"
|
|
32
32
|
},
|
package/src/deployment.ts
CHANGED
|
@@ -72,6 +72,10 @@ export const deploymentContract = {
|
|
|
72
72
|
nextRunAt: z.date(),
|
|
73
73
|
})
|
|
74
74
|
.nullable(),
|
|
75
|
+
planningProgress: z.object({
|
|
76
|
+
completed: z.number().int().nonnegative(),
|
|
77
|
+
total: z.number().int().nonnegative(),
|
|
78
|
+
}),
|
|
75
79
|
project: z.object({
|
|
76
80
|
id: z.string(),
|
|
77
81
|
name: z.string(),
|