windmill-cli 1.405.1 → 1.405.3
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/esm/gen/core/OpenAPI.js +1 -1
- package/esm/instance.js +2 -0
- package/esm/main.js +1 -1
- package/esm/sync.js +3 -3
- package/package.json +1 -1
- package/types/instance.d.ts.map +1 -1
- package/types/main.d.ts +1 -1
package/esm/gen/core/OpenAPI.js
CHANGED
package/esm/instance.js
CHANGED
|
@@ -234,6 +234,7 @@ async function instancePull(opts) {
|
|
|
234
234
|
includeSettings: true,
|
|
235
235
|
includeUsers: true,
|
|
236
236
|
includeKey: true,
|
|
237
|
+
yes: opts.yes,
|
|
237
238
|
});
|
|
238
239
|
}
|
|
239
240
|
const localWorkspacesToDelete = localWorkspaces.filter((w) => !remoteWorkspaces.find((r) => r.id === w.workspaceId));
|
|
@@ -358,6 +359,7 @@ async function instancePush(opts) {
|
|
|
358
359
|
includeSettings: true,
|
|
359
360
|
includeUsers: true,
|
|
360
361
|
includeKey: true,
|
|
362
|
+
yes: opts.yes,
|
|
361
363
|
});
|
|
362
364
|
}
|
|
363
365
|
const workspacesToDelete = remoteWorkspaces.filter((w) => !localWorkspaces.find((l) => l.workspaceId === w.id));
|
package/esm/main.js
CHANGED
|
@@ -33,7 +33,7 @@ export { flow, app, script, workspace, resource, user, variable, hub, folder, sc
|
|
|
33
33
|
// console.error(JSON.stringify(event.error, null, 4));
|
|
34
34
|
// }
|
|
35
35
|
// });
|
|
36
|
-
export const VERSION = "1.405.
|
|
36
|
+
export const VERSION = "1.405.3";
|
|
37
37
|
const command = new Command()
|
|
38
38
|
.name("wmill")
|
|
39
39
|
.action(() => log.info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`))
|
package/esm/sync.js
CHANGED
|
@@ -417,7 +417,7 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension) {
|
|
|
417
417
|
const formatExtension = resourceTypeToFormatExtension[parsed["resource_type"]];
|
|
418
418
|
if (formatExtension) {
|
|
419
419
|
const fileContent = parsed["value"]["content"];
|
|
420
|
-
if (typeof
|
|
420
|
+
if (typeof fileContent === "string") {
|
|
421
421
|
r.push({
|
|
422
422
|
isDirectory: false,
|
|
423
423
|
path: removeSuffix(finalPath, ".resource.json") +
|
|
@@ -763,7 +763,7 @@ export async function pull(opts) {
|
|
|
763
763
|
prettyChanges(changes);
|
|
764
764
|
if (!opts.yes &&
|
|
765
765
|
!(await Confirm.prompt({
|
|
766
|
-
message: `Do you want to apply these ${changes.length} changes?`,
|
|
766
|
+
message: `Do you want to apply these ${changes.length} changes to your local files?`,
|
|
767
767
|
default: true,
|
|
768
768
|
}))) {
|
|
769
769
|
return;
|
|
@@ -987,7 +987,7 @@ export async function push(opts) {
|
|
|
987
987
|
prettyChanges(changes);
|
|
988
988
|
if (!opts.yes &&
|
|
989
989
|
!(await Confirm.prompt({
|
|
990
|
-
message: `Do you want to apply these ${changes.length} changes?`,
|
|
990
|
+
message: `Do you want to apply these ${changes.length} changes to the remote?`,
|
|
991
991
|
default: true,
|
|
992
992
|
}))) {
|
|
993
993
|
return;
|
package/package.json
CHANGED
package/types/instance.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../src/instance.ts"],"names":[],"mappings":"AACA,OAAO,EAML,OAAO,EAGR,MAAM,WAAW,CAAC;AA+BnB,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,YAAY,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC,CAiBxD;AACD,wBAAsB,WAAW,CAC/B,IAAI,EAAE,EAAE,EACR,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,KAAK,EAAE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S,EAC1B,KAAK,EAAE,MAAM,GAAG,SAAS;;;;;GA2C1B;AA4BD,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI;KACpC,CAAC,IAAI,CAAC,GAAG,MAAM;CACjB,CAAC;AACF,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,MAAM,EACrD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,EAC/B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,EAC7B,MAAM,EAAE,CAAC,EACT,UAAU,EAAE,MAAM,UAwBnB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAsB,YAAY,CAChC,IAAI,EAAE,mBAAmB,EACzB,QAAQ,EAAE,OAAO,qBAwDlB;AA0SD,wBAAsB,iBAAiB,CAAC,IAAI,EAAE;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAS9B;AAeD,QAAA,MAAM,OAAO;;;;;;oBAyFW,CAAC;AAEzB,eAAe,OAAO,CAAC"}
|
package/types/main.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import { pull as hubPull } from "./hub.js";
|
|
|
19
19
|
import { pull, push } from "./sync.js";
|
|
20
20
|
import { add as workspaceAdd } from "./workspace.js";
|
|
21
21
|
export { flow, app, script, workspace, resource, user, variable, hub, folder, schedule, sync, instance, dev, hubPull, pull, push, workspaceAdd, };
|
|
22
|
-
export declare const VERSION = "1.405.
|
|
22
|
+
export declare const VERSION = "1.405.3";
|
|
23
23
|
declare const command: Command<{
|
|
24
24
|
workspace?: (import("./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
|
|
25
25
|
} & {
|