runlify 0.0.75 → 0.0.76
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/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/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/utils/TermSignals.d.ts +1 -0
- package/build/types/utils/cases.d.ts +9 -0
- package/build/utils/cases.js +30 -0
- package/package.json +11 -3
package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Entity, Field } from '../../../../builders/buildedTypes';
|
|
2
|
+
import { EditComponentName, LinkEditComponentName } from '../types';
|
|
3
|
+
export declare const getCompNamesToEditField: (field: Field, allEntities: Map<string, Entity>) => Array<EditComponentName | LinkEditComponentName>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Entity, LinkField } from '../../../../builders/buildedTypes';
|
|
2
|
+
import { EditComponentName, LinkEditComponentName } from '../types';
|
|
3
|
+
export declare const getCompNamesToEditLinkField: (field: LinkField, allEntities: Map<string, Entity>) => Array<EditComponentName | LinkEditComponentName>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Entity, Field } from '../../../../builders/buildedTypes';
|
|
2
|
+
import { LinkShowComponentName, ShowComponentName } from '../types';
|
|
3
|
+
export declare const getCompNamesToShowField: (field: Field, allEntities: Map<string, Entity>) => Array<ShowComponentName | LinkShowComponentName>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Entity, LinkField } from '../../../../builders/buildedTypes';
|
|
2
|
+
import { LinkShowComponentName, ShowComponentName } from '../types';
|
|
3
|
+
export declare const getCompNamesToShowLinkField: (field: LinkField, allEntities: Map<string, Entity>) => Array<ShowComponentName | LinkShowComponentName>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare type ShowComponentName = 'DateField' | 'TextField' | 'NumberField' | 'BooleanField';
|
|
2
|
+
export declare type LinkShowComponentName = 'ReferenceField';
|
|
3
|
+
export declare type LinkEditComponentName = 'ReferenceInput' | 'SelectInput' | 'AutocompleteInput';
|
|
4
|
+
export declare type EditComponentName = 'TextInput' | 'NumberInput' | 'DateTimeInput' | 'DateInput' | 'BooleanInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Entity, Field, IdField, LinkField, ScalarField } from '../../builders/buildedTypes';
|
|
2
|
+
export declare const getFieldLabel: (entity: Entity, field: Field) => string;
|
|
3
|
+
export declare const getScalarShowComponent: (entity: Entity, field: ScalarField) => string;
|
|
4
|
+
export declare const getIdShowComponent: (entity: Entity, field: IdField) => string;
|
|
5
|
+
export declare const getLinkShowComponent: (entity: Entity, allEntities: Map<string, Entity>, field: LinkField, type?: 'list') => string;
|
|
6
|
+
export declare const getShowComponent: (entity: Entity, allEntities: Map<string, Entity>, field: Field, type?: 'list') => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Entity, Field, IdField, LinkField, ScalarField } from './builders/buildedTypes';
|
|
2
|
+
export declare const getLinkFields: (entity: Entity) => LinkField[];
|
|
3
|
+
export declare const getFieldByName: (entity: Entity, name: string) => Field;
|
|
4
|
+
export declare const getKeyField: (entity: Entity) => IdField;
|
|
5
|
+
export declare const getTitleField: (entity: Entity) => ScalarField;
|
|
6
|
+
export declare const isImageFileRef: (f: Field) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import BaseSavableEntityBuilder from './builders/BaseSavableEntityBuilder';
|
|
2
|
+
import CatalogBuilder from './builders/CatalogBuilder';
|
|
3
|
+
import ReportBuilder from './builders/ReportBuilder';
|
|
4
|
+
import { Entity, LinkField } from './builders/buildedTypes';
|
|
5
|
+
export declare const defaultBootstrapEntityOptions: {
|
|
6
|
+
genPrismaServices: boolean;
|
|
7
|
+
genGraphSchema: boolean;
|
|
8
|
+
genGraphResolvers: boolean;
|
|
9
|
+
genUiResources: boolean;
|
|
10
|
+
skipWarningThisIsGenerated: boolean;
|
|
11
|
+
genPrismaSchema: boolean;
|
|
12
|
+
genContext: boolean;
|
|
13
|
+
typesOnly: boolean;
|
|
14
|
+
genRootConfig: boolean;
|
|
15
|
+
genRootElements: boolean;
|
|
16
|
+
genUiCountWidget: boolean;
|
|
17
|
+
genUiListWidget: boolean;
|
|
18
|
+
genUiEntityMapping: boolean;
|
|
19
|
+
genUiMenu: boolean;
|
|
20
|
+
genUiElements: boolean;
|
|
21
|
+
genUiResourcesPage: boolean;
|
|
22
|
+
genUiRoutes: boolean;
|
|
23
|
+
genUIApp: boolean;
|
|
24
|
+
genUiFunctions: boolean;
|
|
25
|
+
genUiDashboard: boolean;
|
|
26
|
+
showMetaPage: boolean;
|
|
27
|
+
readOnly: boolean;
|
|
28
|
+
forms: {
|
|
29
|
+
list: {
|
|
30
|
+
gen: boolean;
|
|
31
|
+
};
|
|
32
|
+
show: {
|
|
33
|
+
gen: boolean;
|
|
34
|
+
};
|
|
35
|
+
edit: {
|
|
36
|
+
gen: boolean;
|
|
37
|
+
idEditable: boolean;
|
|
38
|
+
};
|
|
39
|
+
create: {
|
|
40
|
+
gen: boolean;
|
|
41
|
+
idEditable: boolean;
|
|
42
|
+
};
|
|
43
|
+
menu: {
|
|
44
|
+
show: boolean;
|
|
45
|
+
};
|
|
46
|
+
resourcesPage: {
|
|
47
|
+
show: boolean;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
detachedBackProject: string;
|
|
51
|
+
detachedUiProject: string;
|
|
52
|
+
projectsGroup: string;
|
|
53
|
+
projectPrefix: string;
|
|
54
|
+
dbName: string;
|
|
55
|
+
projectName: string;
|
|
56
|
+
k8sChartName: string;
|
|
57
|
+
k8sNamespacePrefix: string;
|
|
58
|
+
k8sAppsDomain: string;
|
|
59
|
+
k8sSubdomainPrefix: string;
|
|
60
|
+
k8sImagePullSecrets: string;
|
|
61
|
+
ciDockerRegistry: string;
|
|
62
|
+
genBackGitlabCi: boolean;
|
|
63
|
+
genUiGitlabCi: boolean;
|
|
64
|
+
genBackChartValues: boolean;
|
|
65
|
+
genBackChartIngress: boolean;
|
|
66
|
+
genBackChartBack: boolean;
|
|
67
|
+
genUiChartIngress: boolean;
|
|
68
|
+
genUiChartFront: boolean;
|
|
69
|
+
corePrismaGetter: boolean;
|
|
70
|
+
coreIndex: boolean;
|
|
71
|
+
};
|
|
72
|
+
export declare type BootstrapEntityOptions = typeof defaultBootstrapEntityOptions;
|
|
73
|
+
export interface EntityBuilderWithOptions<T extends BaseSavableEntityBuilder | ReportBuilder = CatalogBuilder> {
|
|
74
|
+
entity: T;
|
|
75
|
+
options: BootstrapEntityOptions;
|
|
76
|
+
}
|
|
77
|
+
export interface EntityWithOptions {
|
|
78
|
+
entity: Entity;
|
|
79
|
+
options: BootstrapEntityOptions;
|
|
80
|
+
}
|
|
81
|
+
export declare type LinkedEntitiesType = 'oneToOne' | 'manyToMany' | 'oneToMany';
|
|
82
|
+
export declare type LinkedEntities = {
|
|
83
|
+
type: 'oneToOne';
|
|
84
|
+
entityOwnerName: string;
|
|
85
|
+
fromField: LinkField;
|
|
86
|
+
externalEntityName: string;
|
|
87
|
+
} | {
|
|
88
|
+
type: 'oneToMany';
|
|
89
|
+
entityOwnerName: string;
|
|
90
|
+
fromField: LinkField;
|
|
91
|
+
externalEntityName: string;
|
|
92
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const generatedWarning = "DO NOT EDIT! THIS IS GENERATED FILE";
|
|
2
|
+
export declare const writeFileIfNotExists: (path: string, content: string) => Promise<void>;
|
|
3
|
+
export declare const pad: (content: string, num: number) => string;
|
|
4
|
+
export declare const pad1: (content: string) => string;
|
|
5
|
+
export declare const pad2: (content: string) => string;
|
|
6
|
+
export declare const pad3: (content: string) => string;
|
|
7
|
+
export declare const pad4: (content: string) => string;
|
|
8
|
+
export declare const pad5: (content: string) => string;
|
|
9
|
+
export declare const pad6: (content: string) => string;
|
|
10
|
+
export declare const pad7: (content: string) => string;
|
|
11
|
+
export declare const pad8: (content: string) => string;
|
|
12
|
+
export declare const pad9: (content: string) => string;
|
|
13
|
+
export declare const pad10: (content: string) => string;
|
|
14
|
+
export declare const addComma: (content: string) => string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const pascalSingular: (str: string) => string;
|
|
2
|
+
export declare const pascalPlural: (str: string) => string;
|
|
3
|
+
export declare const camelSingular: (str: string) => string;
|
|
4
|
+
export declare const camelPlural: (str: string) => string;
|
|
5
|
+
export declare const pascal: (str: string) => string;
|
|
6
|
+
export declare const camel: (str: string) => string;
|
|
7
|
+
export declare const sentence: (str: string) => string;
|
|
8
|
+
export declare const capital: (str: string) => string;
|
|
9
|
+
export declare const upper: (str: string) => string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.upper = exports.capital = exports.sentence = exports.camel = exports.pascal = exports.camelPlural = exports.camelSingular = exports.pascalPlural = exports.pascalSingular = void 0;
|
|
4
|
+
var change_case_1 = require("change-case");
|
|
5
|
+
var pluralize_1 = require("pluralize");
|
|
6
|
+
var pascalSingular = function (str) {
|
|
7
|
+
return (0, change_case_1.pascalCase)((0, pluralize_1.default)(str, 1));
|
|
8
|
+
};
|
|
9
|
+
exports.pascalSingular = pascalSingular;
|
|
10
|
+
var pascalPlural = function (str) {
|
|
11
|
+
return (0, change_case_1.pascalCase)((0, pluralize_1.default)(str, 2));
|
|
12
|
+
};
|
|
13
|
+
exports.pascalPlural = pascalPlural;
|
|
14
|
+
var camelSingular = function (str) {
|
|
15
|
+
return (0, change_case_1.camelCase)((0, pluralize_1.default)(str, 1));
|
|
16
|
+
};
|
|
17
|
+
exports.camelSingular = camelSingular;
|
|
18
|
+
var camelPlural = function (str) { return (0, change_case_1.camelCase)((0, pluralize_1.default)(str, 2)); };
|
|
19
|
+
exports.camelPlural = camelPlural;
|
|
20
|
+
var pascal = function (str) { return (0, change_case_1.pascalCase)(str); };
|
|
21
|
+
exports.pascal = pascal;
|
|
22
|
+
var camel = function (str) { return (0, change_case_1.camelCase)(str); };
|
|
23
|
+
exports.camel = camel;
|
|
24
|
+
var sentence = function (str) { return (0, change_case_1.sentenceCase)(str); };
|
|
25
|
+
exports.sentence = sentence;
|
|
26
|
+
var capital = function (str) { return (0, change_case_1.capitalCase)(str); };
|
|
27
|
+
exports.capital = capital;
|
|
28
|
+
var upper = function (str) { return str.toUpperCase(); };
|
|
29
|
+
exports.upper = upper;
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdXRpbHMvY2FzZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkNBQThFO0FBQzlFLHVDQUFpQztBQUUxQixJQUFNLGNBQWMsR0FBRyxVQUFDLEdBQVc7SUFDeEMsT0FBQSxJQUFBLHdCQUFVLEVBQUMsSUFBQSxtQkFBUyxFQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQztBQUE3QixDQUE2QixDQUFBO0FBRGxCLFFBQUEsY0FBYyxrQkFDSTtBQUN4QixJQUFNLFlBQVksR0FBRyxVQUFDLEdBQVc7SUFDdEMsT0FBQSxJQUFBLHdCQUFVLEVBQUMsSUFBQSxtQkFBUyxFQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQztBQUE3QixDQUE2QixDQUFBO0FBRGxCLFFBQUEsWUFBWSxnQkFDTTtBQUN4QixJQUFNLGFBQWEsR0FBRyxVQUFDLEdBQVc7SUFDdkMsT0FBQSxJQUFBLHVCQUFTLEVBQUMsSUFBQSxtQkFBUyxFQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQztBQUE1QixDQUE0QixDQUFBO0FBRGpCLFFBQUEsYUFBYSxpQkFDSTtBQUN2QixJQUFNLFdBQVcsR0FBRyxVQUFDLEdBQVcsSUFBYSxPQUFBLElBQUEsdUJBQVMsRUFBQyxJQUFBLG1CQUFTLEVBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxDQUFDLEVBQTVCLENBQTRCLENBQUE7QUFBbkUsUUFBQSxXQUFXLGVBQXdEO0FBRXpFLElBQU0sTUFBTSxHQUFHLFVBQUMsR0FBVyxJQUFhLE9BQUEsSUFBQSx3QkFBVSxFQUFDLEdBQUcsQ0FBQyxFQUFmLENBQWUsQ0FBQTtBQUFqRCxRQUFBLE1BQU0sVUFBMkM7QUFDdkQsSUFBTSxLQUFLLEdBQUcsVUFBQyxHQUFXLElBQWEsT0FBQSxJQUFBLHVCQUFTLEVBQUMsR0FBRyxDQUFDLEVBQWQsQ0FBYyxDQUFBO0FBQS9DLFFBQUEsS0FBSyxTQUEwQztBQUNyRCxJQUFNLFFBQVEsR0FBRyxVQUFDLEdBQVcsSUFBYSxPQUFBLElBQUEsMEJBQVksRUFBQyxHQUFHLENBQUMsRUFBakIsQ0FBaUIsQ0FBQTtBQUFyRCxRQUFBLFFBQVEsWUFBNkM7QUFDM0QsSUFBTSxPQUFPLEdBQUcsVUFBQyxHQUFXLElBQWEsT0FBQSxJQUFBLHlCQUFXLEVBQUMsR0FBRyxDQUFDLEVBQWhCLENBQWdCLENBQUE7QUFBbkQsUUFBQSxPQUFPLFdBQTRDO0FBQ3pELElBQU0sS0FBSyxHQUFHLFVBQUMsR0FBVyxJQUFhLE9BQUEsR0FBRyxDQUFDLFdBQVcsRUFBRSxFQUFqQixDQUFpQixDQUFBO0FBQWxELFFBQUEsS0FBSyxTQUE2QyJ9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "runlify",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.76",
|
|
4
4
|
"description": "runlify CLI",
|
|
5
5
|
"private": false,
|
|
6
6
|
"types": "build/types/types.d.ts",
|
|
@@ -31,9 +31,16 @@
|
|
|
31
31
|
"appdata-path": "^1.0.0",
|
|
32
32
|
"change-case": "^4.1.2",
|
|
33
33
|
"cross-spawn": "^7.0.3",
|
|
34
|
+
"fs-extra": "^10.1.0",
|
|
35
|
+
"fs-jetpack": "^4.3.1",
|
|
34
36
|
"gluegun": "latest",
|
|
37
|
+
"graphql": "^16.5.0",
|
|
38
|
+
"graphql-scalars": "^1.17.0",
|
|
39
|
+
"markdown-table": "^3.0.2",
|
|
35
40
|
"nconf": "^0.12.0",
|
|
36
|
-
"
|
|
41
|
+
"path": "^0.12.7",
|
|
42
|
+
"ramda": "^0.28.0",
|
|
43
|
+
"winston": "^3.8.1"
|
|
37
44
|
},
|
|
38
45
|
"devDependencies": {
|
|
39
46
|
"@types/cross-spawn": "^6.0.2",
|
|
@@ -49,11 +56,12 @@
|
|
|
49
56
|
"eslint-plugin-prettier": "^3.3.1",
|
|
50
57
|
"husky": "^5.1.3",
|
|
51
58
|
"jest": "^26.6.3",
|
|
59
|
+
"jest-without-globals": "^0.0.3",
|
|
52
60
|
"prettier": "^2.2.1",
|
|
53
61
|
"pretty-quick": "^3.1.0",
|
|
54
62
|
"ts-jest": "^26.5.3",
|
|
55
63
|
"ts-node": "^9.1.1",
|
|
56
|
-
"typescript": "^4.
|
|
64
|
+
"typescript": "^4.7.4"
|
|
57
65
|
},
|
|
58
66
|
"jest": {
|
|
59
67
|
"preset": "ts-jest",
|