runlify 0.0.75 → 0.0.78
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/documentation/algorithm.js +3 -0
- package/build/documentation/algoritmToDoc.js +24 -0
- package/build/documentation/algoritmToDoc.spec.js +56 -0
- package/build/documentation/curlExampleToText.js +36 -0
- package/build/documentation/curlExampleToText.spec.js +59 -0
- package/build/documentation/doc.js +4 -0
- package/build/documentation/docToFlatDoc.js +54 -0
- package/build/documentation/docToFlatDoc.spec.js +219 -0
- package/build/documentation/flatDoc.js +4 -0
- package/build/documentation/flatDocToText.js +17 -0
- package/build/documentation/flatDocToText.spec.js +69 -0
- package/build/documentation/templateDoc.js +4 -0
- package/build/documentation/templateDocToDoc.js +9 -0
- package/build/index.js +18 -0
- package/build/log.js +15 -0
- package/build/projectsGeneration/args.js +79 -0
- package/build/projectsGeneration/builders/BaseBuilder.js +49 -0
- package/build/projectsGeneration/builders/BaseSavableEntityBuilder.js +251 -0
- package/build/projectsGeneration/builders/CatalogBuilder.js +88 -0
- package/build/projectsGeneration/builders/DocumentBuilder.js +108 -0
- package/build/projectsGeneration/builders/InfoRegistryBuilder.js +226 -0
- package/build/projectsGeneration/builders/ReportBuilder.js +40 -0
- package/build/projectsGeneration/builders/RestApiBuilder.js +53 -0
- package/build/projectsGeneration/builders/RestApiMethodBuilder.js +70 -0
- package/build/projectsGeneration/builders/RoleBuilder.js +38 -0
- package/build/projectsGeneration/builders/SumRegistryBuilder.js +216 -0
- package/build/projectsGeneration/builders/SystemMetaBuilder.js +338 -0
- package/build/projectsGeneration/builders/TelegramBotBuilder.js +36 -0
- package/build/projectsGeneration/builders/WorkerBuilder.js +60 -0
- package/build/projectsGeneration/builders/buildedTypes.js +12 -0
- package/build/projectsGeneration/builders/curlTypes.js +3 -0
- package/build/projectsGeneration/builders/docs/DocumentationOfDocument.js +3 -0
- package/build/projectsGeneration/builders/docs/DocumentationOfDocumentBuilder.js +20 -0
- package/build/projectsGeneration/builders/fields/BaseFieldBuilder.js +179 -0
- package/build/projectsGeneration/builders/fields/IdFieldBuilder.js +96 -0
- package/build/projectsGeneration/builders/fields/LinkFieldBuilder.js +92 -0
- package/build/projectsGeneration/builders/fields/ScalarFieldBuilder.js +65 -0
- package/build/projectsGeneration/builders/fields/ViewLinkFieldBuilder.js +91 -0
- package/build/projectsGeneration/builders/materialUiIcons.js +8882 -0
- package/build/projectsGeneration/builders/postponed/AccumulationRegisterMetaBuilder.js +34 -0
- package/build/projectsGeneration/builders/postponed/DictionaryMetaBuilder.js +28 -0
- package/build/projectsGeneration/builders/postponed/DocumentMetaBuilder.js +28 -0
- package/build/projectsGeneration/builders/postponed/EntityFormMetaBuilder.js +28 -0
- package/build/projectsGeneration/builders/postponed/InformationRegisterMetaBuilder.js +33 -0
- package/build/projectsGeneration/builders/postponed/ListFormMetaBuilder.js +28 -0
- package/build/projectsGeneration/builders/postponed/PeriodicInformationRegisterMetaBuilder.js +37 -0
- package/build/projectsGeneration/builders/postponed/ReportMetaBuilder.js +28 -0
- package/build/projectsGeneration/builders/postponed/RoleMetaBuilder.js +28 -0
- package/build/projectsGeneration/builders/tsFilterFields.js +39 -0
- package/build/projectsGeneration/builders/tsFilterFields.spec.js +26 -0
- package/build/projectsGeneration/builders/types.js +3 -0
- package/build/projectsGeneration/builders/ui/Forms.js +3 -0
- package/build/projectsGeneration/builders/ui/FormsBuilder.js +21 -0
- package/build/projectsGeneration/builders/ui/ListFormBuilder.js +21 -0
- package/build/projectsGeneration/builders/ui/ListFormFilterBuilder.js +28 -0
- package/build/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.js +24 -0
- package/build/projectsGeneration/builders/utils/accessFunctions.js +12 -0
- package/build/projectsGeneration/defaultCatalogs/files.js +24 -0
- package/build/projectsGeneration/genGraphSchemesByLocalGenerator.js +78 -0
- package/build/projectsGeneration/generateEntity.js +342 -0
- package/build/projectsGeneration/generateEnvironment.js +238 -0
- package/build/projectsGeneration/generateProject.js +787 -0
- package/build/projectsGeneration/generators/fieldTypeToTsType.js +26 -0
- package/build/projectsGeneration/generators/fileTemplates/back/Entities.js +18 -0
- package/build/projectsGeneration/generators/fileTemplates/back/devEnum.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/back/enum.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/Chart.js +12 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.js +16 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.js +12 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/values.js +20 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/defaultEnv.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsConfiguration.js +24 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.js +9 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.js +33 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/gitlabCi.js +46 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/knex.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/queue/getQueue.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/environment/src/index.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalResolvers.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalTypes.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityAdditionalPermissionToGraphqlTmpl.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityBasePermissionToGraphql.js +14 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/entityPermissionToGraphqlTmpl.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseResolvers.js +5 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseTypeDefs.js +8 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.js +5 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/resolvers.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/typeDefs.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/resolvers.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/back/graph/types.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/back/initCommon.js +31 -0
- package/build/projectsGeneration/generators/fileTemplates/back/initDev.js +23 -0
- package/build/projectsGeneration/generators/fileTemplates/back/initEntities.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/back/root/config.js +15 -0
- package/build/projectsGeneration/generators/fileTemplates/back/root/restRouter.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/BaseServices.js +15 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/additionalMethods.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnCreate.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnDelete.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnUpdate.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterCreate.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterDelete.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterUpdate.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeCreate.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeDelete.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpdate.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpsert.js +12 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/changeListFilter.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/getPostOperations.js +51 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/getRegistryEntries.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/getUnPostOperations.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/tenantIdRequiredHooks.js +18 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initBuiltInHooks.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initUserHooks.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/entity/service.js +144 -0
- package/build/projectsGeneration/generators/fileTemplates/back/services/serviceConstrictors.js +15 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/Dashboard.js +5 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/MetaPage.js +8 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/ResourcesPage.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/additionalRoutes.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/entityMapping.js +16 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/Chart.js +12 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.js +12 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/values.js +12 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/docs/adminAppDocsConfiguration.js +26 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/gitlabCi.js +33 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/App.js +14 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/contexts/SpacesContext.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/index.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/AppBar.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/Menu.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/routes.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/functions/Functions.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/getAdditionalMenu.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/getDefaultMenu.js +23 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangCatalogsTmpl.js +9 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangDocsTmpl.js +9 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangInfoRegistriesTmpl.js +9 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangReportsTmpl.js +7 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangSumRegistriesTmpl.js +9 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsForServicesOfSavablesTmpl.js +23 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsLangTmpl.js +17 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.js +80 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/index.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.js +141 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/index.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.js +52 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.js +63 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/EntityFilter.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/index.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultActions.js +23 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultEntityShow.js +39 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.js +39 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.js +55 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/MainTab.js +6 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/additionalTabs.js +8 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/index.js +10 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/Icon.js +12 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.js +57 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/resources.js +11 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/widgets/count/CountWidget.js +13 -0
- package/build/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.js +18 -0
- package/build/projectsGeneration/generators/graph/fieldTypeToGraphScalar.js +27 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphField.js +21 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphIdField.js +16 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphIdFieldType.js +20 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphLinkField.js +35 -0
- package/build/projectsGeneration/generators/graph/fields/genGraphScalarField.js +28 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphField.js +21 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphIdFilter.js +25 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphLinkFilter.js +18 -0
- package/build/projectsGeneration/generators/graph/filters/genGraphScalarFilter.js +42 -0
- package/build/projectsGeneration/generators/graph/genGraphCrudSchema.js +103 -0
- package/build/projectsGeneration/generators/graph/genGraphCrudSchema.spec.js +84 -0
- package/build/projectsGeneration/generators/graph/genGraphFilterType.js +29 -0
- package/build/projectsGeneration/generators/graph/genGraphFilterType.spec.js +32 -0
- package/build/projectsGeneration/generators/graph/genGraphType.js +27 -0
- package/build/projectsGeneration/generators/graph/genGraphType.spec.js +25 -0
- package/build/projectsGeneration/generators/graph/printGraphType.js +11 -0
- package/build/projectsGeneration/generators/graph/printGraphType.spec.js +18 -0
- package/build/projectsGeneration/generators/prisma/fieldIdTypeToPrismaType.js +17 -0
- package/build/projectsGeneration/generators/prisma/fieldTypeToPrismaType.js +25 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.js +11 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.spec.js +57 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaField.js +21 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.js +12 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.js +34 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.js +19 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.spec.js +45 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.js +32 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.js +83 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.js +24 -0
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.spec.js +117 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.js +32 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.js +93 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntities.js +14 -0
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb.js +11 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNameToEditScalar.js +25 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditField.js +21 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditIdField.js +9 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.js +15 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.spec.js +21 -0
- package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditScalarField.js +9 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.js +25 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowField.js +21 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.js +9 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.js +17 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.js +152 -0
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.js +9 -0
- package/build/projectsGeneration/generators/ui/componentNames/types.js +3 -0
- package/build/projectsGeneration/generators/ui/getLinkShowComponent.spec.js +39 -0
- package/build/projectsGeneration/generators/ui/getScalarShowComponent.spec.js +24 -0
- package/build/projectsGeneration/generators/ui/getShowComponent.js +45 -0
- package/build/projectsGeneration/links/getLinksFromExternalEntities.js +8 -0
- package/build/projectsGeneration/links/getLinksFromExternalEntities.spec.js +83 -0
- package/build/projectsGeneration/links/getLinksOfEntities.js +22 -0
- package/build/projectsGeneration/links/getLinksOfEntities.spec.js +188 -0
- package/build/projectsGeneration/links/getLinksToExternalEntities.js +8 -0
- package/build/projectsGeneration/links/getLinksToExternalEntities.spec.js +83 -0
- package/build/projectsGeneration/metaUtils.js +36 -0
- package/build/projectsGeneration/modelsGeneration.serialization.spec.js +93 -0
- package/build/projectsGeneration/types.js +80 -0
- package/build/projectsGeneration/utils.js +85 -0
- package/build/types/documentation/algorithm.d.ts +8 -0
- package/build/types/documentation/algoritmToDoc.d.ts +4 -0
- package/build/types/documentation/algoritmToDoc.spec.d.ts +1 -0
- package/build/types/documentation/curlExampleToText.d.ts +3 -0
- package/build/types/documentation/curlExampleToText.spec.d.ts +1 -0
- package/build/types/documentation/doc.d.ts +21 -0
- package/build/types/documentation/docToFlatDoc.d.ts +4 -0
- package/build/types/documentation/docToFlatDoc.spec.d.ts +1 -0
- package/build/types/documentation/flatDoc.d.ts +20 -0
- package/build/types/documentation/flatDocToText.d.ts +3 -0
- package/build/types/documentation/flatDocToText.spec.d.ts +1 -0
- package/build/types/documentation/templateDoc.d.ts +9 -0
- package/build/types/documentation/templateDocToDoc.d.ts +4 -0
- package/build/types/index.d.ts +1 -0
- package/build/types/log.d.ts +3 -0
- package/build/types/projectsGeneration/args.d.ts +20 -0
- package/build/types/projectsGeneration/builders/BaseBuilder.d.ts +14 -0
- package/build/types/projectsGeneration/builders/BaseSavableEntityBuilder.d.ts +58 -0
- package/build/types/projectsGeneration/builders/CatalogBuilder.d.ts +8 -0
- package/build/types/projectsGeneration/builders/DocumentBuilder.d.ts +12 -0
- package/build/types/projectsGeneration/builders/InfoRegistryBuilder.d.ts +34 -0
- package/build/types/projectsGeneration/builders/ReportBuilder.d.ts +8 -0
- package/build/types/projectsGeneration/builders/RestApiBuilder.d.ts +12 -0
- package/build/types/projectsGeneration/builders/RestApiMethodBuilder.d.ts +20 -0
- package/build/types/projectsGeneration/builders/RoleBuilder.d.ts +8 -0
- package/build/types/projectsGeneration/builders/SumRegistryBuilder.d.ts +32 -0
- package/build/types/projectsGeneration/builders/SystemMetaBuilder.d.ts +64 -0
- package/build/types/projectsGeneration/builders/TelegramBotBuilder.d.ts +7 -0
- package/build/types/projectsGeneration/builders/WorkerBuilder.d.ts +11 -0
- package/build/types/projectsGeneration/builders/buildedTypes.d.ts +255 -0
- package/build/types/projectsGeneration/builders/curlTypes.d.ts +24 -0
- package/build/types/projectsGeneration/builders/docs/DocumentationOfDocument.d.ts +10 -0
- package/build/types/projectsGeneration/builders/docs/DocumentationOfDocumentBuilder.d.ts +9 -0
- package/build/types/projectsGeneration/builders/fields/BaseFieldBuilder.d.ts +48 -0
- package/build/types/projectsGeneration/builders/fields/IdFieldBuilder.d.ts +12 -0
- package/build/types/projectsGeneration/builders/fields/LinkFieldBuilder.d.ts +13 -0
- package/build/types/projectsGeneration/builders/fields/ScalarFieldBuilder.d.ts +5 -0
- package/build/types/projectsGeneration/builders/fields/ViewLinkFieldBuilder.d.ts +13 -0
- package/build/types/projectsGeneration/builders/materialUiIcons.d.ts +2 -0
- package/build/types/projectsGeneration/builders/postponed/AccumulationRegisterMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/DictionaryMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/DocumentMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/EntityFormMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/InformationRegisterMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/ListFormMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/PeriodicInformationRegisterMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/ReportMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/postponed/RoleMetaBuilder.d.ts +3 -0
- package/build/types/projectsGeneration/builders/tsFilterFields.d.ts +2 -0
- package/build/types/projectsGeneration/builders/tsFilterFields.spec.d.ts +1 -0
- package/build/types/projectsGeneration/builders/types.d.ts +5 -0
- package/build/types/projectsGeneration/builders/ui/Forms.d.ts +14 -0
- package/build/types/projectsGeneration/builders/ui/FormsBuilder.d.ts +10 -0
- package/build/types/projectsGeneration/builders/ui/ListFormBuilder.d.ts +10 -0
- package/build/types/projectsGeneration/builders/ui/ListFormFilterBuilder.d.ts +10 -0
- package/build/types/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.d.ts +11 -0
- package/build/types/projectsGeneration/builders/utils/accessFunctions.d.ts +2 -0
- package/build/types/projectsGeneration/defaultCatalogs/files.d.ts +4 -0
- package/build/types/projectsGeneration/genGraphSchemesByLocalGenerator.d.ts +2 -0
- package/build/types/projectsGeneration/generateEntity.d.ts +2 -0
- package/build/types/projectsGeneration/generateEnvironment.d.ts +2 -0
- package/build/types/projectsGeneration/generateProject.d.ts +33 -0
- package/build/types/projectsGeneration/generators/fieldTypeToTsType.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/Entities.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/devEnum.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/enum.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/Chart.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/values.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/defaultEnv.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsConfiguration.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/gitlabCi.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/clients/knex.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/clients/queue/getQueue.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/index.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalResolvers.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalTypes.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityAdditionalPermissionToGraphqlTmpl.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityBasePermissionToGraphql.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityPermissionToGraphqlTmpl.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/baseResolvers.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/baseTypeDefs.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/meta/resolvers.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/meta/typeDefs.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/resolvers.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/graph/types.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/initCommon.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/initDev.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/initEntities.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/root/config.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/root/restRouter.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/BaseServices.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/additionalMethods.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnCreate.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnDelete.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnUpdate.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterCreate.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterDelete.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterUpdate.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeCreate.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeDelete.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpdate.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpsert.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/changeListFilter.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/getPostOperations.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/getRegistryEntries.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/getUnPostOperations.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/tenantIdRequiredHooks.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/initBuiltInHooks.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/initUserHooks.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/service.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/back/services/serviceConstrictors.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/Dashboard.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/MetaPage.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/ResourcesPage.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/additionalRoutes.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/entityMapping.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/Chart.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/values.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/docs/adminAppDocsConfiguration.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/gitlabCi.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/App.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/contexts/SpacesContext.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/index.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/AppBar.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/Menu.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/routes.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/functions/Functions.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/getAdditionalMenu.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/getDefaultMenu.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangCatalogsTmpl.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangDocsTmpl.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangInfoRegistriesTmpl.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangReportsTmpl.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangSumRegistriesTmpl.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsForServicesOfSavablesTmpl.d.ts +4 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsLangTmpl.d.ts +6 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/index.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.d.ts +6 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/index.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/EntityFilter.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/index.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultActions.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultEntityShow.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.d.ts +3 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/MainTab.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/additionalTabs.d.ts +1 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/index.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/Icon.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/resources.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/widgets/count/CountWidget.d.ts +2 -0
- package/build/types/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.d.ts +2 -0
- package/build/types/projectsGeneration/generators/graph/fieldTypeToGraphScalar.d.ts +2 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphField.d.ts +7 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphIdField.d.ts +8 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphIdFieldType.d.ts +2 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphLinkField.d.ts +8 -0
- package/build/types/projectsGeneration/generators/graph/fields/genGraphScalarField.d.ts +8 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphField.d.ts +4 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphIdFilter.d.ts +8 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphLinkFilter.d.ts +5 -0
- package/build/types/projectsGeneration/generators/graph/filters/genGraphScalarFilter.d.ts +5 -0
- package/build/types/projectsGeneration/generators/graph/genGraphCrudSchema.d.ts +3 -0
- package/build/types/projectsGeneration/generators/graph/genGraphCrudSchema.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/graph/genGraphFilterType.d.ts +3 -0
- package/build/types/projectsGeneration/generators/graph/genGraphFilterType.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/graph/genGraphType.d.ts +3 -0
- package/build/types/projectsGeneration/generators/graph/genGraphType.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/graph/printGraphType.d.ts +2 -0
- package/build/types/projectsGeneration/generators/graph/printGraphType.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/prisma/fieldIdTypeToPrismaType.d.ts +2 -0
- package/build/types/projectsGeneration/generators/prisma/fieldTypeToPrismaType.d.ts +2 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.d.ts +2 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaField.d.ts +2 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.d.ts +2 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.d.ts +2 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.d.ts +2 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaEntity.d.ts +3 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntities.d.ts +3 -0
- package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb.d.ts +2 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNameToEditScalar.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditIdField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditScalarField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.d.ts +3 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/types.d.ts +4 -0
- package/build/types/projectsGeneration/generators/ui/getLinkShowComponent.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/ui/getScalarShowComponent.spec.d.ts +1 -0
- package/build/types/projectsGeneration/generators/ui/getShowComponent.d.ts +6 -0
- package/build/types/projectsGeneration/links/getLinksFromExternalEntities.d.ts +3 -0
- package/build/types/projectsGeneration/links/getLinksFromExternalEntities.spec.d.ts +1 -0
- package/build/types/projectsGeneration/links/getLinksOfEntities.d.ts +3 -0
- package/build/types/projectsGeneration/links/getLinksOfEntities.spec.d.ts +1 -0
- package/build/types/projectsGeneration/links/getLinksToExternalEntities.d.ts +3 -0
- package/build/types/projectsGeneration/links/getLinksToExternalEntities.spec.d.ts +1 -0
- package/build/types/projectsGeneration/metaUtils.d.ts +6 -0
- package/build/types/projectsGeneration/modelsGeneration.serialization.spec.d.ts +1 -0
- package/build/types/projectsGeneration/types.d.ts +92 -0
- package/build/types/projectsGeneration/utils.d.ts +14 -0
- package/build/types/types.d.ts +1 -0
- package/build/types/utils/TermSignals.d.ts +1 -0
- package/build/types/utils/cases.d.ts +9 -0
- package/build/types.js +16 -1
- package/build/utils/cases.js +30 -0
- package/package.json +12 -3
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultBootstrapEntityOptions = void 0;
|
|
4
|
+
var defaultFormsShowOptions = {
|
|
5
|
+
gen: true,
|
|
6
|
+
};
|
|
7
|
+
var defaultFormsEditOptions = {
|
|
8
|
+
gen: true,
|
|
9
|
+
idEditable: false,
|
|
10
|
+
};
|
|
11
|
+
var defaultFormsCreateOptions = {
|
|
12
|
+
gen: true,
|
|
13
|
+
idEditable: false,
|
|
14
|
+
};
|
|
15
|
+
var defaultFormsListOptions = {
|
|
16
|
+
gen: true,
|
|
17
|
+
};
|
|
18
|
+
var defaultFormsOptions = {
|
|
19
|
+
list: defaultFormsListOptions,
|
|
20
|
+
show: defaultFormsShowOptions,
|
|
21
|
+
edit: defaultFormsEditOptions,
|
|
22
|
+
create: defaultFormsCreateOptions,
|
|
23
|
+
menu: {
|
|
24
|
+
show: true,
|
|
25
|
+
},
|
|
26
|
+
resourcesPage: {
|
|
27
|
+
show: true,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
exports.defaultBootstrapEntityOptions = {
|
|
31
|
+
genPrismaServices: true,
|
|
32
|
+
genGraphSchema: true,
|
|
33
|
+
genGraphResolvers: true,
|
|
34
|
+
genUiResources: true,
|
|
35
|
+
skipWarningThisIsGenerated: false,
|
|
36
|
+
genPrismaSchema: true,
|
|
37
|
+
genContext: true,
|
|
38
|
+
typesOnly: false,
|
|
39
|
+
genRootConfig: true,
|
|
40
|
+
genRootElements: true,
|
|
41
|
+
genUiCountWidget: true,
|
|
42
|
+
genUiListWidget: true,
|
|
43
|
+
genUiEntityMapping: true,
|
|
44
|
+
genUiMenu: true,
|
|
45
|
+
genUiElements: true,
|
|
46
|
+
genUiResourcesPage: true,
|
|
47
|
+
genUiRoutes: true,
|
|
48
|
+
genUIApp: true,
|
|
49
|
+
genUiFunctions: true,
|
|
50
|
+
genUiDashboard: true,
|
|
51
|
+
showMetaPage: true,
|
|
52
|
+
readOnly: false,
|
|
53
|
+
forms: defaultFormsOptions,
|
|
54
|
+
detachedBackProject: '',
|
|
55
|
+
detachedUiProject: '',
|
|
56
|
+
projectsGroup: '',
|
|
57
|
+
projectPrefix: '',
|
|
58
|
+
dbName: '',
|
|
59
|
+
projectName: '',
|
|
60
|
+
k8sChartName: '',
|
|
61
|
+
k8sNamespacePrefix: '',
|
|
62
|
+
k8sAppsDomain: 'apps.making.ventures',
|
|
63
|
+
k8sSubdomainPrefix: '',
|
|
64
|
+
k8sImagePullSecrets: 'gitlab-registry',
|
|
65
|
+
ciDockerRegistry: 'registry.gitlab.com',
|
|
66
|
+
// Back
|
|
67
|
+
// ci
|
|
68
|
+
genBackGitlabCi: true,
|
|
69
|
+
genUiGitlabCi: true,
|
|
70
|
+
// chart
|
|
71
|
+
genBackChartValues: true,
|
|
72
|
+
genBackChartIngress: true,
|
|
73
|
+
genBackChartBack: true,
|
|
74
|
+
genUiChartIngress: true,
|
|
75
|
+
genUiChartFront: true,
|
|
76
|
+
// Environment
|
|
77
|
+
corePrismaGetter: true,
|
|
78
|
+
coreIndex: true,
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcHJvamVjdHNHZW5lc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
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (_) try {
|
|
18
|
+
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;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.addComma = exports.pad10 = exports.pad9 = exports.pad8 = exports.pad7 = exports.pad6 = exports.pad5 = exports.pad4 = exports.pad3 = exports.pad2 = exports.pad1 = exports.pad = exports.writeFileIfNotExists = exports.generatedWarning = void 0;
|
|
40
|
+
var fs_jetpack_1 = require("fs-jetpack");
|
|
41
|
+
exports.generatedWarning = 'DO NOT EDIT! THIS IS GENERATED FILE';
|
|
42
|
+
var writeFileIfNotExists = function (path, content) { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
|
+
return __generator(this, function (_a) {
|
|
44
|
+
switch (_a.label) {
|
|
45
|
+
case 0:
|
|
46
|
+
if (!!(0, fs_jetpack_1.exists)(path)) return [3 /*break*/, 2];
|
|
47
|
+
return [4 /*yield*/, (0, fs_jetpack_1.write)(path, content)];
|
|
48
|
+
case 1:
|
|
49
|
+
_a.sent();
|
|
50
|
+
_a.label = 2;
|
|
51
|
+
case 2: return [2 /*return*/];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}); };
|
|
55
|
+
exports.writeFileIfNotExists = writeFileIfNotExists;
|
|
56
|
+
var pad = function (content, num) {
|
|
57
|
+
return content
|
|
58
|
+
.split('\n')
|
|
59
|
+
.map(function (el) { return (el.trim() ? ' '.repeat(num) + el : el); })
|
|
60
|
+
.join('\n');
|
|
61
|
+
};
|
|
62
|
+
exports.pad = pad;
|
|
63
|
+
var pad1 = function (content) { return (0, exports.pad)(content, 1); };
|
|
64
|
+
exports.pad1 = pad1;
|
|
65
|
+
var pad2 = function (content) { return (0, exports.pad)(content, 2); };
|
|
66
|
+
exports.pad2 = pad2;
|
|
67
|
+
var pad3 = function (content) { return (0, exports.pad)(content, 3); };
|
|
68
|
+
exports.pad3 = pad3;
|
|
69
|
+
var pad4 = function (content) { return (0, exports.pad)(content, 4); };
|
|
70
|
+
exports.pad4 = pad4;
|
|
71
|
+
var pad5 = function (content) { return (0, exports.pad)(content, 5); };
|
|
72
|
+
exports.pad5 = pad5;
|
|
73
|
+
var pad6 = function (content) { return (0, exports.pad)(content, 6); };
|
|
74
|
+
exports.pad6 = pad6;
|
|
75
|
+
var pad7 = function (content) { return (0, exports.pad)(content, 7); };
|
|
76
|
+
exports.pad7 = pad7;
|
|
77
|
+
var pad8 = function (content) { return (0, exports.pad)(content, 8); };
|
|
78
|
+
exports.pad8 = pad8;
|
|
79
|
+
var pad9 = function (content) { return (0, exports.pad)(content, 9); };
|
|
80
|
+
exports.pad9 = pad9;
|
|
81
|
+
var pad10 = function (content) { return (0, exports.pad)(content, 10); };
|
|
82
|
+
exports.pad10 = pad10;
|
|
83
|
+
var addComma = function (content) { return content + ','; };
|
|
84
|
+
exports.addComma = addComma;
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHlDQUEwQztBQUU3QixRQUFBLGdCQUFnQixHQUFHLHFDQUFxQ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FBQSxXQUFHLEVBQUMsT0FBTyxFQUFFLEVBQUUsQ0FBQyxFQUFoQixDQUFnQixDQUFBO0FBQTdDLFFBQUEsS0FBSyxTQUF3QztBQUNuRCxJQUFNLFFBQVEsR0FBRyxVQUFDLE9BQWUsSUFBSyxPQUFBLE9BQU8sR0FBRyxHQUFHLEVBQWIsQ0FBYSxDQUFBO0FBQTdDLFFBQUEsUUFBUSxZQUFxQyJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Doc {
|
|
2
|
+
rootGroup: DocBlockGroup;
|
|
3
|
+
}
|
|
4
|
+
export interface DocBlockGroup {
|
|
5
|
+
title?: string;
|
|
6
|
+
block?: DocBlock;
|
|
7
|
+
children: DocBlockGroup[];
|
|
8
|
+
}
|
|
9
|
+
export interface DocParagraphBlock {
|
|
10
|
+
type: 'paragraph';
|
|
11
|
+
text: string;
|
|
12
|
+
}
|
|
13
|
+
export interface DocListElement {
|
|
14
|
+
text: string;
|
|
15
|
+
list?: DocListElement[];
|
|
16
|
+
}
|
|
17
|
+
export interface DocOrderedListBlock {
|
|
18
|
+
type: 'orderedList';
|
|
19
|
+
list: DocListElement[];
|
|
20
|
+
}
|
|
21
|
+
export declare type DocBlock = DocParagraphBlock | DocOrderedListBlock;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface FlatDoc {
|
|
2
|
+
blocks: FlatDocBlock[];
|
|
3
|
+
}
|
|
4
|
+
export interface FlatDocHeaderBlock {
|
|
5
|
+
type: 'header';
|
|
6
|
+
size: number;
|
|
7
|
+
title: string;
|
|
8
|
+
}
|
|
9
|
+
export interface FlatDocParagraphBlock {
|
|
10
|
+
type: 'paragraph';
|
|
11
|
+
text: string;
|
|
12
|
+
}
|
|
13
|
+
export interface FlatDocListElement {
|
|
14
|
+
type: 'orderedListElement';
|
|
15
|
+
text: string;
|
|
16
|
+
number: number;
|
|
17
|
+
depth: number;
|
|
18
|
+
path: string;
|
|
19
|
+
}
|
|
20
|
+
export declare type FlatDocBlock = FlatDocHeaderBlock | FlatDocParagraphBlock | FlatDocListElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './projectsGeneration/builders/SystemMetaBuilder';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BootstrapEntityOptions, LinkedEntities } from './types';
|
|
2
|
+
import { Entity, InfoRegistry, SumRegistry, System, Document, Catalog } from './builders/buildedTypes';
|
|
3
|
+
export interface ProjectWideGenerationArgs {
|
|
4
|
+
system: System;
|
|
5
|
+
entities: Entity[];
|
|
6
|
+
allEntities: Map<string, Entity>;
|
|
7
|
+
allSumRegistries: Map<string, SumRegistry>;
|
|
8
|
+
allInfoRegistries: Map<string, InfoRegistry>;
|
|
9
|
+
allDocuments: Map<string, Document>;
|
|
10
|
+
allCatalogs: Map<string, Catalog>;
|
|
11
|
+
allLinks: LinkedEntities[];
|
|
12
|
+
options: BootstrapEntityOptions;
|
|
13
|
+
}
|
|
14
|
+
export interface EntityWideGenerationArgs extends ProjectWideGenerationArgs {
|
|
15
|
+
entity: Entity;
|
|
16
|
+
fromLinks: LinkedEntities[];
|
|
17
|
+
toLinks: LinkedEntities[];
|
|
18
|
+
}
|
|
19
|
+
export declare const prepareProjectWideGenerationArgs: (system: System, opts: BootstrapEntityOptions) => ProjectWideGenerationArgs;
|
|
20
|
+
export declare const prepareEntityWideGenerationArgs: (projectWideGenerationArgs: ProjectWideGenerationArgs, entity: Entity) => EntityWideGenerationArgs;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare class BaseBuilder {
|
|
2
|
+
defaultLanguage: string;
|
|
3
|
+
name: string;
|
|
4
|
+
title: Record<string, string>;
|
|
5
|
+
needFor: Record<string, string>;
|
|
6
|
+
materialUiIcon: string;
|
|
7
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
8
|
+
setName(name: string): this;
|
|
9
|
+
setNeedFor(needFor: string, language?: string): this;
|
|
10
|
+
setTitle(title: string, language?: string): this;
|
|
11
|
+
setTitles(title: Record<string, string>): this;
|
|
12
|
+
setMaterialUiIcon(materialUiIcon: string): this;
|
|
13
|
+
}
|
|
14
|
+
export default BaseBuilder;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ScalarFieldBuilder } from './fields/ScalarFieldBuilder';
|
|
2
|
+
import { IdFieldBuilder } from './fields/IdFieldBuilder';
|
|
3
|
+
import { LinkFieldBuilder } from './fields/LinkFieldBuilder';
|
|
4
|
+
import { EtityType, Entity, Multitenancy } from './buildedTypes';
|
|
5
|
+
import CatalogBuilder from './CatalogBuilder';
|
|
6
|
+
import BaseBuilder from './BaseBuilder';
|
|
7
|
+
import { FormsBuilder } from './ui/FormsBuilder';
|
|
8
|
+
import { FieldBuilder } from './types';
|
|
9
|
+
import { ViewLinkFieldBuilder } from './fields/ViewLinkFieldBuilder';
|
|
10
|
+
declare abstract class BaseSavableEntityBuilder extends BaseBuilder {
|
|
11
|
+
id: IdFieldBuilder;
|
|
12
|
+
fields: FieldBuilder[];
|
|
13
|
+
uniqueConstraints: string[][];
|
|
14
|
+
type: EtityType;
|
|
15
|
+
titleField: ScalarFieldBuilder | IdFieldBuilder;
|
|
16
|
+
deletable: boolean;
|
|
17
|
+
editable: boolean;
|
|
18
|
+
singleKey: boolean;
|
|
19
|
+
logging: boolean;
|
|
20
|
+
auditable: boolean;
|
|
21
|
+
space: string;
|
|
22
|
+
sortField: string;
|
|
23
|
+
sortOrder: 'ASC' | 'DESC';
|
|
24
|
+
sybsystems: string[];
|
|
25
|
+
forms?: FormsBuilder;
|
|
26
|
+
predefinedElements: Record<string, any>[];
|
|
27
|
+
devPerefinedElements: Record<string, any>[];
|
|
28
|
+
externalSearch: boolean;
|
|
29
|
+
multitenancy: Multitenancy;
|
|
30
|
+
commonElementsVisibleToAll: boolean;
|
|
31
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
32
|
+
setExternalSearch(externalSearch?: boolean): this;
|
|
33
|
+
setAuditable(auditable?: boolean): this;
|
|
34
|
+
setDeletable(deletable?: boolean): this;
|
|
35
|
+
setEditable(editable?: boolean): this;
|
|
36
|
+
getKey(): IdFieldBuilder;
|
|
37
|
+
getFileds(): FieldBuilder[];
|
|
38
|
+
getFiled(name: string): FieldBuilder;
|
|
39
|
+
getLinkFileds(): LinkFieldBuilder[];
|
|
40
|
+
addField(name: string, title?: string, { isTitleField }?: {
|
|
41
|
+
isTitleField?: boolean;
|
|
42
|
+
}): ScalarFieldBuilder;
|
|
43
|
+
delField(name: string): this;
|
|
44
|
+
addLinkField(e: string | CatalogBuilder, name: string, title?: string): LinkFieldBuilder;
|
|
45
|
+
addFileField(name: string, title?: string): LinkFieldBuilder;
|
|
46
|
+
addImageField(name: string, title?: string): LinkFieldBuilder;
|
|
47
|
+
addViewLinkField(e: string | CatalogBuilder, name: string, title?: string): ViewLinkFieldBuilder;
|
|
48
|
+
setTitleFieldByName(titleField: string): this;
|
|
49
|
+
setSort(field: string, order: 'ASC' | 'DESC'): this;
|
|
50
|
+
addUniqueConstraint(fields: string[]): BaseSavableEntityBuilder;
|
|
51
|
+
abstract build(): Entity;
|
|
52
|
+
initFormas(): BaseSavableEntityBuilder;
|
|
53
|
+
getForms(): FormsBuilder;
|
|
54
|
+
addPredefinedElements(fields: Record<string, any>[]): void;
|
|
55
|
+
addDevPredefinedElements(fields: Record<string, any>[]): void;
|
|
56
|
+
setMultitenancy(multitenancy: Multitenancy, commonElementsVisibleToAll?: boolean): void;
|
|
57
|
+
}
|
|
58
|
+
export default BaseSavableEntityBuilder;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Catalog } from './buildedTypes';
|
|
2
|
+
import BaseSavableEntityBuilder from './BaseSavableEntityBuilder';
|
|
3
|
+
declare class CatalogBuilder extends BaseSavableEntityBuilder {
|
|
4
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
5
|
+
build(): Catalog;
|
|
6
|
+
static fromObject(obj: any, defaultLanguage: string): CatalogBuilder;
|
|
7
|
+
}
|
|
8
|
+
export default CatalogBuilder;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Document } from './buildedTypes';
|
|
2
|
+
import BaseSavableEntityBuilder from './BaseSavableEntityBuilder';
|
|
3
|
+
import { DocumentationOfDocumentBuilder } from './docs/DocumentationOfDocumentBuilder';
|
|
4
|
+
declare class DocumentBuilder extends BaseSavableEntityBuilder {
|
|
5
|
+
registries: string[];
|
|
6
|
+
documentation: DocumentationOfDocumentBuilder;
|
|
7
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
8
|
+
build(): Document;
|
|
9
|
+
addRegistry(registry: string): void;
|
|
10
|
+
static fromObject(obj: any, defaultLanguage: string): DocumentBuilder;
|
|
11
|
+
}
|
|
12
|
+
export default DocumentBuilder;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { InfoRegistry, InfoRegistryPeriod, Multitenancy } from './buildedTypes';
|
|
2
|
+
import BaseSavableEntityBuilder from './BaseSavableEntityBuilder';
|
|
3
|
+
import { ScalarFieldBuilder } from './fields/ScalarFieldBuilder';
|
|
4
|
+
import { LinkFieldBuilder } from './fields/LinkFieldBuilder';
|
|
5
|
+
import { FieldBuilder } from './types';
|
|
6
|
+
import { ViewLinkFieldBuilder } from './fields/ViewLinkFieldBuilder';
|
|
7
|
+
export declare class InfoRegistryBuilder extends BaseSavableEntityBuilder {
|
|
8
|
+
registrarDepended: boolean;
|
|
9
|
+
dimensions: FieldBuilder[];
|
|
10
|
+
resources: FieldBuilder[];
|
|
11
|
+
period: InfoRegistryPeriod;
|
|
12
|
+
constructor(name: string, registrarDepended: boolean, defaultLanguage: string, title?: string);
|
|
13
|
+
getDimension(name: string): FieldBuilder;
|
|
14
|
+
getResource(name: string): FieldBuilder;
|
|
15
|
+
build(): InfoRegistry;
|
|
16
|
+
setPeriod(period: InfoRegistryPeriod): this;
|
|
17
|
+
addField(_: string, __?: string, ___?: {
|
|
18
|
+
isTitleField?: boolean;
|
|
19
|
+
}): ScalarFieldBuilder;
|
|
20
|
+
getFileds(): FieldBuilder[];
|
|
21
|
+
addLinkField(_: string, __: string): LinkFieldBuilder;
|
|
22
|
+
addDimension(name: string, title?: string, { isTitleField }?: {
|
|
23
|
+
isTitleField?: boolean;
|
|
24
|
+
}): ScalarFieldBuilder;
|
|
25
|
+
addDimensionLinkField(entity: string, name: string, title?: string): LinkFieldBuilder;
|
|
26
|
+
addDimensionViewLinkField(entity: string, name: string, title?: string): ViewLinkFieldBuilder;
|
|
27
|
+
addResource(name: string, title?: string, { isTitleField }?: {
|
|
28
|
+
isTitleField?: boolean;
|
|
29
|
+
}): ScalarFieldBuilder;
|
|
30
|
+
addResourceLinkField(entity: string, name: string, title?: string): LinkFieldBuilder;
|
|
31
|
+
addResourceViewLinkField(entity: string, name: string, title?: string): ViewLinkFieldBuilder;
|
|
32
|
+
setMultitenancy(multitenancy: Multitenancy): void;
|
|
33
|
+
static fromObject(obj: InfoRegistry, defaultLanguage: string): InfoRegistryBuilder;
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import BaseBuilder from './BaseBuilder';
|
|
2
|
+
import { Report } from './buildedTypes';
|
|
3
|
+
declare class ReportBuilder extends BaseBuilder {
|
|
4
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
5
|
+
build(): Report;
|
|
6
|
+
static fromObject(obj: any, defaultLanguage: string): ReportBuilder;
|
|
7
|
+
}
|
|
8
|
+
export default ReportBuilder;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RestApi } from './buildedTypes';
|
|
2
|
+
import BaseBuilder from './BaseBuilder';
|
|
3
|
+
import RestApiMethodBuilder from './RestApiMethodBuilder';
|
|
4
|
+
import { HttpMethod } from './curlTypes';
|
|
5
|
+
declare class RestApiBuilder extends BaseBuilder {
|
|
6
|
+
methods: RestApiMethodBuilder[];
|
|
7
|
+
path: string;
|
|
8
|
+
constructor(name: string, path: string, defaultLanguage: string, title?: string);
|
|
9
|
+
addMethod(name: string, path: string, httpMethod: HttpMethod, title?: string): RestApiMethodBuilder;
|
|
10
|
+
build(): RestApi;
|
|
11
|
+
}
|
|
12
|
+
export default RestApiBuilder;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RestApiMethod } from './buildedTypes';
|
|
2
|
+
import BaseBuilder from './BaseBuilder';
|
|
3
|
+
import { HttpMethod } from './curlTypes';
|
|
4
|
+
declare class RestApiMethodBuilder extends BaseBuilder {
|
|
5
|
+
httpMethod: HttpMethod;
|
|
6
|
+
note: string;
|
|
7
|
+
path: string;
|
|
8
|
+
urlExample?: string;
|
|
9
|
+
requestExample: Record<string, any>;
|
|
10
|
+
successResponseExample: Record<string, any>;
|
|
11
|
+
errorResponseExample: Record<string, any>;
|
|
12
|
+
constructor(name: string, path: string, httpMethod: HttpMethod, defaultLanguage: string, title?: string);
|
|
13
|
+
setNote(note: string): this;
|
|
14
|
+
setRequestExample(requestExample: Record<string, any>): this;
|
|
15
|
+
setUrlExample(urlExample: string): this;
|
|
16
|
+
setSuccessResponseExample(successResponseExample: Record<string, any>): this;
|
|
17
|
+
setErrorResponseExample(errorResponseExample: Record<string, any>): this;
|
|
18
|
+
build(): RestApiMethod;
|
|
19
|
+
}
|
|
20
|
+
export default RestApiMethodBuilder;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Role } from './buildedTypes';
|
|
2
|
+
import BaseBuilder from './BaseBuilder';
|
|
3
|
+
declare class RoleBuilder extends BaseBuilder {
|
|
4
|
+
registries: string[];
|
|
5
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
6
|
+
build(): Role;
|
|
7
|
+
}
|
|
8
|
+
export default RoleBuilder;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Multitenancy, SumRegistry } from './buildedTypes';
|
|
2
|
+
import BaseSavableEntityBuilder from './BaseSavableEntityBuilder';
|
|
3
|
+
import { ScalarFieldBuilder } from './fields/ScalarFieldBuilder';
|
|
4
|
+
import { LinkFieldBuilder } from './fields/LinkFieldBuilder';
|
|
5
|
+
import { FieldBuilder } from './types';
|
|
6
|
+
import { ViewLinkFieldBuilder } from './fields/ViewLinkFieldBuilder';
|
|
7
|
+
declare class SumRegistryBuilder extends BaseSavableEntityBuilder {
|
|
8
|
+
registrarDepended: boolean;
|
|
9
|
+
dimensions: FieldBuilder[];
|
|
10
|
+
resources: FieldBuilder[];
|
|
11
|
+
constructor(name: string, registrarDepended: boolean, defaultLanguage: string, title?: string);
|
|
12
|
+
getDimension(name: string): FieldBuilder;
|
|
13
|
+
getResource(name: string): FieldBuilder;
|
|
14
|
+
build(): SumRegistry;
|
|
15
|
+
addField(_: string, __?: string, ___?: {
|
|
16
|
+
isTitleField?: boolean;
|
|
17
|
+
}): ScalarFieldBuilder;
|
|
18
|
+
getFileds(): FieldBuilder[];
|
|
19
|
+
addDimensionLinkField(entity: string, name: string, title?: string): LinkFieldBuilder;
|
|
20
|
+
addDimensionViewLinkField(entity: string, name: string, title?: string): ViewLinkFieldBuilder;
|
|
21
|
+
addDimension(name: string, title?: string, { isTitleField }?: {
|
|
22
|
+
isTitleField?: boolean;
|
|
23
|
+
}): ScalarFieldBuilder;
|
|
24
|
+
addResource(name: string, title?: string, { isTitleField }?: {
|
|
25
|
+
isTitleField?: boolean;
|
|
26
|
+
}): ScalarFieldBuilder;
|
|
27
|
+
addResourceLinkField(entity: string, name: string, title?: string): LinkFieldBuilder;
|
|
28
|
+
addResourceViewLinkField(entity: string, name: string, title?: string): ViewLinkFieldBuilder;
|
|
29
|
+
setMultitenancy(multitenancy: Multitenancy): void;
|
|
30
|
+
static fromObject(obj: SumRegistry, defaultLanguage: string): SumRegistryBuilder;
|
|
31
|
+
}
|
|
32
|
+
export default SumRegistryBuilder;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { BootstrapEntityOptions, EntityWithOptions, EntityBuilderWithOptions } from '../types';
|
|
2
|
+
import CatalogBuilder from './CatalogBuilder';
|
|
3
|
+
import DocumentBuilder from './DocumentBuilder';
|
|
4
|
+
import { InfoRegistryBuilder } from './InfoRegistryBuilder';
|
|
5
|
+
import SumRegistryBuilder from './SumRegistryBuilder';
|
|
6
|
+
import { Command, ConfigVar, ConfigVarScope, DeployEnvironment, Glossary, MemoryAndCpu, ProjectCategory, System } from './buildedTypes';
|
|
7
|
+
import ReportBuilder from './ReportBuilder';
|
|
8
|
+
import RestApiBuilder from './RestApiBuilder';
|
|
9
|
+
import WorkerBuilder from './WorkerBuilder';
|
|
10
|
+
import RoleBuilder from './RoleBuilder';
|
|
11
|
+
import TelegramBotBuilder from './TelegramBotBuilder';
|
|
12
|
+
export declare const defaultConfigVar: Omit<ConfigVar, 'name'>;
|
|
13
|
+
declare class SystemMetaBuilder {
|
|
14
|
+
catalogs: EntityBuilderWithOptions<CatalogBuilder>[];
|
|
15
|
+
reports: EntityBuilderWithOptions<ReportBuilder>[];
|
|
16
|
+
documents: EntityBuilderWithOptions<DocumentBuilder>[];
|
|
17
|
+
infoRegistries: EntityBuilderWithOptions<InfoRegistryBuilder>[];
|
|
18
|
+
sumRegistries: EntityBuilderWithOptions<SumRegistryBuilder>[];
|
|
19
|
+
configVars: ConfigVar[];
|
|
20
|
+
glossary: Glossary[];
|
|
21
|
+
commands: Command[];
|
|
22
|
+
deployEnvironments: DeployEnvironment[];
|
|
23
|
+
telegramBots: TelegramBotBuilder[];
|
|
24
|
+
languages: string[];
|
|
25
|
+
restApis: RestApiBuilder[];
|
|
26
|
+
workers: WorkerBuilder[];
|
|
27
|
+
roles: RoleBuilder[];
|
|
28
|
+
defaultLanguage: string;
|
|
29
|
+
defOpts: BootstrapEntityOptions;
|
|
30
|
+
name: string;
|
|
31
|
+
prefix: string;
|
|
32
|
+
needFor: string;
|
|
33
|
+
requests: MemoryAndCpu;
|
|
34
|
+
limits: MemoryAndCpu;
|
|
35
|
+
constructor(prefix: string, defOpts: BootstrapEntityOptions, defaultLanguage?: string);
|
|
36
|
+
setName(name: string): this;
|
|
37
|
+
setNeedFor(needFor: string): this;
|
|
38
|
+
setPrefix(prefix: string): this;
|
|
39
|
+
addConfigVar(name: string, def: string, needFor: string, scopes?: ConfigVarScope[]): this;
|
|
40
|
+
setDefaultValueForConfigVar(name: string, def: string): this;
|
|
41
|
+
addLanguage(language: string): void;
|
|
42
|
+
setDefailtLanguage(language: string): void;
|
|
43
|
+
addDeployEnvironment(name: string, clusterName: string): this;
|
|
44
|
+
addTelegramBot(name: string, title?: string): TelegramBotBuilder;
|
|
45
|
+
getCatalogs(): EntityBuilderWithOptions[];
|
|
46
|
+
addCatalog(name: string, title?: string, options?: any): CatalogBuilder;
|
|
47
|
+
getCatalogByName(name: string): CatalogBuilder;
|
|
48
|
+
addRestApi(name: string, path: string, title?: string): RestApiBuilder;
|
|
49
|
+
addWorker(name: string, title?: string): WorkerBuilder;
|
|
50
|
+
addManyToManyRelation(name: string, title?: string, options?: any): CatalogBuilder;
|
|
51
|
+
getDocuments(): EntityBuilderWithOptions<DocumentBuilder>[];
|
|
52
|
+
addDocument(name: string, title?: string, options?: any): DocumentBuilder;
|
|
53
|
+
addReport(name: string, title?: string, options?: any): ReportBuilder;
|
|
54
|
+
addInfoRegistry(name: string, registrarDepended: boolean, title?: string, options?: any): InfoRegistryBuilder;
|
|
55
|
+
addSumRegistry(name: string, registrarDepended: boolean, title?: string, options?: any): SumRegistryBuilder;
|
|
56
|
+
addGlossaryTerm(term: string, definition: string): this;
|
|
57
|
+
addCommnad(projectCategory: ProjectCategory, name: string, command: string, needFor: string): this;
|
|
58
|
+
getEntities(): EntityWithOptions[];
|
|
59
|
+
setMemory(request: string, limit?: string): this;
|
|
60
|
+
setCpu(request: string, limit?: string): this;
|
|
61
|
+
build(): System;
|
|
62
|
+
initDefaultCatalogs(): EntityBuilderWithOptions<CatalogBuilder>[];
|
|
63
|
+
}
|
|
64
|
+
export default SystemMetaBuilder;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TelegramBot } from './buildedTypes';
|
|
2
|
+
import BaseBuilder from './BaseBuilder';
|
|
3
|
+
declare class TelegramBotBuilder extends BaseBuilder {
|
|
4
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
5
|
+
build(): TelegramBot;
|
|
6
|
+
}
|
|
7
|
+
export default TelegramBotBuilder;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MemoryAndCpu, Worker } from './buildedTypes';
|
|
2
|
+
import BaseBuilder from './BaseBuilder';
|
|
3
|
+
declare class WorkerBuilder extends BaseBuilder {
|
|
4
|
+
requests: MemoryAndCpu;
|
|
5
|
+
limits: MemoryAndCpu;
|
|
6
|
+
constructor(name: string, defaultLanguage: string, title?: string);
|
|
7
|
+
build(): Worker;
|
|
8
|
+
setMemory(request: string, limit?: string): this;
|
|
9
|
+
setCpu(request: string, limit?: string): this;
|
|
10
|
+
}
|
|
11
|
+
export default WorkerBuilder;
|