runlify 0.0.718 → 0.0.720

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (740) hide show
  1. package/LICENSE +0 -0
  2. package/build/cli.js +0 -0
  3. package/build/commands/availableEnvironments.js +0 -0
  4. package/build/commands/generate.js +0 -0
  5. package/build/commands/init.js +0 -0
  6. package/build/commands/login.js +0 -0
  7. package/build/commands/logout.js +0 -0
  8. package/build/commands/pullEnvs.js +0 -0
  9. package/build/commands/readEnv.js +0 -0
  10. package/build/commands/regen.js +0 -0
  11. package/build/commands/runlify.js +0 -0
  12. package/build/commands/showToken.js +0 -0
  13. package/build/commands/start.js +0 -0
  14. package/build/commands/tryGetMeta.js +0 -0
  15. package/build/documentation/algorithm.js +0 -0
  16. package/build/documentation/algoritmToDoc.js +0 -0
  17. package/build/documentation/algoritmToDoc.spec.js +0 -0
  18. package/build/documentation/curlExampleToText.js +0 -0
  19. package/build/documentation/curlExampleToText.spec.js +0 -0
  20. package/build/documentation/doc.js +0 -0
  21. package/build/documentation/docToFlatDoc.js +0 -0
  22. package/build/documentation/docToFlatDoc.spec.js +0 -0
  23. package/build/documentation/flatDoc.js +0 -0
  24. package/build/documentation/flatDocToText.js +0 -0
  25. package/build/documentation/flatDocToText.spec.js +0 -0
  26. package/build/documentation/templateDoc.js +0 -0
  27. package/build/documentation/templateDocToDoc.js +0 -0
  28. package/build/extensions/auth.js +0 -0
  29. package/build/extensions/cli-extension.js +0 -0
  30. package/build/extensions/cloudEnv.js +0 -0
  31. package/build/extensions/cloudMeta.js +0 -0
  32. package/build/extensions/globalConfig.js +0 -0
  33. package/build/extensions/localConfig.js +0 -0
  34. package/build/extensions/preventRunningIfUpdateAvailable.js +0 -0
  35. package/build/index.js +0 -0
  36. package/build/log.js +0 -0
  37. package/build/projectsGeneration/args.js +0 -0
  38. package/build/projectsGeneration/builders/AdditionalServiceBuilder.js +12 -11
  39. package/build/projectsGeneration/builders/BaseBuilder.js +0 -0
  40. package/build/projectsGeneration/builders/BaseSavableEntityBuilder.js +22 -4
  41. package/build/projectsGeneration/builders/CatalogBuilder.js +0 -0
  42. package/build/projectsGeneration/builders/ConfigVarBuilder.js +0 -0
  43. package/build/projectsGeneration/builders/DeploymentBuilder.js +0 -0
  44. package/build/projectsGeneration/builders/DocumentBuilder.js +0 -0
  45. package/build/projectsGeneration/builders/InfoRegistryBuilder.js +0 -0
  46. package/build/projectsGeneration/builders/PageBuilder.js +0 -0
  47. package/build/projectsGeneration/builders/PermissionBuilder.js +0 -0
  48. package/build/projectsGeneration/builders/ReportBuilder.js +0 -0
  49. package/build/projectsGeneration/builders/RestApiBuilder.js +0 -0
  50. package/build/projectsGeneration/builders/RestApiMethodBuilder.js +0 -0
  51. package/build/projectsGeneration/builders/RoleBuilder.js +0 -0
  52. package/build/projectsGeneration/builders/SumRegistryBuilder.js +0 -0
  53. package/build/projectsGeneration/builders/SystemMetaBuilder.js +22 -4
  54. package/build/projectsGeneration/builders/TelegramBotBuilder.js +0 -0
  55. package/build/projectsGeneration/builders/buildedTypes.js +8 -2
  56. package/build/projectsGeneration/builders/curlTypes.js +0 -0
  57. package/build/projectsGeneration/builders/docs/DocumentationOfDocument.js +0 -0
  58. package/build/projectsGeneration/builders/docs/DocumentationOfDocumentBuilder.js +0 -0
  59. package/build/projectsGeneration/builders/fields/BaseFieldBuilder.js +7 -1
  60. package/build/projectsGeneration/builders/fields/IdFieldBuilder.js +0 -0
  61. package/build/projectsGeneration/builders/fields/LinkFieldBuilder.js +0 -0
  62. package/build/projectsGeneration/builders/fields/ModelFieldBuilder.js +2 -7
  63. package/build/projectsGeneration/builders/fields/ScalarFieldBuilder.js +0 -0
  64. package/build/projectsGeneration/builders/fields/ViewLinkFieldBuilder.js +0 -0
  65. package/build/projectsGeneration/builders/index.js +0 -0
  66. package/build/projectsGeneration/builders/integrationClients/IntegrationClientArgsModelBuilder.js +0 -0
  67. package/build/projectsGeneration/builders/integrationClients/IntegrationClientBaseModelBuilder.js +0 -0
  68. package/build/projectsGeneration/builders/integrationClients/IntegrationClientBuilder.js +0 -0
  69. package/build/projectsGeneration/builders/integrationClients/IntegrationClientQueryMethodsBuilder.js +0 -0
  70. package/build/projectsGeneration/builders/integrationClients/IntegrationClientReturnModelBuilder.js +0 -0
  71. package/build/projectsGeneration/builders/materialUiIcons.js +0 -0
  72. package/build/projectsGeneration/builders/mehods/ArgsModelBuilder.js +0 -0
  73. package/build/projectsGeneration/builders/mehods/BaseModelBuilder.js +0 -0
  74. package/build/projectsGeneration/builders/mehods/MethodBuilder.js +50 -4
  75. package/build/projectsGeneration/builders/mehods/ReturnObjectBuilder.js +21 -0
  76. package/build/projectsGeneration/builders/mehods/ReturnScalarBuilder.js +17 -0
  77. package/build/projectsGeneration/builders/mehods/ReturnVoidBuilder.js +15 -0
  78. package/build/projectsGeneration/builders/menu/BaseMenuItemBuilder.js +0 -0
  79. package/build/projectsGeneration/builders/menu/ExternalEnvMenuItemBuilder.js +0 -0
  80. package/build/projectsGeneration/builders/menu/ExternalMenuItemBuilder.js +0 -0
  81. package/build/projectsGeneration/builders/menu/GroupMenuItemBuilder.js +0 -0
  82. package/build/projectsGeneration/builders/menu/InternalMenuItemBuilder.js +0 -0
  83. package/build/projectsGeneration/builders/tsFilterFields.js +0 -0
  84. package/build/projectsGeneration/builders/tsFilterFields.spec.js +0 -0
  85. package/build/projectsGeneration/builders/types.js +0 -0
  86. package/build/projectsGeneration/builders/ui/Forms.js +0 -0
  87. package/build/projectsGeneration/builders/ui/FormsBuilder.js +0 -0
  88. package/build/projectsGeneration/builders/ui/ListFormBuilder.js +0 -0
  89. package/build/projectsGeneration/builders/ui/ListFormFilterBuilder.js +0 -0
  90. package/build/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.js +0 -0
  91. package/build/projectsGeneration/builders/utils/accessFunctions.js +0 -0
  92. package/build/projectsGeneration/builders/validation/baseValudationToYupAssertions.js +0 -0
  93. package/build/projectsGeneration/builders/validation/bigintValudationToYupAssertions.js +0 -0
  94. package/build/projectsGeneration/builders/validation/bigintValudationToYupAssertions.spec.js +0 -0
  95. package/build/projectsGeneration/builders/validation/floatValudationToYupAssertions.js +0 -0
  96. package/build/projectsGeneration/builders/validation/floatValudationToYupAssertions.spec.js +0 -0
  97. package/build/projectsGeneration/builders/validation/intValudationToYupAssertions.js +0 -0
  98. package/build/projectsGeneration/builders/validation/intValudationToYupAssertions.spec.js +0 -0
  99. package/build/projectsGeneration/builders/validation/numberValudationToYupAssertions.js +0 -0
  100. package/build/projectsGeneration/builders/validation/stringValudationToYupAssertions.js +0 -0
  101. package/build/projectsGeneration/builders/validation/stringValudationToYupAssertions.spec.js +0 -0
  102. package/build/projectsGeneration/builders/validation/types.js +0 -0
  103. package/build/projectsGeneration/commonEntities/addAggregateTrackings.js +0 -0
  104. package/build/projectsGeneration/commonEntities/addAuditLogs.js +0 -0
  105. package/build/projectsGeneration/commonEntities/addAutogeneration.js +0 -0
  106. package/build/projectsGeneration/commonEntities/addCommonCommands.js +0 -0
  107. package/build/projectsGeneration/commonEntities/addCommonEntities.js +0 -0
  108. package/build/projectsGeneration/commonEntities/addConfigurationVariables.js +0 -0
  109. package/build/projectsGeneration/commonEntities/addLanguages.js +0 -0
  110. package/build/projectsGeneration/commonEntities/addManagers.js +0 -0
  111. package/build/projectsGeneration/commonEntities/addRefreshTokens.js +0 -0
  112. package/build/projectsGeneration/commonEntities/addRoles.js +0 -0
  113. package/build/projectsGeneration/commonEntities/addTenants.js +0 -0
  114. package/build/projectsGeneration/commonEntities/addUserSettings.js +0 -0
  115. package/build/projectsGeneration/commonEntities/addUsers.js +0 -0
  116. package/build/projectsGeneration/commonEntities/index.js +0 -0
  117. package/build/projectsGeneration/dataForTests.js +2 -1
  118. package/build/projectsGeneration/defaultCatalogs/addElasticSearch.js +0 -0
  119. package/build/projectsGeneration/defaultCatalogs/files.js +0 -0
  120. package/build/projectsGeneration/defaultCatalogs/index.js +0 -0
  121. package/build/projectsGeneration/fileCleaners/back/graphServices/cleanGraphServices.js +0 -0
  122. package/build/projectsGeneration/fileCleaners/back/services/cleanServices.js +0 -0
  123. package/build/projectsGeneration/fileCleaners/cleanFiles.js +0 -0
  124. package/build/projectsGeneration/fileCleaners/ui/cleanUi.js +0 -0
  125. package/build/projectsGeneration/fileCleaners/ui/pages/cleanPages.js +0 -0
  126. package/build/projectsGeneration/fileCleaners/ui/widgets/cleanWidgets.js +0 -0
  127. package/build/projectsGeneration/fileCleaners/ui/widgets/cleanWidgetsByType.js +0 -0
  128. package/build/projectsGeneration/genGraphSchemesByLocalGenerator.js +0 -0
  129. package/build/projectsGeneration/generateAdditionalService.js +0 -0
  130. package/build/projectsGeneration/generateEntity.js +0 -0
  131. package/build/projectsGeneration/generateEnvironment.js +0 -0
  132. package/build/projectsGeneration/generateProject.js +0 -0
  133. package/build/projectsGeneration/generators/fieldTypeToTsType.js +0 -0
  134. package/build/projectsGeneration/generators/fileTemplates/back/Entities.js +0 -0
  135. package/build/projectsGeneration/generators/fileTemplates/back/devEnum.js +0 -0
  136. package/build/projectsGeneration/generators/fileTemplates/back/elastic/elastic.js +0 -0
  137. package/build/projectsGeneration/generators/fileTemplates/back/elastic/jobs.js +0 -0
  138. package/build/projectsGeneration/generators/fileTemplates/back/enum.js +0 -0
  139. package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/Chart.js +0 -0
  140. package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.js +0 -0
  141. package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.js +0 -0
  142. package/build/projectsGeneration/generators/fileTemplates/back/environment/chart/values.js +0 -0
  143. package/build/projectsGeneration/generators/fileTemplates/back/environment/ciNotify.js +0 -0
  144. package/build/projectsGeneration/generators/fileTemplates/back/environment/defaultEnv.js +0 -0
  145. package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplBack.js +0 -0
  146. package/build/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplUI.js +0 -0
  147. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocSpec.js +0 -0
  148. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsConfiguration.js +0 -0
  149. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.js +0 -0
  150. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsIntegrationClient.js +0 -0
  151. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.js +0 -0
  152. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/findLinksToEntities.js +0 -0
  153. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getAllSavableEntities.js +0 -0
  154. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getProjectSpec.js +0 -0
  155. package/build/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/titleMd.js +0 -0
  156. package/build/projectsGeneration/generators/fileTemplates/back/environment/gitlabCi.js +0 -0
  157. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.js +0 -0
  158. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/clients/queue/getQueue.js +0 -0
  159. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/index.js +0 -0
  160. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClient.js +0 -0
  161. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClients.js +0 -0
  162. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.js +8 -0
  163. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.spec.js +81 -0
  164. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFieldsWithTypes.js +7 -0
  165. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/integrationClientConstrictors.js +0 -0
  166. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/tsModelTmpl.js +3 -6
  167. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/types.js +0 -0
  168. package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalResolvers.js +0 -0
  169. package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/permissionToGraphql.js +0 -0
  170. package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/resolvers.js +0 -0
  171. package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalService/typeDefs.js +0 -0
  172. package/build/projectsGeneration/generators/fileTemplates/back/graph/additionalTypes.js +0 -0
  173. package/build/projectsGeneration/generators/fileTemplates/back/graph/entityAdditionalPermissionToGraphqlTmpl.js +0 -0
  174. package/build/projectsGeneration/generators/fileTemplates/back/graph/entityBasePermissionToGraphql.js +0 -0
  175. package/build/projectsGeneration/generators/fileTemplates/back/graph/entityPermissionToGraphqlTmpl.js +0 -0
  176. package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseResolvers.js +0 -0
  177. package/build/projectsGeneration/generators/fileTemplates/back/graph/help/baseTypeDefs.js +0 -0
  178. package/build/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.js +0 -0
  179. package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/resolvers.js +0 -0
  180. package/build/projectsGeneration/generators/fileTemplates/back/graph/meta/typeDefs.js +0 -0
  181. package/build/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.js +0 -0
  182. package/build/projectsGeneration/generators/fileTemplates/back/graph/resolvers.js +0 -0
  183. package/build/projectsGeneration/generators/fileTemplates/back/graph/types.js +0 -0
  184. package/build/projectsGeneration/generators/fileTemplates/back/initCommon.js +0 -0
  185. package/build/projectsGeneration/generators/fileTemplates/back/initDev.js +0 -0
  186. package/build/projectsGeneration/generators/fileTemplates/back/initEntities.js +0 -0
  187. package/build/projectsGeneration/generators/fileTemplates/back/root/config/config.js +0 -0
  188. package/build/projectsGeneration/generators/fileTemplates/back/root/restRouter.js +0 -0
  189. package/build/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.js +0 -0
  190. package/build/projectsGeneration/generators/fileTemplates/back/services/BaseServices.js +0 -0
  191. package/build/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.js +0 -0
  192. package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.js +21 -0
  193. package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.spec.js +69 -0
  194. package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.js +8 -0
  195. package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.spec.js +100 -0
  196. package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.js +33 -0
  197. package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.spec.js +58 -0
  198. package/build/projectsGeneration/generators/fileTemplates/back/services/additionalService/types.js +3 -14
  199. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/additionalClass.js +0 -0
  200. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/class.js +6 -2
  201. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/config.js +0 -0
  202. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnCreate.js +0 -0
  203. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnDelete.js +0 -0
  204. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnUpdate.js +0 -0
  205. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterCreate.js +0 -0
  206. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterDelete.js +0 -0
  207. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterUpdate.js +0 -0
  208. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeCreate.js +0 -0
  209. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeDelete.js +0 -0
  210. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpdate.js +0 -0
  211. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpsert.js +0 -0
  212. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/changeListFilter.js +0 -0
  213. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/tenantIdRequiredHooks.js +0 -0
  214. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initBuiltInHooks.js +0 -0
  215. package/build/projectsGeneration/generators/fileTemplates/back/services/entity/initUserHooks.js +0 -0
  216. package/build/projectsGeneration/generators/fileTemplates/back/services/serviceConstrictors.js +0 -0
  217. package/build/projectsGeneration/generators/fileTemplates/ui/Dashboard.js +0 -0
  218. package/build/projectsGeneration/generators/fileTemplates/ui/MetaPage.js +0 -0
  219. package/build/projectsGeneration/generators/fileTemplates/ui/ResourcesPage.js +0 -0
  220. package/build/projectsGeneration/generators/fileTemplates/ui/additionalRoutes.js +0 -0
  221. package/build/projectsGeneration/generators/fileTemplates/ui/entityMapping.js +0 -0
  222. package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/Chart.js +0 -0
  223. package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.js +0 -0
  224. package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.js +0 -0
  225. package/build/projectsGeneration/generators/fileTemplates/ui/environment/chart/values.js +0 -0
  226. package/build/projectsGeneration/generators/fileTemplates/ui/environment/ciNotify.js +0 -0
  227. package/build/projectsGeneration/generators/fileTemplates/ui/environment/docs/adminAppDocsConfiguration.js +0 -0
  228. package/build/projectsGeneration/generators/fileTemplates/ui/environment/gitlabCi.js +0 -0
  229. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/App.js +0 -0
  230. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/contexts/SpacesContext.js +0 -0
  231. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/getAdditionalMethods.js +2 -2
  232. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/index.js +0 -0
  233. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/i18nProvider/index.js +0 -0
  234. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/AppBar.js +0 -0
  235. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/Menu.js +0 -0
  236. package/build/projectsGeneration/generators/fileTemplates/ui/environment/src/routes.js +0 -0
  237. package/build/projectsGeneration/generators/fileTemplates/ui/functions/Functions.js +0 -0
  238. package/build/projectsGeneration/generators/fileTemplates/ui/getAdditionalMenu.js +0 -0
  239. package/build/projectsGeneration/generators/fileTemplates/ui/getDefaultMenu.js +0 -0
  240. package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangCatalogsTmpl.js +0 -0
  241. package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangDocsTmpl.js +0 -0
  242. package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangInfoRegistriesTmpl.js +0 -0
  243. package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangReportsTmpl.js +0 -0
  244. package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangSumRegistriesTmpl.js +0 -0
  245. package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsForServicesOfSavablesTmpl.js +0 -0
  246. package/build/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsLangTmpl.js +0 -0
  247. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.js +0 -0
  248. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/index.js +0 -0
  249. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.js +0 -0
  250. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/index.js +0 -0
  251. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.js +0 -0
  252. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.js +0 -0
  253. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/EntityFilter.js +0 -0
  254. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/index.js +0 -0
  255. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultActions.js +0 -0
  256. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultEntityShow.js +0 -0
  257. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.js +0 -0
  258. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.js +0 -0
  259. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/MainTab.js +0 -0
  260. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/additionalTabs.js +0 -0
  261. package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/index.js +0 -0
  262. package/build/projectsGeneration/generators/fileTemplates/ui/pages/Icon.js +0 -0
  263. package/build/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.js +0 -0
  264. package/build/projectsGeneration/generators/fileTemplates/ui/resources.js +0 -0
  265. package/build/projectsGeneration/generators/fileTemplates/ui/widgets/count/CountWidget.js +0 -0
  266. package/build/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.js +0 -0
  267. package/build/projectsGeneration/generators/graph/fieldTypeToGraphScalar.js +0 -0
  268. package/build/projectsGeneration/generators/graph/fieldTypeToGraphScalarStringified.js +0 -0
  269. package/build/projectsGeneration/generators/graph/fields/genGraphField.js +0 -0
  270. package/build/projectsGeneration/generators/graph/fields/genGraphIdField.js +0 -0
  271. package/build/projectsGeneration/generators/graph/fields/genGraphIdFieldType.js +0 -0
  272. package/build/projectsGeneration/generators/graph/fields/genGraphLinkField.js +0 -0
  273. package/build/projectsGeneration/generators/graph/fields/genGraphModelField.js +0 -0
  274. package/build/projectsGeneration/generators/graph/fields/genGraphScalarField.js +0 -0
  275. package/build/projectsGeneration/generators/graph/filters/genGraphField.js +0 -0
  276. package/build/projectsGeneration/generators/graph/filters/genGraphIdFilter.js +0 -0
  277. package/build/projectsGeneration/generators/graph/filters/genGraphLinkFilter.js +0 -0
  278. package/build/projectsGeneration/generators/graph/filters/genGraphScalarFilter.js +0 -0
  279. package/build/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.js +3 -3
  280. package/build/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.spec.js +10 -9
  281. package/build/projectsGeneration/generators/graph/genGraphCrudSchema.js +0 -0
  282. package/build/projectsGeneration/generators/graph/genGraphCrudSchema.spec.js +0 -0
  283. package/build/projectsGeneration/generators/graph/genGraphFilterType.js +0 -0
  284. package/build/projectsGeneration/generators/graph/genGraphFilterType.spec.js +0 -0
  285. package/build/projectsGeneration/generators/graph/genGraphModelType.js +1 -1
  286. package/build/projectsGeneration/generators/graph/genGraphType.js +0 -0
  287. package/build/projectsGeneration/generators/graph/genGraphType.spec.js +0 -0
  288. package/build/projectsGeneration/generators/graph/printGraphType.js +0 -0
  289. package/build/projectsGeneration/generators/graph/printGraphType.spec.js +0 -0
  290. package/build/projectsGeneration/generators/graph/types.js +0 -0
  291. package/build/projectsGeneration/generators/graph/utils/mapUtils.js +0 -0
  292. package/build/projectsGeneration/generators/graph/utils/models/getModelInitOrder.js +0 -0
  293. package/build/projectsGeneration/generators/graph/utils/models/getModelInitOrder.spec.js +0 -0
  294. package/build/projectsGeneration/generators/graph/utils/models/getUniqModels.js +0 -0
  295. package/build/projectsGeneration/generators/graph/utils/models/getUniqModels.spec.js +0 -0
  296. package/build/projectsGeneration/generators/graph/utils/models/getUsedModels.js +0 -0
  297. package/build/projectsGeneration/generators/graph/utils/models/getUsedModels.spec.js +3 -2
  298. package/build/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.js +0 -0
  299. package/build/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.spec.js +11 -17
  300. package/build/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.js +0 -0
  301. package/build/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.spec.js +11 -18
  302. package/build/projectsGeneration/generators/graph/utils/serviceModels/getObjectModelsFromMethodReturns.js +8 -0
  303. package/build/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.js +3 -4
  304. package/build/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.spec.js +19 -18
  305. package/build/projectsGeneration/generators/graph/utils/serviceModels/getServiceModels.js +0 -0
  306. package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.js +0 -0
  307. package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.spec.js +2 -3
  308. package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.js +6 -2
  309. package/build/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.spec.js +51 -72
  310. package/build/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.js +0 -0
  311. package/build/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.spec.js +11 -17
  312. package/build/projectsGeneration/generators/graph/utils/serviceModels/removeDublicatesFromServiceModels.js +0 -0
  313. package/build/projectsGeneration/generators/graph/utils/serviceModels/removeUnusedInOutputGeneralModels.js +0 -0
  314. package/build/projectsGeneration/generators/graph/utils/serviceModels/removeVoidsInServiceModels.js +0 -0
  315. package/build/projectsGeneration/generators/prisma/fieldIdTypeToPrismaType.js +0 -0
  316. package/build/projectsGeneration/generators/prisma/fieldTypeToPrismaType.js +0 -0
  317. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.js +0 -0
  318. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.spec.js +0 -0
  319. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaField.js +0 -0
  320. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.js +0 -0
  321. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.js +0 -0
  322. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.js +0 -0
  323. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.spec.js +0 -0
  324. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.js +0 -0
  325. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.js +0 -0
  326. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.js +0 -0
  327. package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.spec.js +0 -0
  328. package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.js +0 -0
  329. package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.js +0 -0
  330. package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntities.js +0 -0
  331. package/build/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb.js +0 -0
  332. package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNameToEditScalar.js +0 -0
  333. package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditField.js +0 -0
  334. package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditIdField.js +0 -0
  335. package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.js +0 -0
  336. package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.spec.js +0 -0
  337. package/build/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditScalarField.js +0 -0
  338. package/build/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.js +0 -0
  339. package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowField.js +0 -0
  340. package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.js +0 -0
  341. package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.js +0 -0
  342. package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.js +0 -0
  343. package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.js +0 -0
  344. package/build/projectsGeneration/generators/ui/componentNames/types.js +0 -0
  345. package/build/projectsGeneration/generators/ui/getLinkShowComponent.spec.js +0 -0
  346. package/build/projectsGeneration/generators/ui/getScalarShowComponent.spec.js +0 -0
  347. package/build/projectsGeneration/generators/ui/getShowComponent.js +0 -0
  348. package/build/projectsGeneration/index.js +0 -0
  349. package/build/projectsGeneration/links/getLinksFromExternalEntities.js +0 -0
  350. package/build/projectsGeneration/links/getLinksFromExternalEntities.spec.js +0 -0
  351. package/build/projectsGeneration/links/getLinksOfEntities.js +0 -0
  352. package/build/projectsGeneration/links/getLinksOfEntities.spec.js +0 -0
  353. package/build/projectsGeneration/links/getLinksToExternalEntities.js +0 -0
  354. package/build/projectsGeneration/links/getLinksToExternalEntities.spec.js +0 -0
  355. package/build/projectsGeneration/metaUtils.js +0 -0
  356. package/build/projectsGeneration/modelsGeneration.serialization.spec.js +0 -0
  357. package/build/projectsGeneration/modules/addEmailModuleEntities.js +0 -0
  358. package/build/projectsGeneration/modules/index.js +0 -0
  359. package/build/projectsGeneration/types.js +0 -0
  360. package/build/projectsGeneration/utils.js +0 -0
  361. package/build/refs/yup.spec.js +0 -0
  362. package/build/templates/model.ts.ejs +0 -0
  363. package/build/templates/runlify.developer.example.json.ejs +0 -0
  364. package/build/templates/runlify.json.ejs +0 -0
  365. package/build/types/cli.d.ts +0 -0
  366. package/build/types/commands/availableEnvironments.d.ts +0 -0
  367. package/build/types/commands/generate.d.ts +0 -0
  368. package/build/types/commands/init.d.ts +0 -0
  369. package/build/types/commands/login.d.ts +0 -0
  370. package/build/types/commands/logout.d.ts +0 -0
  371. package/build/types/commands/pullEnvs.d.ts +0 -0
  372. package/build/types/commands/readEnv.d.ts +0 -0
  373. package/build/types/commands/regen.d.ts +0 -0
  374. package/build/types/commands/runlify.d.ts +0 -0
  375. package/build/types/commands/showToken.d.ts +0 -0
  376. package/build/types/commands/start.d.ts +0 -0
  377. package/build/types/commands/tryGetMeta.d.ts +0 -0
  378. package/build/types/documentation/algorithm.d.ts +0 -0
  379. package/build/types/documentation/algoritmToDoc.d.ts +0 -0
  380. package/build/types/documentation/algoritmToDoc.spec.d.ts +0 -0
  381. package/build/types/documentation/curlExampleToText.d.ts +0 -0
  382. package/build/types/documentation/curlExampleToText.spec.d.ts +0 -0
  383. package/build/types/documentation/doc.d.ts +0 -0
  384. package/build/types/documentation/docToFlatDoc.d.ts +0 -0
  385. package/build/types/documentation/docToFlatDoc.spec.d.ts +0 -0
  386. package/build/types/documentation/flatDoc.d.ts +0 -0
  387. package/build/types/documentation/flatDocToText.d.ts +0 -0
  388. package/build/types/documentation/flatDocToText.spec.d.ts +0 -0
  389. package/build/types/documentation/templateDoc.d.ts +0 -0
  390. package/build/types/documentation/templateDocToDoc.d.ts +0 -0
  391. package/build/types/extensions/auth.d.ts +0 -0
  392. package/build/types/extensions/cli-extension.d.ts +0 -0
  393. package/build/types/extensions/cloudEnv.d.ts +0 -0
  394. package/build/types/extensions/cloudMeta.d.ts +0 -0
  395. package/build/types/extensions/globalConfig.d.ts +0 -0
  396. package/build/types/extensions/localConfig.d.ts +0 -0
  397. package/build/types/extensions/preventRunningIfUpdateAvailable.d.ts +0 -0
  398. package/build/types/index.d.ts +0 -0
  399. package/build/types/log.d.ts +0 -0
  400. package/build/types/projectsGeneration/args.d.ts +0 -0
  401. package/build/types/projectsGeneration/builders/AdditionalServiceBuilder.d.ts +7 -7
  402. package/build/types/projectsGeneration/builders/BaseBuilder.d.ts +0 -0
  403. package/build/types/projectsGeneration/builders/BaseSavableEntityBuilder.d.ts +6 -3
  404. package/build/types/projectsGeneration/builders/CatalogBuilder.d.ts +0 -0
  405. package/build/types/projectsGeneration/builders/ConfigVarBuilder.d.ts +0 -0
  406. package/build/types/projectsGeneration/builders/DeploymentBuilder.d.ts +0 -0
  407. package/build/types/projectsGeneration/builders/DocumentBuilder.d.ts +0 -0
  408. package/build/types/projectsGeneration/builders/InfoRegistryBuilder.d.ts +0 -0
  409. package/build/types/projectsGeneration/builders/PageBuilder.d.ts +0 -0
  410. package/build/types/projectsGeneration/builders/PermissionBuilder.d.ts +0 -0
  411. package/build/types/projectsGeneration/builders/ReportBuilder.d.ts +0 -0
  412. package/build/types/projectsGeneration/builders/RestApiBuilder.d.ts +0 -0
  413. package/build/types/projectsGeneration/builders/RestApiMethodBuilder.d.ts +0 -0
  414. package/build/types/projectsGeneration/builders/RoleBuilder.d.ts +0 -0
  415. package/build/types/projectsGeneration/builders/SumRegistryBuilder.d.ts +0 -0
  416. package/build/types/projectsGeneration/builders/SystemMetaBuilder.d.ts +6 -3
  417. package/build/types/projectsGeneration/builders/TelegramBotBuilder.d.ts +0 -0
  418. package/build/types/projectsGeneration/builders/buildedTypes.d.ts +21 -3
  419. package/build/types/projectsGeneration/builders/curlTypes.d.ts +0 -0
  420. package/build/types/projectsGeneration/builders/docs/DocumentationOfDocument.d.ts +0 -0
  421. package/build/types/projectsGeneration/builders/docs/DocumentationOfDocumentBuilder.d.ts +0 -0
  422. package/build/types/projectsGeneration/builders/fields/BaseFieldBuilder.d.ts +2 -0
  423. package/build/types/projectsGeneration/builders/fields/IdFieldBuilder.d.ts +0 -0
  424. package/build/types/projectsGeneration/builders/fields/LinkFieldBuilder.d.ts +0 -0
  425. package/build/types/projectsGeneration/builders/fields/ModelFieldBuilder.d.ts +0 -2
  426. package/build/types/projectsGeneration/builders/fields/ScalarFieldBuilder.d.ts +0 -0
  427. package/build/types/projectsGeneration/builders/fields/ViewLinkFieldBuilder.d.ts +0 -0
  428. package/build/types/projectsGeneration/builders/index.d.ts +0 -0
  429. package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientArgsModelBuilder.d.ts +0 -0
  430. package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientBaseModelBuilder.d.ts +0 -0
  431. package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientBuilder.d.ts +0 -0
  432. package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientQueryMethodsBuilder.d.ts +0 -0
  433. package/build/types/projectsGeneration/builders/integrationClients/IntegrationClientReturnModelBuilder.d.ts +0 -0
  434. package/build/types/projectsGeneration/builders/materialUiIcons.d.ts +0 -0
  435. package/build/types/projectsGeneration/builders/mehods/ArgsModelBuilder.d.ts +0 -0
  436. package/build/types/projectsGeneration/builders/mehods/BaseModelBuilder.d.ts +0 -0
  437. package/build/types/projectsGeneration/builders/mehods/MethodBuilder.d.ts +20 -6
  438. package/build/types/projectsGeneration/builders/mehods/ReturnObjectBuilder.d.ts +10 -0
  439. package/build/types/projectsGeneration/builders/mehods/ReturnScalarBuilder.d.ts +7 -0
  440. package/build/types/projectsGeneration/builders/mehods/ReturnVoidBuilder.d.ts +8 -0
  441. package/build/types/projectsGeneration/builders/menu/BaseMenuItemBuilder.d.ts +0 -0
  442. package/build/types/projectsGeneration/builders/menu/ExternalEnvMenuItemBuilder.d.ts +0 -0
  443. package/build/types/projectsGeneration/builders/menu/ExternalMenuItemBuilder.d.ts +0 -0
  444. package/build/types/projectsGeneration/builders/menu/GroupMenuItemBuilder.d.ts +0 -0
  445. package/build/types/projectsGeneration/builders/menu/InternalMenuItemBuilder.d.ts +0 -0
  446. package/build/types/projectsGeneration/builders/tsFilterFields.d.ts +0 -0
  447. package/build/types/projectsGeneration/builders/tsFilterFields.spec.d.ts +0 -0
  448. package/build/types/projectsGeneration/builders/types.d.ts +0 -0
  449. package/build/types/projectsGeneration/builders/ui/Forms.d.ts +0 -0
  450. package/build/types/projectsGeneration/builders/ui/FormsBuilder.d.ts +0 -0
  451. package/build/types/projectsGeneration/builders/ui/ListFormBuilder.d.ts +0 -0
  452. package/build/types/projectsGeneration/builders/ui/ListFormFilterBuilder.d.ts +0 -0
  453. package/build/types/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.d.ts +0 -0
  454. package/build/types/projectsGeneration/builders/utils/accessFunctions.d.ts +0 -0
  455. package/build/types/projectsGeneration/builders/validation/baseValudationToYupAssertions.d.ts +0 -0
  456. package/build/types/projectsGeneration/builders/validation/bigintValudationToYupAssertions.d.ts +0 -0
  457. package/build/types/projectsGeneration/builders/validation/bigintValudationToYupAssertions.spec.d.ts +0 -0
  458. package/build/types/projectsGeneration/builders/validation/floatValudationToYupAssertions.d.ts +0 -0
  459. package/build/types/projectsGeneration/builders/validation/floatValudationToYupAssertions.spec.d.ts +0 -0
  460. package/build/types/projectsGeneration/builders/validation/intValudationToYupAssertions.d.ts +0 -0
  461. package/build/types/projectsGeneration/builders/validation/intValudationToYupAssertions.spec.d.ts +0 -0
  462. package/build/types/projectsGeneration/builders/validation/numberValudationToYupAssertions.d.ts +0 -0
  463. package/build/types/projectsGeneration/builders/validation/stringValudationToYupAssertions.d.ts +0 -0
  464. package/build/types/projectsGeneration/builders/validation/stringValudationToYupAssertions.spec.d.ts +0 -0
  465. package/build/types/projectsGeneration/builders/validation/types.d.ts +0 -0
  466. package/build/types/projectsGeneration/commonEntities/addAggregateTrackings.d.ts +0 -0
  467. package/build/types/projectsGeneration/commonEntities/addAuditLogs.d.ts +0 -0
  468. package/build/types/projectsGeneration/commonEntities/addAutogeneration.d.ts +0 -0
  469. package/build/types/projectsGeneration/commonEntities/addCommonCommands.d.ts +0 -0
  470. package/build/types/projectsGeneration/commonEntities/addCommonEntities.d.ts +0 -0
  471. package/build/types/projectsGeneration/commonEntities/addConfigurationVariables.d.ts +0 -0
  472. package/build/types/projectsGeneration/commonEntities/addLanguages.d.ts +0 -0
  473. package/build/types/projectsGeneration/commonEntities/addManagers.d.ts +0 -0
  474. package/build/types/projectsGeneration/commonEntities/addRefreshTokens.d.ts +0 -0
  475. package/build/types/projectsGeneration/commonEntities/addRoles.d.ts +0 -0
  476. package/build/types/projectsGeneration/commonEntities/addTenants.d.ts +0 -0
  477. package/build/types/projectsGeneration/commonEntities/addUserSettings.d.ts +0 -0
  478. package/build/types/projectsGeneration/commonEntities/addUsers.d.ts +0 -0
  479. package/build/types/projectsGeneration/commonEntities/index.d.ts +0 -0
  480. package/build/types/projectsGeneration/dataForTests.d.ts +0 -0
  481. package/build/types/projectsGeneration/defaultCatalogs/addElasticSearch.d.ts +0 -0
  482. package/build/types/projectsGeneration/defaultCatalogs/files.d.ts +0 -0
  483. package/build/types/projectsGeneration/defaultCatalogs/index.d.ts +0 -0
  484. package/build/types/projectsGeneration/fileCleaners/back/graphServices/cleanGraphServices.d.ts +0 -0
  485. package/build/types/projectsGeneration/fileCleaners/back/services/cleanServices.d.ts +0 -0
  486. package/build/types/projectsGeneration/fileCleaners/cleanFiles.d.ts +0 -0
  487. package/build/types/projectsGeneration/fileCleaners/ui/cleanUi.d.ts +0 -0
  488. package/build/types/projectsGeneration/fileCleaners/ui/pages/cleanPages.d.ts +0 -0
  489. package/build/types/projectsGeneration/fileCleaners/ui/widgets/cleanWidgets.d.ts +0 -0
  490. package/build/types/projectsGeneration/fileCleaners/ui/widgets/cleanWidgetsByType.d.ts +0 -0
  491. package/build/types/projectsGeneration/genGraphSchemesByLocalGenerator.d.ts +0 -0
  492. package/build/types/projectsGeneration/generateAdditionalService.d.ts +0 -0
  493. package/build/types/projectsGeneration/generateEntity.d.ts +0 -0
  494. package/build/types/projectsGeneration/generateEnvironment.d.ts +0 -0
  495. package/build/types/projectsGeneration/generateProject.d.ts +0 -0
  496. package/build/types/projectsGeneration/generators/fieldTypeToTsType.d.ts +0 -0
  497. package/build/types/projectsGeneration/generators/fileTemplates/back/Entities.d.ts +0 -0
  498. package/build/types/projectsGeneration/generators/fileTemplates/back/devEnum.d.ts +0 -0
  499. package/build/types/projectsGeneration/generators/fileTemplates/back/elastic/elastic.d.ts +0 -0
  500. package/build/types/projectsGeneration/generators/fileTemplates/back/elastic/jobs.d.ts +0 -0
  501. package/build/types/projectsGeneration/generators/fileTemplates/back/enum.d.ts +0 -0
  502. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/Chart.d.ts +0 -0
  503. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/back.d.ts +0 -0
  504. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/templates/ingress.d.ts +0 -0
  505. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/chart/values.d.ts +0 -0
  506. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/ciNotify.d.ts +0 -0
  507. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/defaultEnv.d.ts +0 -0
  508. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplBack.d.ts +0 -0
  509. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/dockerfileTmplUI.d.ts +0 -0
  510. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocSpec.d.ts +0 -0
  511. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsConfiguration.d.ts +0 -0
  512. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsEntity.d.ts +0 -0
  513. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsIntegrationClient.d.ts +0 -0
  514. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/backDocsRestApi.d.ts +0 -0
  515. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/findLinksToEntities.d.ts +0 -0
  516. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getAllSavableEntities.d.ts +0 -0
  517. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/getProjectSpec.d.ts +0 -0
  518. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/docs/spec/titleMd.d.ts +0 -0
  519. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/gitlabCi.d.ts +0 -0
  520. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/clients/getPrisma.d.ts +0 -0
  521. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/clients/queue/getQueue.d.ts +0 -0
  522. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/index.d.ts +0 -0
  523. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClient.d.ts +0 -0
  524. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/IntegrationClients.d.ts +0 -0
  525. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.d.ts +2 -0
  526. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldToTsTypeFieldWithType.spec.d.ts +1 -0
  527. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFieldsWithTypes.d.ts +2 -0
  528. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/integrationClientConstrictors.d.ts +0 -0
  529. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/tsModelTmpl.d.ts +0 -0
  530. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/types.d.ts +0 -0
  531. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalResolvers.d.ts +0 -0
  532. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalService/permissionToGraphql.d.ts +0 -0
  533. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalService/resolvers.d.ts +0 -0
  534. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalService/typeDefs.d.ts +0 -0
  535. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/additionalTypes.d.ts +0 -0
  536. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityAdditionalPermissionToGraphqlTmpl.d.ts +0 -0
  537. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityBasePermissionToGraphql.d.ts +0 -0
  538. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/entityPermissionToGraphqlTmpl.d.ts +0 -0
  539. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/baseResolvers.d.ts +0 -0
  540. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/baseTypeDefs.d.ts +0 -0
  541. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/help/permissionsToGraphql.d.ts +0 -0
  542. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/meta/resolvers.d.ts +0 -0
  543. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/meta/typeDefs.d.ts +0 -0
  544. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/permissionsToGraphql.d.ts +0 -0
  545. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/resolvers.d.ts +0 -0
  546. package/build/types/projectsGeneration/generators/fileTemplates/back/graph/types.d.ts +0 -0
  547. package/build/types/projectsGeneration/generators/fileTemplates/back/initCommon.d.ts +0 -0
  548. package/build/types/projectsGeneration/generators/fileTemplates/back/initDev.d.ts +0 -0
  549. package/build/types/projectsGeneration/generators/fileTemplates/back/initEntities.d.ts +0 -0
  550. package/build/types/projectsGeneration/generators/fileTemplates/back/root/config/config.d.ts +0 -0
  551. package/build/types/projectsGeneration/generators/fileTemplates/back/root/restRouter.d.ts +0 -0
  552. package/build/types/projectsGeneration/generators/fileTemplates/back/services/AdditionalServices.d.ts +0 -0
  553. package/build/types/projectsGeneration/generators/fileTemplates/back/services/BaseServices.d.ts +0 -0
  554. package/build/types/projectsGeneration/generators/fileTemplates/back/services/HelpService/HelpService.d.ts +0 -0
  555. package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.d.ts +2 -0
  556. package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/backAdditionalServiceTypesTmplInner.spec.d.ts +1 -0
  557. package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.d.ts +2 -0
  558. package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForService.spec.d.ts +1 -0
  559. package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.d.ts +2 -0
  560. package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/getMethodTypeForServiceReturn.spec.d.ts +1 -0
  561. package/build/types/projectsGeneration/generators/fileTemplates/back/services/additionalService/types.d.ts +0 -0
  562. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/additionalClass.d.ts +0 -0
  563. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/class.d.ts +0 -0
  564. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/config.d.ts +0 -0
  565. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnCreate.d.ts +0 -0
  566. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnDelete.d.ts +0 -0
  567. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/additionalOperationsOnUpdate.d.ts +0 -0
  568. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterCreate.d.ts +0 -0
  569. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterDelete.d.ts +0 -0
  570. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/afterUpdate.d.ts +0 -0
  571. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeCreate.d.ts +0 -0
  572. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeDelete.d.ts +0 -0
  573. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpdate.d.ts +0 -0
  574. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/beforeUpsert.d.ts +0 -0
  575. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/changeListFilter.d.ts +0 -0
  576. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/hooks/tenantIdRequiredHooks.d.ts +0 -0
  577. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/initBuiltInHooks.d.ts +0 -0
  578. package/build/types/projectsGeneration/generators/fileTemplates/back/services/entity/initUserHooks.d.ts +0 -0
  579. package/build/types/projectsGeneration/generators/fileTemplates/back/services/serviceConstrictors.d.ts +0 -0
  580. package/build/types/projectsGeneration/generators/fileTemplates/ui/Dashboard.d.ts +0 -0
  581. package/build/types/projectsGeneration/generators/fileTemplates/ui/MetaPage.d.ts +0 -0
  582. package/build/types/projectsGeneration/generators/fileTemplates/ui/ResourcesPage.d.ts +0 -0
  583. package/build/types/projectsGeneration/generators/fileTemplates/ui/additionalRoutes.d.ts +0 -0
  584. package/build/types/projectsGeneration/generators/fileTemplates/ui/entityMapping.d.ts +0 -0
  585. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/Chart.d.ts +0 -0
  586. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/front.d.ts +0 -0
  587. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/templates/ingress.d.ts +0 -0
  588. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/chart/values.d.ts +0 -0
  589. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/ciNotify.d.ts +0 -0
  590. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/docs/adminAppDocsConfiguration.d.ts +0 -0
  591. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/gitlabCi.d.ts +0 -0
  592. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/App.d.ts +0 -0
  593. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/contexts/SpacesContext.d.ts +0 -0
  594. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/getAdditionalMethods.d.ts +0 -0
  595. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/dataProvider/index.d.ts +0 -0
  596. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/i18nProvider/index.d.ts +0 -0
  597. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/AppBar.d.ts +0 -0
  598. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/layout/Menu.d.ts +0 -0
  599. package/build/types/projectsGeneration/generators/fileTemplates/ui/environment/src/routes.d.ts +0 -0
  600. package/build/types/projectsGeneration/generators/fileTemplates/ui/functions/Functions.d.ts +0 -0
  601. package/build/types/projectsGeneration/generators/fileTemplates/ui/getAdditionalMenu.d.ts +0 -0
  602. package/build/types/projectsGeneration/generators/fileTemplates/ui/getDefaultMenu.d.ts +0 -0
  603. package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangCatalogsTmpl.d.ts +0 -0
  604. package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangDocsTmpl.d.ts +0 -0
  605. package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangInfoRegistriesTmpl.d.ts +0 -0
  606. package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangReportsTmpl.d.ts +0 -0
  607. package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiLangSumRegistriesTmpl.d.ts +0 -0
  608. package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsForServicesOfSavablesTmpl.d.ts +0 -0
  609. package/build/types/projectsGeneration/generators/fileTemplates/ui/i18n/lang/uiTranslationsLangTmpl.d.ts +0 -0
  610. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.d.ts +0 -0
  611. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/index.d.ts +0 -0
  612. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.d.ts +0 -0
  613. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/index.d.ts +0 -0
  614. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.d.ts +0 -0
  615. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.d.ts +0 -0
  616. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/EntityFilter.d.ts +0 -0
  617. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/index.d.ts +0 -0
  618. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultActions.d.ts +0 -0
  619. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultEntityShow.d.ts +0 -0
  620. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.d.ts +0 -0
  621. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.d.ts +0 -0
  622. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/MainTab.d.ts +0 -0
  623. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/additionalTabs.d.ts +0 -0
  624. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/index.d.ts +0 -0
  625. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/Icon.d.ts +0 -0
  626. package/build/types/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.d.ts +0 -0
  627. package/build/types/projectsGeneration/generators/fileTemplates/ui/resources.d.ts +0 -0
  628. package/build/types/projectsGeneration/generators/fileTemplates/ui/widgets/count/CountWidget.d.ts +0 -0
  629. package/build/types/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.d.ts +0 -0
  630. package/build/types/projectsGeneration/generators/graph/fieldTypeToGraphScalar.d.ts +0 -0
  631. package/build/types/projectsGeneration/generators/graph/fieldTypeToGraphScalarStringified.d.ts +0 -0
  632. package/build/types/projectsGeneration/generators/graph/fields/genGraphField.d.ts +0 -0
  633. package/build/types/projectsGeneration/generators/graph/fields/genGraphIdField.d.ts +0 -0
  634. package/build/types/projectsGeneration/generators/graph/fields/genGraphIdFieldType.d.ts +0 -0
  635. package/build/types/projectsGeneration/generators/graph/fields/genGraphLinkField.d.ts +0 -0
  636. package/build/types/projectsGeneration/generators/graph/fields/genGraphModelField.d.ts +0 -0
  637. package/build/types/projectsGeneration/generators/graph/fields/genGraphScalarField.d.ts +0 -0
  638. package/build/types/projectsGeneration/generators/graph/filters/genGraphField.d.ts +0 -0
  639. package/build/types/projectsGeneration/generators/graph/filters/genGraphIdFilter.d.ts +0 -0
  640. package/build/types/projectsGeneration/generators/graph/filters/genGraphLinkFilter.d.ts +0 -0
  641. package/build/types/projectsGeneration/generators/graph/filters/genGraphScalarFilter.d.ts +0 -0
  642. package/build/types/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.d.ts +0 -0
  643. package/build/types/projectsGeneration/generators/graph/genGraphAdditionalServiceSchema.spec.d.ts +0 -0
  644. package/build/types/projectsGeneration/generators/graph/genGraphCrudSchema.d.ts +0 -0
  645. package/build/types/projectsGeneration/generators/graph/genGraphCrudSchema.spec.d.ts +0 -0
  646. package/build/types/projectsGeneration/generators/graph/genGraphFilterType.d.ts +0 -0
  647. package/build/types/projectsGeneration/generators/graph/genGraphFilterType.spec.d.ts +0 -0
  648. package/build/types/projectsGeneration/generators/graph/genGraphModelType.d.ts +2 -2
  649. package/build/types/projectsGeneration/generators/graph/genGraphType.d.ts +0 -0
  650. package/build/types/projectsGeneration/generators/graph/genGraphType.spec.d.ts +0 -0
  651. package/build/types/projectsGeneration/generators/graph/printGraphType.d.ts +0 -0
  652. package/build/types/projectsGeneration/generators/graph/printGraphType.spec.d.ts +0 -0
  653. package/build/types/projectsGeneration/generators/graph/types.d.ts +0 -0
  654. package/build/types/projectsGeneration/generators/graph/utils/mapUtils.d.ts +92 -2
  655. package/build/types/projectsGeneration/generators/graph/utils/models/getModelInitOrder.d.ts +0 -0
  656. package/build/types/projectsGeneration/generators/graph/utils/models/getModelInitOrder.spec.d.ts +0 -0
  657. package/build/types/projectsGeneration/generators/graph/utils/models/getUniqModels.d.ts +0 -0
  658. package/build/types/projectsGeneration/generators/graph/utils/models/getUniqModels.spec.d.ts +0 -0
  659. package/build/types/projectsGeneration/generators/graph/utils/models/getUsedModels.d.ts +0 -0
  660. package/build/types/projectsGeneration/generators/graph/utils/models/getUsedModels.spec.d.ts +0 -0
  661. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.d.ts +0 -0
  662. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/augmentInputModelsByUsedAsInputGeneralModelsAndPostfixThemByInput.spec.d.ts +0 -0
  663. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.d.ts +0 -0
  664. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getGraphTypesFromInputOutputModels.spec.d.ts +0 -0
  665. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getObjectModelsFromMethodReturns.d.ts +3 -0
  666. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.d.ts +0 -0
  667. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getPreparedModelsForGraph.spec.d.ts +0 -0
  668. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getServiceModels.d.ts +0 -0
  669. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.d.ts +0 -0
  670. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedGraphModelsForService.spec.d.ts +0 -0
  671. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.d.ts +0 -0
  672. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/getUsedModelsForService.spec.d.ts +0 -0
  673. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.d.ts +0 -0
  674. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/prefixServiceModelsWithServiceName.spec.d.ts +0 -0
  675. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/removeDublicatesFromServiceModels.d.ts +0 -0
  676. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/removeUnusedInOutputGeneralModels.d.ts +0 -0
  677. package/build/types/projectsGeneration/generators/graph/utils/serviceModels/removeVoidsInServiceModels.d.ts +0 -0
  678. package/build/types/projectsGeneration/generators/prisma/fieldIdTypeToPrismaType.d.ts +0 -0
  679. package/build/types/projectsGeneration/generators/prisma/fieldTypeToPrismaType.d.ts +0 -0
  680. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.d.ts +0 -0
  681. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaDefault.spec.d.ts +0 -0
  682. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaField.d.ts +0 -0
  683. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.d.ts +0 -0
  684. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.d.ts +0 -0
  685. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.d.ts +0 -0
  686. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaIdField.spec.d.ts +0 -0
  687. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.d.ts +0 -0
  688. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaLinkFields.spec.d.ts +0 -0
  689. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.d.ts +0 -0
  690. package/build/types/projectsGeneration/generators/prisma/scheme/fields/genPrismaScalarField.spec.d.ts +0 -0
  691. package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaEntity.d.ts +0 -0
  692. package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.d.ts +0 -0
  693. package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntities.d.ts +0 -0
  694. package/build/types/projectsGeneration/generators/prisma/scheme/genPrismaSchemaForEntitiesWithClientAdnDb.d.ts +0 -0
  695. package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNameToEditScalar.d.ts +0 -0
  696. package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditField.d.ts +0 -0
  697. package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditIdField.d.ts +0 -0
  698. package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.d.ts +0 -0
  699. package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditLinkField.spec.d.ts +0 -0
  700. package/build/types/projectsGeneration/generators/ui/componentNames/edit/getCompNamesToEditScalarField.d.ts +0 -0
  701. package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.d.ts +0 -0
  702. package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowField.d.ts +0 -0
  703. package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.d.ts +0 -0
  704. package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.d.ts +0 -0
  705. package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.d.ts +0 -0
  706. package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.d.ts +0 -0
  707. package/build/types/projectsGeneration/generators/ui/componentNames/types.d.ts +0 -0
  708. package/build/types/projectsGeneration/generators/ui/getLinkShowComponent.spec.d.ts +0 -0
  709. package/build/types/projectsGeneration/generators/ui/getScalarShowComponent.spec.d.ts +0 -0
  710. package/build/types/projectsGeneration/generators/ui/getShowComponent.d.ts +0 -0
  711. package/build/types/projectsGeneration/index.d.ts +0 -0
  712. package/build/types/projectsGeneration/links/getLinksFromExternalEntities.d.ts +0 -0
  713. package/build/types/projectsGeneration/links/getLinksFromExternalEntities.spec.d.ts +0 -0
  714. package/build/types/projectsGeneration/links/getLinksOfEntities.d.ts +0 -0
  715. package/build/types/projectsGeneration/links/getLinksOfEntities.spec.d.ts +0 -0
  716. package/build/types/projectsGeneration/links/getLinksToExternalEntities.d.ts +0 -0
  717. package/build/types/projectsGeneration/links/getLinksToExternalEntities.spec.d.ts +0 -0
  718. package/build/types/projectsGeneration/metaUtils.d.ts +0 -0
  719. package/build/types/projectsGeneration/modelsGeneration.serialization.spec.d.ts +0 -0
  720. package/build/types/projectsGeneration/modules/addEmailModuleEntities.d.ts +0 -0
  721. package/build/types/projectsGeneration/modules/index.d.ts +0 -0
  722. package/build/types/projectsGeneration/types.d.ts +0 -0
  723. package/build/types/projectsGeneration/utils.d.ts +0 -0
  724. package/build/types/refs/yup.spec.d.ts +0 -0
  725. package/build/types/types.d.ts +0 -0
  726. package/build/types/utils/TermSignals.d.ts +0 -0
  727. package/build/types/utils/cases.d.ts +0 -0
  728. package/build/types/utils/getPkgManager.d.ts +0 -0
  729. package/build/types.js +0 -0
  730. package/build/utils/TermSignals.js +0 -0
  731. package/build/utils/cases.js +0 -0
  732. package/build/utils/getPkgManager.js +0 -0
  733. package/docs/commands.md +0 -0
  734. package/docs/plugins.md +0 -0
  735. package/package.json +14 -3
  736. package/readme.md +0 -0
  737. package/build/projectsGeneration/builders/mehods/ReturnModelBuilder.js +0 -20
  738. package/build/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFields.js +0 -7
  739. package/build/types/projectsGeneration/builders/mehods/ReturnModelBuilder.d.ts +0 -10
  740. package/build/types/projectsGeneration/generators/fileTemplates/back/environment/src/integrationClients/fieldsToTsTypeFields.d.ts +0 -3
