@skmtc/core 0.0.491 → 0.0.492
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/package.json +27 -13
- package/script/_dnt.polyfills.d.ts +12 -0
- package/script/_dnt.polyfills.d.ts.map +1 -0
- package/script/_dnt.polyfills.js +16 -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 +58 -0
- package/script/context/CoreContext.d.ts.map +1 -0
- package/script/context/CoreContext.js +227 -0
- package/script/context/GenerateContext.d.ts +232 -0
- package/script/context/GenerateContext.d.ts.map +1 -0
- package/script/context/GenerateContext.js +510 -0
- package/script/context/ParseContext.d.ts +34 -0
- package/script/context/ParseContext.d.ts.map +1 -0
- package/script/context/ParseContext.js +131 -0
- package/script/context/RenderContext.d.ts +38 -0
- package/script/context/RenderContext.d.ts.map +1 -0
- package/script/context/RenderContext.js +227 -0
- package/script/context/ResultsHandler.d.ts +19 -0
- package/script/context/ResultsHandler.d.ts.map +1 -0
- package/script/context/ResultsHandler.js +56 -0
- package/script/context/StackTrail.d.ts +14 -0
- package/script/context/StackTrail.d.ts.map +1 -0
- package/script/context/StackTrail.js +85 -0
- package/script/context/types.d.ts +23 -0
- package/script/context/types.d.ts.map +1 -0
- package/script/context/types.js +2 -0
- package/script/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts +700 -0
- package/script/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fmt/1.0.2/colors.js +976 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +218 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/exists.js +298 -0
- package/script/deps/jsr.io/@std/io/0.224.9/types.d.ts +146 -0
- package/script/deps/jsr.io/@std/io/0.224.9/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/io/0.224.9/types.js +18 -0
- package/script/deps/jsr.io/@std/io/0.224.9/write_all.d.ts +51 -0
- package/script/deps/jsr.io/@std/io/0.224.9/write_all.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/io/0.224.9/write_all.js +65 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_config.d.ts +4 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_config.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_config.js +17 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.d.ts +8 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_file_handler_symbols.js +11 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_state.d.ts +8 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/_state.js +10 -0
- package/script/deps/jsr.io/@std/log/0.224.8/base_handler.d.ts +22 -0
- package/script/deps/jsr.io/@std/log/0.224.8/base_handler.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/base_handler.js +64 -0
- package/script/deps/jsr.io/@std/log/0.224.8/console_handler.d.ts +18 -0
- package/script/deps/jsr.io/@std/log/0.224.8/console_handler.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/console_handler.js +63 -0
- package/script/deps/jsr.io/@std/log/0.224.8/critical.d.ts +5 -0
- package/script/deps/jsr.io/@std/log/0.224.8/critical.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/critical.js +13 -0
- package/script/deps/jsr.io/@std/log/0.224.8/debug.d.ts +5 -0
- package/script/deps/jsr.io/@std/log/0.224.8/debug.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/debug.js +13 -0
- package/script/deps/jsr.io/@std/log/0.224.8/error.d.ts +5 -0
- package/script/deps/jsr.io/@std/log/0.224.8/error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/error.js +13 -0
- package/script/deps/jsr.io/@std/log/0.224.8/file_handler.d.ts +54 -0
- package/script/deps/jsr.io/@std/log/0.224.8/file_handler.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/file_handler.js +162 -0
- package/script/deps/jsr.io/@std/log/0.224.8/formatters.d.ts +6 -0
- package/script/deps/jsr.io/@std/log/0.224.8/formatters.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/formatters.js +23 -0
- package/script/deps/jsr.io/@std/log/0.224.8/get_logger.d.ts +4 -0
- package/script/deps/jsr.io/@std/log/0.224.8/get_logger.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/get_logger.js +24 -0
- package/script/deps/jsr.io/@std/log/0.224.8/info.d.ts +5 -0
- package/script/deps/jsr.io/@std/log/0.224.8/info.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/info.js +13 -0
- package/script/deps/jsr.io/@std/log/0.224.8/levels.d.ts +26 -0
- package/script/deps/jsr.io/@std/log/0.224.8/levels.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/levels.js +48 -0
- package/script/deps/jsr.io/@std/log/0.224.8/logger.d.ts +63 -0
- package/script/deps/jsr.io/@std/log/0.224.8/logger.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/logger.js +185 -0
- package/script/deps/jsr.io/@std/log/0.224.8/mod.d.ts +390 -0
- package/script/deps/jsr.io/@std/log/0.224.8/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/mod.js +406 -0
- package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.d.ts +53 -0
- package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/rotating_file_handler.js +152 -0
- package/script/deps/jsr.io/@std/log/0.224.8/setup.d.ts +4 -0
- package/script/deps/jsr.io/@std/log/0.224.8/setup.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/setup.js +44 -0
- package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts +51 -0
- package/script/deps/jsr.io/@std/log/0.224.8/warn.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/log/0.224.8/warn.js +13 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +10 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.js +49 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +237 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +80 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +18 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_os.js +35 -0
- package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/basename.js +39 -0
- package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/common.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/constants.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/extname.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/format.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +86 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
- package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/mod.js +73 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +38 -0
- package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/parse.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +35 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +53 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +76 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +34 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +118 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +109 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/relative.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
- package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/types.js +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +47 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +115 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +84 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +41 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +77 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +43 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +137 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +34 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +179 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +134 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +180 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +52 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts +6 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.js +710 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts +73 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.js +152 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts +7 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_error.js +23 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts +5 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.js +1324 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts +44 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.js +154 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts +11 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.js +85 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts +6 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_state.js +19 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.js +110 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.js +35 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.js +109 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.js +41 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.js +171 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.js +14 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.js +15 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts +17 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.js +39 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.js +40 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.js +43 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.js +38 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.js +40 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.js +14 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.js +28 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.js +13 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.js +81 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.js +23 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts +20 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.js +74 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts +49 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/mod.js +67 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts +36 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/parse.js +22 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.js +15 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.js +18 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts +31 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.js +40 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.js +15 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.js +17 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts +6 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.js +18 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts +23 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema.js +107 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts +9 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.js +17 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts +29 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/type.js +87 -0
- package/script/dsl/ContentSettings.d.ts +19 -0
- package/script/dsl/ContentSettings.d.ts.map +1 -0
- package/script/dsl/ContentSettings.js +36 -0
- package/script/dsl/Definition.d.ts +19 -0
- package/script/dsl/Definition.d.ts.map +1 -0
- package/script/dsl/Definition.js +41 -0
- package/script/dsl/EntityType.d.ts +6 -0
- package/script/dsl/EntityType.d.ts.map +1 -0
- package/script/dsl/EntityType.js +22 -0
- package/script/dsl/File.d.ts +26 -0
- package/script/dsl/File.d.ts.map +1 -0
- package/script/dsl/File.js +101 -0
- package/script/dsl/GatewayBase.d.ts +13 -0
- package/script/dsl/GatewayBase.d.ts.map +1 -0
- package/script/dsl/GatewayBase.js +23 -0
- package/script/dsl/GeneratedValueList.d.ts +9 -0
- package/script/dsl/GeneratedValueList.d.ts.map +1 -0
- package/script/dsl/GeneratedValueList.js +31 -0
- package/script/dsl/Identifier.d.ts +11 -0
- package/script/dsl/Identifier.d.ts.map +1 -0
- package/script/dsl/Identifier.js +52 -0
- package/script/dsl/Import.d.ts +22 -0
- package/script/dsl/Import.d.ts.map +1 -0
- package/script/dsl/Import.js +60 -0
- package/script/dsl/Inserted.d.ts +18 -0
- package/script/dsl/Inserted.d.ts.map +1 -0
- package/script/dsl/Inserted.js +34 -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/ValueBase.d.ts +16 -0
- package/script/dsl/ValueBase.d.ts.map +1 -0
- package/script/dsl/ValueBase.js +46 -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/dsl/model/ModelBase.d.ts +23 -0
- package/script/dsl/model/ModelBase.d.ts.map +1 -0
- package/script/dsl/model/ModelBase.js +45 -0
- package/script/dsl/model/ModelDriver.d.ts +27 -0
- package/script/dsl/model/ModelDriver.d.ts.map +1 -0
- package/script/dsl/model/ModelDriver.js +105 -0
- package/script/dsl/model/ModelInsertable.d.ts +29 -0
- package/script/dsl/model/ModelInsertable.d.ts.map +1 -0
- package/script/dsl/model/ModelInsertable.js +2 -0
- package/script/dsl/model/toModelInsertable.d.ts +36 -0
- package/script/dsl/model/toModelInsertable.d.ts.map +1 -0
- package/script/dsl/model/toModelInsertable.js +75 -0
- package/script/dsl/operation/OperationBase.d.ts +36 -0
- package/script/dsl/operation/OperationBase.d.ts.map +1 -0
- package/script/dsl/operation/OperationBase.js +61 -0
- package/script/dsl/operation/OperationDriver.d.ts +27 -0
- package/script/dsl/operation/OperationDriver.d.ts.map +1 -0
- package/script/dsl/operation/OperationDriver.js +107 -0
- package/script/dsl/operation/OperationInsertable.d.ts +43 -0
- package/script/dsl/operation/OperationInsertable.d.ts.map +1 -0
- package/script/dsl/operation/OperationInsertable.js +2 -0
- package/script/dsl/operation/toOperationGateway.d.ts +29 -0
- package/script/dsl/operation/toOperationGateway.d.ts.map +1 -0
- package/script/dsl/operation/toOperationGateway.js +68 -0
- package/script/dsl/operation/toOperationInsertable.d.ts +44 -0
- package/script/dsl/operation/toOperationInsertable.d.ts.map +1 -0
- package/script/dsl/operation/toOperationInsertable.js +75 -0
- package/script/helpers/ResultsLog.d.ts +8 -0
- package/script/helpers/ResultsLog.d.ts.map +1 -0
- package/script/helpers/ResultsLog.js +50 -0
- package/script/helpers/isImported.d.ts +2 -0
- package/script/helpers/isImported.d.ts.map +1 -0
- package/script/helpers/isImported.js +8 -0
- package/script/helpers/naming.d.ts +9 -0
- package/script/helpers/naming.d.ts.map +1 -0
- package/script/helpers/naming.js +33 -0
- package/script/helpers/refFns.d.ts +8 -0
- package/script/helpers/refFns.d.ts.map +1 -0
- package/script/helpers/refFns.js +24 -0
- package/script/helpers/strings.d.ts +9 -0
- package/script/helpers/strings.d.ts.map +1 -0
- package/script/helpers/strings.js +25 -0
- package/script/helpers/toResolvedArtifactPath.d.ts +8 -0
- package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -0
- package/script/helpers/toResolvedArtifactPath.js +9 -0
- package/script/helpers/tracer.d.ts +3 -0
- package/script/helpers/tracer.d.ts.map +1 -0
- package/script/helpers/tracer.js +10 -0
- package/script/mod.d.ts +75 -0
- package/script/mod.d.ts.map +1 -0
- package/script/mod.js +90 -0
- package/script/oas/array/Array.d.ts +58 -0
- package/script/oas/array/Array.d.ts.map +1 -0
- package/script/oas/array/Array.js +117 -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 +10 -0
- package/script/oas/array/toArray.d.ts.map +1 -0
- package/script/oas/array/toArray.js +20 -0
- package/script/oas/boolean/Boolean.d.ts +48 -0
- package/script/oas/boolean/Boolean.d.ts.map +1 -0
- package/script/oas/boolean/Boolean.js +97 -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 +10 -0
- package/script/oas/boolean/toBoolean.d.ts.map +1 -0
- package/script/oas/boolean/toBoolean.js +17 -0
- package/script/oas/components/Components.d.ts +43 -0
- package/script/oas/components/Components.d.ts.map +1 -0
- package/script/oas/components/Components.js +66 -0
- package/script/oas/components/toComponentsV3.d.ts +10 -0
- package/script/oas/components/toComponentsV3.d.ts.map +1 -0
- package/script/oas/components/toComponentsV3.js +37 -0
- package/script/oas/contact/Contact.d.ts +15 -0
- package/script/oas/contact/Contact.d.ts.map +1 -0
- package/script/oas/contact/Contact.js +42 -0
- package/script/oas/contact/toContactV3.d.ts +5 -0
- package/script/oas/contact/toContactV3.d.ts.map +1 -0
- package/script/oas/contact/toContactV3.js +19 -0
- package/script/oas/discriminator/Discriminator.d.ts +9 -0
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -0
- package/script/oas/discriminator/Discriminator.js +21 -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 +10 -0
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/script/oas/discriminator/toDiscriminatorV3.js +16 -0
- package/script/oas/document/Document.d.ts +33 -0
- package/script/oas/document/Document.d.ts.map +1 -0
- package/script/oas/document/Document.js +77 -0
- package/script/oas/document/toDocumentFieldsV3.d.ts +10 -0
- package/script/oas/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/script/oas/document/toDocumentFieldsV3.js +25 -0
- package/script/oas/example/Example.d.ts +28 -0
- package/script/oas/example/Example.d.ts.map +1 -0
- package/script/oas/example/Example.js +59 -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 +22 -0
- package/script/oas/example/toExamplesV3.d.ts.map +1 -0
- package/script/oas/example/toExamplesV3.js +49 -0
- package/script/oas/header/Header.d.ts +45 -0
- package/script/oas/header/Header.d.ts.map +1 -0
- package/script/oas/header/Header.js +84 -0
- package/script/oas/header/toHeadersV3.d.ts +11 -0
- package/script/oas/header/toHeadersV3.d.ts.map +1 -0
- package/script/oas/header/toHeadersV3.js +41 -0
- package/script/oas/info/Info.d.ts +25 -0
- package/script/oas/info/Info.d.ts.map +1 -0
- package/script/oas/info/Info.js +51 -0
- package/script/oas/info/toInfoV3.d.ts +10 -0
- package/script/oas/info/toInfoV3.d.ts.map +1 -0
- package/script/oas/info/toInfoV3.js +24 -0
- package/script/oas/integer/Integer.d.ts +55 -0
- package/script/oas/integer/Integer.d.ts.map +1 -0
- package/script/oas/integer/Integer.js +116 -0
- package/script/oas/integer/integer-types.d.ts +13 -0
- package/script/oas/integer/integer-types.d.ts.map +1 -0
- package/script/oas/integer/integer-types.js +22 -0
- package/script/oas/integer/toInteger.d.ts +10 -0
- package/script/oas/integer/toInteger.d.ts.map +1 -0
- package/script/oas/integer/toInteger.js +20 -0
- package/script/oas/intersection/Intersection.d.ts +30 -0
- package/script/oas/intersection/Intersection.d.ts.map +1 -0
- package/script/oas/intersection/Intersection.js +87 -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 +11 -0
- package/script/oas/intersection/toIntersection.d.ts.map +1 -0
- package/script/oas/intersection/toIntersection.js +20 -0
- package/script/oas/license/License.d.ts +13 -0
- package/script/oas/license/License.d.ts.map +1 -0
- package/script/oas/license/License.js +35 -0
- package/script/oas/license/toLicenseV3.d.ts +5 -0
- package/script/oas/license/toLicenseV3.d.ts.map +1 -0
- package/script/oas/license/toLicenseV3.js +18 -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 +18 -0
- package/script/oas/mediaType/MediaType.d.ts.map +1 -0
- package/script/oas/mediaType/MediaType.js +42 -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 +21 -0
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/script/oas/mediaType/toMediaTypeItemV3.js +45 -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 +48 -0
- package/script/oas/number/Number.d.ts.map +1 -0
- package/script/oas/number/Number.js +97 -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 +10 -0
- package/script/oas/number/toNumber.d.ts.map +1 -0
- package/script/oas/number/toNumber.js +20 -0
- package/script/oas/object/Object.d.ts +92 -0
- package/script/oas/object/Object.d.ts.map +1 -0
- package/script/oas/object/Object.js +196 -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 +11 -0
- package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/script/oas/object/toAdditionalPropertiesV3.js +14 -0
- package/script/oas/object/toObject.d.ts +10 -0
- package/script/oas/object/toObject.d.ts.map +1 -0
- package/script/oas/object/toObject.js +29 -0
- package/script/oas/operation/Operation.d.ts +56 -0
- package/script/oas/operation/Operation.d.ts.map +1 -0
- package/script/oas/operation/Operation.js +134 -0
- package/script/oas/operation/toOperationsV3.d.ts +23 -0
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -0
- package/script/oas/operation/toOperationsV3.js +84 -0
- package/script/oas/parameter/Parameter.d.ts +42 -0
- package/script/oas/parameter/Parameter.d.ts.map +1 -0
- package/script/oas/parameter/Parameter.js +126 -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 +21 -0
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -0
- package/script/oas/parameter/toParameterV3.js +87 -0
- package/script/oas/pathItem/PathItem.d.ts +17 -0
- package/script/oas/pathItem/PathItem.d.ts.map +1 -0
- package/script/oas/pathItem/PathItem.js +42 -0
- package/script/oas/pathItem/toPathItemV3.d.ts +10 -0
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -0
- package/script/oas/pathItem/toPathItemV3.js +16 -0
- package/script/oas/ref/Ref.d.ts +37 -0
- package/script/oas/ref/Ref.d.ts.map +1 -0
- package/script/oas/ref/Ref.js +106 -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 +12 -0
- package/script/oas/ref/toRefV31.d.ts.map +1 -0
- package/script/oas/ref/toRefV31.js +16 -0
- package/script/oas/requestBody/RequestBody.d.ts +22 -0
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -0
- package/script/oas/requestBody/RequestBody.js +54 -0
- package/script/oas/requestBody/toRequestBodiesV3.d.ts +17 -0
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/script/oas/requestBody/toRequestBodiesV3.js +43 -0
- package/script/oas/response/Response.d.ts +23 -0
- package/script/oas/response/Response.d.ts.map +1 -0
- package/script/oas/response/Response.js +54 -0
- package/script/oas/response/toResponseV3.d.ts +21 -0
- package/script/oas/response/toResponseV3.d.ts.map +1 -0
- package/script/oas/response/toResponseV3.js +40 -0
- package/script/oas/schema/Schema.d.ts +14 -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 +28 -0
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -0
- package/script/oas/schema/toSchemasV3.js +101 -0
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +12 -0
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +26 -0
- package/script/oas/string/String.d.ts +66 -0
- package/script/oas/string/String.d.ts.map +1 -0
- package/script/oas/string/String.js +142 -0
- package/script/oas/string/string-types.d.ts +18 -0
- package/script/oas/string/string-types.d.ts.map +1 -0
- package/script/oas/string/string-types.js +35 -0
- package/script/oas/string/toString.d.ts +10 -0
- package/script/oas/string/toString.d.ts.map +1 -0
- package/script/oas/string/toString.js +44 -0
- package/script/oas/tag/Tag.d.ts +15 -0
- package/script/oas/tag/Tag.d.ts.map +1 -0
- package/script/oas/tag/Tag.js +39 -0
- package/script/oas/tag/toTagsV3.d.ts +15 -0
- package/script/oas/tag/toTagsV3.d.ts.map +1 -0
- package/script/oas/tag/toTagsV3.js +26 -0
- package/script/oas/union/Union.d.ts +66 -0
- package/script/oas/union/Union.d.ts.map +1 -0
- package/script/oas/union/Union.js +122 -0
- package/script/oas/union/toUnion.d.ts +11 -0
- package/script/oas/union/toUnion.d.ts.map +1 -0
- package/script/oas/union/toUnion.js +24 -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 +45 -0
- package/script/oas/unknown/Unknown.d.ts.map +1 -0
- package/script/oas/unknown/Unknown.js +86 -0
- package/script/oas/unknown/toUnknown.d.ts +10 -0
- package/script/oas/unknown/toUnknown.d.ts.map +1 -0
- package/script/oas/unknown/toUnknown.js +19 -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 +35 -0
- package/script/oas/void/Void.d.ts.map +1 -0
- package/script/oas/void/Void.js +64 -0
- package/script/package.json +3 -0
- package/script/run/enrichSettings.d.ts +9 -0
- package/script/run/enrichSettings.d.ts.map +1 -0
- package/script/run/enrichSettings.js +13 -0
- package/script/run/handleEnrichment.d.ts +3 -0
- package/script/run/handleEnrichment.d.ts.map +1 -0
- package/script/run/handleEnrichment.js +71 -0
- package/script/run/toEnrichments.d.ts +13 -0
- package/script/run/toEnrichments.d.ts.map +1 -0
- package/script/run/toEnrichments.js +42 -0
- package/script/run/toSettings.d.ts +12 -0
- package/script/run/toSettings.d.ts.map +1 -0
- package/script/run/toSettings.js +78 -0
- package/script/run/transform.d.ts +20 -0
- package/script/run/transform.d.ts.map +1 -0
- package/script/run/transform.js +51 -0
- package/script/types/Brand.d.ts +7 -0
- package/script/types/Brand.d.ts.map +1 -0
- package/script/types/Brand.js +3 -0
- package/script/types/CustomValue.d.ts +22 -0
- package/script/types/CustomValue.d.ts.map +1 -0
- package/script/types/CustomValue.js +39 -0
- package/script/types/EnrichmentRequest.d.ts +8 -0
- package/script/types/EnrichmentRequest.d.ts.map +1 -0
- package/script/types/EnrichmentRequest.js +3 -0
- package/script/types/Extensions.d.ts +7 -0
- package/script/types/Extensions.d.ts.map +1 -0
- package/script/types/Extensions.js +6 -0
- package/script/types/GeneratedValue.d.ts +19 -0
- package/script/types/GeneratedValue.d.ts.map +1 -0
- package/script/types/GeneratedValue.js +2 -0
- package/script/types/GeneratorKeys.d.ts +50 -0
- package/script/types/GeneratorKeys.d.ts.map +1 -0
- package/script/types/GeneratorKeys.js +95 -0
- package/script/types/GeneratorType.d.ts +9 -0
- package/script/types/GeneratorType.d.ts.map +1 -0
- package/script/types/GeneratorType.js +2 -0
- package/script/types/Manifest.d.ts +121 -0
- package/script/types/Manifest.d.ts.map +1 -0
- package/script/types/Manifest.js +30 -0
- package/script/types/Method.d.ts +11 -0
- package/script/types/Method.d.ts.map +1 -0
- package/script/types/Method.js +39 -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/RefName.d.ts +4 -0
- package/script/types/RefName.d.ts.map +1 -0
- package/script/types/RefName.js +3 -0
- package/script/types/Results.d.ts +10 -0
- package/script/types/Results.d.ts.map +1 -0
- package/script/types/Results.js +7 -0
- package/script/types/Settings.d.ts +306 -0
- package/script/types/Settings.d.ts.map +1 -0
- package/script/types/Settings.js +45 -0
- package/script/types/TypeSystem.d.ts +152 -0
- package/script/types/TypeSystem.d.ts.map +1 -0
- package/script/types/TypeSystem.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/typescript/FunctionParameter.d.ts +34 -0
- package/script/typescript/FunctionParameter.d.ts.map +1 -0
- package/script/typescript/FunctionParameter.js +84 -0
- package/script/typescript/List.d.ts +147 -0
- package/script/typescript/List.d.ts.map +1 -0
- package/script/typescript/List.js +312 -0
- package/script/typescript/PathParams.d.ts +20 -0
- package/script/typescript/PathParams.d.ts.map +1 -0
- package/script/typescript/PathParams.js +53 -0
- package/script/typescript/ReactRouterPathParams.d.ts +20 -0
- package/script/typescript/ReactRouterPathParams.d.ts.map +1 -0
- package/script/typescript/ReactRouterPathParams.js +53 -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/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,36 @@
|
|
|
1
|
+
import type { OperationInsertable } from './OperationInsertable.js';
|
|
2
|
+
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
3
|
+
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
|
+
import type { GenerateContext, RegisterArgs } from '../../context/GenerateContext.js';
|
|
5
|
+
import type { GeneratedValue } from '../../types/GeneratedValue.js';
|
|
6
|
+
import type { GeneratorKey } from '../../types/GeneratorKeys.js';
|
|
7
|
+
import { ValueBase } from '../ValueBase.js';
|
|
8
|
+
import type { Definition } from '../Definition.js';
|
|
9
|
+
import type { Identifier } from '../Identifier.js';
|
|
10
|
+
import type { SchemaToValueFn, SchemaType, TypeSystemOutput } from '../../types/TypeSystem.js';
|
|
11
|
+
import type { Inserted } from '../Inserted.js';
|
|
12
|
+
import type { ModelInsertable } from '../model/ModelInsertable.js';
|
|
13
|
+
import type { RefName } from '../../types/RefName.js';
|
|
14
|
+
export type OperationBaseArgs = {
|
|
15
|
+
context: GenerateContext;
|
|
16
|
+
settings: ContentSettings;
|
|
17
|
+
generatorKey: GeneratorKey;
|
|
18
|
+
operation: OasOperation;
|
|
19
|
+
};
|
|
20
|
+
type CreateAndRegisterDefinition<Schema extends SchemaType> = {
|
|
21
|
+
schema: Schema;
|
|
22
|
+
identifier: Identifier;
|
|
23
|
+
schemaToValueFn: SchemaToValueFn;
|
|
24
|
+
};
|
|
25
|
+
export declare class OperationBase extends ValueBase {
|
|
26
|
+
settings: ContentSettings;
|
|
27
|
+
operation: OasOperation;
|
|
28
|
+
generatorKey: GeneratorKey;
|
|
29
|
+
constructor({ context, generatorKey, settings, operation }: OperationBaseArgs);
|
|
30
|
+
insertOperation<V extends GeneratedValue, EnrichmentType>(insertable: OperationInsertable<V, EnrichmentType>, operation: OasOperation): Inserted<V, 'force'>;
|
|
31
|
+
insertModel<V extends GeneratedValue, EnrichmentType>(insertable: ModelInsertable<V, EnrichmentType>, refName: RefName): Inserted<V, 'force'>;
|
|
32
|
+
createAndRegisterDefinition<Schema extends SchemaType>({ schema, identifier, schemaToValueFn }: CreateAndRegisterDefinition<Schema>): Definition<TypeSystemOutput<Schema['type']>>;
|
|
33
|
+
register(args: Omit<RegisterArgs, 'destinationPath'>): void;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=OperationBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC9F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,YAAY,EAAE,YAAY,CAAA;IAC1B,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,KAAK,2BAA2B,CAAC,MAAM,SAAS,UAAU,IAAI;IAC5D,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,eAAe,EAAE,eAAe,CAAA;CACjC,CAAA;AAED,qBAAa,aAAc,SAAQ,SAAS;IAC1C,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,YAAY,CAAA;IACd,YAAY,EAAE,YAAY,CAAA;gBAEvB,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB;IAQ7E,eAAe,CAAC,CAAC,SAAS,cAAc,EAAE,cAAc,EACtD,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,EAClD,SAAS,EAAE,YAAY,GACtB,QAAQ,CAAC,CAAC,EAAE,OAAO,CAAC;IASvB,WAAW,CAAC,CAAC,SAAS,cAAc,EAAE,cAAc,EAClD,UAAU,EAAE,eAAe,CAAC,CAAC,EAAE,cAAc,CAAC,EAC9C,OAAO,EAAE,OAAO,GACf,QAAQ,CAAC,CAAC,EAAE,OAAO,CAAC;IASvB,2BAA2B,CAAC,MAAM,SAAS,UAAU,EAAE,EACrD,MAAM,EACN,UAAU,EACV,eAAe,EAChB,EAAE,2BAA2B,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IAS5E,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,iBAAiB,CAAC;CAM9D"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationBase = void 0;
|
|
4
|
+
const ValueBase_js_1 = require("../ValueBase.js");
|
|
5
|
+
class OperationBase extends ValueBase_js_1.ValueBase {
|
|
6
|
+
constructor({ context, generatorKey, settings, operation }) {
|
|
7
|
+
super({ context });
|
|
8
|
+
Object.defineProperty(this, "settings", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
configurable: true,
|
|
11
|
+
writable: true,
|
|
12
|
+
value: void 0
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(this, "operation", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
configurable: true,
|
|
17
|
+
writable: true,
|
|
18
|
+
value: void 0
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(this, "generatorKey", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true,
|
|
23
|
+
writable: true,
|
|
24
|
+
value: void 0
|
|
25
|
+
});
|
|
26
|
+
this.generatorKey = generatorKey;
|
|
27
|
+
this.operation = operation;
|
|
28
|
+
this.settings = settings;
|
|
29
|
+
}
|
|
30
|
+
insertOperation(insertable, operation) {
|
|
31
|
+
return this.context.insertOperation({
|
|
32
|
+
insertable,
|
|
33
|
+
operation,
|
|
34
|
+
generation: 'force',
|
|
35
|
+
destinationPath: this.settings.exportPath
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
insertModel(insertable, refName) {
|
|
39
|
+
return this.context.insertModel({
|
|
40
|
+
insertable,
|
|
41
|
+
refName,
|
|
42
|
+
generation: 'force',
|
|
43
|
+
destinationPath: this.settings.exportPath
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
createAndRegisterDefinition({ schema, identifier, schemaToValueFn }) {
|
|
47
|
+
return this.context.createAndRegisterDefinition({
|
|
48
|
+
schema,
|
|
49
|
+
identifier,
|
|
50
|
+
schemaToValueFn,
|
|
51
|
+
destinationPath: this.settings.exportPath
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
register(args) {
|
|
55
|
+
this.context.register({
|
|
56
|
+
...args,
|
|
57
|
+
destinationPath: this.settings.exportPath
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.OperationBase = OperationBase;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { OperationInsertable } from './OperationInsertable.js';
|
|
2
|
+
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
3
|
+
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
|
+
import type { GeneratedDefinition, GenerationType } from '../../types/GeneratedValue.js';
|
|
5
|
+
import type { GeneratedValue } from '../../types/GeneratedValue.js';
|
|
6
|
+
import type { GenerateContext } from '../../context/GenerateContext.js';
|
|
7
|
+
type CreateOperationArgs<V extends GeneratedValue, T extends GenerationType, EnrichmentType> = {
|
|
8
|
+
context: GenerateContext;
|
|
9
|
+
insertable: OperationInsertable<V, EnrichmentType>;
|
|
10
|
+
operation: OasOperation;
|
|
11
|
+
generation?: T;
|
|
12
|
+
destinationPath?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare class OperationDriver<V extends GeneratedValue, T extends GenerationType, EnrichmentType> {
|
|
15
|
+
context: GenerateContext;
|
|
16
|
+
insertable: OperationInsertable<V, EnrichmentType>;
|
|
17
|
+
operation: OasOperation;
|
|
18
|
+
settings: ContentSettings;
|
|
19
|
+
destinationPath?: string;
|
|
20
|
+
definition: GeneratedDefinition<V, T>;
|
|
21
|
+
constructor({ context, insertable, operation, generation, destinationPath }: CreateOperationArgs<V, T, EnrichmentType>);
|
|
22
|
+
private apply;
|
|
23
|
+
private getDefinition;
|
|
24
|
+
private affirmDefinition;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=OperationDriver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationDriver.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAI5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAEnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,KAAK,mBAAmB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,cAAc,EAAE,cAAc,IAAI;IAC7F,OAAO,EAAE,eAAe,CAAA;IACxB,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,CAAA;IAClD,SAAS,EAAE,YAAY,CAAA;IACvB,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAYD,qBAAa,eAAe,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,cAAc,EAAE,cAAc;IAC7F,OAAO,EAAE,eAAe,CAAA;IACxB,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,CAAA;IAClD,SAAS,EAAE,YAAY,CAAA;IACvB,QAAQ,EAAE,eAAe,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;gBAEzB,EACV,OAAO,EACP,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EAChB,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC;IAc5C,OAAO,CAAC,KAAK;IAsBb,OAAO,CAAC,aAAa;IA8BrB,OAAO,CAAC,gBAAgB;CAqBzB"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationDriver = void 0;
|
|
4
|
+
const mod_js_1 = require("../../deps/jsr.io/@std/path/1.0.6/mod.js");
|
|
5
|
+
const Definition_js_1 = require("../Definition.js");
|
|
6
|
+
const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
|
|
7
|
+
class OperationDriver {
|
|
8
|
+
constructor({ context, insertable, operation, generation, destinationPath }) {
|
|
9
|
+
Object.defineProperty(this, "context", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true,
|
|
13
|
+
value: void 0
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(this, "insertable", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true,
|
|
19
|
+
value: void 0
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(this, "operation", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
configurable: true,
|
|
24
|
+
writable: true,
|
|
25
|
+
value: void 0
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(this, "settings", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
configurable: true,
|
|
30
|
+
writable: true,
|
|
31
|
+
value: void 0
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(this, "destinationPath", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true,
|
|
37
|
+
value: void 0
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(this, "definition", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
configurable: true,
|
|
42
|
+
writable: true,
|
|
43
|
+
value: void 0
|
|
44
|
+
});
|
|
45
|
+
this.context = context;
|
|
46
|
+
this.insertable = insertable;
|
|
47
|
+
this.operation = operation;
|
|
48
|
+
this.destinationPath = destinationPath;
|
|
49
|
+
this.settings = this.context.toOperationContentSettings({
|
|
50
|
+
operation,
|
|
51
|
+
insertable
|
|
52
|
+
});
|
|
53
|
+
this.definition = this.apply({ generation, destinationPath });
|
|
54
|
+
}
|
|
55
|
+
apply({ generation, destinationPath } = {}) {
|
|
56
|
+
const { identifier, exportPath, selected } = this.settings;
|
|
57
|
+
if (!selected && generation !== 'force') {
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
const definition = this.getDefinition({ identifier, exportPath });
|
|
61
|
+
if (destinationPath && (0, mod_js_1.normalize)(exportPath) !== (0, mod_js_1.normalize)(destinationPath)) {
|
|
62
|
+
this.context.register({
|
|
63
|
+
imports: { [exportPath]: [identifier.name] },
|
|
64
|
+
destinationPath
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
return definition;
|
|
68
|
+
}
|
|
69
|
+
getDefinition({ identifier, exportPath }) {
|
|
70
|
+
const cachedDefinition = this.context.findDefinition({
|
|
71
|
+
name: identifier.name,
|
|
72
|
+
exportPath
|
|
73
|
+
});
|
|
74
|
+
if (this.affirmDefinition(cachedDefinition, exportPath)) {
|
|
75
|
+
return cachedDefinition;
|
|
76
|
+
}
|
|
77
|
+
const value = new this.insertable({
|
|
78
|
+
context: this.context,
|
|
79
|
+
operation: this.operation,
|
|
80
|
+
settings: this.settings
|
|
81
|
+
});
|
|
82
|
+
const definition = new Definition_js_1.Definition({
|
|
83
|
+
context: this.context,
|
|
84
|
+
value,
|
|
85
|
+
identifier
|
|
86
|
+
});
|
|
87
|
+
this.context.register({
|
|
88
|
+
definitions: [definition],
|
|
89
|
+
destinationPath: exportPath
|
|
90
|
+
});
|
|
91
|
+
return definition;
|
|
92
|
+
}
|
|
93
|
+
affirmDefinition(definition, exportPath) {
|
|
94
|
+
if (!definition) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
const currentKey = (0, GeneratorKeys_js_1.toOperationGeneratorKey)({
|
|
98
|
+
generatorId: this.insertable.id,
|
|
99
|
+
operation: this.operation
|
|
100
|
+
});
|
|
101
|
+
if (currentKey !== definition.generatorKey) {
|
|
102
|
+
throw new Error(`Registered definition mismatch: '${definition.identifier.name}' in file '${exportPath}'. Cached key '${definition.generatorKey}' does not match new key '${currentKey}'`);
|
|
103
|
+
}
|
|
104
|
+
return definition.value instanceof this.insertable;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.OperationDriver = OperationDriver;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
2
|
+
import type { ContentSettings } from '../ContentSettings.js';
|
|
3
|
+
import type { GenerateContext } from '../../context/GenerateContext.js';
|
|
4
|
+
import type { Identifier } from '../Identifier.js';
|
|
5
|
+
import type { EnrichmentRequest } from '../../types/EnrichmentRequest.js';
|
|
6
|
+
type OperationInsertableConstructorArgs = {
|
|
7
|
+
context: GenerateContext;
|
|
8
|
+
settings: ContentSettings;
|
|
9
|
+
operation: OasOperation;
|
|
10
|
+
};
|
|
11
|
+
export type WithTransformOperation = {
|
|
12
|
+
transformOperation: (operation: OasOperation) => void;
|
|
13
|
+
};
|
|
14
|
+
export type OperationOperationGatewayArgs = {
|
|
15
|
+
context: GenerateContext;
|
|
16
|
+
settings: ContentSettings;
|
|
17
|
+
};
|
|
18
|
+
export type OperationGateway<EnrichmentType> = {
|
|
19
|
+
new ({ context, settings }: OperationOperationGatewayArgs): WithTransformOperation;
|
|
20
|
+
id: string;
|
|
21
|
+
type: 'operation';
|
|
22
|
+
_class: 'OperationGateway';
|
|
23
|
+
toIdentifier: () => Identifier;
|
|
24
|
+
toExportPath: () => string;
|
|
25
|
+
toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
|
|
26
|
+
isSupported: (operation: OasOperation) => boolean;
|
|
27
|
+
pinnable: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type OperationInsertable<V, EnrichmentType> = {
|
|
30
|
+
prototype: V;
|
|
31
|
+
} & {
|
|
32
|
+
new ({ context, settings, operation }: OperationInsertableConstructorArgs): V;
|
|
33
|
+
id: string;
|
|
34
|
+
type: 'operation';
|
|
35
|
+
_class: 'OperationInsertable';
|
|
36
|
+
toIdentifier: (operation: OasOperation) => Identifier;
|
|
37
|
+
toExportPath: (operation: OasOperation) => string;
|
|
38
|
+
toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
|
|
39
|
+
isSupported: (operation: OasOperation) => boolean;
|
|
40
|
+
pinnable: boolean;
|
|
41
|
+
} & Function;
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=OperationInsertable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationInsertable.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationInsertable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,KAAK,kCAAkC,GAAG;IACxC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,kBAAkB,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,IAAI,CAAA;CACtD,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,gBAAgB,CAAC,cAAc,IAAI;IAC7C,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,6BAA6B,GAAG,sBAAsB,CAAA;IAClF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,EAAE,kBAAkB,CAAA;IAE1B,YAAY,EAAE,MAAM,UAAU,CAAA;IAC9B,YAAY,EAAE,MAAM,MAAM,CAAA;IAC1B,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;IAChG,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAEjD,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,EAAE,cAAc,IAAI;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,GAAG;IACtE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,kCAAkC,GAAG,CAAC,CAAA;IAC7E,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,EAAE,qBAAqB,CAAA;IAC7B,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,UAAU,CAAA;IACrD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,MAAM,CAAA;IACjD,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;IAChG,WAAW,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAEjD,QAAQ,EAAE,OAAO,CAAA;CAGlB,GAAG,QAAQ,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
2
|
+
import { type OperationGatewayArgs } from '../GatewayBase.js';
|
|
3
|
+
import type { Identifier } from '../Identifier.js';
|
|
4
|
+
import type { EnrichmentRequest } from '../../types/EnrichmentRequest.js';
|
|
5
|
+
export type ToOperationGatewayArgs<EnrichmentType> = {
|
|
6
|
+
id: string;
|
|
7
|
+
toIdentifier: () => Identifier;
|
|
8
|
+
toExportPath: () => string;
|
|
9
|
+
isSupported?: (operation: OasOperation) => boolean;
|
|
10
|
+
toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare const toOperationGateway: <EnrichmentType>(config: ToOperationGatewayArgs<EnrichmentType>) => {
|
|
13
|
+
new ({ context, settings }: OperationGatewayArgs): {
|
|
14
|
+
settings: import("../ContentSettings.js").ContentSettings;
|
|
15
|
+
register(args: Omit<import("../../mod.js").RegisterArgs, "destinationPath">): void;
|
|
16
|
+
context: import("../../mod.js").GenerateContext;
|
|
17
|
+
skipped: boolean;
|
|
18
|
+
generatorKey: import("../../mod.js").GeneratorKey | undefined;
|
|
19
|
+
};
|
|
20
|
+
id: string;
|
|
21
|
+
type: "operation";
|
|
22
|
+
_class: "OperationGateway";
|
|
23
|
+
toIdentifier: () => Identifier;
|
|
24
|
+
toExportPath: () => string;
|
|
25
|
+
toEnrichmentRequest: ((operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined) | undefined;
|
|
26
|
+
isSupported: (operation: OasOperation) => boolean;
|
|
27
|
+
pinnable: boolean;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=toOperationGateway.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toOperationGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAe,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,MAAM,MAAM,sBAAsB,CAAC,cAAc,IAAI;IACnD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,UAAU,CAAA;IAC9B,YAAY,EAAE,MAAM,MAAM,CAAA;IAC1B,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAClD,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;CACjG,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,cAAc,UACvC,sBAAsB,CAAC,cAAc,CAAC;gCAeT,oBAAoB;;;;;;;;;;wBAtBrC,UAAU;wBACV,MAAM;sCAEQ,YAAY,KAAK,iBAAiB,gBAAgB,GAAG,SAAS;6BADtE,YAAY,KAAK,OAAO;;CA0BnD,CAAA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
|
3
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
4
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.toOperationGateway = void 0;
|
|
8
|
+
const GatewayBase_js_1 = require("../GatewayBase.js");
|
|
9
|
+
const toOperationGateway = (config) => {
|
|
10
|
+
var _a;
|
|
11
|
+
const OperationGateway = (_a = class extends GatewayBase_js_1.GatewayBase {
|
|
12
|
+
constructor({ context, settings }) {
|
|
13
|
+
super({ context, settings });
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
__setFunctionName(_a, "OperationGateway"),
|
|
17
|
+
Object.defineProperty(_a, "id", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
configurable: true,
|
|
20
|
+
writable: true,
|
|
21
|
+
value: config.id
|
|
22
|
+
}),
|
|
23
|
+
Object.defineProperty(_a, "type", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
configurable: true,
|
|
26
|
+
writable: true,
|
|
27
|
+
value: 'operation'
|
|
28
|
+
}),
|
|
29
|
+
Object.defineProperty(_a, "_class", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true,
|
|
33
|
+
value: 'OperationGateway'
|
|
34
|
+
}),
|
|
35
|
+
Object.defineProperty(_a, "toIdentifier", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
configurable: true,
|
|
38
|
+
writable: true,
|
|
39
|
+
value: config.toIdentifier.bind(config)
|
|
40
|
+
}),
|
|
41
|
+
Object.defineProperty(_a, "toExportPath", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
configurable: true,
|
|
44
|
+
writable: true,
|
|
45
|
+
value: config.toExportPath.bind(config)
|
|
46
|
+
}),
|
|
47
|
+
Object.defineProperty(_a, "toEnrichmentRequest", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
configurable: true,
|
|
50
|
+
writable: true,
|
|
51
|
+
value: config.toEnrichmentRequest?.bind(config)
|
|
52
|
+
}),
|
|
53
|
+
Object.defineProperty(_a, "isSupported", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
configurable: true,
|
|
56
|
+
writable: true,
|
|
57
|
+
value: config.isSupported ?? (() => true)
|
|
58
|
+
}),
|
|
59
|
+
Object.defineProperty(_a, "pinnable", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
configurable: true,
|
|
62
|
+
writable: true,
|
|
63
|
+
value: false
|
|
64
|
+
}),
|
|
65
|
+
_a);
|
|
66
|
+
return OperationGateway;
|
|
67
|
+
};
|
|
68
|
+
exports.toOperationGateway = toOperationGateway;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { GenerateContext } from '../../context/GenerateContext.js';
|
|
2
|
+
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
3
|
+
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
|
+
import type { Identifier } from '../Identifier.js';
|
|
5
|
+
import type { EnrichmentRequest } from '../../types/EnrichmentRequest.js';
|
|
6
|
+
export type OperationInsertableArgs = {
|
|
7
|
+
context: GenerateContext;
|
|
8
|
+
settings: ContentSettings;
|
|
9
|
+
operation: OasOperation;
|
|
10
|
+
};
|
|
11
|
+
export type ToOperationInsertableArgs<EnrichmentType> = {
|
|
12
|
+
id: string;
|
|
13
|
+
toIdentifier: (operation: OasOperation) => Identifier;
|
|
14
|
+
toExportPath: (operation: OasOperation) => string;
|
|
15
|
+
isSupported?: (operation: OasOperation) => boolean;
|
|
16
|
+
toEnrichmentRequest?: (operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined;
|
|
17
|
+
pinnable?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare const toOperationInsertable: <EnrichmentType>(config: ToOperationInsertableArgs<EnrichmentType>) => {
|
|
20
|
+
new (args: OperationInsertableArgs): {
|
|
21
|
+
settings: ContentSettings;
|
|
22
|
+
operation: OasOperation;
|
|
23
|
+
generatorKey: import("../../types/GeneratorKeys.js").GeneratorKey;
|
|
24
|
+
insertOperation<V extends import("../../mod.js").GeneratedValue, EnrichmentType_1>(insertable: import("./OperationInsertable.js").OperationInsertable<V, EnrichmentType_1>, operation: OasOperation): import("../Inserted.js").Inserted<V, "force">;
|
|
25
|
+
insertModel<V extends import("../../mod.js").GeneratedValue, EnrichmentType_2>(insertable: import("../model/ModelInsertable.js").ModelInsertable<V, EnrichmentType_2>, refName: import("../../mod.js").RefName): import("../Inserted.js").Inserted<V, "force">;
|
|
26
|
+
createAndRegisterDefinition<Schema extends import("../../mod.js").SchemaType>({ schema, identifier, schemaToValueFn }: {
|
|
27
|
+
schema: Schema;
|
|
28
|
+
identifier: Identifier;
|
|
29
|
+
schemaToValueFn: import("../../mod.js").SchemaToValueFn;
|
|
30
|
+
}): import("../Definition.js").Definition<import("../../mod.js").TypeSystemOutput<Schema["type"]>>;
|
|
31
|
+
register(args: Omit<import("../../context/GenerateContext.js").RegisterArgs, "destinationPath">): void;
|
|
32
|
+
context: GenerateContext;
|
|
33
|
+
skipped: boolean;
|
|
34
|
+
};
|
|
35
|
+
id: string;
|
|
36
|
+
type: "operation";
|
|
37
|
+
_class: "OperationInsertable";
|
|
38
|
+
toIdentifier: (operation: OasOperation) => Identifier;
|
|
39
|
+
toExportPath: (operation: OasOperation) => string;
|
|
40
|
+
toEnrichmentRequest: ((operation: OasOperation) => EnrichmentRequest<EnrichmentType> | undefined) | undefined;
|
|
41
|
+
isSupported: (operation: OasOperation) => boolean;
|
|
42
|
+
pinnable: boolean;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=toOperationInsertable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toOperationInsertable.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationInsertable.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,YAAY,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,yBAAyB,CAAC,cAAc,IAAI;IACtD,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,UAAU,CAAA;IACrD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,MAAM,CAAA;IACjD,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;IAClD,mBAAmB,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,iBAAiB,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;IAChG,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,cAAc,UAC1C,yBAAyB,CAAC,cAAc,CAAC;eAe7B,uBAAuB;;;;;;;;;;;;;;;;;;8BAvBjB,YAAY,KAAK,UAAU;8BAC3B,YAAY,KAAK,MAAM;sCAEf,YAAY,KAAK,iBAAiB,gBAAgB,GAAG,SAAS;6BADtE,YAAY,KAAK,OAAO;;CAiCnD,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
|
3
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
4
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.toOperationInsertable = void 0;
|
|
8
|
+
const GeneratorKeys_js_1 = require("../../types/GeneratorKeys.js");
|
|
9
|
+
const OperationBase_js_1 = require("./OperationBase.js");
|
|
10
|
+
const toOperationInsertable = (config) => {
|
|
11
|
+
var _a;
|
|
12
|
+
const OperationInsertable = (_a = class extends OperationBase_js_1.OperationBase {
|
|
13
|
+
constructor(args) {
|
|
14
|
+
super({
|
|
15
|
+
...args,
|
|
16
|
+
generatorKey: (0, GeneratorKeys_js_1.toOperationGeneratorKey)({
|
|
17
|
+
generatorId: config.id,
|
|
18
|
+
operation: args.operation
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
__setFunctionName(_a, "OperationInsertable"),
|
|
24
|
+
Object.defineProperty(_a, "id", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
configurable: true,
|
|
27
|
+
writable: true,
|
|
28
|
+
value: config.id
|
|
29
|
+
}),
|
|
30
|
+
Object.defineProperty(_a, "type", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
configurable: true,
|
|
33
|
+
writable: true,
|
|
34
|
+
value: 'operation'
|
|
35
|
+
}),
|
|
36
|
+
Object.defineProperty(_a, "_class", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
configurable: true,
|
|
39
|
+
writable: true,
|
|
40
|
+
value: 'OperationInsertable'
|
|
41
|
+
}),
|
|
42
|
+
Object.defineProperty(_a, "toIdentifier", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
configurable: true,
|
|
45
|
+
writable: true,
|
|
46
|
+
value: config.toIdentifier.bind(config)
|
|
47
|
+
}),
|
|
48
|
+
Object.defineProperty(_a, "toExportPath", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
configurable: true,
|
|
51
|
+
writable: true,
|
|
52
|
+
value: config.toExportPath.bind(config)
|
|
53
|
+
}),
|
|
54
|
+
Object.defineProperty(_a, "toEnrichmentRequest", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
configurable: true,
|
|
57
|
+
writable: true,
|
|
58
|
+
value: config.toEnrichmentRequest?.bind(config)
|
|
59
|
+
}),
|
|
60
|
+
Object.defineProperty(_a, "isSupported", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
configurable: true,
|
|
63
|
+
writable: true,
|
|
64
|
+
value: config.isSupported ?? (() => true)
|
|
65
|
+
}),
|
|
66
|
+
Object.defineProperty(_a, "pinnable", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
configurable: true,
|
|
69
|
+
writable: true,
|
|
70
|
+
value: config.pinnable ?? false
|
|
71
|
+
}),
|
|
72
|
+
_a);
|
|
73
|
+
return OperationInsertable;
|
|
74
|
+
};
|
|
75
|
+
exports.toOperationInsertable = toOperationInsertable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResultsLog.d.ts","sourceRoot":"","sources":["../../src/helpers/ResultsLog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAGlE,qBAAa,UAAU;;;IAOrB,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;IAc9C,MAAM,IAAI,WAAW;CAWtB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
+
};
|
|
13
|
+
var _ResultsLog_instances, _ResultsLog_results, _ResultsLog_incomingResultIsWorse;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ResultsLog = void 0;
|
|
16
|
+
const lodash_es_1 = require("lodash-es");
|
|
17
|
+
class ResultsLog {
|
|
18
|
+
constructor() {
|
|
19
|
+
_ResultsLog_instances.add(this);
|
|
20
|
+
_ResultsLog_results.set(this, void 0);
|
|
21
|
+
__classPrivateFieldSet(this, _ResultsLog_results, {}, "f");
|
|
22
|
+
}
|
|
23
|
+
capture(stackTrail, result) {
|
|
24
|
+
if (__classPrivateFieldGet(this, _ResultsLog_instances, "m", _ResultsLog_incomingResultIsWorse).call(this, __classPrivateFieldGet(this, _ResultsLog_results, "f")[stackTrail], result)) {
|
|
25
|
+
__classPrivateFieldGet(this, _ResultsLog_results, "f")[stackTrail] = result;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
toTree() {
|
|
29
|
+
const tree = {};
|
|
30
|
+
Object.entries(__classPrivateFieldGet(this, _ResultsLog_results, "f")).forEach(([key, value]) => {
|
|
31
|
+
const keys = key.split(':');
|
|
32
|
+
(0, lodash_es_1.set)(tree, keys, value);
|
|
33
|
+
});
|
|
34
|
+
return tree;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.ResultsLog = ResultsLog;
|
|
38
|
+
_ResultsLog_results = new WeakMap(), _ResultsLog_instances = new WeakSet(), _ResultsLog_incomingResultIsWorse = function _ResultsLog_incomingResultIsWorse(current, incoming) {
|
|
39
|
+
if (current === undefined) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
return resultRankings[current] < resultRankings[incoming];
|
|
43
|
+
};
|
|
44
|
+
const resultRankings = {
|
|
45
|
+
error: 50,
|
|
46
|
+
warning: 40,
|
|
47
|
+
success: 30,
|
|
48
|
+
notSelected: 20,
|
|
49
|
+
notSupported: 10
|
|
50
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isImported.d.ts","sourceRoot":"","sources":["../../src/helpers/isImported.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU,YAAa,MAAM,WAAW,MAAM,KAAG,OAE7D,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isImported = void 0;
|
|
4
|
+
const mod_js_1 = require("../deps/jsr.io/@std/path/1.0.6/mod.js");
|
|
5
|
+
const isImported = (pathOne, pathTwo) => {
|
|
6
|
+
return (0, mod_js_1.normalize)(pathOne) !== (0, mod_js_1.normalize)(pathTwo);
|
|
7
|
+
};
|
|
8
|
+
exports.isImported = isImported;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OasOperation } from '../oas/operation/Operation.js';
|
|
2
|
+
import type { Method } from '../types/Method.js';
|
|
3
|
+
export declare const toEndpointType: (operation: OasOperation) => "query" | "mutation";
|
|
4
|
+
/** generates endpoint name in the `camelCase{method}Api{path}` format */
|
|
5
|
+
export declare const toEndpointName: (operation: OasOperation) => string;
|
|
6
|
+
export declare const toResponseName: (operation: OasOperation) => string;
|
|
7
|
+
export declare const toArgsName: (operation: OasOperation) => string;
|
|
8
|
+
export declare const toMethodVerb: (method: Method) => string;
|
|
9
|
+
//# sourceMappingURL=naming.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../src/helpers/naming.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAGhD,eAAO,MAAM,cAAc,cACd,YAAY,KACtB,OAAO,GAAG,UAEZ,CAAA;AAED,yEAAyE;AACzE,eAAO,MAAM,cAAc,cAAe,YAAY,KAAG,MAMxD,CAAA;AAED,eAAO,MAAM,cAAc,cAAe,YAAY,KAAG,MAIxD,CAAA;AAED,eAAO,MAAM,UAAU,cAAe,YAAY,KAAG,MAIpD,CAAA;AAED,eAAO,MAAM,YAAY,WAAY,MAAM,KAAG,MAK7C,CAAA"}
|