@azure-tools/typespec-ts 0.54.0 → 0.54.2
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/CHANGELOG.md +34 -10
- package/README.md +0 -4
- package/dist/src/context-manager.d.ts +75 -0
- package/dist/src/context-manager.d.ts.map +1 -0
- package/dist/src/context-manager.js +59 -0
- package/dist/src/context-manager.js.map +1 -0
- package/dist/src/framework/declaration.d.ts +1 -1
- package/dist/src/framework/declaration.d.ts.map +1 -1
- package/dist/src/framework/declaration.js +2 -4
- package/dist/src/framework/declaration.js.map +1 -1
- package/dist/src/framework/dependency.d.ts.map +1 -1
- package/dist/src/framework/hooks/binder.d.ts +1 -1
- package/dist/src/framework/hooks/binder.d.ts.map +1 -1
- package/dist/src/framework/hooks/binder.js +32 -41
- package/dist/src/framework/hooks/binder.js.map +1 -1
- package/dist/src/framework/hooks/sdk-types.d.ts +27 -0
- package/dist/src/framework/hooks/sdk-types.d.ts.map +1 -0
- package/dist/src/framework/hooks/sdk-types.js +158 -0
- package/dist/src/framework/hooks/sdk-types.js.map +1 -0
- package/dist/src/framework/hooks/use-dependencies.d.ts +4 -0
- package/dist/src/framework/hooks/use-dependencies.d.ts.map +1 -0
- package/dist/src/framework/hooks/use-dependencies.js +13 -0
- package/dist/src/framework/hooks/use-dependencies.js.map +1 -0
- package/dist/src/framework/load-static-helpers.d.ts +1 -1
- package/dist/src/framework/load-static-helpers.d.ts.map +1 -1
- package/dist/src/framework/load-static-helpers.js +17 -31
- package/dist/src/framework/load-static-helpers.js.map +1 -1
- package/dist/src/framework/reference.d.ts.map +1 -1
- package/dist/src/framework/reference.js +2 -2
- package/dist/src/framework/reference.js.map +1 -1
- package/dist/src/framework/sample.js +8 -8
- package/dist/src/framework/sample.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +111 -100
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib.d.ts +1 -1
- package/dist/src/lib.d.ts.map +1 -1
- package/dist/src/lib.js +140 -140
- package/dist/src/lib.js.map +1 -1
- package/dist/src/meta-tree.d.ts +7 -0
- package/dist/src/meta-tree.d.ts.map +1 -0
- package/dist/src/meta-tree.js +2 -0
- package/dist/src/meta-tree.js.map +1 -0
- package/dist/src/modular/build-classical-client.d.ts +6 -0
- package/dist/src/modular/build-classical-client.d.ts.map +1 -0
- package/dist/src/modular/build-classical-client.js +345 -0
- package/dist/src/modular/build-classical-client.js.map +1 -0
- package/dist/src/modular/build-classical-operation-groups.d.ts +6 -0
- package/dist/src/modular/build-classical-operation-groups.d.ts.map +1 -0
- package/dist/src/modular/build-classical-operation-groups.js +48 -0
- package/dist/src/modular/build-classical-operation-groups.js.map +1 -0
- package/dist/src/modular/build-client-context.d.ts +13 -0
- package/dist/src/modular/build-client-context.d.ts.map +1 -0
- package/dist/src/modular/build-client-context.js +246 -0
- package/dist/src/modular/build-client-context.js.map +1 -0
- package/dist/src/modular/build-modular-options.d.ts +6 -0
- package/dist/src/modular/build-modular-options.d.ts.map +1 -0
- package/dist/src/modular/build-modular-options.js +14 -0
- package/dist/src/modular/build-modular-options.js.map +1 -0
- package/dist/src/modular/build-operations.d.ts +21 -0
- package/dist/src/modular/build-operations.d.ts.map +1 -0
- package/dist/src/modular/build-operations.js +172 -0
- package/dist/src/modular/build-operations.js.map +1 -0
- package/dist/src/modular/build-project-files.d.ts +4 -0
- package/dist/src/modular/build-project-files.d.ts.map +1 -0
- package/dist/src/modular/build-project-files.js +91 -0
- package/dist/src/modular/build-project-files.js.map +1 -0
- package/dist/src/modular/build-restore-poller.d.ts +5 -0
- package/dist/src/modular/build-restore-poller.d.ts.map +1 -0
- package/dist/src/modular/build-restore-poller.js +216 -0
- package/dist/src/modular/build-restore-poller.js.map +1 -0
- package/dist/src/modular/build-root-index.d.ts +13 -0
- package/dist/src/modular/build-root-index.d.ts.map +1 -0
- package/dist/src/modular/build-root-index.js +279 -0
- package/dist/src/modular/build-root-index.js.map +1 -0
- package/dist/src/modular/build-subpath-index.d.ts +16 -0
- package/dist/src/modular/build-subpath-index.d.ts.map +1 -0
- package/dist/src/modular/build-subpath-index.js +119 -0
- package/dist/src/modular/build-subpath-index.js.map +1 -0
- package/dist/src/modular/emit-logger-file.d.ts +3 -0
- package/dist/src/modular/emit-logger-file.d.ts.map +1 -0
- package/dist/src/modular/emit-logger-file.js +18 -0
- package/dist/src/modular/emit-logger-file.js.map +1 -0
- package/dist/src/modular/emit-models-options.d.ts +5 -0
- package/dist/src/modular/emit-models-options.d.ts.map +1 -0
- package/dist/src/modular/emit-models-options.js +35 -0
- package/dist/src/modular/emit-models-options.js.map +1 -0
- package/dist/src/modular/emit-models.d.ts +23 -0
- package/dist/src/modular/emit-models.d.ts.map +1 -0
- package/dist/src/modular/emit-models.js +864 -0
- package/dist/src/modular/emit-models.js.map +1 -0
- package/dist/src/modular/emit-samples.d.ts +7 -0
- package/dist/src/modular/emit-samples.d.ts.map +1 -0
- package/dist/src/modular/emit-samples.js +500 -0
- package/dist/src/modular/emit-samples.js.map +1 -0
- package/dist/src/modular/emit-tests.d.ts +7 -0
- package/dist/src/modular/emit-tests.d.ts.map +1 -0
- package/dist/src/modular/emit-tests.js +155 -0
- package/dist/src/modular/emit-tests.js.map +1 -0
- package/dist/src/modular/external-dependencies.js +54 -54
- package/dist/src/modular/helpers/classical-operation-helpers.d.ts +7 -0
- package/dist/src/modular/helpers/classical-operation-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/classical-operation-helpers.js +258 -0
- package/dist/src/modular/helpers/classical-operation-helpers.js.map +1 -0
- package/dist/src/modular/helpers/client-helpers.d.ts +34 -0
- package/dist/src/modular/helpers/client-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/client-helpers.js +259 -0
- package/dist/src/modular/helpers/client-helpers.js.map +1 -0
- package/dist/src/modular/helpers/client-option-helpers.d.ts +43 -0
- package/dist/src/modular/helpers/client-option-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/client-option-helpers.js +103 -0
- package/dist/src/modular/helpers/client-option-helpers.js.map +1 -0
- package/dist/src/modular/helpers/docs-helpers.d.ts +3 -0
- package/dist/src/modular/helpers/docs-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/docs-helpers.js +10 -0
- package/dist/src/modular/helpers/docs-helpers.js.map +1 -0
- package/dist/src/modular/helpers/example-value-helpers.d.ts +83 -0
- package/dist/src/modular/helpers/example-value-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/example-value-helpers.js +639 -0
- package/dist/src/modular/helpers/example-value-helpers.js.map +1 -0
- package/dist/src/modular/helpers/naming-helpers.d.ts +22 -0
- package/dist/src/modular/helpers/naming-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/naming-helpers.js +59 -0
- package/dist/src/modular/helpers/naming-helpers.js.map +1 -0
- package/dist/src/modular/helpers/operation-helpers.d.ts +105 -0
- package/dist/src/modular/helpers/operation-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/operation-helpers.js +2328 -0
- package/dist/src/modular/helpers/operation-helpers.js.map +1 -0
- package/dist/src/modular/helpers/type-helpers.d.ts +22 -0
- package/dist/src/modular/helpers/type-helpers.d.ts.map +1 -0
- package/dist/src/modular/helpers/type-helpers.js +94 -0
- package/dist/src/modular/helpers/type-helpers.js.map +1 -0
- package/dist/src/modular/serialization/build-deserializer-function.d.ts +7 -0
- package/dist/src/modular/serialization/build-deserializer-function.d.ts.map +1 -0
- package/dist/src/modular/serialization/build-deserializer-function.js +401 -0
- package/dist/src/modular/serialization/build-deserializer-function.js.map +1 -0
- package/dist/src/modular/serialization/build-serializer-function.d.ts +7 -0
- package/dist/src/modular/serialization/build-serializer-function.d.ts.map +1 -0
- package/dist/src/modular/serialization/build-serializer-function.js +442 -0
- package/dist/src/modular/serialization/build-serializer-function.js.map +1 -0
- package/dist/src/modular/serialization/build-xml-serializer-function.d.ts +44 -0
- package/dist/src/modular/serialization/build-xml-serializer-function.d.ts.map +1 -0
- package/dist/src/modular/serialization/build-xml-serializer-function.js +729 -0
- package/dist/src/modular/serialization/build-xml-serializer-function.js.map +1 -0
- package/dist/src/modular/serialization/serialize-utils.d.ts +37 -0
- package/dist/src/modular/serialization/serialize-utils.d.ts.map +1 -0
- package/dist/src/modular/serialization/serialize-utils.js +145 -0
- package/dist/src/modular/serialization/serialize-utils.js.map +1 -0
- package/dist/src/modular/static-helpers-metadata.js +60 -60
- package/dist/src/modular/type-expressions/get-credential-expression.js +1 -1
- package/dist/src/modular/type-expressions/get-credential-expression.js.map +1 -1
- package/dist/src/modular/type-expressions/get-enum-expression.d.ts +1 -1
- package/dist/src/modular/type-expressions/get-enum-expression.d.ts.map +1 -1
- package/dist/src/modular/type-expressions/get-enum-expression.js +1 -2
- package/dist/src/modular/type-expressions/get-enum-expression.js.map +1 -1
- package/dist/src/modular/type-expressions/get-model-expression.d.ts.map +1 -1
- package/dist/src/modular/type-expressions/get-model-expression.js +10 -13
- package/dist/src/modular/type-expressions/get-model-expression.js.map +1 -1
- package/dist/src/modular/type-expressions/get-nullable-expression.d.ts +1 -1
- package/dist/src/modular/type-expressions/get-nullable-expression.d.ts.map +1 -1
- package/dist/src/modular/type-expressions/get-nullable-expression.js +2 -3
- package/dist/src/modular/type-expressions/get-nullable-expression.js.map +1 -1
- package/dist/src/modular/type-expressions/get-type-expression.d.ts.map +1 -1
- package/dist/src/modular/type-expressions/get-type-expression.js +5 -11
- package/dist/src/modular/type-expressions/get-type-expression.js.map +1 -1
- package/dist/src/modular/type-expressions/get-union-expression.d.ts +1 -1
- package/dist/src/modular/type-expressions/get-union-expression.d.ts.map +1 -1
- package/dist/src/modular/type-expressions/get-union-expression.js.map +1 -1
- package/dist/src/rlc-common/build-client-definitions.d.ts +6 -0
- package/dist/src/rlc-common/build-client-definitions.d.ts.map +1 -0
- package/dist/src/rlc-common/build-client-definitions.js +157 -0
- package/dist/src/rlc-common/build-client-definitions.js.map +1 -0
- package/dist/src/rlc-common/build-client.d.ts +9 -0
- package/dist/src/rlc-common/build-client.d.ts.map +1 -0
- package/dist/src/rlc-common/build-client.js +391 -0
- package/dist/src/rlc-common/build-client.js.map +1 -0
- package/dist/src/rlc-common/build-index-file.d.ts +6 -0
- package/dist/src/rlc-common/build-index-file.d.ts.map +1 -0
- package/dist/src/rlc-common/build-index-file.js +241 -0
- package/dist/src/rlc-common/build-index-file.js.map +1 -0
- package/dist/src/rlc-common/build-is-unexpected-helper.d.ts +6 -0
- package/dist/src/rlc-common/build-is-unexpected-helper.d.ts.map +1 -0
- package/dist/src/rlc-common/build-is-unexpected-helper.js +223 -0
- package/dist/src/rlc-common/build-is-unexpected-helper.js.map +1 -0
- package/dist/src/rlc-common/build-logger.d.ts +6 -0
- package/dist/src/rlc-common/build-logger.d.ts.map +1 -0
- package/dist/src/rlc-common/build-logger.js +31 -0
- package/dist/src/rlc-common/build-logger.js.map +1 -0
- package/dist/src/rlc-common/build-method-shortcuts.d.ts +5 -0
- package/dist/src/rlc-common/build-method-shortcuts.d.ts.map +1 -0
- package/dist/src/rlc-common/build-method-shortcuts.js +54 -0
- package/dist/src/rlc-common/build-method-shortcuts.js.map +1 -0
- package/dist/src/rlc-common/build-object-types.d.ts +29 -0
- package/dist/src/rlc-common/build-object-types.d.ts.map +1 -0
- package/dist/src/rlc-common/build-object-types.js +412 -0
- package/dist/src/rlc-common/build-object-types.js.map +1 -0
- package/dist/src/rlc-common/build-paginate-helper.d.ts +6 -0
- package/dist/src/rlc-common/build-paginate-helper.d.ts.map +1 -0
- package/dist/src/rlc-common/build-paginate-helper.js +27 -0
- package/dist/src/rlc-common/build-paginate-helper.js.map +1 -0
- package/dist/src/rlc-common/build-parameter-types.d.ts +14 -0
- package/dist/src/rlc-common/build-parameter-types.d.ts.map +1 -0
- package/dist/src/rlc-common/build-parameter-types.js +391 -0
- package/dist/src/rlc-common/build-parameter-types.js.map +1 -0
- package/dist/src/rlc-common/build-polling-helper.d.ts +6 -0
- package/dist/src/rlc-common/build-polling-helper.d.ts.map +1 -0
- package/dist/src/rlc-common/build-polling-helper.js +61 -0
- package/dist/src/rlc-common/build-polling-helper.js.map +1 -0
- package/dist/src/rlc-common/build-response-types.d.ts +6 -0
- package/dist/src/rlc-common/build-response-types.d.ts.map +1 -0
- package/dist/src/rlc-common/build-response-types.js +143 -0
- package/dist/src/rlc-common/build-response-types.js.map +1 -0
- package/dist/src/rlc-common/build-samples.d.ts +3 -0
- package/dist/src/rlc-common/build-samples.d.ts.map +1 -0
- package/dist/src/rlc-common/build-samples.js +30 -0
- package/dist/src/rlc-common/build-samples.js.map +1 -0
- package/dist/src/rlc-common/build-schema-type.d.ts +20 -0
- package/dist/src/rlc-common/build-schema-type.d.ts.map +1 -0
- package/dist/src/rlc-common/build-schema-type.js +71 -0
- package/dist/src/rlc-common/build-schema-type.js.map +1 -0
- package/dist/src/rlc-common/build-serialize-helper.d.ts +6 -0
- package/dist/src/rlc-common/build-serialize-helper.d.ts.map +1 -0
- package/dist/src/rlc-common/build-serialize-helper.js +36 -0
- package/dist/src/rlc-common/build-serialize-helper.js.map +1 -0
- package/dist/src/rlc-common/build-top-level-index-file.d.ts +6 -0
- package/dist/src/rlc-common/build-top-level-index-file.d.ts.map +1 -0
- package/dist/src/rlc-common/build-top-level-index-file.js +48 -0
- package/dist/src/rlc-common/build-top-level-index-file.js.map +1 -0
- package/dist/src/rlc-common/helpers/api-version-util.d.ts +17 -0
- package/dist/src/rlc-common/helpers/api-version-util.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/api-version-util.js +43 -0
- package/dist/src/rlc-common/helpers/api-version-util.js.map +1 -0
- package/dist/src/rlc-common/helpers/imports-util.d.ts +18 -0
- package/dist/src/rlc-common/helpers/imports-util.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/imports-util.js +164 -0
- package/dist/src/rlc-common/helpers/imports-util.js.map +1 -0
- package/dist/src/rlc-common/helpers/name-constructors.d.ts +42 -0
- package/dist/src/rlc-common/helpers/name-constructors.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/name-constructors.js +61 -0
- package/dist/src/rlc-common/helpers/name-constructors.js.map +1 -0
- package/dist/src/rlc-common/helpers/name-utils.d.ts +37 -0
- package/dist/src/rlc-common/helpers/name-utils.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/name-utils.js +240 -0
- package/dist/src/rlc-common/helpers/name-utils.js.map +1 -0
- package/dist/src/rlc-common/helpers/operation-helpers.d.ts +16 -0
- package/dist/src/rlc-common/helpers/operation-helpers.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/operation-helpers.js +104 -0
- package/dist/src/rlc-common/helpers/operation-helpers.js.map +1 -0
- package/dist/src/rlc-common/helpers/package-util.d.ts +7 -0
- package/dist/src/rlc-common/helpers/package-util.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/package-util.js +10 -0
- package/dist/src/rlc-common/helpers/package-util.js.map +1 -0
- package/dist/src/rlc-common/helpers/path-utils.d.ts +2 -0
- package/dist/src/rlc-common/helpers/path-utils.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/path-utils.js +10 -0
- package/dist/src/rlc-common/helpers/path-utils.js.map +1 -0
- package/dist/src/rlc-common/helpers/schema-helpers.d.ts +10 -0
- package/dist/src/rlc-common/helpers/schema-helpers.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/schema-helpers.js +37 -0
- package/dist/src/rlc-common/helpers/schema-helpers.js.map +1 -0
- package/dist/src/rlc-common/helpers/shortcut-methods.d.ts +4 -0
- package/dist/src/rlc-common/helpers/shortcut-methods.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/shortcut-methods.js +49 -0
- package/dist/src/rlc-common/helpers/shortcut-methods.js.map +1 -0
- package/dist/src/rlc-common/helpers/type-util.d.ts +32 -0
- package/dist/src/rlc-common/helpers/type-util.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/type-util.js +162 -0
- package/dist/src/rlc-common/helpers/type-util.js.map +1 -0
- package/dist/src/rlc-common/helpers/value-generation-util.d.ts +12 -0
- package/dist/src/rlc-common/helpers/value-generation-util.d.ts.map +1 -0
- package/dist/src/rlc-common/helpers/value-generation-util.js +161 -0
- package/dist/src/rlc-common/helpers/value-generation-util.js.map +1 -0
- package/dist/src/rlc-common/index.d.ts +39 -39
- package/dist/src/rlc-common/index.d.ts.map +1 -1
- package/dist/src/rlc-common/index.js +39 -39
- package/dist/src/rlc-common/index.js.map +1 -1
- package/dist/src/rlc-common/interfaces.d.ts.map +1 -1
- package/dist/src/rlc-common/interfaces.js.map +1 -1
- package/dist/src/rlc-common/metadata/build-api-extractor-config.d.ts +6 -0
- package/dist/src/rlc-common/metadata/build-api-extractor-config.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-api-extractor-config.js +55 -0
- package/dist/src/rlc-common/metadata/build-api-extractor-config.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-changelog-file.d.ts +6 -0
- package/dist/src/rlc-common/metadata/build-changelog-file.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-changelog-file.js +25 -0
- package/dist/src/rlc-common/metadata/build-changelog-file.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-es-lint-config.d.ts +6 -0
- package/dist/src/rlc-common/metadata/build-es-lint-config.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-es-lint-config.js +79 -0
- package/dist/src/rlc-common/metadata/build-es-lint-config.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-license-file.d.ts +5 -0
- package/dist/src/rlc-common/metadata/build-license-file.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-license-file.js +32 -0
- package/dist/src/rlc-common/metadata/build-license-file.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-package-file.d.ts +25 -0
- package/dist/src/rlc-common/metadata/build-package-file.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-package-file.js +197 -0
- package/dist/src/rlc-common/metadata/build-package-file.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-readme-file.d.ts +11 -0
- package/dist/src/rlc-common/metadata/build-readme-file.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-readme-file.js +418 -0
- package/dist/src/rlc-common/metadata/build-readme-file.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-rollup-config.d.ts +6 -0
- package/dist/src/rlc-common/metadata/build-rollup-config.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-rollup-config.js +140 -0
- package/dist/src/rlc-common/metadata/build-rollup-config.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-sample-env-file.d.ts +6 -0
- package/dist/src/rlc-common/metadata/build-sample-env-file.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-sample-env-file.js +15 -0
- package/dist/src/rlc-common/metadata/build-sample-env-file.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-test-config.d.ts +16 -0
- package/dist/src/rlc-common/metadata/build-test-config.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-test-config.js +54 -0
- package/dist/src/rlc-common/metadata/build-test-config.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-ts-config.d.ts +61 -0
- package/dist/src/rlc-common/metadata/build-ts-config.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-ts-config.js +170 -0
- package/dist/src/rlc-common/metadata/build-ts-config.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-vitest-config.d.ts +6 -0
- package/dist/src/rlc-common/metadata/build-vitest-config.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-vitest-config.js +26 -0
- package/dist/src/rlc-common/metadata/build-vitest-config.js.map +1 -0
- package/dist/src/rlc-common/metadata/build-warp-config.d.ts +20 -0
- package/dist/src/rlc-common/metadata/build-warp-config.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/build-warp-config.js +76 -0
- package/dist/src/rlc-common/metadata/build-warp-config.js.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/azure-package-common.d.ts +51 -0
- package/dist/src/rlc-common/metadata/package-json/azure-package-common.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/azure-package-common.js +121 -0
- package/dist/src/rlc-common/metadata/package-json/azure-package-common.js.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-monorepo-package.d.ts +242 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-monorepo-package.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-monorepo-package.js +171 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-monorepo-package.js.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-standalone-package.d.ts +8 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-standalone-package.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-standalone-package.js +101 -0
- package/dist/src/rlc-common/metadata/package-json/build-azure-standalone-package.js.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/build-flavorless-package.d.ts +57 -0
- package/dist/src/rlc-common/metadata/package-json/build-flavorless-package.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/build-flavorless-package.js +53 -0
- package/dist/src/rlc-common/metadata/package-json/build-flavorless-package.js.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/package-common.d.ts +64 -0
- package/dist/src/rlc-common/metadata/package-json/package-common.d.ts.map +1 -0
- package/dist/src/rlc-common/metadata/package-json/package-common.js +180 -0
- package/dist/src/rlc-common/metadata/package-json/package-common.js.map +1 -0
- package/dist/src/rlc-common/metadata/utils.js +1 -2
- package/dist/src/rlc-common/metadata/utils.js.map +1 -1
- package/dist/src/rlc-common/static/paginate-content.d.ts +2 -0
- package/dist/src/rlc-common/static/paginate-content.d.ts.map +1 -0
- package/dist/src/rlc-common/static/paginate-content.js +345 -0
- package/dist/src/rlc-common/static/paginate-content.js.map +1 -0
- package/dist/src/rlc-common/static/polling-content.d.ts +2 -0
- package/dist/src/rlc-common/static/polling-content.d.ts.map +1 -0
- package/dist/src/rlc-common/static/polling-content.js +225 -0
- package/dist/src/rlc-common/static/polling-content.js.map +1 -0
- package/dist/src/rlc-common/static/sample-template.d.ts +2 -0
- package/dist/src/rlc-common/static/sample-template.d.ts.map +1 -0
- package/dist/src/rlc-common/static/sample-template.js +56 -0
- package/dist/src/rlc-common/static/sample-template.js.map +1 -0
- package/dist/src/rlc-common/static/serialize-helper.d.ts +6 -0
- package/dist/src/rlc-common/static/serialize-helper.d.ts.map +1 -0
- package/dist/src/rlc-common/static/serialize-helper.js +31 -0
- package/dist/src/rlc-common/static/serialize-helper.js.map +1 -0
- package/dist/src/rlc-common/test/build-karma-config.d.ts +6 -0
- package/dist/src/rlc-common/test/build-karma-config.d.ts.map +1 -0
- package/dist/src/rlc-common/test/build-karma-config.js +11 -0
- package/dist/src/rlc-common/test/build-karma-config.js.map +1 -0
- package/dist/src/rlc-common/test/build-recorded-client.d.ts +6 -0
- package/dist/src/rlc-common/test/build-recorded-client.d.ts.map +1 -0
- package/dist/src/rlc-common/test/build-recorded-client.js +17 -0
- package/dist/src/rlc-common/test/build-recorded-client.js.map +1 -0
- package/dist/src/rlc-common/test/build-sample-test.d.ts +6 -0
- package/dist/src/rlc-common/test/build-sample-test.d.ts.map +1 -0
- package/dist/src/rlc-common/test/build-sample-test.js +14 -0
- package/dist/src/rlc-common/test/build-sample-test.js.map +1 -0
- package/dist/src/rlc-common/test/build-snippets.d.ts +6 -0
- package/dist/src/rlc-common/test/build-snippets.d.ts.map +1 -0
- package/dist/src/rlc-common/test/build-snippets.js +26 -0
- package/dist/src/rlc-common/test/build-snippets.js.map +1 -0
- package/dist/src/rlc-common/transform-sample-groups.d.ts +9 -0
- package/dist/src/rlc-common/transform-sample-groups.d.ts.map +1 -0
- package/dist/src/rlc-common/transform-sample-groups.js +313 -0
- package/dist/src/rlc-common/transform-sample-groups.js.map +1 -0
- package/dist/src/testing/index.d.ts.map +1 -1
- package/dist/src/testing/index.js +1 -1
- package/dist/src/testing/index.js.map +1 -1
- package/dist/src/transform/transform-api-version-info.d.ts +6 -0
- package/dist/src/transform/transform-api-version-info.d.ts.map +1 -0
- package/dist/src/transform/transform-api-version-info.js +78 -0
- package/dist/src/transform/transform-api-version-info.js.map +1 -0
- package/dist/src/transform/transform-helper-function-details.d.ts +5 -0
- package/dist/src/transform/transform-helper-function-details.d.ts.map +1 -0
- package/dist/src/transform/transform-helper-function-details.js +74 -0
- package/dist/src/transform/transform-helper-function-details.js.map +1 -0
- package/dist/src/transform/transform-parameters.d.ts +14 -0
- package/dist/src/transform/transform-parameters.d.ts.map +1 -0
- package/dist/src/transform/transform-parameters.js +201 -0
- package/dist/src/transform/transform-parameters.js.map +1 -0
- package/dist/src/transform/transform-paths.d.ts +5 -0
- package/dist/src/transform/transform-paths.d.ts.map +1 -0
- package/dist/src/transform/transform-paths.js +102 -0
- package/dist/src/transform/transform-paths.js.map +1 -0
- package/dist/src/transform/transform-responses.d.ts +5 -0
- package/dist/src/transform/transform-responses.d.ts.map +1 -0
- package/dist/src/transform/transform-responses.js +171 -0
- package/dist/src/transform/transform-responses.js.map +1 -0
- package/dist/src/transform/transform-schemas.d.ts +4 -0
- package/dist/src/transform/transform-schemas.d.ts.map +1 -0
- package/dist/src/transform/transform-schemas.js +191 -0
- package/dist/src/transform/transform-schemas.js.map +1 -0
- package/dist/src/transform/transform-telemetry-info.d.ts +4 -0
- package/dist/src/transform/transform-telemetry-info.d.ts.map +1 -0
- package/dist/src/transform/transform-telemetry-info.js +22 -0
- package/dist/src/transform/transform-telemetry-info.js.map +1 -0
- package/dist/src/transform/transform.d.ts +1 -1
- package/dist/src/transform/transform.d.ts.map +1 -1
- package/dist/src/transform/transform.js +37 -36
- package/dist/src/transform/transform.js.map +1 -1
- package/dist/src/transform/transfrom-rlc-options.d.ts +14 -0
- package/dist/src/transform/transfrom-rlc-options.d.ts.map +1 -0
- package/dist/src/transform/transfrom-rlc-options.js +369 -0
- package/dist/src/transform/transfrom-rlc-options.js.map +1 -0
- package/dist/src/utils/client-utils.d.ts +10 -0
- package/dist/src/utils/client-utils.d.ts.map +1 -0
- package/dist/src/utils/client-utils.js +124 -0
- package/dist/src/utils/client-utils.js.map +1 -0
- package/dist/src/utils/credential-utils.d.ts +15 -0
- package/dist/src/utils/credential-utils.d.ts.map +1 -0
- package/dist/src/utils/credential-utils.js +68 -0
- package/dist/src/utils/credential-utils.js.map +1 -0
- package/dist/src/utils/cross-language-def.d.ts +6 -0
- package/dist/src/utils/cross-language-def.d.ts.map +1 -0
- package/dist/src/utils/cross-language-def.js +59 -0
- package/dist/src/utils/cross-language-def.js.map +1 -0
- package/dist/src/utils/emit-util.d.ts +5 -0
- package/dist/src/utils/emit-util.d.ts.map +1 -0
- package/dist/src/utils/emit-util.js +71 -0
- package/dist/src/utils/emit-util.js.map +1 -0
- package/dist/src/utils/file-system-utils.d.ts +5 -0
- package/dist/src/utils/file-system-utils.d.ts.map +1 -0
- package/dist/src/utils/file-system-utils.js +59 -0
- package/dist/src/utils/file-system-utils.js.map +1 -0
- package/dist/src/utils/import-helper.d.ts +10 -0
- package/dist/src/utils/import-helper.d.ts.map +1 -0
- package/dist/src/utils/import-helper.js +51 -0
- package/dist/src/utils/import-helper.js.map +1 -0
- package/dist/src/utils/interfaces.d.ts +2 -2
- package/dist/src/utils/interfaces.d.ts.map +1 -1
- package/dist/src/utils/media-types.d.ts +28 -0
- package/dist/src/utils/media-types.d.ts.map +1 -0
- package/dist/src/utils/media-types.js +124 -0
- package/dist/src/utils/media-types.js.map +1 -0
- package/dist/src/utils/model-utils.d.ts +60 -0
- package/dist/src/utils/model-utils.d.ts.map +1 -0
- package/dist/src/utils/model-utils.js +1480 -0
- package/dist/src/utils/model-utils.js.map +1 -0
- package/dist/src/utils/namespace-utils.d.ts +6 -0
- package/dist/src/utils/namespace-utils.d.ts.map +1 -0
- package/dist/src/utils/namespace-utils.js +69 -0
- package/dist/src/utils/namespace-utils.js.map +1 -0
- package/dist/src/utils/operation-util.d.ts +97 -0
- package/dist/src/utils/operation-util.d.ts.map +1 -0
- package/dist/src/utils/operation-util.js +547 -0
- package/dist/src/utils/operation-util.js.map +1 -0
- package/dist/src/utils/parameter-utils.d.ts +9 -0
- package/dist/src/utils/parameter-utils.d.ts.map +1 -0
- package/dist/src/utils/parameter-utils.js +147 -0
- package/dist/src/utils/parameter-utils.js.map +1 -0
- package/dist/src/utils/resolve-project-root.js +2 -2
- package/dist/src/utils/resolve-project-root.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +44 -55
- package/src/context-manager.ts +101 -0
- package/src/framework/declaration.ts +18 -28
- package/src/framework/dependency.ts +1 -2
- package/src/framework/hooks/binder.ts +48 -121
- package/src/framework/hooks/sdk-types.ts +219 -0
- package/src/framework/hooks/use-dependencies.ts +16 -0
- package/src/framework/load-static-helpers.ts +28 -51
- package/src/framework/reference.ts +2 -5
- package/src/framework/sample.ts +9 -9
- package/src/index.ts +149 -189
- package/src/lib.ts +143 -158
- package/src/meta-tree.ts +8 -0
- package/src/modular/build-classical-client.ts +434 -0
- package/src/modular/build-classical-operation-groups.ts +69 -0
- package/src/modular/build-client-context.ts +325 -0
- package/src/modular/build-modular-options.ts +22 -0
- package/src/modular/build-operations.ts +248 -0
- package/src/modular/build-project-files.ts +111 -0
- package/src/modular/build-restore-poller.ts +242 -0
- package/src/modular/build-root-index.ts +407 -0
- package/src/modular/build-subpath-index.ts +152 -0
- package/src/modular/emit-logger-file.ts +23 -0
- package/src/modular/emit-models-options.ts +56 -0
- package/src/modular/emit-models.ts +1096 -0
- package/src/modular/emit-samples.ts +675 -0
- package/src/modular/emit-tests.ts +194 -0
- package/src/modular/external-dependencies.ts +54 -54
- package/src/modular/helpers/classical-operation-helpers.ts +375 -0
- package/src/modular/helpers/client-helpers.ts +362 -0
- package/src/modular/helpers/client-option-helpers.ts +122 -0
- package/src/modular/helpers/example-value-helpers.ts +851 -0
- package/src/modular/helpers/naming-helpers.ts +84 -0
- package/src/modular/helpers/operation-helpers.ts +3035 -0
- package/src/modular/helpers/type-helpers.ts +134 -0
- package/src/modular/serialization/build-deserializer-function.ts +564 -0
- package/src/modular/serialization/build-serializer-function.ts +614 -0
- package/src/modular/serialization/build-xml-serializer-function.ts +951 -0
- package/src/modular/serialization/serialize-utils.ts +217 -0
- package/src/modular/static/rollup.test.config.js +11 -14
- package/src/modular/static/scripts/renameOutput.mjs +2 -2
- package/src/modular/static-helpers-metadata.ts +60 -60
- package/src/modular/type-expressions/get-credential-expression.ts +1 -1
- package/src/modular/type-expressions/get-enum-expression.ts +5 -10
- package/src/modular/type-expressions/get-model-expression.ts +13 -17
- package/src/modular/type-expressions/get-nullable-expression.ts +4 -5
- package/src/modular/type-expressions/get-type-expression.ts +8 -12
- package/src/modular/type-expressions/get-union-expression.ts +4 -4
- package/src/modular/type-expressions/utils.ts +1 -1
- package/src/rlc-common/build-client-definitions.ts +235 -0
- package/src/rlc-common/build-client.ts +490 -0
- package/src/rlc-common/build-index-file.ts +344 -0
- package/src/rlc-common/build-is-unexpected-helper.ts +248 -0
- package/src/rlc-common/build-logger.ts +43 -0
- package/src/rlc-common/build-method-shortcuts.ts +71 -0
- package/src/rlc-common/build-object-types.ts +603 -0
- package/src/rlc-common/build-paginate-helper.ts +31 -0
- package/src/rlc-common/build-parameter-types.ts +554 -0
- package/src/rlc-common/build-polling-helper.ts +83 -0
- package/src/rlc-common/build-response-types.ts +180 -0
- package/src/rlc-common/build-samples.ts +32 -0
- package/src/rlc-common/build-schema-type.ts +89 -0
- package/src/rlc-common/build-serialize-helper.ts +49 -0
- package/src/rlc-common/build-top-level-index-file.ts +58 -0
- package/src/rlc-common/helpers/api-version-util.ts +48 -0
- package/src/rlc-common/helpers/imports-util.ts +184 -0
- package/src/rlc-common/helpers/name-constructors.ts +110 -0
- package/src/rlc-common/helpers/name-utils.ts +296 -0
- package/src/rlc-common/helpers/operation-helpers.ts +138 -0
- package/src/rlc-common/helpers/path-utils.ts +10 -0
- package/src/rlc-common/helpers/schema-helpers.ts +50 -0
- package/src/rlc-common/helpers/shortcut-methods.ts +58 -0
- package/src/rlc-common/helpers/type-util.ts +166 -0
- package/src/rlc-common/helpers/value-generation-util.ts +234 -0
- package/src/rlc-common/index.ts +39 -39
- package/src/rlc-common/interfaces.ts +3 -11
- package/src/rlc-common/metadata/build-api-extractor-config.ts +64 -0
- package/src/rlc-common/metadata/build-changelog-file.ts +29 -0
- package/src/rlc-common/metadata/build-es-lint-config.ts +84 -0
- package/src/rlc-common/metadata/build-license-file.ts +33 -0
- package/src/rlc-common/metadata/build-package-file.ts +242 -0
- package/src/rlc-common/metadata/build-readme-file.ts +515 -0
- package/src/rlc-common/metadata/build-rollup-config.ts +147 -0
- package/src/rlc-common/metadata/build-sample-env-file.ts +21 -0
- package/src/rlc-common/metadata/build-test-config.ts +72 -0
- package/src/rlc-common/metadata/build-ts-config.ts +219 -0
- package/src/rlc-common/metadata/build-vitest-config.ts +30 -0
- package/src/rlc-common/metadata/build-warp-config.ts +91 -0
- package/src/rlc-common/metadata/package-json/azure-package-common.ts +152 -0
- package/src/rlc-common/metadata/package-json/build-azure-monorepo-package.ts +199 -0
- package/src/rlc-common/metadata/package-json/build-azure-standalone-package.ts +123 -0
- package/src/rlc-common/metadata/package-json/build-flavorless-package.ts +68 -0
- package/src/rlc-common/metadata/package-json/package-common.ts +235 -0
- package/src/rlc-common/test/build-karma-config.ts +12 -0
- package/src/rlc-common/test/build-recorded-client.ts +18 -0
- package/src/rlc-common/test/build-sample-test.ts +15 -0
- package/src/rlc-common/test/build-snippets.ts +29 -0
- package/src/rlc-common/transform-sample-groups.ts +407 -0
- package/src/testing/index.ts +2 -5
- package/src/transform/transform-api-version-info.ts +103 -0
- package/src/transform/transform-helper-function-details.ts +88 -0
- package/src/transform/transform-parameters.ts +321 -0
- package/src/transform/transform-paths.ts +157 -0
- package/src/transform/transform-responses.ts +237 -0
- package/src/transform/transform-schemas.ts +212 -0
- package/src/transform/transform-telemetry-info.ts +33 -0
- package/src/transform/transform.ts +32 -44
- package/src/transform/transfrom-rlc-options.ts +461 -0
- package/src/utils/client-utils.ts +162 -0
- package/src/utils/credential-utils.ts +74 -0
- package/src/utils/cross-language-def.ts +66 -0
- package/src/utils/emit-util.ts +92 -0
- package/src/utils/file-system-utils.ts +69 -0
- package/src/utils/import-helper.ts +59 -0
- package/src/utils/interfaces.ts +2 -2
- package/src/utils/media-types.ts +150 -0
- package/src/utils/model-utils.ts +1727 -0
- package/src/utils/namespace-utils.ts +84 -0
- package/src/utils/operation-util.ts +763 -0
- package/src/utils/parameter-utils.ts +192 -0
- package/src/utils/resolve-project-root.ts +3 -3
- package/static/static-helpers/cloudSettingHelpers.ts +4 -6
- package/static/static-helpers/multipartHelpers.ts +3 -3
- package/static/static-helpers/pagingHelpers.ts +28 -63
- package/static/static-helpers/pollingHelpers.ts +16 -29
- package/static/static-helpers/serialization/build-multi-collection.ts +1 -4
- package/static/static-helpers/serialization/check-prop-undefined.ts +1 -4
- package/static/static-helpers/serialization/get-binary-response-browser.mts +3 -1
- package/static/static-helpers/serialization/get-binary-response.ts +2 -2
- package/static/static-helpers/serialization/get-binary-stream-response-browser.mts +1 -3
- package/static/static-helpers/serialization/get-binary-stream-response.ts +2 -4
- package/static/static-helpers/serialization/serialize-record.ts +1 -1
- package/static/static-helpers/serialization/serializers.ts +5 -7
- package/static/static-helpers/serialization/xml-helpers.ts +42 -90
- package/static/static-helpers/simplePollerHelpers.ts +10 -19
- package/static/static-helpers/storageCompatResponse.ts +10 -27
- package/static/static-helpers/urlTemplate.ts +4 -7
- package/static/test-helpers/recordedClient.ts +5 -10
- package/dist/src/contextManager.d.ts +0 -75
- package/dist/src/contextManager.d.ts.map +0 -1
- package/dist/src/contextManager.js +0 -59
- package/dist/src/contextManager.js.map +0 -1
- package/dist/src/framework/hooks/sdkTypes.d.ts +0 -26
- package/dist/src/framework/hooks/sdkTypes.d.ts.map +0 -1
- package/dist/src/framework/hooks/sdkTypes.js +0 -161
- package/dist/src/framework/hooks/sdkTypes.js.map +0 -1
- package/dist/src/framework/hooks/useDependencies.d.ts +0 -4
- package/dist/src/framework/hooks/useDependencies.d.ts.map +0 -1
- package/dist/src/framework/hooks/useDependencies.js +0 -13
- package/dist/src/framework/hooks/useDependencies.js.map +0 -1
- package/dist/src/metaTree.d.ts +0 -7
- package/dist/src/metaTree.d.ts.map +0 -1
- package/dist/src/metaTree.js +0 -2
- package/dist/src/metaTree.js.map +0 -1
- package/dist/src/modular/buildClassicalClient.d.ts +0 -6
- package/dist/src/modular/buildClassicalClient.d.ts.map +0 -1
- package/dist/src/modular/buildClassicalClient.js +0 -359
- package/dist/src/modular/buildClassicalClient.js.map +0 -1
- package/dist/src/modular/buildClassicalOperationGroups.d.ts +0 -6
- package/dist/src/modular/buildClassicalOperationGroups.d.ts.map +0 -1
- package/dist/src/modular/buildClassicalOperationGroups.js +0 -50
- package/dist/src/modular/buildClassicalOperationGroups.js.map +0 -1
- package/dist/src/modular/buildClientContext.d.ts +0 -13
- package/dist/src/modular/buildClientContext.d.ts.map +0 -1
- package/dist/src/modular/buildClientContext.js +0 -253
- package/dist/src/modular/buildClientContext.js.map +0 -1
- package/dist/src/modular/buildModularOptions.d.ts +0 -6
- package/dist/src/modular/buildModularOptions.d.ts.map +0 -1
- package/dist/src/modular/buildModularOptions.js +0 -15
- package/dist/src/modular/buildModularOptions.js.map +0 -1
- package/dist/src/modular/buildOperations.d.ts +0 -21
- package/dist/src/modular/buildOperations.d.ts.map +0 -1
- package/dist/src/modular/buildOperations.js +0 -174
- package/dist/src/modular/buildOperations.js.map +0 -1
- package/dist/src/modular/buildProjectFiles.d.ts +0 -4
- package/dist/src/modular/buildProjectFiles.d.ts.map +0 -1
- package/dist/src/modular/buildProjectFiles.js +0 -94
- package/dist/src/modular/buildProjectFiles.js.map +0 -1
- package/dist/src/modular/buildRestorePoller.d.ts +0 -5
- package/dist/src/modular/buildRestorePoller.d.ts.map +0 -1
- package/dist/src/modular/buildRestorePoller.js +0 -217
- package/dist/src/modular/buildRestorePoller.js.map +0 -1
- package/dist/src/modular/buildRootIndex.d.ts +0 -13
- package/dist/src/modular/buildRootIndex.d.ts.map +0 -1
- package/dist/src/modular/buildRootIndex.js +0 -293
- package/dist/src/modular/buildRootIndex.js.map +0 -1
- package/dist/src/modular/buildSubpathIndex.d.ts +0 -16
- package/dist/src/modular/buildSubpathIndex.d.ts.map +0 -1
- package/dist/src/modular/buildSubpathIndex.js +0 -128
- package/dist/src/modular/buildSubpathIndex.js.map +0 -1
- package/dist/src/modular/emitLoggerFile.d.ts +0 -3
- package/dist/src/modular/emitLoggerFile.d.ts.map +0 -1
- package/dist/src/modular/emitLoggerFile.js +0 -18
- package/dist/src/modular/emitLoggerFile.js.map +0 -1
- package/dist/src/modular/emitModels.d.ts +0 -23
- package/dist/src/modular/emitModels.d.ts.map +0 -1
- package/dist/src/modular/emitModels.js +0 -882
- package/dist/src/modular/emitModels.js.map +0 -1
- package/dist/src/modular/emitModelsOptions.d.ts +0 -5
- package/dist/src/modular/emitModelsOptions.d.ts.map +0 -1
- package/dist/src/modular/emitModelsOptions.js +0 -36
- package/dist/src/modular/emitModelsOptions.js.map +0 -1
- package/dist/src/modular/emitSamples.d.ts +0 -7
- package/dist/src/modular/emitSamples.d.ts.map +0 -1
- package/dist/src/modular/emitSamples.js +0 -508
- package/dist/src/modular/emitSamples.js.map +0 -1
- package/dist/src/modular/emitTests.d.ts +0 -7
- package/dist/src/modular/emitTests.d.ts.map +0 -1
- package/dist/src/modular/emitTests.js +0 -160
- package/dist/src/modular/emitTests.js.map +0 -1
- package/dist/src/modular/helpers/classicalOperationHelpers.d.ts +0 -7
- package/dist/src/modular/helpers/classicalOperationHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/classicalOperationHelpers.js +0 -267
- package/dist/src/modular/helpers/classicalOperationHelpers.js.map +0 -1
- package/dist/src/modular/helpers/clientHelpers.d.ts +0 -34
- package/dist/src/modular/helpers/clientHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/clientHelpers.js +0 -282
- package/dist/src/modular/helpers/clientHelpers.js.map +0 -1
- package/dist/src/modular/helpers/clientOptionHelpers.d.ts +0 -43
- package/dist/src/modular/helpers/clientOptionHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/clientOptionHelpers.js +0 -103
- package/dist/src/modular/helpers/clientOptionHelpers.js.map +0 -1
- package/dist/src/modular/helpers/docsHelpers.d.ts +0 -3
- package/dist/src/modular/helpers/docsHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/docsHelpers.js +0 -10
- package/dist/src/modular/helpers/docsHelpers.js.map +0 -1
- package/dist/src/modular/helpers/exampleValueHelpers.d.ts +0 -83
- package/dist/src/modular/helpers/exampleValueHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/exampleValueHelpers.js +0 -651
- package/dist/src/modular/helpers/exampleValueHelpers.js.map +0 -1
- package/dist/src/modular/helpers/namingHelpers.d.ts +0 -22
- package/dist/src/modular/helpers/namingHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/namingHelpers.js +0 -62
- package/dist/src/modular/helpers/namingHelpers.js.map +0 -1
- package/dist/src/modular/helpers/operationHelpers.d.ts +0 -105
- package/dist/src/modular/helpers/operationHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/operationHelpers.js +0 -2412
- package/dist/src/modular/helpers/operationHelpers.js.map +0 -1
- package/dist/src/modular/helpers/typeHelpers.d.ts +0 -22
- package/dist/src/modular/helpers/typeHelpers.d.ts.map +0 -1
- package/dist/src/modular/helpers/typeHelpers.js +0 -96
- package/dist/src/modular/helpers/typeHelpers.js.map +0 -1
- package/dist/src/modular/serialization/buildDeserializerFunction.d.ts +0 -7
- package/dist/src/modular/serialization/buildDeserializerFunction.d.ts.map +0 -1
- package/dist/src/modular/serialization/buildDeserializerFunction.js +0 -410
- package/dist/src/modular/serialization/buildDeserializerFunction.js.map +0 -1
- package/dist/src/modular/serialization/buildSerializerFunction.d.ts +0 -7
- package/dist/src/modular/serialization/buildSerializerFunction.d.ts.map +0 -1
- package/dist/src/modular/serialization/buildSerializerFunction.js +0 -454
- package/dist/src/modular/serialization/buildSerializerFunction.js.map +0 -1
- package/dist/src/modular/serialization/buildXmlSerializerFunction.d.ts +0 -44
- package/dist/src/modular/serialization/buildXmlSerializerFunction.d.ts.map +0 -1
- package/dist/src/modular/serialization/buildXmlSerializerFunction.js +0 -746
- package/dist/src/modular/serialization/buildXmlSerializerFunction.js.map +0 -1
- package/dist/src/modular/serialization/serializeUtils.d.ts +0 -37
- package/dist/src/modular/serialization/serializeUtils.d.ts.map +0 -1
- package/dist/src/modular/serialization/serializeUtils.js +0 -153
- package/dist/src/modular/serialization/serializeUtils.js.map +0 -1
- package/dist/src/rlc-common/buildClient.d.ts +0 -9
- package/dist/src/rlc-common/buildClient.d.ts.map +0 -1
- package/dist/src/rlc-common/buildClient.js +0 -413
- package/dist/src/rlc-common/buildClient.js.map +0 -1
- package/dist/src/rlc-common/buildClientDefinitions.d.ts +0 -6
- package/dist/src/rlc-common/buildClientDefinitions.d.ts.map +0 -1
- package/dist/src/rlc-common/buildClientDefinitions.js +0 -174
- package/dist/src/rlc-common/buildClientDefinitions.js.map +0 -1
- package/dist/src/rlc-common/buildIndexFile.d.ts +0 -6
- package/dist/src/rlc-common/buildIndexFile.d.ts.map +0 -1
- package/dist/src/rlc-common/buildIndexFile.js +0 -242
- package/dist/src/rlc-common/buildIndexFile.js.map +0 -1
- package/dist/src/rlc-common/buildIsUnexpectedHelper.d.ts +0 -6
- package/dist/src/rlc-common/buildIsUnexpectedHelper.d.ts.map +0 -1
- package/dist/src/rlc-common/buildIsUnexpectedHelper.js +0 -224
- package/dist/src/rlc-common/buildIsUnexpectedHelper.js.map +0 -1
- package/dist/src/rlc-common/buildLogger.d.ts +0 -6
- package/dist/src/rlc-common/buildLogger.d.ts.map +0 -1
- package/dist/src/rlc-common/buildLogger.js +0 -32
- package/dist/src/rlc-common/buildLogger.js.map +0 -1
- package/dist/src/rlc-common/buildMethodShortcuts.d.ts +0 -5
- package/dist/src/rlc-common/buildMethodShortcuts.d.ts.map +0 -1
- package/dist/src/rlc-common/buildMethodShortcuts.js +0 -54
- package/dist/src/rlc-common/buildMethodShortcuts.js.map +0 -1
- package/dist/src/rlc-common/buildObjectTypes.d.ts +0 -29
- package/dist/src/rlc-common/buildObjectTypes.d.ts.map +0 -1
- package/dist/src/rlc-common/buildObjectTypes.js +0 -451
- package/dist/src/rlc-common/buildObjectTypes.js.map +0 -1
- package/dist/src/rlc-common/buildPaginateHelper.d.ts +0 -6
- package/dist/src/rlc-common/buildPaginateHelper.d.ts.map +0 -1
- package/dist/src/rlc-common/buildPaginateHelper.js +0 -27
- package/dist/src/rlc-common/buildPaginateHelper.js.map +0 -1
- package/dist/src/rlc-common/buildParameterTypes.d.ts +0 -14
- package/dist/src/rlc-common/buildParameterTypes.d.ts.map +0 -1
- package/dist/src/rlc-common/buildParameterTypes.js +0 -381
- package/dist/src/rlc-common/buildParameterTypes.js.map +0 -1
- package/dist/src/rlc-common/buildPollingHelper.d.ts +0 -6
- package/dist/src/rlc-common/buildPollingHelper.d.ts.map +0 -1
- package/dist/src/rlc-common/buildPollingHelper.js +0 -62
- package/dist/src/rlc-common/buildPollingHelper.js.map +0 -1
- package/dist/src/rlc-common/buildResponseTypes.d.ts +0 -6
- package/dist/src/rlc-common/buildResponseTypes.d.ts.map +0 -1
- package/dist/src/rlc-common/buildResponseTypes.js +0 -147
- package/dist/src/rlc-common/buildResponseTypes.js.map +0 -1
- package/dist/src/rlc-common/buildSamples.d.ts +0 -3
- package/dist/src/rlc-common/buildSamples.d.ts.map +0 -1
- package/dist/src/rlc-common/buildSamples.js +0 -30
- package/dist/src/rlc-common/buildSamples.js.map +0 -1
- package/dist/src/rlc-common/buildSchemaType.d.ts +0 -20
- package/dist/src/rlc-common/buildSchemaType.d.ts.map +0 -1
- package/dist/src/rlc-common/buildSchemaType.js +0 -53
- package/dist/src/rlc-common/buildSchemaType.js.map +0 -1
- package/dist/src/rlc-common/buildSerializeHelper.d.ts +0 -6
- package/dist/src/rlc-common/buildSerializeHelper.d.ts.map +0 -1
- package/dist/src/rlc-common/buildSerializeHelper.js +0 -36
- package/dist/src/rlc-common/buildSerializeHelper.js.map +0 -1
- package/dist/src/rlc-common/buildTopLevelIndexFile.d.ts +0 -6
- package/dist/src/rlc-common/buildTopLevelIndexFile.d.ts.map +0 -1
- package/dist/src/rlc-common/buildTopLevelIndexFile.js +0 -52
- package/dist/src/rlc-common/buildTopLevelIndexFile.js.map +0 -1
- package/dist/src/rlc-common/helpers/apiVersionUtil.d.ts +0 -17
- package/dist/src/rlc-common/helpers/apiVersionUtil.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/apiVersionUtil.js +0 -45
- package/dist/src/rlc-common/helpers/apiVersionUtil.js.map +0 -1
- package/dist/src/rlc-common/helpers/importsUtil.d.ts +0 -18
- package/dist/src/rlc-common/helpers/importsUtil.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/importsUtil.js +0 -169
- package/dist/src/rlc-common/helpers/importsUtil.js.map +0 -1
- package/dist/src/rlc-common/helpers/nameConstructors.d.ts +0 -42
- package/dist/src/rlc-common/helpers/nameConstructors.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/nameConstructors.js +0 -63
- package/dist/src/rlc-common/helpers/nameConstructors.js.map +0 -1
- package/dist/src/rlc-common/helpers/nameUtils.d.ts +0 -37
- package/dist/src/rlc-common/helpers/nameUtils.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/nameUtils.js +0 -246
- package/dist/src/rlc-common/helpers/nameUtils.js.map +0 -1
- package/dist/src/rlc-common/helpers/operationHelpers.d.ts +0 -16
- package/dist/src/rlc-common/helpers/operationHelpers.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/operationHelpers.js +0 -119
- package/dist/src/rlc-common/helpers/operationHelpers.js.map +0 -1
- package/dist/src/rlc-common/helpers/packageUtil.d.ts +0 -7
- package/dist/src/rlc-common/helpers/packageUtil.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/packageUtil.js +0 -13
- package/dist/src/rlc-common/helpers/packageUtil.js.map +0 -1
- package/dist/src/rlc-common/helpers/pathUtils.d.ts +0 -2
- package/dist/src/rlc-common/helpers/pathUtils.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/pathUtils.js +0 -12
- package/dist/src/rlc-common/helpers/pathUtils.js.map +0 -1
- package/dist/src/rlc-common/helpers/schemaHelpers.d.ts +0 -10
- package/dist/src/rlc-common/helpers/schemaHelpers.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/schemaHelpers.js +0 -41
- package/dist/src/rlc-common/helpers/schemaHelpers.js.map +0 -1
- package/dist/src/rlc-common/helpers/shortcutMethods.d.ts +0 -4
- package/dist/src/rlc-common/helpers/shortcutMethods.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/shortcutMethods.js +0 -49
- package/dist/src/rlc-common/helpers/shortcutMethods.js.map +0 -1
- package/dist/src/rlc-common/helpers/typeUtil.d.ts +0 -32
- package/dist/src/rlc-common/helpers/typeUtil.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/typeUtil.js +0 -167
- package/dist/src/rlc-common/helpers/typeUtil.js.map +0 -1
- package/dist/src/rlc-common/helpers/valueGenerationUtil.d.ts +0 -12
- package/dist/src/rlc-common/helpers/valueGenerationUtil.d.ts.map +0 -1
- package/dist/src/rlc-common/helpers/valueGenerationUtil.js +0 -165
- package/dist/src/rlc-common/helpers/valueGenerationUtil.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildApiExtractorConfig.d.ts +0 -6
- package/dist/src/rlc-common/metadata/buildApiExtractorConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildApiExtractorConfig.js +0 -56
- package/dist/src/rlc-common/metadata/buildApiExtractorConfig.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildChangelogFile.d.ts +0 -6
- package/dist/src/rlc-common/metadata/buildChangelogFile.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildChangelogFile.js +0 -26
- package/dist/src/rlc-common/metadata/buildChangelogFile.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildESLintConfig.d.ts +0 -6
- package/dist/src/rlc-common/metadata/buildESLintConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildESLintConfig.js +0 -82
- package/dist/src/rlc-common/metadata/buildESLintConfig.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildLicenseFile.d.ts +0 -5
- package/dist/src/rlc-common/metadata/buildLicenseFile.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildLicenseFile.js +0 -32
- package/dist/src/rlc-common/metadata/buildLicenseFile.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildPackageFile.d.ts +0 -25
- package/dist/src/rlc-common/metadata/buildPackageFile.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildPackageFile.js +0 -201
- package/dist/src/rlc-common/metadata/buildPackageFile.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildReadmeFile.d.ts +0 -11
- package/dist/src/rlc-common/metadata/buildReadmeFile.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildReadmeFile.js +0 -426
- package/dist/src/rlc-common/metadata/buildReadmeFile.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildRollupConfig.d.ts +0 -6
- package/dist/src/rlc-common/metadata/buildRollupConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildRollupConfig.js +0 -142
- package/dist/src/rlc-common/metadata/buildRollupConfig.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildSampleEnvFile.d.ts +0 -6
- package/dist/src/rlc-common/metadata/buildSampleEnvFile.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildSampleEnvFile.js +0 -17
- package/dist/src/rlc-common/metadata/buildSampleEnvFile.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildTestConfig.d.ts +0 -16
- package/dist/src/rlc-common/metadata/buildTestConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildTestConfig.js +0 -55
- package/dist/src/rlc-common/metadata/buildTestConfig.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildTsConfig.d.ts +0 -61
- package/dist/src/rlc-common/metadata/buildTsConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildTsConfig.js +0 -170
- package/dist/src/rlc-common/metadata/buildTsConfig.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildVitestConfig.d.ts +0 -6
- package/dist/src/rlc-common/metadata/buildVitestConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildVitestConfig.js +0 -28
- package/dist/src/rlc-common/metadata/buildVitestConfig.js.map +0 -1
- package/dist/src/rlc-common/metadata/buildWarpConfig.d.ts +0 -20
- package/dist/src/rlc-common/metadata/buildWarpConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/buildWarpConfig.js +0 -77
- package/dist/src/rlc-common/metadata/buildWarpConfig.js.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/azurePackageCommon.d.ts +0 -51
- package/dist/src/rlc-common/metadata/packageJson/azurePackageCommon.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/azurePackageCommon.js +0 -121
- package/dist/src/rlc-common/metadata/packageJson/azurePackageCommon.js.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/buildAzureMonorepoPackage.d.ts +0 -242
- package/dist/src/rlc-common/metadata/packageJson/buildAzureMonorepoPackage.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/buildAzureMonorepoPackage.js +0 -176
- package/dist/src/rlc-common/metadata/packageJson/buildAzureMonorepoPackage.js.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/buildAzureStandalonePackage.d.ts +0 -8
- package/dist/src/rlc-common/metadata/packageJson/buildAzureStandalonePackage.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/buildAzureStandalonePackage.js +0 -102
- package/dist/src/rlc-common/metadata/packageJson/buildAzureStandalonePackage.js.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/buildFlavorlessPackage.d.ts +0 -57
- package/dist/src/rlc-common/metadata/packageJson/buildFlavorlessPackage.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/buildFlavorlessPackage.js +0 -53
- package/dist/src/rlc-common/metadata/packageJson/buildFlavorlessPackage.js.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/packageCommon.d.ts +0 -64
- package/dist/src/rlc-common/metadata/packageJson/packageCommon.d.ts.map +0 -1
- package/dist/src/rlc-common/metadata/packageJson/packageCommon.js +0 -183
- package/dist/src/rlc-common/metadata/packageJson/packageCommon.js.map +0 -1
- package/dist/src/rlc-common/static/paginateContent.d.ts +0 -2
- package/dist/src/rlc-common/static/paginateContent.d.ts.map +0 -1
- package/dist/src/rlc-common/static/paginateContent.js +0 -345
- package/dist/src/rlc-common/static/paginateContent.js.map +0 -1
- package/dist/src/rlc-common/static/pollingContent.d.ts +0 -2
- package/dist/src/rlc-common/static/pollingContent.d.ts.map +0 -1
- package/dist/src/rlc-common/static/pollingContent.js +0 -225
- package/dist/src/rlc-common/static/pollingContent.js.map +0 -1
- package/dist/src/rlc-common/static/sampleTemplate.d.ts +0 -2
- package/dist/src/rlc-common/static/sampleTemplate.d.ts.map +0 -1
- package/dist/src/rlc-common/static/sampleTemplate.js +0 -56
- package/dist/src/rlc-common/static/sampleTemplate.js.map +0 -1
- package/dist/src/rlc-common/static/serializeHelper.d.ts +0 -6
- package/dist/src/rlc-common/static/serializeHelper.d.ts.map +0 -1
- package/dist/src/rlc-common/static/serializeHelper.js +0 -31
- package/dist/src/rlc-common/static/serializeHelper.js.map +0 -1
- package/dist/src/rlc-common/test/buildKarmaConfig.d.ts +0 -6
- package/dist/src/rlc-common/test/buildKarmaConfig.d.ts.map +0 -1
- package/dist/src/rlc-common/test/buildKarmaConfig.js +0 -11
- package/dist/src/rlc-common/test/buildKarmaConfig.js.map +0 -1
- package/dist/src/rlc-common/test/buildRecordedClient.d.ts +0 -6
- package/dist/src/rlc-common/test/buildRecordedClient.d.ts.map +0 -1
- package/dist/src/rlc-common/test/buildRecordedClient.js +0 -18
- package/dist/src/rlc-common/test/buildRecordedClient.js.map +0 -1
- package/dist/src/rlc-common/test/buildSampleTest.d.ts +0 -6
- package/dist/src/rlc-common/test/buildSampleTest.d.ts.map +0 -1
- package/dist/src/rlc-common/test/buildSampleTest.js +0 -15
- package/dist/src/rlc-common/test/buildSampleTest.js.map +0 -1
- package/dist/src/rlc-common/test/buildSnippets.d.ts +0 -6
- package/dist/src/rlc-common/test/buildSnippets.d.ts.map +0 -1
- package/dist/src/rlc-common/test/buildSnippets.js +0 -29
- package/dist/src/rlc-common/test/buildSnippets.js.map +0 -1
- package/dist/src/rlc-common/transformSampleGroups.d.ts +0 -9
- package/dist/src/rlc-common/transformSampleGroups.d.ts.map +0 -1
- package/dist/src/rlc-common/transformSampleGroups.js +0 -317
- package/dist/src/rlc-common/transformSampleGroups.js.map +0 -1
- package/dist/src/transform/transformApiVersionInfo.d.ts +0 -6
- package/dist/src/transform/transformApiVersionInfo.d.ts.map +0 -1
- package/dist/src/transform/transformApiVersionInfo.js +0 -80
- package/dist/src/transform/transformApiVersionInfo.js.map +0 -1
- package/dist/src/transform/transformHelperFunctionDetails.d.ts +0 -5
- package/dist/src/transform/transformHelperFunctionDetails.d.ts.map +0 -1
- package/dist/src/transform/transformHelperFunctionDetails.js +0 -77
- package/dist/src/transform/transformHelperFunctionDetails.js.map +0 -1
- package/dist/src/transform/transformParameters.d.ts +0 -14
- package/dist/src/transform/transformParameters.d.ts.map +0 -1
- package/dist/src/transform/transformParameters.js +0 -214
- package/dist/src/transform/transformParameters.js.map +0 -1
- package/dist/src/transform/transformPaths.d.ts +0 -5
- package/dist/src/transform/transformPaths.d.ts.map +0 -1
- package/dist/src/transform/transformPaths.js +0 -106
- package/dist/src/transform/transformPaths.js.map +0 -1
- package/dist/src/transform/transformResponses.d.ts +0 -5
- package/dist/src/transform/transformResponses.d.ts.map +0 -1
- package/dist/src/transform/transformResponses.js +0 -175
- package/dist/src/transform/transformResponses.js.map +0 -1
- package/dist/src/transform/transformSchemas.d.ts +0 -4
- package/dist/src/transform/transformSchemas.d.ts.map +0 -1
- package/dist/src/transform/transformSchemas.js +0 -202
- package/dist/src/transform/transformSchemas.js.map +0 -1
- package/dist/src/transform/transformTelemetryInfo.d.ts +0 -4
- package/dist/src/transform/transformTelemetryInfo.d.ts.map +0 -1
- package/dist/src/transform/transformTelemetryInfo.js +0 -22
- package/dist/src/transform/transformTelemetryInfo.js.map +0 -1
- package/dist/src/transform/transfromRLCOptions.d.ts +0 -14
- package/dist/src/transform/transfromRLCOptions.d.ts.map +0 -1
- package/dist/src/transform/transfromRLCOptions.js +0 -380
- package/dist/src/transform/transfromRLCOptions.js.map +0 -1
- package/dist/src/utils/clientUtils.d.ts +0 -10
- package/dist/src/utils/clientUtils.d.ts.map +0 -1
- package/dist/src/utils/clientUtils.js +0 -132
- package/dist/src/utils/clientUtils.js.map +0 -1
- package/dist/src/utils/credentialUtils.d.ts +0 -15
- package/dist/src/utils/credentialUtils.d.ts.map +0 -1
- package/dist/src/utils/credentialUtils.js +0 -69
- package/dist/src/utils/credentialUtils.js.map +0 -1
- package/dist/src/utils/crossLanguageDef.d.ts +0 -6
- package/dist/src/utils/crossLanguageDef.d.ts.map +0 -1
- package/dist/src/utils/crossLanguageDef.js +0 -63
- package/dist/src/utils/crossLanguageDef.js.map +0 -1
- package/dist/src/utils/emitUtil.d.ts +0 -5
- package/dist/src/utils/emitUtil.d.ts.map +0 -1
- package/dist/src/utils/emitUtil.js +0 -73
- package/dist/src/utils/emitUtil.js.map +0 -1
- package/dist/src/utils/fileSystemUtils.d.ts +0 -3
- package/dist/src/utils/fileSystemUtils.d.ts.map +0 -1
- package/dist/src/utils/fileSystemUtils.js +0 -40
- package/dist/src/utils/fileSystemUtils.js.map +0 -1
- package/dist/src/utils/importHelper.d.ts +0 -10
- package/dist/src/utils/importHelper.d.ts.map +0 -1
- package/dist/src/utils/importHelper.js +0 -54
- package/dist/src/utils/importHelper.js.map +0 -1
- package/dist/src/utils/mediaTypes.d.ts +0 -28
- package/dist/src/utils/mediaTypes.d.ts.map +0 -1
- package/dist/src/utils/mediaTypes.js +0 -136
- package/dist/src/utils/mediaTypes.js.map +0 -1
- package/dist/src/utils/modelUtils.d.ts +0 -60
- package/dist/src/utils/modelUtils.d.ts.map +0 -1
- package/dist/src/utils/modelUtils.js +0 -1577
- package/dist/src/utils/modelUtils.js.map +0 -1
- package/dist/src/utils/namespaceUtils.d.ts +0 -6
- package/dist/src/utils/namespaceUtils.d.ts.map +0 -1
- package/dist/src/utils/namespaceUtils.js +0 -70
- package/dist/src/utils/namespaceUtils.js.map +0 -1
- package/dist/src/utils/operationUtil.d.ts +0 -97
- package/dist/src/utils/operationUtil.d.ts.map +0 -1
- package/dist/src/utils/operationUtil.js +0 -568
- package/dist/src/utils/operationUtil.js.map +0 -1
- package/dist/src/utils/parameterUtils.d.ts +0 -9
- package/dist/src/utils/parameterUtils.d.ts.map +0 -1
- package/dist/src/utils/parameterUtils.js +0 -154
- package/dist/src/utils/parameterUtils.js.map +0 -1
- package/src/contextManager.ts +0 -104
- package/src/framework/hooks/sdkTypes.ts +0 -245
- package/src/framework/hooks/useDependencies.ts +0 -18
- package/src/metaTree.ts +0 -8
- package/src/modular/buildClassicalClient.ts +0 -511
- package/src/modular/buildClassicalOperationGroups.ts +0 -94
- package/src/modular/buildClientContext.ts +0 -354
- package/src/modular/buildModularOptions.ts +0 -23
- package/src/modular/buildOperations.ts +0 -275
- package/src/modular/buildProjectFiles.ts +0 -140
- package/src/modular/buildRestorePoller.ts +0 -261
- package/src/modular/buildRootIndex.ts +0 -481
- package/src/modular/buildSubpathIndex.ts +0 -175
- package/src/modular/emitLoggerFile.ts +0 -28
- package/src/modular/emitModels.ts +0 -1211
- package/src/modular/emitModelsOptions.ts +0 -62
- package/src/modular/emitSamples.ts +0 -763
- package/src/modular/emitTests.ts +0 -227
- package/src/modular/helpers/classicalOperationHelpers.ts +0 -428
- package/src/modular/helpers/clientHelpers.ts +0 -409
- package/src/modular/helpers/clientOptionHelpers.ts +0 -129
- package/src/modular/helpers/exampleValueHelpers.ts +0 -967
- package/src/modular/helpers/namingHelpers.ts +0 -100
- package/src/modular/helpers/operationHelpers.ts +0 -3362
- package/src/modular/helpers/typeHelpers.ts +0 -142
- package/src/modular/serialization/buildDeserializerFunction.ts +0 -598
- package/src/modular/serialization/buildSerializerFunction.ts +0 -654
- package/src/modular/serialization/buildXmlSerializerFunction.ts +0 -1030
- package/src/modular/serialization/serializeUtils.ts +0 -227
- package/src/rlc-common/buildClient.ts +0 -561
- package/src/rlc-common/buildClientDefinitions.ts +0 -278
- package/src/rlc-common/buildIndexFile.ts +0 -344
- package/src/rlc-common/buildIsUnexpectedHelper.ts +0 -255
- package/src/rlc-common/buildLogger.ts +0 -43
- package/src/rlc-common/buildMethodShortcuts.ts +0 -83
- package/src/rlc-common/buildObjectTypes.ts +0 -680
- package/src/rlc-common/buildPaginateHelper.ts +0 -34
- package/src/rlc-common/buildParameterTypes.ts +0 -575
- package/src/rlc-common/buildPollingHelper.ts +0 -83
- package/src/rlc-common/buildResponseTypes.ts +0 -203
- package/src/rlc-common/buildSamples.ts +0 -32
- package/src/rlc-common/buildSchemaType.ts +0 -81
- package/src/rlc-common/buildSerializeHelper.ts +0 -49
- package/src/rlc-common/buildTopLevelIndexFile.ts +0 -65
- package/src/rlc-common/helpers/apiVersionUtil.ts +0 -53
- package/src/rlc-common/helpers/importsUtil.ts +0 -187
- package/src/rlc-common/helpers/nameConstructors.ts +0 -144
- package/src/rlc-common/helpers/nameUtils.ts +0 -319
- package/src/rlc-common/helpers/operationHelpers.ts +0 -155
- package/src/rlc-common/helpers/pathUtils.ts +0 -15
- package/src/rlc-common/helpers/schemaHelpers.ts +0 -61
- package/src/rlc-common/helpers/shortcutMethods.ts +0 -67
- package/src/rlc-common/helpers/typeUtil.ts +0 -173
- package/src/rlc-common/helpers/valueGenerationUtil.ts +0 -257
- package/src/rlc-common/metadata/buildApiExtractorConfig.ts +0 -71
- package/src/rlc-common/metadata/buildChangelogFile.ts +0 -29
- package/src/rlc-common/metadata/buildESLintConfig.ts +0 -86
- package/src/rlc-common/metadata/buildLicenseFile.ts +0 -33
- package/src/rlc-common/metadata/buildPackageFile.ts +0 -250
- package/src/rlc-common/metadata/buildReadmeFile.ts +0 -528
- package/src/rlc-common/metadata/buildRollupConfig.ts +0 -150
- package/src/rlc-common/metadata/buildSampleEnvFile.ts +0 -22
- package/src/rlc-common/metadata/buildTestConfig.ts +0 -72
- package/src/rlc-common/metadata/buildTsConfig.ts +0 -222
- package/src/rlc-common/metadata/buildVitestConfig.ts +0 -36
- package/src/rlc-common/metadata/buildWarpConfig.ts +0 -94
- package/src/rlc-common/metadata/packageJson/azurePackageCommon.ts +0 -161
- package/src/rlc-common/metadata/packageJson/buildAzureMonorepoPackage.ts +0 -220
- package/src/rlc-common/metadata/packageJson/buildAzureStandalonePackage.ts +0 -134
- package/src/rlc-common/metadata/packageJson/buildFlavorlessPackage.ts +0 -70
- package/src/rlc-common/metadata/packageJson/packageCommon.ts +0 -255
- package/src/rlc-common/test/buildKarmaConfig.ts +0 -12
- package/src/rlc-common/test/buildRecordedClient.ts +0 -18
- package/src/rlc-common/test/buildSampleTest.ts +0 -15
- package/src/rlc-common/test/buildSnippets.ts +0 -35
- package/src/rlc-common/transformSampleGroups.ts +0 -458
- package/src/transform/transformApiVersionInfo.ts +0 -116
- package/src/transform/transformHelperFunctionDetails.ts +0 -100
- package/src/transform/transformParameters.ts +0 -371
- package/src/transform/transformPaths.ts +0 -174
- package/src/transform/transformResponses.ts +0 -244
- package/src/transform/transformSchemas.ts +0 -230
- package/src/transform/transformTelemetryInfo.ts +0 -39
- package/src/transform/transfromRLCOptions.ts +0 -524
- package/src/utils/clientUtils.ts +0 -181
- package/src/utils/credentialUtils.ts +0 -85
- package/src/utils/crossLanguageDef.ts +0 -85
- package/src/utils/emitUtil.ts +0 -98
- package/src/utils/fileSystemUtils.ts +0 -47
- package/src/utils/importHelper.ts +0 -64
- package/src/utils/mediaTypes.ts +0 -171
- package/src/utils/modelUtils.ts +0 -1946
- package/src/utils/namespaceUtils.ts +0 -100
- package/src/utils/operationUtil.ts +0 -855
- package/src/utils/parameterUtils.ts +0 -215
- /package/src/modular/helpers/{docsHelpers.ts → docs-helpers.ts} +0 -0
- /package/src/rlc-common/helpers/{packageUtil.ts → package-util.ts} +0 -0
- /package/src/rlc-common/static/{paginateContent.ts → paginate-content.ts} +0 -0
- /package/src/rlc-common/static/{pollingContent.ts → polling-content.ts} +0 -0
- /package/src/rlc-common/static/{sampleTemplate.ts → sample-template.ts} +0 -0
- /package/src/rlc-common/static/{serializeHelper.ts → serialize-helper.ts} +0 -0
package/src/index.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
|
|
4
|
-
import
|
|
4
|
+
import { EmitContext, Program } from "@typespec/compiler";
|
|
5
|
+
import { provideContext, useContext } from "./context-manager.js";
|
|
6
|
+
import { buildRootIndex, buildSubClientIndexFile } from "./modular/build-root-index.js";
|
|
5
7
|
import {
|
|
6
8
|
AzureCoreDependencies,
|
|
7
9
|
AzureIdentityDependencies,
|
|
8
10
|
AzurePollingDependencies,
|
|
11
|
+
AzureTestDependencies,
|
|
9
12
|
DefaultCoreDependencies,
|
|
10
|
-
AzureTestDependencies
|
|
11
13
|
} from "./modular/external-dependencies.js";
|
|
12
|
-
import { clearDirectory } from "./utils/fileSystemUtils.js";
|
|
13
|
-
import { EmitContext, Program } from "@typespec/compiler";
|
|
14
|
-
import { GenerationDirDetail, SdkContext } from "./utils/interfaces.js";
|
|
15
14
|
import {
|
|
16
15
|
CloudSettingHelpers,
|
|
17
16
|
CreateRecorderHelpers,
|
|
@@ -23,100 +22,94 @@ import {
|
|
|
23
22
|
SimplePollerHelpers,
|
|
24
23
|
StorageCompatHelpers,
|
|
25
24
|
UrlTemplateHelpers,
|
|
26
|
-
XmlHelpers
|
|
25
|
+
XmlHelpers,
|
|
27
26
|
} from "./modular/static-helpers-metadata.js";
|
|
28
27
|
import {
|
|
29
28
|
RLCModel,
|
|
30
29
|
RLCOptions,
|
|
31
30
|
buildApiExtractorConfig,
|
|
31
|
+
buildChangelogFile,
|
|
32
32
|
buildClient,
|
|
33
33
|
buildClientDefinitions,
|
|
34
34
|
buildEsLintConfig,
|
|
35
35
|
buildIndexFile,
|
|
36
36
|
buildIsUnexpectedHelper,
|
|
37
37
|
buildLicenseFile,
|
|
38
|
-
buildChangelogFile,
|
|
39
38
|
buildLogger,
|
|
40
39
|
buildPackageFile,
|
|
41
40
|
buildParameterTypes,
|
|
42
41
|
buildPollingHelper,
|
|
43
42
|
buildPaginateHelper as buildRLCPaginateHelper,
|
|
44
43
|
buildReadmeFile,
|
|
45
|
-
hasClientNameChanged,
|
|
46
|
-
updateReadmeFile,
|
|
47
44
|
buildRecordedClientFile,
|
|
48
45
|
buildResponseTypes,
|
|
49
46
|
buildRollupConfig,
|
|
47
|
+
buildSampleEnvFile,
|
|
50
48
|
buildSampleTest,
|
|
51
49
|
buildSamples,
|
|
52
50
|
buildSerializeHelper,
|
|
51
|
+
buildSnippets,
|
|
52
|
+
buildTestBrowserTsConfig,
|
|
53
|
+
buildTestNodeTsConfig,
|
|
53
54
|
buildTopLevelIndex,
|
|
54
55
|
buildTsConfig,
|
|
56
|
+
buildTsLintConfig,
|
|
57
|
+
buildTsSampleConfig,
|
|
55
58
|
buildTsSnippetsConfig,
|
|
56
|
-
buildTsSrcEsmConfig,
|
|
57
59
|
buildTsSrcBrowserConfig,
|
|
58
|
-
buildTsSrcReactNativeConfig,
|
|
59
60
|
buildTsSrcCjsConfig,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
buildTestNodeTsConfig,
|
|
61
|
+
buildTsSrcEsmConfig,
|
|
62
|
+
buildTsSrcReactNativeConfig,
|
|
63
63
|
buildVitestConfig,
|
|
64
64
|
buildWarpConfig,
|
|
65
65
|
getClientName,
|
|
66
|
+
hasClientNameChanged,
|
|
66
67
|
hasUnexpectedHelper,
|
|
67
68
|
isAzurePackage,
|
|
68
69
|
updatePackageFile,
|
|
69
|
-
|
|
70
|
-
buildSnippets,
|
|
71
|
-
buildTsSampleConfig
|
|
70
|
+
updateReadmeFile,
|
|
72
71
|
} from "./rlc-common/index.js";
|
|
73
|
-
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./modular/buildRootIndex.js";
|
|
77
|
-
import { emitContentByBuilder, emitModels } from "./utils/emitUtil.js";
|
|
78
|
-
import { provideContext, useContext } from "./contextManager.js";
|
|
72
|
+
import { emitContentByBuilder, emitModels } from "./utils/emit-util.js";
|
|
73
|
+
import { clearDirectory, emptyDir, pathExists } from "./utils/file-system-utils.js";
|
|
74
|
+
import { GenerationDirDetail, SdkContext } from "./utils/interfaces.js";
|
|
79
75
|
|
|
80
|
-
import { EmitterOptions } from "./lib.js";
|
|
81
|
-
import { ModularEmitterOptions } from "./modular/interfaces.js";
|
|
82
|
-
import { Project } from "ts-morph";
|
|
83
|
-
import { buildClassicOperationFiles } from "./modular/buildClassicalOperationGroups.js";
|
|
84
|
-
import { buildClassicalClient } from "./modular/buildClassicalClient.js";
|
|
85
|
-
import {
|
|
86
|
-
getClientContextPath,
|
|
87
|
-
buildClientContext
|
|
88
|
-
} from "./modular/buildClientContext.js";
|
|
89
|
-
import { buildApiOptions } from "./modular/emitModelsOptions.js";
|
|
90
|
-
import { buildOperationFiles } from "./modular/buildOperations.js";
|
|
91
|
-
import { buildRestorePoller } from "./modular/buildRestorePoller.js";
|
|
92
|
-
import { buildSubpathIndexFile } from "./modular/buildSubpathIndex.js";
|
|
93
76
|
import {
|
|
77
|
+
SdkClientType,
|
|
78
|
+
SdkServiceOperation,
|
|
94
79
|
createSdkContext,
|
|
95
80
|
listAllServiceNamespaces,
|
|
96
|
-
SdkClientType,
|
|
97
|
-
SdkServiceOperation
|
|
98
81
|
} from "@azure-tools/typespec-client-generator-core";
|
|
99
|
-
import { transformModularEmitterOptions } from "./modular/buildModularOptions.js";
|
|
100
|
-
import { emitLoggerFile } from "./modular/emitLoggerFile.js";
|
|
101
|
-
import { emitTypes, emitNonModelResponseTypes } from "./modular/emitModels.js";
|
|
102
82
|
import { existsSync } from "fs";
|
|
103
|
-
import { getModuleExports } from "./modular/buildProjectFiles.js";
|
|
104
|
-
import {
|
|
105
|
-
getClientHierarchyMap,
|
|
106
|
-
getRLCClients,
|
|
107
|
-
getModularClientOptions
|
|
108
|
-
} from "./utils/clientUtils.js";
|
|
109
83
|
import { basename, join } from "path";
|
|
110
|
-
import {
|
|
111
|
-
import { packageUsesXmlSerialization } from "./modular/serialization/buildXmlSerializerFunction.js";
|
|
84
|
+
import { Project } from "ts-morph";
|
|
112
85
|
import { provideBinder } from "./framework/hooks/binder.js";
|
|
113
|
-
import { provideSdkTypes } from "./framework/hooks/
|
|
86
|
+
import { provideSdkTypes } from "./framework/hooks/sdk-types.js";
|
|
87
|
+
import { loadStaticHelpers } from "./framework/load-static-helpers.js";
|
|
88
|
+
import { EmitterOptions } from "./lib.js";
|
|
89
|
+
import { buildClassicalClient } from "./modular/build-classical-client.js";
|
|
90
|
+
import { buildClassicOperationFiles } from "./modular/build-classical-operation-groups.js";
|
|
91
|
+
import { buildClientContext, getClientContextPath } from "./modular/build-client-context.js";
|
|
92
|
+
import { transformModularEmitterOptions } from "./modular/build-modular-options.js";
|
|
93
|
+
import { buildOperationFiles } from "./modular/build-operations.js";
|
|
94
|
+
import { getModuleExports } from "./modular/build-project-files.js";
|
|
95
|
+
import { buildRestorePoller } from "./modular/build-restore-poller.js";
|
|
96
|
+
import { buildSubpathIndexFile } from "./modular/build-subpath-index.js";
|
|
97
|
+
import { emitLoggerFile } from "./modular/emit-logger-file.js";
|
|
98
|
+
import { buildApiOptions } from "./modular/emit-models-options.js";
|
|
99
|
+
import { emitNonModelResponseTypes, emitTypes } from "./modular/emit-models.js";
|
|
100
|
+
import { emitSamples } from "./modular/emit-samples.js";
|
|
101
|
+
import { emitTests } from "./modular/emit-tests.js";
|
|
102
|
+
import { getClassicalClientName } from "./modular/helpers/naming-helpers.js";
|
|
103
|
+
import { ModularEmitterOptions } from "./modular/interfaces.js";
|
|
104
|
+
import { packageUsesXmlSerialization } from "./modular/serialization/build-xml-serializer-function.js";
|
|
114
105
|
import { transformRLCModel } from "./transform/transform.js";
|
|
115
|
-
import { transformRLCOptions } from "./transform/
|
|
116
|
-
import {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
106
|
+
import { transformRLCOptions } from "./transform/transfrom-rlc-options.js";
|
|
107
|
+
import {
|
|
108
|
+
getClientHierarchyMap,
|
|
109
|
+
getModularClientOptions,
|
|
110
|
+
getRLCClients,
|
|
111
|
+
} from "./utils/client-utils.js";
|
|
112
|
+
import { generateCrossLanguageDefinitionFile } from "./utils/cross-language-def.js";
|
|
120
113
|
|
|
121
114
|
export * from "./lib.js";
|
|
122
115
|
|
|
@@ -140,16 +133,13 @@ export async function $onEmit(context: EmitContext) {
|
|
|
140
133
|
const rlcOptions = dpgContext.rlcOptions ?? {};
|
|
141
134
|
|
|
142
135
|
const needUnexpectedHelper: Map<string, boolean> = new Map<string, boolean>();
|
|
143
|
-
const serviceNameToRlcModelsMap: Map<string, RLCModel> = new Map<
|
|
144
|
-
string,
|
|
145
|
-
RLCModel
|
|
146
|
-
>();
|
|
136
|
+
const serviceNameToRlcModelsMap: Map<string, RLCModel> = new Map<string, RLCModel>();
|
|
147
137
|
provideContext("rlcMetaTree", new Map());
|
|
148
138
|
provideContext("symbolMap", new Map());
|
|
149
139
|
provideContext("outputProject", outputProject);
|
|
150
140
|
provideContext("emitContext", {
|
|
151
141
|
compilerContext: context,
|
|
152
|
-
tcgcContext: dpgContext
|
|
142
|
+
tcgcContext: dpgContext,
|
|
153
143
|
});
|
|
154
144
|
const staticHelpers = await loadStaticHelpers(
|
|
155
145
|
outputProject,
|
|
@@ -164,29 +154,29 @@ export async function $onEmit(context: EmitContext) {
|
|
|
164
154
|
...CloudSettingHelpers,
|
|
165
155
|
...XmlHelpers,
|
|
166
156
|
...(rlcOptions.generateTest ? CreateRecorderHelpers : {}),
|
|
167
|
-
...(rlcOptions.enableStorageCompat ? StorageCompatHelpers : {})
|
|
157
|
+
...(rlcOptions.enableStorageCompat ? StorageCompatHelpers : {}),
|
|
168
158
|
},
|
|
169
159
|
{
|
|
170
160
|
sourcesDir: dpgContext.generationPathDetail?.modularSourcesDir,
|
|
171
161
|
rootDir: dpgContext.generationPathDetail?.rootDir,
|
|
172
162
|
options: rlcOptions,
|
|
173
|
-
program
|
|
174
|
-
}
|
|
163
|
+
program,
|
|
164
|
+
},
|
|
175
165
|
);
|
|
176
166
|
const extraDependencies = isAzurePackage({ options: rlcOptions })
|
|
177
167
|
? {
|
|
178
168
|
...AzurePollingDependencies,
|
|
179
169
|
...AzureCoreDependencies,
|
|
180
170
|
...AzureIdentityDependencies,
|
|
181
|
-
...AzureTestDependencies
|
|
171
|
+
...AzureTestDependencies,
|
|
182
172
|
}
|
|
183
173
|
: { ...DefaultCoreDependencies };
|
|
184
174
|
const binder = provideBinder(outputProject, {
|
|
185
175
|
staticHelpers,
|
|
186
176
|
dependencies: {
|
|
187
|
-
...extraDependencies
|
|
177
|
+
...extraDependencies,
|
|
188
178
|
},
|
|
189
|
-
useSubpathImports: rlcOptions.azureSdkForJs === true
|
|
179
|
+
useSubpathImports: rlcOptions.azureSdkForJs === true,
|
|
190
180
|
});
|
|
191
181
|
provideSdkTypes(dpgContext);
|
|
192
182
|
|
|
@@ -210,7 +200,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
210
200
|
// 5. Generate metadata and test files
|
|
211
201
|
function getTypespecTsVersion(context: EmitContext): string | undefined {
|
|
212
202
|
const emitterMetadata = context.program.emitters.find(
|
|
213
|
-
(emitter) => emitter.metadata.name === "@azure-tools/typespec-ts"
|
|
203
|
+
(emitter) => emitter.metadata.name === "@azure-tools/typespec-ts",
|
|
214
204
|
);
|
|
215
205
|
return emitterMetadata?.metadata.version;
|
|
216
206
|
}
|
|
@@ -218,8 +208,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
218
208
|
await generateMetadataAndTest(dpgContext);
|
|
219
209
|
|
|
220
210
|
async function enrichDpgContext() {
|
|
221
|
-
const generationPathDetail: GenerationDirDetail =
|
|
222
|
-
await calculateGenerationDir();
|
|
211
|
+
const generationPathDetail: GenerationDirDetail = await calculateGenerationDir();
|
|
223
212
|
dpgContext.generationPathDetail = generationPathDetail;
|
|
224
213
|
dpgContext.allServiceNamespaces = listAllServiceNamespaces(dpgContext);
|
|
225
214
|
const options: RLCOptions = transformRLCOptions(emitterOptions, dpgContext);
|
|
@@ -228,14 +217,10 @@ export async function $onEmit(context: EmitContext) {
|
|
|
228
217
|
// clear output folder if needed
|
|
229
218
|
if (options.clearOutputFolder) {
|
|
230
219
|
// Clear output directory while preserving TempTypeSpecFiles
|
|
231
|
-
await clearDirectory(
|
|
232
|
-
context.emitterOutputDir,
|
|
233
|
-
["TempTypeSpecFiles"],
|
|
234
|
-
program
|
|
235
|
-
);
|
|
220
|
+
await clearDirectory(context.emitterOutputDir, ["TempTypeSpecFiles"], program);
|
|
236
221
|
}
|
|
237
|
-
const hasTestFolder = await
|
|
238
|
-
join(dpgContext.generationPathDetail?.metadataDir ?? "", "test")
|
|
222
|
+
const hasTestFolder = await pathExists(
|
|
223
|
+
join(dpgContext.generationPathDetail?.metadataDir ?? "", "test"),
|
|
239
224
|
);
|
|
240
225
|
options.generateTest =
|
|
241
226
|
options.generateTest === true ||
|
|
@@ -250,38 +235,33 @@ export async function $onEmit(context: EmitContext) {
|
|
|
250
235
|
const customizationFolder = join(projectRoot, "generated");
|
|
251
236
|
const srcGeneratedFolder = join(projectRoot, "src", "generated");
|
|
252
237
|
// if customization folder exists, use it as sources root
|
|
253
|
-
const finalCustomizationFolder = (await
|
|
254
|
-
srcGeneratedFolder
|
|
255
|
-
))
|
|
238
|
+
const finalCustomizationFolder = (await pathExists(srcGeneratedFolder))
|
|
256
239
|
? srcGeneratedFolder
|
|
257
240
|
: customizationFolder;
|
|
258
|
-
const sourcesRoot = (await
|
|
241
|
+
const sourcesRoot = (await pathExists(finalCustomizationFolder))
|
|
259
242
|
? finalCustomizationFolder
|
|
260
243
|
: join(projectRoot, "src");
|
|
261
244
|
return {
|
|
262
245
|
rootDir: projectRoot,
|
|
263
246
|
metadataDir: projectRoot,
|
|
264
247
|
rlcSourcesDir: sourcesRoot,
|
|
265
|
-
modularSourcesDir: sourcesRoot
|
|
248
|
+
modularSourcesDir: sourcesRoot,
|
|
266
249
|
};
|
|
267
250
|
}
|
|
268
251
|
|
|
269
252
|
async function clearSrcFolder() {
|
|
270
|
-
await
|
|
253
|
+
await emptyDir(
|
|
271
254
|
dpgContext.generationPathDetail?.modularSourcesDir ??
|
|
272
255
|
dpgContext.generationPathDetail?.rlcSourcesDir ??
|
|
273
|
-
""
|
|
256
|
+
"",
|
|
274
257
|
);
|
|
275
258
|
}
|
|
276
259
|
|
|
277
260
|
async function clearSamplesDevFolder() {
|
|
278
261
|
if (emitterOptions["generate-sample"] === true) {
|
|
279
|
-
const samplesDevPath = join(
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
);
|
|
283
|
-
if (await fsextra.pathExists(samplesDevPath)) {
|
|
284
|
-
await fsextra.emptyDir(samplesDevPath);
|
|
262
|
+
const samplesDevPath = join(dpgContext.generationPathDetail?.rootDir ?? "", "samples-dev");
|
|
263
|
+
if (await pathExists(samplesDevPath)) {
|
|
264
|
+
await emptyDir(samplesDevPath);
|
|
285
265
|
}
|
|
286
266
|
}
|
|
287
267
|
}
|
|
@@ -293,10 +273,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
293
273
|
rlcCodeModels.push(rlcModels);
|
|
294
274
|
const serviceName = client.services[0]?.name ?? "Unknown";
|
|
295
275
|
serviceNameToRlcModelsMap.set(serviceName, rlcModels);
|
|
296
|
-
needUnexpectedHelper.set(
|
|
297
|
-
getClientName(rlcModels),
|
|
298
|
-
hasUnexpectedHelper(rlcModels)
|
|
299
|
-
);
|
|
276
|
+
needUnexpectedHelper.set(getClientName(rlcModels), hasUnexpectedHelper(rlcModels));
|
|
300
277
|
}
|
|
301
278
|
}
|
|
302
279
|
|
|
@@ -318,37 +295,56 @@ export async function $onEmit(context: EmitContext) {
|
|
|
318
295
|
program,
|
|
319
296
|
buildSamples,
|
|
320
297
|
rlcModels,
|
|
321
|
-
dpgContext.generationPathDetail?.metadataDir
|
|
298
|
+
dpgContext.generationPathDetail?.metadataDir,
|
|
322
299
|
);
|
|
323
300
|
}
|
|
301
|
+
// The binder is only resolved in the modular path, so static helper files
|
|
302
|
+
// loaded into the outputProject are never written to disk in the RLC path.
|
|
303
|
+
// The RLC builders reference the platform-types helper (NodeReadableStream),
|
|
304
|
+
// so emit those files here.
|
|
305
|
+
await emitRLCStaticHelpers();
|
|
324
306
|
}
|
|
325
307
|
|
|
326
|
-
async function
|
|
327
|
-
|
|
328
|
-
|
|
308
|
+
async function emitRLCStaticHelpers() {
|
|
309
|
+
if (program.compilerOptions.noEmit || program.hasError() || !rlcCodeModels[0]) {
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
329
312
|
const project = useContext("outputProject");
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
313
|
+
for (const helperFile of project.getSourceFiles()) {
|
|
314
|
+
const filePath = helperFile.getFilePath();
|
|
315
|
+
// RLC builders (buildParameterTypes / buildSchemaType) only reference
|
|
316
|
+
// platform-types (and its browser/react-native variants); emit those
|
|
317
|
+
// files directly under src/ (strip the static-helpers/ segment) to match
|
|
318
|
+
// the RLC design where all generated output lives in src/.
|
|
319
|
+
if (!basename(filePath).startsWith("platform-types")) {
|
|
320
|
+
continue;
|
|
335
321
|
}
|
|
336
|
-
|
|
322
|
+
const outputPath = filePath.replace(/\/static-helpers\//g, "/");
|
|
323
|
+
await emitContentByBuilder(
|
|
324
|
+
program,
|
|
325
|
+
() => ({ content: helperFile.getFullText(), path: outputPath }),
|
|
326
|
+
rlcCodeModels[0],
|
|
327
|
+
);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
async function generateModularSources() {
|
|
332
|
+
const modularSourcesRoot = dpgContext.generationPathDetail?.modularSourcesDir ?? "src";
|
|
333
|
+
const project = useContext("outputProject");
|
|
334
|
+
modularEmitterOptions = transformModularEmitterOptions(dpgContext, modularSourcesRoot, {
|
|
335
|
+
casing: "camel",
|
|
336
|
+
});
|
|
337
337
|
|
|
338
338
|
emitLoggerFile(modularEmitterOptions, modularSourcesRoot);
|
|
339
339
|
|
|
340
|
-
const rootIndexFile = project.createSourceFile(
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
{
|
|
344
|
-
overwrite: true
|
|
345
|
-
}
|
|
346
|
-
);
|
|
340
|
+
const rootIndexFile = project.createSourceFile(`${modularSourcesRoot}/index.ts`, "", {
|
|
341
|
+
overwrite: true,
|
|
342
|
+
});
|
|
347
343
|
|
|
348
344
|
emitTypes(dpgContext, { sourceRoot: modularSourcesRoot });
|
|
349
345
|
emitNonModelResponseTypes(dpgContext, { sourceRoot: modularSourcesRoot });
|
|
350
346
|
buildSubpathIndexFile(modularEmitterOptions, "models", undefined, {
|
|
351
|
-
recursive: true
|
|
347
|
+
recursive: true,
|
|
352
348
|
});
|
|
353
349
|
const clientMap = getClientHierarchyMap(dpgContext);
|
|
354
350
|
if (clientMap.length === 0) {
|
|
@@ -364,12 +360,12 @@ export async function $onEmit(context: EmitContext) {
|
|
|
364
360
|
if (dpgContext.rlcOptions?.hierarchyClient) {
|
|
365
361
|
buildSubpathIndexFile(modularEmitterOptions, "api", subClient, {
|
|
366
362
|
exportIndex: false,
|
|
367
|
-
recursive: true
|
|
363
|
+
recursive: true,
|
|
368
364
|
});
|
|
369
365
|
} else {
|
|
370
366
|
buildSubpathIndexFile(modularEmitterOptions, "api", subClient, {
|
|
371
367
|
recursive: true,
|
|
372
|
-
exportIndex: true
|
|
368
|
+
exportIndex: true,
|
|
373
369
|
});
|
|
374
370
|
}
|
|
375
371
|
|
|
@@ -377,19 +373,14 @@ export async function $onEmit(context: EmitContext) {
|
|
|
377
373
|
buildClassicOperationFiles(dpgContext, subClient, modularEmitterOptions);
|
|
378
374
|
buildSubpathIndexFile(modularEmitterOptions, "classic", subClient, {
|
|
379
375
|
exportIndex: true,
|
|
380
|
-
interfaceOnly: true
|
|
376
|
+
interfaceOnly: true,
|
|
381
377
|
});
|
|
382
378
|
const { subfolder } = getModularClientOptions(subClient);
|
|
383
379
|
// Generate index file for clients with subfolders (multi-client scenarios and nested clients)
|
|
384
380
|
if (subfolder) {
|
|
385
381
|
buildSubClientIndexFile(dpgContext, subClient, modularEmitterOptions);
|
|
386
382
|
}
|
|
387
|
-
buildRootIndex(
|
|
388
|
-
dpgContext,
|
|
389
|
-
modularEmitterOptions,
|
|
390
|
-
rootIndexFile,
|
|
391
|
-
subClient
|
|
392
|
-
);
|
|
383
|
+
buildRootIndex(dpgContext, modularEmitterOptions, rootIndexFile, subClient);
|
|
393
384
|
}
|
|
394
385
|
// Enable modular sample generation when explicitly set to true or MPG
|
|
395
386
|
if (emitterOptions["generate-sample"] === true) {
|
|
@@ -401,10 +392,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
401
392
|
}
|
|
402
393
|
}
|
|
403
394
|
|
|
404
|
-
binder.resolveAllReferences(
|
|
405
|
-
modularSourcesRoot,
|
|
406
|
-
dpgContext.generationPathDetail?.rootDir
|
|
407
|
-
);
|
|
395
|
+
binder.resolveAllReferences(modularSourcesRoot, dpgContext.generationPathDetail?.rootDir);
|
|
408
396
|
if (program.compilerOptions.noEmit || program.hasError()) {
|
|
409
397
|
return;
|
|
410
398
|
}
|
|
@@ -413,7 +401,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
413
401
|
await emitContentByBuilder(
|
|
414
402
|
program,
|
|
415
403
|
() => ({ content: file.getFullText(), path: file.getFilePath() }),
|
|
416
|
-
modularEmitterOptions as any
|
|
404
|
+
modularEmitterOptions as any,
|
|
417
405
|
);
|
|
418
406
|
}
|
|
419
407
|
}
|
|
@@ -441,12 +429,11 @@ export async function $onEmit(context: EmitContext) {
|
|
|
441
429
|
content.emitterVersion = emitterVersion;
|
|
442
430
|
}
|
|
443
431
|
if (dpgContext.rlcOptions?.isModularLibrary) {
|
|
444
|
-
content.crossLanguageDefinitions =
|
|
445
|
-
generateCrossLanguageDefinitionFile(dpgContext);
|
|
432
|
+
content.crossLanguageDefinitions = generateCrossLanguageDefinitionFile(dpgContext);
|
|
446
433
|
}
|
|
447
434
|
return {
|
|
448
435
|
path: "metadata.json",
|
|
449
|
-
content: JSON.stringify(content, null, 2)
|
|
436
|
+
content: JSON.stringify(content, null, 2),
|
|
450
437
|
};
|
|
451
438
|
}
|
|
452
439
|
|
|
@@ -468,25 +455,21 @@ export async function $onEmit(context: EmitContext) {
|
|
|
468
455
|
// Generate metadata
|
|
469
456
|
const existingPackageFilePath = join(
|
|
470
457
|
dpgContext.generationPathDetail?.metadataDir ?? "",
|
|
471
|
-
"package.json"
|
|
458
|
+
"package.json",
|
|
472
459
|
);
|
|
473
460
|
const hasPackageFile = await existsSync(existingPackageFilePath);
|
|
474
461
|
const existingReadmeFilePath = join(
|
|
475
462
|
dpgContext.generationPathDetail?.metadataDir ?? "",
|
|
476
|
-
"README.md"
|
|
463
|
+
"README.md",
|
|
477
464
|
);
|
|
478
465
|
const hasReadmeFile = await existsSync(existingReadmeFilePath);
|
|
479
466
|
const existingChangelogFilePath = join(
|
|
480
467
|
dpgContext.generationPathDetail?.metadataDir ?? "",
|
|
481
|
-
"CHANGELOG.md"
|
|
468
|
+
"CHANGELOG.md",
|
|
482
469
|
);
|
|
483
470
|
const hasChangelogFile = await existsSync(existingChangelogFilePath);
|
|
484
|
-
const shouldGenerateMetadata =
|
|
485
|
-
|
|
486
|
-
const existingTestFolderPath = join(
|
|
487
|
-
dpgContext.generationPathDetail?.metadataDir ?? "",
|
|
488
|
-
"test"
|
|
489
|
-
);
|
|
471
|
+
const shouldGenerateMetadata = option.generateMetadata === true || !hasPackageFile;
|
|
472
|
+
const existingTestFolderPath = join(dpgContext.generationPathDetail?.metadataDir ?? "", "test");
|
|
490
473
|
const hasTestFolder = await existsSync(existingTestFolderPath);
|
|
491
474
|
if (option.generateTest === undefined) {
|
|
492
475
|
if (hasTestFolder) {
|
|
@@ -509,7 +492,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
509
492
|
buildApiExtractorConfig,
|
|
510
493
|
buildReadmeFile,
|
|
511
494
|
buildLicenseFile,
|
|
512
|
-
buildSampleEnvFile
|
|
495
|
+
buildSampleEnvFile,
|
|
513
496
|
];
|
|
514
497
|
if (option.generateTest) {
|
|
515
498
|
commonBuilders.push((model) => buildVitestConfig(model, "node"));
|
|
@@ -533,7 +516,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
533
516
|
let modularPackageInfo = {};
|
|
534
517
|
if (option.isModularLibrary) {
|
|
535
518
|
modularPackageInfo = {
|
|
536
|
-
exports: getModuleExports(context, modularEmitterOptions)
|
|
519
|
+
exports: getModuleExports(context, modularEmitterOptions),
|
|
537
520
|
};
|
|
538
521
|
// Build dependencies
|
|
539
522
|
const dependencies: Record<string, string> = {};
|
|
@@ -548,26 +531,19 @@ export async function $onEmit(context: EmitContext) {
|
|
|
548
531
|
modularPackageInfo = {
|
|
549
532
|
...modularPackageInfo,
|
|
550
533
|
dependencies,
|
|
551
|
-
clientContextPaths: getRelativeContextPaths(
|
|
552
|
-
context,
|
|
553
|
-
modularEmitterOptions
|
|
554
|
-
)
|
|
534
|
+
clientContextPaths: getRelativeContextPaths(context, modularEmitterOptions),
|
|
555
535
|
};
|
|
556
536
|
} else if (Object.keys(dependencies).length > 0) {
|
|
557
537
|
modularPackageInfo = {
|
|
558
538
|
...modularPackageInfo,
|
|
559
|
-
dependencies
|
|
539
|
+
dependencies,
|
|
560
540
|
};
|
|
561
541
|
}
|
|
562
542
|
}
|
|
563
|
-
commonBuilders.push((model) =>
|
|
564
|
-
buildPackageFile(model, modularPackageInfo)
|
|
565
|
-
);
|
|
543
|
+
commonBuilders.push((model) => buildPackageFile(model, modularPackageInfo));
|
|
566
544
|
// Generate warp.config.yml for Azure monorepo ESM packages
|
|
567
545
|
if (option.azureSdkForJs) {
|
|
568
|
-
commonBuilders.push((model) =>
|
|
569
|
-
buildWarpConfig(model, modularPackageInfo)
|
|
570
|
-
);
|
|
546
|
+
commonBuilders.push((model) => buildWarpConfig(model, modularPackageInfo));
|
|
571
547
|
}
|
|
572
548
|
commonBuilders.push(buildTsConfig);
|
|
573
549
|
if (option.azureSdkForJs) {
|
|
@@ -589,7 +565,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
589
565
|
if (option.generateTest) {
|
|
590
566
|
for (const subClient of dpgContext.sdkPackage.clients) {
|
|
591
567
|
commonBuilders.push((model) =>
|
|
592
|
-
buildSnippets(model, subClient.name, option.azureSdkForJs)
|
|
568
|
+
buildSnippets(model, subClient.name, option.azureSdkForJs),
|
|
593
569
|
);
|
|
594
570
|
}
|
|
595
571
|
commonBuilders.push(buildTsSnippetsConfig);
|
|
@@ -600,7 +576,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
600
576
|
program,
|
|
601
577
|
commonBuilders,
|
|
602
578
|
rlcClient,
|
|
603
|
-
dpgContext.generationPathDetail?.metadataDir
|
|
579
|
+
dpgContext.generationPathDetail?.metadataDir,
|
|
604
580
|
);
|
|
605
581
|
|
|
606
582
|
if (option.isModularLibrary) {
|
|
@@ -608,7 +584,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
608
584
|
await emitContentByBuilder(
|
|
609
585
|
program,
|
|
610
586
|
() => ({ content: file.getFullText(), path: file.getFilePath() }),
|
|
611
|
-
modularEmitterOptions as any
|
|
587
|
+
modularEmitterOptions as any,
|
|
612
588
|
);
|
|
613
589
|
}
|
|
614
590
|
}
|
|
@@ -626,13 +602,10 @@ export async function $onEmit(context: EmitContext) {
|
|
|
626
602
|
}
|
|
627
603
|
modularPackageInfo = {
|
|
628
604
|
exports: getModuleExports(context, modularEmitterOptions),
|
|
629
|
-
clientContextPaths: getRelativeContextPaths(
|
|
630
|
-
context,
|
|
631
|
-
modularEmitterOptions
|
|
632
|
-
),
|
|
605
|
+
clientContextPaths: getRelativeContextPaths(context, modularEmitterOptions),
|
|
633
606
|
...(Object.keys(additionalDependencies).length > 0 && {
|
|
634
|
-
dependencies: additionalDependencies
|
|
635
|
-
})
|
|
607
|
+
dependencies: additionalDependencies,
|
|
608
|
+
}),
|
|
636
609
|
};
|
|
637
610
|
}
|
|
638
611
|
|
|
@@ -640,40 +613,30 @@ export async function $onEmit(context: EmitContext) {
|
|
|
640
613
|
// and for modular packages (adds exports, clientContextPaths, LRO deps)
|
|
641
614
|
if (option.isModularLibrary || option.azureSdkForJs) {
|
|
642
615
|
updateBuilders.push((model: RLCModel) =>
|
|
643
|
-
updatePackageFile(model, existingPackageFilePath, modularPackageInfo)
|
|
616
|
+
updatePackageFile(model, existingPackageFilePath, modularPackageInfo),
|
|
644
617
|
);
|
|
645
618
|
}
|
|
646
619
|
|
|
647
620
|
// Update warp.config.yml for Azure monorepo packages
|
|
648
621
|
if (option.azureSdkForJs) {
|
|
649
|
-
updateBuilders.push((model: RLCModel) =>
|
|
650
|
-
buildWarpConfig(model, modularPackageInfo)
|
|
651
|
-
);
|
|
622
|
+
updateBuilders.push((model: RLCModel) => buildWarpConfig(model, modularPackageInfo));
|
|
652
623
|
}
|
|
653
624
|
|
|
654
625
|
// If the client name changed, regenerate the README and snippets completely;
|
|
655
626
|
// otherwise update only the API reference link in-place.
|
|
656
627
|
if (hasReadmeFile) {
|
|
657
|
-
const clientNameChanged = hasClientNameChanged(
|
|
658
|
-
rlcClient,
|
|
659
|
-
existingReadmeFilePath
|
|
660
|
-
);
|
|
628
|
+
const clientNameChanged = hasClientNameChanged(rlcClient, existingReadmeFilePath);
|
|
661
629
|
updateBuilders.push(
|
|
662
630
|
clientNameChanged
|
|
663
631
|
? buildReadmeFile
|
|
664
|
-
: (model: RLCModel) =>
|
|
665
|
-
updateReadmeFile(model, existingReadmeFilePath)
|
|
632
|
+
: (model: RLCModel) => updateReadmeFile(model, existingReadmeFilePath),
|
|
666
633
|
);
|
|
667
634
|
|
|
668
635
|
// Regenerate snippets.spec.ts only when the client name changed
|
|
669
636
|
if (clientNameChanged && option.azureSdkForJs) {
|
|
670
637
|
for (const subClient of dpgContext.sdkPackage.clients) {
|
|
671
638
|
updateBuilders.push((model: RLCModel) =>
|
|
672
|
-
buildSnippets(
|
|
673
|
-
model,
|
|
674
|
-
getClassicalClientName(subClient),
|
|
675
|
-
option.azureSdkForJs
|
|
676
|
-
)
|
|
639
|
+
buildSnippets(model, getClassicalClientName(subClient), option.azureSdkForJs),
|
|
677
640
|
);
|
|
678
641
|
}
|
|
679
642
|
}
|
|
@@ -684,7 +647,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
684
647
|
program,
|
|
685
648
|
updateBuilders,
|
|
686
649
|
rlcClient,
|
|
687
|
-
dpgContext.generationPathDetail?.metadataDir
|
|
650
|
+
dpgContext.generationPathDetail?.metadataDir,
|
|
688
651
|
);
|
|
689
652
|
}
|
|
690
653
|
if (isAzureFlavor) {
|
|
@@ -692,7 +655,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
692
655
|
program,
|
|
693
656
|
buildMetadataJson,
|
|
694
657
|
rlcClient,
|
|
695
|
-
dpgContext.generationPathDetail?.metadataDir
|
|
658
|
+
dpgContext.generationPathDetail?.metadataDir,
|
|
696
659
|
);
|
|
697
660
|
}
|
|
698
661
|
|
|
@@ -702,15 +665,12 @@ export async function $onEmit(context: EmitContext) {
|
|
|
702
665
|
program,
|
|
703
666
|
[buildRecordedClientFile, buildSampleTest],
|
|
704
667
|
rlcClient,
|
|
705
|
-
dpgContext.generationPathDetail?.metadataDir
|
|
668
|
+
dpgContext.generationPathDetail?.metadataDir,
|
|
706
669
|
);
|
|
707
670
|
}
|
|
708
671
|
}
|
|
709
672
|
|
|
710
|
-
function getRelativeContextPaths(
|
|
711
|
-
context: SdkContext,
|
|
712
|
-
options: ModularEmitterOptions
|
|
713
|
-
) {
|
|
673
|
+
function getRelativeContextPaths(context: SdkContext, options: ModularEmitterOptions) {
|
|
714
674
|
const clientMap = getClientHierarchyMap(context);
|
|
715
675
|
return Array.from(clientMap)
|
|
716
676
|
.map((subClient) => getClientContextPath(subClient, options))
|
|
@@ -719,7 +679,7 @@ export async function $onEmit(context: EmitContext) {
|
|
|
719
679
|
}
|
|
720
680
|
|
|
721
681
|
export async function createContextWithDefaultOptions(
|
|
722
|
-
context: EmitContext<Record<string, any
|
|
682
|
+
context: EmitContext<Record<string, any>>,
|
|
723
683
|
): Promise<SdkContext> {
|
|
724
684
|
const flattenUnionAsEnum =
|
|
725
685
|
context.options["experimental-extensible-enums"] === undefined
|
|
@@ -731,21 +691,21 @@ export async function createContextWithDefaultOptions(
|
|
|
731
691
|
emitters: [
|
|
732
692
|
{
|
|
733
693
|
main: "@azure-tools/typespec-ts",
|
|
734
|
-
metadata: { name: "@azure-tools/typespec-ts" }
|
|
735
|
-
}
|
|
736
|
-
]
|
|
694
|
+
metadata: { name: "@azure-tools/typespec-ts" },
|
|
695
|
+
},
|
|
696
|
+
],
|
|
737
697
|
};
|
|
738
698
|
context.options = {
|
|
739
699
|
...context.options,
|
|
740
|
-
...tcgcSettings
|
|
700
|
+
...tcgcSettings,
|
|
741
701
|
};
|
|
742
702
|
|
|
743
703
|
return (await createSdkContext(
|
|
744
704
|
context,
|
|
745
705
|
context.program.emitters[0]?.metadata.name ?? "@azure-tools/typespec-ts",
|
|
746
706
|
{
|
|
747
|
-
flattenUnionAsEnum
|
|
748
|
-
}
|
|
707
|
+
flattenUnionAsEnum,
|
|
708
|
+
},
|
|
749
709
|
)) as SdkContext;
|
|
750
710
|
}
|
|
751
711
|
|
|
@@ -757,7 +717,7 @@ function isArm(context: EmitContext<Record<string, any>>) {
|
|
|
757
717
|
|
|
758
718
|
export async function renameClientName(
|
|
759
719
|
client: SdkClientType<SdkServiceOperation>,
|
|
760
|
-
emitterOptions: ModularEmitterOptions
|
|
720
|
+
emitterOptions: ModularEmitterOptions,
|
|
761
721
|
) {
|
|
762
722
|
if (
|
|
763
723
|
emitterOptions.options.typespecTitleMap &&
|