runlify 0.0.718 → 0.0.720
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/LICENSE +0 -0
- package/build/cli.js +0 -0
- package/build/commands/availableEnvironments.js +0 -0
- package/build/commands/generate.js +0 -0
- package/build/commands/init.js +0 -0
- package/build/commands/login.js +0 -0
- package/build/commands/logout.js +0 -0
- package/build/commands/pullEnvs.js +0 -0
- package/build/commands/readEnv.js +0 -0
- package/build/commands/regen.js +0 -0
- package/build/commands/runlify.js +0 -0
- package/build/commands/showToken.js +0 -0
- package/build/commands/start.js +0 -0
- package/build/commands/tryGetMeta.js +0 -0
- package/build/documentation/algorithm.js +0 -0
- package/build/documentation/algoritmToDoc.js +0 -0
- package/build/documentation/algoritmToDoc.spec.js +0 -0
- package/build/documentation/curlExampleToText.js +0 -0
- package/build/documentation/curlExampleToText.spec.js +0 -0
- package/build/documentation/doc.js +0 -0
- package/build/documentation/docToFlatDoc.js +0 -0
- package/build/documentation/docToFlatDoc.spec.js +0 -0
- package/build/documentation/flatDoc.js +0 -0
- package/build/documentation/flatDocToText.js +0 -0
- package/build/documentation/flatDocToText.spec.js +0 -0
- package/build/documentation/templateDoc.js +0 -0
- package/build/documentation/templateDocToDoc.js +0 -0
- package/build/extensions/auth.js +0 -0
- package/build/extensions/cli-extension.js +0 -0
- package/build/extensions/cloudEnv.js +0 -0
- package/build/extensions/cloudMeta.js +0 -0
- package/build/extensions/globalConfig.js +0 -0
- package/build/extensions/localConfig.js +0 -0
- package/build/extensions/preventRunningIfUpdateAvailable.js +0 -0
- package/build/index.js +0 -0
- package/build/log.js +0 -0
- package/build/projectsGeneration/args.js +0 -0
- package/build/projectsGeneration/builders/AdditionalServiceBuilder.js +12 -11
- package/build/projectsGeneration/builders/BaseBuilder.js +0 -0
- package/build/projectsGeneration/builders/BaseSavableEntityBuilder.js +22 -4
- package/build/projectsGeneration/builders/CatalogBuilder.js +0 -0
- package/build/projectsGeneration/builders/ConfigVarBuilder.js +0 -0
- package/build/projectsGeneration/builders/DeploymentBuilder.js +0 -0
- package/build/projectsGeneration/builders/DocumentBuilder.js +0 -0
- package/build/projectsGeneration/builders/InfoRegistryBuilder.js +0 -0
- package/build/projectsGeneration/builders/PageBuilder.js +0 -0
- package/build/projectsGeneration/builders/PermissionBuilder.js +0 -0
- package/build/projectsGeneration/builders/ReportBuilder.js +0 -0
- package/build/projectsGeneration/builders/RestApiBuilder.js +0 -0
- package/build/projectsGeneration/builders/RestApiMethodBuilder.js +0 -0
- package/build/projectsGeneration/builders/RoleBuilder.js +0 -0
- package/build/projectsGeneration/builders/SumRegistryBuilder.js +0 -0
- package/build/projectsGeneration/builders/SystemMetaBuilder.js +22 -4
- package/build/projectsGeneration/builders/TelegramBotBuilder.js +0 -0
- package/build/projectsGeneration/builders/buildedTypes.js +8 -2
- package/build/projectsGeneration/builders/curlTypes.js +0 -0
- package/build/projectsGeneration/builders/docs/DocumentationOfDocument.js +0 -0
- package/build/projectsGeneration/builders/docs/DocumentationOfDocumentBuilder.js +0 -0
- package/build/projectsGeneration/builders/fields/BaseFieldBuilder.js +7 -1
- package/build/projectsGeneration/builders/fields/IdFieldBuilder.js +0 -0
- package/build/projectsGeneration/builders/fields/LinkFieldBuilder.js +0 -0
- package/build/projectsGeneration/builders/fields/ModelFieldBuilder.js +2 -7
- package/build/projectsGeneration/builders/fields/ScalarFieldBuilder.js +0 -0
- package/build/projectsGeneration/builders/fields/ViewLinkFieldBuilder.js +0 -0
- package/build/projectsGeneration/builders/index.js +0 -0
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientArgsModelBuilder.js +0 -0
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientBaseModelBuilder.js +0 -0
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientBuilder.js +0 -0
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientQueryMethodsBuilder.js +0 -0
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientReturnModelBuilder.js +0 -0
- package/build/projectsGeneration/builders/materialUiIcons.js +0 -0
- package/build/projectsGeneration/builders/mehods/ArgsModelBuilder.js +0 -0
- package/build/projectsGeneration/builders/mehods/BaseModelBuilder.js +0 -0
- package/build/projectsGeneration/builders/mehods/MethodBuilder.js +50 -4
- package/build/projectsGeneration/builders/mehods/ReturnObjectBuilder.js +21 -0
- package/build/projectsGeneration/builders/mehods/ReturnScalarBuilder.js +17 -0
- package/build/projectsGeneration/builders/mehods/ReturnVoidBuilder.js +15 -0
- package/build/projectsGeneration/builders/menu/BaseMenuItemBuilder.js +0 -0
- package/build/projectsGeneration/builders/menu/ExternalEnvMenuItemBuilder.js +0 -0
- package/build/projectsGeneration/builders/menu/ExternalMenuItemBuilder.js +0 -0
- package/build/projectsGeneration/builders/menu/GroupMenuItemBuilder.js +0 -0
- package/build/projectsGeneration/builders/menu/InternalMenuItemBuilder.js +0 -0
- package/build/projectsGeneration/builders/tsFilterFields.js +0 -0
- package/build/projectsGeneration/builders/tsFilterFields.spec.js +0 -0
- package/build/projectsGeneration/builders/types.js +0 -0
- package/build/projectsGeneration/builders/ui/Forms.js +0 -0
- package/build/projectsGeneration/builders/ui/FormsBuilder.js +0 -0
- package/build/projectsGeneration/builders/ui/ListFormBuilder.js +0 -0
- package/build/projectsGeneration/builders/ui/ListFormFilterBuilder.js +0 -0
- package/build/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.js +0 -0
- package/build/projectsGeneration/builders/utils/accessFunctions.js +0 -0
- package/build/projectsGeneration/builders/validation/baseValudationToYupAssertions.js +0 -0
- package/build/projectsGeneration/builders/validation/bigintValudationToYupAssertions.js +0 -0
- package/build/projectsGeneration/builders/validation/bigintValudationToYupAssertions.spec.js +0 -0
- package/build/projectsGeneration/builders/validation/floatValudationToYupAssertions.js +0 -0
- package/build/projectsGeneration/builders/validation/floatValudationToYupAssertions.spec.js +0 -0
- package/build/projectsGeneration/builders/validation/intValudationToYupAssertions.js +0 -0
- package/build/projectsGeneration/builders/validation/intValudationToYupAssertions.spec.js +0 -0
- package/build/projectsGeneration/builders/validation/numberValudationToYupAssertions.js +0 -0
- package/build/projectsGeneration/builders/validation/stringValudationToYupAssertions.js +0 -0
- package/build/projectsGeneration/builders/validation/stringValudationToYupAssertions.spec.js +0 -0
- package/build/projectsGeneration/builders/validation/types.js +0 -0
- package/build/projectsGeneration/commonEntities/addAggregateTrackings.js +0 -0
- package/build/projectsGeneration/commonEntities/addAuditLogs.js +0 -0
- package/build/projectsGeneration/commonEntities/addAutogeneration.js +0 -0
- package/build/projectsGeneration/commonEntities/addCommonCommands.js +0 -0
- package/build/projectsGeneration/commonEntities/addCommonEntities.js +0 -0
- package/build/projectsGeneration/commonEntities/addConfigurationVariables.js +0 -0
- package/build/projectsGeneration/commonEntities/addLanguages.js +0 -0
- package/build/projectsGeneration/commonEntities/addManagers.js +0 -0
- package/build/projectsGeneration/commonEntities/addRefreshTokens.js +0 -0
- package/build/projectsGeneration/commonEntities/addRoles.js +0 -0
- package/build/projectsGeneration/commonEntities/addTenants.js +0 -0
- package/build/projectsGeneration/commonEntities/addUserSettings.js +0 -0
- package/build/projectsGeneration/commonEntities/addUsers.js +0 -0
- package/build/projectsGeneration/commonEntities/index.js +0 -0
- package/build/projectsGeneration/dataForTests.js +2 -1
- package/build/projectsGeneration/defaultCatalogs/addElasticSearch.js +0 -0
- package/build/projectsGeneration/defaultCatalogs/files.js +0 -0
- package/build/projectsGeneration/defaultCatalogs/index.js +0 -0
- package/build/projectsGeneration/fileCleaners/back/graphServices/cleanGraphServices.js +0 -0
- package/build/projectsGeneration/fileCleaners/back/services/cleanServices.js +0 -0
- package/build/projectsGeneration/fileCleaners/cleanFiles.js +0 -0
- package/build/projectsGeneration/fileCleaners/ui/cleanUi.js +0 -0
- package/build/projectsGeneration/fileCleaners/ui/pages/cleanPages.js +0 -0
- package/build/projectsGeneration/fileCleaners/ui/widgets/cleanWidgets.js +0 -0
- package/build/projectsGeneration/fileCleaners/ui/widgets/cleanWidgetsByType.js +0 -0
- package/build/projectsGeneration/genGraphSchemesByLocalGenerator.js +0 -0
- package/build/projectsGeneration/generateAdditionalService.js +0 -0
- package/build/projectsGeneration/generateEntity.js +0 -0
- package/build/projectsGeneration/generateEnvironment.js +0 -0
- package/build/projectsGeneration/generateProject.js +0 -0
- package/build/projectsGeneration/generators/fieldTypeToTsType.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/Entities.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/devEnum.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/elastic/elastic.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/elastic/jobs.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/enum.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/Chart.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/values.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/ciNotify.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/defaultEnv.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplBack.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplUI.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocSpec.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsConfiguration.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsIntegrationClient.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/findLinksToEntities.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getAllSavableEntities.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getProjectSpec.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/titleMd.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/gitlabCi.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/queue/getQueue.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/index.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClient.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClients.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.js +8 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.spec.js +81 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFieldsWithTypes.js +7 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/integrationClientConstrictors.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/tsModelTmpl.js +3 -6
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/types.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalResolvers.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/permissionToGraphql.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/resolvers.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/typeDefs.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalTypes.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityAdditionalPermissionToGraphqlTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityBasePermissionToGraphql.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityPermissionToGraphqlTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseResolvers.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseTypeDefs.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/resolvers.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/typeDefs.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/resolvers.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/types.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/initCommon.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/initDev.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/initEntities.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/root/config/config.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/root/restRouter.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/BaseServices.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.js +21 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.spec.js +69 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.js +8 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.spec.js +100 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.js +33 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.spec.js +58 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/types.js +3 -14
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/additionalClass.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/class.js +6 -2
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/config.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnCreate.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnDelete.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnUpdate.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterCreate.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterDelete.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterUpdate.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeCreate.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeDelete.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpdate.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpsert.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/changeListFilter.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/tenantIdRequiredHooks.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initBuiltInHooks.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initUserHooks.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/serviceConstrictors.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/Dashboard.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/MetaPage.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/ResourcesPage.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/additionalRoutes.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/entityMapping.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/Chart.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/values.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/ciNotify.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/docs/adminAppDocsConfiguration.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/gitlabCi.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/App.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/contexts/SpacesContext.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/getAdditionalMethods.js +2 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/index.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/i18nProvider/index.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/AppBar.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/Menu.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/routes.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/functions/Functions.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/getAdditionalMenu.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/getDefaultMenu.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangCatalogsTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangDocsTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangInfoRegistriesTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangReportsTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangSumRegistriesTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsForServicesOfSavablesTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsLangTmpl.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/index.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/index.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/EntityFilter.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/index.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultActions.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultEntityShow.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/MainTab.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/additionalTabs.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/index.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/Icon.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/resources.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/widgets/count/CountWidget.js +0 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.js +0 -0
- package/build/projectsGeneration/generators/graph/fieldTypeToGraphScalar.js +0 -0
- package/build/projectsGeneration/generators/graph/fieldTypeToGraphScalarStringified.js +0 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphField.js +0 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphIdField.js +0 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphIdFieldType.js +0 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphLinkField.js +0 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphModelField.js +0 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphScalarField.js +0 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphField.js +0 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphIdFilter.js +0 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphLinkFilter.js +0 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphScalarFilter.js +0 -0
- package/build/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.js +3 -3
- package/build/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.spec.js +10 -9
- package/build/projectsGeneration/generators/graph/genGraphCrudSchema.js +0 -0
- package/build/projectsGeneration/generators/graph/genGraphCrudSchema.spec.js +0 -0
- package/build/projectsGeneration/generators/graph/genGraphFilterType.js +0 -0
- package/build/projectsGeneration/generators/graph/genGraphFilterType.spec.js +0 -0
- package/build/projectsGeneration/generators/graph/genGraphModelType.js +1 -1
- package/build/projectsGeneration/generators/graph/genGraphType.js +0 -0
- package/build/projectsGeneration/generators/graph/genGraphType.spec.js +0 -0
- package/build/projectsGeneration/generators/graph/printGraphType.js +0 -0
- package/build/projectsGeneration/generators/graph/printGraphType.spec.js +0 -0
- package/build/projectsGeneration/generators/graph/types.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/mapUtils.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/models/getModelInitOrder.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/models/getModelInitOrder.spec.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/models/getUniqModels.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/models/getUniqModels.spec.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/models/getUsedModels.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/models/getUsedModels.spec.js +3 -2
- package/build/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.spec.js +11 -17
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.spec.js +11 -18
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getObjectModelsFromMethodReturns.js +8 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.js +3 -4
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.spec.js +19 -18
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getServiceModels.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.spec.js +2 -3
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.js +6 -2
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.spec.js +51 -72
- package/build/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.spec.js +11 -17
- package/build/projectsGeneration/generators/graph/utils/serviceModels/removeDublicatesFromServiceModels.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/removeUnusedInOutputGeneralModels.js +0 -0
- package/build/projectsGeneration/generators/graph/utils/serviceModels/removeVoidsInServiceModels.js +0 -0
- package/build/projectsGeneration/generators/prisma/fieldIdTypeToPrismaType.js +0 -0
- package/build/projectsGeneration/generators/prisma/fieldTypeToPrismaType.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.spec.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaField.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.spec.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.spec.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntities.js +0 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNameToEditScalar.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditIdField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.spec.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditScalarField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.js +0 -0
- package/build/projectsGeneration/generators/ui/componentNames/types.js +0 -0
- package/build/projectsGeneration/generators/ui/getLinkShowComponent.spec.js +0 -0
- package/build/projectsGeneration/generators/ui/getScalarShowComponent.spec.js +0 -0
- package/build/projectsGeneration/generators/ui/getShowComponent.js +0 -0
- package/build/projectsGeneration/index.js +0 -0
- package/build/projectsGeneration/links/getLinksFromExternalEntities.js +0 -0
- package/build/projectsGeneration/links/getLinksFromExternalEntities.spec.js +0 -0
- package/build/projectsGeneration/links/getLinksOfEntities.js +0 -0
- package/build/projectsGeneration/links/getLinksOfEntities.spec.js +0 -0
- package/build/projectsGeneration/links/getLinksToExternalEntities.js +0 -0
- package/build/projectsGeneration/links/getLinksToExternalEntities.spec.js +0 -0
- package/build/projectsGeneration/metaUtils.js +0 -0
- package/build/projectsGeneration/modelsGeneration.serialization.spec.js +0 -0
- package/build/projectsGeneration/modules/addEmailModuleEntities.js +0 -0
- package/build/projectsGeneration/modules/index.js +0 -0
- package/build/projectsGeneration/types.js +0 -0
- package/build/projectsGeneration/utils.js +0 -0
- package/build/refs/yup.spec.js +0 -0
- package/build/templates/model.ts.ejs +0 -0
- package/build/templates/runlify.developer.example.json.ejs +0 -0
- package/build/templates/runlify.json.ejs +0 -0
- package/build/types/cli.d.ts +0 -0
- package/build/types/commands/availableEnvironments.d.ts +0 -0
- package/build/types/commands/generate.d.ts +0 -0
- package/build/types/commands/init.d.ts +0 -0
- package/build/types/commands/login.d.ts +0 -0
- package/build/types/commands/logout.d.ts +0 -0
- package/build/types/commands/pullEnvs.d.ts +0 -0
- package/build/types/commands/readEnv.d.ts +0 -0
- package/build/types/commands/regen.d.ts +0 -0
- package/build/types/commands/runlify.d.ts +0 -0
- package/build/types/commands/showToken.d.ts +0 -0
- package/build/types/commands/start.d.ts +0 -0
- package/build/types/commands/tryGetMeta.d.ts +0 -0
- package/build/types/documentation/algorithm.d.ts +0 -0
- package/build/types/documentation/algoritmToDoc.d.ts +0 -0
- package/build/types/documentation/algoritmToDoc.spec.d.ts +0 -0
- package/build/types/documentation/curlExampleToText.d.ts +0 -0
- package/build/types/documentation/curlExampleToText.spec.d.ts +0 -0
- package/build/types/documentation/doc.d.ts +0 -0
- package/build/types/documentation/docToFlatDoc.d.ts +0 -0
- package/build/types/documentation/docToFlatDoc.spec.d.ts +0 -0
- package/build/types/documentation/flatDoc.d.ts +0 -0
- package/build/types/documentation/flatDocToText.d.ts +0 -0
- package/build/types/documentation/flatDocToText.spec.d.ts +0 -0
- package/build/types/documentation/templateDoc.d.ts +0 -0
- package/build/types/documentation/templateDocToDoc.d.ts +0 -0
- package/build/types/extensions/auth.d.ts +0 -0
- package/build/types/extensions/cli-extension.d.ts +0 -0
- package/build/types/extensions/cloudEnv.d.ts +0 -0
- package/build/types/extensions/cloudMeta.d.ts +0 -0
- package/build/types/extensions/globalConfig.d.ts +0 -0
- package/build/types/extensions/localConfig.d.ts +0 -0
- package/build/types/extensions/preventRunningIfUpdateAvailable.d.ts +0 -0
- package/build/types/index.d.ts +0 -0
- package/build/types/log.d.ts +0 -0
- package/build/types/projectsGeneration/args.d.ts +0 -0
- package/build/types/projectsGeneration/builders/AdditionalServiceBuilder.d.ts +7 -7
- package/build/types/projectsGeneration/builders/BaseBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/BaseSavableEntityBuilder.d.ts +6 -3
- package/build/types/projectsGeneration/builders/CatalogBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/ConfigVarBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/DeploymentBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/DocumentBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/InfoRegistryBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/PageBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/PermissionBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/ReportBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/RestApiBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/RestApiMethodBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/RoleBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/SumRegistryBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/SystemMetaBuilder.d.ts +6 -3
- package/build/types/projectsGeneration/builders/TelegramBotBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/buildedTypes.d.ts +21 -3
- package/build/types/projectsGeneration/builders/curlTypes.d.ts +0 -0
- package/build/types/projectsGeneration/builders/docs/DocumentationOfDocument.d.ts +0 -0
- package/build/types/projectsGeneration/builders/docs/DocumentationOfDocumentBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/fields/BaseFieldBuilder.d.ts +2 -0
- package/build/types/projectsGeneration/builders/fields/IdFieldBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/fields/LinkFieldBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/fields/ModelFieldBuilder.d.ts +0 -2
- package/build/types/projectsGeneration/builders/fields/ScalarFieldBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/fields/ViewLinkFieldBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/index.d.ts +0 -0
- package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientArgsModelBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientBaseModelBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientQueryMethodsBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientReturnModelBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/materialUiIcons.d.ts +0 -0
- package/build/types/projectsGeneration/builders/mehods/ArgsModelBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/mehods/BaseModelBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/mehods/MethodBuilder.d.ts +20 -6
- package/build/types/projectsGeneration/builders/mehods/ReturnObjectBuilder.d.ts +10 -0
- package/build/types/projectsGeneration/builders/mehods/ReturnScalarBuilder.d.ts +7 -0
- package/build/types/projectsGeneration/builders/mehods/ReturnVoidBuilder.d.ts +8 -0
- package/build/types/projectsGeneration/builders/menu/BaseMenuItemBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/menu/ExternalEnvMenuItemBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/menu/ExternalMenuItemBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/menu/GroupMenuItemBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/menu/InternalMenuItemBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/tsFilterFields.d.ts +0 -0
- package/build/types/projectsGeneration/builders/tsFilterFields.spec.d.ts +0 -0
- package/build/types/projectsGeneration/builders/types.d.ts +0 -0
- package/build/types/projectsGeneration/builders/ui/Forms.d.ts +0 -0
- package/build/types/projectsGeneration/builders/ui/FormsBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/ui/ListFormBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/ui/ListFormFilterBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.d.ts +0 -0
- package/build/types/projectsGeneration/builders/utils/accessFunctions.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/baseValudationToYupAssertions.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/bigintValudationToYupAssertions.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/bigintValudationToYupAssertions.spec.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/floatValudationToYupAssertions.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/floatValudationToYupAssertions.spec.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/intValudationToYupAssertions.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/intValudationToYupAssertions.spec.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/numberValudationToYupAssertions.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/stringValudationToYupAssertions.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/stringValudationToYupAssertions.spec.d.ts +0 -0
- package/build/types/projectsGeneration/builders/validation/types.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addAggregateTrackings.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addAuditLogs.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addAutogeneration.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addCommonCommands.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addCommonEntities.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addConfigurationVariables.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addLanguages.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addManagers.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addRefreshTokens.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addRoles.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addTenants.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addUserSettings.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/addUsers.d.ts +0 -0
- package/build/types/projectsGeneration/commonEntities/index.d.ts +0 -0
- package/build/types/projectsGeneration/dataForTests.d.ts +0 -0
- package/build/types/projectsGeneration/defaultCatalogs/addElasticSearch.d.ts +0 -0
- package/build/types/projectsGeneration/defaultCatalogs/files.d.ts +0 -0
- package/build/types/projectsGeneration/defaultCatalogs/index.d.ts +0 -0
- package/build/types/projectsGeneration/fileCleaners/back/graphServices/cleanGraphServices.d.ts +0 -0
- package/build/types/projectsGeneration/fileCleaners/back/services/cleanServices.d.ts +0 -0
- package/build/types/projectsGeneration/fileCleaners/cleanFiles.d.ts +0 -0
- package/build/types/projectsGeneration/fileCleaners/ui/cleanUi.d.ts +0 -0
- package/build/types/projectsGeneration/fileCleaners/ui/pages/cleanPages.d.ts +0 -0
- package/build/types/projectsGeneration/fileCleaners/ui/widgets/cleanWidgets.d.ts +0 -0
- package/build/types/projectsGeneration/fileCleaners/ui/widgets/cleanWidgetsByType.d.ts +0 -0
- package/build/types/projectsGeneration/genGraphSchemesByLocalGenerator.d.ts +0 -0
- package/build/types/projectsGeneration/generateAdditionalService.d.ts +0 -0
- package/build/types/projectsGeneration/generateEntity.d.ts +0 -0
- package/build/types/projectsGeneration/generateEnvironment.d.ts +0 -0
- package/build/types/projectsGeneration/generateProject.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fieldTypeToTsType.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/Entities.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/devEnum.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/elastic/elastic.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/elastic/jobs.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/enum.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/Chart.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/values.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/ciNotify.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/defaultEnv.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplBack.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplUI.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocSpec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsConfiguration.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsIntegrationClient.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/findLinksToEntities.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getAllSavableEntities.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getProjectSpec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/titleMd.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/gitlabCi.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/clients/queue/getQueue.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/index.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClient.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClients.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFieldsWithTypes.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/integrationClientConstrictors.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/tsModelTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/types.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalResolvers.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalService/permissionToGraphql.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalService/resolvers.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalService/typeDefs.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalTypes.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityAdditionalPermissionToGraphqlTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityBasePermissionToGraphql.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityPermissionToGraphqlTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/baseResolvers.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/baseTypeDefs.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/meta/resolvers.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/meta/typeDefs.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/resolvers.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/types.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/initCommon.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/initDev.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/initEntities.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/root/config/config.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/root/restRouter.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/BaseServices.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/types.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/additionalClass.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/class.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/config.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnCreate.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnDelete.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnUpdate.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterCreate.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterDelete.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterUpdate.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeCreate.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeDelete.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpdate.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpsert.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/changeListFilter.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/tenantIdRequiredHooks.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/initBuiltInHooks.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/initUserHooks.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/serviceConstrictors.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/Dashboard.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/MetaPage.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/ResourcesPage.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/additionalRoutes.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/entityMapping.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/Chart.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/values.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/ciNotify.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/docs/adminAppDocsConfiguration.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/gitlabCi.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/App.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/contexts/SpacesContext.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/getAdditionalMethods.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/index.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/i18nProvider/index.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/AppBar.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/Menu.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/routes.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/functions/Functions.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/getAdditionalMenu.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/getDefaultMenu.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangCatalogsTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangDocsTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangInfoRegistriesTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangReportsTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangSumRegistriesTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsForServicesOfSavablesTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsLangTmpl.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/index.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/index.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/EntityFilter.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/index.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultActions.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultEntityShow.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/MainTab.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/additionalTabs.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/index.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/Icon.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/resources.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/widgets/count/CountWidget.d.ts +0 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fieldTypeToGraphScalar.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fieldTypeToGraphScalarStringified.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphIdField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphIdFieldType.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphLinkField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphModelField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphScalarField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphIdFilter.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphLinkFilter.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphScalarFilter.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphCrudSchema.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphCrudSchema.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphFilterType.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphFilterType.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphModelType.d.ts +2 -2
- package/build/types/projectsGeneration/generators/graph/genGraphType.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/genGraphType.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/printGraphType.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/printGraphType.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/types.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/mapUtils.d.ts +92 -2
- package/build/types/projectsGeneration/generators/graph/utils/models/getModelInitOrder.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/models/getModelInitOrder.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/models/getUniqModels.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/models/getUniqModels.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/models/getUsedModels.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/models/getUsedModels.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getObjectModelsFromMethodReturns.d.ts +3 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getServiceModels.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/removeDublicatesFromServiceModels.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/removeUnusedInOutputGeneralModels.d.ts +0 -0
- package/build/types/projectsGeneration/generators/graph/utils/serviceModels/removeVoidsInServiceModels.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/fieldIdTypeToPrismaType.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/fieldTypeToPrismaType.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaEntity.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntities.d.ts +0 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNameToEditScalar.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditIdField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditScalarField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/types.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/getLinkShowComponent.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/getScalarShowComponent.spec.d.ts +0 -0
- package/build/types/projectsGeneration/generators/ui/getShowComponent.d.ts +0 -0
- package/build/types/projectsGeneration/index.d.ts +0 -0
- package/build/types/projectsGeneration/links/getLinksFromExternalEntities.d.ts +0 -0
- package/build/types/projectsGeneration/links/getLinksFromExternalEntities.spec.d.ts +0 -0
- package/build/types/projectsGeneration/links/getLinksOfEntities.d.ts +0 -0
- package/build/types/projectsGeneration/links/getLinksOfEntities.spec.d.ts +0 -0
- package/build/types/projectsGeneration/links/getLinksToExternalEntities.d.ts +0 -0
- package/build/types/projectsGeneration/links/getLinksToExternalEntities.spec.d.ts +0 -0
- package/build/types/projectsGeneration/metaUtils.d.ts +0 -0
- package/build/types/projectsGeneration/modelsGeneration.serialization.spec.d.ts +0 -0
- package/build/types/projectsGeneration/modules/addEmailModuleEntities.d.ts +0 -0
- package/build/types/projectsGeneration/modules/index.d.ts +0 -0
- package/build/types/projectsGeneration/types.d.ts +0 -0
- package/build/types/projectsGeneration/utils.d.ts +0 -0
- package/build/types/refs/yup.spec.d.ts +0 -0
- package/build/types/types.d.ts +0 -0
- package/build/types/utils/TermSignals.d.ts +0 -0
- package/build/types/utils/cases.d.ts +0 -0
- package/build/types/utils/getPkgManager.d.ts +0 -0
- package/build/types.js +0 -0
- package/build/utils/TermSignals.js +0 -0
- package/build/utils/cases.js +0 -0
- package/build/utils/getPkgManager.js +0 -0
- package/docs/commands.md +0 -0
- package/docs/plugins.md +0 -0
- package/package.json +14 -3
- package/readme.md +0 -0
- package/build/projectsGeneration/builders/mehods/ReturnModelBuilder.js +0 -20
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFields.js +0 -7
- package/build/types/projectsGeneration/builders/mehods/ReturnModelBuilder.d.ts +0 -10
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFields.d.ts +0 -3
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/builders/validation/stringValudationToYupAssertions.spec.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -16,5 +16,6 @@ exports.baseField = {
|
|
|
16
16
|
showInShow: true,
|
|
17
17
|
defaultDbValue: undefined,
|
|
18
18
|
sharded: false,
|
|
19
|
+
array: false,
|
|
19
20
|
};
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YUZvclRlc3RzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9kYXRhRm9yVGVzdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRWEsUUFBQSxTQUFTLEdBQWM7SUFDaEMsSUFBSSxFQUFFLFFBQVE7SUFDZCxLQUFLLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFO0lBQ2pCLE9BQU8sRUFBRSxFQUFFO0lBQ1gsU0FBUyxFQUFFLElBQUk7SUFDZixRQUFRLEVBQUUsS0FBSztJQUNmLGVBQWUsRUFBRSxJQUFJO0lBQ3JCLGVBQWUsRUFBRSxJQUFJO0lBQ3JCLFVBQVUsRUFBRSxJQUFJO0lBQ2hCLFlBQVksRUFBRSxJQUFJO0lBQ2xCLFVBQVUsRUFBRSxJQUFJO0lBQ2hCLFlBQVksRUFBRSxJQUFJO0lBQ2xCLFVBQVUsRUFBRSxJQUFJO0lBQ2hCLGNBQWMsRUFBRSxTQUFTO0lBQ3pCLE9BQU8sRUFBRSxLQUFLO0lBQ2QsS0FBSyxFQUFFLEtBQUs7Q0FDZixDQUFDIn0=
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplBack.js
CHANGED
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplUI.js
CHANGED
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocSpec.js
CHANGED
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.js
CHANGED
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/titleMd.js
CHANGED
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fieldToTsTypeFieldWithType = void 0;
|
|
4
|
+
const change_case_1 = require("change-case");
|
|
5
|
+
const fieldTypeToTsType_1 = require("../../../../../fieldTypeToTsType");
|
|
6
|
+
const fieldToTsTypeFieldWithType = (field) => `${field.name}${field.required ? '' : '?'}: ${field.category === 'model' ? `${(0, change_case_1.pascalCase)(field.model)}` : (0, fieldTypeToTsType_1.fieldTypeToTsType)(field.type)}${field.array ? '[]' : ''}`;
|
|
7
|
+
exports.fieldToTsTypeFieldWithType = fieldToTsTypeFieldWithType;
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGRUb1RzVHlwZUZpZWxkV2l0aFR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL2Vudmlyb25tZW50L3NyYy9pbnRlZ3JhdGlvbkNsaWVudHMvZmllbGRUb1RzVHlwZUZpZWxkV2l0aFR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkNBQXNDO0FBRXRDLHdFQUFrRTtBQUUzRCxNQUFNLDBCQUEwQixHQUFHLENBQUMsS0FBbUIsRUFBRSxFQUFFLENBQ2hFLEdBQUcsS0FBSyxDQUFDLElBQUksR0FBRyxLQUFLLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsS0FBSyxLQUFLLENBQUMsUUFBUSxLQUFLLE9BQU8sQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFBLHdCQUFVLEVBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLElBQUEscUNBQWlCLEVBQUUsS0FBcUIsQ0FBQyxJQUFJLENBQUMsR0FBRyxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDO0FBRDFLLFFBQUEsMEJBQTBCLDhCQUNnSiJ9
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jest_without_globals_1 = require("jest-without-globals");
|
|
4
|
+
const fieldToTsTypeFieldWithType_1 = require("./fieldToTsTypeFieldWithType");
|
|
5
|
+
// yarn test --testPathPattern fieldToTsTypeFieldWithType
|
|
6
|
+
// yarn test --testPathPattern fieldToTsTypeFieldWithType -t 'generates for scalar field array'
|
|
7
|
+
const defaultStringField = {
|
|
8
|
+
name: 'someString',
|
|
9
|
+
title: { ru: 'Some string' },
|
|
10
|
+
needFor: '',
|
|
11
|
+
updatable: false,
|
|
12
|
+
required: false,
|
|
13
|
+
requiredOnInput: null,
|
|
14
|
+
updatableByUser: false,
|
|
15
|
+
showInList: false,
|
|
16
|
+
showInCreate: false,
|
|
17
|
+
showInEdit: false,
|
|
18
|
+
showInFilter: false,
|
|
19
|
+
showInShow: false,
|
|
20
|
+
defaultDbValue: undefined,
|
|
21
|
+
sharded: false,
|
|
22
|
+
category: 'scalar',
|
|
23
|
+
type: 'string',
|
|
24
|
+
filters: [],
|
|
25
|
+
stringType: 'plain',
|
|
26
|
+
array: false,
|
|
27
|
+
};
|
|
28
|
+
const defaultModelField = {
|
|
29
|
+
name: 'someString',
|
|
30
|
+
title: { ru: 'Some string' },
|
|
31
|
+
needFor: '',
|
|
32
|
+
updatable: false,
|
|
33
|
+
required: false,
|
|
34
|
+
requiredOnInput: null,
|
|
35
|
+
updatableByUser: false,
|
|
36
|
+
showInList: false,
|
|
37
|
+
showInCreate: false,
|
|
38
|
+
showInEdit: false,
|
|
39
|
+
showInFilter: false,
|
|
40
|
+
showInShow: false,
|
|
41
|
+
defaultDbValue: undefined,
|
|
42
|
+
sharded: false,
|
|
43
|
+
category: 'model',
|
|
44
|
+
model: '',
|
|
45
|
+
array: false,
|
|
46
|
+
};
|
|
47
|
+
describe('fieldToTsTypeFieldWithType', () => {
|
|
48
|
+
it('generates for scalar field', () => {
|
|
49
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: true, array: false })))
|
|
50
|
+
.toEqual('someString: string');
|
|
51
|
+
});
|
|
52
|
+
it('generates for optional scalar field', () => {
|
|
53
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: false, array: false })))
|
|
54
|
+
.toEqual('someString?: string');
|
|
55
|
+
});
|
|
56
|
+
it('generates for scalar field array', () => {
|
|
57
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: true, array: true })))
|
|
58
|
+
.toEqual('someString: string[]');
|
|
59
|
+
});
|
|
60
|
+
it('generates for optional scalar field array', () => {
|
|
61
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: false, array: true })))
|
|
62
|
+
.toEqual('someString?: string[]');
|
|
63
|
+
});
|
|
64
|
+
it('generates for model field', () => {
|
|
65
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: true, array: false })))
|
|
66
|
+
.toEqual('someModelField: SomeModel');
|
|
67
|
+
});
|
|
68
|
+
it('generates for optional model field', () => {
|
|
69
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: false, array: false })))
|
|
70
|
+
.toEqual('someModelField?: SomeModel');
|
|
71
|
+
});
|
|
72
|
+
it('generates for model field array', () => {
|
|
73
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: true, array: true })))
|
|
74
|
+
.toEqual('someModelField: SomeModel[]');
|
|
75
|
+
});
|
|
76
|
+
it('generates for optional model field array', () => {
|
|
77
|
+
(0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: false, array: true })))
|
|
78
|
+
.toEqual('someModelField?: SomeModel[]');
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGRUb1RzVHlwZUZpZWxkV2l0aFR5cGUuc3BlYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vZ2VuZXJhdG9ycy9maWxlVGVtcGxhdGVzL2JhY2svZW52aXJvbm1lbnQvc3JjL2ludGVncmF0aW9uQ2xpZW50cy9maWVsZFRvVHNUeXBlRmllbGRXaXRoVHlwZS5zcGVjLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsK0RBQTZDO0FBQzdD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SyxFQUFFLFdBQVcsRUFDbEIsUUFBUSxFQUFFLElBQUksRUFDZCxLQUFLLEVBQUUsSUFBSSxJQUNYLENBQUM7YUFDQSxPQUFPLENBQUMsNkJBQTZCLENBQUMsQ0FBQztJQUM1QyxDQUFDLENBQUMsQ0FBQztJQUVILEVBQUUsQ0FBQywwQ0FBMEMsRUFBRSxHQUFHLEVBQUU7UUFDbEQsSUFBQSw2QkFBTSxFQUFDLElBQUEsdURBQTBCLGtDQUM1QixpQkFBaUIsS0FDcEIsSUFBSSxFQUFFLGdCQUFnQixFQUN0QixLQUFLLEVBQUUsV0FBVyxFQUNsQixRQUFRLEVBQUUsS0FBSyxFQUNmLEtBQUssRUFBRSxJQUFJLElBQ1gsQ0FBQzthQUNBLE9BQU8sQ0FBQyw4QkFBOEIsQ0FBQyxDQUFDO0lBQzdDLENBQUMsQ0FBQyxDQUFDO0FBQ0wsQ0FBQyxDQUFDLENBQUEifQ==
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fieldsToTsTypeFieldsWithTypes = void 0;
|
|
4
|
+
const fieldToTsTypeFieldWithType_1 = require("./fieldToTsTypeFieldWithType");
|
|
5
|
+
const fieldsToTsTypeFieldsWithTypes = (fields) => fields.map(fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType);
|
|
6
|
+
exports.fieldsToTsTypeFieldsWithTypes = fieldsToTsTypeFieldsWithTypes;
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGRzVG9Uc1R5cGVGaWVsZHNXaXRoVHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL2Vudmlyb25tZW50L3NyYy9pbnRlZ3JhdGlvbkNsaWVudHMvZmllbGRzVG9Uc1R5cGVGaWVsZHNXaXRoVHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsNkVBQXdFO0FBRWpFLE1BQU0sNkJBQTZCLEdBQUcsQ0FBQyxNQUFzQixFQUFFLEVBQUUsQ0FDdEUsTUFBTSxDQUFDLEdBQUcsQ0FBQyx1REFBMEIsQ0FBQyxDQUFBO0FBRDNCLFFBQUEsNkJBQTZCLGlDQUNGIn0=
|
|
File without changes
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
const change_case_1 = require("change-case");
|
|
7
|
-
const
|
|
4
|
+
const fieldsToTsTypeFieldsWithTypes_1 = require("./fieldsToTsTypeFieldsWithTypes");
|
|
8
5
|
const tsModelTmpl = (model) => `export interface ${(0, change_case_1.pascalCase)(model.name)} ${model.fields.length ? `{
|
|
9
|
-
${(0,
|
|
6
|
+
${(0, fieldsToTsTypeFieldsWithTypes_1.fieldsToTsTypeFieldsWithTypes)(model.fields).map(r => ` ${r},`).join('\n')}
|
|
10
7
|
}` : '{}'}`;
|
|
11
8
|
exports.default = tsModelTmpl;
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHNNb2RlbFRtcGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL2Vudmlyb25tZW50L3NyYy9pbnRlZ3JhdGlvbkNsaWVudHMvdHNNb2RlbFRtcGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2Q0FBc0M7QUFFdEMsbUZBQThFO0FBRTlFLE1BQU0sV0FBVyxHQUFHLENBQUMsS0FBYyxFQUFFLEVBQUUsQ0FBQyxvQkFBb0IsSUFBQSx3QkFBVSxFQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7RUFDMUcsSUFBQSw2REFBNkIsRUFBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7RUFDMUUsQ0FBQyxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUE7QUFFWCxrQkFBZSxXQUFXLENBQUMifQ==
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/resolvers.js
CHANGED
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/typeDefs.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.js
CHANGED
|
File without changes
|
|
File without changes
|
package/build/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.backAdditionalServiceTypesTmplInner = void 0;
|
|
7
|
+
const change_case_1 = require("change-case");
|
|
8
|
+
const cases_1 = require("../../../../../../utils/cases");
|
|
9
|
+
const tsModelTmpl_1 = __importDefault(require("../../environment/src/integrationClients/tsModelTmpl"));
|
|
10
|
+
const buildedTypes_1 = require("../../../../../builders/buildedTypes");
|
|
11
|
+
const getMethodTypeForService_1 = require("./getMethodTypeForService");
|
|
12
|
+
const backAdditionalServiceTypesTmplInner = (service) => `${service.methods
|
|
13
|
+
.flatMap(q => [q.returnModel.returnType === buildedTypes_1.ServiceReturnType.Object ? q.returnModel : undefined])
|
|
14
|
+
.filter(Boolean)
|
|
15
|
+
.map(m => (0, tsModelTmpl_1.default)(m)).join('\n\n')}
|
|
16
|
+
${service.methods.filter((method) => method.returnModel.returnType === buildedTypes_1.ServiceReturnType.Object).map(m => `// export type ${(0, change_case_1.pascalCase)(m.name)}Result = ${(0, change_case_1.pascalCase)(m.name)}Model${m.returnModel.array ? '[]' : ''}`).join('\n\n')}
|
|
17
|
+
export interface I${(0, cases_1.pascal)(service.name)}Service ${service.methods.length ? `{
|
|
18
|
+
${service.methods.map(m => ` ${(0, getMethodTypeForService_1.getMethodTypeForService)(m)}`).join('\n')}
|
|
19
|
+
}` : '{}'}`.trimStart();
|
|
20
|
+
exports.backAdditionalServiceTypesTmplInner = backAdditionalServiceTypesTmplInner;
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja0FkZGl0aW9uYWxTZXJ2aWNlVHlwZXNUbXBsSW5uZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8u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UFJLENBQUMsUUFBUyxDQUFDLENBQUMsV0FBa0QsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUMxUTtvQkFDb0IsSUFBQSxjQUFNLEVBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxXQUFXLE9BQU8sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQztFQUMxRSxPQUFPLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLEtBQUssSUFBQSxpREFBdUIsRUFBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztFQUN0RSxDQUFDLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxTQUFTLEVBQUUsQ0FBQTtBQVhWLFFBQUEsbUNBQW1DLHVDQVd6QiJ9
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jest_without_globals_1 = require("jest-without-globals");
|
|
7
|
+
const AdditionalServiceBuilder_1 = __importDefault(require("../../../../../builders/AdditionalServiceBuilder"));
|
|
8
|
+
const backAdditionalServiceTypesTmplInner_1 = require("./backAdditionalServiceTypesTmplInner");
|
|
9
|
+
// yarn test --testPathPattern backAdditionalServiceTypesTmplInner
|
|
10
|
+
describe('backAdditionalServiceTypesTmplInner', () => {
|
|
11
|
+
it('generates for method without methods', () => {
|
|
12
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
13
|
+
(0, jest_without_globals_1.expect)((0, backAdditionalServiceTypesTmplInner_1.backAdditionalServiceTypesTmplInner)(service.build())).toEqual(`export interface IDebugService {}`);
|
|
14
|
+
});
|
|
15
|
+
it('generates for method without args and return', () => {
|
|
16
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
17
|
+
service.addMethod('someMethod');
|
|
18
|
+
(0, jest_without_globals_1.expect)((0, backAdditionalServiceTypesTmplInner_1.backAdditionalServiceTypesTmplInner)(service.build())).toEqual(`export interface IDebugService {
|
|
19
|
+
someMethod: () => void
|
|
20
|
+
}`);
|
|
21
|
+
});
|
|
22
|
+
it('generates for method with scalar arg', () => {
|
|
23
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
24
|
+
const someMethod = service.addMethod('someMethod');
|
|
25
|
+
const someMethodArgs = someMethod.getArgsModel();
|
|
26
|
+
someMethodArgs.addField('someString').setType('string').setRequired();
|
|
27
|
+
(0, jest_without_globals_1.expect)((0, backAdditionalServiceTypesTmplInner_1.backAdditionalServiceTypesTmplInner)(service.build())).toEqual(`export interface IDebugService {
|
|
28
|
+
someMethod: (someString: string) => void
|
|
29
|
+
}`);
|
|
30
|
+
});
|
|
31
|
+
// with scalar array arg
|
|
32
|
+
// with scalar args
|
|
33
|
+
// with scalar array args
|
|
34
|
+
// with general object in args
|
|
35
|
+
// with general object array in args
|
|
36
|
+
// with input object in args
|
|
37
|
+
// with input object array in args
|
|
38
|
+
// with general object with inner general object in args
|
|
39
|
+
// with general object with inner input object in args
|
|
40
|
+
// with general object array with inner general object in args
|
|
41
|
+
// with general object array with inner input object in args
|
|
42
|
+
// with general object array with inner general object array in args
|
|
43
|
+
// with general object array with inner input object array in args
|
|
44
|
+
// with input object with inner general object in args
|
|
45
|
+
// with input object with inner input object in args
|
|
46
|
+
// with input object array with inner general object in args
|
|
47
|
+
// with input object array with inner input object in args
|
|
48
|
+
// with input object array with inner general object array in args
|
|
49
|
+
// with input object array with inner input object array in args
|
|
50
|
+
// with scalar return
|
|
51
|
+
// with scalar array in return
|
|
52
|
+
// with general object in return
|
|
53
|
+
// with general object array in return
|
|
54
|
+
// with output object in return
|
|
55
|
+
// with output object array in return
|
|
56
|
+
// with general object with inner general object in return
|
|
57
|
+
// with general object with inner output object in return
|
|
58
|
+
// with general object array with inner general object in return
|
|
59
|
+
// with general object array with inner output object in return
|
|
60
|
+
// with general object array with inner general object array in return
|
|
61
|
+
// with general object array with inner output object array in return
|
|
62
|
+
// with output object with inner general object in return
|
|
63
|
+
// with output object with inner output object in return
|
|
64
|
+
// with output object array with inner general object in return
|
|
65
|
+
// with output object array with inner output object in return
|
|
66
|
+
// with output object array with inner general object array in return
|
|
67
|
+
// with output object array with inner output object array in return
|
|
68
|
+
});
|
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja0FkZGl0aW9uYWxTZXJ2aWNlVHlwZXNUbXBsSW5uZXIuc3BlYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vZ2VuZXJhdG9ycy9maWxlVGVtcGxhdGVzL2JhY2svc2VydmljZXMvYWRkaXRpb25hbFNlcnZpY2UvYmFja0FkZGl0aW9uYWxTZXJ2aWNlVHlwZXNUbXBsSW5uZXIuc3BlYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLCtEQUE2QztBQUM3QyxnSEFBd0Y7QUFDeEYsK0ZBQTRGO0FBRTVGLGtFQUFrRTtBQUVsRSxRQUFRLENBQUMscUNBQXFDLEVBQUUsR0FBRyxFQUFFO0lBQ25ELEVBQUUsQ0FBQyxzQ0FBc0MsRUFBRSxHQUFHLEVBQUU7UUFDOUMsTUFBTSxPQUFPLEdBQUcsSUFBSSxrQ0FBd0IsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDLENBQUM7UUFFNUQsSUFBQSw2QkFBTSxFQUFDLElBQUEseUVBQW1DLEVBQU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bkIseUJBQXlCO0lBRXpCLDhCQUE4QjtJQUM5QixvQ0FBb0M7SUFDcEMsNEJBQTRCO0lBQzVCLGtDQUFrQztJQUVsQyx3REFBd0Q7SUFDeEQsc0RBQXNEO0lBQ3RELDhEQUE4RDtJQUM5RCw0REFBNEQ7SUFDNUQsb0VBQW9FO0lBQ3BFLGtFQUFrRTtJQUVsRSxzREFBc0Q7SUFDdEQsb0RBQW9EO0lBQ3BELDREQUE0RDtJQUM1RCwwREFBMEQ7SUFDMUQsa0VBQWtFO0lBQ2xFLGdFQUFnRTtJQUVoRSxxQkFBcUI7SUFDckIsOEJBQThCO0lBRTlCLGdDQUFnQztJQUNoQyxzQ0FBc0M7SUFDdEMsK0JBQStCO0lBQy9CLHFDQUFxQztJQUVyQywwREFBMEQ7SUFDMUQseURBQXlEO0lBQ3pELGdFQUFnRTtJQUNoRSwrREFBK0Q7SUFDL0Qsc0VBQXNFO0lBQ3RFLHFFQUFxRTtJQUVyRSx5REFBeUQ7SUFDekQsd0RBQXdEO0lBQ3hELCtEQUErRDtJQUMvRCw4REFBOEQ7SUFDOUQscUVBQXFFO0lBQ3JFLG9FQUFvRTtBQUN0RSxDQUFDLENBQUMsQ0FBQSJ9
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMethodTypeForService = void 0;
|
|
4
|
+
const fieldToTsTypeFieldWithType_1 = require("../../environment/src/integrationClients/fieldToTsTypeFieldWithType");
|
|
5
|
+
const getMethodTypeForServiceReturn_1 = require("./getMethodTypeForServiceReturn");
|
|
6
|
+
const getMethodTypeForService = (method) => `${method.name}: (${method.argsModel.fields.map(fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType).join(', ')}) => ${(0, getMethodTypeForServiceReturn_1.getMethodTypeForServiceReturn)(method)}`;
|
|
7
|
+
exports.getMethodTypeForService = getMethodTypeForService;
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0TWV0aG9kVHlwZUZvclNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL3NlcnZpY2VzL2FkZGl0aW9uYWxTZXJ2aWNlL2dldE1ldGhvZFR5cGVGb3JTZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLG9IQUE4RztBQUM5RyxtRkFBK0U7QUFFeEUsTUFBTSx1QkFBdUIsR0FBRyxDQUFDLE1BQXFCLEVBQUUsRUFBRSxDQUMvRCxHQUFHLE1BQU0sQ0FBQyxJQUFJLE1BQU0sTUFBTSxDQUFDLFNBQVMsQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLHVEQUEwQixDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLElBQUEsNkRBQTZCLEVBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQTtBQUQxSCxRQUFBLHVCQUF1QiwyQkFDbUcifQ==
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jest_without_globals_1 = require("jest-without-globals");
|
|
7
|
+
const AdditionalServiceBuilder_1 = __importDefault(require("../../../../../builders/AdditionalServiceBuilder"));
|
|
8
|
+
const getMethodTypeForService_1 = require("./getMethodTypeForService");
|
|
9
|
+
// yarn test --testPathPattern getMethodTypeForService
|
|
10
|
+
// yarn test --testPathPattern getMethodTypeForService -t 'generates for method without args and return'
|
|
11
|
+
// yarn test --testPathPattern getMethodTypeForService -t 'generates for method with scalar return'
|
|
12
|
+
describe('getMethodTypeForService', () => {
|
|
13
|
+
it('generates for method without args and return', () => {
|
|
14
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
15
|
+
service.addMethod('someMethod');
|
|
16
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
17
|
+
.toEqual('someMethod: () => void');
|
|
18
|
+
});
|
|
19
|
+
it('generates for async method without args and return', () => {
|
|
20
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
21
|
+
service.addMethod('someMethod').setAsync();
|
|
22
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
23
|
+
.toEqual('someMethod: () => Promise<void>');
|
|
24
|
+
});
|
|
25
|
+
it('generates for method with scalar arg', () => {
|
|
26
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
27
|
+
const someMethod = service.addMethod('someMethod');
|
|
28
|
+
const someMethodArgs = someMethod.getArgsModel();
|
|
29
|
+
someMethodArgs.addField('someString').setType('string').setRequired();
|
|
30
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
31
|
+
.toEqual('someMethod: (someString: string) => void');
|
|
32
|
+
});
|
|
33
|
+
it('generates for method with two scalar args', () => {
|
|
34
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
35
|
+
const someMethod = service.addMethod('someMethod');
|
|
36
|
+
const someMethodArgs = someMethod.getArgsModel();
|
|
37
|
+
someMethodArgs.addField('someString').setType('string').setRequired();
|
|
38
|
+
someMethodArgs.addField('someOtherString').setType('string').setRequired();
|
|
39
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
40
|
+
.toEqual('someMethod: (someString: string, someOtherString: string) => void');
|
|
41
|
+
});
|
|
42
|
+
it('generates for method with optional scalar arg', () => {
|
|
43
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
44
|
+
const someMethod = service.addMethod('someMethod');
|
|
45
|
+
const someMethodArgs = someMethod.getArgsModel();
|
|
46
|
+
someMethodArgs.addField('someString').setType('string');
|
|
47
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
48
|
+
.toEqual('someMethod: (someString?: string) => void');
|
|
49
|
+
});
|
|
50
|
+
it('generates for method with scalar array arg', () => {
|
|
51
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
52
|
+
const someMethod = service.addMethod('someMethod');
|
|
53
|
+
const someMethodArgs = someMethod.getArgsModel();
|
|
54
|
+
someMethodArgs.addField('someString').setType('string').setRequired().setArray();
|
|
55
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
56
|
+
.toEqual('someMethod: (someString: string[]) => void');
|
|
57
|
+
});
|
|
58
|
+
it('generates for method with object in args', () => {
|
|
59
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
60
|
+
const someMethod = service.addMethod('someMethod');
|
|
61
|
+
service.createGeneralModel('someModel');
|
|
62
|
+
const someMethodArgs = someMethod.getArgsModel();
|
|
63
|
+
someMethodArgs.addModelField('someModel', 'someModelArg').setType('string').setRequired();
|
|
64
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
65
|
+
.toEqual('someMethod: (someModelArg: SomeModel) => void');
|
|
66
|
+
});
|
|
67
|
+
it('generates for method with optional object array in args', () => {
|
|
68
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
69
|
+
const someMethod = service.addMethod('someMethod');
|
|
70
|
+
service.createGeneralModel('someModel');
|
|
71
|
+
const someMethodArgs = someMethod.getArgsModel();
|
|
72
|
+
someMethodArgs.addModelField('someModel', 'someModelArg').setType('string').setArray();
|
|
73
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
74
|
+
.toEqual('someMethod: (someModelArg?: SomeModel[]) => void');
|
|
75
|
+
});
|
|
76
|
+
it('generates for method with scalar return', () => {
|
|
77
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
78
|
+
const someMethod = service.addMethod('someMethod');
|
|
79
|
+
const someMethodReturn = someMethod.setReturnScalarModel();
|
|
80
|
+
someMethodReturn.setType('string').setRequired();
|
|
81
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
82
|
+
.toEqual('someMethod: () => string');
|
|
83
|
+
});
|
|
84
|
+
it('generates for method with object return', () => {
|
|
85
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
86
|
+
const someMethod = service.addMethod('someMethod');
|
|
87
|
+
someMethod.setReturnObjectModel('someModel');
|
|
88
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
89
|
+
.toEqual('someMethod: () => SomeMethodSomeModel');
|
|
90
|
+
});
|
|
91
|
+
it('generates for method with object array return', () => {
|
|
92
|
+
const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
|
|
93
|
+
const someMethod = service.addMethod('someMethod');
|
|
94
|
+
const someMethodReturn = someMethod.setReturnObjectModel('someModel');
|
|
95
|
+
someMethodReturn.setArray();
|
|
96
|
+
(0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
|
|
97
|
+
.toEqual('someMethod: () => SomeMethodSomeModel[]');
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0TWV0aG9kVHlwZUZvclNlcnZpY2Uuc3BlYy5qcyIsInNv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