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,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AccumulationRegisterMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
// Измерения
|
|
21
|
+
// Ресурсы
|
|
22
|
+
// Реквизиты (?)
|
|
23
|
+
// Модель набора записей
|
|
24
|
+
// Модульь менеджера
|
|
25
|
+
// Вид регистра (остатки / обороты)
|
|
26
|
+
var AccumulationRegisterMetaBuilder = /** @class */ (function (_super) {
|
|
27
|
+
__extends(AccumulationRegisterMetaBuilder, _super);
|
|
28
|
+
function AccumulationRegisterMetaBuilder() {
|
|
29
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
+
}
|
|
31
|
+
return AccumulationRegisterMetaBuilder;
|
|
32
|
+
}(CatalogBuilder_1.default));
|
|
33
|
+
exports.AccumulationRegisterMetaBuilder = AccumulationRegisterMetaBuilder;
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWNjdW11bGF0aW9uUmVnaXN0ZXJNZXRhQnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vYnVpbGRlcnMvcG9zdHBvbmVkL0FjY3VtdWxhdGlvblJlZ2lzdGVyTWV0YUJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsb0RBQThDO0FBRTlDLFlBQVk7QUFDWixVQUFVO0FBQ1YsZ0JBQWdCO0FBRWhCLHdCQUF3QjtBQUN4QixvQkFBb0I7QUFFcEIsbUNBQW1DO0FBRW5DO0lBQXFELG1EQUFjO0lBQW5FOztJQUFxRSxDQUFDO0lBQUQsc0NBQUM7QUFBRCxDQUFDLEFBQXRFLENBQXFELHdCQUFjLEdBQUc7QUFBekQsMEVBQStCIn0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.DictionaryMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
var DictionaryMetaBuilder = /** @class */ (function (_super) {
|
|
21
|
+
__extends(DictionaryMetaBuilder, _super);
|
|
22
|
+
function DictionaryMetaBuilder() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return DictionaryMetaBuilder;
|
|
26
|
+
}(CatalogBuilder_1.default));
|
|
27
|
+
exports.DictionaryMetaBuilder = DictionaryMetaBuilder;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGljdGlvbmFyeU1ldGFCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy9wb3N0cG9uZWQvRGljdGlvbmFyeU1ldGFCdWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG9EQUE4QztBQUU5QztJQUEyQyx5Q0FBYztJQUF6RDs7SUFBMkQsQ0FBQztJQUFELDRCQUFDO0FBQUQsQ0FBQyxBQUE1RCxDQUEyQyx3QkFBYyxHQUFHO0FBQS9DLHNEQUFxQiJ9
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.DocumentMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
var DocumentMetaBuilder = /** @class */ (function (_super) {
|
|
21
|
+
__extends(DocumentMetaBuilder, _super);
|
|
22
|
+
function DocumentMetaBuilder() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return DocumentMetaBuilder;
|
|
26
|
+
}(CatalogBuilder_1.default));
|
|
27
|
+
exports.DocumentMetaBuilder = DocumentMetaBuilder;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRG9jdW1lbnRNZXRhQnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vYnVpbGRlcnMvcG9zdHBvbmVkL0RvY3VtZW50TWV0YUJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsb0RBQThDO0FBRTlDO0lBQXlDLHVDQUFjO0lBQXZEOztJQUF5RCxDQUFDO0lBQUQsMEJBQUM7QUFBRCxDQUFDLEFBQTFELENBQXlDLHdCQUFjLEdBQUc7QUFBN0Msa0RBQW1CIn0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.EntityFormMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
var EntityFormMetaBuilder = /** @class */ (function (_super) {
|
|
21
|
+
__extends(EntityFormMetaBuilder, _super);
|
|
22
|
+
function EntityFormMetaBuilder() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return EntityFormMetaBuilder;
|
|
26
|
+
}(CatalogBuilder_1.default));
|
|
27
|
+
exports.EntityFormMetaBuilder = EntityFormMetaBuilder;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW50aXR5Rm9ybU1ldGFCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy9wb3N0cG9uZWQvRW50aXR5Rm9ybU1ldGFCdWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG9EQUE4QztBQUU5QztJQUEyQyx5Q0FBYztJQUF6RDs7SUFBMkQsQ0FBQztJQUFELDRCQUFDO0FBQUQsQ0FBQyxBQUE1RCxDQUEyQyx3QkFBYyxHQUFHO0FBQS9DLHNEQUFxQiJ9
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.InformationRegisterMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
// Периодчиность:
|
|
21
|
+
// Непериодический
|
|
22
|
+
// Измерения
|
|
23
|
+
// Ресурсы
|
|
24
|
+
// Реквизиты
|
|
25
|
+
var InformationRegisterMetaBuilder = /** @class */ (function (_super) {
|
|
26
|
+
__extends(InformationRegisterMetaBuilder, _super);
|
|
27
|
+
function InformationRegisterMetaBuilder() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
return InformationRegisterMetaBuilder;
|
|
31
|
+
}(CatalogBuilder_1.default));
|
|
32
|
+
exports.InformationRegisterMetaBuilder = InformationRegisterMetaBuilder;
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW5mb3JtYXRpb25SZWdpc3Rlck1ldGFCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy9wb3N0cG9uZWQvSW5mb3JtYXRpb25SZWdpc3Rlck1ldGFCdWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG9EQUE4QztBQUU5QyxpQkFBaUI7QUFDakIsbUJBQW1CO0FBRW5CLFlBQVk7QUFDWixVQUFVO0FBQ1YsWUFBWTtBQUVaO0lBQW9ELGtEQUFjO0lBQWxFOztJQUFvRSxDQUFDO0lBQUQscUNBQUM7QUFBRCxDQUFDLEFBQXJFLENBQW9ELHdCQUFjLEdBQUc7QUFBeEQsd0VBQThCIn0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ListFormMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
var ListFormMetaBuilder = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ListFormMetaBuilder, _super);
|
|
22
|
+
function ListFormMetaBuilder() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return ListFormMetaBuilder;
|
|
26
|
+
}(CatalogBuilder_1.default));
|
|
27
|
+
exports.ListFormMetaBuilder = ListFormMetaBuilder;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEZvcm1NZXRhQnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vYnVpbGRlcnMvcG9zdHBvbmVkL0xpc3RGb3JtTWV0YUJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsb0RBQThDO0FBRTlDO0lBQXlDLHVDQUFjO0lBQXZEOztJQUF5RCxDQUFDO0lBQUQsMEJBQUM7QUFBRCxDQUFDLEFBQTFELENBQXlDLHdCQUFjLEdBQUc7QUFBN0Msa0RBQW1CIn0=
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.PeriodicInformationRegisterMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
// Периодчиность:
|
|
21
|
+
// В пределах секунды
|
|
22
|
+
// В пределах дня
|
|
23
|
+
// В пределах месяца
|
|
24
|
+
// В пределах квартала
|
|
25
|
+
// В пределах года
|
|
26
|
+
// Измерения
|
|
27
|
+
// Ресурсы
|
|
28
|
+
// Реквизиты
|
|
29
|
+
var PeriodicInformationRegisterMetaBuilder = /** @class */ (function (_super) {
|
|
30
|
+
__extends(PeriodicInformationRegisterMetaBuilder, _super);
|
|
31
|
+
function PeriodicInformationRegisterMetaBuilder() {
|
|
32
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
33
|
+
}
|
|
34
|
+
return PeriodicInformationRegisterMetaBuilder;
|
|
35
|
+
}(CatalogBuilder_1.default));
|
|
36
|
+
exports.PeriodicInformationRegisterMetaBuilder = PeriodicInformationRegisterMetaBuilder;
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGVyaW9kaWNJbmZvcm1hdGlvblJlZ2lzdGVyTWV0YUJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2J1aWxkZXJzL3Bvc3Rwb25lZC9QZXJpb2RpY0luZm9ybWF0aW9uUmVnaXN0ZXJNZXRhQnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxvREFBOEM7QUFFOUMsaUJBQWlCO0FBQ2pCLHNCQUFzQjtBQUN0QixrQkFBa0I7QUFDbEIscUJBQXFCO0FBQ3JCLHVCQUF1QjtBQUN2QixtQkFBbUI7QUFFbkIsWUFBWTtBQUNaLFVBQVU7QUFDVixZQUFZO0FBRVo7SUFBNEQsMERBQWM7SUFBMUU7O0lBQTRFLENBQUM7SUFBRCw2Q0FBQztBQUFELENBQUMsQUFBN0UsQ0FBNEQsd0JBQWMsR0FBRztBQUFoRSx3RkFBc0MifQ==
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ReportMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
var ReportMetaBuilder = /** @class */ (function (_super) {
|
|
21
|
+
__extends(ReportMetaBuilder, _super);
|
|
22
|
+
function ReportMetaBuilder() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return ReportMetaBuilder;
|
|
26
|
+
}(CatalogBuilder_1.default));
|
|
27
|
+
exports.ReportMetaBuilder = ReportMetaBuilder;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVwb3J0TWV0YUJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2J1aWxkZXJzL3Bvc3Rwb25lZC9SZXBvcnRNZXRhQnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxvREFBOEM7QUFFOUM7SUFBdUMscUNBQWM7SUFBckQ7O0lBQXVELENBQUM7SUFBRCx3QkFBQztBQUFELENBQUMsQUFBeEQsQ0FBdUMsd0JBQWMsR0FBRztBQUEzQyw4Q0FBaUIifQ==
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.RoleMetaBuilder = void 0;
|
|
19
|
+
var CatalogBuilder_1 = require("../CatalogBuilder");
|
|
20
|
+
var RoleMetaBuilder = /** @class */ (function (_super) {
|
|
21
|
+
__extends(RoleMetaBuilder, _super);
|
|
22
|
+
function RoleMetaBuilder() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return RoleMetaBuilder;
|
|
26
|
+
}(CatalogBuilder_1.default));
|
|
27
|
+
exports.RoleMetaBuilder = RoleMetaBuilder;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUm9sZU1ldGFCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy9wb3N0cG9uZWQvUm9sZU1ldGFCdWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG9EQUE4QztBQUU5QztJQUFxQyxtQ0FBYztJQUFuRDs7SUFBcUQsQ0FBQztJQUFELHNCQUFDO0FBQUQsQ0FBQyxBQUF0RCxDQUFxQyx3QkFBYyxHQUFHO0FBQXpDLDBDQUFlIn0=
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tsFilterFields = void 0;
|
|
4
|
+
var fieldTypeToTsType_1 = require("../generators/fieldTypeToTsType");
|
|
5
|
+
var buildedTypes_1 = require("./buildedTypes");
|
|
6
|
+
var tsFilterFields = function (entity) {
|
|
7
|
+
var filterField = [];
|
|
8
|
+
filterField.push({ name: 'q', type: buildedTypes_1.TsTypes.String });
|
|
9
|
+
for (var _i = 0, _a = entity.getFileds(); _i < _a.length; _i++) {
|
|
10
|
+
var field = _a[_i];
|
|
11
|
+
if (!field.hidden) {
|
|
12
|
+
filterField.push({
|
|
13
|
+
name: field.name,
|
|
14
|
+
type: (0, fieldTypeToTsType_1.fieldTypeToTsType)(field.type),
|
|
15
|
+
});
|
|
16
|
+
if (field.type === 'datetime') {
|
|
17
|
+
filterField.push({
|
|
18
|
+
name: "".concat(field.name, "_lte"),
|
|
19
|
+
type: (0, fieldTypeToTsType_1.fieldTypeToTsType)(field.type),
|
|
20
|
+
});
|
|
21
|
+
filterField.push({
|
|
22
|
+
name: "".concat(field.name, "_gte"),
|
|
23
|
+
type: (0, fieldTypeToTsType_1.fieldTypeToTsType)(field.type),
|
|
24
|
+
});
|
|
25
|
+
filterField.push({
|
|
26
|
+
name: "".concat(field.name, "_lt"),
|
|
27
|
+
type: (0, fieldTypeToTsType_1.fieldTypeToTsType)(field.type),
|
|
28
|
+
});
|
|
29
|
+
filterField.push({
|
|
30
|
+
name: "".concat(field.name, "_gt"),
|
|
31
|
+
type: (0, fieldTypeToTsType_1.fieldTypeToTsType)(field.type),
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return filterField.map(function (fild) { return "".concat(fild.name, ": ").concat(fild.type, ";"); }).join('\n');
|
|
37
|
+
};
|
|
38
|
+
exports.tsFilterFields = tsFilterFields;
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHNGaWx0ZXJGaWVsZHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMv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QUssQ0FBQyxJQUFJLENBQUM7aUJBQ3BDLENBQUMsQ0FBQTtnQkFDRixXQUFXLENBQUMsSUFBSSxDQUFDO29CQUNmLElBQUksRUFBRSxVQUFHLEtBQUssQ0FBQyxJQUFJLFFBQUs7b0JBQ3hCLElBQUksRUFBRSxJQUFBLHFDQUFpQixFQUFDLEtBQUssQ0FBQyxJQUFJLENBQUM7aUJBQ3BDLENBQUMsQ0FBQTtnQkFDRixXQUFXLENBQUMsSUFBSSxDQUFDO29CQUNmLElBQUksRUFBRSxVQUFHLEtBQUssQ0FBQyxJQUFJLFFBQUs7b0JBQ3hCLElBQUksRUFBRSxJQUFBLHFDQUFpQixFQUFDLEtBQUssQ0FBQyxJQUFJLENBQUM7aUJBQ3BDLENBQUMsQ0FBQTthQUNIO1NBQ0Y7S0FDRjtJQUVELE9BQU8sV0FBVyxDQUFDLEdBQUcsQ0FBQyxVQUFDLElBQUksSUFBSyxPQUFBLFVBQUcsSUFBSSxDQUFDLElBQUksZUFBSyxJQUFJLENBQUMsSUFBSSxNQUFHLEVBQTdCLENBQTZCLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUE7QUFDNUUsQ0FBQyxDQUFBO0FBbENZLFFBQUEsY0FBYyxrQkFrQzFCIn0=
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var jest_without_globals_1 = require("jest-without-globals");
|
|
4
|
+
var CatalogBuilder_1 = require("./CatalogBuilder");
|
|
5
|
+
var tsFilterFields_1 = require("./tsFilterFields");
|
|
6
|
+
// yarn test --testPathPattern tsFilterFields
|
|
7
|
+
describe('tsFilterFields', function () {
|
|
8
|
+
test('works', function () {
|
|
9
|
+
var cards = new CatalogBuilder_1.default('cards', 'ru');
|
|
10
|
+
cards.addField('name').setType('string').setRequired();
|
|
11
|
+
cards.addField('lastDigits').setType('int').setRequired();
|
|
12
|
+
cards.addField('active').setType('bool');
|
|
13
|
+
cards.addField('created').setType('datetime');
|
|
14
|
+
(0, jest_without_globals_1.expect)((0, tsFilterFields_1.tsFilterFields)(cards)).toBe("q: string;\nid: number;\nname: string;\nlastDigits: number;\nactive: boolean;\ncreated: Date;\ncreated_lte: Date;\ncreated_gte: Date;\ncreated_lt: Date;\ncreated_gt: Date;");
|
|
15
|
+
});
|
|
16
|
+
test('bigint id', function () {
|
|
17
|
+
var cards = new CatalogBuilder_1.default('cards', 'ru');
|
|
18
|
+
cards.getKey().setType('bigint');
|
|
19
|
+
cards.addField('name').setType('string').setRequired();
|
|
20
|
+
cards.addField('lastDigits').setType('int').setRequired();
|
|
21
|
+
cards.addField('active').setType('bool');
|
|
22
|
+
cards.addField('created').setType('datetime');
|
|
23
|
+
(0, jest_without_globals_1.expect)((0, tsFilterFields_1.tsFilterFields)(cards)).toBe("q: string;\nid: bigint;\nname: string;\nlastDigits: number;\nactive: boolean;\ncreated: Date;\ncreated_lte: Date;\ncreated_gte: Date;\ncreated_lt: Date;\ncreated_gt: Date;");
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHNGaWx0ZXJGaWVsZHMuc3BlYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vYnVpbGRlcnMvdHNGaWx0ZXJGaWVsZHMuc3BlYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDZEQUE2QztBQUM3QyxtREFBNkM7QUFDN0MsbURBQWlEO0FBRWpELDZDQUE2QztBQUU3QyxRQUFRLENBQUMsZ0JBQWdCLEVBQUU7SUFDekIsSUFBSSxDQUFDLE9BQU8sRUFBRTtRQUNaLElBQU0sS0FBSyxHQUFHLElBQUksd0JBQWMsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDLENBQU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yxDQUFDLFFBQVEsQ0FBQyxTQUFTLENBQUMsQ0FBQyxPQUFPLENBQUMsVUFBVSxDQUFDLENBQUE7UUFFN0MsSUFBQSw2QkFBTSxFQUFDLElBQUEsK0JBQWMsRUFBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyw2S0FTckIsQ0FBQyxDQUFBO0lBQ2pCLENBQUMsQ0FBQyxDQUFBO0FBQ0osQ0FBQyxDQUFDLENBQUEifQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2J1aWxkZXJzL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2J1aWxkZXJzL3VpL0Zvcm1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormsBuilder = void 0;
|
|
4
|
+
var ListFormBuilder_1 = require("./ListFormBuilder");
|
|
5
|
+
var FormsBuilder = /** @class */ (function () {
|
|
6
|
+
function FormsBuilder(getEntity) {
|
|
7
|
+
this.getEntity = getEntity;
|
|
8
|
+
this.listForm = new ListFormBuilder_1.ListFormBuilder(this.getEntity);
|
|
9
|
+
}
|
|
10
|
+
FormsBuilder.prototype.getListForm = function () {
|
|
11
|
+
return this.listForm;
|
|
12
|
+
};
|
|
13
|
+
FormsBuilder.prototype.build = function () {
|
|
14
|
+
return {
|
|
15
|
+
listForm: this.listForm.build(),
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
return FormsBuilder;
|
|
19
|
+
}());
|
|
20
|
+
exports.FormsBuilder = FormsBuilder;
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybXNCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy91aS9Gb3Jtc0J1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRUEscURBQW1EO0FBRW5EO0lBSUUsc0JBQVksU0FBeUM7UUFDbkQsSUFBSSxDQUFDLFNBQVMsR0FBRyxTQUFTLENBQUE7UUFFMUIsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLGlDQUFlLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFBO0lBQ3JELENBQUM7SUFFRCxrQ0FBVyxHQUFYO1FBQ0UsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFBO0lBQ3RCLENBQUM7SUFFRCw0QkFBSyxHQUFMO1FBQ0UsT0FBTztZQUNMLFFBQVEsRUFBRSxJQUFJLENBQUMsUUFBUSxDQUFDLEtBQUssRUFBRTtTQUNoQyxDQUFBO0lBQ0gsQ0FBQztJQUNILG1CQUFDO0FBQUQsQ0FBQyxBQW5CRCxJQW1CQztBQW5CWSxvQ0FBWSJ9
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListFormBuilder = void 0;
|
|
4
|
+
var ListFormFilterBuilder_1 = require("./ListFormFilterBuilder");
|
|
5
|
+
var ListFormBuilder = /** @class */ (function () {
|
|
6
|
+
function ListFormBuilder(getEntity) {
|
|
7
|
+
this.getEntity = getEntity;
|
|
8
|
+
this.filter = new ListFormFilterBuilder_1.ListFormFilterBuilder(this.getEntity);
|
|
9
|
+
}
|
|
10
|
+
ListFormBuilder.prototype.getFilter = function () {
|
|
11
|
+
return this.filter;
|
|
12
|
+
};
|
|
13
|
+
ListFormBuilder.prototype.build = function () {
|
|
14
|
+
return {
|
|
15
|
+
filter: this.filter.build(),
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
return ListFormBuilder;
|
|
19
|
+
}());
|
|
20
|
+
exports.ListFormBuilder = ListFormBuilder;
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEZvcm1CdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy91aS9MaXN0Rm9ybUJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRUEsaUVBQStEO0FBRS9EO0lBSUUseUJBQVksU0FBeUM7UUFDbkQsSUFBSSxDQUFDLFNBQVMsR0FBRyxTQUFTLENBQUE7UUFFMUIsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLDZDQUFxQixDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQTtJQUN6RCxDQUFDO0lBRUQsbUNBQVMsR0FBVDtRQUNFLE9BQU8sSUFBSSxDQUFDLE1BQU0sQ0FBQTtJQUNwQixDQUFDO0lBRUQsK0JBQUssR0FBTDtRQUNFLE9BQU87WUFDTCxNQUFNLEVBQUUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUU7U0FDNUIsQ0FBQTtJQUNILENBQUM7SUFDSCxzQkFBQztBQUFELENBQUMsQUFuQkQsSUFtQkM7QUFuQlksMENBQWUifQ==
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListFormFilterBuilder = void 0;
|
|
4
|
+
var ListFormFilterFieldBuilder_1 = require("./ListFormFilterFieldBuilder");
|
|
5
|
+
var ListFormFilterBuilder = /** @class */ (function () {
|
|
6
|
+
function ListFormFilterBuilder(getEntity) {
|
|
7
|
+
var _this = this;
|
|
8
|
+
this.getEntity = getEntity;
|
|
9
|
+
this.fields = this.getEntity()
|
|
10
|
+
.getFileds()
|
|
11
|
+
.map(function (field) { return new ListFormFilterFieldBuilder_1.ListFormFilterFieldBuilder(_this.getEntity, function () { return field; }); });
|
|
12
|
+
}
|
|
13
|
+
ListFormFilterBuilder.prototype.getField = function (name) {
|
|
14
|
+
var field = this.fields.find(function (f) { return f.getField().name === name; });
|
|
15
|
+
if (!field) {
|
|
16
|
+
throw new Error("There is no fiel with \"".concat(name, "\" name"));
|
|
17
|
+
}
|
|
18
|
+
return field;
|
|
19
|
+
};
|
|
20
|
+
ListFormFilterBuilder.prototype.build = function () {
|
|
21
|
+
return {
|
|
22
|
+
fields: this.fields.map(function (fileld) { return fileld.build(); }),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
return ListFormFilterBuilder;
|
|
26
|
+
}());
|
|
27
|
+
exports.ListFormFilterBuilder = ListFormFilterBuilder;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEZvcm1GaWx0ZXJCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy91aS9MaXN0Rm9ybUZpb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J9
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListFormFilterFieldBuilder = void 0;
|
|
4
|
+
var ListFormFilterFieldBuilder = /** @class */ (function () {
|
|
5
|
+
function ListFormFilterFieldBuilder(getEntity, getField) {
|
|
6
|
+
this.alwaysOn = false;
|
|
7
|
+
this.getEntity = getEntity;
|
|
8
|
+
this.getField = getField;
|
|
9
|
+
}
|
|
10
|
+
ListFormFilterFieldBuilder.prototype.setAlwaysOn = function (alwaysOn) {
|
|
11
|
+
this.alwaysOn = alwaysOn;
|
|
12
|
+
return this;
|
|
13
|
+
};
|
|
14
|
+
ListFormFilterFieldBuilder.prototype.build = function () {
|
|
15
|
+
return {
|
|
16
|
+
name: this.getField().name,
|
|
17
|
+
hidden: this.getField().hidden,
|
|
18
|
+
alwaysOn: this.alwaysOn,
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
return ListFormFilterFieldBuilder;
|
|
22
|
+
}());
|
|
23
|
+
exports.ListFormFilterFieldBuilder = ListFormFilterFieldBuilder;
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGlzdEZvcm1GaWx0ZXJGaWVsZEJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2J1aWxkZXJzL3VpL0xpc3RGb3JtRmlsdGVyRmllbGRCdWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUlBO0lBS0Usb0NBQ0UsU0FBeUMsRUFDekMsUUFBNEI7UUFKOUIsYUFBUSxHQUFHLEtBQUssQ0FBQTtRQU1kLElBQUksQ0FBQyxTQUFTLEdBQUcsU0FBUyxDQUFBO1FBQzFCLElBQUksQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFBO0lBQzFCLENBQUM7SUFFRCxnREFBVyxHQUFYLFVBQVksUUFBaUI7UUFDM0IsSUFBSSxDQUFDLFFBQVEsR0FBRyxRQUFRLENBQUE7UUFFeEIsT0FBTyxJQUFJLENBQUE7SUFDYixDQUFDO0lBRUQsMENBQUssR0FBTDtRQUNFLE9BQU87WUFDTCxJQUFJLEVBQUUsSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFDLElBQUk7WUFDMUIsTUFBTSxFQUFFLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQyxNQUFNO1lBQzlCLFFBQVEsRUFBRSxJQUFJLENBQUMsUUFBUTtTQUN4QixDQUFBO0lBQ0gsQ0FBQztJQUNILGlDQUFDO0FBQUQsQ0FBQyxBQTFCRCxJQTBCQztBQTFCWSxnRUFBMEIifQ==
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getEntityField = void 0;
|
|
4
|
+
var getEntityField = function (entity, fieldName) {
|
|
5
|
+
var field = entity.fields.find(function (f) { return f.name === fieldName; });
|
|
6
|
+
if (!field) {
|
|
7
|
+
throw new Error("There is no field with \"".concat(fieldName, "\" name"));
|
|
8
|
+
}
|
|
9
|
+
return field;
|
|
10
|
+
};
|
|
11
|
+
exports.getEntityField = getEntityField;
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjZXNzRnVuY3Rpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9idWlsZGVycy91dGlscy9hY2Nlc3NGdW5jdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRU8sSUFBTSxjQUFjLEdBQUcsVUFBQyxNQUFjLEVBQUUsU0FBaUI7SUFDOUQsSUFBTSxLQUFLLEdBQUcsTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsVUFBQyxDQUFDLElBQUssT0FBQSxDQUFDLENBQUMsSUFBSSxLQUFLLFNBQVMsRUFBcEIsQ0FBb0IsQ0FBQyxDQUFBO0lBQzdELElBQUksQ0FBQyxLQUFLLEVBQUU7UUFDVixNQUFNLElBQUksS0FBSyxDQUFDLG1DQUEyQixTQUFTLFlBQVEsQ0FBQyxDQUFBO0tBQzlEO0lBRUQsT0FBTyxLQUFLLENBQUE7QUFDZCxDQUFDLENBQUE7QUFQWSxRQUFBLGNBQWMsa0JBTzFCIn0=
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFilesCatalog = exports.addFilesCatalog = void 0;
|
|
4
|
+
var name = 'files';
|
|
5
|
+
var addFilesCatalog = function (system) {
|
|
6
|
+
var files = system.addCatalog(name, 'Files');
|
|
7
|
+
files.addField('originalName').setType('string').setRequired();
|
|
8
|
+
files.addField('url').setType('string').setRequired();
|
|
9
|
+
files.addField('mimetype').setType('string').setRequired(); // contentType
|
|
10
|
+
files.addField('s3Key').setType('string').setRequired();
|
|
11
|
+
files.addField('eTag').setType('string').setRequired();
|
|
12
|
+
return files;
|
|
13
|
+
};
|
|
14
|
+
exports.addFilesCatalog = addFilesCatalog;
|
|
15
|
+
var getFilesCatalog = function (system) {
|
|
16
|
+
var _a;
|
|
17
|
+
var fileCatalog = (_a = system.catalogs.find(function (catalog) { return catalog.entity.name === name; })) === null || _a === void 0 ? void 0 : _a.entity;
|
|
18
|
+
if (!fileCatalog) {
|
|
19
|
+
return (0, exports.addFilesCatalog)(system);
|
|
20
|
+
}
|
|
21
|
+
return fileCatalog;
|
|
22
|
+
};
|
|
23
|
+
exports.getFilesCatalog = getFilesCatalog;
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml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BQU0sQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUN0QyxVQUFDLE9BQU8sSUFBSyxPQUFBLE9BQU8sQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLElBQUksRUFBNUIsQ0FBNEIsQ0FDMUMsMENBQUUsTUFBTSxDQUFBO0lBRVQsSUFBSSxDQUFDLFdBQVcsRUFBRTtRQUNoQixPQUFPLElBQUEsdUJBQWUsRUFBQyxNQUFNLENBQUMsQ0FBQTtLQUMvQjtJQUVELE9BQU8sV0FBVyxDQUFBO0FBQ3BCLENBQUMsQ0FBQTtBQVZZLFFBQUEsZUFBZSxtQkFVM0IifQ==
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"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.genGraphSchemesByLocalGenerator = void 0;
|
|
40
|
+
var path = require("path");
|
|
41
|
+
var fs_extra_1 = require("fs-extra");
|
|
42
|
+
var child_process_1 = require("child_process");
|
|
43
|
+
var log_1 = require("../log");
|
|
44
|
+
var genGraphSchemesByLocalGenerator = function (options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
45
|
+
return __generator(this, function (_a) {
|
|
46
|
+
switch (_a.label) {
|
|
47
|
+
case 0:
|
|
48
|
+
// yarn ts-node src/gen/genGQSchemes.ts
|
|
49
|
+
return [4 /*yield*/, new Promise(function (resolve, reject) {
|
|
50
|
+
return (0, child_process_1.exec)("ts-node ".concat(path.join(options.detachedBackProject, 'src', 'gen', 'genGQSchemes.ts')), function (error, _stdout, stderr) {
|
|
51
|
+
if (error) {
|
|
52
|
+
log_1.default.error("error: ".concat(error.message));
|
|
53
|
+
reject(new Error("error: ".concat(error.message)));
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
if (stderr) {
|
|
57
|
+
log_1.default.error("stderr: ".concat(stderr));
|
|
58
|
+
reject(new Error("stderr: ".concat(stderr)));
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
resolve(undefined);
|
|
62
|
+
});
|
|
63
|
+
})];
|
|
64
|
+
case 1:
|
|
65
|
+
// yarn ts-node src/gen/genGQSchemes.ts
|
|
66
|
+
_a.sent();
|
|
67
|
+
return [4 /*yield*/, fs_extra_1.default.copyFile(path.join(options.detachedBackProject, 'src', 'generated', 'graphql.ts'), path.join(options.detachedUiProject, 'src', 'generated', 'graphql.ts'))];
|
|
68
|
+
case 2:
|
|
69
|
+
_a.sent();
|
|
70
|
+
return [4 /*yield*/, fs_extra_1.default.copyFile(path.join(options.detachedBackProject, 'src', 'generated', 'graphql.schema.json'), path.join(options.detachedUiProject, 'src', 'generated', 'graphql.schema.json'))];
|
|
71
|
+
case 3:
|
|
72
|
+
_a.sent();
|
|
73
|
+
return [2 /*return*/];
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}); };
|
|
77
|
+
exports.genGraphSchemesByLocalGenerator = genGraphSchemesByLocalGenerator;
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuR3JhcGhTY2hlbWVzQnlMb2NhbEdlbmVyYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vZ2VuR3JhcGhTY2hlbWVzQnlMb2NhbEdl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