@skmtc/core 0.0.491 → 0.0.493
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/context/GenerateContext.d.ts +6 -6
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +6 -3
- package/esm/dsl/ContentSettings.d.ts +6 -4
- package/esm/dsl/ContentSettings.d.ts.map +1 -1
- package/esm/dsl/ContentSettings.js +10 -2
- package/esm/dsl/GatewayBase.d.ts +5 -5
- package/esm/dsl/GatewayBase.d.ts.map +1 -1
- package/esm/dsl/Inserted.d.ts +5 -5
- package/esm/dsl/Inserted.d.ts.map +1 -1
- package/esm/dsl/model/ModelBase.d.ts +6 -6
- package/esm/dsl/model/ModelBase.d.ts.map +1 -1
- package/esm/dsl/model/ModelDriver.d.ts +1 -1
- package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
- package/esm/dsl/model/ModelInsertable.d.ts +4 -3
- package/esm/dsl/model/ModelInsertable.d.ts.map +1 -1
- package/esm/dsl/model/toModelInsertable.d.ts +7 -5
- package/esm/dsl/model/toModelInsertable.d.ts.map +1 -1
- package/esm/dsl/model/toModelInsertable.js +6 -0
- package/esm/dsl/operation/OperationBase.d.ts +7 -7
- package/esm/dsl/operation/OperationBase.d.ts.map +1 -1
- package/esm/dsl/operation/OperationDriver.d.ts +1 -1
- package/esm/dsl/operation/OperationDriver.d.ts.map +1 -1
- package/esm/dsl/operation/OperationInsertable.d.ts +8 -6
- package/esm/dsl/operation/OperationInsertable.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationGateway.d.ts +4 -2
- package/esm/dsl/operation/toOperationGateway.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationGateway.js +6 -0
- package/esm/dsl/operation/toOperationInsertable.d.ts +6 -6
- package/esm/dsl/operation/toOperationInsertable.d.ts.map +1 -1
- 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 +513 -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 +21 -0
- package/script/dsl/ContentSettings.d.ts.map +1 -0
- package/script/dsl/ContentSettings.js +44 -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 +30 -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 +38 -0
- package/script/dsl/model/toModelInsertable.d.ts.map +1 -0
- package/script/dsl/model/toModelInsertable.js +81 -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 +45 -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 +31 -0
- package/script/dsl/operation/toOperationGateway.d.ts.map +1 -0
- package/script/dsl/operation/toOperationGateway.js +74 -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,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Ported from js-yaml v3.13.1:
|
|
3
|
+
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
+
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
6
|
+
// This module is browser compatible.
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.Schema = void 0;
|
|
9
|
+
const _error_js_1 = require("./_error.js");
|
|
10
|
+
function compileList(schema, name, result) {
|
|
11
|
+
const exclude = [];
|
|
12
|
+
for (const includedSchema of schema.include) {
|
|
13
|
+
result = compileList(includedSchema, name, result);
|
|
14
|
+
}
|
|
15
|
+
for (const currentType of schema[name]) {
|
|
16
|
+
for (let previousIndex = 0; previousIndex < result.length; previousIndex++) {
|
|
17
|
+
const previousType = result[previousIndex];
|
|
18
|
+
if (previousType.tag === currentType.tag &&
|
|
19
|
+
previousType.kind === currentType.kind) {
|
|
20
|
+
exclude.push(previousIndex);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
result.push(currentType);
|
|
24
|
+
}
|
|
25
|
+
return result.filter((_type, index) => !exclude.includes(index));
|
|
26
|
+
}
|
|
27
|
+
function compileMap(...typesList) {
|
|
28
|
+
const result = {
|
|
29
|
+
fallback: {},
|
|
30
|
+
mapping: {},
|
|
31
|
+
scalar: {},
|
|
32
|
+
sequence: {},
|
|
33
|
+
};
|
|
34
|
+
for (const types of typesList) {
|
|
35
|
+
for (const type of types) {
|
|
36
|
+
if (type.kind !== null) {
|
|
37
|
+
result[type.kind][type.tag] = result["fallback"][type.tag] = type;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
class Schema {
|
|
44
|
+
constructor(definition) {
|
|
45
|
+
Object.defineProperty(this, "implicit", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
configurable: true,
|
|
48
|
+
writable: true,
|
|
49
|
+
value: void 0
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(this, "explicit", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
configurable: true,
|
|
54
|
+
writable: true,
|
|
55
|
+
value: void 0
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(this, "include", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
configurable: true,
|
|
60
|
+
writable: true,
|
|
61
|
+
value: void 0
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(this, "compiledImplicit", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
configurable: true,
|
|
66
|
+
writable: true,
|
|
67
|
+
value: void 0
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(this, "compiledExplicit", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
configurable: true,
|
|
72
|
+
writable: true,
|
|
73
|
+
value: void 0
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(this, "compiledTypeMap", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
configurable: true,
|
|
78
|
+
writable: true,
|
|
79
|
+
value: void 0
|
|
80
|
+
});
|
|
81
|
+
this.explicit = definition.explicit || [];
|
|
82
|
+
this.implicit = definition.implicit || [];
|
|
83
|
+
this.include = definition.include || [];
|
|
84
|
+
for (const type of this.implicit) {
|
|
85
|
+
if (type.loadKind && type.loadKind !== "scalar") {
|
|
86
|
+
throw new _error_js_1.YAMLError("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
this.compiledImplicit = compileList(this, "implicit", []);
|
|
90
|
+
this.compiledExplicit = compileList(this, "explicit", []);
|
|
91
|
+
this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit);
|
|
92
|
+
}
|
|
93
|
+
/* Returns a new extended schema from current schema */
|
|
94
|
+
extend(definition) {
|
|
95
|
+
return new Schema({
|
|
96
|
+
implicit: [
|
|
97
|
+
...new Set([...this.implicit, ...(definition?.implicit ?? [])]),
|
|
98
|
+
],
|
|
99
|
+
explicit: [
|
|
100
|
+
...new Set([...this.explicit, ...(definition?.explicit ?? [])]),
|
|
101
|
+
],
|
|
102
|
+
include: [...new Set([...this.include, ...(definition?.include ?? [])])],
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
static create() { }
|
|
106
|
+
}
|
|
107
|
+
exports.Schema = Schema;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DumperStateOptions } from "./_dumper/dumper_state.js";
|
|
2
|
+
export type DumpOptions = DumperStateOptions;
|
|
3
|
+
/**
|
|
4
|
+
* Serializes `object` as a YAML document.
|
|
5
|
+
*
|
|
6
|
+
* You can disable exceptions by setting the skipInvalid option to true.
|
|
7
|
+
*/
|
|
8
|
+
export declare function stringify(obj: Record<string, unknown>, options?: DumpOptions): string;
|
|
9
|
+
//# sourceMappingURL=stringify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stringify.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.215.0/stringify.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,SAAS,CACvB,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5B,OAAO,CAAC,EAAE,WAAW,GACpB,MAAM,CAER"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Ported from js-yaml v3.13.1:
|
|
3
|
+
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
+
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
6
|
+
// This module is browser compatible.
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.stringify = stringify;
|
|
9
|
+
const dumper_js_1 = require("./_dumper/dumper.js");
|
|
10
|
+
/**
|
|
11
|
+
* Serializes `object` as a YAML document.
|
|
12
|
+
*
|
|
13
|
+
* You can disable exceptions by setting the skipInvalid option to true.
|
|
14
|
+
*/
|
|
15
|
+
function stringify(obj, options) {
|
|
16
|
+
return (0, dumper_js_1.dump)(obj, options);
|
|
17
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Any, ArrayObject } from "./_utils.js";
|
|
2
|
+
export type KindType = "sequence" | "scalar" | "mapping";
|
|
3
|
+
export type StyleVariant = "lowercase" | "uppercase" | "camelcase" | "decimal";
|
|
4
|
+
export type RepresentFn = (data: Any, style?: StyleVariant) => Any;
|
|
5
|
+
interface TypeOptions {
|
|
6
|
+
kind: KindType;
|
|
7
|
+
resolve?: (data: Any) => boolean;
|
|
8
|
+
construct?: (data: string) => Any;
|
|
9
|
+
instanceOf?: Any;
|
|
10
|
+
predicate?: (data: Record<string, unknown>) => boolean;
|
|
11
|
+
represent?: RepresentFn | ArrayObject<RepresentFn>;
|
|
12
|
+
defaultStyle?: StyleVariant;
|
|
13
|
+
styleAliases?: ArrayObject;
|
|
14
|
+
}
|
|
15
|
+
export declare class Type {
|
|
16
|
+
tag: string;
|
|
17
|
+
kind: KindType | null;
|
|
18
|
+
instanceOf: Any;
|
|
19
|
+
predicate?: (data: Record<string, unknown>) => boolean;
|
|
20
|
+
represent?: RepresentFn | ArrayObject<RepresentFn>;
|
|
21
|
+
defaultStyle?: StyleVariant;
|
|
22
|
+
styleAliases?: ArrayObject;
|
|
23
|
+
loadKind?: KindType;
|
|
24
|
+
constructor(tag: string, options?: TypeOptions);
|
|
25
|
+
resolve: (data?: Any) => boolean;
|
|
26
|
+
construct: (data?: Any) => Any;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.215.0/type.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;AAC/E,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,YAAY,KAAK,GAAG,CAAC;AAEnE,UAAU,WAAW;IACnB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;IAClC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;IACvD,SAAS,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,YAAY,CAAC,EAAE,WAAW,CAAC;CAC5B;AAMD,qBAAa,IAAI;IACR,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAQ;IAC7B,UAAU,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;IACvD,SAAS,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;gBAEf,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW;IAavC,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,OAAO,CAAuB;IACvD,SAAS,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,GAAG,CAAuB;CAC7D"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Ported from js-yaml v3.13.1:
|
|
3
|
+
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
+
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
6
|
+
// This module is browser compatible.
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.Type = void 0;
|
|
9
|
+
function checkTagFormat(tag) {
|
|
10
|
+
return tag;
|
|
11
|
+
}
|
|
12
|
+
class Type {
|
|
13
|
+
constructor(tag, options) {
|
|
14
|
+
Object.defineProperty(this, "tag", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
configurable: true,
|
|
17
|
+
writable: true,
|
|
18
|
+
value: void 0
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(this, "kind", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true,
|
|
23
|
+
writable: true,
|
|
24
|
+
value: null
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(this, "instanceOf", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
configurable: true,
|
|
29
|
+
writable: true,
|
|
30
|
+
value: void 0
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(this, "predicate", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
configurable: true,
|
|
35
|
+
writable: true,
|
|
36
|
+
value: void 0
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(this, "represent", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
configurable: true,
|
|
41
|
+
writable: true,
|
|
42
|
+
value: void 0
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(this, "defaultStyle", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
configurable: true,
|
|
47
|
+
writable: true,
|
|
48
|
+
value: void 0
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(this, "styleAliases", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
configurable: true,
|
|
53
|
+
writable: true,
|
|
54
|
+
value: void 0
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(this, "loadKind", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
configurable: true,
|
|
59
|
+
writable: true,
|
|
60
|
+
value: void 0
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(this, "resolve", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
configurable: true,
|
|
65
|
+
writable: true,
|
|
66
|
+
value: () => true
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(this, "construct", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
configurable: true,
|
|
71
|
+
writable: true,
|
|
72
|
+
value: (data) => data
|
|
73
|
+
});
|
|
74
|
+
this.tag = checkTagFormat(tag);
|
|
75
|
+
if (options) {
|
|
76
|
+
this.kind = options.kind;
|
|
77
|
+
this.resolve = options.resolve || (() => true);
|
|
78
|
+
this.construct = options.construct || ((data) => data);
|
|
79
|
+
this.instanceOf = options.instanceOf;
|
|
80
|
+
this.predicate = options.predicate;
|
|
81
|
+
this.represent = options.represent;
|
|
82
|
+
this.defaultStyle = options.defaultStyle;
|
|
83
|
+
this.styleAliases = options.styleAliases;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.Type = Type;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Identifier } from './Identifier.js';
|
|
2
|
+
type EmptyArgs = {
|
|
3
|
+
exportPath: string;
|
|
4
|
+
identifier: Identifier;
|
|
5
|
+
};
|
|
6
|
+
type CreateArgs<EnrichmentType> = {
|
|
7
|
+
identifier: Identifier;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
exportPath: string;
|
|
10
|
+
enrichments: EnrichmentType;
|
|
11
|
+
};
|
|
12
|
+
export declare class ContentSettings<EnrichmentType> {
|
|
13
|
+
identifier: Identifier;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
exportPath: string;
|
|
16
|
+
enrichments: EnrichmentType;
|
|
17
|
+
constructor({ identifier, selected, exportPath, enrichments }: CreateArgs<EnrichmentType>);
|
|
18
|
+
static empty({ identifier, exportPath }: EmptyArgs): ContentSettings<undefined>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=ContentSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentSettings.d.ts","sourceRoot":"","sources":["../../src/dsl/ContentSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,KAAK,SAAS,GAAG;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA;AAED,KAAK,UAAU,CAAC,cAAc,IAAI;IAChC,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,cAAc,CAAA;CAC5B,CAAA;AAED,qBAAa,eAAe,CAAC,cAAc;IACzC,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,cAAc,CAAA;gBACf,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,cAAc,CAAC;IAOzF,MAAM,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,SAAS,GAAG,eAAe,CAAC,SAAS,CAAC;CAQhF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ContentSettings = void 0;
|
|
4
|
+
class ContentSettings {
|
|
5
|
+
constructor({ identifier, selected, exportPath, enrichments }) {
|
|
6
|
+
Object.defineProperty(this, "identifier", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: void 0
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(this, "selected", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
configurable: true,
|
|
15
|
+
writable: true,
|
|
16
|
+
value: void 0
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(this, "exportPath", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
configurable: true,
|
|
21
|
+
writable: true,
|
|
22
|
+
value: void 0
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(this, "enrichments", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
configurable: true,
|
|
27
|
+
writable: true,
|
|
28
|
+
value: void 0
|
|
29
|
+
});
|
|
30
|
+
this.identifier = identifier;
|
|
31
|
+
this.selected = selected;
|
|
32
|
+
this.exportPath = exportPath;
|
|
33
|
+
this.enrichments = enrichments;
|
|
34
|
+
}
|
|
35
|
+
static empty({ identifier, exportPath }) {
|
|
36
|
+
return new ContentSettings({
|
|
37
|
+
selected: true,
|
|
38
|
+
identifier,
|
|
39
|
+
exportPath,
|
|
40
|
+
enrichments: undefined
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.ContentSettings = ContentSettings;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { GenerateContext } from '../context/GenerateContext.js';
|
|
2
|
+
import type { Identifier } from './Identifier.js';
|
|
3
|
+
import { ValueBase } from './ValueBase.js';
|
|
4
|
+
import type { GeneratedValue } from '../types/GeneratedValue.js';
|
|
5
|
+
type ConstructorArgs<V extends GeneratedValue> = {
|
|
6
|
+
context: GenerateContext;
|
|
7
|
+
description?: string;
|
|
8
|
+
identifier: Identifier;
|
|
9
|
+
value: V;
|
|
10
|
+
};
|
|
11
|
+
export declare class Definition<V extends GeneratedValue = GeneratedValue> extends ValueBase {
|
|
12
|
+
identifier: Identifier;
|
|
13
|
+
description: string | undefined;
|
|
14
|
+
value: V;
|
|
15
|
+
constructor({ context, identifier, value, description }: ConstructorArgs<V>);
|
|
16
|
+
toString(): string;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# 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,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAEhE,KAAK,eAAe,CAAC,CAAC,SAAS,cAAc,IAAI;IAC/C,OAAO,EAAE,eAAe,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,CAAC,CAAA;CACT,CAAA;AAED,qBAAa,UAAU,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,CAAE,SAAQ,SAAS;IAClF,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,KAAK,EAAE,CAAC,CAAA;gBAEI,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,eAAe,CAAC,CAAC,CAAC;IAQlE,QAAQ,IAAI,MAAM;CAU5B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Definition = void 0;
|
|
4
|
+
const ValueBase_js_1 = require("./ValueBase.js");
|
|
5
|
+
const withDescription_js_1 = require("../typescript/withDescription.js");
|
|
6
|
+
class Definition extends ValueBase_js_1.ValueBase {
|
|
7
|
+
constructor({ context, identifier, value, description }) {
|
|
8
|
+
super({ context, generatorKey: value.generatorKey });
|
|
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
|
+
toString() {
|
|
32
|
+
const identifier = this.identifier.typeName
|
|
33
|
+
? `${this.identifier.name}: ${this.identifier.typeName}`
|
|
34
|
+
: this.identifier.name;
|
|
35
|
+
// @TODO move syntax to typescript package to enable language agnostic use
|
|
36
|
+
return (0, withDescription_js_1.withDescription)(`export ${this.identifier.entityType} ${identifier} = ${this.value};`, {
|
|
37
|
+
description: this.description
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Definition = Definition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityType.d.ts","sourceRoot":"","sources":["../../src/dsl/EntityType.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IACrB,IAAI,EAAE,UAAU,GAAG,MAAM,CAAA;gBACb,IAAI,EAAE,UAAU,GAAG,MAAM;IAIrC,QAAQ,IAAI,MAAM;CAMnB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EntityType = void 0;
|
|
4
|
+
const ts_pattern_1 = require("ts-pattern");
|
|
5
|
+
class EntityType {
|
|
6
|
+
constructor(type) {
|
|
7
|
+
Object.defineProperty(this, "type", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
configurable: true,
|
|
10
|
+
writable: true,
|
|
11
|
+
value: void 0
|
|
12
|
+
});
|
|
13
|
+
this.type = type;
|
|
14
|
+
}
|
|
15
|
+
toString() {
|
|
16
|
+
return (0, ts_pattern_1.match)(this.type)
|
|
17
|
+
.with('variable', () => 'const')
|
|
18
|
+
.with('type', () => 'type')
|
|
19
|
+
.exhaustive();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.EntityType = EntityType;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Definition } from './Definition.js';
|
|
2
|
+
import type { GeneratorKey } from '../types/GeneratorKeys.js';
|
|
3
|
+
import type { ClientSettings, ModulePackage } from '../types/Settings.js';
|
|
4
|
+
type FileArgs = {
|
|
5
|
+
path: string;
|
|
6
|
+
settings: ClientSettings | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare class File {
|
|
9
|
+
#private;
|
|
10
|
+
path: string;
|
|
11
|
+
reExports: Map<string, Record<string, Set<string>>>;
|
|
12
|
+
imports: Map<string, Set<string>>;
|
|
13
|
+
definitions: Map<string, Definition>;
|
|
14
|
+
packages: ModulePackage[] | undefined;
|
|
15
|
+
constructor({ path, settings }: FileArgs);
|
|
16
|
+
get generatorKeys(): Set<GeneratorKey>;
|
|
17
|
+
toString(): string;
|
|
18
|
+
}
|
|
19
|
+
export type NormaliseModuleNameArgs = {
|
|
20
|
+
destinationPath: string;
|
|
21
|
+
exportPath: string;
|
|
22
|
+
packages: ModulePackage[] | undefined;
|
|
23
|
+
};
|
|
24
|
+
export declare const normaliseModuleName: ({ destinationPath, exportPath, packages }: NormaliseModuleNameArgs) => string;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=File.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../src/dsl/File.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzE,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;CACrC,CAAA;AAED,qBAAa,IAAI;;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;IACnD,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;IACjC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IAEpC,QAAQ,EAAE,aAAa,EAAE,GAAG,SAAS,CAAA;gBAEzB,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,QAAQ;IASxC,IAAI,aAAa,sBAEhB;IAED,QAAQ;CAkCT;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,aAAa,EAAE,GAAG,SAAS,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,mBAAmB,8CAI7B,uBAAuB,WAYzB,CAAA"}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 _File_generatorKeys;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.normaliseModuleName = exports.File = void 0;
|
|
16
|
+
const Import_js_1 = require("./Import.js");
|
|
17
|
+
class File {
|
|
18
|
+
constructor({ path, settings }) {
|
|
19
|
+
Object.defineProperty(this, "path", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true,
|
|
23
|
+
value: void 0
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(this, "reExports", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
configurable: true,
|
|
28
|
+
writable: true,
|
|
29
|
+
value: void 0
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(this, "imports", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
configurable: true,
|
|
34
|
+
writable: true,
|
|
35
|
+
value: void 0
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(this, "definitions", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
configurable: true,
|
|
40
|
+
writable: true,
|
|
41
|
+
value: void 0
|
|
42
|
+
});
|
|
43
|
+
_File_generatorKeys.set(this, void 0);
|
|
44
|
+
Object.defineProperty(this, "packages", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
configurable: true,
|
|
47
|
+
writable: true,
|
|
48
|
+
value: void 0
|
|
49
|
+
});
|
|
50
|
+
this.path = path;
|
|
51
|
+
this.reExports = new Map();
|
|
52
|
+
this.imports = new Map();
|
|
53
|
+
this.definitions = new Map();
|
|
54
|
+
__classPrivateFieldSet(this, _File_generatorKeys, new Set(), "f");
|
|
55
|
+
this.packages = settings?.packages;
|
|
56
|
+
}
|
|
57
|
+
get generatorKeys() {
|
|
58
|
+
return __classPrivateFieldGet(this, _File_generatorKeys, "f");
|
|
59
|
+
}
|
|
60
|
+
toString() {
|
|
61
|
+
const reExports = Array.from(this.reExports.entries()).flatMap(([module, entityTypes]) => {
|
|
62
|
+
const updatedModuleName = (0, exports.normaliseModuleName)({
|
|
63
|
+
destinationPath: this.path,
|
|
64
|
+
exportPath: module,
|
|
65
|
+
packages: this.packages
|
|
66
|
+
});
|
|
67
|
+
return Object.entries(entityTypes).map(([entityType, names]) => {
|
|
68
|
+
const prefix = entityType === 'type' ? 'type' : '';
|
|
69
|
+
return `export ${prefix} { ${Array.from(names).join(', ')} } from '${updatedModuleName}'`;
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
const imports = Array.from(this.imports.entries()).map(([module, importItems]) => {
|
|
73
|
+
const updatedModuleName = this.packages
|
|
74
|
+
? (0, exports.normaliseModuleName)({
|
|
75
|
+
destinationPath: this.path,
|
|
76
|
+
exportPath: module,
|
|
77
|
+
packages: this.packages
|
|
78
|
+
})
|
|
79
|
+
: module;
|
|
80
|
+
return new Import_js_1.Import({ module: updatedModuleName, importNames: Array.from(importItems) });
|
|
81
|
+
});
|
|
82
|
+
const definitions = Array.from(this.definitions.values());
|
|
83
|
+
return [reExports, imports, definitions]
|
|
84
|
+
.filter(section => Boolean(section.length))
|
|
85
|
+
.map(section => section.join('\n'))
|
|
86
|
+
.join('\n\n');
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.File = File;
|
|
90
|
+
_File_generatorKeys = new WeakMap();
|
|
91
|
+
const normaliseModuleName = ({ destinationPath, exportPath, packages = [] }) => {
|
|
92
|
+
const matchingModule = packages.find(packageModule => {
|
|
93
|
+
return exportPath.startsWith(packageModule.rootPath);
|
|
94
|
+
});
|
|
95
|
+
if (!matchingModule) {
|
|
96
|
+
return exportPath;
|
|
97
|
+
}
|
|
98
|
+
const { rootPath, moduleName } = matchingModule;
|
|
99
|
+
return destinationPath.startsWith(rootPath) ? exportPath.replace(rootPath, '@') : moduleName;
|
|
100
|
+
};
|
|
101
|
+
exports.normaliseModuleName = normaliseModuleName;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { GenerateContext, RegisterArgs } from '../context/GenerateContext.js';
|
|
2
|
+
import type { ContentSettings } from './ContentSettings.js';
|
|
3
|
+
import { ValueBase } from './ValueBase.js';
|
|
4
|
+
export type OperationGatewayArgs<EnrichmentType> = {
|
|
5
|
+
context: GenerateContext;
|
|
6
|
+
settings: ContentSettings<EnrichmentType>;
|
|
7
|
+
};
|
|
8
|
+
export declare class GatewayBase<EnrichmentType> extends ValueBase {
|
|
9
|
+
settings: ContentSettings<EnrichmentType>;
|
|
10
|
+
constructor({ context, settings }: OperationGatewayArgs<EnrichmentType>);
|
|
11
|
+
register(args: Omit<RegisterArgs, 'destinationPath'>): void;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=GatewayBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GatewayBase.d.ts","sourceRoot":"","sources":["../../src/dsl/GatewayBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAClF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,MAAM,MAAM,oBAAoB,CAAC,cAAc,IAAI;IACjD,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;CAC1C,CAAA;AAED,qBAAa,WAAW,CAAC,cAAc,CAAE,SAAQ,SAAS;IACxD,QAAQ,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;gBAE7B,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,oBAAoB,CAAC,cAAc,CAAC;IAM9D,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,iBAAiB,CAAC;CAM9D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GatewayBase = void 0;
|
|
4
|
+
const ValueBase_js_1 = require("./ValueBase.js");
|
|
5
|
+
class GatewayBase extends ValueBase_js_1.ValueBase {
|
|
6
|
+
constructor({ context, settings }) {
|
|
7
|
+
super({ context });
|
|
8
|
+
Object.defineProperty(this, "settings", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
configurable: true,
|
|
11
|
+
writable: true,
|
|
12
|
+
value: void 0
|
|
13
|
+
});
|
|
14
|
+
this.settings = settings;
|
|
15
|
+
}
|
|
16
|
+
register(args) {
|
|
17
|
+
this.context.register({
|
|
18
|
+
...args,
|
|
19
|
+
destinationPath: this.settings.exportPath
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GatewayBase = GatewayBase;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { GeneratedValue } from '../types/GeneratedValue.js';
|
|
2
|
+
export declare class GeneratedValueList {
|
|
3
|
+
separator: string;
|
|
4
|
+
private items;
|
|
5
|
+
constructor(separator: string);
|
|
6
|
+
add(str: GeneratedValue): void;
|
|
7
|
+
toString(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=GeneratedValueList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeneratedValueList.d.ts","sourceRoot":"","sources":["../../src/dsl/GeneratedValueList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAGhE,qBAAa,kBAAkB;IAC7B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,KAAK,CAAuB;gBAExB,SAAS,EAAE,MAAM;IAI7B,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI;IAI9B,QAAQ,IAAI,MAAM;CAMnB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GeneratedValueList = void 0;
|
|
4
|
+
const constants_js_1 = require("./constants.js");
|
|
5
|
+
class GeneratedValueList {
|
|
6
|
+
constructor(separator) {
|
|
7
|
+
Object.defineProperty(this, "separator", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
configurable: true,
|
|
10
|
+
writable: true,
|
|
11
|
+
value: void 0
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(this, "items", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: []
|
|
18
|
+
});
|
|
19
|
+
this.separator = separator;
|
|
20
|
+
}
|
|
21
|
+
add(str) {
|
|
22
|
+
this.items.push(str);
|
|
23
|
+
}
|
|
24
|
+
toString() {
|
|
25
|
+
return this.items
|
|
26
|
+
.map(item => item.toString())
|
|
27
|
+
.filter(item => item !== constants_js_1.EMPTY)
|
|
28
|
+
.join(this.separator);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.GeneratedValueList = GeneratedValueList;
|