automate.ax 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -37,8 +37,8 @@ export default defineConfig({
|
|
|
37
37
|
the nearest parent config, or a bounded downward config search.
|
|
38
38
|
It writes local build artifacts to `.automate/build` and uploads bundled
|
|
39
39
|
JavaScript artifacts to Automate.ax. Deployment fails when no `*.automation.ts`
|
|
40
|
-
files are found. The CLI then polls the Graphile-backed
|
|
41
|
-
|
|
40
|
+
files are found. The CLI then polls the Graphile-backed planning, configuration,
|
|
41
|
+
and cleanup stages every two seconds. If account bindings are
|
|
42
42
|
missing, interactive deployments prompt for eligible connected accounts; JSON
|
|
43
43
|
output returns the authorization state. Ctrl-C detaches without cancelling the
|
|
44
44
|
deployment.
|
|
@@ -20,5 +20,5 @@ export declare function deploy(opts: z.infer<typeof configDirOptsSchema>): Promi
|
|
|
20
20
|
*
|
|
21
21
|
* @param deployment - Current deployment polling response.
|
|
22
22
|
*/
|
|
23
|
-
export declare function deploymentStatusMessage(deployment: Pick<Awaited<ReturnType<typeof apiClient.deployment.get>>, "status">): "Deploying" | "Planning automations" | "
|
|
23
|
+
export declare function deploymentStatusMessage(deployment: Pick<Awaited<ReturnType<typeof apiClient.deployment.get>>, "status">): "Deploying" | "Planning automations" | "Configuring event sources";
|
|
24
24
|
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/deploy.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,OAAO,EAAE,SAAS,EAAE,6BAAyB;AAI7C,OAAO,EAEL,mBAAmB,EAOpB,oBAAgB;AAkBjB,eAAO,MAAM,aAAa;;;;;;EAaxB,CAAA;AAEF;;;;;GAKG;AACH,wBAAsB,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,iBAsErE;AA+CD;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,IAAI,CACd,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EACpD,QAAQ,CACT,
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/deploy.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,OAAO,EAAE,SAAS,EAAE,6BAAyB;AAI7C,OAAO,EAEL,mBAAmB,EAOpB,oBAAgB;AAkBjB,eAAO,MAAM,aAAa;;;;;;EAaxB,CAAA;AAEF;;;;;GAKG;AACH,wBAAsB,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,iBAsErE;AA+CD;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,IAAI,CACd,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EACpD,QAAQ,CACT,sEAOF"}
|
|
@@ -125,11 +125,9 @@ async function pollForDeployment(projectId, deploymentId) {
|
|
|
125
125
|
export function deploymentStatusMessage(deployment) {
|
|
126
126
|
return deployment.status === "planning"
|
|
127
127
|
? "Planning automations"
|
|
128
|
-
: deployment.status === "
|
|
129
|
-
? "
|
|
130
|
-
:
|
|
131
|
-
? "Configuring event sources"
|
|
132
|
-
: "Deploying";
|
|
128
|
+
: deployment.status === "configuring"
|
|
129
|
+
? "Configuring event sources"
|
|
130
|
+
: "Deploying";
|
|
133
131
|
}
|
|
134
132
|
/**
|
|
135
133
|
* Interactively assigns existing eligible accounts to unmet bindings.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const log: import("../..").DefinedAction<z.ZodObject<{
|
|
3
|
-
value: z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable
|
|
3
|
+
value: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
4
4
|
}, z.core.$strip>, z.ZodVoid, never>;
|
|
5
5
|
export declare const add: import("../..").DefinedAction<z.ZodObject<{
|
|
6
6
|
a: z.ZodNumber;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "automate.ax",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "TypeScript SDK and CLI for Automate.ax automations.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"cjs": false
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@automate.ax/client": "0.
|
|
31
|
-
"@automate.ax/codec": "0.
|
|
30
|
+
"@automate.ax/client": "0.5.0",
|
|
31
|
+
"@automate.ax/codec": "0.5.0",
|
|
32
32
|
"@better-auth/api-key": "1.6.10",
|
|
33
33
|
"@better-auth/stripe": "1.6.10",
|
|
34
34
|
"@better-fetch/fetch": "*",
|