ts-openapi-codegen 2.1.0-beta.7 → 2.1.0-beta.9
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 +7 -0
- package/README.rus.md +7 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiff.cli.test.js +31 -24
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffLomMiracles.test.d.ts +2 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffLomMiracles.test.d.ts.map +1 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffLomMiracles.test.js +47 -0
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffRenameAndInvalidRegex.test.js +8 -7
- package/dist/cli/analyzeDiff/__tests__/analyzeDiffTypeCoercion.test.js +8 -7
- package/dist/cli/analyzeDiff/analyzeDiff.d.ts +14 -2
- package/dist/cli/analyzeDiff/analyzeDiff.d.ts.map +1 -1
- package/dist/cli/analyzeDiff/analyzeDiff.js +56 -13
- package/dist/cli/analyzeDiff/ciSummary.d.ts +6 -3
- package/dist/cli/analyzeDiff/ciSummary.d.ts.map +1 -1
- package/dist/cli/analyzeDiff/ciSummary.js +10 -6
- package/dist/cli/analyzeDiff/ignoreRules.d.ts +0 -6
- package/dist/cli/analyzeDiff/ignoreRules.d.ts.map +1 -1
- package/dist/cli/analyzeDiff/ignoreRules.js +2 -3
- package/dist/cli/analyzeDiff/report.d.ts +0 -1
- package/dist/cli/analyzeDiff/report.d.ts.map +1 -1
- package/dist/cli/analyzeDiff/report.js +1 -3
- package/dist/cli/analyzeDiff/writeLegacyReport.d.ts +2 -0
- package/dist/cli/analyzeDiff/writeLegacyReport.d.ts.map +1 -1
- package/dist/cli/analyzeDiff/writeLegacyReport.js +2 -0
- package/dist/cli/analyzeUsage/analyzeUsage.d.ts +2 -2
- package/dist/cli/analyzeUsage/analyzeUsage.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/analyzeUsage.js +10 -12
- package/dist/cli/analyzeUsage/core/ProjectContext.d.ts +1 -1
- package/dist/cli/analyzeUsage/core/ProjectContext.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/core/ProjectContext.js +5 -10
- package/dist/cli/analyzeUsage/core/Scanner.d.ts +8 -0
- package/dist/cli/analyzeUsage/core/Scanner.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/core/Scanner.js +10 -0
- package/dist/cli/analyzeUsage/rules/ClientRule.d.ts +10 -2
- package/dist/cli/analyzeUsage/rules/ClientRule.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/rules/ClientRule.js +29 -21
- package/dist/cli/analyzeUsage/rules/CoverageRule.d.ts +2 -2
- package/dist/cli/analyzeUsage/rules/CoverageRule.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/rules/CoverageRule.js +16 -24
- package/dist/cli/analyzeUsage/rules/DiagnosticsRule.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/rules/DiagnosticsRule.js +4 -1
- package/dist/cli/analyzeUsage/rules/ImportRule.d.ts +2 -2
- package/dist/cli/analyzeUsage/rules/ImportRule.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/rules/ImportRule.js +9 -11
- package/dist/cli/analyzeUsage/rules/ModelRule.d.ts +2 -2
- package/dist/cli/analyzeUsage/rules/ModelRule.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/rules/ModelRule.js +4 -8
- package/dist/cli/analyzeUsage/rules/SchemaRule.d.ts +2 -2
- package/dist/cli/analyzeUsage/rules/SchemaRule.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/rules/SchemaRule.js +8 -10
- package/dist/cli/analyzeUsage/rules/ServiceRule.d.ts +10 -2
- package/dist/cli/analyzeUsage/rules/ServiceRule.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/rules/ServiceRule.js +27 -23
- package/dist/cli/analyzeUsage/types.d.ts +4 -4
- package/dist/cli/analyzeUsage/types.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/utils/fuzzy.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/utils/report.d.ts +1 -1
- package/dist/cli/analyzeUsage/utils/report.d.ts.map +1 -1
- package/dist/cli/analyzeUsage/utils/report.js +8 -8
- package/dist/cli/checkAndUpdateConfig/utils/removeDefaultConfigValues.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/validateAndMigrateConfigData.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/validateAndMigrateConfigData.js +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/writeConfigFile.d.ts +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/writeConfigFile.d.ts.map +1 -1
- package/dist/cli/checkAndUpdateConfig/utils/writeConfigFile.js +1 -1
- package/dist/cli/generateOpenApiClient/generateOpenApiClient.d.ts.map +1 -1
- package/dist/cli/generateOpenApiClient/generateOpenApiClient.js +9 -1
- package/dist/cli/index.js +3 -2
- package/dist/cli/initOpenApiConfig/utils/__tests__/buildConfig.test.js +2 -8
- package/dist/cli/initOpenApiConfig/utils/registerHandlebarTemplates.d.ts.map +1 -1
- package/dist/cli/interactive/constants.d.ts +0 -4
- package/dist/cli/interactive/constants.d.ts.map +1 -1
- package/dist/cli/interactive/constants.js +1 -5
- package/dist/cli/previewChanges/previewChanges.d.ts.map +1 -1
- package/dist/cli/previewChanges/utils/formatDiff.d.ts.map +1 -1
- package/dist/cli/previewChanges/utils/updateOutputPaths.d.ts.map +1 -1
- package/dist/cli/previewChanges/utils/updateOutputPaths.js +5 -12
- package/dist/cli/schemas/analyzeUsage.d.ts.map +1 -1
- package/dist/cli/schemas/analyzeUsage.js +4 -1
- package/dist/cli/schemas/generate.d.ts +3 -2
- package/dist/cli/schemas/generate.d.ts.map +1 -1
- package/dist/cli/schemas/generate.js +3 -2
- package/dist/common/Consts.d.ts.map +1 -1
- package/dist/common/Consts.js +1 -2
- package/dist/common/Logger.d.ts.map +1 -1
- package/dist/common/Logger.js +1 -1
- package/dist/common/LoggerMessages.d.ts +15 -3
- package/dist/common/LoggerMessages.d.ts.map +1 -1
- package/dist/common/LoggerMessages.js +18 -7
- package/dist/common/TEslintFixOptions.d.ts +20 -0
- package/dist/common/TEslintFixOptions.d.ts.map +1 -0
- package/dist/common/TEslintFixOptions.js +15 -0
- package/dist/common/TRawOptions.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/AllMigrationPlans.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/AllMigrationPlans.js +2 -4
- package/dist/common/VersionedSchema/AllVersionedSchemas/AllVersionedSchemas.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/AllVersionedSchemas.js +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedBase.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedBase.js +1 -2
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV1.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV1.js +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.js +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV4.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.d.ts +3 -2
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV5.js +10 -4
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.d.ts +4 -4
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.d.ts.map +1 -1
- package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedVersionedSchemas.js +7 -1
- package/dist/common/VersionedSchema/CommonSchemas.d.ts.map +1 -1
- package/dist/common/VersionedSchema/CommonSchemas.js +4 -2
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV2.js +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV3.d.ts.map +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV3.js +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV4.js +1 -1
- package/dist/common/VersionedSchema/MultiOptionsVersioned/MultiOptionsSchemaV5.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsMigrationPlans.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV1.d.ts +2 -2
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV1.d.ts.map +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV2.d.ts +2 -2
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV3.js +1 -1
- package/dist/common/VersionedSchema/OptionsVersioned/OptionsSchemaV4.d.ts +1 -1
- package/dist/common/VersionedSchema/Utils/__mocks__/compatibilityCases.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/__mocks__/compatibilityCases.js +3 -2
- package/dist/common/VersionedSchema/Utils/__tests__/allUtils.test.js +4 -16
- package/dist/common/VersionedSchema/Utils/buildVersionedSchema.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/createDefaultFieldsMigration.d.ts +1 -1
- package/dist/common/VersionedSchema/Utils/createDefaultFieldsMigration.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/createDefaultFieldsMigration.js +1 -1
- package/dist/common/VersionedSchema/Utils/createTrivialMigration.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/createTrivialMigration.js +1 -1
- package/dist/common/VersionedSchema/Utils/determineBestMatchingSchemaVersion.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/determineBestMatchingSchemaVersion.js +1 -3
- package/dist/common/VersionedSchema/Utils/getLatestVersionFromMigrationPlans.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/migrateDataToLatestSchemaVersion.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/migrateDataToLatestSchemaVersion.js +1 -3
- package/dist/common/VersionedSchema/Utils/replaceInvalidKeysWithMappedNames.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/replaceInvalidKeysWithMappedNames.js +1 -1
- package/dist/common/VersionedSchema/Utils/validateAndSuggestKeyCorrections.d.ts.map +1 -1
- package/dist/common/VersionedSchema/refinements/dependentOptionsRefinement.d.ts +1 -1
- package/dist/common/VersionedSchema/refinements/dependentOptionsRefinement.d.ts.map +1 -1
- package/dist/common/utils/__tests__/eslintFix.test.js +25 -67
- package/dist/common/utils/__tests__/extractEslintFixOptions.test.d.ts +2 -0
- package/dist/common/utils/__tests__/extractEslintFixOptions.test.d.ts.map +1 -0
- package/dist/common/utils/__tests__/extractEslintFixOptions.test.js +28 -0
- package/dist/common/utils/__tests__/format.test.js +26 -17
- package/dist/common/utils/__tests__/prepareTempTsConfig.test.d.ts +2 -0
- package/dist/common/utils/__tests__/prepareTempTsConfig.test.d.ts.map +1 -0
- package/dist/common/utils/__tests__/prepareTempTsConfig.test.js +78 -0
- package/dist/common/utils/codegenTempDir.d.ts +20 -0
- package/dist/common/utils/codegenTempDir.d.ts.map +1 -0
- package/dist/common/utils/codegenTempDir.js +42 -0
- package/dist/common/utils/convertArrayToObject.d.ts.map +1 -1
- package/dist/common/utils/convertArrayToObject.js +3 -8
- package/dist/common/utils/eslintFix.d.ts +48 -4
- package/dist/common/utils/eslintFix.d.ts.map +1 -1
- package/dist/common/utils/eslintFix.js +121 -15
- 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 +23 -11
- package/dist/common/utils/jsonPath.d.ts.map +1 -1
- package/dist/common/utils/prepareTempEslintConfig.d.ts +18 -0
- package/dist/common/utils/prepareTempEslintConfig.d.ts.map +1 -0
- package/dist/common/utils/prepareTempEslintConfig.js +55 -0
- package/dist/common/utils/prepareTempTsConfig.d.ts +23 -0
- package/dist/common/utils/prepareTempTsConfig.d.ts.map +1 -0
- package/dist/common/utils/prepareTempTsConfig.js +105 -0
- package/dist/core/Context.d.ts.map +1 -1
- package/dist/core/Context.js +2 -6
- package/dist/core/OpenApiClient.d.ts +15 -0
- package/dist/core/OpenApiClient.d.ts.map +1 -1
- package/dist/core/OpenApiClient.js +68 -10
- package/dist/core/WriteClient.d.ts +73 -17
- package/dist/core/WriteClient.d.ts.map +1 -1
- package/dist/core/WriteClient.js +72 -18
- package/dist/core/__tests__/WriteClient.test.js +1 -1
- package/dist/core/api/v2/parser/getOperationResponses.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getOperationResponses.js +1 -3
- package/dist/core/api/v2/parser/getServiceName.d.ts +1 -1
- package/dist/core/api/v3/parser/getOperation.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getOperationParameters.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getOperationResponses.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getOperationResponses.js +1 -3
- package/dist/core/api/v3/parser/getServiceName.d.ts +1 -1
- package/dist/core/governance/evaluateGovernanceRules.d.ts.map +1 -1
- package/dist/core/governance/evaluateGovernanceRules.js +1 -3
- package/dist/core/governance/loadGovernanceConfig.d.ts.map +1 -1
- package/dist/core/governance/loadGovernanceConfig.js +2 -4
- package/dist/core/plugins/GeneratorPlugin.model.d.ts.map +1 -1
- package/dist/core/plugins/applySemanticDiffPluginHooks.d.ts.map +1 -1
- package/dist/core/semanticDiff/__tests__/analyzeOpenApiDiff.test.js +79 -21
- package/dist/core/semanticDiff/__tests__/semanticDiffReportSchema.test.js +20 -1
- package/dist/core/semanticDiff/analyzeOpenApiDiff.d.ts +58 -6
- package/dist/core/semanticDiff/analyzeOpenApiDiff.d.ts.map +1 -1
- package/dist/core/semanticDiff/analyzeOpenApiDiff.js +47 -19
- package/dist/core/semanticDiff/semanticDiffReportSchema.d.ts +9 -1
- package/dist/core/semanticDiff/semanticDiffReportSchema.d.ts.map +1 -1
- package/dist/core/semanticDiff/semanticDiffReportSchema.js +137 -53
- package/dist/core/strict/validateOpenApiStrict.d.ts.map +1 -1
- package/dist/core/types/Consts.js +1 -1
- package/dist/core/types/DiffReport.model.d.ts +101 -0
- package/dist/core/types/DiffReport.model.d.ts.map +1 -0
- package/dist/core/types/DiffReport.model.js +5 -0
- package/dist/core/types/base/ClientArtifacts.model.d.ts +3 -3
- package/dist/core/types/base/ClientArtifacts.model.d.ts.map +1 -1
- package/dist/core/types/base/ExportedModel.model.d.ts +1 -1
- package/dist/core/types/base/ExportedModel.model.d.ts.map +1 -1
- package/dist/core/types/base/ExportedService.model.d.ts.map +1 -1
- package/dist/core/types/base/OutputPaths.model.d.ts.map +1 -1
- package/dist/core/types/base/PrefixArtifacts.model.d.ts.map +1 -1
- package/dist/core/types/base/PropertyGroup.model.d.ts +1 -1
- package/dist/core/types/base/SimpleClientArtifacts.model.d.ts +1 -1
- package/dist/core/types/base/SimpleClientArtifacts.model.d.ts.map +1 -1
- package/dist/core/types/shared/Model.model.d.ts +36 -0
- package/dist/core/types/shared/Model.model.d.ts.map +1 -1
- package/dist/core/utils/__tests__/applyDiffReportToClient.test.js +182 -0
- package/dist/core/utils/__tests__/buildMiraclesFromSemanticChanges.test.d.ts +2 -0
- package/dist/core/utils/__tests__/buildMiraclesFromSemanticChanges.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/buildMiraclesFromSemanticChanges.test.js +77 -0
- package/dist/core/utils/__tests__/expandOpenApiRefsForSemanticDiff.test.d.ts +2 -0
- package/dist/core/utils/__tests__/expandOpenApiRefsForSemanticDiff.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/expandOpenApiRefsForSemanticDiff.test.js +159 -0
- package/dist/core/utils/__tests__/loadDiffReport.test.js +131 -0
- package/dist/core/utils/__tests__/modelHelpers.test.js +27 -9
- package/dist/core/utils/__tests__/postProcessModelImports.test.js +1 -4
- package/dist/core/utils/__tests__/postProcessServiceImports.test.js +1 -4
- package/dist/core/utils/__tests__/prepareDtoModels.test.js +74 -2
- package/dist/core/utils/__tests__/registerHandlebarHelpers.test.js +27 -0
- package/dist/core/utils/__tests__/resolveClassesModeTypes.test.d.ts +2 -0
- package/dist/core/utils/__tests__/resolveClassesModeTypes.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/resolveClassesModeTypes.test.js +111 -0
- package/dist/core/utils/__tests__/semanticChangesToDiffEntries.test.d.ts +2 -0
- package/dist/core/utils/__tests__/semanticChangesToDiffEntries.test.d.ts.map +1 -0
- package/dist/core/utils/__tests__/semanticChangesToDiffEntries.test.js +68 -0
- package/dist/core/utils/__tests__/serviceHelpers.test.js +10 -11
- package/dist/core/utils/__tests__/sortByRequiredExtended.test.js +10 -27
- package/dist/core/utils/__tests__/templateRendering.test.js +71 -0
- package/dist/core/utils/adapters/__tests__/semanticToStructural.test.d.ts +2 -0
- package/dist/core/utils/adapters/__tests__/semanticToStructural.test.d.ts.map +1 -0
- package/dist/core/utils/adapters/__tests__/semanticToStructural.test.js +63 -0
- package/dist/core/utils/adapters/extractMiraclesFromSemantic.d.ts +10 -0
- package/dist/core/utils/adapters/extractMiraclesFromSemantic.d.ts.map +1 -0
- package/dist/core/utils/adapters/extractMiraclesFromSemantic.js +13 -0
- package/dist/core/utils/adapters/index.d.ts +4 -0
- package/dist/core/utils/adapters/index.d.ts.map +1 -0
- package/dist/core/utils/adapters/index.js +8 -0
- package/dist/core/utils/adapters/semanticToStructural.d.ts +12 -0
- package/dist/core/utils/adapters/semanticToStructural.d.ts.map +1 -0
- package/dist/core/utils/adapters/semanticToStructural.js +36 -0
- package/dist/core/utils/appendUniqueLinesToFile.js +1 -1
- package/dist/core/utils/applyDiffReportToClient.d.ts +13 -1
- package/dist/core/utils/applyDiffReportToClient.d.ts.map +1 -1
- package/dist/core/utils/applyDiffReportToClient.js +189 -109
- package/dist/core/utils/areEqual.d.ts +1 -1
- package/dist/core/utils/buildMiraclesFromSemanticChanges.d.ts +25 -0
- package/dist/core/utils/buildMiraclesFromSemanticChanges.d.ts.map +1 -0
- package/dist/core/utils/buildMiraclesFromSemanticChanges.js +146 -0
- package/dist/core/utils/expandOpenApiRefsForSemanticDiff.d.ts +23 -0
- package/dist/core/utils/expandOpenApiRefsForSemanticDiff.d.ts.map +1 -0
- package/dist/core/utils/expandOpenApiRefsForSemanticDiff.js +163 -0
- package/dist/core/utils/getOpenApiSpec.d.ts +18 -0
- package/dist/core/utils/getOpenApiSpec.d.ts.map +1 -1
- package/dist/core/utils/getOpenApiSpec.js +35 -0
- package/dist/core/utils/getOperationErrors.d.ts +2 -2
- package/dist/core/utils/getOperationErrors.d.ts.map +1 -1
- package/dist/core/utils/getOperationResults.d.ts +1 -1
- package/dist/core/utils/getPropertyGroupSimple.d.ts.map +1 -1
- package/dist/core/utils/getPropertyGroupSimple.js +1 -3
- package/dist/core/utils/isSubdirectory.d.ts.map +1 -1
- package/dist/core/utils/loadDiffReport.d.ts +11 -30
- package/dist/core/utils/loadDiffReport.d.ts.map +1 -1
- package/dist/core/utils/loadDiffReport.js +69 -3
- package/dist/core/utils/loadSemanticOpenApiSpec.d.ts +15 -0
- package/dist/core/utils/loadSemanticOpenApiSpec.d.ts.map +1 -0
- package/dist/core/utils/loadSemanticOpenApiSpec.js +61 -0
- package/dist/core/utils/modelHelpers.d.ts +13 -5
- package/dist/core/utils/modelHelpers.d.ts.map +1 -1
- package/dist/core/utils/modelHelpers.js +28 -23
- package/dist/core/utils/normalizeString.d.ts.map +1 -1
- package/dist/core/utils/normalizeString.js +1 -5
- package/dist/core/utils/postProcessServiceImports.d.ts.map +1 -1
- package/dist/core/utils/postProcessServiceImports.js +1 -3
- package/dist/core/utils/precompileTemplates.js +1 -0
- package/dist/core/utils/prepareAlias.d.ts +1 -1
- package/dist/core/utils/prepareDtoModels.d.ts +5 -0
- package/dist/core/utils/prepareDtoModels.d.ts.map +1 -1
- package/dist/core/utils/prepareDtoModels.js +56 -13
- package/dist/core/utils/registerHandlebarHelpers.d.ts +1 -0
- package/dist/core/utils/registerHandlebarHelpers.d.ts.map +1 -1
- package/dist/core/utils/registerHandlebarHelpers.js +3 -0
- package/dist/core/utils/registerHandlebarTemplates.d.ts +1 -0
- package/dist/core/utils/registerHandlebarTemplates.d.ts.map +1 -1
- package/dist/core/utils/resolveClassesModeTypes.d.ts +8 -0
- package/dist/core/utils/resolveClassesModeTypes.d.ts.map +1 -0
- package/dist/core/utils/resolveClassesModeTypes.js +77 -0
- package/dist/core/utils/semanticChangesToDiffEntries.d.ts +37 -0
- package/dist/core/utils/semanticChangesToDiffEntries.d.ts.map +1 -0
- package/dist/core/utils/semanticChangesToDiffEntries.js +99 -0
- package/dist/core/utils/semanticPointerToJsonPath.d.ts +7 -0
- package/dist/core/utils/semanticPointerToJsonPath.d.ts.map +1 -0
- package/dist/core/utils/semanticPointerToJsonPath.js +67 -0
- package/dist/core/utils/serviceHelpers.d.ts +6 -7
- package/dist/core/utils/serviceHelpers.d.ts.map +1 -1
- package/dist/core/utils/serviceHelpers.js +8 -25
- package/dist/core/utils/sortModelByName.d.ts +1 -1
- package/dist/core/utils/writeClientExecutor.d.ts +1 -2
- package/dist/core/utils/writeClientExecutor.d.ts.map +1 -1
- package/dist/core/utils/writeClientExecutor.js +2 -6
- package/dist/core/utils/writeClientModels.d.ts +1 -2
- package/dist/core/utils/writeClientModels.d.ts.map +1 -1
- package/dist/core/utils/writeClientModels.js +4 -6
- package/dist/core/utils/writeClientSchemas.d.ts +1 -3
- package/dist/core/utils/writeClientSchemas.d.ts.map +1 -1
- package/dist/core/utils/writeClientSchemas.js +2 -7
- package/dist/core/utils/writeClientServices.d.ts +15 -16
- package/dist/core/utils/writeClientServices.d.ts.map +1 -1
- package/dist/core/utils/writeClientServices.js +6 -13
- package/dist/templatesCompiled/client/exportModels.d.ts +17 -11
- package/dist/templatesCompiled/client/exportModels.d.ts.map +1 -1
- package/dist/templatesCompiled/client/exportModels.js +96 -49
- package/dist/templatesCompiled/client/exportService.d.ts +13 -10
- package/dist/templatesCompiled/client/exportService.d.ts.map +1 -1
- package/dist/templatesCompiled/client/exportService.js +95 -67
- package/dist/templatesCompiled/client/partials/header.d.ts +1 -0
- package/dist/templatesCompiled/client/partials/header.d.ts.map +1 -1
- package/dist/templatesCompiled/client/partials/header.js +11 -2
- package/package.json +130 -136
- package/dist/cli/analyzeDiff/buildLegacyReport.d.ts +0 -17
- package/dist/cli/analyzeDiff/buildLegacyReport.d.ts.map +0 -1
- package/dist/cli/analyzeDiff/buildLegacyReport.js +0 -54
- package/dist/cli/analyzeDiff/diffEngine.d.ts +0 -54
- package/dist/cli/analyzeDiff/diffEngine.d.ts.map +0 -1
- package/dist/cli/analyzeDiff/diffEngine.js +0 -209
|
@@ -13,7 +13,7 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
13
13
|
}
|
|
14
14
|
return undefined;
|
|
15
15
|
};
|
|
16
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isDefinition"), { "name": "if", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line":
|
|
16
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isDefinition"), { "name": "if", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 51, "column": 7 } } })) != null ? stack1 : "");
|
|
17
17
|
}, "2": function (container, depth0, helpers, partials, data) {
|
|
18
18
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
19
19
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -21,7 +21,7 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
21
21
|
}
|
|
22
22
|
return undefined;
|
|
23
23
|
};
|
|
24
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "rawName"), { "name": "if", "hash": {}, "fn": container.program(3, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line":
|
|
24
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "rawName"), { "name": "if", "hash": {}, "fn": container.program(3, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 50, "column": 7 } } })) != null ? stack1 : "");
|
|
25
25
|
}, "3": function (container, depth0, helpers, partials, data) {
|
|
26
26
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
27
27
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -29,7 +29,7 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
29
29
|
}
|
|
30
30
|
return undefined;
|
|
31
31
|
};
|
|
32
|
-
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "export"), "interface", { "name": "equals", "hash": {}, "fn": container.program(4, data, 0), "inverse": container.program(
|
|
32
|
+
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "export"), "interface", { "name": "equals", "hash": {}, "fn": container.program(4, data, 0), "inverse": container.program(19, data, 0), "data": data, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 48, "column": 11 } } })) != null ? stack1 : "")
|
|
33
33
|
+ "\n";
|
|
34
34
|
}, "4": function (container, depth0, helpers, partials, data) {
|
|
35
35
|
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
@@ -43,6 +43,7 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
43
43
|
+ ((stack1 = container.lambda(container.strict(depth0, "rawName", { "start": { "line": 15, "column": 20 }, "end": { "line": 15, "column": 27 } }), depth0)) != null ? stack1 : "")
|
|
44
44
|
+ " {\n"
|
|
45
45
|
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(7, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 36, "column": 13 } } })) != null ? stack1 : "")
|
|
46
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "ghostProperties"), { "name": "if", "hash": {}, "fn": container.program(16, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 44, "column": 11 } } })) != null ? stack1 : "")
|
|
46
47
|
+ "}\n";
|
|
47
48
|
}, "5": function (container, depth0, helpers, partials, data) {
|
|
48
49
|
var stack1;
|
|
@@ -121,6 +122,19 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
121
122
|
+ ((stack1 = container.lambda(container.strict(lookupProperty(depth0, "diff"), "previousType", { "start": { "line": 30, "column": 31 }, "end": { "line": 30, "column": 48 } }), depth0)) != null ? stack1 : "")
|
|
122
123
|
+ "\n */\n";
|
|
123
124
|
}, "16": function (container, depth0, helpers, partials, data) {
|
|
125
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
126
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
127
|
+
return parent[propertyName];
|
|
128
|
+
}
|
|
129
|
+
return undefined;
|
|
130
|
+
};
|
|
131
|
+
return ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "ghostProperties"), { "name": "each", "hash": {}, "fn": container.program(17, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 43, "column": 13 } } })) != null ? stack1 : "");
|
|
132
|
+
}, "17": function (container, depth0, helpers, partials, data) {
|
|
133
|
+
var stack1;
|
|
134
|
+
return " /**\n * @deprecated Removed from API\n */\n "
|
|
135
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "name", { "start": { "line": 42, "column": 7 }, "end": { "line": 42, "column": 11 } }), depth0)) != null ? stack1 : "")
|
|
136
|
+
+ "?: unknown;\n";
|
|
137
|
+
}, "19": function (container, depth0, helpers, partials, data) {
|
|
124
138
|
var stack1, alias1 = container.strict, alias2 = container.lambda, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
125
139
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
126
140
|
return parent[propertyName];
|
|
@@ -128,37 +142,37 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
128
142
|
return undefined;
|
|
129
143
|
};
|
|
130
144
|
return "export type "
|
|
131
|
-
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line":
|
|
145
|
+
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 22 } }), depth0)) != null ? stack1 : "")
|
|
132
146
|
+ " = "
|
|
133
|
-
+ ((stack1 = alias2(alias1(depth0, "rawType", { "start": { "line":
|
|
147
|
+
+ ((stack1 = alias2(alias1(depth0, "rawType", { "start": { "line": 47, "column": 31 }, "end": { "line": 47, "column": 38 } }), depth0)) != null ? stack1 : "")
|
|
134
148
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "isNullable"), depth0, { "name": "isNullable", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
135
149
|
+ ";\n";
|
|
136
|
-
}, "
|
|
150
|
+
}, "21": function (container, depth0, helpers, partials, data) {
|
|
137
151
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
138
152
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
139
153
|
return parent[propertyName];
|
|
140
154
|
}
|
|
141
155
|
return undefined;
|
|
142
156
|
};
|
|
143
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isDefinition"), { "name": "if", "hash": {}, "fn": container.program(
|
|
144
|
-
}, "
|
|
157
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isDefinition"), { "name": "if", "hash": {}, "fn": container.program(22, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 55, "column": 0 }, "end": { "line": 101, "column": 7 } } })) != null ? stack1 : "");
|
|
158
|
+
}, "22": function (container, depth0, helpers, partials, data) {
|
|
145
159
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
146
160
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
147
161
|
return parent[propertyName];
|
|
148
162
|
}
|
|
149
163
|
return undefined;
|
|
150
164
|
};
|
|
151
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoName"), { "name": "if", "hash": {}, "fn": container.program(
|
|
152
|
-
}, "
|
|
165
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoName"), { "name": "if", "hash": {}, "fn": container.program(23, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 56, "column": 0 }, "end": { "line": 100, "column": 7 } } })) != null ? stack1 : "");
|
|
166
|
+
}, "23": function (container, depth0, helpers, partials, data) {
|
|
153
167
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
154
168
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
155
169
|
return parent[propertyName];
|
|
156
170
|
}
|
|
157
171
|
return undefined;
|
|
158
172
|
};
|
|
159
|
-
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoKind"), "class", { "name": "equals", "hash": {}, "fn": container.program(
|
|
173
|
+
return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoKind"), "class", { "name": "equals", "hash": {}, "fn": container.program(24, data, 0), "inverse": container.program(38, data, 0), "data": data, "loc": { "start": { "line": 57, "column": 0 }, "end": { "line": 98, "column": 11 } } })) != null ? stack1 : "")
|
|
160
174
|
+ "\n";
|
|
161
|
-
}, "
|
|
175
|
+
}, "24": function (container, depth0, helpers, partials, data) {
|
|
162
176
|
var stack1, alias1 = container.strict, alias2 = container.lambda, alias3 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
163
177
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
164
178
|
return parent[propertyName];
|
|
@@ -166,23 +180,23 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
166
180
|
return undefined;
|
|
167
181
|
};
|
|
168
182
|
return "export class "
|
|
169
|
-
+ ((stack1 = alias2(alias1(depth0, "dtoName", { "start": { "line":
|
|
183
|
+
+ ((stack1 = alias2(alias1(depth0, "dtoName", { "start": { "line": 58, "column": 16 }, "end": { "line": 58, "column": 23 } }), depth0)) != null ? stack1 : "")
|
|
170
184
|
+ " extends BaseDto<"
|
|
171
|
-
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line":
|
|
185
|
+
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line": 58, "column": 46 }, "end": { "line": 58, "column": 53 } }), depth0)) != null ? stack1 : "")
|
|
172
186
|
+ "> {\n"
|
|
173
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias3, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(
|
|
187
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias3, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(25, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 61, "column": 13 } } })) != null ? stack1 : "")
|
|
174
188
|
+ "\n"
|
|
175
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(alias3, lookupProperty(depth0, "dtoGetters"), { "name": "if", "hash": {}, "fn": container.program(
|
|
189
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(alias3, lookupProperty(depth0, "dtoGetters"), { "name": "if", "hash": {}, "fn": container.program(27, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 74, "column": 11 } } })) != null ? stack1 : "")
|
|
176
190
|
+ "\n public constructor(data: "
|
|
177
|
-
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line":
|
|
191
|
+
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line": 76, "column": 32 }, "end": { "line": 76, "column": 39 } }), depth0)) != null ? stack1 : "")
|
|
178
192
|
+ ") {\n super(data);\n"
|
|
179
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias3, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(
|
|
193
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias3, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(31, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 80, "column": 17 } } })) != null ? stack1 : "")
|
|
180
194
|
+ " }\n\n public toJSON(): "
|
|
181
|
-
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line":
|
|
195
|
+
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line": 83, "column": 24 }, "end": { "line": 83, "column": 31 } }), depth0)) != null ? stack1 : "")
|
|
182
196
|
+ " {\n return {\n ...this._raw,\n"
|
|
183
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias3, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(
|
|
197
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias3, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(33, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 92, "column": 21 } } })) != null ? stack1 : "")
|
|
184
198
|
+ " };\n }\n}\n";
|
|
185
|
-
}, "
|
|
199
|
+
}, "25": function (container, depth0, helpers, partials, data) {
|
|
186
200
|
var stack1, alias1 = container.strict, alias2 = container.lambda, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
187
201
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
188
202
|
return parent[propertyName];
|
|
@@ -190,20 +204,20 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
190
204
|
return undefined;
|
|
191
205
|
};
|
|
192
206
|
return " public readonly "
|
|
193
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
207
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 60, "column": 23 }, "end": { "line": 60, "column": 27 } }), depth0)) != null ? stack1 : "")
|
|
194
208
|
+ ": "
|
|
195
|
-
+ ((stack1 = alias2(alias1(depth0, "dtoType", { "start": { "line":
|
|
209
|
+
+ ((stack1 = alias2(alias1(depth0, "dtoType", { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 42 } }), depth0)) != null ? stack1 : "")
|
|
196
210
|
+ ((stack1 = container.invokePartial(lookupProperty(partials, "isNullable"), depth0, { "name": "isNullable", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
|
|
197
211
|
+ ";\n";
|
|
198
|
-
}, "
|
|
212
|
+
}, "27": function (container, depth0, helpers, partials, data) {
|
|
199
213
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
200
214
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
201
215
|
return parent[propertyName];
|
|
202
216
|
}
|
|
203
217
|
return undefined;
|
|
204
218
|
};
|
|
205
|
-
return ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoGetters"), { "name": "each", "hash": {}, "fn": container.program(
|
|
206
|
-
}, "
|
|
219
|
+
return ((stack1 = lookupProperty(helpers, "each").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoGetters"), { "name": "each", "hash": {}, "fn": container.program(28, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 73, "column": 13 } } })) != null ? stack1 : "");
|
|
220
|
+
}, "28": function (container, depth0, helpers, partials, data) {
|
|
207
221
|
var stack1, alias1 = container.strict, alias2 = container.lambda, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
208
222
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
209
223
|
return parent[propertyName];
|
|
@@ -211,55 +225,86 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
211
225
|
return undefined;
|
|
212
226
|
};
|
|
213
227
|
return " /**\n * @miracle: "
|
|
214
|
-
+ ((stack1 = alias2(alias1(depth0, "oldName", { "start": { "line":
|
|
228
|
+
+ ((stack1 = alias2(alias1(depth0, "oldName", { "start": { "line": 66, "column": 20 }, "end": { "line": 66, "column": 27 } }), depth0)) != null ? stack1 : "")
|
|
215
229
|
+ " -> "
|
|
216
|
-
+ ((stack1 = alias2(alias1(depth0, "newName", { "start": { "line":
|
|
217
|
-
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "confidence"), { "name": "if", "hash": {}, "fn": container.program(
|
|
230
|
+
+ ((stack1 = alias2(alias1(depth0, "newName", { "start": { "line": 66, "column": 37 }, "end": { "line": 66, "column": 44 } }), depth0)) != null ? stack1 : "")
|
|
231
|
+
+ ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "confidence"), { "name": "if", "hash": {}, "fn": container.program(29, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 66, "column": 47 }, "end": { "line": 66, "column": 103 } } })) != null ? stack1 : "")
|
|
218
232
|
+ "\n * @deprecated\n */\n public get "
|
|
219
|
-
+ ((stack1 = alias2(alias1(depth0, "oldName", { "start": { "line":
|
|
233
|
+
+ ((stack1 = alias2(alias1(depth0, "oldName", { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 25 } }), depth0)) != null ? stack1 : "")
|
|
220
234
|
+ "() {\n return "
|
|
221
|
-
+ ((stack1 = alias2(alias1(depth0, "target", { "start": { "line":
|
|
235
|
+
+ ((stack1 = alias2(alias1(depth0, "target", { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 24 } }), depth0)) != null ? stack1 : "")
|
|
222
236
|
+ ";\n }\n\n";
|
|
223
|
-
}, "
|
|
237
|
+
}, "29": function (container, depth0, helpers, partials, data) {
|
|
224
238
|
var stack1;
|
|
225
239
|
return " (confidence: "
|
|
226
|
-
+ ((stack1 = container.lambda(container.strict(depth0, "confidence", { "start": { "line":
|
|
240
|
+
+ ((stack1 = container.lambda(container.strict(depth0, "confidence", { "start": { "line": 66, "column": 82 }, "end": { "line": 66, "column": 92 } }), depth0)) != null ? stack1 : "")
|
|
227
241
|
+ ")";
|
|
228
|
-
}, "
|
|
242
|
+
}, "31": function (container, depth0, helpers, partials, data) {
|
|
229
243
|
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
230
244
|
return " this"
|
|
231
|
-
+ ((stack1 = alias2(alias1(depth0, "dtoTarget", { "start": { "line":
|
|
245
|
+
+ ((stack1 = alias2(alias1(depth0, "dtoTarget", { "start": { "line": 79, "column": 15 }, "end": { "line": 79, "column": 24 } }), depth0)) != null ? stack1 : "")
|
|
232
246
|
+ " = "
|
|
233
|
-
+ ((stack1 = alias2(alias1(depth0, "dtoInit", { "start": { "line":
|
|
247
|
+
+ ((stack1 = alias2(alias1(depth0, "dtoInit", { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 40 } }), depth0)) != null ? stack1 : "")
|
|
234
248
|
+ ";\n";
|
|
235
|
-
}, "
|
|
249
|
+
}, "33": function (container, depth0, helpers, partials, data) {
|
|
236
250
|
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
237
251
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
238
252
|
return parent[propertyName];
|
|
239
253
|
}
|
|
240
254
|
return undefined;
|
|
241
255
|
};
|
|
242
|
-
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoToJSON"), { "name": "if", "hash": {}, "fn": container.program(
|
|
243
|
-
}, "
|
|
256
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "dtoToJSON"), { "name": "if", "hash": {}, "fn": container.program(34, data, 0), "inverse": container.program(36, data, 0), "data": data, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 91, "column": 19 } } })) != null ? stack1 : "");
|
|
257
|
+
}, "34": function (container, depth0, helpers, partials, data) {
|
|
244
258
|
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
245
259
|
return " "
|
|
246
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
260
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 88, "column": 15 }, "end": { "line": 88, "column": 19 } }), depth0)) != null ? stack1 : "")
|
|
247
261
|
+ ": "
|
|
248
|
-
+ ((stack1 = alias2(alias1(depth0, "dtoToJSON", { "start": { "line":
|
|
262
|
+
+ ((stack1 = alias2(alias1(depth0, "dtoToJSON", { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 36 } }), depth0)) != null ? stack1 : "")
|
|
249
263
|
+ ",\n";
|
|
250
|
-
}, "
|
|
264
|
+
}, "36": function (container, depth0, helpers, partials, data) {
|
|
251
265
|
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
252
266
|
return " "
|
|
253
|
-
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line":
|
|
267
|
+
+ ((stack1 = alias2(alias1(depth0, "name", { "start": { "line": 90, "column": 15 }, "end": { "line": 90, "column": 19 } }), depth0)) != null ? stack1 : "")
|
|
254
268
|
+ ": this"
|
|
255
|
-
+ ((stack1 = alias2(alias1(depth0, "dtoTarget", { "start": { "line":
|
|
269
|
+
+ ((stack1 = alias2(alias1(depth0, "dtoTarget", { "start": { "line": 90, "column": 31 }, "end": { "line": 90, "column": 40 } }), depth0)) != null ? stack1 : "")
|
|
256
270
|
+ ",\n";
|
|
257
|
-
}, "
|
|
271
|
+
}, "38": function (container, depth0, helpers, partials, data) {
|
|
258
272
|
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
259
273
|
return "export type "
|
|
260
|
-
+ ((stack1 = alias2(alias1(depth0, "dtoName", { "start": { "line":
|
|
274
|
+
+ ((stack1 = alias2(alias1(depth0, "dtoName", { "start": { "line": 97, "column": 15 }, "end": { "line": 97, "column": 22 } }), depth0)) != null ? stack1 : "")
|
|
261
275
|
+ " = "
|
|
262
|
-
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line":
|
|
276
|
+
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 38 } }), depth0)) != null ? stack1 : "")
|
|
277
|
+
+ ";\n";
|
|
278
|
+
}, "40": function (container, depth0, helpers, partials, data) {
|
|
279
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
280
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
281
|
+
return parent[propertyName];
|
|
282
|
+
}
|
|
283
|
+
return undefined;
|
|
284
|
+
};
|
|
285
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isDefinition"), { "name": "if", "hash": {}, "fn": container.program(41, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 105, "column": 0 }, "end": { "line": 111, "column": 7 } } })) != null ? stack1 : "");
|
|
286
|
+
}, "41": function (container, depth0, helpers, partials, data) {
|
|
287
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
288
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
289
|
+
return parent[propertyName];
|
|
290
|
+
}
|
|
291
|
+
return undefined;
|
|
292
|
+
};
|
|
293
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "exportName"), { "name": "if", "hash": {}, "fn": container.program(42, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 106, "column": 0 }, "end": { "line": 110, "column": 7 } } })) != null ? stack1 : "");
|
|
294
|
+
}, "42": function (container, depth0, helpers, partials, data) {
|
|
295
|
+
var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
296
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
297
|
+
return parent[propertyName];
|
|
298
|
+
}
|
|
299
|
+
return undefined;
|
|
300
|
+
};
|
|
301
|
+
return ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "rawName"), { "name": "if", "hash": {}, "fn": container.program(43, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 107, "column": 0 }, "end": { "line": 109, "column": 7 } } })) != null ? stack1 : "");
|
|
302
|
+
}, "43": function (container, depth0, helpers, partials, data) {
|
|
303
|
+
var stack1, alias1 = container.strict, alias2 = container.lambda;
|
|
304
|
+
return "export type "
|
|
305
|
+
+ ((stack1 = alias2(alias1(depth0, "exportName", { "start": { "line": 108, "column": 15 }, "end": { "line": 108, "column": 25 } }), depth0)) != null ? stack1 : "")
|
|
306
|
+
+ " = "
|
|
307
|
+
+ ((stack1 = alias2(alias1(depth0, "rawName", { "start": { "line": 108, "column": 34 }, "end": { "line": 108, "column": 41 } }), depth0)) != null ? stack1 : "")
|
|
263
308
|
+ ";\n";
|
|
264
309
|
}, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
|
|
265
310
|
var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
|
|
@@ -274,7 +319,9 @@ exports.default = { "1": function (container, depth0, helpers, partials, data) {
|
|
|
274
319
|
+ "';\nimport { fromArray } from '"
|
|
275
320
|
+ ((stack1 = lookupProperty(helpers, "joinPath").call(alias1, lookupProperty(lookupProperty(data, "root"), "outputCore"), "dtoUtils", { "name": "joinPath", "hash": {}, "data": data, "loc": { "start": { "line": 4, "column": 27 }, "end": { "line": 4, "column": 69 } } })) != null ? stack1 : "")
|
|
276
321
|
+ "';\n\n"
|
|
277
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line":
|
|
322
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 52, "column": 9 } } })) != null ? stack1 : "")
|
|
323
|
+
+ "\n"
|
|
324
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(21, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 102, "column": 9 } } })) != null ? stack1 : "")
|
|
278
325
|
+ "\n"
|
|
279
|
-
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(
|
|
326
|
+
+ ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "models"), { "name": "each", "hash": {}, "fn": container.program(40, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 104, "column": 0 }, "end": { "line": 112, "column": 9 } } })) != null ? stack1 : "");
|
|
280
327
|
}, "usePartial": true, "useData": true };
|
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
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) =>
|
|
3
|
+
"2": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
4
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) =>
|
|
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;
|
|
6
7
|
"7": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
7
8
|
"9": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
8
9
|
"11": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
9
|
-
"13": (container: any, depth0: any, helpers: any, partials: any, data: any
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"17": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
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) => string;
|
|
12
|
+
"17": (container: any, depth0: any, helpers: any, partials: any, data: any, blockParams: any, depths: any) => string;
|
|
13
13
|
"18": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
14
|
-
"20": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
14
|
+
"20": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
15
|
+
"21": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
15
16
|
"22": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
16
|
-
"24": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
17
|
-
"25": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
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
|
-
"28": (container: any, depth0: any, helpers: any, partials: any, data: any) =>
|
|
19
|
+
"28": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
20
|
+
"29": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
|
|
20
21
|
"30": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
21
22
|
"32": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
22
23
|
"34": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
23
24
|
"36": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
25
|
+
"38": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
26
|
+
"40": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
|
|
24
27
|
compiler: (string | number)[];
|
|
25
28
|
main: (container: any, depth0: any, helpers: any, partials: any, data: any, blockParams: any, depths: any) => string;
|
|
26
29
|
usePartial: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exportService.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/exportService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"exportService.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/client/exportService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA+SoD"}
|