File without changes
@@ -16,5 +16,6 @@ exports.baseField = {
16
16
  showInShow: true,
17
17
  defaultDbValue: undefined,
18
18
  sharded: false,
19
+ array: false,
19
20
  };
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YUZvclRlc3RzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Byb2plY3RzR2VuZXJhdGlvbi9kYXRhRm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LFVBQVUsRUFBRSxJQUFJO0lBQ2hCLFlBQVksRUFBRSxJQUFJO0lBQ2xCLFVBQVUsRUFBRSxJQUFJO0lBQ2hCLGNBQWMsRUFBRSxTQUFTO0lBQ3pCLE9BQU8sRUFBRSxLQUFLO0lBQ2QsS0FBSyxFQUFFLEtBQUs7Q0FDZixDQUFDIn0=
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fieldToTsTypeFieldWithType = void 0;
4
+ const change_case_1 = require("change-case");
5
+ const fieldTypeToTsType_1 = require("../../../../../fieldTypeToTsType");
6
+ const fieldToTsTypeFieldWithType = (field) => `${field.name}${field.required ? '' : '?'}: ${field.category === 'model' ? `${(0, change_case_1.pascalCase)(field.model)}` : (0, fieldTypeToTsType_1.fieldTypeToTsType)(field.type)}${field.array ? '[]' : ''}`;
7
+ exports.fieldToTsTypeFieldWithType = fieldToTsTypeFieldWithType;
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGRUb1RzVHlwZUZpZWxkV2l0aFR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL2Vudmlyb25tZW50L3NyYy9pbnRlZ3JhdGlvbkNsaWVudHMvZmllbGRUb1RzVHlwZUZpZWxkV2l0aFR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkNBQXNDO0FBRXRDLHdFQUFrRTtBQUUzRCxNQUFNLDBCQUEwQixHQUFHLENBQUMsS0FBbUIsRUFBRSxFQUFFLENBQ2hFLEdBQUcsS0FBSyxDQUFDLElBQUksR0FBRyxLQUFLLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsS0FBSyxLQUFLLENBQUMsUUFBUSxLQUFLLE9BQU8sQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFBLHdCQUFVLEVBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLElBQUEscUNBQWlCLEVBQUUsS0FBcUIsQ0FBQyxJQUFJLENBQUMsR0FBRyxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDO0FBRDFLLFFBQUEsMEJBQTBCLDhCQUNnSiJ9
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jest_without_globals_1 = require("jest-without-globals");
4
+ const fieldToTsTypeFieldWithType_1 = require("./fieldToTsTypeFieldWithType");
5
+ // yarn test --testPathPattern fieldToTsTypeFieldWithType
6
+ // yarn test --testPathPattern fieldToTsTypeFieldWithType -t 'generates for scalar field array'
7
+ const defaultStringField = {
8
+ name: 'someString',
9
+ title: { ru: 'Some string' },
10
+ needFor: '',
11
+ updatable: false,
12
+ required: false,
13
+ requiredOnInput: null,
14
+ updatableByUser: false,
15
+ showInList: false,
16
+ showInCreate: false,
17
+ showInEdit: false,
18
+ showInFilter: false,
19
+ showInShow: false,
20
+ defaultDbValue: undefined,
21
+ sharded: false,
22
+ category: 'scalar',
23
+ type: 'string',
24
+ filters: [],
25
+ stringType: 'plain',
26
+ array: false,
27
+ };
28
+ const defaultModelField = {
29
+ name: 'someString',
30
+ title: { ru: 'Some string' },
31
+ needFor: '',
32
+ updatable: false,
33
+ required: false,
34
+ requiredOnInput: null,
35
+ updatableByUser: false,
36
+ showInList: false,
37
+ showInCreate: false,
38
+ showInEdit: false,
39
+ showInFilter: false,
40
+ showInShow: false,
41
+ defaultDbValue: undefined,
42
+ sharded: false,
43
+ category: 'model',
44
+ model: '',
45
+ array: false,
46
+ };
47
+ describe('fieldToTsTypeFieldWithType', () => {
48
+ it('generates for scalar field', () => {
49
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: true, array: false })))
50
+ .toEqual('someString: string');
51
+ });
52
+ it('generates for optional scalar field', () => {
53
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: false, array: false })))
54
+ .toEqual('someString?: string');
55
+ });
56
+ it('generates for scalar field array', () => {
57
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: true, array: true })))
58
+ .toEqual('someString: string[]');
59
+ });
60
+ it('generates for optional scalar field array', () => {
61
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultStringField), { name: 'someString', required: false, array: true })))
62
+ .toEqual('someString?: string[]');
63
+ });
64
+ it('generates for model field', () => {
65
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: true, array: false })))
66
+ .toEqual('someModelField: SomeModel');
67
+ });
68
+ it('generates for optional model field', () => {
69
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: false, array: false })))
70
+ .toEqual('someModelField?: SomeModel');
71
+ });
72
+ it('generates for model field array', () => {
73
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: true, array: true })))
74
+ .toEqual('someModelField: SomeModel[]');
75
+ });
76
+ it('generates for optional model field array', () => {
77
+ (0, jest_without_globals_1.expect)((0, fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType)(Object.assign(Object.assign({}, defaultModelField), { name: 'someModelField', model: 'someModel', required: false, array: true })))
78
+ .toEqual('someModelField?: SomeModel[]');
79
+ });
80
+ });
81
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGRUb1RzVHlwZUZpZWxkV2l0aFR5cGUuc3BlYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vZ2VuZXJhdG9ycy9maWxlVGVtcGxhdGVzL2JhY2svZW52aXJvbm1lbnQvc3JjL2ludGVncmF0aW9uQ2xpZW50cy9maWVsZFRvVHNUeXBlRmllbGRXaXRoVHlwZS5zcGVjLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsK0RBQTZDO0FBQzdDLDZFQUEwRTtBQUcxRSx5REFBeUQ7QUFDekQsK0ZBQStGO0FBRS9GLE1BQU0sa0JBQWtCLEdBQWlCO0lBQ3ZDLElBQUksRUFBRSxZQUFZO0lBQ2xCLEtBQUssRUFBRSxFQUFDLEVBQUUsRUFBRSxhQUFhLEVBQUM7SUFDMUIsT0FBTyxFQUFFLEVBQUU7SUFDWCxTQUFTLEVBQUUsS0FBSztJQUNoQixRQUFRLEVBQUUsS0FBSztJQUNmLGVBQWUsRUFBRSxJQUFJO0lBQ3JCLGVBQWUsRUFBRSxLQUFLO0lBQ3RCLFVBQVUsRUFBRSxLQUFLO0lBQ2pCLFlBQVksRUFBRSxLQUFLO0lBQ25CLFVBQVUsRUFBRSxLQUFLO0lBQ2pCLFlBQVksRUFBRSxLQUFLO0lBQ25CLFVBQVUsRUFBRSxLQUFL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ENBQUMsQ0FBQyxDQUFDO0FBQ0wsQ0FBQyxDQUFDLENBQUEifQ==
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fieldsToTsTypeFieldsWithTypes = void 0;
4
+ const fieldToTsTypeFieldWithType_1 = require("./fieldToTsTypeFieldWithType");
5
+ const fieldsToTsTypeFieldsWithTypes = (fields) => fields.map(fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType);
6
+ exports.fieldsToTsTypeFieldsWithTypes = fieldsToTsTypeFieldsWithTypes;
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGRzVG9Uc1R5cGVGaWVsZHNXaXRoVHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL2Vudmlyb25tZW50L3NyYy9pbnRlZ3JhdGlvbkNsaWVudHMvZmllbGRzVG9Uc1R5cGVGaWVsZHNXaXRoVHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsNkVBQXdFO0FBRWpFLE1BQU0sNkJBQTZCLEdBQUcsQ0FBQyxNQUFzQixFQUFFLEVBQUUsQ0FDdEUsTUFBTSxDQUFDLEdBQUcsQ0FBQyx1REFBMEIsQ0FBQyxDQUFBO0FBRDNCLFFBQUEsNkJBQTZCLGlDQUNGIn0=
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  const change_case_1 = require("change-case");
7
- const fieldsToTsTypeFields_1 = __importDefault(require("./fieldsToTsTypeFields"));
4
+ const fieldsToTsTypeFieldsWithTypes_1 = require("./fieldsToTsTypeFieldsWithTypes");
8
5
  const tsModelTmpl = (model) => `export interface ${(0, change_case_1.pascalCase)(model.name)} ${model.fields.length ? `{
9
- ${(0, fieldsToTsTypeFields_1.default)(model.fields).map(r => ` ${r},`).join('\n')}
6
+ ${(0, fieldsToTsTypeFieldsWithTypes_1.fieldsToTsTypeFieldsWithTypes)(model.fields).map(r => ` ${r},`).join('\n')}
10
7
  }` : '{}'}`;
