windmill-cli 1.847.0 → 1.848.1
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 +14 -9
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -16766,7 +16766,7 @@ var init_OpenAPI = __esm(() => {
|
|
|
16766
16766
|
PASSWORD: undefined,
|
|
16767
16767
|
TOKEN: getEnv3("WM_TOKEN"),
|
|
16768
16768
|
USERNAME: undefined,
|
|
16769
|
-
VERSION: "1.
|
|
16769
|
+
VERSION: "1.848.1",
|
|
16770
16770
|
WITH_CREDENTIALS: true,
|
|
16771
16771
|
interceptors: {
|
|
16772
16772
|
request: new Interceptors,
|
|
@@ -20074,7 +20074,7 @@ var init_auth = __esm(async () => {
|
|
|
20074
20074
|
});
|
|
20075
20075
|
|
|
20076
20076
|
// src/core/constants.ts
|
|
20077
|
-
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.
|
|
20077
|
+
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.848.1";
|
|
20078
20078
|
|
|
20079
20079
|
// src/utils/resource_folders.ts
|
|
20080
20080
|
import { existsSync } from "node:fs";
|
|
@@ -22111,7 +22111,8 @@ async function deployItem(provider, kind, path, workspaceFrom, workspaceTo, onBe
|
|
|
22111
22111
|
value: variable.value ?? "",
|
|
22112
22112
|
is_secret: variable.is_secret,
|
|
22113
22113
|
description: variable.description ?? "",
|
|
22114
|
-
labels: variable.labels
|
|
22114
|
+
labels: variable.labels,
|
|
22115
|
+
value_valid_until: variable.value_valid_until ?? null
|
|
22115
22116
|
},
|
|
22116
22117
|
alreadyEncrypted: false
|
|
22117
22118
|
});
|
|
@@ -22123,7 +22124,8 @@ async function deployItem(provider, kind, path, workspaceFrom, workspaceTo, onBe
|
|
|
22123
22124
|
value: variable.value ?? "",
|
|
22124
22125
|
is_secret: variable.is_secret,
|
|
22125
22126
|
description: variable.description ?? "",
|
|
22126
|
-
labels: variable.labels
|
|
22127
|
+
labels: variable.labels,
|
|
22128
|
+
value_valid_until: variable.value_valid_until ?? null
|
|
22127
22129
|
}
|
|
22128
22130
|
});
|
|
22129
22131
|
}
|
|
@@ -36749,7 +36751,8 @@ var init_settings2 = __esm(async () => {
|
|
|
36749
36751
|
"guest_jwt_public_key",
|
|
36750
36752
|
"guest_jwt_jwks_url",
|
|
36751
36753
|
"error_handler_fallback_to_instance_alerts",
|
|
36752
|
-
"add_admins_and_developers_to_forks"
|
|
36754
|
+
"add_admins_and_developers_to_forks",
|
|
36755
|
+
"variable_expiration_handler"
|
|
36753
36756
|
];
|
|
36754
36757
|
instanceSettingsPath = INSTANCE_SETTINGS_PATH;
|
|
36755
36758
|
instanceConfigsPath = INSTANCE_CONFIGS_PATH;
|
|
@@ -58794,7 +58797,7 @@ var init_openflow = __esm(() => {
|
|
|
58794
58797
|
openflow_default = {
|
|
58795
58798
|
openapi: "3.0.3",
|
|
58796
58799
|
info: {
|
|
58797
|
-
version: "1.
|
|
58800
|
+
version: "1.848.1",
|
|
58798
58801
|
title: "OpenFlow Spec",
|
|
58799
58802
|
contact: {
|
|
58800
58803
|
name: "Ruben Fiszel",
|
|
@@ -76919,7 +76922,8 @@ async function pushVariable(workspace, remotePath, variable, localVariable, plai
|
|
|
76919
76922
|
}
|
|
76920
76923
|
const { extra_perms: localPerms, ...localVariableBody } = localVariable;
|
|
76921
76924
|
if (variable) {
|
|
76922
|
-
|
|
76925
|
+
const clearsValueValidUntil = localVariableBody.value_valid_until === undefined && variable.value_valid_until !== undefined && variable.value_valid_until !== null;
|
|
76926
|
+
if (!clearsValueValidUntil && isSuperset(localVariableBody, variable)) {
|
|
76923
76927
|
debug(`Variable ${remotePath} is up-to-date`);
|
|
76924
76928
|
} else {
|
|
76925
76929
|
debug(`Variable ${remotePath} is not up-to-date, updating`);
|
|
@@ -76938,7 +76942,8 @@ async function pushVariable(workspace, remotePath, variable, localVariable, plai
|
|
|
76938
76942
|
requestBody: {
|
|
76939
76943
|
...localVariableBody,
|
|
76940
76944
|
is_secret: nextIsSecret,
|
|
76941
|
-
...wsSpecific !== undefined ? { ws_specific: wsSpecific } : {}
|
|
76945
|
+
...wsSpecific !== undefined ? { ws_specific: wsSpecific } : {},
|
|
76946
|
+
...clearsValueValidUntil ? { value_valid_until: null } : {}
|
|
76942
76947
|
}
|
|
76943
76948
|
});
|
|
76944
76949
|
}
|
|
@@ -88663,7 +88668,7 @@ write a secret you were not given: keep the placeholder.
|
|
|
88663
88668
|
| \`ai_config\` | Providers, default and completion models, custom prompts, \`copilot_disabled\`. |
|
|
88664
88669
|
| \`large_file_storage\` | Workspace object storage: \`{ type, s3_resource_path \\| azure_blob_resource_path \\| gcs_resource_path, public_resource?, secondary_storage?, advanced_permissions? }\`. |
|
|
88665
88670
|
| \`git_sync\` | \`{ repositories: [...] }\`, each with \`git_repo_resource_path\`, \`script_path\` and \`settings\` (include/exclude paths and types). Server-owned fields (webhook secrets, sync state, credentials) are never read nor written. |
|
|
88666
|
-
| \`datatable\` | \`{ datatables: { <name>: { database: { resource_type, resource_path
|
|
88671
|
+
| \`datatable\` | \`{ datatables: { <name>: { database: { resource_type, resource_path } } } }\`, both required: \`resource_type: postgresql\` with \`resource_path\` a Postgres resource's path, or \`instance\`, or \`external_instance\` (Enterprise only), with \`resource_path\` the name of a database a superadmin set up. A fork's entry can instead be \`{ reference: { workspace_id, datatable } }\`, pointing at its parent's data table; keep it as is. \`main\` is the one scripts use by default. Role permissions are \`datatable_permissions\`. |
|
|
88667
88672
|
| \`datatable_permissions\` | \`{ <data table>: { default_role, roles: { <role>: [tenants] } } }\`: who may connect to each data table as which role. Tenants are \`u/<user>\`, \`g/<group>\`, \`f/<folder>\` or \`*\`; \`admin\` is always a role, and \`default_role: null\` means no default. A data table the value omits is no longer under roles. Only a data table on a cluster Windmill manages can be. |
|
|
88668
88673
|
| \`protection_rules\` | \`{ <rule name>: { rules: [...], bypass_groups: [...], bypass_users: [...] } }\`, rules among \`DisableDirectDeployment\`, \`DisableWorkspaceForking\`, \`RestrictDeployToDeployers\`, \`RestrictAnonymousAppDeployment\`, \`RestrictPublicRunSharing\`, \`RestrictGuestAppDeployment\`, \`RequireIsolatedForks\`. A rule the value omits is deleted. The dev workspace lock is not listed and cannot be set here. |
|
|
88669
88674
|
| \`ducklake\` | \`{ ducklakes: { <name>: { catalog, storage, ... } } }\`. |
|