windmill-cli 1.518.2 → 1.518.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/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.js +34 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/_is_same_path.js +17 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/_is_subdir.js +25 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/_to_path_string.js +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/copy.js +314 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/empty_dir.js +87 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_file.js +90 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_link.js +61 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.js +157 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/expand_glob.js +416 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/walk.js +846 -0
- package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +49 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +62 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +89 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +44 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +112 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +81 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +74 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +134 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_chars.js +48 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.js +707 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_loader_state.js +1409 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_schema.js +112 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/bool.js +32 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/float.js +96 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/int.js +159 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/map.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/merge.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/nil.js +22 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/omap.js +29 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.js +19 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.js +30 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/seq.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/set.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/str.js +9 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.js +81 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.js +20 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type.js +6 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_utils.js +13 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/mod.js +52 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/parse.js +93 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/stringify.js +33 -0
- package/esm/deps.js +5 -5
- package/esm/gen/services.gen.js +66 -0
- package/esm/src/commands/app/apps.js +124 -0
- package/esm/src/commands/dev/dev.js +145 -0
- package/esm/src/commands/flow/flow.js +236 -0
- package/esm/src/commands/folder/folder.js +101 -0
- package/esm/src/commands/gitsync-settings/converter.js +134 -0
- package/esm/src/commands/gitsync-settings/gitsync-settings.js +2 -0
- package/esm/src/commands/gitsync-settings/index.js +28 -0
- package/esm/src/commands/gitsync-settings/legacySettings.js +119 -0
- package/esm/src/commands/gitsync-settings/pull.js +372 -0
- package/esm/src/commands/gitsync-settings/push.js +263 -0
- package/esm/src/commands/gitsync-settings/types.js +37 -0
- package/esm/src/commands/gitsync-settings/utils.js +129 -0
- package/esm/src/commands/hub/hub.js +65 -0
- package/esm/src/commands/init/init.js +214 -0
- package/esm/src/commands/instance/instance.js +569 -0
- package/esm/src/commands/queues/queues.js +117 -0
- package/esm/src/commands/resource/resource.js +93 -0
- package/esm/src/commands/resource-type/resource-type.js +85 -0
- package/esm/src/commands/schedule/schedule.js +101 -0
- package/esm/src/commands/script/script.js +753 -0
- package/esm/src/commands/sync/pull.js +37 -0
- package/esm/src/commands/sync/sync.js +1563 -0
- package/esm/src/commands/trigger/trigger.js +182 -0
- package/esm/src/commands/user/user.js +428 -0
- package/esm/src/commands/variable/variable.js +121 -0
- package/esm/src/commands/worker-groups/worker_groups.js +96 -0
- package/esm/src/commands/workers/workers.js +79 -0
- package/esm/src/commands/workspace/workspace.js +348 -0
- package/esm/src/core/auth.js +40 -0
- package/esm/src/core/branch-profiles.js +46 -0
- package/esm/src/core/conf.js +162 -0
- package/esm/src/core/context.js +263 -0
- package/esm/src/core/login.js +100 -0
- package/esm/src/core/settings.js +432 -0
- package/esm/src/core/store.js +19 -0
- package/esm/src/main.js +174 -0
- package/esm/src/types.js +223 -0
- package/esm/src/utils/codebase.js +24 -0
- package/esm/src/utils/git.js +29 -0
- package/esm/src/utils/metadata.js +623 -0
- package/esm/src/utils/upgrade.js +48 -0
- package/esm/src/utils/utils.js +176 -0
- package/esm/windmill-utils-internal/src/config/config.js +190 -0
- package/esm/windmill-utils-internal/src/inline-scripts/extractor.js +13 -9
- package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +25 -9
- package/package.json +6 -6
- package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts +21 -0
- package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fmt/1.0.6/colors.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_get_file_info_type.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_is_same_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_is_subdir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_to_path_string.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/copy.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/empty_dir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_dir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_file.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_link.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/eol.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/exists.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts +267 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/move.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/walk.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
- package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
- package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts +99 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts +60 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
- package/types/deps.d.ts +5 -5
- package/types/gen/services.gen.d.ts +34 -1
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +43 -3
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/commands/app/apps.d.ts +17 -0
- package/types/src/commands/app/apps.d.ts.map +1 -0
- package/types/src/commands/dev/dev.d.ts +12 -0
- package/types/src/commands/dev/dev.d.ts.map +1 -0
- package/types/src/commands/flow/flow.d.ts +28 -0
- package/types/src/commands/flow/flow.d.ts.map +1 -0
- package/types/src/commands/folder/folder.d.ts +19 -0
- package/types/src/commands/folder/folder.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/converter.d.ts +10 -0
- package/types/src/commands/gitsync-settings/converter.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +3 -0
- package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/index.d.ts +25 -0
- package/types/src/commands/gitsync-settings/index.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/legacySettings.d.ts +4 -0
- package/types/src/commands/gitsync-settings/legacySettings.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/pull.d.ts +14 -0
- package/types/src/commands/gitsync-settings/pull.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/push.d.ts +10 -0
- package/types/src/commands/gitsync-settings/push.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/types.d.ts +35 -0
- package/types/src/commands/gitsync-settings/types.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/utils.d.ts +36 -0
- package/types/src/commands/gitsync-settings/utils.d.ts.map +1 -0
- package/types/src/commands/hub/hub.d.ts +12 -0
- package/types/src/commands/hub/hub.d.ts.map +1 -0
- package/types/src/commands/init/init.d.ts +34 -0
- package/types/src/commands/init/init.d.ts.map +1 -0
- package/types/src/commands/instance/instance.d.ts +46 -0
- package/types/src/commands/instance/instance.d.ts.map +1 -0
- package/types/src/commands/queues/queues.d.ts +14 -0
- package/types/src/commands/queues/queues.d.ts.map +1 -0
- package/types/src/commands/resource/resource.d.ts +18 -0
- package/types/src/commands/resource/resource.d.ts.map +1 -0
- package/types/src/commands/resource-type/resource-type.d.ts +16 -0
- package/types/src/commands/resource-type/resource-type.d.ts.map +1 -0
- package/types/src/commands/schedule/schedule.d.ts +21 -0
- package/types/src/commands/schedule/schedule.d.ts.map +1 -0
- package/types/src/commands/script/script.d.ts +51 -0
- package/types/src/commands/script/script.d.ts.map +1 -0
- package/types/src/commands/sync/pull.d.ts +12 -0
- package/types/src/commands/sync/pull.d.ts.map +1 -0
- package/types/src/commands/sync/sync.d.ts +128 -0
- package/types/src/commands/sync/sync.d.ts.map +1 -0
- package/types/src/commands/trigger/trigger.d.ts +24 -0
- package/types/src/commands/trigger/trigger.d.ts.map +1 -0
- package/types/src/commands/user/user.d.ts +34 -0
- package/types/src/commands/user/user.d.ts.map +1 -0
- package/types/src/commands/variable/variable.d.ts +23 -0
- package/types/src/commands/variable/variable.d.ts.map +1 -0
- package/types/src/commands/worker-groups/worker_groups.d.ts +23 -0
- package/types/src/commands/worker-groups/worker_groups.d.ts.map +1 -0
- package/types/src/commands/workers/workers.d.ts +14 -0
- package/types/src/commands/workers/workers.d.ts.map +1 -0
- package/types/src/commands/workspace/workspace.d.ts +30 -0
- package/types/src/commands/workspace/workspace.d.ts.map +1 -0
- package/types/src/core/auth.d.ts +8 -0
- package/types/src/core/auth.d.ts.map +1 -0
- package/types/src/core/branch-profiles.d.ts +12 -0
- package/types/src/core/branch-profiles.d.ts.map +1 -0
- package/types/src/core/conf.d.ts +64 -0
- package/types/src/core/conf.d.ts.map +1 -0
- package/types/src/core/context.d.ts +13 -0
- package/types/src/core/context.d.ts.map +1 -0
- package/types/src/core/login.d.ts +5 -0
- package/types/src/core/login.d.ts.map +1 -0
- package/types/src/core/settings.d.ts +30 -0
- package/types/src/core/settings.d.ts.map +1 -0
- package/types/src/core/store.d.ts +2 -0
- package/types/src/core/store.d.ts.map +1 -0
- package/types/src/guidance/flow_guidance.d.ts.map +1 -0
- package/types/src/guidance/script_guidance.d.ts.map +1 -0
- package/types/src/main.d.ts +74 -0
- package/types/src/main.d.ts.map +1 -0
- package/types/src/types.d.ts.map +1 -0
- package/types/src/utils/codebase.d.ts +6 -0
- package/types/src/utils/codebase.d.ts.map +1 -0
- package/types/src/utils/git.d.ts +3 -0
- package/types/src/utils/git.d.ts.map +1 -0
- package/types/src/utils/local_encryption.d.ts.map +1 -0
- package/types/src/utils/metadata.d.ts +52 -0
- package/types/src/utils/metadata.d.ts.map +1 -0
- package/types/src/utils/script_common.d.ts.map +1 -0
- package/types/src/utils/upgrade.d.ts +21 -0
- package/types/src/utils/upgrade.d.ts.map +1 -0
- package/types/src/utils/utils.d.ts +20 -0
- package/types/src/utils/utils.d.ts.map +1 -0
- package/types/windmill-utils-internal/src/config/config.d.ts +12 -0
- package/types/windmill-utils-internal/src/config/config.d.ts.map +1 -0
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +43 -3
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts +1 -4
- package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +6 -6
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +1 -1
- package/esm/apps.js +0 -124
- package/esm/auth.js +0 -40
- package/esm/codebase.js +0 -24
- package/esm/conf.js +0 -78
- package/esm/context.js +0 -121
- package/esm/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.js +0 -34
- package/esm/deps/jsr.io/@std/fs/1.0.19/_is_same_path.js +0 -17
- package/esm/deps/jsr.io/@std/fs/1.0.19/_is_subdir.js +0 -25
- package/esm/deps/jsr.io/@std/fs/1.0.19/_to_path_string.js +0 -13
- package/esm/deps/jsr.io/@std/fs/1.0.19/copy.js +0 -313
- package/esm/deps/jsr.io/@std/fs/1.0.19/empty_dir.js +0 -87
- package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_file.js +0 -90
- package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_link.js +0 -61
- package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.js +0 -156
- package/esm/deps/jsr.io/@std/fs/1.0.19/expand_glob.js +0 -415
- package/esm/deps/jsr.io/@std/fs/1.0.19/walk.js +0 -846
- package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +0 -5
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/assert_path.js +0 -7
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/basename.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/common.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/constants.js +0 -46
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/dirname.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/format.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.js +0 -234
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/relative.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.1/basename.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.1/common.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.1.1/constants.js +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.1/dirname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/extname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/format.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.1/from_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.js +0 -83
- package/esm/deps/jsr.io/@std/path/1.1.1/is_absolute.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/is_glob.js +0 -42
- package/esm/deps/jsr.io/@std/path/1.1.1/join.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.1/join_globs.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.1/mod.js +0 -216
- package/esm/deps/jsr.io/@std/path/1.1.1/normalize.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.1/normalize_glob.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.1/parse.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/_util.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/basename.js +0 -52
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/dirname.js +0 -64
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/extname.js +0 -93
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.js +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/join.js +0 -45
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/join_globs.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize.js +0 -58
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/parse.js +0 -115
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/relative.js +0 -106
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/resolve.js +0 -59
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.js +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.1/relative.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.1/resolve.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.1/to_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.1/types.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/_util.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/basename.js +0 -47
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/dirname.js +0 -113
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/extname.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.js +0 -38
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/join.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/join_globs.js +0 -41
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize.js +0 -135
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/parse.js +0 -176
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/relative.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/resolve.js +0 -154
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.js +0 -49
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_chars.js +0 -48
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_loader_state.js +0 -1427
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_schema.js +0 -107
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/bool.js +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/float.js +0 -96
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/int.js +0 -159
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/map.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/merge.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/nil.js +0 -22
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/omap.js +0 -29
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.js +0 -19
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.js +0 -30
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/seq.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/set.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/str.js +0 -9
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.js +0 -81
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.js +0 -20
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type.js +0 -6
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_utils.js +0 -13
- package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
- package/esm/deps/jsr.io/@std/yaml/1.0.9/parse.js +0 -93
- package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
- package/esm/dev.js +0 -145
- package/esm/flow.js +0 -236
- package/esm/folder.js +0 -101
- package/esm/gitsync-settings.js +0 -984
- package/esm/hub.js +0 -65
- package/esm/instance.js +0 -569
- package/esm/login.js +0 -100
- package/esm/main.js +0 -337
- package/esm/metadata.js +0 -623
- package/esm/pull.js +0 -37
- package/esm/queues.js +0 -117
- package/esm/resource-type.js +0 -85
- package/esm/resource.js +0 -93
- package/esm/schedule.js +0 -101
- package/esm/script.js +0 -753
- package/esm/settings.js +0 -432
- package/esm/store.js +0 -76
- package/esm/sync.js +0 -1662
- package/esm/trigger.js +0 -182
- package/esm/types.js +0 -223
- package/esm/upgrade.js +0 -48
- package/esm/user.js +0 -428
- package/esm/utils.js +0 -168
- package/esm/variable.js +0 -121
- package/esm/worker_groups.js +0 -96
- package/esm/workers.js +0 -79
- package/esm/workspace.js +0 -314
- package/types/apps.d.ts +0 -17
- package/types/apps.d.ts.map +0 -1
- package/types/auth.d.ts +0 -8
- package/types/auth.d.ts.map +0 -1
- package/types/codebase.d.ts +0 -6
- package/types/codebase.d.ts.map +0 -1
- package/types/conf.d.ts +0 -55
- package/types/conf.d.ts.map +0 -1
- package/types/context.d.ts +0 -13
- package/types/context.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
- package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_get_file_info_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_is_same_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_is_subdir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_to_path_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/copy.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/empty_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_file.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_link.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/eol.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/exists.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts +0 -267
- package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/move.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/walk.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +0 -2
- package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts +0 -3
- package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/assert_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts +0 -27
- package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/is_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts +0 -23
- package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts +0 -213
- package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts +0 -26
- package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts +0 -39
- package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts +0 -30
- package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts +0 -37
- package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts +0 -31
- package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts +0 -37
- package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts +0 -19
- package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_chars.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
- package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts +0 -66
- package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_schema.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/binary.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/bool.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/float.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/int.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/map.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/merge.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/nil.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/omap.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/seq.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/set.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/str.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
- package/types/dev.d.ts +0 -12
- package/types/dev.d.ts.map +0 -1
- package/types/flow.d.ts +0 -28
- package/types/flow.d.ts.map +0 -1
- package/types/flow_guidance.d.ts.map +0 -1
- package/types/folder.d.ts +0 -19
- package/types/folder.d.ts.map +0 -1
- package/types/gitsync-settings.d.ts +0 -40
- package/types/gitsync-settings.d.ts.map +0 -1
- package/types/hub.d.ts +0 -12
- package/types/hub.d.ts.map +0 -1
- package/types/instance.d.ts +0 -46
- package/types/instance.d.ts.map +0 -1
- package/types/local_encryption.d.ts.map +0 -1
- package/types/login.d.ts +0 -5
- package/types/login.d.ts.map +0 -1
- package/types/main.d.ts +0 -70
- package/types/main.d.ts.map +0 -1
- package/types/metadata.d.ts +0 -52
- package/types/metadata.d.ts.map +0 -1
- package/types/pull.d.ts +0 -12
- package/types/pull.d.ts.map +0 -1
- package/types/queues.d.ts +0 -14
- package/types/queues.d.ts.map +0 -1
- package/types/resource-type.d.ts +0 -16
- package/types/resource-type.d.ts.map +0 -1
- package/types/resource.d.ts +0 -18
- package/types/resource.d.ts.map +0 -1
- package/types/schedule.d.ts +0 -21
- package/types/schedule.d.ts.map +0 -1
- package/types/script.d.ts +0 -51
- package/types/script.d.ts.map +0 -1
- package/types/script_common.d.ts.map +0 -1
- package/types/script_guidance.d.ts.map +0 -1
- package/types/settings.d.ts +0 -30
- package/types/settings.d.ts.map +0 -1
- package/types/store.d.ts +0 -3
- package/types/store.d.ts.map +0 -1
- package/types/sync.d.ts +0 -130
- package/types/sync.d.ts.map +0 -1
- package/types/trigger.d.ts +0 -24
- package/types/trigger.d.ts.map +0 -1
- package/types/types.d.ts.map +0 -1
- package/types/upgrade.d.ts +0 -21
- package/types/upgrade.d.ts.map +0 -1
- package/types/user.d.ts +0 -34
- package/types/user.d.ts.map +0 -1
- package/types/utils.d.ts +0 -19
- package/types/utils.d.ts.map +0 -1
- package/types/variable.d.ts +0 -23
- package/types/variable.d.ts.map +0 -1
- package/types/worker_groups.d.ts +0 -24
- package/types/worker_groups.d.ts.map +0 -1
- package/types/workers.d.ts +0 -14
- package/types/workers.d.ts.map +0 -1
- package/types/workspace.d.ts +0 -28
- package/types/workspace.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
- /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.js +0 -0
- /package/esm/{flow_guidance.js → src/guidance/flow_guidance.js} +0 -0
- /package/esm/{script_guidance.js → src/guidance/script_guidance.js} +0 -0
- /package/esm/{local_encryption.js → src/utils/local_encryption.js} +0 -0
- /package/esm/{script_common.js → src/utils/script_common.js} +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/assert_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.d.ts +0 -0
- /package/types/{flow_guidance.d.ts → src/guidance/flow_guidance.d.ts} +0 -0
- /package/types/{script_guidance.d.ts → src/guidance/script_guidance.d.ts} +0 -0
- /package/types/{types.d.ts → src/types.d.ts} +0 -0
- /package/types/{local_encryption.d.ts → src/utils/local_encryption.d.ts} +0 -0
- /package/types/{script_common.d.ts → src/utils/script_common.d.ts} +0 -0
package/esm/metadata.js
DELETED
|
@@ -1,623 +0,0 @@
|
|
|
1
|
-
// deno-lint-ignore-file no-explicit-any
|
|
2
|
-
import * as dntShim from "./_dnt.shims.js";
|
|
3
|
-
import { SEP, colors, log, path, yamlParseFile, yamlStringify, } from "./deps.js";
|
|
4
|
-
import { defaultScriptMetadata, } from "./bootstrap/script_bootstrap.js";
|
|
5
|
-
import { languagesWithRawReqsSupport, } from "./script_common.js";
|
|
6
|
-
import { inferContentTypeFromFilePath } from "./script_common.js";
|
|
7
|
-
import { exts, findGlobalDeps } from "./script.js";
|
|
8
|
-
import { FSFSElement, findCodebase, newPathAssigner, yamlOptions } from "./sync.js";
|
|
9
|
-
import { generateHash, readInlinePathSync } from "./utils.js";
|
|
10
|
-
import { replaceInlineScripts } from "./windmill-utils-internal/src/inline-scripts/replacer.js";
|
|
11
|
-
import { extractInlineScripts as extractInlineScriptsForFlows } from "./windmill-utils-internal/src/inline-scripts/extractor.js";
|
|
12
|
-
import { argSigToJsonSchemaType } from "./windmill-utils-internal/src/parse/parse-schema.js";
|
|
13
|
-
import { getIsWin } from "./main.js";
|
|
14
|
-
export class LockfileGenerationError extends Error {
|
|
15
|
-
constructor(message) {
|
|
16
|
-
super(message);
|
|
17
|
-
this.name = "LockfileGenerationError";
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export async function generateAllMetadata() { }
|
|
21
|
-
function findClosestRawReqs(lang, remotePath, globalDeps) {
|
|
22
|
-
let bestCandidate = undefined;
|
|
23
|
-
if (lang) {
|
|
24
|
-
Object.entries(globalDeps.get(lang) ?? {}).forEach(([k, v]) => {
|
|
25
|
-
if (remotePath.startsWith(k) &&
|
|
26
|
-
k.length >= (bestCandidate?.k ?? "").length) {
|
|
27
|
-
bestCandidate = { k, v };
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return bestCandidate?.v;
|
|
33
|
-
}
|
|
34
|
-
const TOP_HASH = "__flow_hash";
|
|
35
|
-
async function generateFlowHash(rawReqs, folder, defaultTs) {
|
|
36
|
-
const elems = await FSFSElement(path.join(dntShim.Deno.cwd(), folder), [], true);
|
|
37
|
-
const hashes = {};
|
|
38
|
-
for await (const f of elems.getChildren()) {
|
|
39
|
-
if (exts.some((e) => f.path.endsWith(e))) {
|
|
40
|
-
let reqs;
|
|
41
|
-
if (rawReqs) {
|
|
42
|
-
// Get language name from path
|
|
43
|
-
const lang = inferContentTypeFromFilePath(f.path, defaultTs);
|
|
44
|
-
// Get lock for that language
|
|
45
|
-
[, reqs] =
|
|
46
|
-
Object.entries(rawReqs).find(([lang2, _]) => lang == lang2) ?? [];
|
|
47
|
-
}
|
|
48
|
-
// Embed lock into hash
|
|
49
|
-
hashes[f.path] = await generateHash((await f.getContentText()) + (reqs ?? ""));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return { ...hashes, [TOP_HASH]: await generateHash(JSON.stringify(hashes)) };
|
|
53
|
-
}
|
|
54
|
-
export async function generateFlowLockInternal(folder, dryRun, workspace, opts, justUpdateMetadataLock, noStaleMessage, useRawReqs) {
|
|
55
|
-
if (folder.endsWith(SEP)) {
|
|
56
|
-
folder = folder.substring(0, folder.length - 1);
|
|
57
|
-
}
|
|
58
|
-
const remote_path = folder
|
|
59
|
-
.replaceAll(SEP, "/")
|
|
60
|
-
.substring(0, folder.length - ".flow".length);
|
|
61
|
-
if (!justUpdateMetadataLock && !noStaleMessage) {
|
|
62
|
-
log.info(`Generating lock for flow ${folder} at ${remote_path}`);
|
|
63
|
-
}
|
|
64
|
-
let rawReqs = undefined;
|
|
65
|
-
if (useRawReqs) {
|
|
66
|
-
// Find all dependency files in the workspace
|
|
67
|
-
const globalDeps = await findGlobalDeps();
|
|
68
|
-
// Find closest dependency files for this flow
|
|
69
|
-
rawReqs = {};
|
|
70
|
-
// TODO: PERF: Only include raw reqs for the languages that are in the flow
|
|
71
|
-
languagesWithRawReqsSupport.map((lang) => {
|
|
72
|
-
const dep = findClosestRawReqs(lang, folder, globalDeps);
|
|
73
|
-
if (dep) {
|
|
74
|
-
// @ts-ignore
|
|
75
|
-
rawReqs[lang.language] = dep;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
let hashes = await generateFlowHash(rawReqs, folder, opts.defaultTs);
|
|
80
|
-
const conf = await readLockfile();
|
|
81
|
-
if (await checkifMetadataUptodate(folder, hashes[TOP_HASH], conf, TOP_HASH)) {
|
|
82
|
-
if (!noStaleMessage) {
|
|
83
|
-
log.info(colors.green(`Flow ${remote_path} metadata is up-to-date, skipping`));
|
|
84
|
-
}
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
else if (dryRun) {
|
|
88
|
-
return remote_path;
|
|
89
|
-
}
|
|
90
|
-
if (useRawReqs) {
|
|
91
|
-
log.warn("If using local lockfiles, following redeployments from Web App will inevitably override generated lockfiles by CLI. To maintain your script's lockfiles you will need to redeploy only from CLI. (Behavior is subject to change)");
|
|
92
|
-
log.info((await blueColor())(`Found raw requirements (${languagesWithRawReqsSupport
|
|
93
|
-
.map((l) => l.rrFilename)
|
|
94
|
-
.join("/")}) for ${folder}, using it`));
|
|
95
|
-
}
|
|
96
|
-
const flowValue = (await yamlParseFile(folder + SEP + "flow.yaml"));
|
|
97
|
-
if (!justUpdateMetadataLock) {
|
|
98
|
-
const changedScripts = [];
|
|
99
|
-
//find hashes that do not correspond to previous hashes
|
|
100
|
-
for (const [path, hash] of Object.entries(hashes)) {
|
|
101
|
-
if (path == TOP_HASH) {
|
|
102
|
-
continue;
|
|
103
|
-
}
|
|
104
|
-
if (!(await checkifMetadataUptodate(folder, hash, conf, path))) {
|
|
105
|
-
changedScripts.push(path);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
log.info(`Recomputing locks of ${changedScripts.join(", ")} in ${folder}`);
|
|
109
|
-
await replaceInlineScripts(flowValue.value.modules, async (path) => await dntShim.Deno.readTextFile(folder + SEP + path), log, folder + SEP, SEP, changedScripts, (path, newPath) => dntShim.Deno.renameSync(path, newPath), (path) => dntShim.Deno.removeSync(path));
|
|
110
|
-
//removeChangedLocks
|
|
111
|
-
flowValue.value = await updateFlow(workspace, flowValue.value, remote_path, rawReqs);
|
|
112
|
-
const inlineScripts = extractInlineScriptsForFlows(flowValue.value.modules, {}, SEP, opts.defaultTs, newPathAssigner(opts.defaultTs ?? "bun"));
|
|
113
|
-
inlineScripts
|
|
114
|
-
.filter((s) => s.path.endsWith(".lock"))
|
|
115
|
-
.forEach((s) => {
|
|
116
|
-
dntShim.Deno.writeTextFileSync(dntShim.Deno.cwd() + SEP + folder + SEP + s.path, s.content);
|
|
117
|
-
});
|
|
118
|
-
// Overwrite `flow.yaml` with the new lockfile references
|
|
119
|
-
await dntShim.Deno.writeTextFile(dntShim.Deno.cwd() + SEP + folder + SEP + "flow.yaml", yamlStringify(flowValue));
|
|
120
|
-
}
|
|
121
|
-
hashes = await generateFlowHash(rawReqs, folder, opts.defaultTs);
|
|
122
|
-
for (const [path, hash] of Object.entries(hashes)) {
|
|
123
|
-
await updateMetadataGlobalLock(folder, hash, path);
|
|
124
|
-
}
|
|
125
|
-
log.info(colors.green(`Flow ${remote_path} lockfiles updated`));
|
|
126
|
-
}
|
|
127
|
-
// on windows, when using powershell, blue is not readable
|
|
128
|
-
export async function blueColor() {
|
|
129
|
-
const isWin = await getIsWin();
|
|
130
|
-
return isWin ? colors.black : colors.blue;
|
|
131
|
-
}
|
|
132
|
-
export async function generateScriptMetadataInternal(scriptPath, workspace, opts, dryRun, noStaleMessage, globalDeps, codebases, justUpdateMetadataLock) {
|
|
133
|
-
const remotePath = scriptPath
|
|
134
|
-
.substring(0, scriptPath.indexOf("."))
|
|
135
|
-
.replaceAll(SEP, "/");
|
|
136
|
-
const language = inferContentTypeFromFilePath(scriptPath, opts.defaultTs);
|
|
137
|
-
const rrLang = languagesWithRawReqsSupport.find((l) => language == l.language);
|
|
138
|
-
const rawReqs = findClosestRawReqs(rrLang, scriptPath, globalDeps);
|
|
139
|
-
if (rawReqs && rrLang) {
|
|
140
|
-
log.info((await blueColor())(`Found raw requirements (${rrLang.rrFilename}) for ${scriptPath}, using it`));
|
|
141
|
-
}
|
|
142
|
-
const metadataWithType = await parseMetadataFile(remotePath, undefined, globalDeps, codebases);
|
|
143
|
-
// read script content
|
|
144
|
-
const scriptContent = await dntShim.Deno.readTextFile(scriptPath);
|
|
145
|
-
const metadataContent = await dntShim.Deno.readTextFile(metadataWithType.path);
|
|
146
|
-
let hash = await generateScriptHash(rawReqs, scriptContent, metadataContent);
|
|
147
|
-
if (await checkifMetadataUptodate(remotePath, hash, undefined)) {
|
|
148
|
-
if (!noStaleMessage) {
|
|
149
|
-
log.info(colors.green(`Script ${remotePath} metadata is up-to-date, skipping`));
|
|
150
|
-
}
|
|
151
|
-
return;
|
|
152
|
-
}
|
|
153
|
-
else if (dryRun) {
|
|
154
|
-
return `${remotePath} (${language})`;
|
|
155
|
-
}
|
|
156
|
-
if (!justUpdateMetadataLock) {
|
|
157
|
-
log.info(colors.gray(`Generating metadata for ${scriptPath}`));
|
|
158
|
-
}
|
|
159
|
-
const metadataParsedContent = metadataWithType?.payload;
|
|
160
|
-
if (!opts.lockOnly && !justUpdateMetadataLock) {
|
|
161
|
-
await updateScriptSchema(scriptContent, language, metadataParsedContent, scriptPath);
|
|
162
|
-
}
|
|
163
|
-
if (!opts.schemaOnly && !justUpdateMetadataLock) {
|
|
164
|
-
const hasCodebase = findCodebase(scriptPath, codebases) != undefined;
|
|
165
|
-
if (!hasCodebase) {
|
|
166
|
-
await updateScriptLock(workspace, scriptContent, language, remotePath, metadataParsedContent, rawReqs);
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
metadataParsedContent.lock = "";
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
metadataParsedContent.lock =
|
|
174
|
-
"!inline " + remotePath.replaceAll(SEP, "/") + ".script.lock";
|
|
175
|
-
}
|
|
176
|
-
let metaPath = remotePath + ".script.yaml";
|
|
177
|
-
let newMetadataContent = yamlStringify(metadataParsedContent, yamlOptions);
|
|
178
|
-
if (metadataWithType.isJson) {
|
|
179
|
-
metaPath = remotePath + ".script.json";
|
|
180
|
-
newMetadataContent = JSON.stringify(metadataParsedContent);
|
|
181
|
-
}
|
|
182
|
-
const metadataContentUsedForHash = newMetadataContent;
|
|
183
|
-
hash = await generateScriptHash(rawReqs, scriptContent, metadataContentUsedForHash);
|
|
184
|
-
await updateMetadataGlobalLock(remotePath, hash);
|
|
185
|
-
if (!justUpdateMetadataLock) {
|
|
186
|
-
await dntShim.Deno.writeTextFile(metaPath, newMetadataContent);
|
|
187
|
-
}
|
|
188
|
-
return `${remotePath} (${language})`;
|
|
189
|
-
}
|
|
190
|
-
export async function updateScriptSchema(scriptContent, language, metadataContent, path) {
|
|
191
|
-
// infer schema from script content and update it inplace
|
|
192
|
-
const result = await inferSchema(language, scriptContent, metadataContent.schema, path);
|
|
193
|
-
metadataContent.schema = result.schema;
|
|
194
|
-
if (result.has_preprocessor) {
|
|
195
|
-
metadataContent.has_preprocessor = result.has_preprocessor;
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
delete metadataContent.has_preprocessor;
|
|
199
|
-
}
|
|
200
|
-
if (result.no_main_func) {
|
|
201
|
-
metadataContent.no_main_func = result.no_main_func;
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
delete metadataContent.no_main_func;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
async function updateScriptLock(workspace, scriptContent, language, remotePath, metadataContent, rawDeps) {
|
|
208
|
-
if (!(languagesWithRawReqsSupport.some((l) => l.language == language) ||
|
|
209
|
-
language == "deno" ||
|
|
210
|
-
language == "rust" ||
|
|
211
|
-
language == "ansible")) {
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
// generate the script lock running a dependency job in Windmill and update it inplace
|
|
215
|
-
// TODO: update this once the client is released
|
|
216
|
-
const rawResponse = await fetch(`${workspace.remote}api/w/${workspace.workspaceId}/jobs/run/dependencies`, {
|
|
217
|
-
method: "POST",
|
|
218
|
-
headers: {
|
|
219
|
-
Cookie: `token=${workspace.token}`,
|
|
220
|
-
"Content-Type": "application/json",
|
|
221
|
-
},
|
|
222
|
-
body: JSON.stringify({
|
|
223
|
-
raw_scripts: [
|
|
224
|
-
{
|
|
225
|
-
raw_code: scriptContent,
|
|
226
|
-
language: language,
|
|
227
|
-
script_path: remotePath,
|
|
228
|
-
},
|
|
229
|
-
],
|
|
230
|
-
raw_deps: rawDeps,
|
|
231
|
-
entrypoint: remotePath,
|
|
232
|
-
}),
|
|
233
|
-
});
|
|
234
|
-
let responseText = "reading response failed";
|
|
235
|
-
try {
|
|
236
|
-
responseText = await rawResponse.text();
|
|
237
|
-
const response = JSON.parse(responseText);
|
|
238
|
-
const lock = response.lock;
|
|
239
|
-
if (lock === undefined) {
|
|
240
|
-
if (response?.["error"]?.["message"]) {
|
|
241
|
-
throw new LockfileGenerationError(`Failed to generate lockfile: ${response?.["error"]?.["message"]}`);
|
|
242
|
-
}
|
|
243
|
-
throw new LockfileGenerationError(`Failed to generate lockfile: ${JSON.stringify(response, null, 2)}`);
|
|
244
|
-
}
|
|
245
|
-
const lockPath = remotePath + ".script.lock";
|
|
246
|
-
if (lock != "") {
|
|
247
|
-
await dntShim.Deno.writeTextFile(lockPath, lock);
|
|
248
|
-
metadataContent.lock = "!inline " + lockPath.replaceAll(SEP, "/");
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
try {
|
|
252
|
-
if (await dntShim.Deno.stat(lockPath)) {
|
|
253
|
-
await dntShim.Deno.remove(lockPath);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
catch { }
|
|
257
|
-
metadataContent.lock = "";
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
catch (e) {
|
|
261
|
-
if (e instanceof LockfileGenerationError) {
|
|
262
|
-
throw e;
|
|
263
|
-
}
|
|
264
|
-
throw new LockfileGenerationError(`Failed to generate lockfile:${rawResponse.statusText}, ${responseText}, ${e}`);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
export async function updateFlow(workspace, flow_value, remotePath, rawDeps) {
|
|
268
|
-
let rawResponse;
|
|
269
|
-
if (rawDeps != undefined) {
|
|
270
|
-
log.info(colors.blue("Using raw requirements for flow dependencies"));
|
|
271
|
-
// generate the script lock running a dependency job in Windmill and update it inplace
|
|
272
|
-
rawResponse = await fetch(`${workspace.remote}api/w/${workspace.workspaceId}/jobs/run/flow_dependencies`, {
|
|
273
|
-
method: "POST",
|
|
274
|
-
headers: {
|
|
275
|
-
Cookie: `token=${workspace.token}`,
|
|
276
|
-
"Content-Type": "application/json",
|
|
277
|
-
},
|
|
278
|
-
body: JSON.stringify({
|
|
279
|
-
flow_value,
|
|
280
|
-
path: remotePath,
|
|
281
|
-
use_local_lockfiles: true,
|
|
282
|
-
raw_deps: rawDeps,
|
|
283
|
-
}),
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
// Standard dependency resolution on the server
|
|
288
|
-
rawResponse = await fetch(`${workspace.remote}api/w/${workspace.workspaceId}/jobs/run/flow_dependencies`, {
|
|
289
|
-
method: "POST",
|
|
290
|
-
headers: {
|
|
291
|
-
Cookie: `token=${workspace.token}`,
|
|
292
|
-
"Content-Type": "application/json",
|
|
293
|
-
},
|
|
294
|
-
body: JSON.stringify({
|
|
295
|
-
flow_value,
|
|
296
|
-
path: remotePath,
|
|
297
|
-
}),
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
let responseText = "reading response failed";
|
|
301
|
-
try {
|
|
302
|
-
const res = (await rawResponse.json());
|
|
303
|
-
if (rawResponse.status != 200) {
|
|
304
|
-
const msg = res?.["error"]?.["message"];
|
|
305
|
-
if (msg) {
|
|
306
|
-
throw new LockfileGenerationError(`Failed to generate lockfile: ${msg}`);
|
|
307
|
-
}
|
|
308
|
-
throw new LockfileGenerationError(`Failed to generate lockfile: ${rawResponse.statusText}, ${responseText}`);
|
|
309
|
-
}
|
|
310
|
-
return res.updated_flow_value;
|
|
311
|
-
}
|
|
312
|
-
catch (e) {
|
|
313
|
-
try {
|
|
314
|
-
responseText = await rawResponse.text();
|
|
315
|
-
}
|
|
316
|
-
catch { }
|
|
317
|
-
throw new Error(`Failed to generate lockfile. Status was: ${rawResponse.statusText}, ${responseText}, ${e}`);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
////////////////////////////////////////////////////////////////////////////////////////////
|
|
321
|
-
// below functions copied from Windmill's FE inferArgs function. TODO: refactor //
|
|
322
|
-
////////////////////////////////////////////////////////////////////////////////////////////
|
|
323
|
-
export async function inferSchema(language, content, currentSchema, path) {
|
|
324
|
-
let inferedSchema;
|
|
325
|
-
if (language === "python3") {
|
|
326
|
-
const { parse_python } = await import("./wasm/py/windmill_parser_wasm.js");
|
|
327
|
-
inferedSchema = JSON.parse(parse_python(content));
|
|
328
|
-
}
|
|
329
|
-
else if (language === "nativets") {
|
|
330
|
-
const { parse_deno } = await import("./wasm/ts/windmill_parser_wasm.js");
|
|
331
|
-
inferedSchema = JSON.parse(parse_deno(content));
|
|
332
|
-
}
|
|
333
|
-
else if (language === "bun") {
|
|
334
|
-
const { parse_deno } = await import("./wasm/ts/windmill_parser_wasm.js");
|
|
335
|
-
inferedSchema = JSON.parse(parse_deno(content));
|
|
336
|
-
}
|
|
337
|
-
else if (language === "deno") {
|
|
338
|
-
const { parse_deno } = await import("./wasm/ts/windmill_parser_wasm.js");
|
|
339
|
-
inferedSchema = JSON.parse(parse_deno(content));
|
|
340
|
-
}
|
|
341
|
-
else if (language === "go") {
|
|
342
|
-
const { parse_go } = await import("./wasm/go/windmill_parser_wasm.js");
|
|
343
|
-
inferedSchema = JSON.parse(parse_go(content));
|
|
344
|
-
}
|
|
345
|
-
else if (language === "mysql") {
|
|
346
|
-
const { parse_mysql } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
347
|
-
inferedSchema = JSON.parse(parse_mysql(content));
|
|
348
|
-
inferedSchema.args = [
|
|
349
|
-
{ name: "database", typ: { resource: "mysql" } },
|
|
350
|
-
...inferedSchema.args,
|
|
351
|
-
];
|
|
352
|
-
}
|
|
353
|
-
else if (language === "bigquery") {
|
|
354
|
-
const { parse_bigquery } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
355
|
-
inferedSchema = JSON.parse(parse_bigquery(content));
|
|
356
|
-
inferedSchema.args = [
|
|
357
|
-
{ name: "database", typ: { resource: "bigquery" } },
|
|
358
|
-
...inferedSchema.args,
|
|
359
|
-
];
|
|
360
|
-
}
|
|
361
|
-
else if (language === "oracledb") {
|
|
362
|
-
const { parse_oracledb } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
363
|
-
inferedSchema = JSON.parse(parse_oracledb(content));
|
|
364
|
-
inferedSchema.args = [
|
|
365
|
-
{ name: "database", typ: { resource: "oracledb" } },
|
|
366
|
-
...inferedSchema.args,
|
|
367
|
-
];
|
|
368
|
-
}
|
|
369
|
-
else if (language === "snowflake") {
|
|
370
|
-
const { parse_snowflake } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
371
|
-
inferedSchema = JSON.parse(parse_snowflake(content));
|
|
372
|
-
inferedSchema.args = [
|
|
373
|
-
{ name: "database", typ: { resource: "snowflake" } },
|
|
374
|
-
...inferedSchema.args,
|
|
375
|
-
];
|
|
376
|
-
}
|
|
377
|
-
else if (language === "mssql") {
|
|
378
|
-
const { parse_mssql } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
379
|
-
inferedSchema = JSON.parse(parse_mssql(content));
|
|
380
|
-
inferedSchema.args = [
|
|
381
|
-
{ name: "database", typ: { resource: "ms_sql_server" } },
|
|
382
|
-
...inferedSchema.args,
|
|
383
|
-
];
|
|
384
|
-
}
|
|
385
|
-
else if (language === "postgresql") {
|
|
386
|
-
const { parse_sql } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
387
|
-
inferedSchema = JSON.parse(parse_sql(content));
|
|
388
|
-
inferedSchema.args = [
|
|
389
|
-
{ name: "database", typ: { resource: "postgresql" } },
|
|
390
|
-
...inferedSchema.args,
|
|
391
|
-
];
|
|
392
|
-
}
|
|
393
|
-
else if (language === "duckdb") {
|
|
394
|
-
const { parse_duckdb } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
395
|
-
inferedSchema = JSON.parse(parse_duckdb(content));
|
|
396
|
-
}
|
|
397
|
-
else if (language === "graphql") {
|
|
398
|
-
const { parse_graphql } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
399
|
-
inferedSchema = JSON.parse(parse_graphql(content));
|
|
400
|
-
inferedSchema.args = [
|
|
401
|
-
{ name: "api", typ: { resource: "graphql" } },
|
|
402
|
-
...inferedSchema.args,
|
|
403
|
-
];
|
|
404
|
-
}
|
|
405
|
-
else if (language === "bash") {
|
|
406
|
-
const { parse_bash } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
407
|
-
inferedSchema = JSON.parse(parse_bash(content));
|
|
408
|
-
}
|
|
409
|
-
else if (language === "powershell") {
|
|
410
|
-
const { parse_powershell } = await import("./wasm/regex/windmill_parser_wasm.js");
|
|
411
|
-
inferedSchema = JSON.parse(parse_powershell(content));
|
|
412
|
-
}
|
|
413
|
-
else if (language === "php") {
|
|
414
|
-
const { parse_php } = await import("./wasm/php/windmill_parser_wasm.js");
|
|
415
|
-
inferedSchema = JSON.parse(parse_php(content));
|
|
416
|
-
}
|
|
417
|
-
else if (language === "rust") {
|
|
418
|
-
const { parse_rust } = await import("./wasm/rust/windmill_parser_wasm.js");
|
|
419
|
-
inferedSchema = JSON.parse(parse_rust(content));
|
|
420
|
-
}
|
|
421
|
-
else if (language === "csharp") {
|
|
422
|
-
const { parse_csharp } = await import("./wasm/csharp/windmill_parser_wasm.js");
|
|
423
|
-
inferedSchema = JSON.parse(parse_csharp(content));
|
|
424
|
-
}
|
|
425
|
-
else if (language === "nu") {
|
|
426
|
-
const { parse_nu } = await import("./wasm/nu/windmill_parser_wasm.js");
|
|
427
|
-
inferedSchema = JSON.parse(parse_nu(content));
|
|
428
|
-
}
|
|
429
|
-
else if (language === "ansible") {
|
|
430
|
-
const { parse_ansible } = await import("./wasm/yaml/windmill_parser_wasm.js");
|
|
431
|
-
inferedSchema = JSON.parse(parse_ansible(content));
|
|
432
|
-
}
|
|
433
|
-
else if (language === "java") {
|
|
434
|
-
const { parse_java } = await import("./wasm/java/windmill_parser_wasm.js");
|
|
435
|
-
inferedSchema = JSON.parse(parse_java(content));
|
|
436
|
-
// for related places search: ADD_NEW_LANG
|
|
437
|
-
}
|
|
438
|
-
else {
|
|
439
|
-
throw new Error("Invalid language: " + language);
|
|
440
|
-
}
|
|
441
|
-
if (inferedSchema.type == "Invalid") {
|
|
442
|
-
log.info(colors.yellow(`Script ${path} invalid, it cannot be parsed to infer schema.`));
|
|
443
|
-
return {
|
|
444
|
-
schema: defaultScriptMetadata().schema,
|
|
445
|
-
has_preprocessor: false,
|
|
446
|
-
no_main_func: false,
|
|
447
|
-
};
|
|
448
|
-
}
|
|
449
|
-
if (!currentSchema) {
|
|
450
|
-
currentSchema = {};
|
|
451
|
-
}
|
|
452
|
-
currentSchema.required = [];
|
|
453
|
-
const oldProperties = JSON.parse(JSON.stringify(currentSchema?.properties ?? {}));
|
|
454
|
-
currentSchema.properties = {};
|
|
455
|
-
for (const arg of inferedSchema.args) {
|
|
456
|
-
if (!(arg.name in oldProperties)) {
|
|
457
|
-
currentSchema.properties[arg.name] = { description: "", type: "" };
|
|
458
|
-
}
|
|
459
|
-
else {
|
|
460
|
-
currentSchema.properties[arg.name] = oldProperties[arg.name];
|
|
461
|
-
}
|
|
462
|
-
currentSchema.properties[arg.name] = sortObject(currentSchema.properties[arg.name]);
|
|
463
|
-
argSigToJsonSchemaType(arg.typ, currentSchema.properties[arg.name]);
|
|
464
|
-
currentSchema.properties[arg.name].default = arg.default;
|
|
465
|
-
if (!arg.has_default && !currentSchema.required.includes(arg.name)) {
|
|
466
|
-
currentSchema.required.push(arg.name);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
return {
|
|
470
|
-
schema: currentSchema,
|
|
471
|
-
has_preprocessor: inferedSchema.has_preprocessor,
|
|
472
|
-
no_main_func: inferedSchema.no_main_func,
|
|
473
|
-
};
|
|
474
|
-
}
|
|
475
|
-
function sortObject(obj) {
|
|
476
|
-
return Object.keys(obj)
|
|
477
|
-
.sort()
|
|
478
|
-
.reduce((acc, key) => ({
|
|
479
|
-
...acc,
|
|
480
|
-
[key]: obj[key],
|
|
481
|
-
}), {});
|
|
482
|
-
}
|
|
483
|
-
////////////////////////////////////////////////////////////////////////////////////////////
|
|
484
|
-
// end of refactoring TODO //
|
|
485
|
-
////////////////////////////////////////////////////////////////////////////////////////////
|
|
486
|
-
export function replaceLock(o) {
|
|
487
|
-
if (Array.isArray(o?.lock)) {
|
|
488
|
-
o.lock = o.lock.join("\n");
|
|
489
|
-
}
|
|
490
|
-
if (o?.lock?.startsWith("!inline ")) {
|
|
491
|
-
try {
|
|
492
|
-
const lockPath = o?.lock?.split(" ")[1];
|
|
493
|
-
o.lock = readInlinePathSync(lockPath);
|
|
494
|
-
}
|
|
495
|
-
catch (e) {
|
|
496
|
-
log.info(colors.yellow(`Failed to read lockfile, doing as if it was empty: ${e}`));
|
|
497
|
-
o.lock = "";
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
export async function parseMetadataFile(scriptPath, generateMetadataIfMissing, globalDeps, codebases) {
|
|
502
|
-
let metadataFilePath = scriptPath + ".script.json";
|
|
503
|
-
try {
|
|
504
|
-
await dntShim.Deno.stat(metadataFilePath);
|
|
505
|
-
return {
|
|
506
|
-
path: metadataFilePath,
|
|
507
|
-
payload: JSON.parse(await dntShim.Deno.readTextFile(metadataFilePath)),
|
|
508
|
-
isJson: true,
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
|
-
catch {
|
|
512
|
-
try {
|
|
513
|
-
metadataFilePath = scriptPath + ".script.yaml";
|
|
514
|
-
await dntShim.Deno.stat(metadataFilePath);
|
|
515
|
-
const payload = await yamlParseFile(metadataFilePath);
|
|
516
|
-
replaceLock(payload);
|
|
517
|
-
return {
|
|
518
|
-
path: metadataFilePath,
|
|
519
|
-
payload,
|
|
520
|
-
isJson: false,
|
|
521
|
-
};
|
|
522
|
-
}
|
|
523
|
-
catch {
|
|
524
|
-
// no metadata file at all. Create it
|
|
525
|
-
log.info((await blueColor())(`Creating script metadata file for ${metadataFilePath}`));
|
|
526
|
-
metadataFilePath = scriptPath + ".script.yaml";
|
|
527
|
-
let scriptInitialMetadata = defaultScriptMetadata();
|
|
528
|
-
const scriptInitialMetadataYaml = yamlStringify(scriptInitialMetadata, yamlOptions);
|
|
529
|
-
await dntShim.Deno.writeTextFile(metadataFilePath, scriptInitialMetadataYaml, {
|
|
530
|
-
createNew: true,
|
|
531
|
-
});
|
|
532
|
-
if (generateMetadataIfMissing) {
|
|
533
|
-
log.info((await blueColor())(`Generating lockfile and schema for ${metadataFilePath}`));
|
|
534
|
-
try {
|
|
535
|
-
await generateScriptMetadataInternal(generateMetadataIfMissing.path, generateMetadataIfMissing.workspaceRemote, generateMetadataIfMissing, false, false, globalDeps, codebases, false);
|
|
536
|
-
scriptInitialMetadata = (await yamlParseFile(metadataFilePath));
|
|
537
|
-
if (!generateMetadataIfMissing.schemaOnly) {
|
|
538
|
-
replaceLock(scriptInitialMetadata);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
catch (e) {
|
|
542
|
-
log.info(colors.yellow(`Failed to generate lockfile and schema for ${metadataFilePath}: ${e}`));
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
return {
|
|
546
|
-
path: metadataFilePath,
|
|
547
|
-
payload: scriptInitialMetadata,
|
|
548
|
-
isJson: false,
|
|
549
|
-
};
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
const WMILL_LOCKFILE = "wmill-lock.yaml";
|
|
554
|
-
export async function readLockfile() {
|
|
555
|
-
try {
|
|
556
|
-
const read = await yamlParseFile(WMILL_LOCKFILE);
|
|
557
|
-
if (typeof read == "object" && read != null) {
|
|
558
|
-
return read;
|
|
559
|
-
}
|
|
560
|
-
else {
|
|
561
|
-
throw new Error("Invalid lockfile");
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
catch {
|
|
565
|
-
const lock = { locks: {}, version: "v2" };
|
|
566
|
-
await dntShim.Deno.writeTextFile(WMILL_LOCKFILE, yamlStringify(lock, yamlOptions));
|
|
567
|
-
log.info(colors.green("wmill-lock.yaml created"));
|
|
568
|
-
return lock;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
function v2LockPath(path, subpath) {
|
|
572
|
-
if (subpath) {
|
|
573
|
-
return `${path}+${subpath}`;
|
|
574
|
-
}
|
|
575
|
-
else {
|
|
576
|
-
return path;
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
export async function checkifMetadataUptodate(path, hash, conf, subpath) {
|
|
580
|
-
if (!conf) {
|
|
581
|
-
conf = await readLockfile();
|
|
582
|
-
}
|
|
583
|
-
if (!conf.locks) {
|
|
584
|
-
return false;
|
|
585
|
-
}
|
|
586
|
-
const isV2 = conf?.version == "v2";
|
|
587
|
-
if (isV2) {
|
|
588
|
-
const current = conf.locks?.[v2LockPath(path, subpath)];
|
|
589
|
-
return current == hash;
|
|
590
|
-
}
|
|
591
|
-
else {
|
|
592
|
-
const obj = conf.locks?.[path];
|
|
593
|
-
const current = subpath && typeof obj == "object" ? obj?.[subpath] : obj;
|
|
594
|
-
return current == hash;
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
export async function generateScriptHash(rawReqs, scriptContent, newMetadataContent) {
|
|
598
|
-
return await generateHash((rawReqs ?? "") + scriptContent + newMetadataContent);
|
|
599
|
-
}
|
|
600
|
-
export async function updateMetadataGlobalLock(path, hash, subpath) {
|
|
601
|
-
const conf = await readLockfile();
|
|
602
|
-
if (!conf?.locks) {
|
|
603
|
-
conf.locks = {};
|
|
604
|
-
}
|
|
605
|
-
const isV2 = conf?.version == "v2";
|
|
606
|
-
if (isV2) {
|
|
607
|
-
conf.locks[v2LockPath(path, hash)] = hash;
|
|
608
|
-
}
|
|
609
|
-
else {
|
|
610
|
-
if (subpath) {
|
|
611
|
-
let prev = conf.locks[path];
|
|
612
|
-
if (!prev || typeof prev != "object") {
|
|
613
|
-
prev = {};
|
|
614
|
-
conf.locks[path] = prev;
|
|
615
|
-
}
|
|
616
|
-
prev[subpath] = hash;
|
|
617
|
-
}
|
|
618
|
-
else {
|
|
619
|
-
conf.locks[path] = hash;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
await dntShim.Deno.writeTextFile(WMILL_LOCKFILE, yamlStringify(conf, yamlOptions));
|
|
623
|
-
}
|
package/esm/pull.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { colors, Command, JSZip, log } from "./deps.js";
|
|
2
|
-
import { getHeaders } from "./utils.js";
|
|
3
|
-
export async function downloadZip(workspace, plainSecrets, skipVariables, skipResources, skipResourceTypes, skipSecrets, includeSchedules, includeTriggers, includeUsers, includeGroups, includeSettings, includeKey, defaultTs) {
|
|
4
|
-
const requestHeaders = new Headers();
|
|
5
|
-
requestHeaders.set("Authorization", "Bearer " + workspace.token);
|
|
6
|
-
requestHeaders.set("Content-Type", "application/octet-stream");
|
|
7
|
-
const extraHeaders = getHeaders();
|
|
8
|
-
if (extraHeaders) {
|
|
9
|
-
for (const [key, value] of Object.entries(extraHeaders)) {
|
|
10
|
-
requestHeaders.set(key, value);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
const zipResponse = await fetch(workspace.remote +
|
|
14
|
-
"api/w/" +
|
|
15
|
-
workspace.workspaceId +
|
|
16
|
-
`/workspaces/tarball?archive_type=zip&plain_secret=${plainSecrets ?? false}&skip_variables=${skipVariables ?? false}&skip_resources=${skipResources ?? false}&skip_secrets=${skipSecrets ?? false}&include_schedules=${includeSchedules ?? false}&include_triggers=${includeTriggers ?? false}&include_users=${includeUsers ?? false}&include_groups=${includeGroups ?? false}&include_settings=${includeSettings ?? false}&include_key=${includeKey ?? false}&default_ts=${defaultTs ?? "bun"}&skip_resource_types=${skipResourceTypes ?? false}`, {
|
|
17
|
-
headers: requestHeaders,
|
|
18
|
-
method: "GET",
|
|
19
|
-
});
|
|
20
|
-
if (!zipResponse.ok) {
|
|
21
|
-
console.log(colors.red("Failed to request tarball from API " + zipResponse.statusText));
|
|
22
|
-
throw new Error(await zipResponse.text());
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
log.debug(`Downloaded zip/tarball successfully`);
|
|
26
|
-
}
|
|
27
|
-
const blob = await zipResponse.blob();
|
|
28
|
-
return await JSZip.loadAsync((await blob.arrayBuffer()));
|
|
29
|
-
}
|
|
30
|
-
function stub(_opts, _dir) {
|
|
31
|
-
console.log(colors.red.underline('Pull is deprecated. Use "sync pull --raw" instead. See <TODO_LINK_HERE> for more information.'));
|
|
32
|
-
}
|
|
33
|
-
const command = new Command()
|
|
34
|
-
.description("Pull all definitions in the current workspace from the API and write them to disk.")
|
|
35
|
-
.arguments("<dir:string>")
|
|
36
|
-
.action(stub);
|
|
37
|
-
export default command;
|