runlify 0.0.714 → 0.0.715
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/build/cli.js +20 -52
- package/build/commands/availableEnvironments.js +16 -51
- package/build/commands/generate.js +10 -46
- package/build/commands/init.js +73 -140
- package/build/commands/login.js +6 -42
- package/build/commands/logout.js +5 -41
- package/build/commands/pullEnvs.js +23 -70
- package/build/commands/readEnv.js +16 -45
- package/build/commands/regen.js +17 -48
- package/build/commands/runlify.js +6 -37
- package/build/commands/showToken.js +14 -45
- package/build/commands/start.js +57 -84
- package/build/commands/tryGetMeta.js +7 -43
- package/build/documentation/algoritmToDoc.js +4 -4
- package/build/documentation/algoritmToDoc.spec.js +5 -5
- package/build/documentation/curlExampleToText.js +15 -16
- package/build/documentation/curlExampleToText.spec.js +32 -16
- package/build/documentation/doc.js +1 -2
- package/build/documentation/docToFlatDoc.js +13 -17
- package/build/documentation/docToFlatDoc.spec.js +9 -9
- package/build/documentation/flatDoc.js +1 -2
- package/build/documentation/flatDocToText.js +4 -6
- package/build/documentation/flatDocToText.spec.js +20 -8
- package/build/documentation/templateDoc.js +1 -2
- package/build/documentation/templateDocToDoc.js +2 -2
- package/build/extensions/auth.js +64 -124
- package/build/extensions/cli-extension.js +3 -3
- package/build/extensions/cloudEnv.js +76 -120
- package/build/extensions/cloudMeta.js +35 -73
- package/build/extensions/globalConfig.js +37 -80
- package/build/extensions/localConfig.js +15 -46
- package/build/extensions/preventRunningIfUpdateAvailable.js +18 -52
- package/build/log.js +6 -6
- package/build/projectsGeneration/args.js +33 -53
- package/build/projectsGeneration/builders/AdditionalServiceBuilder.js +62 -96
- package/build/projectsGeneration/builders/BaseBuilder.js +30 -34
- package/build/projectsGeneration/builders/BaseSavableEntityBuilder.js +272 -312
- package/build/projectsGeneration/builders/CatalogBuilder.js +17 -46
- package/build/projectsGeneration/builders/ConfigVarBuilder.js +25 -36
- package/build/projectsGeneration/builders/DeploymentBuilder.js +18 -47
- package/build/projectsGeneration/builders/DocumentBuilder.js +26 -56
- package/build/projectsGeneration/builders/InfoRegistryBuilder.js +106 -140
- package/build/projectsGeneration/builders/PageBuilder.js +22 -51
- package/build/projectsGeneration/builders/PermissionBuilder.js +12 -41
- package/build/projectsGeneration/builders/ReportBuilder.js +23 -52
- package/build/projectsGeneration/builders/RestApiBuilder.js +20 -50
- package/build/projectsGeneration/builders/RestApiMethodBuilder.js +25 -54
- package/build/projectsGeneration/builders/RoleBuilder.js +12 -41
- package/build/projectsGeneration/builders/SumRegistryBuilder.js +100 -133
- package/build/projectsGeneration/builders/SystemMetaBuilder.js +281 -324
- package/build/projectsGeneration/builders/TelegramBotBuilder.js +18 -47
- package/build/projectsGeneration/builders/docs/DocumentationOfDocumentBuilder.js +8 -9
- package/build/projectsGeneration/builders/fields/BaseFieldBuilder.js +89 -105
- package/build/projectsGeneration/builders/fields/IdFieldBuilder.js +24 -54
- package/build/projectsGeneration/builders/fields/LinkFieldBuilder.js +33 -62
- package/build/projectsGeneration/builders/fields/ModelFieldBuilder.js +18 -47
- package/build/projectsGeneration/builders/fields/ScalarFieldBuilder.js +11 -42
- package/build/projectsGeneration/builders/fields/ViewLinkFieldBuilder.js +26 -55
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientArgsModelBuilder.js +6 -23
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientBaseModelBuilder.js +28 -57
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientBuilder.js +25 -54
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientQueryMethodsBuilder.js +18 -47
- package/build/projectsGeneration/builders/integrationClients/IntegrationClientReturnModelBuilder.js +12 -41
- package/build/projectsGeneration/builders/materialUiIcons.js +2 -2
- package/build/projectsGeneration/builders/mehods/ArgsModelBuilder.js +6 -23
- package/build/projectsGeneration/builders/mehods/BaseModelBuilder.js +30 -59
- package/build/projectsGeneration/builders/mehods/MethodBuilder.js +36 -66
- package/build/projectsGeneration/builders/mehods/ReturnModelBuilder.js +12 -41
- package/build/projectsGeneration/builders/menu/BaseMenuItemBuilder.js +24 -54
- package/build/projectsGeneration/builders/menu/ExternalEnvMenuItemBuilder.js +11 -40
- package/build/projectsGeneration/builders/menu/ExternalMenuItemBuilder.js +11 -40
- package/build/projectsGeneration/builders/menu/GroupMenuItemBuilder.js +31 -66
- package/build/projectsGeneration/builders/menu/InternalMenuItemBuilder.js +16 -45
- package/build/projectsGeneration/builders/tsFilterFields.js +11 -12
- package/build/projectsGeneration/builders/tsFilterFields.spec.js +29 -11
- package/build/projectsGeneration/builders/ui/FormsBuilder.js +9 -10
- package/build/projectsGeneration/builders/ui/ListFormBuilder.js +9 -10
- package/build/projectsGeneration/builders/ui/ListFormFilterBuilder.js +14 -16
- package/build/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.js +8 -9
- package/build/projectsGeneration/builders/utils/accessFunctions.js +4 -4
- package/build/projectsGeneration/builders/validation/baseValudationToYupAssertions.js +4 -4
- package/build/projectsGeneration/builders/validation/bigintValudationToYupAssertions.js +5 -5
- package/build/projectsGeneration/builders/validation/bigintValudationToYupAssertions.spec.js +7 -7
- package/build/projectsGeneration/builders/validation/floatValudationToYupAssertions.js +4 -4
- package/build/projectsGeneration/builders/validation/floatValudationToYupAssertions.spec.js +6 -6
- package/build/projectsGeneration/builders/validation/intValudationToYupAssertions.js +9 -9
- package/build/projectsGeneration/builders/validation/intValudationToYupAssertions.spec.js +9 -9
- package/build/projectsGeneration/builders/validation/numberValudationToYupAssertions.js +10 -10
- package/build/projectsGeneration/builders/validation/stringValudationToYupAssertions.js +6 -6
- package/build/projectsGeneration/builders/validation/stringValudationToYupAssertions.spec.js +6 -6
- package/build/projectsGeneration/commonEntities/addAggregateTrackings.js +3 -3
- package/build/projectsGeneration/commonEntities/addAuditLogs.js +6 -6
- package/build/projectsGeneration/commonEntities/addAutogeneration.js +4 -4
- package/build/projectsGeneration/commonEntities/addCommonCommands.js +2 -2
- package/build/projectsGeneration/commonEntities/addCommonEntities.js +14 -14
- package/build/projectsGeneration/commonEntities/addConfigurationVariables.js +4 -4
- package/build/projectsGeneration/commonEntities/addLanguages.js +3 -3
- package/build/projectsGeneration/commonEntities/addManagers.js +6 -6
- package/build/projectsGeneration/commonEntities/addRefreshTokens.js +4 -4
- package/build/projectsGeneration/commonEntities/addRoles.js +8 -8
- package/build/projectsGeneration/commonEntities/addTenants.js +3 -3
- package/build/projectsGeneration/commonEntities/addUserSettings.js +7 -7
- package/build/projectsGeneration/commonEntities/addUsers.js +4 -4
- package/build/projectsGeneration/defaultCatalogs/addElasticSearch.js +12 -13
- package/build/projectsGeneration/defaultCatalogs/files.js +6 -6
- package/build/projectsGeneration/fileCleaners/back/graphServices/cleanGraphServices.js +24 -59
- package/build/projectsGeneration/fileCleaners/back/services/cleanServices.js +32 -67
- package/build/projectsGeneration/fileCleaners/cleanFiles.js +7 -38
- package/build/projectsGeneration/fileCleaners/ui/cleanUi.js +7 -39
- package/build/projectsGeneration/fileCleaners/ui/pages/cleanPages.js +24 -59
- package/build/projectsGeneration/fileCleaners/ui/widgets/cleanWidgets.js +10 -40
- package/build/projectsGeneration/fileCleaners/ui/widgets/cleanWidgetsByType.js +29 -62
- package/build/projectsGeneration/genGraphSchemesByLocalGenerator.js +26 -68
- package/build/projectsGeneration/generateAdditionalService.js +41 -98
- package/build/projectsGeneration/generateEntity.js +215 -346
- package/build/projectsGeneration/generateEnvironment.js +157 -265
- package/build/projectsGeneration/generateProject.js +422 -724
- package/build/projectsGeneration/generators/fieldTypeToTsType.js +4 -4
- package/build/projectsGeneration/generators/fileTemplates/back/Entities.js +16 -14
- package/build/projectsGeneration/generators/fileTemplates/back/devEnum.js +17 -13
- package/build/projectsGeneration/generators/fileTemplates/back/elastic/elastic.js +8 -44
- package/build/projectsGeneration/generators/fileTemplates/back/elastic/jobs.js +36 -26
- package/build/projectsGeneration/generators/fileTemplates/back/enum.js +17 -13
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/Chart.js +12 -8
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.js +128 -12
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.js +54 -8
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/values.js +149 -13
- package/build/projectsGeneration/generators/fileTemplates/back/environment/ciNotify.js +19 -8
- package/build/projectsGeneration/generators/fileTemplates/back/environment/defaultEnv.js +5 -9
- package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplBack.js +38 -8
- package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplUI.js +42 -8
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocSpec.js +3 -6
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsConfiguration.js +27 -19
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.js +7 -5
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsIntegrationClient.js +44 -29
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.js +45 -18
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/findLinksToEntities.js +2 -4
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getAllSavableEntities.js +7 -11
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getProjectSpec.js +206 -216
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/titleMd.js +5 -5
- package/build/projectsGeneration/generators/fileTemplates/back/environment/gitlabCi.js +272 -37
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.js +78 -9
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/queue/getQueue.js +42 -9
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/index.js +36 -9
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClient.js +56 -5
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClients.js +12 -9
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFields.js +4 -6
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/integrationClientConstrictors.js +13 -9
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/tsModelTmpl.js +6 -4
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/types.js +15 -7
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalResolvers.js +9 -2
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/permissionToGraphql.js +16 -9
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/resolvers.js +32 -12
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/typeDefs.js +18 -11
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalTypes.js +7 -2
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityAdditionalPermissionToGraphqlTmpl.js +20 -9
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityBasePermissionToGraphql.js +22 -10
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityPermissionToGraphqlTmpl.js +18 -9
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseResolvers.js +17 -2
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseTypeDefs.js +15 -5
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.js +11 -2
- package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/resolvers.js +26 -2
- package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/typeDefs.js +17 -2
- package/build/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.js +52 -13
- package/build/projectsGeneration/generators/fileTemplates/back/graph/resolvers.js +52 -13
- package/build/projectsGeneration/generators/fileTemplates/back/graph/types.js +18 -11
- package/build/projectsGeneration/generators/fileTemplates/back/initCommon.js +30 -16
- package/build/projectsGeneration/generators/fileTemplates/back/initDev.js +27 -15
- package/build/projectsGeneration/generators/fileTemplates/back/initEntities.js +24 -10
- package/build/projectsGeneration/generators/fileTemplates/back/root/config/config.js +30 -16
- package/build/projectsGeneration/generators/fileTemplates/back/root/restRouter.js +21 -2
- package/build/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.js +7 -2
- package/build/projectsGeneration/generators/fileTemplates/back/services/BaseServices.js +18 -22
- package/build/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.js +30 -7
- package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/types.js +18 -13
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/additionalClass.js +7 -5
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/class.js +126 -49
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/config.js +59 -40
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnCreate.js +13 -5
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnDelete.js +14 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnUpdate.js +14 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterCreate.js +15 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterDelete.js +15 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterUpdate.js +15 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeCreate.js +15 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeDelete.js +15 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpdate.js +14 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpsert.js +30 -7
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/changeListFilter.js +14 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/tenantIdRequiredHooks.js +81 -8
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initBuiltInHooks.js +22 -10
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initUserHooks.js +31 -6
- package/build/projectsGeneration/generators/fileTemplates/back/services/serviceConstrictors.js +26 -14
- package/build/projectsGeneration/generators/fileTemplates/ui/Dashboard.js +14 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/MetaPage.js +120 -3
- package/build/projectsGeneration/generators/fileTemplates/ui/ResourcesPage.js +45 -10
- package/build/projectsGeneration/generators/fileTemplates/ui/additionalRoutes.js +5 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/entityMapping.js +14 -12
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/Chart.js +12 -8
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.js +118 -13
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.js +51 -8
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/values.js +79 -8
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/ciNotify.js +19 -8
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/docs/adminAppDocsConfiguration.js +27 -21
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/gitlabCi.js +179 -26
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/App.js +107 -10
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/contexts/SpacesContext.js +67 -9
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/getAdditionalMethods.js +55 -18
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/index.js +93 -13
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/i18nProvider/index.js +51 -19
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/AppBar.js +60 -9
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/Menu.js +52 -9
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/routes.js +38 -9
- package/build/projectsGeneration/generators/fileTemplates/ui/functions/Functions.js +60 -7
- package/build/projectsGeneration/generators/fileTemplates/ui/getAdditionalMenu.js +11 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/getDefaultMenu.js +136 -23
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangCatalogsTmpl.js +3 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangDocsTmpl.js +3 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangInfoRegistriesTmpl.js +3 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangReportsTmpl.js +3 -3
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangSumRegistriesTmpl.js +3 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsForServicesOfSavablesTmpl.js +33 -21
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsLangTmpl.js +23 -15
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.js +101 -62
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/index.js +15 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.js +176 -77
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/index.js +15 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.js +68 -50
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.js +83 -47
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/EntityFilter.js +12 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/index.js +15 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultActions.js +54 -19
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultEntityShow.js +53 -30
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.js +45 -32
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.js +57 -41
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/MainTab.js +3 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/additionalTabs.js +7 -3
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/index.js +15 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/Icon.js +8 -8
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.js +45 -30
- package/build/projectsGeneration/generators/fileTemplates/ui/resources.js +46 -12
- package/build/projectsGeneration/generators/fileTemplates/ui/widgets/count/CountWidget.js +50 -9
- package/build/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.js +109 -14
- package/build/projectsGeneration/generators/graph/fieldTypeToGraphScalar.js +8 -9
- package/build/projectsGeneration/generators/graph/fieldTypeToGraphScalarStringified.js +4 -6
- package/build/projectsGeneration/generators/graph/fields/genGraphField.js +8 -9
- package/build/projectsGeneration/generators/graph/fields/genGraphIdField.js +7 -8
- package/build/projectsGeneration/generators/graph/fields/genGraphIdFieldType.js +6 -6
- package/build/projectsGeneration/generators/graph/fields/genGraphLinkField.js +10 -11
- package/build/projectsGeneration/generators/graph/fields/genGraphModelField.js +10 -11
- package/build/projectsGeneration/generators/graph/fields/genGraphScalarField.js +10 -11
- package/build/projectsGeneration/generators/graph/filters/genGraphField.js +7 -7
- package/build/projectsGeneration/generators/graph/filters/genGraphIdFilter.js +12 -14
- package/build/projectsGeneration/generators/graph/filters/genGraphLinkFilter.js +12 -24
- package/build/projectsGeneration/generators/graph/filters/genGraphScalarFilter.js +25 -37
- package/build/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.js +35 -35
- package/build/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.spec.js +148 -65
- package/build/projectsGeneration/generators/graph/genGraphCrudSchema.js +38 -50
- package/build/projectsGeneration/generators/graph/genGraphCrudSchema.spec.js +393 -34
- package/build/projectsGeneration/generators/graph/genGraphFilterType.js +11 -22
- package/build/projectsGeneration/generators/graph/genGraphFilterType.spec.js +75 -13
- package/build/projectsGeneration/generators/graph/genGraphModelType.js +15 -27
- package/build/projectsGeneration/generators/graph/genGraphType.js +7 -18
- package/build/projectsGeneration/generators/graph/genGraphType.spec.js +27 -12
- package/build/projectsGeneration/generators/graph/printGraphType.js +5 -7
- package/build/projectsGeneration/generators/graph/printGraphType.spec.js +11 -6
- package/build/projectsGeneration/generators/graph/utils/mapUtils.js +11 -30
- package/build/projectsGeneration/generators/graph/utils/models/getModelInitOrder.js +14 -28
- package/build/projectsGeneration/generators/graph/utils/models/getModelInitOrder.spec.js +18 -18
- package/build/projectsGeneration/generators/graph/utils/models/getUniqModels.js +3 -3
- package/build/projectsGeneration/generators/graph/utils/models/getUniqModels.spec.js +17 -28
- package/build/projectsGeneration/generators/graph/utils/models/getUsedModels.js +14 -19
- package/build/projectsGeneration/generators/graph/utils/models/getUsedModels.spec.js +40 -51
- package/build/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.js +17 -26
- package/build/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.spec.js +68 -68
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.js +21 -42
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.spec.js +85 -62
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.js +20 -31
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.spec.js +48 -49
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getServiceModels.js +7 -7
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.js +6 -6
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.spec.js +13 -13
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.js +18 -21
- package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.spec.js +153 -153
- package/build/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.js +25 -26
- package/build/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.spec.js +69 -69
- package/build/projectsGeneration/generators/graph/utils/serviceModels/removeDublicatesFromServiceModels.js +4 -4
- package/build/projectsGeneration/generators/graph/utils/serviceModels/removeUnusedInOutputGeneralModels.js +6 -17
- package/build/projectsGeneration/generators/graph/utils/serviceModels/removeVoidsInServiceModels.js +5 -5
- package/build/projectsGeneration/generators/prisma/fieldIdTypeToPrismaType.js +3 -3
- package/build/projectsGeneration/generators/prisma/fieldTypeToPrismaType.js +3 -3
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.js +3 -3
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.spec.js +20 -20
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaField.js +7 -8
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.js +6 -7
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.js +7 -19
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.js +10 -11
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.spec.js +13 -13
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.js +15 -18
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.js +27 -28
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.js +12 -14
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.spec.js +29 -30
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.js +23 -32
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.js +104 -47
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntities.js +5 -7
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb.js +19 -10
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNameToEditScalar.js +3 -3
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditField.js +7 -7
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditIdField.js +3 -3
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.js +5 -5
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.spec.js +10 -10
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditScalarField.js +3 -3
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.js +3 -3
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowField.js +7 -7
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.js +3 -3
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.js +2 -14
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.js +17 -17
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.js +3 -3
- package/build/projectsGeneration/generators/ui/getLinkShowComponent.spec.js +18 -18
- package/build/projectsGeneration/generators/ui/getScalarShowComponent.spec.js +11 -11
- package/build/projectsGeneration/generators/ui/getShowComponent.js +19 -20
- package/build/projectsGeneration/links/getLinksFromExternalEntities.js +2 -4
- package/build/projectsGeneration/links/getLinksFromExternalEntities.spec.js +11 -22
- package/build/projectsGeneration/links/getLinksOfEntities.js +6 -8
- package/build/projectsGeneration/links/getLinksOfEntities.spec.js +20 -31
- package/build/projectsGeneration/links/getLinksToExternalEntities.js +2 -4
- package/build/projectsGeneration/links/getLinksToExternalEntities.spec.js +11 -22
- package/build/projectsGeneration/metaUtils.js +17 -23
- package/build/projectsGeneration/modelsGeneration.serialization.spec.js +8 -8
- package/build/projectsGeneration/modules/addEmailModuleEntities.js +11 -11
- package/build/projectsGeneration/types.js +6 -6
- package/build/projectsGeneration/utils.js +24 -61
- package/build/refs/yup.spec.js +7 -7
- package/build/types/projectsGeneration/builders/InfoRegistryBuilder.d.ts +0 -4
- package/build/types/projectsGeneration/builders/SumRegistryBuilder.d.ts +0 -3
- package/build/types/projectsGeneration/fileCleaners/cleanFiles.d.ts +1 -1
- package/build/types/projectsGeneration/generateProject.d.ts +0 -5
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplBack.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplUI.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClient.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/config.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.d.ts +1 -1
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/App.d.ts +1 -1
- package/build/utils/TermSignals.js +35 -43
- package/build/utils/cases.js +12 -18
- package/build/utils/getPkgManager.js +4 -4
- package/package.json +12 -24
- package/build/projectsGeneration/fileCleaners/back/cleanBack.js +0 -50
- package/build/types/projectsGeneration/fileCleaners/back/cleanBack.d.ts +0 -3
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -19,261 +8,164 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
9
|
});
|
|
21
10
|
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
12
|
exports.generateEnvironment = void 0;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
if (!opts.corePrismaGetter) return [3 /*break*/, 2];
|
|
94
|
-
clientsFolderDir = (0, path_1.join)(prjDetachedBackSrcDir, 'clients');
|
|
95
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(clientsFolderDir, 'getPrisma.ts'), (0, getPrisma_1.prismaGetterTmpl)(opts))];
|
|
96
|
-
case 1:
|
|
97
|
-
_a.sent();
|
|
98
|
-
_a.label = 2;
|
|
99
|
-
case 2:
|
|
100
|
-
if (!opts.corePrismaGetter) return [3 /*break*/, 4];
|
|
101
|
-
queueFolderDir = (0, path_1.join)(prjDetachedBackSrcDir, 'clients', 'queue');
|
|
102
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(queueFolderDir, 'getQueue.ts'), (0, getQueue_1.getQueueTmpl)(opts))];
|
|
103
|
-
case 3:
|
|
104
|
-
_a.sent();
|
|
105
|
-
_a.label = 4;
|
|
106
|
-
case 4:
|
|
107
|
-
if (!opts.coreIndex) return [3 /*break*/, 6];
|
|
108
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(prjDetachedBackSrcDir, 'index.ts'), (0, src_1.environmentIndexTmpl)(opts))];
|
|
109
|
-
case 5:
|
|
110
|
-
_a.sent();
|
|
111
|
-
_a.label = 6;
|
|
112
|
-
case 6:
|
|
113
|
-
if (!opts.genPrismaSchema) return [3 /*break*/, 9];
|
|
114
|
-
prismaFolderDir = (0, path_1.join)(opts.detachedBackProject, 'prisma');
|
|
115
|
-
prismaSchema = (0, genPrismaSchemaForEntitiesWithClientAdnDb_1.genPrismaSchemaForEntitiesWithClientAdnDb)(projectWideGenerationArgs);
|
|
116
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(prismaFolderDir, 'schema.prisma'), prismaSchema)];
|
|
117
|
-
case 7:
|
|
118
|
-
_a.sent();
|
|
119
|
-
if (!opts.sharding) return [3 /*break*/, 9];
|
|
120
|
-
prismaSchema_1 = (0, genPrismaSchemaForEntitiesWithClientAdnDb_1.genPrismaSchemaForEntitiesWithClientAdnDb)(projectWideGenerationArgs, true);
|
|
121
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(prismaFolderDir, 'shards', 'schema.prisma'), prismaSchema_1)];
|
|
122
|
-
case 8:
|
|
123
|
-
_a.sent();
|
|
124
|
-
_a.label = 9;
|
|
125
|
-
case 9:
|
|
126
|
-
chartDir = (0, path_1.join)(opts.detachedBackProject, 'chart');
|
|
127
|
-
// chart itself
|
|
128
|
-
// chart/Chart.yaml
|
|
129
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(chartDir, 'Chart.yaml'), (0, Chart_1.chartTmpl)(projectWideGenerationArgs))
|
|
130
|
-
// chart values
|
|
131
|
-
// chart/values.yaml
|
|
132
|
-
];
|
|
133
|
-
case 10:
|
|
134
|
-
// chart itself
|
|
135
|
-
// chart/Chart.yaml
|
|
136
|
-
_a.sent();
|
|
137
|
-
if (!opts.genBackChartValues) return [3 /*break*/, 12];
|
|
138
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(chartDir, 'values.yaml'), (0, values_1.chartValuesTmpl)(projectWideGenerationArgs))];
|
|
139
|
-
case 11:
|
|
140
|
-
_a.sent();
|
|
141
|
-
_a.label = 12;
|
|
142
|
-
case 12:
|
|
143
|
-
chartTemplatesDir = (0, path_1.join)(chartDir, 'templates');
|
|
144
|
-
if (!opts.genBackChartIngress) return [3 /*break*/, 14];
|
|
145
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(chartTemplatesDir, 'ingress.yaml'), (0, ingress_1.chartIngressTmpl)(projectWideGenerationArgs))];
|
|
146
|
-
case 13:
|
|
147
|
-
_a.sent();
|
|
148
|
-
_a.label = 14;
|
|
149
|
-
case 14:
|
|
150
|
-
if (!opts.genBackChartBack) return [3 /*break*/, 16];
|
|
151
|
-
// chart/templates/back.yaml
|
|
152
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(chartTemplatesDir, 'back.yaml'), (0, back_1.chartBackTmpl)(projectWideGenerationArgs))];
|
|
153
|
-
case 15:
|
|
154
|
-
// chart/templates/back.yaml
|
|
155
|
-
_a.sent();
|
|
156
|
-
_a.label = 16;
|
|
157
|
-
case 16:
|
|
158
|
-
if (!opts.genBackGitlabCi) return [3 /*break*/, 18];
|
|
159
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedBackProject, '.gitlab-ci.yml'), (0, gitlabCi_1.gitlabCiTmpl)(projectWideGenerationArgs))];
|
|
160
|
-
case 17:
|
|
161
|
-
_a.sent();
|
|
162
|
-
_a.label = 18;
|
|
163
|
-
case 18:
|
|
164
|
-
if (!opts.genBackCiNotify) return [3 /*break*/, 20];
|
|
165
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedBackProject, 'ci-notify.sh'), (0, ciNotify_2.ciNotifyTmpl)(projectWideGenerationArgs))];
|
|
166
|
-
case 19:
|
|
167
|
-
_a.sent();
|
|
168
|
-
_a.label = 20;
|
|
169
|
-
case 20:
|
|
170
|
-
// dockerfileTmplBack
|
|
171
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedBackProject, 'Dockerfile'), (0, dockerfileTmplBack_1.dockerfileTmplBack)(projectWideGenerationArgs))
|
|
172
|
-
// UI
|
|
173
|
-
];
|
|
174
|
-
case 21:
|
|
175
|
-
// dockerfileTmplBack
|
|
176
|
-
_a.sent();
|
|
177
|
-
prjDetachedUiSrcDir = (0, path_1.join)(opts.detachedUiProject, 'src');
|
|
178
|
-
if (!opts.genUIApp) return [3 /*break*/, 23];
|
|
179
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(prjDetachedUiSrcDir, 'App.tsx'), (0, App_1.uiAppTmpl)(projectWideGenerationArgs, opts))];
|
|
180
|
-
case 22:
|
|
181
|
-
_a.sent();
|
|
182
|
-
_a.label = 23;
|
|
183
|
-
case 23:
|
|
184
|
-
uiLayoutFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'layout');
|
|
185
|
-
// src/layout/Menu.tsx
|
|
186
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiLayoutFolder, 'Menu.tsx'), (0, Menu_1.uiLayoutMenuTmpl)(opts))
|
|
187
|
-
// src/layout/AppBar.tsx
|
|
188
|
-
];
|
|
189
|
-
case 24:
|
|
190
|
-
// src/layout/Menu.tsx
|
|
191
|
-
_a.sent();
|
|
192
|
-
if (!opts.genUiAppBar) return [3 /*break*/, 26];
|
|
193
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiLayoutFolder, 'AppBar.tsx'), (0, AppBar_1.uiLayoutAppBarTmpl)(opts))];
|
|
194
|
-
case 25:
|
|
195
|
-
_a.sent();
|
|
196
|
-
_a.label = 26;
|
|
197
|
-
case 26:
|
|
198
|
-
uiContextsFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'contexts');
|
|
199
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiContextsFolder, 'SpacesContext.tsx'), (0, SpacesContext_1.uiSpacesContextTmpl)(projectWideGenerationArgs))
|
|
200
|
-
// src/dataProvider/index.ts
|
|
201
|
-
];
|
|
202
|
-
case 27:
|
|
203
|
-
_a.sent();
|
|
204
|
-
uiDataProviderFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'dataProvider');
|
|
205
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiDataProviderFolder, 'index.ts'), (0, dataProvider_1.uiDataProviderTmpl)(entities, opts))
|
|
206
|
-
// src/dataProvider/getAdditionalMethods.ts
|
|
207
|
-
];
|
|
208
|
-
case 28:
|
|
209
|
-
_a.sent();
|
|
210
|
-
// src/dataProvider/getAdditionalMethods.ts
|
|
211
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiDataProviderFolder, 'getAdditionalMethods.ts'), (0, getAdditionalMethods_1.uiGetAdditionalMethodsTmpl)(projectWideGenerationArgs.system.additionalServices, opts))
|
|
212
|
-
// src/i18nProvider/index.ts
|
|
213
|
-
];
|
|
214
|
-
case 29:
|
|
215
|
-
// src/dataProvider/getAdditionalMethods.ts
|
|
216
|
-
_a.sent();
|
|
217
|
-
uiI18nProviderFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'i18nProvider');
|
|
218
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiI18nProviderFolder, 'index.ts'), (0, i18nProvider_1.uiI18nProviderTmpl)(projectWideGenerationArgs, opts))
|
|
219
|
-
// chart
|
|
220
|
-
];
|
|
221
|
-
case 30:
|
|
222
|
-
_a.sent();
|
|
223
|
-
uiChartDir = (0, path_1.join)(opts.detachedUiProject, 'chart');
|
|
224
|
-
// chart itself
|
|
225
|
-
// chart/Chart.yaml
|
|
226
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiChartDir, 'Chart.yaml'), (0, Chart_2.uiChartTmpl)(projectWideGenerationArgs))
|
|
227
|
-
// chart values
|
|
228
|
-
// chart/values.yaml
|
|
229
|
-
];
|
|
230
|
-
case 31:
|
|
231
|
-
// chart itself
|
|
232
|
-
// chart/Chart.yaml
|
|
233
|
-
_a.sent();
|
|
234
|
-
// chart values
|
|
235
|
-
// chart/values.yaml
|
|
236
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiChartDir, 'values.yaml'), (0, values_2.uiChartValuesTmpl)(projectWideGenerationArgs))
|
|
237
|
-
// chart templates
|
|
238
|
-
];
|
|
239
|
-
case 32:
|
|
240
|
-
// chart values
|
|
241
|
-
// chart/values.yaml
|
|
242
|
-
_a.sent();
|
|
243
|
-
uiChartTemplatesDir = (0, path_1.join)(uiChartDir, 'templates');
|
|
244
|
-
if (!opts.genUiChartIngress) return [3 /*break*/, 34];
|
|
245
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiChartTemplatesDir, 'ingress.yaml'), (0, ingress_2.uiChartIngressTmpl)(projectWideGenerationArgs))];
|
|
246
|
-
case 33:
|
|
247
|
-
_a.sent();
|
|
248
|
-
_a.label = 34;
|
|
249
|
-
case 34:
|
|
250
|
-
if (!opts.genUiChartFront) return [3 /*break*/, 36];
|
|
251
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(uiChartTemplatesDir, 'front.yaml'), (0, front_1.uiChartFrontTmpl)(projectWideGenerationArgs))];
|
|
252
|
-
case 35:
|
|
253
|
-
_a.sent();
|
|
254
|
-
_a.label = 36;
|
|
255
|
-
case 36:
|
|
256
|
-
if (!opts.genUiGitlabCi) return [3 /*break*/, 38];
|
|
257
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedUiProject, '.gitlab-ci.yml'), (0, gitlabCi_2.uiGitlabCiTmpl)(projectWideGenerationArgs))];
|
|
258
|
-
case 37:
|
|
259
|
-
_a.sent();
|
|
260
|
-
_a.label = 38;
|
|
261
|
-
case 38:
|
|
262
|
-
if (!opts.genUiCiNotify) return [3 /*break*/, 40];
|
|
263
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedUiProject, 'ci-notify.sh'), (0, ciNotify_1.uiCiNotifyTmpl)(projectWideGenerationArgs))];
|
|
264
|
-
case 39:
|
|
265
|
-
_a.sent();
|
|
266
|
-
_a.label = 40;
|
|
267
|
-
case 40:
|
|
268
|
-
// dockerfileTmplUI
|
|
269
|
-
return [4 /*yield*/, (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedUiProject, 'Dockerfile'), (0, dockerfileTmplUI_1.dockerfileTmplUI)(projectWideGenerationArgs))];
|
|
270
|
-
case 41:
|
|
271
|
-
// dockerfileTmplUI
|
|
272
|
-
_a.sent();
|
|
273
|
-
_a.label = 42;
|
|
274
|
-
case 42: return [2 /*return*/];
|
|
13
|
+
const path_1 = require("path");
|
|
14
|
+
const types_1 = require("./types");
|
|
15
|
+
const getPrisma_1 = require("./generators/fileTemplates/back/environment/src/clients/getPrisma");
|
|
16
|
+
const getQueue_1 = require("./generators/fileTemplates/back/environment/src/clients/queue/getQueue");
|
|
17
|
+
const src_1 = require("./generators/fileTemplates/back/environment/src");
|
|
18
|
+
const back_1 = require("./generators/fileTemplates/back/environment/chart/templates/back");
|
|
19
|
+
const gitlabCi_1 = require("./generators/fileTemplates/back/environment/gitlabCi");
|
|
20
|
+
const Chart_1 = require("./generators/fileTemplates/back/environment/chart/Chart");
|
|
21
|
+
const values_1 = require("./generators/fileTemplates/back/environment/chart/values");
|
|
22
|
+
const ingress_1 = require("./generators/fileTemplates/back/environment/chart/templates/ingress");
|
|
23
|
+
const gitlabCi_2 = require("./generators/fileTemplates/ui/environment/gitlabCi");
|
|
24
|
+
const Chart_2 = require("./generators/fileTemplates/ui/environment/chart/Chart");
|
|
25
|
+
const values_2 = require("./generators/fileTemplates/ui/environment/chart/values");
|
|
26
|
+
const ingress_2 = require("./generators/fileTemplates/ui/environment/chart/templates/ingress");
|
|
27
|
+
const front_1 = require("./generators/fileTemplates/ui/environment/chart/templates/front");
|
|
28
|
+
const App_1 = require("./generators/fileTemplates/ui/environment/src/App");
|
|
29
|
+
const Menu_1 = require("./generators/fileTemplates/ui/environment/src/layout/Menu");
|
|
30
|
+
const dataProvider_1 = require("./generators/fileTemplates/ui/environment/src/dataProvider");
|
|
31
|
+
const i18nProvider_1 = require("./generators/fileTemplates/ui/environment/src/i18nProvider");
|
|
32
|
+
const SpacesContext_1 = require("./generators/fileTemplates/ui/environment/src/contexts/SpacesContext");
|
|
33
|
+
const AppBar_1 = require("./generators/fileTemplates/ui/environment/src/layout/AppBar");
|
|
34
|
+
const genPrismaSchemaForEntitiesWithClientAdnDb_1 = require("./generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb");
|
|
35
|
+
const fs_jetpack_1 = require("fs-jetpack");
|
|
36
|
+
const dockerfileTmplUI_1 = require("./generators/fileTemplates/back/environment/dockerfileTmplUI");
|
|
37
|
+
const dockerfileTmplBack_1 = require("./generators/fileTemplates/back/environment/dockerfileTmplBack");
|
|
38
|
+
const ciNotify_1 = require("./generators/fileTemplates/ui/environment/ciNotify");
|
|
39
|
+
const ciNotify_2 = require("./generators/fileTemplates/back/environment/ciNotify");
|
|
40
|
+
const getAdditionalMethods_1 = require("./generators/fileTemplates/ui/environment/src/dataProvider/getAdditionalMethods");
|
|
41
|
+
const generateEnvironment = (projectWideGenerationArgs) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
|
+
const { entities, options } = projectWideGenerationArgs;
|
|
43
|
+
const opts = Object.assign(Object.assign({}, types_1.defaultBootstrapEntityOptions), options);
|
|
44
|
+
const allEntities = new Map();
|
|
45
|
+
for (const entity of entities) {
|
|
46
|
+
allEntities.set(entity.name, entity);
|
|
47
|
+
}
|
|
48
|
+
if (opts.detachedBackProject) {
|
|
49
|
+
const prjDetachedBackSrcDir = (0, path_1.join)(opts.detachedBackProject, 'src');
|
|
50
|
+
// corePrismaGetter
|
|
51
|
+
// src/prisma/prisma.ts
|
|
52
|
+
if (opts.corePrismaGetter) {
|
|
53
|
+
const clientsFolderDir = (0, path_1.join)(prjDetachedBackSrcDir, 'clients');
|
|
54
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(clientsFolderDir, 'getPrisma.ts'), (0, getPrisma_1.prismaGetterTmpl)(opts));
|
|
275
55
|
}
|
|
276
|
-
|
|
277
|
-
|
|
56
|
+
// src/clients/queue/getQueue.ts
|
|
57
|
+
if (opts.corePrismaGetter) {
|
|
58
|
+
const queueFolderDir = (0, path_1.join)(prjDetachedBackSrcDir, 'clients', 'queue');
|
|
59
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(queueFolderDir, 'getQueue.ts'), (0, getQueue_1.getQueueTmpl)(opts));
|
|
60
|
+
}
|
|
61
|
+
// coreIndex
|
|
62
|
+
// src/index.ts
|
|
63
|
+
if (opts.coreIndex) {
|
|
64
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(prjDetachedBackSrcDir, 'index.ts'), (0, src_1.environmentIndexTmpl)(opts));
|
|
65
|
+
}
|
|
66
|
+
// schema.prisma
|
|
67
|
+
// prisma/schema.prisma
|
|
68
|
+
if (opts.genPrismaSchema) {
|
|
69
|
+
const prismaFolderDir = (0, path_1.join)(opts.detachedBackProject, 'prisma');
|
|
70
|
+
const prismaSchema = (0, genPrismaSchemaForEntitiesWithClientAdnDb_1.genPrismaSchemaForEntitiesWithClientAdnDb)(projectWideGenerationArgs);
|
|
71
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(prismaFolderDir, 'schema.prisma'), prismaSchema);
|
|
72
|
+
if (opts.sharding) {
|
|
73
|
+
const prismaSchema = (0, genPrismaSchemaForEntitiesWithClientAdnDb_1.genPrismaSchemaForEntitiesWithClientAdnDb)(projectWideGenerationArgs, true);
|
|
74
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(prismaFolderDir, 'shards', 'schema.prisma'), prismaSchema);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
// chart
|
|
78
|
+
const chartDir = (0, path_1.join)(opts.detachedBackProject, 'chart');
|
|
79
|
+
// chart itself
|
|
80
|
+
// chart/Chart.yaml
|
|
81
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(chartDir, 'Chart.yaml'), (0, Chart_1.chartTmpl)(projectWideGenerationArgs));
|
|
82
|
+
// chart values
|
|
83
|
+
// chart/values.yaml
|
|
84
|
+
if (opts.genBackChartValues) {
|
|
85
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(chartDir, 'values.yaml'), (0, values_1.chartValuesTmpl)(projectWideGenerationArgs));
|
|
86
|
+
}
|
|
87
|
+
// chart templates
|
|
88
|
+
const chartTemplatesDir = (0, path_1.join)(chartDir, 'templates');
|
|
89
|
+
// chart ingress
|
|
90
|
+
// chart/templates/ingress.yaml
|
|
91
|
+
if (opts.genBackChartIngress) {
|
|
92
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(chartTemplatesDir, 'ingress.yaml'), (0, ingress_1.chartIngressTmpl)(projectWideGenerationArgs));
|
|
93
|
+
}
|
|
94
|
+
// chart back
|
|
95
|
+
if (opts.genBackChartBack) {
|
|
96
|
+
// chart/templates/back.yaml
|
|
97
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(chartTemplatesDir, 'back.yaml'), (0, back_1.chartBackTmpl)(projectWideGenerationArgs));
|
|
98
|
+
}
|
|
99
|
+
// gitlab-ci
|
|
100
|
+
// .gitlab-ci.yml
|
|
101
|
+
if (opts.genBackGitlabCi) {
|
|
102
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedBackProject, '.gitlab-ci.yml'), (0, gitlabCi_1.gitlabCiTmpl)(projectWideGenerationArgs));
|
|
103
|
+
}
|
|
104
|
+
// ci-notify
|
|
105
|
+
// ci-notify.sh
|
|
106
|
+
if (opts.genBackCiNotify) {
|
|
107
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedBackProject, 'ci-notify.sh'), (0, ciNotify_2.ciNotifyTmpl)(projectWideGenerationArgs));
|
|
108
|
+
}
|
|
109
|
+
// dockerfileTmplBack
|
|
110
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedBackProject, 'Dockerfile'), (0, dockerfileTmplBack_1.dockerfileTmplBack)(projectWideGenerationArgs));
|
|
111
|
+
// UI
|
|
112
|
+
const prjDetachedUiSrcDir = (0, path_1.join)(opts.detachedUiProject, 'src');
|
|
113
|
+
// src/App.tsx
|
|
114
|
+
if (opts.genUIApp) {
|
|
115
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(prjDetachedUiSrcDir, 'App.tsx'), (0, App_1.uiAppTmpl)(projectWideGenerationArgs, opts));
|
|
116
|
+
}
|
|
117
|
+
// layout
|
|
118
|
+
const uiLayoutFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'layout');
|
|
119
|
+
// src/layout/Menu.tsx
|
|
120
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiLayoutFolder, 'Menu.tsx'), (0, Menu_1.uiLayoutMenuTmpl)(opts));
|
|
121
|
+
// src/layout/AppBar.tsx
|
|
122
|
+
if (opts.genUiAppBar) {
|
|
123
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiLayoutFolder, 'AppBar.tsx'), (0, AppBar_1.uiLayoutAppBarTmpl)(opts));
|
|
124
|
+
}
|
|
125
|
+
// src/contexts/SpacesContext.tsx
|
|
126
|
+
const uiContextsFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'contexts');
|
|
127
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiContextsFolder, 'SpacesContext.tsx'), (0, SpacesContext_1.uiSpacesContextTmpl)(projectWideGenerationArgs));
|
|
128
|
+
// src/dataProvider/index.ts
|
|
129
|
+
const uiDataProviderFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'dataProvider');
|
|
130
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiDataProviderFolder, 'index.ts'), (0, dataProvider_1.uiDataProviderTmpl)(entities, opts));
|
|
131
|
+
// src/dataProvider/getAdditionalMethods.ts
|
|
132
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiDataProviderFolder, 'getAdditionalMethods.ts'), (0, getAdditionalMethods_1.uiGetAdditionalMethodsTmpl)(projectWideGenerationArgs.system.additionalServices, opts));
|
|
133
|
+
// src/i18nProvider/index.ts
|
|
134
|
+
const uiI18nProviderFolder = (0, path_1.join)(prjDetachedUiSrcDir, 'i18nProvider');
|
|
135
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiI18nProviderFolder, 'index.ts'), (0, i18nProvider_1.uiI18nProviderTmpl)(projectWideGenerationArgs, opts));
|
|
136
|
+
// chart
|
|
137
|
+
const uiChartDir = (0, path_1.join)(opts.detachedUiProject, 'chart');
|
|
138
|
+
// chart itself
|
|
139
|
+
// chart/Chart.yaml
|
|
140
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiChartDir, 'Chart.yaml'), (0, Chart_2.uiChartTmpl)(projectWideGenerationArgs));
|
|
141
|
+
// chart values
|
|
142
|
+
// chart/values.yaml
|
|
143
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiChartDir, 'values.yaml'), (0, values_2.uiChartValuesTmpl)(projectWideGenerationArgs));
|
|
144
|
+
// chart templates
|
|
145
|
+
const uiChartTemplatesDir = (0, path_1.join)(uiChartDir, 'templates');
|
|
146
|
+
// chart ingress
|
|
147
|
+
// chart/templates/ingress.yaml
|
|
148
|
+
if (opts.genUiChartIngress) {
|
|
149
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiChartTemplatesDir, 'ingress.yaml'), (0, ingress_2.uiChartIngressTmpl)(projectWideGenerationArgs));
|
|
150
|
+
}
|
|
151
|
+
// chart front
|
|
152
|
+
// chart/templates/front.yaml
|
|
153
|
+
if (opts.genUiChartFront) {
|
|
154
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(uiChartTemplatesDir, 'front.yaml'), (0, front_1.uiChartFrontTmpl)(projectWideGenerationArgs));
|
|
155
|
+
}
|
|
156
|
+
// gitlab-ci
|
|
157
|
+
// .gitlab-ci.yml
|
|
158
|
+
if (opts.genUiGitlabCi) {
|
|
159
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedUiProject, '.gitlab-ci.yml'), (0, gitlabCi_2.uiGitlabCiTmpl)(projectWideGenerationArgs));
|
|
160
|
+
}
|
|
161
|
+
// ci-notify
|
|
162
|
+
// ci-notify.sh
|
|
163
|
+
if (opts.genUiCiNotify) {
|
|
164
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedUiProject, 'ci-notify.sh'), (0, ciNotify_1.uiCiNotifyTmpl)(projectWideGenerationArgs));
|
|
165
|
+
}
|
|
166
|
+
// dockerfileTmplUI
|
|
167
|
+
yield (0, fs_jetpack_1.write)((0, path_1.join)(opts.detachedUiProject, 'Dockerfile'), (0, dockerfileTmplUI_1.dockerfileTmplUI)(projectWideGenerationArgs));
|
|
168
|
+
}
|
|
169
|
+
});
|
|
278
170
|
exports.generateEnvironment = generateEnvironment;
|
|
279
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
171
|
+
//# sourceMappingURL=data:application/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