ts-openapi-codegen 2.0.0 → 2.1.0-beta.1
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/README.md +91 -2
- package/README.rus.md +91 -2
- package/dist/cli/analyzeDiff/__tests__/analyzeDiff.cli.test.d.ts +2 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiff.cli.test.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiff.cli.test.js +365 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffRenameAndInvalidRegex.test.d.ts +2 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffRenameAndInvalidRegex.test.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffRenameAndInvalidRegex.test.js +142 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffTypeCoercion.test.d.ts +2 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffTypeCoercion.test.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffTypeCoercion.test.js +137 -0
- package/dist/cli/analyzeDiff/analyzeDiff.d.ts +17 -0
- package/dist/cli/analyzeDiff/analyzeDiff.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/analyzeDiff.js +105 -0
- package/dist/cli/analyzeDiff/buildLegacyReport.d.ts +17 -0
- package/dist/cli/analyzeDiff/buildLegacyReport.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/buildLegacyReport.js +54 -0
- package/dist/cli/analyzeDiff/ciSummary.d.ts +6 -0
- package/dist/cli/analyzeDiff/ciSummary.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/ciSummary.js +20 -0
- package/dist/cli/analyzeDiff/diffEngine.d.ts +54 -0
- package/dist/cli/analyzeDiff/diffEngine.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/diffEngine.js +209 -0
- package/dist/cli/analyzeDiff/ignoreRules.d.ts +33 -0
- package/dist/cli/analyzeDiff/ignoreRules.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/ignoreRules.js +93 -0
- package/dist/cli/analyzeDiff/ignoreSemanticChanges.d.ts +10 -0
- package/dist/cli/analyzeDiff/ignoreSemanticChanges.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/ignoreSemanticChanges.js +84 -0
- package/dist/cli/analyzeDiff/logLegacyReport.d.ts +6 -0
- package/dist/cli/analyzeDiff/logLegacyReport.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/logLegacyReport.js +29 -0
- package/dist/cli/analyzeDiff/miracles.d.ts +89 -0
- package/dist/cli/analyzeDiff/miracles.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/miracles.js +325 -0
- package/dist/cli/analyzeDiff/pluginPaths.d.ts +5 -0
- package/dist/cli/analyzeDiff/pluginPaths.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/pluginPaths.js +13 -0
- package/dist/cli/analyzeDiff/report.d.ts +3 -0
- package/dist/cli/analyzeDiff/report.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/report.js +7 -0
- package/dist/cli/analyzeDiff/semanticDiffContext.d.ts +6 -0
- package/dist/cli/analyzeDiff/semanticDiffContext.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/semanticDiffContext.js +16 -0
- package/dist/cli/analyzeDiff/specParser.d.ts +22 -0
- package/dist/cli/analyzeDiff/specParser.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/specParser.js +80 -0
- package/dist/cli/analyzeDiff/types.d.ts +61 -0
- package/dist/cli/analyzeDiff/types.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/types.js +2 -0
- package/dist/cli/analyzeDiff/writeLegacyReport.d.ts +6 -0
- package/dist/cli/analyzeDiff/writeLegacyReport.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/writeLegacyReport.js +21 -0
- package/dist/cli/checkAndUpdateConfig/checkConfig.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/checkConfig.js +13 -8
- package/dist/cli/checkAndUpdateConfig/constants.d.ts +0 -9
- package/dist/cli/checkAndUpdateConfig/constants.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/constants.js +1 -10
- package/dist/cli/checkAndUpdateConfig/updateConfig.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/updateConfig.js +11 -7
- package/dist/cli/checkAndUpdateConfig/utils/selectConfigAction.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/selectConfigAction.js +6 -3
- package/dist/cli/checkAndUpdateConfig/utils/updateExistingConfigFile.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/updateExistingConfigFile.js +3 -2
- package/dist/cli/checkAndUpdateConfig/utils/writeExampleConfigFile.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/writeExampleConfigFile.js +2 -2
- package/dist/cli/generateOpenApiClient/__tests__/generateOpenApiClient.strict.test.d.ts +2 -0
- package/dist/cli/generateOpenApiClient/__tests__/generateOpenApiClient.strict.test.d.ts.map +1 -0
- package/dist/cli/generateOpenApiClient/__tests__/generateOpenApiClient.strict.test.js +152 -0
- package/dist/cli/generateOpenApiClient/generateOpenApiClient.d.ts +6 -2
- package/dist/cli/generateOpenApiClient/generateOpenApiClient.d.ts.map +1 -1
- package/dist/cli/generateOpenApiClient/generateOpenApiClient.js +54 -18
- package/dist/cli/index.js +57 -2
- package/dist/cli/initOpenApiConfig/init.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/init.js +19 -6
- package/dist/cli/initOpenApiConfig/initConfig.d.ts +1 -0
- package/dist/cli/initOpenApiConfig/initConfig.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/initConfig.js +47 -24
- package/dist/cli/initOpenApiConfig/initCustomRequest.d.ts +8 -1
- package/dist/cli/initOpenApiConfig/initCustomRequest.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/initCustomRequest.js +40 -8
- package/dist/cli/initOpenApiConfig/utils/buildConfig.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/utils/buildConfig.js +60 -0
- package/dist/cli/initOpenApiConfig/utils/validateSpecFile.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/utils/validateSpecFile.js +2 -1
- package/dist/cli/initOpenApiConfig/utils/writeConfigFile.d.ts.map +1 -1
- package/dist/cli/initOpenApiConfig/utils/writeConfigFile.js +2 -1
- package/dist/cli/interactive/confirmDialog.d.ts.map +1 -1
- package/dist/cli/interactive/confirmDialog.js +3 -2
- package/dist/cli/interactive/constants.d.ts +2 -2
- package/dist/cli/interactive/constants.js +8 -8
- package/dist/cli/interactive/selectDialog.d.ts.map +1 -1
- package/dist/cli/interactive/selectDialog.js +11 -6
- package/dist/cli/previewChanges/previewChanges.d.ts.map +1 -1
- package/dist/cli/previewChanges/previewChanges.js +45 -17
- package/dist/cli/schemas/analyzeDiff.d.ts +14 -0
- package/dist/cli/schemas/analyzeDiff.d.ts.map +1 -0
- package/dist/cli/schemas/analyzeDiff.js +28 -0
- package/dist/cli/schemas/generate.d.ts +9 -0
- package/dist/cli/schemas/generate.d.ts.map +1 -1
- package/dist/cli/schemas/generate.js +9 -0
- package/dist/cli/schemas/index.d.ts +3 -1
- package/dist/cli/schemas/index.d.ts.map +1 -1
- package/dist/cli/schemas/index.js +2 -0
- package/dist/common/Consts.d.ts +1 -0
- package/dist/common/Consts.d.ts.map +1 -1
- package/dist/common/Consts.js +15 -1
- package/dist/common/Logger.d.ts +20 -1
- package/dist/common/Logger.d.ts.map +1 -1
- package/dist/common/Logger.js +70 -9
- package/dist/common/LoggerMessages.d.ts +135 -33
- package/dist/common/LoggerMessages.d.ts.map +1 -1
- package/dist/common/LoggerMessages.js +118 -45
- package/dist/common/VersionedSchema/AllVersionedSchemas/AllMigrationPlans.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/AllMigrationPlans.js +7 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedBase.d.ts +4 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedBase.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV1.d.ts +8 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV1.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.d.ts +8 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV3.d.ts +8 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV3.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV4.d.ts +35 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV4.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV4.js +4 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.d.ts +79 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.d.ts.map +1 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.js +19 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.d.ts +171 -0
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.js +2 -0
- package/dist/common/VersionedSchema/CommonSchemas.d.ts +40 -0
- package/dist/common/VersionedSchema/CommonSchemas.d.ts.map +1 -1
- package/dist/common/VersionedSchema/CommonSchemas.js +34 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV1.d.ts +4 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV1.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV2.d.ts +4 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV2.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV3.d.ts +4 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV3.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV4.d.ts +4 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV4.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV5.d.ts +4 -0
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV5.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV1.d.ts +4 -0
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV1.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV2.d.ts +4 -0
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV2.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV3.d.ts +4 -0
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV3.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV4.d.ts +4 -0
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV4.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/__mocks__/compatibilityCases.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/__mocks__/compatibilityCases.js +23 -3
- package/dist/common/VersionedSchema/Utils/__tests__/migrateDataToLatestSchemaVersion.test.js +2 -2
- package/dist/common/VersionedSchema/Utils/migrateDataToLatestSchemaVersion.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/migrateDataToLatestSchemaVersion.js +2 -1
- package/dist/common/__tests__/Logger.test.d.ts +2 -0
- package/dist/common/__tests__/Logger.test.d.ts.map +1 -0
- package/dist/common/__tests__/Logger.test.js +100 -0
- package/dist/common/utils/__tests__/convertArrayToObject.test.js +3 -0
- package/dist/common/utils/__tests__/eslintFix.test.d.ts +2 -0
- package/dist/common/utils/__tests__/eslintFix.test.d.ts.map +1 -0
- package/dist/common/utils/__tests__/eslintFix.test.js +134 -0
- package/dist/common/utils/__tests__/format.test.d.ts +2 -0
- package/dist/common/utils/__tests__/format.test.d.ts.map +1 -0
- package/dist/common/utils/__tests__/format.test.js +90 -0
- package/dist/common/utils/convertArrayToObject.d.ts.map +1 -1
- package/dist/common/utils/convertArrayToObject.js +3 -0
- package/dist/common/utils/eslintFix.d.ts +7 -0
- package/dist/common/utils/eslintFix.d.ts.map +1 -0
- package/dist/common/utils/eslintFix.js +78 -0
- package/dist/common/utils/format.d.ts +1 -1
- package/dist/common/utils/format.d.ts.map +1 -1
- package/dist/common/utils/format.js +39 -15
- package/dist/common/utils/jsonPath.d.ts +5 -0
- package/dist/common/utils/jsonPath.d.ts.map +1 -0
- package/dist/common/utils/jsonPath.js +27 -0
- package/dist/common/utils/normalizeObject.d.ts +2 -0
- package/dist/common/utils/normalizeObject.d.ts.map +1 -0
- package/dist/common/utils/normalizeObject.js +63 -0
- package/dist/core/Context.d.ts +8 -1
- package/dist/core/Context.d.ts.map +1 -1
- package/dist/core/Context.js +23 -4
- package/dist/core/OpenApiClient.d.ts +2 -0
- package/dist/core/OpenApiClient.d.ts.map +1 -1
- package/dist/core/OpenApiClient.js +116 -6
- package/dist/core/WriteClient.d.ts +4 -0
- package/dist/core/WriteClient.d.ts.map +1 -1
- package/dist/core/WriteClient.js +38 -4
- package/dist/core/__tests__/WriteClient.test.js +4 -1
- package/dist/core/api/v2/parser/__tests__/getModel.test.d.ts +2 -0
- package/dist/core/api/v2/parser/__tests__/getModel.test.d.ts.map +1 -0
- package/dist/core/api/v2/parser/__tests__/getModel.test.js +34 -0
- package/dist/core/api/v2/parser/getModel.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getModel.js +6 -1
- package/dist/core/api/v2/parser/getOperation.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getOperation.js +2 -0
- package/dist/core/api/v2/parser/getOperationResponses.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getOperationResponses.js +9 -1
- package/dist/core/api/v2/types/OpenApiSchema.model.d.ts +2 -0
- package/dist/core/api/v2/types/OpenApiSchema.model.d.ts.map +1 -1
- package/dist/core/api/v3/parser/__tests__/getContent.test.d.ts +2 -0
- package/dist/core/api/v3/parser/__tests__/getContent.test.d.ts.map +1 -0
- package/dist/core/api/v3/parser/__tests__/getContent.test.js +65 -0
- package/dist/core/api/v3/parser/__tests__/getModel.test.d.ts +2 -0
- package/dist/core/api/v3/parser/__tests__/getModel.test.d.ts.map +1 -0
- package/dist/core/api/v3/parser/__tests__/getModel.test.js +34 -0
- package/dist/core/api/v3/parser/getContent.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getContent.js +21 -11
- package/dist/core/api/v3/parser/getModel.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getModel.js +6 -1
- package/dist/core/api/v3/parser/getOperation.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getOperation.js +2 -0
- package/dist/core/api/v3/parser/getOperationResponses.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getOperationResponses.js +9 -1
- package/dist/core/api/v3/types/OpenApiSchema.model.d.ts +2 -0
- package/dist/core/api/v3/types/OpenApiSchema.model.d.ts.map +1 -1
- package/dist/core/governance/__tests__/evaluateGovernanceRules.test.d.ts +2 -0
- package/dist/core/governance/__tests__/evaluateGovernanceRules.test.d.ts.map +1 -0
- package/dist/core/governance/__tests__/evaluateGovernanceRules.test.js +100 -0
- package/dist/core/governance/__tests__/loadGovernanceConfig.test.d.ts +2 -0
- package/dist/core/governance/__tests__/loadGovernanceConfig.test.d.ts.map +1 -0
- package/dist/core/governance/__tests__/loadGovernanceConfig.test.js +71 -0
- package/dist/core/governance/evaluateGovernanceRules.d.ts +42 -0
- package/dist/core/governance/evaluateGovernanceRules.d.ts.map +1 -0
- package/dist/core/governance/evaluateGovernanceRules.js +134 -0
- package/dist/core/governance/governanceConfigSchema.d.ts +4 -0
- package/dist/core/governance/governanceConfigSchema.d.ts.map +1 -0
- package/dist/core/governance/governanceConfigSchema.js +39 -0
- package/dist/core/governance/loadGovernanceConfig.d.ts +7 -0
- package/dist/core/governance/loadGovernanceConfig.d.ts.map +1 -0
- package/dist/core/governance/loadGovernanceConfig.js +60 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +4 -2
- package/dist/core/plugins/GeneratorPlugin.model.d.ts +42 -0
- package/dist/core/plugins/GeneratorPlugin.model.d.ts.map +1 -0
- package/dist/core/plugins/GeneratorPlugin.model.js +2 -0
- package/dist/core/plugins/__tests__/applySemanticDiffPluginHooks.test.d.ts +2 -0
- package/dist/core/plugins/__tests__/applySemanticDiffPluginHooks.test.d.ts.map +1 -0
- package/dist/core/plugins/__tests__/applySemanticDiffPluginHooks.test.js +115 -0
- package/dist/core/plugins/__tests__/loadGeneratorPlugins.test.d.ts +2 -0
- package/dist/core/plugins/__tests__/loadGeneratorPlugins.test.d.ts.map +1 -0
- package/dist/core/plugins/__tests__/loadGeneratorPlugins.test.js +62 -0
- package/dist/core/plugins/applySemanticDiffPluginHooks.d.ts +28 -0
- package/dist/core/plugins/applySemanticDiffPluginHooks.d.ts.map +1 -0
- package/dist/core/plugins/applySemanticDiffPluginHooks.js +160 -0
- package/dist/core/plugins/builtins/xTypescriptTypePlugin.d.ts +6 -0
- package/dist/core/plugins/builtins/xTypescriptTypePlugin.d.ts.map +1 -0
- package/dist/core/plugins/builtins/xTypescriptTypePlugin.js +13 -0
- package/dist/core/plugins/getBuiltinPlugins.d.ts +6 -0
- package/dist/core/plugins/getBuiltinPlugins.d.ts.map +1 -0
- package/dist/core/plugins/getBuiltinPlugins.js +10 -0
- package/dist/core/plugins/index.d.ts +4 -0
- package/dist/core/plugins/index.d.ts.map +1 -0
- package/dist/core/plugins/index.js +5 -0
- package/dist/core/plugins/loadGeneratorPlugins.d.ts +6 -0
- package/dist/core/plugins/loadGeneratorPlugins.d.ts.map +1 -0
- package/dist/core/plugins/loadGeneratorPlugins.js +94 -0
- package/dist/core/semanticDiff/__tests__/analyzeOpenApiDiff.test.d.ts +2 -0
- package/dist/core/semanticDiff/__tests__/analyzeOpenApiDiff.test.d.ts.map +1 -0
- package/dist/core/semanticDiff/__tests__/analyzeOpenApiDiff.test.js +537 -0
- package/dist/core/semanticDiff/__tests__/semanticDiffReportSchema.test.d.ts +2 -0
- package/dist/core/semanticDiff/__tests__/semanticDiffReportSchema.test.d.ts.map +1 -0
- package/dist/core/semanticDiff/__tests__/semanticDiffReportSchema.test.js +66 -0
- package/dist/core/semanticDiff/analyzeOpenApiDiff.d.ts +45 -0
- package/dist/core/semanticDiff/analyzeOpenApiDiff.d.ts.map +1 -0
- package/dist/core/semanticDiff/analyzeOpenApiDiff.js +640 -0
- package/dist/core/semanticDiff/semanticDiffReportSchema.d.ts +11 -0
- package/dist/core/semanticDiff/semanticDiffReportSchema.d.ts.map +1 -0
- package/dist/core/semanticDiff/semanticDiffReportSchema.js +132 -0
- package/dist/core/strict/__tests__/validateOpenApiStrict.test.d.ts +2 -0
- package/dist/core/strict/__tests__/validateOpenApiStrict.test.d.ts.map +1 -0
- package/dist/core/strict/__tests__/validateOpenApiStrict.test.js +156 -0
- package/dist/core/strict/validateOpenApiStrict.d.ts +43 -0
- package/dist/core/strict/validateOpenApiStrict.d.ts.map +1 -0
- package/dist/core/strict/validateOpenApiStrict.js +253 -0
- package/dist/core/types/base/ClientArtifacts.model.d.ts +2 -0
- package/dist/core/types/base/ClientArtifacts.model.d.ts.map +1 -1
- package/dist/core/types/base/Templates.model.d.ts +3 -0
- package/dist/core/types/base/Templates.model.d.ts.map +1 -1
- package/dist/core/types/enums/ModelsMode.enum.d.ts +5 -0
- package/dist/core/types/enums/ModelsMode.enum.d.ts.map +1 -0
- package/dist/core/types/enums/ModelsMode.enum.js +8 -0
- package/dist/core/types/shared/Client.model.d.ts +2 -0
- package/dist/core/types/shared/Client.model.d.ts.map +1 -1
- package/dist/core/types/shared/DiffInfo.model.d.ts +13 -0
- package/dist/core/types/shared/DiffInfo.model.d.ts.map +1 -0
- package/dist/core/types/shared/DiffInfo.model.js +2 -0
- package/dist/core/types/shared/Miracle.model.d.ts +13 -0
- package/dist/core/types/shared/Miracle.model.d.ts.map +1 -0
- package/dist/core/types/shared/Miracle.model.js +2 -0
- package/dist/core/types/shared/Model.model.d.ts +23 -0
- package/dist/core/types/shared/Model.model.d.ts.map +1 -1
- package/dist/core/types/shared/Operation.model.d.ts +5 -0
- package/dist/core/types/shared/Operation.model.d.ts.map +1 -1
- package/dist/core/utils/__mocks__/templates.d.ts.map +1 -1
- package/dist/core/utils/__mocks__/templates.js +9 -0
- package/dist/core/utils/__tests__/applyDiffReportToClient.test.d.ts +2 -0
- package/dist/core/utils/__tests__/applyDiffReportToClient.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/applyDiffReportToClient.test.js +108 -0
- package/dist/core/utils/__tests__/getMappedType.test.js +2 -0
- package/dist/core/utils/__tests__/getOperationResponseCode.test.js +7 -2
- package/dist/core/utils/__tests__/getOperationResults.test.d.ts +2 -0
- package/dist/core/utils/__tests__/getOperationResults.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/getOperationResults.test.js +43 -0
- package/dist/core/utils/__tests__/prepareDtoModels.test.d.ts +2 -0
- package/dist/core/utils/__tests__/prepareDtoModels.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/prepareDtoModels.test.js +116 -0
- package/dist/core/utils/__tests__/serviceHelpers.test.js +1 -0
- package/dist/core/utils/__tests__/writeClientModels.test.js +50 -0
- package/dist/core/utils/applyDiffReportToClient.d.ts +14 -0
- package/dist/core/utils/applyDiffReportToClient.d.ts.map +1 -0
- package/dist/core/utils/applyDiffReportToClient.js +367 -0
- package/dist/core/utils/getMappedType.d.ts.map +1 -1
- package/dist/core/utils/getMappedType.js +2 -0
- package/dist/core/utils/getOpenApiSpec.d.ts.map +1 -1
- package/dist/core/utils/getOpenApiSpec.js +1 -14
- package/dist/core/utils/getOperationResponseCode.d.ts.map +1 -1
- package/dist/core/utils/getOperationResponseCode.js +10 -8
- package/dist/core/utils/loadDiffReport.d.ts +39 -0
- package/dist/core/utils/loadDiffReport.d.ts.map +1 -0
- package/dist/core/utils/loadDiffReport.js +51 -0
- package/dist/core/utils/prepareDtoModels.d.ts +3 -0
- package/dist/core/utils/prepareDtoModels.d.ts.map +1 -0
- package/dist/core/utils/prepareDtoModels.js +189 -0
- package/dist/core/utils/registerHandlebarHelpers.d.ts.map +1 -1
- package/dist/core/utils/registerHandlebarHelpers.js +4 -1
- package/dist/core/utils/registerHandlebarTemplates.d.ts.map +1 -1
- package/dist/core/utils/registerHandlebarTemplates.js +6 -0
- package/dist/core/utils/validateRawOptions.d.ts +1 -1
- package/dist/core/utils/validateRawOptions.d.ts.map +1 -1
- package/dist/core/utils/validateRawOptions.js +4 -2
- package/dist/core/utils/writeClientCore.d.ts +2 -0
- package/dist/core/utils/writeClientCore.d.ts.map +1 -1
- package/dist/core/utils/writeClientCore.js +6 -1
- package/dist/core/utils/writeClientCoreIndex.d.ts +1 -0
- package/dist/core/utils/writeClientCoreIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientCoreIndex.js +2 -2
- package/dist/core/utils/writeClientExecutor.d.ts +2 -0
- package/dist/core/utils/writeClientExecutor.d.ts.map +1 -1
- package/dist/core/utils/writeClientExecutor.js +6 -2
- package/dist/core/utils/writeClientFullIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientFullIndex.js +3 -1
- package/dist/core/utils/writeClientModels.d.ts +6 -0
- package/dist/core/utils/writeClientModels.d.ts.map +1 -1
- package/dist/core/utils/writeClientModels.js +24 -3
- package/dist/core/utils/writeClientModelsIndex.d.ts +2 -0
- package/dist/core/utils/writeClientModelsIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientModelsIndex.js +2 -2
- package/dist/core/utils/writeClientSchemas.d.ts +2 -0
- package/dist/core/utils/writeClientSchemas.d.ts.map +1 -1
- package/dist/core/utils/writeClientSchemas.js +6 -2
- package/dist/core/utils/writeClientServices.d.ts +2 -0
- package/dist/core/utils/writeClientServices.d.ts.map +1 -1
- package/dist/core/utils/writeClientServices.js +6 -2
- package/dist/templatesCompiled/cli/openApiConfig.d.ts +4 -1
- package/dist/templatesCompiled/cli/openApiConfig.d.ts.map +1 -1
- package/dist/templatesCompiled/cli/openApiConfig.js +88 -37
- package/dist/templatesCompiled/client/core/ApiRequestOptions.js +1 -1
- package/dist/templatesCompiled/client/core/BaseDto.d.ts +8 -0
- package/dist/templatesCompiled/client/core/BaseDto.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/BaseDto.js +18 -0
- package/dist/templatesCompiled/client/core/axios/getResponseBody.js +1 -1
- package/dist/templatesCompiled/client/core/axios/request.js +2 -2
- package/dist/templatesCompiled/client/core/axios/sendRequest.js +4 -4
- package/dist/templatesCompiled/client/core/dtoUtils.d.ts +8 -0
- package/dist/templatesCompiled/client/core/dtoUtils.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/dtoUtils.js +18 -0
- package/dist/templatesCompiled/client/core/executor/createExecutorAdapter.js +2 -2
- package/dist/templatesCompiled/client/core/executor/requestExecutor.js +1 -1
- package/dist/templatesCompiled/client/core/fetch/getResponseBody.js +1 -1
- package/dist/templatesCompiled/client/core/fetch/request.js +2 -2
- package/dist/templatesCompiled/client/core/functions/isBinary.js +1 -1
- package/dist/templatesCompiled/client/core/node/getResponseBody.js +1 -1
- package/dist/templatesCompiled/client/core/node/request.js +2 -2
- package/dist/templatesCompiled/client/core/xhr/getResponseBody.js +1 -1
- package/dist/templatesCompiled/client/core/xhr/request.js +2 -2
- package/dist/templatesCompiled/client/core/xhr/sendRequest.js +4 -4
- package/dist/templatesCompiled/client/exportModels.d.ts +34 -0
- package/dist/templatesCompiled/client/exportModels.d.ts.map +1 -0
- package/dist/templatesCompiled/client/exportModels.js +280 -0
- package/dist/templatesCompiled/client/exportService.d.ts +7 -4
- package/dist/templatesCompiled/client/exportService.d.ts.map +1 -1
- package/dist/templatesCompiled/client/exportService.js +52 -33
- package/dist/templatesCompiled/client/indexCore.d.ts +3 -1
- package/dist/templatesCompiled/client/indexCore.d.ts.map +1 -1
- package/dist/templatesCompiled/client/indexCore.js +13 -2
- package/dist/templatesCompiled/client/indexFull.d.ts +9 -7
- package/dist/templatesCompiled/client/indexFull.d.ts.map +1 -1
- package/dist/templatesCompiled/client/indexFull.js +52 -34
- package/dist/templatesCompiled/client/indexModels.d.ts +7 -5
- package/dist/templatesCompiled/client/indexModels.d.ts.map +1 -1
- package/dist/templatesCompiled/client/indexModels.js +27 -18
- package/dist/templatesCompiled/client/joi/partials/joiSchemaGeneric.d.ts +27 -19
- package/dist/templatesCompiled/client/joi/partials/joiSchemaGeneric.d.ts.map +1 -1
- package/dist/templatesCompiled/client/joi/partials/joiSchemaGeneric.js +144 -63
- package/dist/templatesCompiled/client/jsonschema/exportSchema.d.ts +1 -0
- package/dist/templatesCompiled/client/jsonschema/exportSchema.d.ts.map +1 -1
- package/dist/templatesCompiled/client/jsonschema/exportSchema.js +17 -13
- package/dist/templatesCompiled/client/partials/exportInterface.d.ts +13 -5
- package/dist/templatesCompiled/client/partials/exportInterface.d.ts.map +1 -1
- package/dist/templatesCompiled/client/partials/exportInterface.js +91 -21
- package/dist/templatesCompiled/client/partials/result.d.ts +6 -4
- package/dist/templatesCompiled/client/partials/result.d.ts.map +1 -1
- package/dist/templatesCompiled/client/partials/result.js +16 -6
- package/dist/templatesCompiled/client/partials/serviceOption.d.ts +1 -0
- package/dist/templatesCompiled/client/partials/serviceOption.d.ts.map +1 -1
- package/dist/templatesCompiled/client/partials/serviceOption.js +11 -4
- package/dist/templatesCompiled/client/yup/partials/yupSchemaGeneric.d.ts +22 -16
- package/dist/templatesCompiled/client/yup/partials/yupSchemaGeneric.d.ts.map +1 -1
- package/dist/templatesCompiled/client/yup/partials/yupSchemaGeneric.js +72 -60
- package/dist/templatesCompiled/client/zod/partials/zodSchemaGeneric.d.ts +27 -19
- package/dist/templatesCompiled/client/zod/partials/zodSchemaGeneric.d.ts.map +1 -1
- package/dist/templatesCompiled/client/zod/partials/zodSchemaGeneric.js +77 -61
- package/package.json +7 -5
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"1": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
2
|
+
"1": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
3
|
+
"2": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
4
|
+
"4": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
3
5
|
compiler: (string | number)[];
|
|
4
6
|
main: (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
5
7
|
usePartial: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexCore.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/indexCore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"indexCore.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/indexCore.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBA0BmC"}
|
|
@@ -7,9 +7,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
/* eslint: disable */
|
|
8
8
|
// @ts-nocheck
|
|
9
9
|
exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
10
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
11
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
12
|
+
return parent[propertyName];
|
|
13
|
+
}
|
|
14
|
+
return undefined;
|
|
15
|
+
};
|
|
16
|
+
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(data, "root"), "modelsMode"), "classes", { "name": "equals", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 13, "column": 11 } } })) != null ? stack1 : "");
|
|
17
|
+
}, "2": function (container, depth0, helpers, partials, data) {
|
|
18
|
+
return "export { BaseDto } from './BaseDto';\nexport { fromArray } from './dtoUtils';\n";
|
|
19
|
+
}, "4": function (container, depth0, helpers, partials, data) {
|
|
10
20
|
return "export { CancelablePromise } from './CancelablePromise';\n";
|
|
11
21
|
}, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
|
|
12
|
-
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
22
|
+
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
13
23
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14
24
|
return parent[propertyName];
|
|
15
25
|
}
|
|
@@ -17,6 +27,7 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
17
27
|
};
|
|
18
28
|
return ((stack1 = container.invokePartial(lookupProperty(partials, "header"), depth0, { "name": "header", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
19
29
|
+ "\nexport { ApiError } from './ApiError';\nexport { RequestConfig, RequestExecutor } from './executor/requestExecutor';\nexport { createExecutorAdapter } from './executor/createExecutorAdapter';\nexport { RequestInterceptor, ResponseInterceptor, ErrorInterceptor } from './interceptors/interceptors';\nexport { apiErrorInterceptor } from './interceptors/apiErrorInterceptor';\nexport { withInterceptors } from './interceptors/withInterceptors';\n"
|
|
20
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(
|
|
30
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "modelsMode"), { "name": "if", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 14, "column": 7 } } })) != null ? stack1 : "")
|
|
31
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(lookupProperty(data, "root"), "useCancelableRequest"), { "name": "if", "hash": {}, "fn": container.program(4, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 17, "column": 7 } } })) != null ? stack1 : "")
|
|
21
32
|
+ "export { OpenAPI } from './OpenAPI';\nexport type { TOpenAPIConfig } from './OpenAPI';\n";
|
|
22
33
|
}, "usePartial": true, "useData": true };
|
|
@@ -9,18 +9,20 @@ declare const _default: {
|
|
|
9
9
|
"13": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
10
10
|
"15": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
11
11
|
"17": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
12
|
-
"18": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"22": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
12
|
+
"18": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
13
|
+
"20": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
14
|
+
"21": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
15
|
+
"22": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
16
16
|
"23": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
17
17
|
"25": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
18
|
-
"
|
|
19
|
-
"28": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
20
|
-
"
|
|
18
|
+
"26": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
19
|
+
"28": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
20
|
+
"30": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
21
21
|
"31": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
22
22
|
"32": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
23
23
|
"34": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
24
|
+
"35": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
25
|
+
"37": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
24
26
|
compiler: (string | number)[];
|
|
25
27
|
main: (container: any, depth0: any, helpers: any, partials: any, data: any, blockParams: any, depths: any) => string;
|
|
26
28
|
usePartial: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexFull.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/indexFull.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"indexFull.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/indexFull.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAqPoD"}
|
|
@@ -89,7 +89,7 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
89
89
|
return undefined;
|
|
90
90
|
};
|
|
91
91
|
return "\n"
|
|
92
|
-
+ ((stack1 = lookupProperty(helpers, "
|
|
92
|
+
+ ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(data, "root"), "modelsMode"), "classes", { "name": "equals", "hash": {}, "fn": container.program(18, data, 0), "inverse": container.program(20, data, 0), "data": data, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 31, "column": 11 } } })) != null ? stack1 : "");
|
|
93
93
|
}, "18": function (container, depth0, helpers, partials, data) {
|
|
94
94
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
95
95
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -97,8 +97,26 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
97
97
|
}
|
|
98
98
|
return undefined;
|
|
99
99
|
};
|
|
100
|
-
return
|
|
101
|
-
|
|
100
|
+
return "export * from './"
|
|
101
|
+
+ ((stack1 = lookupProperty(helpers, "joinPath").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(data, "root"), "modelsPackage"), "models", { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 60 } } })) != null ? stack1 : "")
|
|
102
|
+
+ "';\n";
|
|
103
|
+
}, "20": function (container, depth0, helpers, partials, data) {
|
|
104
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
105
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
106
|
+
return parent[propertyName];
|
|
107
|
+
}
|
|
108
|
+
return undefined;
|
|
109
|
+
};
|
|
110
|
+
return ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(21, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 30, "column": 9 } } })) != null ? stack1 : "");
|
|
111
|
+
}, "21": function (container, depth0, helpers, partials, data) {
|
|
112
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
113
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
114
|
+
return parent[propertyName];
|
|
115
|
+
}
|
|
116
|
+
return undefined;
|
|
117
|
+
};
|
|
118
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "enum"), { "name": "if", "hash": {}, "fn": container.program(22, data, 0), "inverse": container.program(25, data, 0), "data": data, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 29, "column": 7 } } })) != null ? stack1 : "");
|
|
119
|
+
}, "22": function (container, depth0, helpers, partials, data) {
|
|
102
120
|
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
103
121
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
104
122
|
return parent[propertyName];
|
|
@@ -106,24 +124,24 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
106
124
|
return undefined;
|
|
107
125
|
};
|
|
108
126
|
return "export { "
|
|
109
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
110
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(
|
|
127
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 16 } }), depth0)) != null ? stack1 : "")
|
|
128
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(23, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 55 } } })) != null ? stack1 : "")
|
|
111
129
|
+ " } from './"
|
|
112
|
-
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(depth0, "package"), lookupProperty(depth0, "path"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line":
|
|
130
|
+
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(depth0, "package"), lookupProperty(depth0, "path"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 22, "column": 66 }, "end": { "line": 22, "column": 93 } } })) != null ? stack1 : "")
|
|
113
131
|
+ "';\n";
|
|
114
|
-
}, "
|
|
132
|
+
}, "23": function (container, depth0, helpers, partials, data) {
|
|
115
133
|
var stack1;
|
|
116
134
|
return " as "
|
|
117
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "alias", { "start": { "line":
|
|
118
|
-
}, "
|
|
135
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "alias", { "start": { "line": 22, "column": 40 }, "end": { "line": 22, "column": 45 } }), depth0)) != null ? stack1 : "");
|
|
136
|
+
}, "25": function (container, depth0, helpers, partials, data) {
|
|
119
137
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
120
138
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
121
139
|
return parent[propertyName];
|
|
122
140
|
}
|
|
123
141
|
return undefined;
|
|
124
142
|
};
|
|
125
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "useUnionTypes"), { "name": "if", "hash": {}, "fn": container.program(
|
|
126
|
-
}, "
|
|
143
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "useUnionTypes"), { "name": "if", "hash": {}, "fn": container.program(26, data, 0), "inverse": container.program(28, data, 0), "data": data, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 29, "column": 0 } } })) != null ? stack1 : "");
|
|
144
|
+
}, "26": function (container, depth0, helpers, partials, data) {
|
|
127
145
|
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
128
146
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
129
147
|
return parent[propertyName];
|
|
@@ -131,20 +149,20 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
131
149
|
return undefined;
|
|
132
150
|
};
|
|
133
151
|
return "export type { "
|
|
134
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
135
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(
|
|
152
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 21 } }), depth0)) != null ? stack1 : "")
|
|
153
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(23, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 60 } } })) != null ? stack1 : "")
|
|
136
154
|
+ " } from './"
|
|
137
|
-
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(depth0, "package"), lookupProperty(depth0, "path"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line":
|
|
155
|
+
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(depth0, "package"), lookupProperty(depth0, "path"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 24, "column": 71 }, "end": { "line": 24, "column": 98 } } })) != null ? stack1 : "")
|
|
138
156
|
+ "';\n";
|
|
139
|
-
}, "
|
|
157
|
+
}, "28": function (container, depth0, helpers, partials, data) {
|
|
140
158
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
141
159
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
142
160
|
return parent[propertyName];
|
|
143
161
|
}
|
|
144
162
|
return undefined;
|
|
145
163
|
};
|
|
146
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "enums"), { "name": "if", "hash": {}, "fn": container.program(
|
|
147
|
-
}, "
|
|
164
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "enums"), { "name": "if", "hash": {}, "fn": container.program(22, data, 0), "inverse": container.program(26, data, 0), "data": data, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 29, "column": 0 } } })) != null ? stack1 : "");
|
|
165
|
+
}, "30": function (container, depth0, helpers, partials, data) {
|
|
148
166
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
149
167
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
150
168
|
return parent[propertyName];
|
|
@@ -152,8 +170,8 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
152
170
|
return undefined;
|
|
153
171
|
};
|
|
154
172
|
return "\n"
|
|
155
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "schemas"), { "name": "each", "hash": {}, "fn": container.program(
|
|
156
|
-
}, "
|
|
173
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "schemas"), { "name": "each", "hash": {}, "fn": container.program(31, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 37, "column": 9 } } })) != null ? stack1 : "");
|
|
174
|
+
}, "31": function (container, depth0, helpers, partials, data) {
|
|
157
175
|
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
158
176
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
159
177
|
return parent[propertyName];
|
|
@@ -161,18 +179,18 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
161
179
|
return undefined;
|
|
162
180
|
};
|
|
163
181
|
return "export { "
|
|
164
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
182
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 16 } }), depth0)) != null ? stack1 : "")
|
|
165
183
|
+ "Schema"
|
|
166
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(
|
|
184
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(32, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 36, "column": 25 }, "end": { "line": 36, "column": 67 } } })) != null ? stack1 : "")
|
|
167
185
|
+ " } from './"
|
|
168
|
-
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(depth0, "package"), lookupProperty(depth0, "path"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line":
|
|
186
|
+
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(depth0, "package"), lookupProperty(depth0, "path"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 36, "column": 78 }, "end": { "line": 36, "column": 105 } } })) != null ? stack1 : "")
|
|
169
187
|
+ "Schema';\n";
|
|
170
|
-
}, "
|
|
188
|
+
}, "32": function (container, depth0, helpers, partials, data) {
|
|
171
189
|
var stack1;
|
|
172
190
|
return " as "
|
|
173
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "alias", { "start": { "line":
|
|
191
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "alias", { "start": { "line": 36, "column": 46 }, "end": { "line": 36, "column": 51 } }), depth0)) != null ? stack1 : "")
|
|
174
192
|
+ "Schema";
|
|
175
|
-
}, "
|
|
193
|
+
}, "34": function (container, depth0, helpers, partials, data) {
|
|
176
194
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
177
195
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
178
196
|
return parent[propertyName];
|
|
@@ -180,8 +198,8 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
180
198
|
return undefined;
|
|
181
199
|
};
|
|
182
200
|
return "\n"
|
|
183
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "services"), { "name": "each", "hash": {}, "fn": container.program(
|
|
184
|
-
}, "
|
|
201
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "services"), { "name": "each", "hash": {}, "fn": container.program(35, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 41, "column": 0 }, "end": { "line": 43, "column": 9 } } })) != null ? stack1 : "");
|
|
202
|
+
}, "35": function (container, depth0, helpers, partials, data) {
|
|
185
203
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
186
204
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
187
205
|
return parent[propertyName];
|
|
@@ -189,11 +207,11 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
189
207
|
return undefined;
|
|
190
208
|
};
|
|
191
209
|
return "export { "
|
|
192
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line":
|
|
210
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 16 } }), depth0)) != null ? stack1 : "")
|
|
193
211
|
+ " } from './"
|
|
194
|
-
+ ((stack1 = lookupProperty(helpers, "joinPath").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "package"), lookupProperty(depth0, "name"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line":
|
|
212
|
+
+ ((stack1 = lookupProperty(helpers, "joinPath").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "package"), lookupProperty(depth0, "name"), { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 42, "column": 30 }, "end": { "line": 42, "column": 57 } } })) != null ? stack1 : "")
|
|
195
213
|
+ "';\n";
|
|
196
|
-
}, "
|
|
214
|
+
}, "37": function (container, depth0, helpers, partials, data) {
|
|
197
215
|
return "export { ClientOptions, createClient } from './createClient';\n";
|
|
198
216
|
}, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data, blockParams, depths) {
|
|
199
217
|
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
@@ -204,9 +222,9 @@ exports.default = { "1": function (container, depth0, helpers, partials, data, b
|
|
|
204
222
|
};
|
|
205
223
|
return ((stack1 = container.invokePartial(lookupProperty(partials, "header"), depth0, { "name": "header", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
206
224
|
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "core"), { "name": "if", "hash": {}, "fn": container.program(1, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 14, "column": 7 } } })) != null ? stack1 : "")
|
|
207
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "models"), { "name": "if", "hash": {}, "fn": container.program(17, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line":
|
|
208
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "schemas"), { "name": "if", "hash": {}, "fn": container.program(
|
|
209
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "services"), { "name": "if", "hash": {}, "fn": container.program(
|
|
225
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "models"), { "name": "if", "hash": {}, "fn": container.program(17, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 32, "column": 7 } } })) != null ? stack1 : "")
|
|
226
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "schemas"), { "name": "if", "hash": {}, "fn": container.program(30, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 38, "column": 7 } } })) != null ? stack1 : "")
|
|
227
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "services"), { "name": "if", "hash": {}, "fn": container.program(34, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 39, "column": 0 }, "end": { "line": 44, "column": 7 } } })) != null ? stack1 : "")
|
|
210
228
|
+ "\n"
|
|
211
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "core"), { "name": "if", "hash": {}, "fn": container.program(
|
|
229
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "core"), { "name": "if", "hash": {}, "fn": container.program(37, data, 0, blockParams, depths), "inverse": container.noop, "data": data, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 48, "column": 7 } } })) != null ? stack1 : "");
|
|
212
230
|
}, "usePartial": true, "useData": true, "useDepths": true };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"1": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
3
|
-
"2": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"6": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
2
|
+
"1": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
3
|
+
"2": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
4
|
+
"4": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
5
|
+
"5": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
6
|
+
"6": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
7
7
|
"7": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
8
8
|
"9": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
9
|
+
"10": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
10
|
+
"12": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
9
11
|
compiler: (string | number)[];
|
|
10
12
|
main: (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
11
13
|
usePartial: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexModels.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/indexModels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"indexModels.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/indexModels.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAMA,wBA2FmC"}
|
|
@@ -13,17 +13,26 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
13
13
|
}
|
|
14
14
|
return undefined;
|
|
15
15
|
};
|
|
16
|
-
return "
|
|
17
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 15, "column": 9 } } })) != null ? stack1 : "");
|
|
16
|
+
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(lookupProperty(data, "root"), "modelsMode"), "classes", { "name": "equals", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.program(4, data, 0), "data": data, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 18, "column": 11 } } })) != null ? stack1 : "");
|
|
18
17
|
}, "2": function (container, depth0, helpers, partials, data) {
|
|
18
|
+
return "export * from './models';\n";
|
|
19
|
+
}, "4": function (container, depth0, helpers, partials, data) {
|
|
20
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
21
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
22
|
+
return parent[propertyName];
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
};
|
|
26
|
+
return ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(5, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 17, "column": 9 } } })) != null ? stack1 : "");
|
|
27
|
+
}, "5": function (container, depth0, helpers, partials, data) {
|
|
19
28
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
20
29
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
21
30
|
return parent[propertyName];
|
|
22
31
|
}
|
|
23
32
|
return undefined;
|
|
24
33
|
};
|
|
25
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "enum"), { "name": "if", "hash": {}, "fn": container.program(
|
|
26
|
-
}, "
|
|
34
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "enum"), { "name": "if", "hash": {}, "fn": container.program(6, data, 0), "inverse": container.program(9, data, 0), "data": data, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 16, "column": 7 } } })) != null ? stack1 : "");
|
|
35
|
+
}, "6": function (container, depth0, helpers, partials, data) {
|
|
27
36
|
var stack1, alias1 = container.strict, alias2 = container.lambda, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
28
37
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
29
38
|
return parent[propertyName];
|
|
@@ -31,24 +40,24 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
31
40
|
return undefined;
|
|
32
41
|
};
|
|
33
42
|
return "export { "
|
|
34
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
35
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(
|
|
43
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 9, "column": 12 }, "end": { "line": 9, "column": 16 } }), depth0)) != null ? stack1 : "")
|
|
44
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(7, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 9, "column": 55 } } })) != null ? stack1 : "")
|
|
36
45
|
+ " } from './"
|
|
37
|
-
+ ((stack1 = alias2(alias1(depth0, "path", { "start": { "line":
|
|
46
|
+
+ ((stack1 = alias2(alias1(depth0, "path", { "start": { "line": 9, "column": 69 }, "end": { "line": 9, "column": 73 } }), depth0)) != null ? stack1 : "")
|
|
38
47
|
+ "';\n";
|
|
39
|
-
}, "
|
|
48
|
+
}, "7": function (container, depth0, helpers, partials, data) {
|
|
40
49
|
var stack1;
|
|
41
50
|
return " as "
|
|
42
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "alias", { "start": { "line":
|
|
43
|
-
}, "
|
|
51
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "alias", { "start": { "line": 9, "column": 40 }, "end": { "line": 9, "column": 45 } }), depth0)) != null ? stack1 : "");
|
|
52
|
+
}, "9": function (container, depth0, helpers, partials, data) {
|
|
44
53
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
45
54
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
46
55
|
return parent[propertyName];
|
|
47
56
|
}
|
|
48
57
|
return undefined;
|
|
49
58
|
};
|
|
50
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "useUnionTypes"), { "name": "if", "hash": {}, "fn": container.program(
|
|
51
|
-
}, "
|
|
59
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "useUnionTypes"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.program(12, data, 0), "data": data, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 16, "column": 0 } } })) != null ? stack1 : "");
|
|
60
|
+
}, "10": function (container, depth0, helpers, partials, data) {
|
|
52
61
|
var stack1, alias1 = container.strict, alias2 = container.lambda, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
53
62
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
54
63
|
return parent[propertyName];
|
|
@@ -56,19 +65,19 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
56
65
|
return undefined;
|
|
57
66
|
};
|
|
58
67
|
return "export type { "
|
|
59
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
60
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(
|
|
68
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 11, "column": 17 }, "end": { "line": 11, "column": 21 } }), depth0)) != null ? stack1 : "")
|
|
69
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "alias"), { "name": "if", "hash": {}, "fn": container.program(7, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 11, "column": 24 }, "end": { "line": 11, "column": 60 } } })) != null ? stack1 : "")
|
|
61
70
|
+ " } from './"
|
|
62
|
-
+ ((stack1 = alias2(alias1(depth0, "path", { "start": { "line":
|
|
71
|
+
+ ((stack1 = alias2(alias1(depth0, "path", { "start": { "line": 11, "column": 74 }, "end": { "line": 11, "column": 78 } }), depth0)) != null ? stack1 : "")
|
|
63
72
|
+ "';\n";
|
|
64
|
-
}, "
|
|
73
|
+
}, "12": function (container, depth0, helpers, partials, data) {
|
|
65
74
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
66
75
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
67
76
|
return parent[propertyName];
|
|
68
77
|
}
|
|
69
78
|
return undefined;
|
|
70
79
|
};
|
|
71
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "enums"), { "name": "if", "hash": {}, "fn": container.program(
|
|
80
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "enums"), { "name": "if", "hash": {}, "fn": container.program(6, data, 0), "inverse": container.program(10, data, 0), "data": data, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 16, "column": 0 } } })) != null ? stack1 : "");
|
|
72
81
|
}, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
|
|
73
82
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
74
83
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -78,5 +87,5 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
78
87
|
};
|
|
79
88
|
return ((stack1 = container.invokePartial(lookupProperty(partials, "header"), depth0, { "name": "header", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
80
89
|
+ "\n"
|
|
81
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "models"), { "name": "if", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line":
|
|
90
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "models"), { "name": "if", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 19, "column": 7 } } })) != null ? stack1 : "");
|
|
82
91
|
}, "usePartial": true, "useData": true };
|
|
@@ -1,32 +1,40 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"1": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
3
3
|
"2": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"9": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
8
|
-
"
|
|
9
|
-
"12": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
10
|
-
"
|
|
11
|
-
"15": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
12
|
-
"
|
|
13
|
-
"18": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
14
|
-
"
|
|
15
|
-
"21": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
16
|
-
"
|
|
17
|
-
"
|
|
4
|
+
"3": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
5
|
+
"5": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
6
|
+
"7": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
7
|
+
"9": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
8
|
+
"10": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
9
|
+
"12": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
10
|
+
"13": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
11
|
+
"15": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
12
|
+
"16": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
13
|
+
"18": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
14
|
+
"19": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
15
|
+
"21": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
16
|
+
"22": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
17
|
+
"24": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
18
18
|
"26": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
19
|
-
"
|
|
19
|
+
"28": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
20
20
|
"29": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
21
|
+
"30": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
21
22
|
"31": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
22
|
-
"33": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
23
|
-
"
|
|
24
|
-
"36": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
23
|
+
"33": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
24
|
+
"35": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
25
25
|
"37": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
26
26
|
"39": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
27
27
|
"40": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
28
|
-
"
|
|
28
|
+
"41": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
29
29
|
"43": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
30
|
+
"45": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
31
|
+
"46": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
32
|
+
"47": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
33
|
+
"49": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
34
|
+
"51": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
35
|
+
"52": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
36
|
+
"54": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
37
|
+
"55": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
30
38
|
compiler: (string | number)[];
|
|
31
39
|
main: (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
32
40
|
useData: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"joiSchemaGeneric.d.ts","sourceRoot":"","sources":["../../../../../src/templatesCompiled/client/joi/partials/joiSchemaGeneric.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"joiSchemaGeneric.d.ts","sourceRoot":"","sources":["../../../../../src/templatesCompiled/client/joi/partials/joiSchemaGeneric.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA+SiB"}
|