windmill-cli 1.678.0 → 1.679.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/esm/main.js +66 -2
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -11812,7 +11812,7 @@ var init_OpenAPI = __esm(() => {
|
|
|
11812
11812
|
PASSWORD: undefined,
|
|
11813
11813
|
TOKEN: getEnv2("WM_TOKEN"),
|
|
11814
11814
|
USERNAME: undefined,
|
|
11815
|
-
VERSION: "1.
|
|
11815
|
+
VERSION: "1.679.0",
|
|
11816
11816
|
WITH_CREDENTIALS: true,
|
|
11817
11817
|
interceptors: {
|
|
11818
11818
|
request: new Interceptors,
|
|
@@ -12380,6 +12380,7 @@ __export(exports_services_gen, {
|
|
|
12380
12380
|
inviteUser: () => inviteUser,
|
|
12381
12381
|
installFromWorkspace: () => installFromWorkspace,
|
|
12382
12382
|
importQueuedJobs: () => importQueuedJobs,
|
|
12383
|
+
importPgDatabase: () => importPgDatabase,
|
|
12383
12384
|
importInstallation: () => importInstallation,
|
|
12384
12385
|
importCompletedJobs: () => importCompletedJobs,
|
|
12385
12386
|
impersonateServiceAccount: () => impersonateServiceAccount,
|
|
@@ -12522,6 +12523,7 @@ __export(exports_services_gen, {
|
|
|
12522
12523
|
getDependencyMap: () => getDependencyMap,
|
|
12523
12524
|
getDefaultScripts: () => getDefaultScripts,
|
|
12524
12525
|
getDbClock: () => getDbClock,
|
|
12526
|
+
getDatatableFullSchema: () => getDatatableFullSchema,
|
|
12525
12527
|
getCustomTagsForWorkspace: () => getCustomTagsForWorkspace,
|
|
12526
12528
|
getCustomTags: () => getCustomTags,
|
|
12527
12529
|
getCurrentEmail: () => getCurrentEmail,
|
|
@@ -12560,6 +12562,7 @@ __export(exports_services_gen, {
|
|
|
12560
12562
|
fileDownloadParquetAsCsv: () => fileDownloadParquetAsCsv,
|
|
12561
12563
|
fileDownload: () => fileDownload,
|
|
12562
12564
|
exportQueuedJobs: () => exportQueuedJobs,
|
|
12565
|
+
exportPgSchema: () => exportPgSchema,
|
|
12563
12566
|
exportInstanceGroups: () => exportInstanceGroups,
|
|
12564
12567
|
exportInstallation: () => exportInstallation,
|
|
12565
12568
|
exportCompletedJobs: () => exportCompletedJobs,
|
|
@@ -12609,6 +12612,8 @@ __export(exports_services_gen, {
|
|
|
12609
12612
|
editAutoInvite: () => editAutoInvite,
|
|
12610
12613
|
duckdbConnectionSettingsV2: () => duckdbConnectionSettingsV2,
|
|
12611
12614
|
duckdbConnectionSettings: () => duckdbConnectionSettings,
|
|
12615
|
+
dropForkedDatatableDatabases: () => dropForkedDatatableDatabases,
|
|
12616
|
+
dropCustomInstanceDb: () => dropCustomInstanceDb,
|
|
12612
12617
|
downloadOpenapiSpec: () => downloadOpenapiSpec,
|
|
12613
12618
|
discoverMcpOauth: () => discoverMcpOauth,
|
|
12614
12619
|
disconnectTeams: () => disconnectTeams,
|
|
@@ -12687,6 +12692,7 @@ __export(exports_services_gen, {
|
|
|
12687
12692
|
createPostgresTrigger: () => createPostgresTrigger,
|
|
12688
12693
|
createPostgresReplicationSlot: () => createPostgresReplicationSlot,
|
|
12689
12694
|
createPostgresPublication: () => createPostgresPublication,
|
|
12695
|
+
createPgDatabase: () => createPgDatabase,
|
|
12690
12696
|
createNatsTrigger: () => createNatsTrigger,
|
|
12691
12697
|
createNativeTriggerService: () => createNativeTriggerService,
|
|
12692
12698
|
createNativeTrigger: () => createNativeTrigger,
|
|
@@ -13104,6 +13110,14 @@ var backendVersion = () => {
|
|
|
13104
13110
|
body: data2.requestBody,
|
|
13105
13111
|
mediaType: "application/json"
|
|
13106
13112
|
});
|
|
13113
|
+
}, dropCustomInstanceDb = (data2) => {
|
|
13114
|
+
return request(OpenAPI, {
|
|
13115
|
+
method: "POST",
|
|
13116
|
+
url: "/settings/drop_custom_instance_pg_database/{name}",
|
|
13117
|
+
path: {
|
|
13118
|
+
name: data2.name
|
|
13119
|
+
}
|
|
13120
|
+
});
|
|
13107
13121
|
}, getGlobal = (data2) => {
|
|
13108
13122
|
return request(OpenAPI, {
|
|
13109
13123
|
method: "GET",
|
|
@@ -14001,6 +14015,56 @@ var backendVersion = () => {
|
|
|
14001
14015
|
body: data2.requestBody,
|
|
14002
14016
|
mediaType: "application/json"
|
|
14003
14017
|
});
|
|
14018
|
+
}, createPgDatabase = (data2) => {
|
|
14019
|
+
return request(OpenAPI, {
|
|
14020
|
+
method: "POST",
|
|
14021
|
+
url: "/w/{workspace}/workspaces/create_pg_database",
|
|
14022
|
+
path: {
|
|
14023
|
+
workspace: data2.workspace
|
|
14024
|
+
},
|
|
14025
|
+
body: data2.requestBody,
|
|
14026
|
+
mediaType: "application/json"
|
|
14027
|
+
});
|
|
14028
|
+
}, dropForkedDatatableDatabases = (data2) => {
|
|
14029
|
+
return request(OpenAPI, {
|
|
14030
|
+
method: "POST",
|
|
14031
|
+
url: "/w/{workspace}/workspaces/drop_forked_datatable_databases",
|
|
14032
|
+
path: {
|
|
14033
|
+
workspace: data2.workspace
|
|
14034
|
+
},
|
|
14035
|
+
body: data2.requestBody,
|
|
14036
|
+
mediaType: "application/json"
|
|
14037
|
+
});
|
|
14038
|
+
}, importPgDatabase = (data2) => {
|
|
14039
|
+
return request(OpenAPI, {
|
|
14040
|
+
method: "POST",
|
|
14041
|
+
url: "/w/{workspace}/workspaces/import_pg_database",
|
|
14042
|
+
path: {
|
|
14043
|
+
workspace: data2.workspace
|
|
14044
|
+
},
|
|
14045
|
+
body: data2.requestBody,
|
|
14046
|
+
mediaType: "application/json"
|
|
14047
|
+
});
|
|
14048
|
+
}, exportPgSchema = (data2) => {
|
|
14049
|
+
return request(OpenAPI, {
|
|
14050
|
+
method: "POST",
|
|
14051
|
+
url: "/w/{workspace}/workspaces/export_pg_schema",
|
|
14052
|
+
path: {
|
|
14053
|
+
workspace: data2.workspace
|
|
14054
|
+
},
|
|
14055
|
+
body: data2.requestBody,
|
|
14056
|
+
mediaType: "application/json"
|
|
14057
|
+
});
|
|
14058
|
+
}, getDatatableFullSchema = (data2) => {
|
|
14059
|
+
return request(OpenAPI, {
|
|
14060
|
+
method: "POST",
|
|
14061
|
+
url: "/w/{workspace}/workspaces/get_datatable_full_schema",
|
|
14062
|
+
path: {
|
|
14063
|
+
workspace: data2.workspace
|
|
14064
|
+
},
|
|
14065
|
+
body: data2.requestBody,
|
|
14066
|
+
mediaType: "application/json"
|
|
14067
|
+
});
|
|
14004
14068
|
}, getGitSyncEnabled = (data2) => {
|
|
14005
14069
|
return request(OpenAPI, {
|
|
14006
14070
|
method: "GET",
|
|
@@ -82873,7 +82937,7 @@ var config_default = command35;
|
|
|
82873
82937
|
|
|
82874
82938
|
// src/main.ts
|
|
82875
82939
|
await init_context();
|
|
82876
|
-
var VERSION = "1.
|
|
82940
|
+
var VERSION = "1.679.0";
|
|
82877
82941
|
var command36 = new Command().name("wmill").action(() => info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`)).description("Windmill CLI").globalOption("--workspace <workspace:string>", "Specify the target workspace. This overrides the default workspace.").globalOption("--debug --verbose", "Show debug/verbose logs").globalOption("--show-diffs", "Show diff informations when syncing (may show sensitive informations)").globalOption("--token <token:string>", "Specify an API token. This will override any stored token.").globalOption("--base-url <baseUrl:string>", "Specify the base URL of the API. If used, --token and --workspace are required and no local remote/workspace already set will be used.").globalOption("--config-dir <configDir:string>", "Specify a custom config directory. Overrides WMILL_CONFIG_DIR environment variable and default ~/.config location.").env("HEADERS <headers:string>", `Specify headers to use for all requests. e.g: "HEADERS='h1: v1, h2: v2'"`).version(VERSION).versionOption(false).command("init", init_default).command("app", app_default).command("flow", flow_default).command("script", script_default).command("workspace", workspace_default).command("resource", resource_default).command("resource-type", resource_type_default).command("user", user_default).command("variable", variable_default).command("hub", hub_default).command("folder", folder_default).command("schedule", schedule_default).command("trigger", trigger_default).command("dev", dev_default2).command("sync", sync_default).command("lint", lint_default).command("gitsync-settings", gitsync_settings_default).command("instance", instance_default).command("worker-groups", worker_groups_default).command("workers", workers_default).command("queues", queues_default).command("dependencies", dependencies_default).command("jobs", jobs_default).command("job", job_default).command("group", group_default).command("audit", audit_default).command("token", token_default).command("generate-metadata", generate_metadata_default).command("docs", docs_default).command("config", config_default).command("version --version", "Show version information").action(async (opts) => {
|
|
82878
82942
|
console.log("CLI version: " + VERSION);
|
|
82879
82943
|
try {
|