11
8
  exports.default = tsModelTmpl;
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHNNb2RlbFRtcGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL2Vudmlyb25tZW50L3NyYy9pbnRlZ3JhdGlvbkNsaWVudHMvdHNNb2RlbFRtcGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw2Q0FBc0M7QUFFdEMsa0ZBQTBEO0FBRTFELE1BQU0sV0FBVyxHQUFHLENBQUMsS0FBYyxFQUFFLEVBQUUsQ0FBQyxvQkFBb0IsSUFBQSx3QkFBVSxFQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7RUFDMUcsSUFBQSw4QkFBb0IsRUFBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7RUFDakUsQ0FBQyxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUE7QUFFWCxrQkFBZSxXQUFXLENBQUMifQ==
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHNNb2RlbFRtcGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL2Vudmlyb25tZW50L3NyYy9pbnRlZ3JhdGlvbkNsaWVudHMvdHNNb2RlbFRtcGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2Q0FBc0M7QUFFdEMsbUZBQThFO0FBRTlFLE1BQU0sV0FBVyxHQUFHLENBQUMsS0FBYyxFQUFFLEVBQUUsQ0FBQyxvQkFBb0IsSUFBQSx3QkFBVSxFQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7RUFDMUcsSUFBQSw2REFBNkIsRUFBQyxLQUFLLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7RUFDMUUsQ0FBQyxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUE7QUFFWCxrQkFBZSxXQUFXLENBQUMifQ==
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.backAdditionalServiceTypesTmplInner = void 0;
7
+ const change_case_1 = require("change-case");
8
+ const cases_1 = require("../../../../../../utils/cases");
9
+ const tsModelTmpl_1 = __importDefault(require("../../environment/src/integrationClients/tsModelTmpl"));
10
+ const buildedTypes_1 = require("../../../../../builders/buildedTypes");
11
+ const getMethodTypeForService_1 = require("./getMethodTypeForService");
12
+ const backAdditionalServiceTypesTmplInner = (service) => `${service.methods
13
+ .flatMap(q => [q.returnModel.returnType === buildedTypes_1.ServiceReturnType.Object ? q.returnModel : undefined])
14
+ .filter(Boolean)
15
+ .map(m => (0, tsModelTmpl_1.default)(m)).join('\n\n')}
16
+ ${service.methods.filter((method) => method.returnModel.returnType === buildedTypes_1.ServiceReturnType.Object).map(m => `// export type ${(0, change_case_1.pascalCase)(m.name)}Result = ${(0, change_case_1.pascalCase)(m.name)}Model${m.returnModel.array ? '[]' : ''}`).join('\n\n')}
17
+ export interface I${(0, cases_1.pascal)(service.name)}Service ${service.methods.length ? `{
18
+ ${service.methods.map(m => ` ${(0, getMethodTypeForService_1.getMethodTypeForService)(m)}`).join('\n')}
19
+ }` : '{}'}`.trimStart();
20
+ exports.backAdditionalServiceTypesTmplInner = backAdditionalServiceTypesTmplInner;
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja0FkZGl0aW9uYWxTZXJ2aWNlVHlwZXNUbXBsSW5uZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL3NlcnZpY2VzL2FkZGl0aW9uYWxTZXJ2aWNlL2JhY2tBZGRpdGlvbmFsU2VydmljZVR5cGVzVG1wbElubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDZDQUFzQztBQUN0Qyx5REFBb0Q7QUFDcEQsdUdBQThFO0FBQzlFLHVFQUFzSTtBQUN0SSx1RUFBaUU7QUFFMUQsTUFBTSxtQ0FBbUMsR0FDOUMsQ0FBQyxPQUEwQixFQUFFLEVBQUUsQ0FDN0IsR0FBRyxPQUFPLENBQUMsT0FBTztLQUNmLE9BQU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SUFBSSxDQUFDLElBQUksQ0FBQztFQUN0RSxDQUFDLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxTQUFTLEVBQUUsQ0FBQTtBQVhWLFFBQUEsbUNBQW1DLHVDQVd6QiJ9
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jest_without_globals_1 = require("jest-without-globals");
7
+ const AdditionalServiceBuilder_1 = __importDefault(require("../../../../../builders/AdditionalServiceBuilder"));
8
+ const backAdditionalServiceTypesTmplInner_1 = require("./backAdditionalServiceTypesTmplInner");
9
+ // yarn test --testPathPattern backAdditionalServiceTypesTmplInner
10
+ describe('backAdditionalServiceTypesTmplInner', () => {
11
+ it('generates for method without methods', () => {
12
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
13
+ (0, jest_without_globals_1.expect)((0, backAdditionalServiceTypesTmplInner_1.backAdditionalServiceTypesTmplInner)(service.build())).toEqual(`export interface IDebugService {}`);
14
+ });
15
+ it('generates for method without args and return', () => {
16
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
17
+ service.addMethod('someMethod');
18
+ (0, jest_without_globals_1.expect)((0, backAdditionalServiceTypesTmplInner_1.backAdditionalServiceTypesTmplInner)(service.build())).toEqual(`export interface IDebugService {
19
+ someMethod: () => void
20
+ }`);
21
+ });
22
+ it('generates for method with scalar arg', () => {
23
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
24
+ const someMethod = service.addMethod('someMethod');
25
+ const someMethodArgs = someMethod.getArgsModel();
26
+ someMethodArgs.addField('someString').setType('string').setRequired();
27
+ (0, jest_without_globals_1.expect)((0, backAdditionalServiceTypesTmplInner_1.backAdditionalServiceTypesTmplInner)(service.build())).toEqual(`export interface IDebugService {
28
+ someMethod: (someString: string) => void
29
+ }`);
30
+ });
31
+ // with scalar array arg
32
+ // with scalar args
33
+ // with scalar array args
34
+ // with general object in args
35
+ // with general object array in args
36
+ // with input object in args
37
+ // with input object array in args
38
+ // with general object with inner general object in args
39
+ // with general object with inner input object in args
40
+ // with general object array with inner general object in args
41
+ // with general object array with inner input object in args
42
+ // with general object array with inner general object array in args
43
+ // with general object array with inner input object array in args
44
+ // with input object with inner general object in args
45
+ // with input object with inner input object in args
46
+ // with input object array with inner general object in args
47
+ // with input object array with inner input object in args
48
+ // with input object array with inner general object array in args
49
+ // with input object array with inner input object array in args
50
+ // with scalar return
51
+ // with scalar array in return
52
+ // with general object in return
53
+ // with general object array in return
54
+ // with output object in return
55
+ // with output object array in return
56
+ // with general object with inner general object in return
57
+ // with general object with inner output object in return
58
+ // with general object array with inner general object in return
59
+ // with general object array with inner output object in return
60
+ // with general object array with inner general object array in return
61
+ // with general object array with inner output object array in return
62
+ // with output object with inner general object in return
63
+ // with output object with inner output object in return
64
+ // with output object array with inner general object in return
65
+ // with output object array with inner output object in return
66
+ // with output object array with inner general object array in return
67
+ // with output object array with inner output object array in return
68
+ });
69
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja0FkZGl0aW9uYWxTZXJ2aWNlVHlwZXNUbXBsSW5uZXIuc3BlYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vZ2VuZXJhdG9ycy9maWxlVGVtcGxhdGVzL2JhY2svc2VydmljZXMvYWRkaXRpb25hbFNlcnZpY2UvYmFja0FkZGl0aW9uYWxTZXJ2aWNlVHlwZXNUbXBsSW5uZXIuc3BlYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLCtEQUE2QztBQUM3QyxnSEFBd0Y7QUFDeEYsK0ZBQTRGO0FBRTVGLGtFQUFrRTtBQUVsRSxRQUFRLENBQUMscUNBQXF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csRUFBRSxDQUFDO1FBRXRFLElBQUEsNkJBQU0sRUFBQyxJQUFBLHlFQUFtQyxFQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUUsQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDOztFQUV2RSxDQUFDLENBQUM7SUFDRixDQUFDLENBQUMsQ0FBQztJQUNILHdCQUF3QjtJQUV4QixtQkFBbUI7SUFDbkIseUJBQXlCO0lBRXpCLDhCQUE4QjtJQUM5QixvQ0FBb0M7SUFDcEMsNEJBQTRCO0lBQzVCLGtDQUFrQztJQUVsQyx3REFBd0Q7SUFDeEQsc0RBQXNEO0lBQ3RELDhEQUE4RDtJQUM5RCw0REFBNEQ7SUFDNUQsb0VBQW9FO0lBQ3BFLGtFQUFrRTtJQUVsRSxzREFBc0Q7SUFDdEQsb0RBQW9EO0lBQ3BELDREQUE0RDtJQUM1RCwwREFBMEQ7SUFDMUQsa0VBQWtFO0lBQ2xFLGdFQUFnRTtJQUVoRSxxQkFBcUI7SUFDckIsOEJBQThCO0lBRTlCLGdDQUFnQztJQUNoQyxzQ0FBc0M7SUFDdEMsK0JBQStCO0lBQy9CLHFDQUFxQztJQUVyQywwREFBMEQ7SUFDMUQseURBQXlEO0lBQ3pELGdFQUFnRTtJQUNoRSwrREFBK0Q7SUFDL0Qsc0VBQXNFO0lBQ3RFLHFFQUFxRTtJQUVyRSx5REFBeUQ7SUFDekQsd0RBQXdEO0lBQ3hELCtEQUErRDtJQUMvRCw4REFBOEQ7SUFDOUQscUVBQXFFO0lBQ3JFLG9FQUFvRTtBQUN0RSxDQUFDLENBQUMsQ0FBQSJ9
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getMethodTypeForService = void 0;
4
+ const fieldToTsTypeFieldWithType_1 = require("../../environment/src/integrationClients/fieldToTsTypeFieldWithType");
5
+ const getMethodTypeForServiceReturn_1 = require("./getMethodTypeForServiceReturn");
6
+ const getMethodTypeForService = (method) => `${method.name}: (${method.argsModel.fields.map(fieldToTsTypeFieldWithType_1.fieldToTsTypeFieldWithType).join(', ')}) => ${(0, getMethodTypeForServiceReturn_1.getMethodTypeForServiceReturn)(method)}`;
7
+ exports.getMethodTypeForService = getMethodTypeForService;
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0TWV0aG9kVHlwZUZvclNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvcHJvamVjdHNHZW5lcmF0aW9uL2dlbmVyYXRvcnMvZmlsZVRlbXBsYXRlcy9iYWNrL3NlcnZpY2VzL2FkZGl0aW9uYWxTZXJ2aWNlL2dldE1ldGhvZFR5cGVGb3JTZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLG9IQUE4RztBQUM5RyxtRkFBK0U7QUFFeEUsTUFBTSx1QkFBdUIsR0FBRyxDQUFDLE1BQXFCLEVBQUUsRUFBRSxDQUMvRCxHQUFHLE1BQU0sQ0FBQyxJQUFJLE1BQU0sTUFBTSxDQUFDLFNBQVMsQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLHVEQUEwQixDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLElBQUEsNkRBQTZCLEVBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQTtBQUQxSCxRQUFBLHVCQUF1QiwyQkFDbUcifQ==
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jest_without_globals_1 = require("jest-without-globals");
7
+ const AdditionalServiceBuilder_1 = __importDefault(require("../../../../../builders/AdditionalServiceBuilder"));
8
+ const getMethodTypeForService_1 = require("./getMethodTypeForService");
9
+ // yarn test --testPathPattern getMethodTypeForService
10
+ // yarn test --testPathPattern getMethodTypeForService -t 'generates for method without args and return'
11
+ // yarn test --testPathPattern getMethodTypeForService -t 'generates for method with scalar return'
12
+ describe('getMethodTypeForService', () => {
13
+ it('generates for method without args and return', () => {
14
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
15
+ service.addMethod('someMethod');
16
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
17
+ .toEqual('someMethod: () => void');
18
+ });
19
+ it('generates for async method without args and return', () => {
20
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
21
+ service.addMethod('someMethod').setAsync();
22
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
23
+ .toEqual('someMethod: () => Promise<void>');
24
+ });
25
+ it('generates for method with scalar arg', () => {
26
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
27
+ const someMethod = service.addMethod('someMethod');
28
+ const someMethodArgs = someMethod.getArgsModel();
29
+ someMethodArgs.addField('someString').setType('string').setRequired();
30
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
31
+ .toEqual('someMethod: (someString: string) => void');
32
+ });
33
+ it('generates for method with two scalar args', () => {
34
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
35
+ const someMethod = service.addMethod('someMethod');
36
+ const someMethodArgs = someMethod.getArgsModel();
37
+ someMethodArgs.addField('someString').setType('string').setRequired();
38
+ someMethodArgs.addField('someOtherString').setType('string').setRequired();
39
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
40
+ .toEqual('someMethod: (someString: string, someOtherString: string) => void');
41
+ });
42
+ it('generates for method with optional scalar arg', () => {
43
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
44
+ const someMethod = service.addMethod('someMethod');
45
+ const someMethodArgs = someMethod.getArgsModel();
46
+ someMethodArgs.addField('someString').setType('string');
47
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
48
+ .toEqual('someMethod: (someString?: string) => void');
49
+ });
50
+ it('generates for method with scalar array arg', () => {
51
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
52
+ const someMethod = service.addMethod('someMethod');
53
+ const someMethodArgs = someMethod.getArgsModel();
54
+ someMethodArgs.addField('someString').setType('string').setRequired().setArray();
55
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
56
+ .toEqual('someMethod: (someString: string[]) => void');
57
+ });
58
+ it('generates for method with object in args', () => {
59
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
60
+ const someMethod = service.addMethod('someMethod');
61
+ service.createGeneralModel('someModel');
62
+ const someMethodArgs = someMethod.getArgsModel();
63
+ someMethodArgs.addModelField('someModel', 'someModelArg').setType('string').setRequired();
64
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
65
+ .toEqual('someMethod: (someModelArg: SomeModel) => void');
66
+ });
67
+ it('generates for method with optional object array in args', () => {
68
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
69
+ const someMethod = service.addMethod('someMethod');
70
+ service.createGeneralModel('someModel');
71
+ const someMethodArgs = someMethod.getArgsModel();
72
+ someMethodArgs.addModelField('someModel', 'someModelArg').setType('string').setArray();
73
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
74
+ .toEqual('someMethod: (someModelArg?: SomeModel[]) => void');
75
+ });
76
+ it('generates for method with scalar return', () => {
77
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
78
+ const someMethod = service.addMethod('someMethod');
79
+ const someMethodReturn = someMethod.setReturnScalarModel();
80
+ someMethodReturn.setType('string').setRequired();
81
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
82
+ .toEqual('someMethod: () => string');
83
+ });
84
+ it('generates for method with object return', () => {
85
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
86
+ const someMethod = service.addMethod('someMethod');
87
+ someMethod.setReturnObjectModel('someModel');
88
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
89
+ .toEqual('someMethod: () => SomeMethodSomeModel');
90
+ });
91
+ it('generates for method with object array return', () => {
92
+ const service = new AdditionalServiceBuilder_1.default('debug', 'ru');
93
+ const someMethod = service.addMethod('someMethod');
94
+ const someMethodReturn = someMethod.setReturnObjectModel('someModel');
95
+ someMethodReturn.setArray();
96
+ (0, jest_without_globals_1.expect)((0, getMethodTypeForService_1.getMethodTypeForService)(service.build().methods[0]))
97
+ .toEqual('someMethod: () => SomeMethodSomeModel[]');
98
+ });
99
+ });
100
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0TWV0aG9kVHlwZUZvclNlcnZpY2Uuc3BlYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9wcm9qZWN0c0dlbmVyYXRpb24vZ2VuZXJhdG9ycy9maWxlVGVtcGxhdGVzL2JhY2svc2VydmljZXMvYWRkaXRpb25hbFNlcnZpY2UvZ2V0TWV0aG9kVHlwZUZvclNlcnZpY2Uuc3BlYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLCtEQUE2QztBQUM3QyxnSEFBd0Y7QUFDeEYsdUVBQW9FO0FBRXBFLHNEQUFzRDtBQUN0RCx3R0FBd0c7QUFDeEcsbUdBQW1HO0FBRW5HLFFBQVEsQ0FBQyx5QkFBeUIsRUFBRSxHQUFHLEVBQUU7SUFDdkMsRUFBRSxDQUFDLDhDQUE4QyxFQUFFLEdBQUcsRUFBRTtRQU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