@skmtc/core 0.0.24
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/_dnt.shims.d.ts +6 -0
- package/esm/_dnt.shims.d.ts.map +1 -0
- package/esm/_dnt.shims.js +61 -0
- package/esm/context/CoreContext.d.ts +67 -0
- package/esm/context/CoreContext.d.ts.map +1 -0
- package/esm/context/CoreContext.js +189 -0
- package/esm/context/GenerateContext.d.ts +47 -0
- package/esm/context/GenerateContext.d.ts.map +1 -0
- package/esm/context/GenerateContext.js +91 -0
- package/esm/context/LogStore.d.ts +11 -0
- package/esm/context/LogStore.d.ts.map +1 -0
- package/esm/context/LogStore.js +48 -0
- package/esm/context/ParseContext.d.ts +30 -0
- package/esm/context/ParseContext.d.ts.map +1 -0
- package/esm/context/ParseContext.js +42 -0
- package/esm/context/RenderContext.d.ts +32 -0
- package/esm/context/RenderContext.d.ts.map +1 -0
- package/esm/context/RenderContext.js +111 -0
- package/esm/context/Reporter.d.ts +29 -0
- package/esm/context/Reporter.d.ts.map +1 -0
- package/esm/context/Reporter.js +40 -0
- package/esm/context/Trail.d.ts +28 -0
- package/esm/context/Trail.d.ts.map +1 -0
- package/esm/context/Trail.js +114 -0
- package/esm/context/types.d.ts +10 -0
- package/esm/context/types.d.ts.map +1 -0
- package/esm/context/types.js +1 -0
- package/esm/deps/jsr.io/@std/assert/0.224.0/assert.d.ts +13 -0
- package/esm/deps/jsr.io/@std/assert/0.224.0/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.224.0/assert.js +19 -0
- package/esm/deps/jsr.io/@std/assert/0.224.0/assertion_error.d.ts +15 -0
- package/esm/deps/jsr.io/@std/assert/0.224.0/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.224.0/assertion_error.js +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/from_file_url.d.ts +3 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/glob_to_reg_exp.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/glob_to_reg_exp.js +237 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_interface.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_interface.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_interface.js +3 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_os.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/_os.js +18 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/basename.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/basename.js +26 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/common.d.ts +14 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/common.js +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/constants.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/constants.js +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/dirname.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/dirname.js +12 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/extname.d.ts +7 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/extname.js +13 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/format.d.ts +9 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/format.js +14 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/from_file_url.d.ts +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/from_file_url.js +24 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/glob_to_regexp.d.ts +63 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/glob_to_regexp.js +65 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/is_absolute.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/is_absolute.js +12 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/is_glob.d.ts +3 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/is_glob.js +28 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/join.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/join.js +12 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/join_globs.d.ts +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/join_globs.js +11 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/mod.d.ts +57 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/mod.js +60 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/normalize.d.ts +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/normalize.js +14 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/normalize_glob.d.ts +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/normalize_glob.js +11 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/parse.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/parse.js +24 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/basename.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/basename.js +27 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/common.d.ts +14 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/common.js +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/constants.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/constants.js +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/dirname.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/dirname.js +45 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/extname.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/extname.js +68 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/format.d.ts +7 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/format.js +11 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/from_file_url.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/from_file_url.js +17 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/glob_to_regexp.d.ts +58 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/glob_to_regexp.js +69 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/is_absolute.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/is_absolute.js +12 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/is_glob.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/is_glob.js +3 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/join.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/join.js +26 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/join_globs.d.ts +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/join_globs.js +26 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/mod.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/mod.js +42 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/normalize.d.ts +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/normalize.js +25 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/normalize_glob.d.ts +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/normalize_glob.js +16 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/parse.d.ts +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/parse.js +98 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/relative.d.ts +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/relative.js +94 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/resolve.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/resolve.js +48 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/to_file_url.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/to_file_url.js +22 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/to_namespaced_path.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/posix/to_namespaced_path.js +10 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/relative.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/relative.js +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/resolve.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/resolve.js +14 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/to_file_url.d.ts +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/to_file_url.js +24 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/to_namespaced_path.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/to_namespaced_path.js +14 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/basename.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/basename.js +39 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/common.d.ts +14 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/common.js +19 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/constants.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/constants.js +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/dirname.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/dirname.js +98 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/extname.d.ts +7 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/extname.js +68 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/format.d.ts +7 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/format.js +11 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/from_file_url.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/from_file_url.js +26 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/glob_to_regexp.d.ts +58 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/glob_to_regexp.js +69 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/is_absolute.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/is_absolute.js +27 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/is_glob.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/is_glob.js +3 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/join.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/join.js +72 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/join_globs.d.ts +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/join_globs.js +26 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/mod.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/mod.js +42 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/normalize.d.ts +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/normalize.js +130 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/normalize_glob.d.ts +5 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/normalize_glob.js +16 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/parse.d.ts +8 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/parse.js +159 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/relative.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/relative.js +121 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/resolve.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/resolve.js +143 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/to_file_url.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/to_file_url.js +31 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/to_namespaced_path.d.ts +6 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.224.0/windows/to_namespaced_path.js +38 -0
- package/esm/dsl/BaseSettings.d.ts +7 -0
- package/esm/dsl/BaseSettings.d.ts.map +1 -0
- package/esm/dsl/BaseSettings.js +1 -0
- package/esm/dsl/Definition.d.ts +20 -0
- package/esm/dsl/Definition.d.ts.map +1 -0
- package/esm/dsl/Definition.js +40 -0
- package/esm/dsl/Identifier.d.ts +17 -0
- package/esm/dsl/Identifier.d.ts.map +1 -0
- package/esm/dsl/Identifier.js +52 -0
- package/esm/dsl/Import.d.ts +20 -0
- package/esm/dsl/Import.d.ts.map +1 -0
- package/esm/dsl/Import.js +62 -0
- package/esm/dsl/ModelCreator.d.ts +53 -0
- package/esm/dsl/ModelCreator.d.ts.map +1 -0
- package/esm/dsl/ModelCreator.js +1 -0
- package/esm/dsl/ModelDriver.d.ts +30 -0
- package/esm/dsl/ModelDriver.d.ts.map +1 -0
- package/esm/dsl/ModelDriver.js +159 -0
- package/esm/dsl/OperationCreator.d.ts +32 -0
- package/esm/dsl/OperationCreator.d.ts.map +1 -0
- package/esm/dsl/OperationCreator.js +1 -0
- package/esm/dsl/OperationDriver.d.ts +27 -0
- package/esm/dsl/OperationDriver.d.ts.map +1 -0
- package/esm/dsl/OperationDriver.js +126 -0
- package/esm/dsl/PluginBase.d.ts +36 -0
- package/esm/dsl/PluginBase.d.ts.map +1 -0
- package/esm/dsl/PluginBase.js +46 -0
- package/esm/dsl/SchematicBase.d.ts +16 -0
- package/esm/dsl/SchematicBase.d.ts.map +1 -0
- package/esm/dsl/SchematicBase.js +28 -0
- package/esm/dsl/Stringable.d.ts +4 -0
- package/esm/dsl/Stringable.d.ts.map +1 -0
- package/esm/dsl/Stringable.js +1 -0
- package/esm/dsl/constants.d.ts +2 -0
- package/esm/dsl/constants.d.ts.map +1 -0
- package/esm/dsl/constants.js +1 -0
- package/esm/helpers/logStatus.d.ts +17 -0
- package/esm/helpers/logStatus.d.ts.map +1 -0
- package/esm/helpers/logStatus.js +6 -0
- package/esm/helpers/naming.d.ts +9 -0
- package/esm/helpers/naming.d.ts.map +1 -0
- package/esm/helpers/naming.js +25 -0
- package/esm/helpers/refFns.d.ts +8 -0
- package/esm/helpers/refFns.d.ts.map +1 -0
- package/esm/helpers/refFns.js +24 -0
- package/esm/helpers/strings.d.ts +3 -0
- package/esm/helpers/strings.d.ts.map +1 -0
- package/esm/helpers/strings.js +6 -0
- package/esm/helpers/verifyType.d.ts +4 -0
- package/esm/helpers/verifyType.d.ts.map +1 -0
- package/esm/helpers/verifyType.js +9 -0
- package/esm/mod.d.ts +54 -0
- package/esm/mod.d.ts.map +1 -0
- package/esm/mod.js +53 -0
- package/esm/oas/array/Array.d.ts +34 -0
- package/esm/oas/array/Array.d.ts.map +1 -0
- package/esm/oas/array/Array.js +49 -0
- package/esm/oas/array/array-types.d.ts +13 -0
- package/esm/oas/array/array-types.d.ts.map +1 -0
- package/esm/oas/array/array-types.js +17 -0
- package/esm/oas/array/toArray.d.ts +12 -0
- package/esm/oas/array/toArray.d.ts.map +1 -0
- package/esm/oas/array/toArray.js +20 -0
- package/esm/oas/boolean/Boolean.d.ts +29 -0
- package/esm/oas/boolean/Boolean.d.ts.map +1 -0
- package/esm/oas/boolean/Boolean.js +43 -0
- package/esm/oas/boolean/boolean-types.d.ts +10 -0
- package/esm/oas/boolean/boolean-types.d.ts.map +1 -0
- package/esm/oas/boolean/boolean-types.js +8 -0
- package/esm/oas/boolean/toBoolean.d.ts +12 -0
- package/esm/oas/boolean/toBoolean.d.ts.map +1 -0
- package/esm/oas/boolean/toBoolean.js +10 -0
- package/esm/oas/components/Components.d.ts +50 -0
- package/esm/oas/components/Components.d.ts.map +1 -0
- package/esm/oas/components/Components.js +52 -0
- package/esm/oas/components/toComponentsV3.d.ts +12 -0
- package/esm/oas/components/toComponentsV3.d.ts.map +1 -0
- package/esm/oas/components/toComponentsV3.js +44 -0
- package/esm/oas/contact/contact-types.d.ts +9 -0
- package/esm/oas/contact/contact-types.d.ts.map +1 -0
- package/esm/oas/contact/contact-types.js +7 -0
- package/esm/oas/discriminator/Discriminator.d.ts +21 -0
- package/esm/oas/discriminator/Discriminator.d.ts.map +1 -0
- package/esm/oas/discriminator/Discriminator.js +25 -0
- package/esm/oas/discriminator/discriminator-types.d.ts +8 -0
- package/esm/oas/discriminator/discriminator-types.d.ts.map +1 -0
- package/esm/oas/discriminator/discriminator-types.js +6 -0
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts +12 -0
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/esm/oas/discriminator/toDiscriminatorV3.js +16 -0
- package/esm/oas/document/Document.d.ts +41 -0
- package/esm/oas/document/Document.d.ts.map +1 -0
- package/esm/oas/document/Document.js +45 -0
- package/esm/oas/document/toDocumentV3.d.ts +12 -0
- package/esm/oas/document/toDocumentV3.d.ts.map +1 -0
- package/esm/oas/document/toDocumentV3.js +24 -0
- package/esm/oas/example/Example.d.ts +36 -0
- package/esm/oas/example/Example.d.ts.map +1 -0
- package/esm/oas/example/Example.js +45 -0
- package/esm/oas/example/example-types.d.ts +9 -0
- package/esm/oas/example/example-types.d.ts.map +1 -0
- package/esm/oas/example/example-types.js +9 -0
- package/esm/oas/example/toExamplesV3.d.ts +27 -0
- package/esm/oas/example/toExamplesV3.d.ts.map +1 -0
- package/esm/oas/example/toExamplesV3.js +45 -0
- package/esm/oas/header/Header.d.ts +52 -0
- package/esm/oas/header/Header.d.ts.map +1 -0
- package/esm/oas/header/Header.js +66 -0
- package/esm/oas/header/toHeadersV3.d.ts +13 -0
- package/esm/oas/header/toHeadersV3.d.ts.map +1 -0
- package/esm/oas/header/toHeadersV3.js +42 -0
- package/esm/oas/info/Info.d.ts +33 -0
- package/esm/oas/info/Info.d.ts.map +1 -0
- package/esm/oas/info/Info.js +40 -0
- package/esm/oas/info/toInfoV3.d.ts +12 -0
- package/esm/oas/info/toInfoV3.d.ts.map +1 -0
- package/esm/oas/info/toInfoV3.js +22 -0
- package/esm/oas/integer/Integer.d.ts +33 -0
- package/esm/oas/integer/Integer.d.ts.map +1 -0
- package/esm/oas/integer/Integer.js +49 -0
- package/esm/oas/integer/integer-types.d.ts +12 -0
- package/esm/oas/integer/integer-types.d.ts.map +1 -0
- package/esm/oas/integer/integer-types.js +18 -0
- package/esm/oas/integer/toInteger.d.ts +12 -0
- package/esm/oas/integer/toInteger.d.ts.map +1 -0
- package/esm/oas/integer/toInteger.js +13 -0
- package/esm/oas/intersection/Intersection.d.ts +35 -0
- package/esm/oas/intersection/Intersection.d.ts.map +1 -0
- package/esm/oas/intersection/Intersection.js +49 -0
- package/esm/oas/intersection/intersection-types.d.ts +14 -0
- package/esm/oas/intersection/intersection-types.d.ts.map +1 -0
- package/esm/oas/intersection/intersection-types.js +12 -0
- package/esm/oas/intersection/toIntersection.d.ts +13 -0
- package/esm/oas/intersection/toIntersection.d.ts.map +1 -0
- package/esm/oas/intersection/toIntersection.js +22 -0
- package/esm/oas/license/license-types.d.ts +9 -0
- package/esm/oas/license/license-types.d.ts.map +1 -0
- package/esm/oas/license/license-types.js +7 -0
- package/esm/oas/markdown/markdown-types.d.ts +3 -0
- package/esm/oas/markdown/markdown-types.d.ts.map +1 -0
- package/esm/oas/markdown/markdown-types.js +2 -0
- package/esm/oas/mediaType/MediaType.d.ts +28 -0
- package/esm/oas/mediaType/MediaType.d.ts.map +1 -0
- package/esm/oas/mediaType/MediaType.js +31 -0
- package/esm/oas/mediaType/mediaType-types.d.ts +12 -0
- package/esm/oas/mediaType/mediaType-types.d.ts.map +1 -0
- package/esm/oas/mediaType/mediaType-types.js +12 -0
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts +25 -0
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/esm/oas/mediaType/toMediaTypeItemV3.js +37 -0
- package/esm/oas/null/null-types.d.ts +10 -0
- package/esm/oas/null/null-types.d.ts.map +1 -0
- package/esm/oas/null/null-types.js +8 -0
- package/esm/oas/number/Number.d.ts +29 -0
- package/esm/oas/number/Number.d.ts.map +1 -0
- package/esm/oas/number/Number.js +43 -0
- package/esm/oas/number/number-types.d.ts +10 -0
- package/esm/oas/number/number-types.d.ts.map +1 -0
- package/esm/oas/number/number-types.js +14 -0
- package/esm/oas/number/toNumber.d.ts +12 -0
- package/esm/oas/number/toNumber.d.ts.map +1 -0
- package/esm/oas/number/toNumber.js +10 -0
- package/esm/oas/object/Object.d.ts +42 -0
- package/esm/oas/object/Object.d.ts.map +1 -0
- package/esm/oas/object/Object.js +61 -0
- package/esm/oas/object/object-types.d.ts +15 -0
- package/esm/oas/object/object-types.d.ts.map +1 -0
- package/esm/oas/object/object-types.js +27 -0
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts +13 -0
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/esm/oas/object/toAdditionalPropertiesV3.js +14 -0
- package/esm/oas/object/toObject.d.ts +12 -0
- package/esm/oas/object/toObject.d.ts.map +1 -0
- package/esm/oas/object/toObject.js +23 -0
- package/esm/oas/operation/Operation.d.ts +54 -0
- package/esm/oas/operation/Operation.d.ts.map +1 -0
- package/esm/oas/operation/Operation.js +90 -0
- package/esm/oas/operation/toOperationsV3.d.ts +26 -0
- package/esm/oas/operation/toOperationsV3.d.ts.map +1 -0
- package/esm/oas/operation/toOperationsV3.js +75 -0
- package/esm/oas/parameter/Parameter.d.ts +56 -0
- package/esm/oas/parameter/Parameter.d.ts.map +1 -0
- package/esm/oas/parameter/Parameter.js +77 -0
- package/esm/oas/parameter/parameter-types.d.ts +26 -0
- package/esm/oas/parameter/parameter-types.d.ts.map +1 -0
- package/esm/oas/parameter/parameter-types.js +38 -0
- package/esm/oas/parameter/toParameterV3.d.ts +25 -0
- package/esm/oas/parameter/toParameterV3.d.ts.map +1 -0
- package/esm/oas/parameter/toParameterV3.js +88 -0
- package/esm/oas/pathItem/PathItem.d.ts +27 -0
- package/esm/oas/pathItem/PathItem.d.ts.map +1 -0
- package/esm/oas/pathItem/PathItem.js +31 -0
- package/esm/oas/pathItem/toPathItemV3.d.ts +12 -0
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +1 -0
- package/esm/oas/pathItem/toPathItemV3.js +15 -0
- package/esm/oas/ref/Ref.d.ts +42 -0
- package/esm/oas/ref/Ref.d.ts.map +1 -0
- package/esm/oas/ref/Ref.js +89 -0
- package/esm/oas/ref/ref-types.d.ts +52 -0
- package/esm/oas/ref/ref-types.d.ts.map +1 -0
- package/esm/oas/ref/ref-types.js +54 -0
- package/esm/oas/ref/toRefV31.d.ts +14 -0
- package/esm/oas/ref/toRefV31.d.ts.map +1 -0
- package/esm/oas/ref/toRefV31.js +16 -0
- package/esm/oas/requestBody/RequestBody.d.ts +31 -0
- package/esm/oas/requestBody/RequestBody.d.ts.map +1 -0
- package/esm/oas/requestBody/RequestBody.js +40 -0
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts +20 -0
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/esm/oas/requestBody/toRequestBodiesV3.js +51 -0
- package/esm/oas/response/Response.d.ts +32 -0
- package/esm/oas/response/Response.d.ts.map +1 -0
- package/esm/oas/response/Response.js +40 -0
- package/esm/oas/response/toResponseV3.d.ts +25 -0
- package/esm/oas/response/toResponseV3.d.ts.map +1 -0
- package/esm/oas/response/toResponseV3.js +35 -0
- package/esm/oas/schema/Schema.d.ts +11 -0
- package/esm/oas/schema/Schema.d.ts.map +1 -0
- package/esm/oas/schema/Schema.js +1 -0
- package/esm/oas/schema/schema-types.d.ts +14 -0
- package/esm/oas/schema/schema-types.d.ts.map +1 -0
- package/esm/oas/schema/schema-types.js +23 -0
- package/esm/oas/schema/toSchemasV3.d.ts +37 -0
- package/esm/oas/schema/toSchemasV3.d.ts.map +1 -0
- package/esm/oas/schema/toSchemasV3.js +99 -0
- package/esm/oas/string/String.d.ts +33 -0
- package/esm/oas/string/String.d.ts.map +1 -0
- package/esm/oas/string/String.js +52 -0
- package/esm/oas/string/string-types.d.ts +13 -0
- package/esm/oas/string/string-types.d.ts.map +1 -0
- package/esm/oas/string/string-types.js +29 -0
- package/esm/oas/string/toString.d.ts +12 -0
- package/esm/oas/string/toString.d.ts.map +1 -0
- package/esm/oas/string/toString.js +11 -0
- package/esm/oas/tag/Tag.d.ts +23 -0
- package/esm/oas/tag/Tag.d.ts.map +1 -0
- package/esm/oas/tag/Tag.js +28 -0
- package/esm/oas/tag/toTagsV3.d.ts +12 -0
- package/esm/oas/tag/toTagsV3.d.ts.map +1 -0
- package/esm/oas/tag/toTagsV3.js +19 -0
- package/esm/oas/union/Union.d.ts +35 -0
- package/esm/oas/union/Union.d.ts.map +1 -0
- package/esm/oas/union/Union.js +49 -0
- package/esm/oas/union/toUnion.d.ts +13 -0
- package/esm/oas/union/toUnion.d.ts.map +1 -0
- package/esm/oas/union/toUnion.js +22 -0
- package/esm/oas/union/union-types.d.ts +14 -0
- package/esm/oas/union/union-types.d.ts.map +1 -0
- package/esm/oas/union/union-types.js +12 -0
- package/esm/oas/unknown/Unknown.d.ts +27 -0
- package/esm/oas/unknown/Unknown.d.ts.map +1 -0
- package/esm/oas/unknown/Unknown.js +40 -0
- package/esm/oas/unknown/toUnknown.d.ts +12 -0
- package/esm/oas/unknown/toUnknown.d.ts.map +1 -0
- package/esm/oas/unknown/toUnknown.js +9 -0
- package/esm/oas/unknown/unknown-types.d.ts +10 -0
- package/esm/oas/unknown/unknown-types.d.ts.map +1 -0
- package/esm/oas/unknown/unknown-types.js +8 -0
- package/esm/oas/void/Void.d.ts +28 -0
- package/esm/oas/void/Void.d.ts.map +1 -0
- package/esm/oas/void/Void.js +49 -0
- package/esm/oas-elements/OasBase.d.ts +15 -0
- package/esm/oas-elements/OasBase.d.ts.map +1 -0
- package/esm/oas-elements/OasBase.js +27 -0
- package/esm/package.json +3 -0
- package/esm/parse/parse.d.ts +15 -0
- package/esm/parse/parse.d.ts.map +1 -0
- package/esm/parse/parse.js +69 -0
- package/esm/settings/ContentSettings.d.ts +21 -0
- package/esm/settings/ContentSettings.d.ts.map +1 -0
- package/esm/settings/ContentSettings.js +43 -0
- package/esm/types/CustomValue.d.ts +10 -0
- package/esm/types/CustomValue.d.ts.map +1 -0
- package/esm/types/CustomValue.js +29 -0
- package/esm/types/Method.d.ts +9 -0
- package/esm/types/Method.d.ts.map +1 -0
- package/esm/types/Method.js +31 -0
- package/esm/types/Modifiers.d.ts +6 -0
- package/esm/types/Modifiers.d.ts.map +1 -0
- package/esm/types/Modifiers.js +1 -0
- package/esm/types/TypeSystem.d.ts +73 -0
- package/esm/types/TypeSystem.d.ts.map +1 -0
- package/esm/types/TypeSystem.js +1 -0
- package/esm/types/plugins.d.ts +20 -0
- package/esm/types/plugins.d.ts.map +1 -0
- package/esm/types/plugins.js +1 -0
- package/esm/types/prettierConfig.d.ts +27 -0
- package/esm/types/prettierConfig.d.ts.map +1 -0
- package/esm/types/prettierConfig.js +46 -0
- package/esm/types/settingsTypes.d.ts +55 -0
- package/esm/types/settingsTypes.d.ts.map +1 -0
- package/esm/types/settingsTypes.js +43 -0
- package/esm/typescript/EntityType.d.ts +8 -0
- package/esm/typescript/EntityType.d.ts.map +1 -0
- package/esm/typescript/EntityType.js +21 -0
- package/esm/typescript/FunctionParameter.d.ts +35 -0
- package/esm/typescript/FunctionParameter.d.ts.map +1 -0
- package/esm/typescript/FunctionParameter.js +88 -0
- package/esm/typescript/ReactRouterPathParams.d.ts +20 -0
- package/esm/typescript/ReactRouterPathParams.d.ts.map +1 -0
- package/esm/typescript/ReactRouterPathParams.js +52 -0
- package/esm/typescript/identifiers.d.ts +3 -0
- package/esm/typescript/identifiers.d.ts.map +1 -0
- package/esm/typescript/identifiers.js +7 -0
- package/esm/typescript/keyValues.d.ts +3 -0
- package/esm/typescript/keyValues.d.ts.map +1 -0
- package/esm/typescript/keyValues.js +11 -0
- package/esm/typescript/toDestructuredObject.d.ts +3 -0
- package/esm/typescript/toDestructuredObject.d.ts.map +1 -0
- package/esm/typescript/toDestructuredObject.js +17 -0
- package/esm/typescript/toOperationArg.d.ts +21 -0
- package/esm/typescript/toOperationArg.d.ts.map +1 -0
- package/esm/typescript/toOperationArg.js +56 -0
- package/esm/typescript/toOperationResponse.d.ts +16 -0
- package/esm/typescript/toOperationResponse.d.ts.map +1 -0
- package/esm/typescript/toOperationResponse.js +16 -0
- package/esm/typescript/toParamsObject.d.ts +3 -0
- package/esm/typescript/toParamsObject.d.ts.map +1 -0
- package/esm/typescript/toParamsObject.js +12 -0
- package/esm/typescript/toPathTemplate.d.ts +2 -0
- package/esm/typescript/toPathTemplate.d.ts.map +1 -0
- package/esm/typescript/toPathTemplate.js +3 -0
- package/esm/typescript/withDescription.d.ts +4 -0
- package/esm/typescript/withDescription.d.ts.map +1 -0
- package/esm/typescript/withDescription.js +3 -0
- package/package.json +248 -0
- package/script/_dnt.shims.d.ts +6 -0
- package/script/_dnt.shims.d.ts.map +1 -0
- package/script/_dnt.shims.js +65 -0
- package/script/context/CoreContext.d.ts +67 -0
- package/script/context/CoreContext.d.ts.map +1 -0
- package/script/context/CoreContext.js +193 -0
- package/script/context/GenerateContext.d.ts +47 -0
- package/script/context/GenerateContext.d.ts.map +1 -0
- package/script/context/GenerateContext.js +95 -0
- package/script/context/LogStore.d.ts +11 -0
- package/script/context/LogStore.d.ts.map +1 -0
- package/script/context/LogStore.js +52 -0
- package/script/context/ParseContext.d.ts +30 -0
- package/script/context/ParseContext.d.ts.map +1 -0
- package/script/context/ParseContext.js +46 -0
- package/script/context/RenderContext.d.ts +32 -0
- package/script/context/RenderContext.d.ts.map +1 -0
- package/script/context/RenderContext.js +118 -0
- package/script/context/Reporter.d.ts +29 -0
- package/script/context/Reporter.d.ts.map +1 -0
- package/script/context/Reporter.js +44 -0
- package/script/context/Trail.d.ts +28 -0
- package/script/context/Trail.d.ts.map +1 -0
- package/script/context/Trail.js +118 -0
- package/script/context/types.d.ts +10 -0
- package/script/context/types.d.ts.map +1 -0
- package/script/context/types.js +2 -0
- package/script/deps/jsr.io/@std/assert/0.224.0/assert.d.ts +13 -0
- package/script/deps/jsr.io/@std/assert/0.224.0/assert.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/0.224.0/assert.js +23 -0
- package/script/deps/jsr.io/@std/assert/0.224.0/assertion_error.d.ts +15 -0
- package/script/deps/jsr.io/@std/assert/0.224.0/assertion_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/0.224.0/assertion_error.js +23 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/assert_path.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/assert_path.js +11 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/basename.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/basename.js +46 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/common.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/common.js +27 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/constants.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/constants.js +49 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/dirname.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/dirname.js +12 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/format.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/format.js +24 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/from_file_url.d.ts +3 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/from_file_url.js +13 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/glob_to_reg_exp.d.ts +29 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/glob_to_reg_exp.js +241 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/normalize.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/normalize.js +12 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/normalize_string.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/normalize_string.js +81 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/relative.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/relative.js +13 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/strip_trailing_separators.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/strip_trailing_separators.js +23 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/to_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_common/to_file_url.js +19 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_interface.d.ts +39 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_interface.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_interface.js +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_os.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/_os.js +44 -0
- package/script/deps/jsr.io/@std/path/0.224.0/basename.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/0.224.0/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/basename.js +30 -0
- package/script/deps/jsr.io/@std/path/0.224.0/common.d.ts +14 -0
- package/script/deps/jsr.io/@std/path/0.224.0/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/common.js +23 -0
- package/script/deps/jsr.io/@std/path/0.224.0/constants.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/constants.js +9 -0
- package/script/deps/jsr.io/@std/path/0.224.0/dirname.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/dirname.js +16 -0
- package/script/deps/jsr.io/@std/path/0.224.0/extname.d.ts +7 -0
- package/script/deps/jsr.io/@std/path/0.224.0/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/extname.js +17 -0
- package/script/deps/jsr.io/@std/path/0.224.0/format.d.ts +9 -0
- package/script/deps/jsr.io/@std/path/0.224.0/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/format.js +18 -0
- package/script/deps/jsr.io/@std/path/0.224.0/from_file_url.d.ts +19 -0
- package/script/deps/jsr.io/@std/path/0.224.0/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/from_file_url.js +28 -0
- package/script/deps/jsr.io/@std/path/0.224.0/glob_to_regexp.d.ts +63 -0
- package/script/deps/jsr.io/@std/path/0.224.0/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/glob_to_regexp.js +69 -0
- package/script/deps/jsr.io/@std/path/0.224.0/is_absolute.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/is_absolute.js +16 -0
- package/script/deps/jsr.io/@std/path/0.224.0/is_glob.d.ts +3 -0
- package/script/deps/jsr.io/@std/path/0.224.0/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/is_glob.js +32 -0
- package/script/deps/jsr.io/@std/path/0.224.0/join.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/join.js +16 -0
- package/script/deps/jsr.io/@std/path/0.224.0/join_globs.d.ts +5 -0
- package/script/deps/jsr.io/@std/path/0.224.0/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/join_globs.js +15 -0
- package/script/deps/jsr.io/@std/path/0.224.0/mod.d.ts +57 -0
- package/script/deps/jsr.io/@std/path/0.224.0/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/mod.js +89 -0
- package/script/deps/jsr.io/@std/path/0.224.0/normalize.d.ts +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/normalize.js +18 -0
- package/script/deps/jsr.io/@std/path/0.224.0/normalize_glob.d.ts +5 -0
- package/script/deps/jsr.io/@std/path/0.224.0/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/normalize_glob.js +15 -0
- package/script/deps/jsr.io/@std/path/0.224.0/parse.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/0.224.0/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/parse.js +28 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/_util.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/_util.js +12 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/basename.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/basename.js +31 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/common.d.ts +14 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/common.js +23 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/constants.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/constants.js +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/dirname.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/dirname.js +49 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/extname.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/extname.js +72 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/format.d.ts +7 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/format.js +15 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/from_file_url.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/from_file_url.js +21 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/glob_to_regexp.d.ts +58 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/glob_to_regexp.js +73 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/is_absolute.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/is_absolute.js +16 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/is_glob.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/is_glob.js +7 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/join.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/join.js +30 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/join_globs.d.ts +5 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/join_globs.js +30 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/mod.d.ts +39 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/mod.js +58 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/normalize.d.ts +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/normalize.js +29 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/normalize_glob.d.ts +5 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/normalize_glob.js +20 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/parse.d.ts +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/parse.js +102 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/relative.d.ts +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/relative.js +98 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/resolve.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/resolve.js +75 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/to_file_url.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/to_file_url.js +26 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/to_namespaced_path.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/posix/to_namespaced_path.js +14 -0
- package/script/deps/jsr.io/@std/path/0.224.0/relative.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/0.224.0/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/relative.js +23 -0
- package/script/deps/jsr.io/@std/path/0.224.0/resolve.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/resolve.js +18 -0
- package/script/deps/jsr.io/@std/path/0.224.0/to_file_url.d.ts +19 -0
- package/script/deps/jsr.io/@std/path/0.224.0/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/to_file_url.js +28 -0
- package/script/deps/jsr.io/@std/path/0.224.0/to_namespaced_path.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/to_namespaced_path.js +18 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/_util.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/_util.js +21 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/basename.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/basename.js +43 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/common.d.ts +14 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/common.js +23 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/constants.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/constants.js +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/dirname.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/dirname.js +102 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/extname.d.ts +7 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/extname.js +72 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/format.d.ts +7 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/format.js +15 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/from_file_url.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/from_file_url.js +30 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/glob_to_regexp.d.ts +58 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/glob_to_regexp.js +73 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/is_absolute.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/is_absolute.js +31 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/is_glob.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/is_glob.js +7 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/join.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/join.js +76 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/join_globs.d.ts +5 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/join_globs.js +30 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/mod.d.ts +39 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/mod.js +58 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/normalize.d.ts +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/normalize.js +134 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/normalize_glob.d.ts +5 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/normalize_glob.js +20 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/parse.d.ts +8 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/parse.js +163 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/relative.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/relative.js +125 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/resolve.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/resolve.js +170 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/to_file_url.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/to_file_url.js +35 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/to_namespaced_path.d.ts +6 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/0.224.0/windows/to_namespaced_path.js +42 -0
- package/script/dsl/BaseSettings.d.ts +7 -0
- package/script/dsl/BaseSettings.d.ts.map +1 -0
- package/script/dsl/BaseSettings.js +2 -0
- package/script/dsl/Definition.d.ts +20 -0
- package/script/dsl/Definition.d.ts.map +1 -0
- package/script/dsl/Definition.js +44 -0
- package/script/dsl/Identifier.d.ts +17 -0
- package/script/dsl/Identifier.d.ts.map +1 -0
- package/script/dsl/Identifier.js +56 -0
- package/script/dsl/Import.d.ts +20 -0
- package/script/dsl/Import.d.ts.map +1 -0
- package/script/dsl/Import.js +67 -0
- package/script/dsl/ModelCreator.d.ts +53 -0
- package/script/dsl/ModelCreator.d.ts.map +1 -0
- package/script/dsl/ModelCreator.js +2 -0
- package/script/dsl/ModelDriver.d.ts +30 -0
- package/script/dsl/ModelDriver.d.ts.map +1 -0
- package/script/dsl/ModelDriver.js +166 -0
- package/script/dsl/OperationCreator.d.ts +32 -0
- package/script/dsl/OperationCreator.d.ts.map +1 -0
- package/script/dsl/OperationCreator.js +2 -0
- package/script/dsl/OperationDriver.d.ts +27 -0
- package/script/dsl/OperationDriver.d.ts.map +1 -0
- package/script/dsl/OperationDriver.js +133 -0
- package/script/dsl/PluginBase.d.ts +36 -0
- package/script/dsl/PluginBase.d.ts.map +1 -0
- package/script/dsl/PluginBase.js +50 -0
- package/script/dsl/SchematicBase.d.ts +16 -0
- package/script/dsl/SchematicBase.d.ts.map +1 -0
- package/script/dsl/SchematicBase.js +32 -0
- package/script/dsl/Stringable.d.ts +4 -0
- package/script/dsl/Stringable.d.ts.map +1 -0
- package/script/dsl/Stringable.js +2 -0
- package/script/dsl/constants.d.ts +2 -0
- package/script/dsl/constants.d.ts.map +1 -0
- package/script/dsl/constants.js +4 -0
- package/script/helpers/logStatus.d.ts +17 -0
- package/script/helpers/logStatus.d.ts.map +1 -0
- package/script/helpers/logStatus.js +11 -0
- package/script/helpers/naming.d.ts +9 -0
- package/script/helpers/naming.d.ts.map +1 -0
- package/script/helpers/naming.js +36 -0
- package/script/helpers/refFns.d.ts +8 -0
- package/script/helpers/refFns.d.ts.map +1 -0
- package/script/helpers/refFns.js +30 -0
- package/script/helpers/strings.d.ts +3 -0
- package/script/helpers/strings.d.ts.map +1 -0
- package/script/helpers/strings.js +11 -0
- package/script/helpers/verifyType.d.ts +4 -0
- package/script/helpers/verifyType.d.ts.map +1 -0
- package/script/helpers/verifyType.js +13 -0
- package/script/mod.d.ts +54 -0
- package/script/mod.d.ts.map +1 -0
- package/script/mod.js +69 -0
- package/script/oas/array/Array.d.ts +34 -0
- package/script/oas/array/Array.d.ts.map +1 -0
- package/script/oas/array/Array.js +53 -0
- package/script/oas/array/array-types.d.ts +13 -0
- package/script/oas/array/array-types.d.ts.map +1 -0
- package/script/oas/array/array-types.js +20 -0
- package/script/oas/array/toArray.d.ts +12 -0
- package/script/oas/array/toArray.d.ts.map +1 -0
- package/script/oas/array/toArray.js +24 -0
- package/script/oas/boolean/Boolean.d.ts +29 -0
- package/script/oas/boolean/Boolean.d.ts.map +1 -0
- package/script/oas/boolean/Boolean.js +47 -0
- package/script/oas/boolean/boolean-types.d.ts +10 -0
- package/script/oas/boolean/boolean-types.d.ts.map +1 -0
- package/script/oas/boolean/boolean-types.js +11 -0
- package/script/oas/boolean/toBoolean.d.ts +12 -0
- package/script/oas/boolean/toBoolean.d.ts.map +1 -0
- package/script/oas/boolean/toBoolean.js +14 -0
- package/script/oas/components/Components.d.ts +50 -0
- package/script/oas/components/Components.d.ts.map +1 -0
- package/script/oas/components/Components.js +56 -0
- package/script/oas/components/toComponentsV3.d.ts +12 -0
- package/script/oas/components/toComponentsV3.d.ts.map +1 -0
- package/script/oas/components/toComponentsV3.js +48 -0
- package/script/oas/contact/contact-types.d.ts +9 -0
- package/script/oas/contact/contact-types.d.ts.map +1 -0
- package/script/oas/contact/contact-types.js +10 -0
- package/script/oas/discriminator/Discriminator.d.ts +21 -0
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -0
- package/script/oas/discriminator/Discriminator.js +29 -0
- package/script/oas/discriminator/discriminator-types.d.ts +8 -0
- package/script/oas/discriminator/discriminator-types.d.ts.map +1 -0
- package/script/oas/discriminator/discriminator-types.js +9 -0
- package/script/oas/discriminator/toDiscriminatorV3.d.ts +12 -0
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/script/oas/discriminator/toDiscriminatorV3.js +20 -0
- package/script/oas/document/Document.d.ts +41 -0
- package/script/oas/document/Document.d.ts.map +1 -0
- package/script/oas/document/Document.js +49 -0
- package/script/oas/document/toDocumentV3.d.ts +12 -0
- package/script/oas/document/toDocumentV3.d.ts.map +1 -0
- package/script/oas/document/toDocumentV3.js +28 -0
- package/script/oas/example/Example.d.ts +36 -0
- package/script/oas/example/Example.d.ts.map +1 -0
- package/script/oas/example/Example.js +49 -0
- package/script/oas/example/example-types.d.ts +9 -0
- package/script/oas/example/example-types.d.ts.map +1 -0
- package/script/oas/example/example-types.js +12 -0
- package/script/oas/example/toExamplesV3.d.ts +27 -0
- package/script/oas/example/toExamplesV3.d.ts.map +1 -0
- package/script/oas/example/toExamplesV3.js +51 -0
- package/script/oas/header/Header.d.ts +52 -0
- package/script/oas/header/Header.d.ts.map +1 -0
- package/script/oas/header/Header.js +70 -0
- package/script/oas/header/toHeadersV3.d.ts +13 -0
- package/script/oas/header/toHeadersV3.d.ts.map +1 -0
- package/script/oas/header/toHeadersV3.js +46 -0
- package/script/oas/info/Info.d.ts +33 -0
- package/script/oas/info/Info.d.ts.map +1 -0
- package/script/oas/info/Info.js +44 -0
- package/script/oas/info/toInfoV3.d.ts +12 -0
- package/script/oas/info/toInfoV3.d.ts.map +1 -0
- package/script/oas/info/toInfoV3.js +26 -0
- package/script/oas/integer/Integer.d.ts +33 -0
- package/script/oas/integer/Integer.d.ts.map +1 -0
- package/script/oas/integer/Integer.js +53 -0
- package/script/oas/integer/integer-types.d.ts +12 -0
- package/script/oas/integer/integer-types.d.ts.map +1 -0
- package/script/oas/integer/integer-types.js +21 -0
- package/script/oas/integer/toInteger.d.ts +12 -0
- package/script/oas/integer/toInteger.d.ts.map +1 -0
- package/script/oas/integer/toInteger.js +17 -0
- package/script/oas/intersection/Intersection.d.ts +35 -0
- package/script/oas/intersection/Intersection.d.ts.map +1 -0
- package/script/oas/intersection/Intersection.js +53 -0
- package/script/oas/intersection/intersection-types.d.ts +14 -0
- package/script/oas/intersection/intersection-types.d.ts.map +1 -0
- package/script/oas/intersection/intersection-types.js +15 -0
- package/script/oas/intersection/toIntersection.d.ts +13 -0
- package/script/oas/intersection/toIntersection.d.ts.map +1 -0
- package/script/oas/intersection/toIntersection.js +26 -0
- package/script/oas/license/license-types.d.ts +9 -0
- package/script/oas/license/license-types.d.ts.map +1 -0
- package/script/oas/license/license-types.js +10 -0
- package/script/oas/markdown/markdown-types.d.ts +3 -0
- package/script/oas/markdown/markdown-types.d.ts.map +1 -0
- package/script/oas/markdown/markdown-types.js +5 -0
- package/script/oas/mediaType/MediaType.d.ts +28 -0
- package/script/oas/mediaType/MediaType.d.ts.map +1 -0
- package/script/oas/mediaType/MediaType.js +35 -0
- package/script/oas/mediaType/mediaType-types.d.ts +12 -0
- package/script/oas/mediaType/mediaType-types.d.ts.map +1 -0
- package/script/oas/mediaType/mediaType-types.js +15 -0
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts +25 -0
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/script/oas/mediaType/toMediaTypeItemV3.js +43 -0
- package/script/oas/null/null-types.d.ts +10 -0
- package/script/oas/null/null-types.d.ts.map +1 -0
- package/script/oas/null/null-types.js +11 -0
- package/script/oas/number/Number.d.ts +29 -0
- package/script/oas/number/Number.d.ts.map +1 -0
- package/script/oas/number/Number.js +47 -0
- package/script/oas/number/number-types.d.ts +10 -0
- package/script/oas/number/number-types.d.ts.map +1 -0
- package/script/oas/number/number-types.js +17 -0
- package/script/oas/number/toNumber.d.ts +12 -0
- package/script/oas/number/toNumber.d.ts.map +1 -0
- package/script/oas/number/toNumber.js +14 -0
- package/script/oas/object/Object.d.ts +42 -0
- package/script/oas/object/Object.d.ts.map +1 -0
- package/script/oas/object/Object.js +65 -0
- package/script/oas/object/object-types.d.ts +15 -0
- package/script/oas/object/object-types.d.ts.map +1 -0
- package/script/oas/object/object-types.js +30 -0
- package/script/oas/object/toAdditionalPropertiesV3.d.ts +13 -0
- package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/script/oas/object/toAdditionalPropertiesV3.js +18 -0
- package/script/oas/object/toObject.d.ts +12 -0
- package/script/oas/object/toObject.d.ts.map +1 -0
- package/script/oas/object/toObject.js +27 -0
- package/script/oas/operation/Operation.d.ts +54 -0
- package/script/oas/operation/Operation.d.ts.map +1 -0
- package/script/oas/operation/Operation.js +97 -0
- package/script/oas/operation/toOperationsV3.d.ts +26 -0
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -0
- package/script/oas/operation/toOperationsV3.js +80 -0
- package/script/oas/parameter/Parameter.d.ts +56 -0
- package/script/oas/parameter/Parameter.d.ts.map +1 -0
- package/script/oas/parameter/Parameter.js +81 -0
- package/script/oas/parameter/parameter-types.d.ts +26 -0
- package/script/oas/parameter/parameter-types.d.ts.map +1 -0
- package/script/oas/parameter/parameter-types.js +41 -0
- package/script/oas/parameter/toParameterV3.d.ts +25 -0
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -0
- package/script/oas/parameter/toParameterV3.js +94 -0
- package/script/oas/pathItem/PathItem.d.ts +27 -0
- package/script/oas/pathItem/PathItem.d.ts.map +1 -0
- package/script/oas/pathItem/PathItem.js +35 -0
- package/script/oas/pathItem/toPathItemV3.d.ts +12 -0
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -0
- package/script/oas/pathItem/toPathItemV3.js +19 -0
- package/script/oas/ref/Ref.d.ts +42 -0
- package/script/oas/ref/Ref.d.ts.map +1 -0
- package/script/oas/ref/Ref.js +93 -0
- package/script/oas/ref/ref-types.d.ts +52 -0
- package/script/oas/ref/ref-types.d.ts.map +1 -0
- package/script/oas/ref/ref-types.js +57 -0
- package/script/oas/ref/toRefV31.d.ts +14 -0
- package/script/oas/ref/toRefV31.d.ts.map +1 -0
- package/script/oas/ref/toRefV31.js +20 -0
- package/script/oas/requestBody/RequestBody.d.ts +31 -0
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -0
- package/script/oas/requestBody/RequestBody.js +44 -0
- package/script/oas/requestBody/toRequestBodiesV3.d.ts +20 -0
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/script/oas/requestBody/toRequestBodiesV3.js +56 -0
- package/script/oas/response/Response.d.ts +32 -0
- package/script/oas/response/Response.d.ts.map +1 -0
- package/script/oas/response/Response.js +44 -0
- package/script/oas/response/toResponseV3.d.ts +25 -0
- package/script/oas/response/toResponseV3.d.ts.map +1 -0
- package/script/oas/response/toResponseV3.js +41 -0
- package/script/oas/schema/Schema.d.ts +11 -0
- package/script/oas/schema/Schema.d.ts.map +1 -0
- package/script/oas/schema/Schema.js +2 -0
- package/script/oas/schema/schema-types.d.ts +14 -0
- package/script/oas/schema/schema-types.d.ts.map +1 -0
- package/script/oas/schema/schema-types.js +26 -0
- package/script/oas/schema/toSchemasV3.d.ts +37 -0
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -0
- package/script/oas/schema/toSchemasV3.js +110 -0
- package/script/oas/string/String.d.ts +33 -0
- package/script/oas/string/String.d.ts.map +1 -0
- package/script/oas/string/String.js +56 -0
- package/script/oas/string/string-types.d.ts +13 -0
- package/script/oas/string/string-types.d.ts.map +1 -0
- package/script/oas/string/string-types.js +32 -0
- package/script/oas/string/toString.d.ts +12 -0
- package/script/oas/string/toString.d.ts.map +1 -0
- package/script/oas/string/toString.js +15 -0
- package/script/oas/tag/Tag.d.ts +23 -0
- package/script/oas/tag/Tag.d.ts.map +1 -0
- package/script/oas/tag/Tag.js +32 -0
- package/script/oas/tag/toTagsV3.d.ts +12 -0
- package/script/oas/tag/toTagsV3.d.ts.map +1 -0
- package/script/oas/tag/toTagsV3.js +23 -0
- package/script/oas/union/Union.d.ts +35 -0
- package/script/oas/union/Union.d.ts.map +1 -0
- package/script/oas/union/Union.js +53 -0
- package/script/oas/union/toUnion.d.ts +13 -0
- package/script/oas/union/toUnion.d.ts.map +1 -0
- package/script/oas/union/toUnion.js +26 -0
- package/script/oas/union/union-types.d.ts +14 -0
- package/script/oas/union/union-types.d.ts.map +1 -0
- package/script/oas/union/union-types.js +15 -0
- package/script/oas/unknown/Unknown.d.ts +27 -0
- package/script/oas/unknown/Unknown.d.ts.map +1 -0
- package/script/oas/unknown/Unknown.js +44 -0
- package/script/oas/unknown/toUnknown.d.ts +12 -0
- package/script/oas/unknown/toUnknown.d.ts.map +1 -0
- package/script/oas/unknown/toUnknown.js +13 -0
- package/script/oas/unknown/unknown-types.d.ts +10 -0
- package/script/oas/unknown/unknown-types.d.ts.map +1 -0
- package/script/oas/unknown/unknown-types.js +11 -0
- package/script/oas/void/Void.d.ts +28 -0
- package/script/oas/void/Void.d.ts.map +1 -0
- package/script/oas/void/Void.js +53 -0
- package/script/oas-elements/OasBase.d.ts +15 -0
- package/script/oas-elements/OasBase.d.ts.map +1 -0
- package/script/oas-elements/OasBase.js +31 -0
- package/script/package.json +3 -0
- package/script/parse/parse.d.ts +15 -0
- package/script/parse/parse.d.ts.map +1 -0
- package/script/parse/parse.js +74 -0
- package/script/settings/ContentSettings.d.ts +21 -0
- package/script/settings/ContentSettings.d.ts.map +1 -0
- package/script/settings/ContentSettings.js +47 -0
- package/script/types/CustomValue.d.ts +10 -0
- package/script/types/CustomValue.d.ts.map +1 -0
- package/script/types/CustomValue.js +34 -0
- package/script/types/Method.d.ts +9 -0
- package/script/types/Method.d.ts.map +1 -0
- package/script/types/Method.js +34 -0
- package/script/types/Modifiers.d.ts +6 -0
- package/script/types/Modifiers.d.ts.map +1 -0
- package/script/types/Modifiers.js +2 -0
- package/script/types/TypeSystem.d.ts +73 -0
- package/script/types/TypeSystem.d.ts.map +1 -0
- package/script/types/TypeSystem.js +2 -0
- package/script/types/plugins.d.ts +20 -0
- package/script/types/plugins.d.ts.map +1 -0
- package/script/types/plugins.js +2 -0
- package/script/types/prettierConfig.d.ts +27 -0
- package/script/types/prettierConfig.d.ts.map +1 -0
- package/script/types/prettierConfig.js +49 -0
- package/script/types/settingsTypes.d.ts +55 -0
- package/script/types/settingsTypes.d.ts.map +1 -0
- package/script/types/settingsTypes.js +46 -0
- package/script/typescript/EntityType.d.ts +8 -0
- package/script/typescript/EntityType.d.ts.map +1 -0
- package/script/typescript/EntityType.js +25 -0
- package/script/typescript/FunctionParameter.d.ts +35 -0
- package/script/typescript/FunctionParameter.d.ts.map +1 -0
- package/script/typescript/FunctionParameter.js +95 -0
- package/script/typescript/ReactRouterPathParams.d.ts +20 -0
- package/script/typescript/ReactRouterPathParams.d.ts.map +1 -0
- package/script/typescript/ReactRouterPathParams.js +56 -0
- package/script/typescript/identifiers.d.ts +3 -0
- package/script/typescript/identifiers.d.ts.map +1 -0
- package/script/typescript/identifiers.js +12 -0
- package/script/typescript/keyValues.d.ts +3 -0
- package/script/typescript/keyValues.d.ts.map +1 -0
- package/script/typescript/keyValues.js +15 -0
- package/script/typescript/toDestructuredObject.d.ts +3 -0
- package/script/typescript/toDestructuredObject.d.ts.map +1 -0
- package/script/typescript/toDestructuredObject.js +21 -0
- package/script/typescript/toOperationArg.d.ts +21 -0
- package/script/typescript/toOperationArg.d.ts.map +1 -0
- package/script/typescript/toOperationArg.js +63 -0
- package/script/typescript/toOperationResponse.d.ts +16 -0
- package/script/typescript/toOperationResponse.d.ts.map +1 -0
- package/script/typescript/toOperationResponse.js +20 -0
- package/script/typescript/toParamsObject.d.ts +3 -0
- package/script/typescript/toParamsObject.d.ts.map +1 -0
- package/script/typescript/toParamsObject.js +16 -0
- package/script/typescript/toPathTemplate.d.ts +2 -0
- package/script/typescript/toPathTemplate.d.ts.map +1 -0
- package/script/typescript/toPathTemplate.js +7 -0
- package/script/typescript/withDescription.d.ts +4 -0
- package/script/typescript/withDescription.d.ts.map +1 -0
- package/script/typescript/withDescription.js +7 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Converts a path string to a file URL.
|
|
4
|
+
*
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { toFileUrl } from "@std/path/windows/to-file-url";
|
|
7
|
+
*
|
|
8
|
+
* toFileUrl("\\home\\foo"); // new URL("file:///home/foo")
|
|
9
|
+
* toFileUrl("C:\\Users\\foo"); // new URL("file:///C:/Users/foo")
|
|
10
|
+
* toFileUrl("\\\\127.0.0.1\\home\\foo"); // new URL("file://127.0.0.1/home/foo")
|
|
11
|
+
* ```
|
|
12
|
+
* @param path to convert to file URL
|
|
13
|
+
*/
|
|
14
|
+
export declare function toFileUrl(path: string): URL;
|
|
15
|
+
//# sourceMappingURL=to_file_url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/0.224.0/windows/to_file_url.ts"],"names":[],"mappings":";AAMA;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAgB3C"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.toFileUrl = void 0;
|
|
6
|
+
const to_file_url_js_1 = require("../_common/to_file_url.js");
|
|
7
|
+
const is_absolute_js_1 = require("./is_absolute.js");
|
|
8
|
+
/**
|
|
9
|
+
* Converts a path string to a file URL.
|
|
10
|
+
*
|
|
11
|
+
* ```ts
|
|
12
|
+
* import { toFileUrl } from "@std/path/windows/to-file-url";
|
|
13
|
+
*
|
|
14
|
+
* toFileUrl("\\home\\foo"); // new URL("file:///home/foo")
|
|
15
|
+
* toFileUrl("C:\\Users\\foo"); // new URL("file:///C:/Users/foo")
|
|
16
|
+
* toFileUrl("\\\\127.0.0.1\\home\\foo"); // new URL("file://127.0.0.1/home/foo")
|
|
17
|
+
* ```
|
|
18
|
+
* @param path to convert to file URL
|
|
19
|
+
*/
|
|
20
|
+
function toFileUrl(path) {
|
|
21
|
+
if (!(0, is_absolute_js_1.isAbsolute)(path)) {
|
|
22
|
+
throw new TypeError("Must be an absolute path.");
|
|
23
|
+
}
|
|
24
|
+
const [, hostname, pathname] = path.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/);
|
|
25
|
+
const url = new URL("file:///");
|
|
26
|
+
url.pathname = (0, to_file_url_js_1.encodeWhitespace)(pathname.replace(/%/g, "%25"));
|
|
27
|
+
if (hostname !== undefined && hostname !== "localhost") {
|
|
28
|
+
url.hostname = hostname;
|
|
29
|
+
if (!url.hostname) {
|
|
30
|
+
throw new TypeError("Invalid hostname.");
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return url;
|
|
34
|
+
}
|
|
35
|
+
exports.toFileUrl = toFileUrl;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to_namespaced_path.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/0.224.0/windows/to_namespaced_path.ts"],"names":[],"mappings":"AAYA;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAgCrD"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.toNamespacedPath = void 0;
|
|
6
|
+
const constants_js_1 = require("../_common/constants.js");
|
|
7
|
+
const _util_js_1 = require("./_util.js");
|
|
8
|
+
const resolve_js_1 = require("./resolve.js");
|
|
9
|
+
/**
|
|
10
|
+
* Resolves path to a namespace path
|
|
11
|
+
* @param path to resolve to namespace
|
|
12
|
+
*/
|
|
13
|
+
function toNamespacedPath(path) {
|
|
14
|
+
// Note: this will *probably* throw somewhere.
|
|
15
|
+
if (typeof path !== "string")
|
|
16
|
+
return path;
|
|
17
|
+
if (path.length === 0)
|
|
18
|
+
return "";
|
|
19
|
+
const resolvedPath = (0, resolve_js_1.resolve)(path);
|
|
20
|
+
if (resolvedPath.length >= 3) {
|
|
21
|
+
if (resolvedPath.charCodeAt(0) === constants_js_1.CHAR_BACKWARD_SLASH) {
|
|
22
|
+
// Possible UNC root
|
|
23
|
+
if (resolvedPath.charCodeAt(1) === constants_js_1.CHAR_BACKWARD_SLASH) {
|
|
24
|
+
const code = resolvedPath.charCodeAt(2);
|
|
25
|
+
if (code !== constants_js_1.CHAR_QUESTION_MARK && code !== constants_js_1.CHAR_DOT) {
|
|
26
|
+
// Matched non-long UNC root, convert the path to a long UNC path
|
|
27
|
+
return `\\\\?\\UNC\\${resolvedPath.slice(2)}`;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
else if ((0, _util_js_1.isWindowsDeviceRoot)(resolvedPath.charCodeAt(0))) {
|
|
32
|
+
// Possible device root
|
|
33
|
+
if (resolvedPath.charCodeAt(1) === constants_js_1.CHAR_COLON &&
|
|
34
|
+
resolvedPath.charCodeAt(2) === constants_js_1.CHAR_BACKWARD_SLASH) {
|
|
35
|
+
// Matched device root, convert the path to a long UNC path
|
|
36
|
+
return `\\\\?\\${resolvedPath}`;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return path;
|
|
41
|
+
}
|
|
42
|
+
exports.toNamespacedPath = toNamespacedPath;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseSettings.d.ts","sourceRoot":"","sources":["../../src/dsl/BaseSettings.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Stringable } from './Stringable.js';
|
|
2
|
+
import type { CoreContext } from '../context/CoreContext.js';
|
|
3
|
+
import type { Identifier } from './Identifier.js';
|
|
4
|
+
import { SchematicBase } from './SchematicBase.js';
|
|
5
|
+
type ConstructorArgs<V extends Stringable> = {
|
|
6
|
+
context: CoreContext;
|
|
7
|
+
value: V;
|
|
8
|
+
identifier: Identifier;
|
|
9
|
+
description?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare class Definition<V extends Stringable = Stringable> extends SchematicBase implements Stringable {
|
|
12
|
+
identifier: Identifier;
|
|
13
|
+
description: string | undefined;
|
|
14
|
+
value: V;
|
|
15
|
+
private constructor();
|
|
16
|
+
static create<V extends Stringable>(args: ConstructorArgs<V>): Definition<V>;
|
|
17
|
+
toString(): string;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=Definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/dsl/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAGlD,KAAK,eAAe,CAAC,CAAC,SAAS,UAAU,IAAI;IAC3C,OAAO,EAAE,WAAW,CAAA;IACpB,KAAK,EAAE,CAAC,CAAA;IACR,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,qBAAa,UAAU,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,CACvD,SAAQ,aACR,YAAW,UAAU;IAErB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,KAAK,EAAE,CAAC,CAAA;IAER,OAAO;IAaP,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,UAAU,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAI5E,QAAQ,IAAI,MAAM;CAanB"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Definition = void 0;
|
|
4
|
+
const SchematicBase_js_1 = require("./SchematicBase.js");
|
|
5
|
+
const withDescription_js_1 = require("../typescript/withDescription.js");
|
|
6
|
+
class Definition extends SchematicBase_js_1.SchematicBase {
|
|
7
|
+
constructor({ context, identifier, value, description }) {
|
|
8
|
+
super({ context });
|
|
9
|
+
Object.defineProperty(this, "identifier", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true,
|
|
13
|
+
value: void 0
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(this, "description", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true,
|
|
19
|
+
value: void 0
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(this, "value", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
configurable: true,
|
|
24
|
+
writable: true,
|
|
25
|
+
value: void 0
|
|
26
|
+
});
|
|
27
|
+
this.value = value;
|
|
28
|
+
this.identifier = identifier;
|
|
29
|
+
this.description = description;
|
|
30
|
+
}
|
|
31
|
+
static create(args) {
|
|
32
|
+
return new Definition(args);
|
|
33
|
+
}
|
|
34
|
+
toString() {
|
|
35
|
+
const identifier = this.identifier.tsType
|
|
36
|
+
? `${this.identifier.name}: ${this.identifier.tsType}`
|
|
37
|
+
: this.identifier.name;
|
|
38
|
+
// @TODO move syntax to typescript package to enable language agnostic use
|
|
39
|
+
return (0, withDescription_js_1.withDescription)(`export ${this.identifier.entityType} ${identifier} = ${this.value};`, {
|
|
40
|
+
description: this.description
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.Definition = Definition;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Stringable } from './Stringable.js';
|
|
2
|
+
import { EntityType } from '../typescript/EntityType.js';
|
|
3
|
+
type CreateValueArgs = string | {
|
|
4
|
+
name: string;
|
|
5
|
+
tsType?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare class Identifier implements Stringable {
|
|
8
|
+
name: string;
|
|
9
|
+
entityType: EntityType;
|
|
10
|
+
tsType?: string;
|
|
11
|
+
private constructor();
|
|
12
|
+
static createValue(args: CreateValueArgs): Identifier;
|
|
13
|
+
static createType(name: string): Identifier;
|
|
14
|
+
toString(): string;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Identifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Identifier.d.ts","sourceRoot":"","sources":["../../src/dsl/Identifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAGxD,KAAK,eAAe,GAChB,MAAM,GACN;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAQL,qBAAa,UAAW,YAAW,UAAU;IAC3C,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,OAAO;IAMP,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,eAAe,GAAG,UAAU;IAiBrD,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU;IAO3C,QAAQ,IAAI,MAAM;CAGnB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Identifier = void 0;
|
|
4
|
+
const EntityType_js_1 = require("../typescript/EntityType.js");
|
|
5
|
+
const ts_pattern_1 = require("ts-pattern");
|
|
6
|
+
class Identifier {
|
|
7
|
+
constructor({ name, tsType, entityType }) {
|
|
8
|
+
Object.defineProperty(this, "name", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
configurable: true,
|
|
11
|
+
writable: true,
|
|
12
|
+
value: void 0
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(this, "entityType", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
configurable: true,
|
|
17
|
+
writable: true,
|
|
18
|
+
value: void 0
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(this, "tsType", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true,
|
|
23
|
+
writable: true,
|
|
24
|
+
value: void 0
|
|
25
|
+
});
|
|
26
|
+
this.name = name;
|
|
27
|
+
this.tsType = tsType;
|
|
28
|
+
this.entityType = entityType;
|
|
29
|
+
}
|
|
30
|
+
static createValue(args) {
|
|
31
|
+
return (0, ts_pattern_1.match)(args)
|
|
32
|
+
.with(ts_pattern_1.P.string, name => {
|
|
33
|
+
return new Identifier({
|
|
34
|
+
name,
|
|
35
|
+
entityType: EntityType_js_1.EntityType.create('value')
|
|
36
|
+
});
|
|
37
|
+
})
|
|
38
|
+
.otherwise(({ name, tsType }) => {
|
|
39
|
+
return new Identifier({
|
|
40
|
+
name,
|
|
41
|
+
tsType,
|
|
42
|
+
entityType: EntityType_js_1.EntityType.create('value')
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
static createType(name) {
|
|
47
|
+
return new Identifier({
|
|
48
|
+
name,
|
|
49
|
+
entityType: EntityType_js_1.EntityType.create('type')
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
toString() {
|
|
53
|
+
return this.name;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.Identifier = Identifier;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Stringable } from './Stringable.js';
|
|
2
|
+
export declare class Import implements Stringable {
|
|
3
|
+
module: string;
|
|
4
|
+
importNames: ImportName[];
|
|
5
|
+
private constructor();
|
|
6
|
+
static create(module: string, importNamesArg: ImportNameArg[]): Import;
|
|
7
|
+
toRecord(): Record<string, ImportNameArg[]>;
|
|
8
|
+
toString(): string;
|
|
9
|
+
}
|
|
10
|
+
export type ImportNameArg = string | {
|
|
11
|
+
[name: string]: string;
|
|
12
|
+
};
|
|
13
|
+
export declare class ImportName {
|
|
14
|
+
name: string;
|
|
15
|
+
alias?: string;
|
|
16
|
+
private constructor();
|
|
17
|
+
static create(name: ImportNameArg): ImportName;
|
|
18
|
+
toString(): string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=Import.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Import.d.ts","sourceRoot":"","sources":["../../src/dsl/Import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAOjD,qBAAa,MAAO,YAAW,UAAU;IACvC,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,UAAU,EAAE,CAAA;IAEzB,OAAO;IAKP,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,MAAM;IAWtE,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,CAAC;IAQ3C,QAAQ,IAAI,MAAM;CAKnB;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAE/D,qBAAa,UAAU;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,OAAO;IAKP,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,GAAG,UAAU;IAQ9C,QAAQ,IAAI,MAAM;CAGnB"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImportName = exports.Import = void 0;
|
|
4
|
+
class Import {
|
|
5
|
+
constructor({ module, importNames }) {
|
|
6
|
+
Object.defineProperty(this, "module", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: void 0
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(this, "importNames", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
configurable: true,
|
|
15
|
+
writable: true,
|
|
16
|
+
value: void 0
|
|
17
|
+
});
|
|
18
|
+
this.module = module;
|
|
19
|
+
this.importNames = importNames;
|
|
20
|
+
}
|
|
21
|
+
static create(module, importNamesArg) {
|
|
22
|
+
const importNames = importNamesArg.map(importName => ImportName.create(importName));
|
|
23
|
+
return new Import({
|
|
24
|
+
module,
|
|
25
|
+
importNames
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
toRecord() {
|
|
29
|
+
return {
|
|
30
|
+
[this.module]: this.importNames.map(({ name, alias }) => alias ? { [name]: alias } : name)
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
toString() {
|
|
34
|
+
// @TODO move syntax to typescript package to enable
|
|
35
|
+
// language agnostic use
|
|
36
|
+
return `import { ${this.importNames.join(', ')} } from '${this.module}'`;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.Import = Import;
|
|
40
|
+
class ImportName {
|
|
41
|
+
constructor(name, alias) {
|
|
42
|
+
Object.defineProperty(this, "name", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
configurable: true,
|
|
45
|
+
writable: true,
|
|
46
|
+
value: void 0
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(this, "alias", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
configurable: true,
|
|
51
|
+
writable: true,
|
|
52
|
+
value: void 0
|
|
53
|
+
});
|
|
54
|
+
this.name = name;
|
|
55
|
+
this.alias = alias;
|
|
56
|
+
}
|
|
57
|
+
static create(name) {
|
|
58
|
+
if (typeof name === 'string') {
|
|
59
|
+
return new ImportName(name);
|
|
60
|
+
}
|
|
61
|
+
return new ImportName(...Object.entries(name)[0]);
|
|
62
|
+
}
|
|
63
|
+
toString() {
|
|
64
|
+
return this.alias ? `${this.name} as ${this.alias}` : this.name;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ImportName = ImportName;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { CoreContext } from '../context/CoreContext.js';
|
|
2
|
+
import type { OasSchema } from '../oas/schema/Schema.js';
|
|
3
|
+
import type { EntityType } from '../typescript/EntityType.js';
|
|
4
|
+
import type { BaseSettings } from './BaseSettings.js';
|
|
5
|
+
import { OasRef } from '../oas/ref/Ref.js';
|
|
6
|
+
import { CustomValue } from '../types/CustomValue.js';
|
|
7
|
+
import { OasVoid } from '../oas/void/Void.js';
|
|
8
|
+
import { ContentSettings } from '../settings/ContentSettings.js';
|
|
9
|
+
import { Stringable } from './Stringable.js';
|
|
10
|
+
type CreateModelFnArgs = {
|
|
11
|
+
context: CoreContext;
|
|
12
|
+
refName: string;
|
|
13
|
+
settings: ContentSettings;
|
|
14
|
+
destinationPath: string;
|
|
15
|
+
schema: OasSchema | OasRef<'schema'> | OasVoid | CustomValue;
|
|
16
|
+
operationTag?: string;
|
|
17
|
+
};
|
|
18
|
+
export type ToModelNameArgs = {
|
|
19
|
+
refName: string;
|
|
20
|
+
schema: OasSchema;
|
|
21
|
+
baseSettings: BaseSettings;
|
|
22
|
+
};
|
|
23
|
+
export type ToModelExportPathArgs = {
|
|
24
|
+
refName: string;
|
|
25
|
+
schema: OasSchema;
|
|
26
|
+
baseSettings: BaseSettings;
|
|
27
|
+
operationTag?: string;
|
|
28
|
+
};
|
|
29
|
+
export type IsModelSelectedArgs = {
|
|
30
|
+
refName: string;
|
|
31
|
+
schema: OasSchema;
|
|
32
|
+
baseSettings: BaseSettings;
|
|
33
|
+
};
|
|
34
|
+
export type ModelCreator<V extends Stringable> = {
|
|
35
|
+
prototype: V;
|
|
36
|
+
} & {
|
|
37
|
+
id: string;
|
|
38
|
+
entityType: EntityType;
|
|
39
|
+
create: (args: CreateModelFnArgs) => V;
|
|
40
|
+
toName: ({ refName, schema, baseSettings }: ToModelNameArgs) => string;
|
|
41
|
+
toExportPath: ({ refName, schema, baseSettings, operationTag }: ToModelExportPathArgs) => string;
|
|
42
|
+
isSelected: ({ refName, schema, baseSettings }: IsModelSelectedArgs) => boolean;
|
|
43
|
+
} & Function;
|
|
44
|
+
export type TypeSystemCreatorFnArgs = {
|
|
45
|
+
context: CoreContext;
|
|
46
|
+
destinationPath: string;
|
|
47
|
+
schema: OasSchema | OasRef<'schema'> | OasVoid | CustomValue;
|
|
48
|
+
};
|
|
49
|
+
export type TypeSystemCreator<V extends Stringable> = {
|
|
50
|
+
create: (args: TypeSystemCreatorFnArgs) => V;
|
|
51
|
+
};
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=ModelCreator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelCreator.d.ts","sourceRoot":"","sources":["../../src/dsl/ModelCreator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,WAAW,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,eAAe,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;IACvB,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,GAAG,WAAW,CAAA;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,SAAS,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,SAAS,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,SAAS,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,UAAU,IAAI;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,GAAG;IAClE,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,CAAC,CAAA;IACtC,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,eAAe,KAAK,MAAM,CAAA;IACtE,YAAY,EAAE,CAAC,EACb,OAAO,EACP,MAAM,EACN,YAAY,EACZ,YAAY,EACb,EAAE,qBAAqB,KAAK,MAAM,CAAA;IACnC,UAAU,EAAE,CAAC,EACX,OAAO,EACP,MAAM,EACN,YAAY,EACb,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAEnC,GAAG,QAAQ,CAAA;AAEZ,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,WAAW,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,GAAG,WAAW,CAAA;CAC7D,CAAA;AAED,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,UAAU,IAAI;IACpD,MAAM,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,CAAC,CAAA;CAC7C,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ModelCreator } from './ModelCreator.js';
|
|
2
|
+
import type { CoreContext } from '../context/CoreContext.js';
|
|
3
|
+
import { ContentSettings } from '../settings/ContentSettings.js';
|
|
4
|
+
import { OasSchema } from '../oas/schema/Schema.js';
|
|
5
|
+
import { Stringable } from './Stringable.js';
|
|
6
|
+
type CreateModelArgs<V extends Stringable> = {
|
|
7
|
+
context: CoreContext;
|
|
8
|
+
creator: ModelCreator<V>;
|
|
9
|
+
refName: string;
|
|
10
|
+
generation?: 'force' | 'lazy';
|
|
11
|
+
destinationPath?: string;
|
|
12
|
+
operationTag?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare class ModelDriver<V extends Stringable> {
|
|
15
|
+
context: CoreContext;
|
|
16
|
+
creator: ModelCreator<V>;
|
|
17
|
+
refName: string;
|
|
18
|
+
schema: OasSchema;
|
|
19
|
+
settings: ContentSettings;
|
|
20
|
+
destinationPath?: string;
|
|
21
|
+
operationTag?: string;
|
|
22
|
+
private constructor();
|
|
23
|
+
get name(): string;
|
|
24
|
+
get exportPath(): string;
|
|
25
|
+
get value(): V;
|
|
26
|
+
private apply;
|
|
27
|
+
static create<V extends Stringable>(args: CreateModelArgs<V>): ModelDriver<V>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=ModelDriver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelDriver.d.ts","sourceRoot":"","sources":["../../src/dsl/ModelDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAKhE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAI5C,KAAK,eAAe,CAAC,CAAC,SAAS,UAAU,IAAI;IAC3C,OAAO,EAAE,WAAW,CAAA;IACpB,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAOD,qBAAa,WAAW,CAAC,CAAC,SAAS,UAAU;IAC3C,OAAO,EAAE,WAAW,CAAA;IACpB,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,SAAS,CAAA;IACjB,QAAQ,EAAE,eAAe,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,OAAO;IA+BP,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,IAAI,KAAK,IAAI,CAAC,CASb;IAED,OAAO,CAAC,KAAK;IA8Db,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,UAAU,EAChC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,GACvB,WAAW,CAAC,CAAC,CAAC;CAGlB"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ModelDriver = void 0;
|
|
7
|
+
const ContentSettings_js_1 = require("../settings/ContentSettings.js");
|
|
8
|
+
const mod_js_1 = require("../deps/jsr.io/@std/path/0.224.0/mod.js");
|
|
9
|
+
const tiny_invariant_1 = __importDefault(require("tiny-invariant"));
|
|
10
|
+
const Definition_js_1 = require("./Definition.js");
|
|
11
|
+
const Identifier_js_1 = require("./Identifier.js");
|
|
12
|
+
const ts_pattern_1 = require("ts-pattern");
|
|
13
|
+
const verifyType_js_1 = require("../helpers/verifyType.js");
|
|
14
|
+
class ModelDriver {
|
|
15
|
+
constructor({ context, creator, refName, generation, destinationPath, operationTag }) {
|
|
16
|
+
Object.defineProperty(this, "context", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true,
|
|
20
|
+
value: void 0
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(this, "creator", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
writable: true,
|
|
26
|
+
value: void 0
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(this, "refName", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
configurable: true,
|
|
31
|
+
writable: true,
|
|
32
|
+
value: void 0
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(this, "schema", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
configurable: true,
|
|
37
|
+
writable: true,
|
|
38
|
+
value: void 0
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(this, "settings", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
writable: true,
|
|
44
|
+
value: void 0
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(this, "destinationPath", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
configurable: true,
|
|
49
|
+
writable: true,
|
|
50
|
+
value: void 0
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(this, "operationTag", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
writable: true,
|
|
56
|
+
value: void 0
|
|
57
|
+
});
|
|
58
|
+
const schema = context.schemaModel.components?.schemas?.[refName]?.resolve();
|
|
59
|
+
(0, tiny_invariant_1.default)(schema, `Schema not found for refName: ${refName}`);
|
|
60
|
+
this.context = context;
|
|
61
|
+
this.creator = creator;
|
|
62
|
+
this.refName = refName;
|
|
63
|
+
this.schema = schema;
|
|
64
|
+
this.destinationPath = destinationPath;
|
|
65
|
+
this.settings = buildModelSettings({
|
|
66
|
+
context,
|
|
67
|
+
refName,
|
|
68
|
+
schema,
|
|
69
|
+
creator,
|
|
70
|
+
operationTag
|
|
71
|
+
});
|
|
72
|
+
if (generation !== 'lazy') {
|
|
73
|
+
this.apply({ force: generation === 'force', destinationPath });
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
get name() {
|
|
77
|
+
return this.settings.name;
|
|
78
|
+
}
|
|
79
|
+
get exportPath() {
|
|
80
|
+
return this.settings.exportPath;
|
|
81
|
+
}
|
|
82
|
+
get value() {
|
|
83
|
+
const value = this.apply({
|
|
84
|
+
force: true,
|
|
85
|
+
destinationPath: this.destinationPath
|
|
86
|
+
});
|
|
87
|
+
(0, verifyType_js_1.verifyType)(value, this.creator);
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
apply({ force, destinationPath } = {}) {
|
|
91
|
+
const { name, exportPath, selected } = this.settings;
|
|
92
|
+
if (!selected && !force) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const existing = this.context.pick({ name, exportPath });
|
|
96
|
+
if (!existing) {
|
|
97
|
+
const generated = this.creator.create({
|
|
98
|
+
refName: this.refName,
|
|
99
|
+
context: this.context,
|
|
100
|
+
schema: this.schema,
|
|
101
|
+
settings: this.settings,
|
|
102
|
+
destinationPath: this.settings.exportPath,
|
|
103
|
+
operationTag: this.operationTag
|
|
104
|
+
});
|
|
105
|
+
// @TODO This feels hacky and there is probably a better way to do this
|
|
106
|
+
const tsType = generated &&
|
|
107
|
+
typeof generated === 'object' &&
|
|
108
|
+
'tsType' in generated &&
|
|
109
|
+
typeof generated.tsType === 'string'
|
|
110
|
+
? generated.tsType
|
|
111
|
+
: undefined;
|
|
112
|
+
const identifier = (0, ts_pattern_1.match)(this.creator.entityType.type)
|
|
113
|
+
.with('value', () => Identifier_js_1.Identifier.createValue({ name, tsType }))
|
|
114
|
+
.with('type', () => Identifier_js_1.Identifier.createType(name))
|
|
115
|
+
.exhaustive();
|
|
116
|
+
const definition = Definition_js_1.Definition.create({
|
|
117
|
+
context: this.context,
|
|
118
|
+
value: generated,
|
|
119
|
+
identifier
|
|
120
|
+
});
|
|
121
|
+
this.context.register({
|
|
122
|
+
definitions: [definition],
|
|
123
|
+
destinationPath: exportPath
|
|
124
|
+
});
|
|
125
|
+
if (destinationPath &&
|
|
126
|
+
(0, mod_js_1.normalize)(exportPath) !== (0, mod_js_1.normalize)(destinationPath)) {
|
|
127
|
+
this.context.register({
|
|
128
|
+
imports: { [exportPath]: [name] },
|
|
129
|
+
destinationPath
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
const updated = this.context.pick({ name, exportPath });
|
|
134
|
+
(0, tiny_invariant_1.default)(updated, 'Expected defininition not found');
|
|
135
|
+
return updated.value;
|
|
136
|
+
}
|
|
137
|
+
static create(args) {
|
|
138
|
+
return new ModelDriver(args);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.ModelDriver = ModelDriver;
|
|
142
|
+
const buildModelSettings = ({ context, refName, schema, creator, operationTag }) => {
|
|
143
|
+
const { root, models } = context.settings?.modelPlugins?.[creator.id] ?? {};
|
|
144
|
+
const operationSettings = models?.[refName];
|
|
145
|
+
const exportPath = operationSettings?.exportPath
|
|
146
|
+
? (0, mod_js_1.join)(root?.exportPath ?? '', operationSettings?.exportPath)
|
|
147
|
+
: undefined;
|
|
148
|
+
const baseSettings = {
|
|
149
|
+
exportPath,
|
|
150
|
+
selected: operationSettings?.selected ?? root?.defaultSelected ?? !context.settings,
|
|
151
|
+
name: operationSettings?.renameTo,
|
|
152
|
+
importFrom: operationSettings?.importFrom
|
|
153
|
+
};
|
|
154
|
+
const e = creator.toExportPath({
|
|
155
|
+
refName,
|
|
156
|
+
schema,
|
|
157
|
+
baseSettings,
|
|
158
|
+
operationTag
|
|
159
|
+
});
|
|
160
|
+
return ContentSettings_js_1.ContentSettings.create({
|
|
161
|
+
name: creator.toName({ refName, schema, baseSettings }),
|
|
162
|
+
selected: creator.isSelected({ refName, schema, baseSettings }),
|
|
163
|
+
exportPath: e,
|
|
164
|
+
importFrom: baseSettings.importFrom ?? e
|
|
165
|
+
});
|
|
166
|
+
};
|