@aristid/leav-types 1.11.0 → 1.12.0-2d940dfc

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 (234) hide show
  1. package/apps/core/src/__tests__/e2e/_gqlTypes/index.d.ts +205 -28
  2. package/apps/core/src/__tests__/e2e/api/_fixtures/fakeplugin/index.d.ts +2 -2
  3. package/apps/core/src/__tests__/e2e/api/e2eUtils.d.ts +37 -4
  4. package/apps/core/src/__tests__/e2e/api/globalSetup.d.ts +1 -1
  5. package/apps/core/src/__tests__/e2e/api/joinLibraries/nestedJoinLibraries.test.d.ts +1 -0
  6. package/apps/core/src/__tests__/e2e/api/notificationUtils.d.ts +1 -1
  7. package/apps/core/src/__tests__/integration/infra/integrationTestRepoUtils.d.ts +5 -5
  8. package/apps/core/src/__tests__/mocks/globalSettings.d.ts +1 -1
  9. package/apps/core/src/__tests__/mocks/library.d.ts +1 -1
  10. package/apps/core/src/__tests__/mocks/plugins.d.ts +1 -1
  11. package/apps/core/src/__tests__/mocks/record.d.ts +1 -1
  12. package/apps/core/src/__tests__/mocks/shared.d.ts +1 -1
  13. package/apps/core/src/__tests__/mocks/value.d.ts +1 -1
  14. package/apps/core/src/__tests__/mocks/versionProfile.d.ts +1 -1
  15. package/apps/core/src/_types/actionsList.d.ts +1 -1
  16. package/apps/core/src/_types/auth.d.ts +4 -0
  17. package/apps/core/src/_types/extensionPoints.d.ts +7 -0
  18. package/apps/core/src/_types/migration.d.ts +1 -1
  19. package/apps/core/src/_types/permissions.d.ts +1 -0
  20. package/apps/core/src/_types/queryInfos.d.ts +1 -1
  21. package/apps/core/src/_types/record.d.ts +1 -1
  22. package/apps/core/src/_types/value.d.ts +2 -2
  23. package/apps/core/src/app/application/applicationApp.d.ts +9 -9
  24. package/apps/core/src/app/auth/authApp.d.ts +10 -8
  25. package/apps/core/src/app/core/actionListApp.d.ts +3 -3
  26. package/apps/core/src/app/core/apiKeyApp/_types.d.ts +2 -2
  27. package/apps/core/src/app/core/apiKeyApp/apiKeyApp.d.ts +3 -3
  28. package/apps/core/src/app/core/attributeApp/attributeApp.d.ts +9 -9
  29. package/apps/core/src/app/core/coreApp.d.ts +5 -5
  30. package/apps/core/src/app/core/discussionApp.d.ts +2 -2
  31. package/apps/core/src/app/core/eventsManagerApp.d.ts +4 -4
  32. package/apps/core/src/app/core/exportApp.d.ts +2 -2
  33. package/apps/core/src/app/core/filesManagerApp.d.ts +5 -5
  34. package/apps/core/src/app/core/formApp/_types.d.ts +2 -2
  35. package/apps/core/src/app/core/formApp/formApp.d.ts +8 -8
  36. package/apps/core/src/app/core/globalSettingsApp.d.ts +7 -7
  37. package/apps/core/src/app/core/helpers/subscriptions.d.ts +1 -1
  38. package/apps/core/src/app/core/importApp.d.ts +4 -4
  39. package/apps/core/src/app/core/indexationManagerApp.d.ts +2 -2
  40. package/apps/core/src/app/core/libraryApp/_types.d.ts +2 -2
  41. package/apps/core/src/app/core/libraryApp/libraryApp.d.ts +7 -7
  42. package/apps/core/src/app/core/logApp.d.ts +12 -12
  43. package/apps/core/src/app/core/logsCollectorApp.d.ts +1 -1
  44. package/apps/core/src/app/core/notificationApp.d.ts +3 -3
  45. package/apps/core/src/app/core/permissionApp/_types.d.ts +1 -1
  46. package/apps/core/src/app/core/permissionApp/permissionApp.d.ts +4 -4
  47. package/apps/core/src/app/core/pluginsApp.d.ts +3 -3
  48. package/apps/core/src/app/core/recordApp/_types.d.ts +2 -2
  49. package/apps/core/src/app/core/recordApp/recordApp.d.ts +8 -8
  50. package/apps/core/src/app/core/tasksManagerApp.d.ts +8 -8
  51. package/apps/core/src/app/core/treeApp/_types.d.ts +4 -4
  52. package/apps/core/src/app/core/treeApp/treeApp.d.ts +5 -5
  53. package/apps/core/src/app/core/userDataApp.d.ts +1 -1
  54. package/apps/core/src/app/core/valueApp.d.ts +6 -6
  55. package/apps/core/src/app/core/versionProfileApp/_types.d.ts +2 -2
  56. package/apps/core/src/app/core/versionProfileApp/versionProfileApp.d.ts +3 -3
  57. package/apps/core/src/app/core/viewApp.d.ts +5 -5
  58. package/apps/core/src/app/endpoint/endpointApp.d.ts +3 -3
  59. package/apps/core/src/app/graphql/customScalars/dateTime/dateTime.d.ts +1 -1
  60. package/apps/core/src/app/graphql/customScalars/systemTranslation/systemTranslation.d.ts +1 -1
  61. package/apps/core/src/app/graphql/graphqlApp.d.ts +3 -3
  62. package/apps/core/src/app/helpers/convertVersionFromGqlFormat.d.ts +1 -1
  63. package/apps/core/src/app/helpers/initQueryContext.d.ts +2 -2
  64. package/apps/core/src/domain/actions/excelCalculationAction.d.ts +2 -2
  65. package/apps/core/src/domain/actions/inheritanceCalculationAction.d.ts +2 -2
  66. package/apps/core/src/domain/actions/replaceAnotherAttributeAction.d.ts +3 -3
  67. package/apps/core/src/domain/apiKey/apiKeyDomain.d.ts +6 -6
  68. package/apps/core/src/domain/application/applicationDomain.d.ts +7 -7
  69. package/apps/core/src/domain/application/helpers/getLibrarySystemPanels.d.ts +2 -2
  70. package/apps/core/src/domain/attribute/attributeDomain.d.ts +12 -12
  71. package/apps/core/src/domain/attribute/helpers/attributeALHelper.d.ts +1 -1
  72. package/apps/core/src/domain/attribute/helpers/attributeValidationHelper.d.ts +6 -6
  73. package/apps/core/src/domain/attribute/helpers/ifLibraryJoinLinkAttribute.d.ts +2 -2
  74. package/apps/core/src/domain/discussion/discussionDomain.d.ts +7 -7
  75. package/apps/core/src/domain/eventsManager/eventsManagerDomain.d.ts +4 -4
  76. package/apps/core/src/domain/export/exportDomain.d.ts +8 -8
  77. package/apps/core/src/domain/export/exportProfileDomain.d.ts +2 -2
  78. package/apps/core/src/domain/filesManager/_constants.d.ts +1 -1
  79. package/apps/core/src/domain/filesManager/filesManagerDomain.d.ts +13 -13
  80. package/apps/core/src/domain/filesManager/helpers/extractFileMetadata.d.ts +1 -1
  81. package/apps/core/src/domain/filesManager/helpers/getRootPathByKey.d.ts +1 -1
  82. package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/_types.d.ts +12 -12
  83. package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleCreateEvent.d.ts +1 -1
  84. package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleFileSystemEvent.d.ts +10 -10
  85. package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleMoveEvent.d.ts +1 -1
  86. package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleRemoveEvent.d.ts +1 -1
  87. package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleUpdateEvent.d.ts +1 -1
  88. package/apps/core/src/domain/filesManager/helpers/handleFileUtilsHelper.d.ts +7 -7
  89. package/apps/core/src/domain/filesManager/helpers/handlePreview.d.ts +1 -1
  90. package/apps/core/src/domain/filesManager/helpers/handlePreviewResponse.d.ts +9 -9
  91. package/apps/core/src/domain/filesManager/helpers/messagesHandler/messagesHandler.d.ts +3 -3
  92. package/apps/core/src/domain/form/formDomain.d.ts +12 -12
  93. package/apps/core/src/domain/form/helpers/getElementValues.d.ts +4 -4
  94. package/apps/core/src/domain/form/helpers/mustIncludeElement.d.ts +4 -4
  95. package/apps/core/src/domain/globalSettings/globalSettingsDomain.d.ts +5 -5
  96. package/apps/core/src/domain/helpers/calculations/calculationVariable.d.ts +1 -1
  97. package/apps/core/src/domain/helpers/calculations/calculationsVariableFunctions.d.ts +4 -4
  98. package/apps/core/src/domain/helpers/createDirectory.d.ts +2 -2
  99. package/apps/core/src/domain/helpers/getCoreEntityById.d.ts +7 -7
  100. package/apps/core/src/domain/helpers/updateRecordLastModif.d.ts +4 -4
  101. package/apps/core/src/domain/helpers/updateTaskProgress.d.ts +3 -3
  102. package/apps/core/src/domain/helpers/validate.d.ts +6 -6
  103. package/apps/core/src/domain/import/importDomain.d.ts +11 -11
  104. package/apps/core/src/domain/indexationManager/indexationManagerDomain.d.ts +9 -9
  105. package/apps/core/src/domain/library/helpers/checkSavePermission.d.ts +2 -2
  106. package/apps/core/src/domain/library/helpers/deleteAssociatedValues.d.ts +5 -5
  107. package/apps/core/src/domain/library/helpers/runBehaviorPostSave.d.ts +6 -6
  108. package/apps/core/src/domain/library/helpers/runPreDelete.d.ts +4 -4
  109. package/apps/core/src/domain/library/helpers/updateAssociatedForms.d.ts +2 -2
  110. package/apps/core/src/domain/library/helpers/validateLibAttributes.d.ts +3 -3
  111. package/apps/core/src/domain/library/helpers/validateLibFullTextAttributes.d.ts +1 -1
  112. package/apps/core/src/domain/library/helpers/validatePermConf.d.ts +4 -4
  113. package/apps/core/src/domain/library/helpers/validatePreviewsSettings.d.ts +1 -1
  114. package/apps/core/src/domain/library/helpers/validateRecordIdentityConf.d.ts +3 -3
  115. package/apps/core/src/domain/library/libraryDomain.d.ts +11 -11
  116. package/apps/core/src/domain/log/logDomain.d.ts +5 -5
  117. package/apps/core/src/domain/logsCollector/logsCollectorDomain.d.ts +1 -1
  118. package/apps/core/src/domain/notification/channels/emailChannel.d.ts +4 -4
  119. package/apps/core/src/domain/notification/channels/webSocketChannel.d.ts +1 -1
  120. package/apps/core/src/domain/notification/notificationDomain.d.ts +3 -3
  121. package/apps/core/src/domain/permission/_types.d.ts +2 -2
  122. package/apps/core/src/domain/permission/attributeDependentValuesPermissionDomain.d.ts +3 -3
  123. package/apps/core/src/domain/permission/helpers/defaultPermission.d.ts +3 -3
  124. package/apps/core/src/domain/permission/helpers/getPermissionCacheKey.d.ts +1 -1
  125. package/apps/core/src/domain/permission/helpers/getPermissionCachePatternKey.d.ts +1 -1
  126. package/apps/core/src/domain/permission/helpers/globalPermission.d.ts +2 -2
  127. package/apps/core/src/domain/permission/helpers/permissionByUserGroups.d.ts +1 -1
  128. package/apps/core/src/domain/permission/helpers/permissionsByActions.d.ts +1 -1
  129. package/apps/core/src/domain/permission/helpers/treeBasedPermissions.d.ts +4 -4
  130. package/apps/core/src/domain/permission/permissionDomain.d.ts +4 -4
  131. package/apps/core/src/domain/permission/recordAttributePermissionDomain.d.ts +2 -2
  132. package/apps/core/src/domain/permission/recordPermissionDomain.d.ts +3 -3
  133. package/apps/core/src/domain/permission/treeNodePermissionDomain.d.ts +4 -4
  134. package/apps/core/src/domain/plugins/pluginsDomain.d.ts +3 -3
  135. package/apps/core/src/domain/record/_types.d.ts +4 -4
  136. package/apps/core/src/domain/record/helpers/createRecord.d.ts +3 -3
  137. package/apps/core/src/domain/record/helpers/deleteRecord.d.ts +12 -10
  138. package/apps/core/src/domain/record/helpers/findRecords.d.ts +2 -2
  139. package/apps/core/src/domain/record/helpers/getAccessPermissionFilters.d.ts +7 -7
  140. package/apps/core/src/domain/record/helpers/getAttributesFromField.d.ts +4 -4
  141. package/apps/core/src/domain/record/helpers/sendRecordUpdateEvent.d.ts +3 -3
  142. package/apps/core/src/domain/record/recordDomain.d.ts +11 -11
  143. package/apps/core/src/domain/tasksManager/tasksManagerDomain.d.ts +7 -7
  144. package/apps/core/src/domain/tree/helpers/elementAncestors.d.ts +2 -2
  145. package/apps/core/src/domain/tree/helpers/getDefaultElement.d.ts +3 -3
  146. package/apps/core/src/domain/tree/helpers/handleRemovedLibraries.d.ts +3 -3
  147. package/apps/core/src/domain/tree/helpers/treeDataValidation.d.ts +3 -3
  148. package/apps/core/src/domain/tree/treeDomain.d.ts +10 -10
  149. package/apps/core/src/domain/user/userDomain.d.ts +10 -10
  150. package/apps/core/src/domain/value/_types.d.ts +5 -5
  151. package/apps/core/src/domain/value/helpers/areValuesIdentical.d.ts +1 -1
  152. package/apps/core/src/domain/value/helpers/canSaveRecordValue.d.ts +6 -6
  153. package/apps/core/src/domain/value/helpers/doesValueExist.d.ts +1 -1
  154. package/apps/core/src/domain/value/helpers/findValue.d.ts +1 -1
  155. package/apps/core/src/domain/value/helpers/formatLogValue.d.ts +6 -6
  156. package/apps/core/src/domain/value/helpers/isEmptyValue.d.ts +1 -1
  157. package/apps/core/src/domain/value/helpers/postDeleteValue.d.ts +6 -6
  158. package/apps/core/src/domain/value/helpers/postSaveValue.d.ts +6 -6
  159. package/apps/core/src/domain/value/helpers/prepareValue.d.ts +6 -6
  160. package/apps/core/src/domain/value/helpers/saveOneValue.d.ts +8 -8
  161. package/apps/core/src/domain/value/helpers/validateValue.d.ts +4 -4
  162. package/apps/core/src/domain/value/tasks/purgeMultipleValues.d.ts +1 -1
  163. package/apps/core/src/domain/value/tasks/saveValueBulk.d.ts +3 -3
  164. package/apps/core/src/domain/value/valueDomain.d.ts +17 -19
  165. package/apps/core/src/domain/versionProfile/versionProfileDomain.d.ts +10 -10
  166. package/apps/core/src/domain/view/viewDomain.d.ts +7 -7
  167. package/apps/core/src/i18nextInit.d.ts +1 -1
  168. package/apps/core/src/infra/apiKey/apiKeyRepo.d.ts +5 -5
  169. package/apps/core/src/infra/application/applicationRepo.d.ts +3 -3
  170. package/apps/core/src/infra/attribute/attributeRepo.d.ts +4 -4
  171. package/apps/core/src/infra/attributeTypes/attributeAdvancedLinkRepo.d.ts +2 -2
  172. package/apps/core/src/infra/attributeTypes/attributeAdvancedRepo.d.ts +2 -2
  173. package/apps/core/src/infra/attributeTypes/attributeSimpleLinkRepo.d.ts +2 -2
  174. package/apps/core/src/infra/attributeTypes/attributeSimpleRepo.d.ts +1 -1
  175. package/apps/core/src/infra/attributeTypes/attributeTreeRepo.d.ts +2 -2
  176. package/apps/core/src/infra/attributeTypes/attributeTypesRepo.d.ts +1 -1
  177. package/apps/core/src/infra/cache/cacheService.d.ts +2 -2
  178. package/apps/core/src/infra/cache/diskService.d.ts +1 -1
  179. package/apps/core/src/infra/cache/redis.d.ts +1 -1
  180. package/apps/core/src/infra/db/_types.d.ts +1 -1
  181. package/apps/core/src/infra/db/db.d.ts +1 -1
  182. package/apps/core/src/infra/db/dbService.d.ts +2 -2
  183. package/apps/core/src/infra/db/dbUtils.d.ts +4 -4
  184. package/apps/core/src/infra/db/helpers/runMigrationFiles.d.ts +1 -1
  185. package/apps/core/src/infra/db/migrations/000-init/index.d.ts +3 -3
  186. package/apps/core/src/infra/db/migrations/000-init/systemAttributes.d.ts +1 -1
  187. package/apps/core/src/infra/db/migrations/001-delInstallApps.d.ts +1 -1
  188. package/apps/core/src/infra/db/migrations/002-previewsSettings.d.ts +4 -4
  189. package/apps/core/src/infra/db/migrations/003-filesMetadata.d.ts +3 -3
  190. package/apps/core/src/infra/db/migrations/004-formsLabels.d.ts +2 -2
  191. package/apps/core/src/infra/db/migrations/005-viewSortToArray.d.ts +1 -1
  192. package/apps/core/src/infra/db/migrations/007-updateHexColor.d.ts +1 -1
  193. package/apps/core/src/infra/db/migrations/010-formSidePanel.d.ts +2 -2
  194. package/apps/core/src/infra/db/migrations/013-passwordAttributeMaskValue.d.ts +1 -1
  195. package/apps/core/src/infra/db/migrations/014-notificationsCollection.d.ts +1 -1
  196. package/apps/core/src/infra/elasticsearch/elasticsearchClient.d.ts +1 -1
  197. package/apps/core/src/infra/elasticsearch/elasticsearchService.d.ts +1 -1
  198. package/apps/core/src/infra/filesManager/filesManagerRepo.d.ts +4 -4
  199. package/apps/core/src/infra/form/formRepo.d.ts +6 -6
  200. package/apps/core/src/infra/globalSettings/globalSettingsRepo.d.ts +3 -3
  201. package/apps/core/src/infra/indexation/helpers/getSearchQuery.d.ts +1 -1
  202. package/apps/core/src/infra/indexation/indexationService.d.ts +3 -3
  203. package/apps/core/src/infra/library/libraryRepo.d.ts +2 -2
  204. package/apps/core/src/infra/log/logRepo.d.ts +4 -4
  205. package/apps/core/src/infra/mailer/mailer.d.ts +1 -1
  206. package/apps/core/src/infra/mailer/mailerService.d.ts +3 -3
  207. package/apps/core/src/infra/notification/notificationRepo.d.ts +3 -3
  208. package/apps/core/src/infra/permission/permissionRepo.d.ts +1 -1
  209. package/apps/core/src/infra/plugins/pluginsRepo.d.ts +1 -1
  210. package/apps/core/src/infra/record/helpers/getClassifyingFiltersVariableQueryPart.d.ts +2 -2
  211. package/apps/core/src/infra/record/helpers/getSearchVariablesQueryPart.d.ts +1 -1
  212. package/apps/core/src/infra/record/recordRepo.d.ts +5 -5
  213. package/apps/core/src/infra/task/taskRepo.d.ts +6 -6
  214. package/apps/core/src/infra/tree/_types.d.ts +1 -1
  215. package/apps/core/src/infra/tree/treeRepo.d.ts +5 -5
  216. package/apps/core/src/infra/userData/userDataRepo.d.ts +2 -2
  217. package/apps/core/src/infra/value/valueRepo.d.ts +5 -5
  218. package/apps/core/src/infra/versionProfile/versionProfileRepo.d.ts +6 -6
  219. package/apps/core/src/infra/view/_types.d.ts +5 -5
  220. package/apps/core/src/interface/cli.d.ts +1 -1
  221. package/apps/core/src/interface/filesManager.d.ts +1 -1
  222. package/apps/core/src/interface/helpers/handleGraphqlError.d.ts +3 -3
  223. package/apps/core/src/interface/indexationManager.d.ts +1 -1
  224. package/apps/core/src/interface/logsCollector.d.ts +1 -1
  225. package/apps/core/src/interface/server.d.ts +7 -7
  226. package/apps/core/src/interface/tasksManager.d.ts +1 -1
  227. package/apps/core/src/utils/configureDayjs.d.ts +1 -1
  228. package/apps/core/src/utils/dataloader.d.ts +1 -1
  229. package/apps/core/src/utils/helpers/getSystemQueryContext.d.ts +2 -2
  230. package/apps/core/src/utils/helpers/getValuesToDisplay.d.ts +1 -1
  231. package/apps/core/src/utils/logger/logger.d.ts +1 -1
  232. package/apps/core/src/utils/utils.d.ts +3 -3
  233. package/apps/core/tsconfig.types.tsbuildinfo +1 -1
  234. package/package.json +2 -2
@@ -1,18 +1,18 @@
1
1
  import { type IAmqpService } from '@leav/message-broker';
2
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
3
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
4
- import { type ILibraryDomain } from 'domain/library/libraryDomain';
5
- import { type IRecordDomain } from 'domain/record/recordDomain';
6
- import { type IFindRecordParams } from 'domain/record/_types';
7
- import { type ITasksManagerDomain } from 'domain/tasksManager/tasksManagerDomain';
2
+ import { type IAttributeDomain } from '../attribute/attributeDomain';
3
+ import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
4
+ import { type ILibraryDomain } from '../library/libraryDomain';
5
+ import { type IRecordDomain } from '../record/recordDomain';
6
+ import { type IFindRecordParams } from '../record/_types';
7
+ import { type ITasksManagerDomain } from '../tasksManager/tasksManagerDomain';
8
8
  import { type i18n } from 'i18next';
9
9
  import { type ILogger } from '@leav/logger';
10
- import type * as Config from '_types/config';
11
- import { type IQueryInfos } from '_types/queryInfos';
10
+ import type * as Config from '../../_types/config';
11
+ import { type IQueryInfos } from '../../_types/queryInfos';
12
12
  import { type IIndexationService } from '../../infra/indexation/indexationService';
13
13
  import { type ITaskFuncParams } from '../../_types/tasksManager';
14
14
  import { type GetSystemQueryContext } from '../../utils/helpers/getSystemQueryContext';
15
- import { type IAdminPermissionDomain } from 'domain/permission/adminPermissionDomain';
15
+ import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain';
16
16
  interface IIndexDatabaseParams {
17
17
  findRecordParams: IFindRecordParams | IFindRecordParams[];
18
18
  attributes?: {
@@ -1,5 +1,5 @@
1
- import { type IAdminPermissionDomain } from 'domain/permission/adminPermissionDomain';
2
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IAdminPermissionDomain } from '../../permission/adminPermissionDomain';
2
+ import { type IQueryInfos } from '../../../_types/queryInfos';
3
3
  import { AdminPermissionsActions } from '../../../_types/permissions';
4
4
  declare const _default: (existingLib: boolean, deps: {
5
5
  adminPermissionDomain: IAdminPermissionDomain;
@@ -1,8 +1,8 @@
1
- import { type IRecordDomain } from 'domain/record/recordDomain';
2
- import { type IValueDomain } from 'domain/value/valueDomain';
3
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
4
- import { type IQueryInfos } from '_types/queryInfos';
5
- import { type IValueRepo } from 'infra/value/valueRepo';
1
+ import { type IRecordDomain } from '../../record/recordDomain';
2
+ import { type IValueDomain } from '../../value/valueDomain';
3
+ import { type IAttributeDomain } from '../../attribute/attributeDomain';
4
+ import { type IQueryInfos } from '../../../_types/queryInfos';
5
+ import { type IValueRepo } from '../../../infra/value/valueRepo';
6
6
  interface IDeps {
7
7
  'core.domain.record'?: IRecordDomain;
8
8
  'core.domain.value'?: IValueDomain;
@@ -1,10 +1,10 @@
1
1
  import { type i18n } from 'i18next';
2
- import { type IAttributeRepo } from 'infra/attribute/attributeRepo';
3
- import { type ILibraryRepo } from 'infra/library/libraryRepo';
4
- import { type ITreeRepo } from 'infra/tree/treeRepo';
5
- import { type IUtils } from 'utils/utils';
6
- import { type IConfig } from '_types/config';
7
- import { type IQueryInfos } from '_types/queryInfos';
2
+ import { type IAttributeRepo } from '../../../infra/attribute/attributeRepo';
3
+ import { type ILibraryRepo } from '../../../infra/library/libraryRepo';
4
+ import { type ITreeRepo } from '../../../infra/tree/treeRepo';
5
+ import { type IUtils } from '../../../utils/utils';
6
+ import { type IConfig } from '../../../_types/config';
7
+ import { type IQueryInfos } from '../../../_types/queryInfos';
8
8
  import { type ILibrary } from '../../../_types/library';
9
9
  interface IDeps {
10
10
  treeRepo: ITreeRepo;
@@ -1,7 +1,7 @@
1
- import { type ITreeDomain } from 'domain/tree/treeDomain';
2
- import { type ITreeRepo } from 'infra/tree/treeRepo';
3
- import { type IUtils } from 'utils/utils';
4
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type ITreeDomain } from '../../tree/treeDomain';
2
+ import { type ITreeRepo } from '../../../infra/tree/treeRepo';
3
+ import { type IUtils } from '../../../utils/utils';
4
+ import { type IQueryInfos } from '../../../_types/queryInfos';
5
5
  import { type ILibrary } from '../../../_types/library';
6
6
  interface IDeps {
7
7
  'core.domain.tree'?: ITreeDomain;
@@ -1,5 +1,5 @@
1
- import { type IQueryInfos } from '_types/queryInfos';
2
- import { type IFormDomain } from 'domain/form/formDomain';
1
+ import { type IQueryInfos } from '../../../_types/queryInfos';
2
+ import { type IFormDomain } from '../../form/formDomain';
3
3
  interface IDeps {
4
4
  'core.domain.form'?: IFormDomain;
5
5
  }
@@ -1,6 +1,6 @@
1
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
2
- import { type ILibrary } from '_types/library';
3
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IAttributeDomain } from '../../attribute/attributeDomain';
2
+ import { type ILibrary } from '../../../_types/library';
3
+ import { type IQueryInfos } from '../../../_types/queryInfos';
4
4
  import { type ErrorFieldDetail } from '../../../_types/errors';
5
5
  declare const _default: (libraryData: ILibrary, attributes: string[], deps: {
6
6
  attributeDomain: IAttributeDomain;
@@ -1,4 +1,4 @@
1
- import { type ILibrary } from '_types/library';
1
+ import { type ILibrary } from '../../../_types/library';
2
2
  import { type ErrorFieldDetail } from '../../../_types/errors';
3
3
  declare const _default: (attributes: string[], fullTextAttributes: string[]) => ErrorFieldDetail<ILibrary>;
4
4
  export default _default;
@@ -1,8 +1,8 @@
1
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
2
- import { type ILibrary } from '_types/library';
3
- import { type ITreePermissionsConf } from '_types/permissions';
1
+ import { type IAttributeDomain } from '../../attribute/attributeDomain';
2
+ import { type ILibrary } from '../../../_types/library';
3
+ import { type ITreePermissionsConf } from '../../../_types/permissions';
4
4
  import { type ErrorFieldDetail } from '../../../_types/errors';
5
- import { type IQueryInfos } from '_types/queryInfos';
5
+ import { type IQueryInfos } from '../../../_types/queryInfos';
6
6
  declare const _default: (permissionsConf: ITreePermissionsConf, deps: {
7
7
  attributeDomain: IAttributeDomain;
8
8
  }, ctx: IQueryInfos) => Promise<ErrorFieldDetail<ILibrary>>;
@@ -1,4 +1,4 @@
1
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IQueryInfos } from '../../../_types/queryInfos';
2
2
  import { type ErrorFieldDetail } from '../../../_types/errors';
3
3
  import { type ILibrary } from '../../../_types/library';
4
4
  declare const _default: (libData: ILibrary, ctx: IQueryInfos) => Promise<ErrorFieldDetail<ILibrary>>;
@@ -1,7 +1,7 @@
1
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
2
- import { type ILibrary } from '_types/library';
1
+ import { type IAttributeDomain } from '../../attribute/attributeDomain';
2
+ import { type ILibrary } from '../../../_types/library';
3
3
  import { type ErrorFieldDetail } from '../../../_types/errors';
4
- import { type IQueryInfos } from '_types/queryInfos';
4
+ import { type IQueryInfos } from '../../../_types/queryInfos';
5
5
  declare const _default: (libData: ILibrary, libAttributes: string[], deps: {
6
6
  attributeDomain: IAttributeDomain;
7
7
  }, ctx: IQueryInfos) => Promise<ErrorFieldDetail<ILibrary>>;
@@ -1,15 +1,15 @@
1
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
2
- import { type GetCoreEntityByIdFunc } from 'domain/helpers/getCoreEntityById';
3
- import { type IValidateHelper } from 'domain/helpers/validate';
4
- import { type IAdminPermissionDomain } from 'domain/permission/adminPermissionDomain';
1
+ import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
2
+ import { type GetCoreEntityByIdFunc } from '../helpers/getCoreEntityById';
3
+ import { type IValidateHelper } from '../helpers/validate';
4
+ import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain';
5
5
  import { type i18n } from 'i18next';
6
- import { type IAttributeRepo } from 'infra/attribute/attributeRepo';
7
- import { type ILibraryRepo } from 'infra/library/libraryRepo';
8
- import { type ITreeRepo } from 'infra/tree/treeRepo';
9
- import { type IUtils } from 'utils/utils';
10
- import { type IConfig } from '_types/config';
11
- import { type IQueryInfos } from '_types/queryInfos';
12
- import { type IGetCoreEntitiesParams } from '_types/shared';
6
+ import { type IAttributeRepo } from '../../infra/attribute/attributeRepo';
7
+ import { type ILibraryRepo } from '../../infra/library/libraryRepo';
8
+ import { type ITreeRepo } from '../../infra/tree/treeRepo';
9
+ import { type IUtils } from '../../utils/utils';
10
+ import { type IConfig } from '../../_types/config';
11
+ import { type IQueryInfos } from '../../_types/queryInfos';
12
+ import { type IGetCoreEntitiesParams } from '../../_types/shared';
13
13
  import { type ICachesService } from '../../infra/cache/cacheService';
14
14
  import { type ILibrary } from '../../_types/library';
15
15
  import { type IList } from '../../_types/list';
@@ -1,8 +1,8 @@
1
- import { type ILogRepo } from 'infra/log/logRepo';
2
- import { type ILogFilters, type ILogPagination, type ILogResponse, type ILogSort } from '_types/log';
3
- import { type IQueryInfos } from '_types/queryInfos';
4
- import { type IPermissionDomain } from 'domain/permission/permissionDomain';
5
- import { type IRecordPermissionDomain } from 'domain/permission/recordPermissionDomain';
1
+ import { type ILogRepo } from '../../infra/log/logRepo';
2
+ import { type ILogFilters, type ILogPagination, type ILogResponse, type ILogSort } from '../../_types/log';
3
+ import { type IQueryInfos } from '../../_types/queryInfos';
4
+ import { type IPermissionDomain } from '../permission/permissionDomain';
5
+ import { type IRecordPermissionDomain } from '../permission/recordPermissionDomain';
6
6
  export interface ILogDomain {
7
7
  getLogs: (params: {
8
8
  filters?: ILogFilters;
@@ -1,6 +1,6 @@
1
1
  import { type IAmqpService } from '@leav/message-broker';
2
2
  import { type ILogger } from '@leav/logger';
3
- import type * as Config from '_types/config';
3
+ import type * as Config from '../../_types/config';
4
4
  import { type IIndexationService } from '../../infra/indexation/indexationService';
5
5
  import { type IElasticsearchService } from '../../infra/elasticsearch/elasticsearchService';
6
6
  export interface ILogsCollectorDomain {
@@ -1,8 +1,8 @@
1
1
  import { type INotificationChannel } from '../../../_types/notification';
2
- import { type IMailerService } from 'infra/mailer/mailerService';
3
- import { type IUserDomain } from 'domain/user/userDomain';
4
- import { type IGlobalSettingsDomain } from 'domain/globalSettings/globalSettingsDomain';
5
- import { type IConfig } from '_types/config';
2
+ import { type IMailerService } from '../../../infra/mailer/mailerService';
3
+ import { type IUserDomain } from '../../user/userDomain';
4
+ import { type IGlobalSettingsDomain } from '../../globalSettings/globalSettingsDomain';
5
+ import { type IConfig } from '../../../_types/config';
6
6
  export interface INotificationByEmailChannelDeps {
7
7
  config: IConfig;
8
8
  'core.infra.mailer.mailerService': IMailerService;
@@ -1,5 +1,5 @@
1
1
  import { type INotificationChannel } from '../../../_types/notification';
2
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
2
+ import { type IEventsManagerDomain } from '../../eventsManager/eventsManagerDomain';
3
3
  export interface INotificationByWebSocketChannelDeps {
4
4
  'core.domain.eventsManager': IEventsManagerDomain;
5
5
  }
@@ -1,6 +1,6 @@
1
- import { type IConfig } from '_types/config';
2
- import { type INotificationChannel, type ICreateNotification, type INotification } from '_types/notification';
3
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IConfig } from '../../_types/config';
2
+ import { type INotificationChannel, type ICreateNotification, type INotification } from '../../_types/notification';
3
+ import { type IQueryInfos } from '../../_types/queryInfos';
4
4
  import { type INotificationRepo } from '../../infra/notification/notificationRepo';
5
5
  import { type IList } from '../../_types/list';
6
6
  export interface INotificationDomain {
@@ -1,5 +1,5 @@
1
- import { type IPermissionsDependenciesTreeTarget, type AdminPermissionsActions, type ApplicationPermissionsActions, type AttributePermissionsActions, type IPermissionsTreeTarget, type ITreePermissionsConf, type LibraryPermissionsActions, type PermissionsActions, type PermissionTypes, type RecordAttributePermissionsActions, type RecordPermissionsActions, type TreeNodePermissionsActions, type TreePermissionsActions } from '_types/permissions';
2
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IPermissionsDependenciesTreeTarget, type AdminPermissionsActions, type ApplicationPermissionsActions, type AttributePermissionsActions, type IPermissionsTreeTarget, type ITreePermissionsConf, type LibraryPermissionsActions, type PermissionsActions, type PermissionTypes, type RecordAttributePermissionsActions, type RecordPermissionsActions, type TreeNodePermissionsActions, type TreePermissionsActions } from '../../_types/permissions';
2
+ import { type IQueryInfos } from '../../_types/queryInfos';
3
3
  import { type IGetDefaultPermissionParams } from './helpers/defaultPermission';
4
4
  export declare const PERMISSIONS_CACHE_HEADER = "permissions";
5
5
  export declare const PERMISSIONS_NULL_PLACEHOLDER = "__null__";
@@ -1,9 +1,9 @@
1
- import { type IQueryInfos } from '_types/queryInfos';
2
- import { type IValueRepo } from 'infra/value/valueRepo';
1
+ import { type IQueryInfos } from '../../_types/queryInfos';
2
+ import { type IValueRepo } from '../../infra/value/valueRepo';
3
3
  import { type AttributeDependentValuesPermissionsActions, type IPermissionsDependenciesTreeTarget, type IPermissionsTreeTarget } from '../../_types/permissions';
4
4
  import { type IAttributeDomain } from '../attribute/attributeDomain';
5
5
  import { type IPermissionByUserGroupsHelper } from './helpers/permissionByUserGroups';
6
- import { type IElementAncestorsHelper } from 'domain/tree/helpers/elementAncestors';
6
+ import { type IElementAncestorsHelper } from '../tree/helpers/elementAncestors';
7
7
  export interface IAttributeDependentValuesPermissionDomain {
8
8
  getAttributeDependentValuesPermission(params: {
9
9
  action: AttributeDependentValuesPermissionsActions;
@@ -1,7 +1,7 @@
1
- import { type IConfig } from '_types/config';
1
+ import { type IConfig } from '../../../_types/config';
2
2
  import { PermissionTypes, type PermissionsActions } from '../../../_types/permissions';
3
- import { type IQueryInfos } from '_types/queryInfos';
4
- import { type TreePath } from '_types/tree';
3
+ import { type IQueryInfos } from '../../../_types/queryInfos';
4
+ import { type TreePath } from '../../../_types/tree';
5
5
  interface IDeps {
6
6
  config: IConfig;
7
7
  }
@@ -1,2 +1,2 @@
1
- import { type PermissionsActions, type PermissionTypes } from '_types/permissions';
1
+ import { type PermissionsActions, type PermissionTypes } from '../../../_types/permissions';
2
2
  export default function (groupsId?: string[] | null, permissionType?: PermissionTypes | null, applyTo?: string | null, permissionAction?: PermissionsActions | null, key?: string | null): string;
@@ -1,4 +1,4 @@
1
- import { type PermissionsActions, type PermissionTypes } from '_types/permissions';
1
+ import { type PermissionsActions, type PermissionTypes } from '../../../_types/permissions';
2
2
  export default function ({ groupsId, permissionType, applyTo, permissionAction, key, }: {
3
3
  groupsId?: string[];
4
4
  permissionType?: PermissionTypes;
@@ -1,8 +1,8 @@
1
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IQueryInfos } from '../../../_types/queryInfos';
2
2
  import { type PermissionsActions, type PermissionTypes } from '../../../_types/permissions';
3
3
  import { type IDefaultPermissionHelper } from './defaultPermission';
4
4
  import { type IPermissionByUserGroupsHelper } from './permissionByUserGroups';
5
- import { type IElementAncestorsHelper } from 'domain/tree/helpers/elementAncestors';
5
+ import { type IElementAncestorsHelper } from '../../tree/helpers/elementAncestors';
6
6
  import { type GetDefaultGlobalPermission } from '../_types';
7
7
  interface IGetGlobalPermissionParams {
8
8
  type: PermissionTypes;
@@ -5,7 +5,7 @@ import { type TreePath } from '../../../_types/tree';
5
5
  import { PermissionTypes, type IPermissionsDependenciesTreeTarget, type PermissionsActions } from '../../../_types/permissions';
6
6
  import { type IQueryInfos } from '../../../_types/queryInfos';
7
7
  import { type ICachesService } from '../../../infra/cache/cacheService';
8
- import { type IConfig } from '_types/config';
8
+ import { type IConfig } from '../../../_types/config';
9
9
  import { type GetDefaultGlobalPermission } from '../_types';
10
10
  export interface IPermissionByUserGroupsHelperDeps {
11
11
  'core.domain.permission.helpers.simplePermission': ISimplePermissionHelper;
@@ -1,4 +1,4 @@
1
- import { type IPermissionRepo } from 'infra/permission/permissionRepo';
1
+ import { type IPermissionRepo } from '../../../infra/permission/permissionRepo';
2
2
  import { type IGetPermissionsByActionsParams } from '../_types';
3
3
  interface IDeps {
4
4
  'core.infra.permission': IPermissionRepo;
@@ -1,7 +1,7 @@
1
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
2
- import { type IElementAncestorsHelper } from 'domain/tree/helpers/elementAncestors';
3
- import { type IPermissionRepo } from 'infra/permission/permissionRepo';
4
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IAttributeDomain } from '../../attribute/attributeDomain';
2
+ import { type IElementAncestorsHelper } from '../../tree/helpers/elementAncestors';
3
+ import { type IPermissionRepo } from '../../../infra/permission/permissionRepo';
4
+ import { type IQueryInfos } from '../../../_types/queryInfos';
5
5
  import { type IGetInheritedTreeBasedPermissionParams, type IGetTreeBasedPermissionParams } from '../_types';
6
6
  import { type IPermissionByUserGroupsHelper } from './permissionByUserGroups';
7
7
  import { type IReducePermissionsArrayHelper } from './reducePermissionsArray';
@@ -1,8 +1,8 @@
1
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
1
+ import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
2
2
  import { type i18n } from 'i18next';
3
- import { type IPermissionRepo } from 'infra/permission/permissionRepo';
4
- import { type IConfig } from '_types/config';
5
- import { type IQueryInfos } from '_types/queryInfos';
3
+ import { type IPermissionRepo } from '../../infra/permission/permissionRepo';
4
+ import { type IConfig } from '../../_types/config';
5
+ import { type IQueryInfos } from '../../_types/queryInfos';
6
6
  import { type ICachesService } from '../../infra/cache/cacheService';
7
7
  import { type ILabeledPermissionsAction, type IPermission, PermissionTypes } from '../../_types/permissions';
8
8
  import { type IAdminPermissionDomain } from './adminPermissionDomain';
@@ -1,5 +1,5 @@
1
- import { type IValueRepo } from 'infra/value/valueRepo';
2
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IValueRepo } from '../../infra/value/valueRepo';
2
+ import { type IQueryInfos } from '../../_types/queryInfos';
3
3
  import { RecordAttributePermissionsActions } from '../../_types/permissions';
4
4
  import { type IAttributeDomain } from '../attribute/attributeDomain';
5
5
  import { type IAttributePermissionDomain } from './attributePermissionDomain';
@@ -1,5 +1,5 @@
1
- import { type GetCoreEntityByIdFunc } from 'domain/helpers/getCoreEntityById';
2
- import { type IValueRepo } from 'infra/value/valueRepo';
1
+ import { type GetCoreEntityByIdFunc } from '../helpers/getCoreEntityById';
2
+ import { type IValueRepo } from '../../infra/value/valueRepo';
3
3
  import { type IAttributeDomain } from '../attribute/attributeDomain';
4
4
  import { type IPermissionByUserGroupsHelper } from './helpers/permissionByUserGroups';
5
5
  import { type ITreeBasedPermissionHelper } from './helpers/treeBasedPermissions';
@@ -8,7 +8,7 @@ import { type IEstimateTreeValueRecordPermissionParams, type IGetInheritedRecord
8
8
  import { type ITreeRepo } from '../../infra/tree/treeRepo';
9
9
  import { type IRecordRepo } from '../../infra/record/recordRepo';
10
10
  import { type IRecordInCreationBypassHelper } from './helpers/recordInCreationBypass';
11
- import { type IUtils } from 'utils/utils';
11
+ import { type IUtils } from '../../utils/utils';
12
12
  export interface IRecordPermissionDomain {
13
13
  getRecordPermission(params: IGetRecordPermissionParams): Promise<boolean>;
14
14
  getInheritedRecordPermission(params: IGetInheritedRecordPermissionParams): Promise<boolean>;
@@ -1,13 +1,13 @@
1
- import { type GetCoreEntityByIdFunc } from 'domain/helpers/getCoreEntityById';
2
- import { type ITreeRepo } from 'infra/tree/treeRepo';
3
- import { type IValueRepo } from 'infra/value/valueRepo';
1
+ import { type GetCoreEntityByIdFunc } from '../helpers/getCoreEntityById';
2
+ import { type ITreeRepo } from '../../infra/tree/treeRepo';
3
+ import { type IValueRepo } from '../../infra/value/valueRepo';
4
4
  import { type IAttributeDomain } from '../attribute/attributeDomain';
5
5
  import { type IPermissionByUserGroupsHelper } from './helpers/permissionByUserGroups';
6
6
  import { type ITreeBasedPermissionHelper } from './helpers/treeBasedPermissions';
7
7
  import { type ITreeLibraryPermissionDomain } from './treeLibraryPermissionDomain';
8
8
  import { type ITreePermissionDomain } from './treePermissionDomain';
9
9
  import { type IGetInheritedTreeNodePermissionParams, type IGetTreeNodePermissionParams } from './_types';
10
- import { type IElementAncestorsHelper } from 'domain/tree/helpers/elementAncestors';
10
+ import { type IElementAncestorsHelper } from '../tree/helpers/elementAncestors';
11
11
  export interface ITreeNodePermissionDomain {
12
12
  getTreeNodePermission(params: IGetTreeNodePermissionParams): Promise<boolean>;
13
13
  getInheritedTreeNodePermission(params: IGetInheritedTreeNodePermissionParams): Promise<boolean>;
@@ -1,7 +1,7 @@
1
- import { IPluginsRepo } from 'infra/plugins/pluginsRepo';
2
- import { IPluginInfos, IRegisteredPlugin } from '_types/plugin';
1
+ import { IPluginsRepo } from '../../infra/plugins/pluginsRepo';
2
+ import { IPluginInfos, IRegisteredPlugin } from '../../_types/plugin';
3
3
  import { IQueryInfos } from '../../_types/queryInfos';
4
- import { type IAdminPermissionDomain } from 'domain/permission/adminPermissionDomain';
4
+ import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain';
5
5
  interface IDeps {
6
6
  'core.domain.permission.admin': IAdminPermissionDomain;
7
7
  'core.infra.plugins': IPluginsRepo;
@@ -1,8 +1,8 @@
1
1
  import { type ErrorTypes } from '@leav/utils';
2
- import { type Errors } from '_types/errors';
3
- import { type ICursorPaginationParams, type IPaginationParams } from '_types/list';
4
- import { type IRecord, type IRecordFilterLight, type IRecordSortLight } from '_types/record';
5
- import { type IValue, type IValuesOptions, type IValueVersion } from '_types/value';
2
+ import { type Errors } from '../../_types/errors';
3
+ import { type ICursorPaginationParams, type IPaginationParams } from '../../_types/list';
4
+ import { type IRecord, type IRecordFilterLight, type IRecordSortLight } from '../../_types/record';
5
+ import { type IValue, type IValuesOptions, type IValueVersion } from '../../_types/value';
6
6
  export interface IFindRecordParams {
7
7
  library: string;
8
8
  filters?: IRecordFilterLight[];
@@ -1,6 +1,6 @@
1
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
2
- import { type ILibraryPermissionDomain } from 'domain/permission/libraryPermissionDomain';
3
- import { type IRecordRepo } from 'infra/record/recordRepo';
1
+ import { type IEventsManagerDomain } from '../../eventsManager/eventsManagerDomain';
2
+ import { type ILibraryPermissionDomain } from '../../permission/libraryPermissionDomain';
3
+ import { type IRecordRepo } from '../../../infra/record/recordRepo';
4
4
  import { type IQueryInfos } from '../../../_types/queryInfos';
5
5
  import { type IRecord } from '../../../_types/record';
6
6
  import { type ICreateRecordValueError } from '../_types';
@@ -1,23 +1,25 @@
1
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
1
+ import { type IEventsManagerDomain } from '../../eventsManager/eventsManagerDomain';
2
2
  import { type IQueryInfos } from '../../../_types/queryInfos';
3
- import { type IRecordPermissionDomain } from 'domain/permission/recordPermissionDomain';
4
- import { type IValidateHelper } from 'domain/helpers/validate';
5
- import { type IRecordRepo } from 'infra/record/recordRepo';
6
- import { type ITreeRepo } from 'infra/tree/treeRepo';
7
- import { type IValueRepo } from 'infra/value/valueRepo';
3
+ import { type IRecordPermissionDomain } from '../../permission/recordPermissionDomain';
4
+ import { type IRecordRepo } from '../../../infra/record/recordRepo';
5
+ import { type ITreeRepo } from '../../../infra/tree/treeRepo';
6
+ import { type IValueRepo } from '../../../infra/value/valueRepo';
8
7
  import { type IRecord } from '../../../_types/record';
9
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
10
- import { type IAttributeSimpleLinkRepo } from 'infra/attributeTypes/attributeSimpleLinkRepo';
8
+ import { type IAttributeDomain } from '../../attribute/attributeDomain';
9
+ import { type IAttributeSimpleLinkRepo } from '../../../infra/attributeTypes/attributeSimpleLinkRepo';
10
+ import { type IValueDomain } from '../../value/valueDomain';
11
+ import { type IfLibraryJoinLinkAttribute } from '../../attribute/helpers/ifLibraryJoinLinkAttribute';
11
12
  export type DeleteRecordHelper = (library: string, id: string, ctx: IQueryInfos) => Promise<IRecord>;
12
13
  interface IDeps {
13
- 'core.domain.helpers.validate': IValidateHelper;
14
14
  'core.domain.eventsManager': IEventsManagerDomain;
15
15
  'core.domain.permission.record': IRecordPermissionDomain;
16
16
  'core.domain.attribute': IAttributeDomain;
17
+ 'core.domain.value': IValueDomain;
17
18
  'core.infra.attributeTypes.attributeSimpleLink'?: IAttributeSimpleLinkRepo;
19
+ 'core.domain.attribute.helpers.ifLibraryJoinLinkAttribute': IfLibraryJoinLinkAttribute;
18
20
  'core.infra.record': IRecordRepo;
19
21
  'core.infra.tree': ITreeRepo;
20
22
  'core.infra.value': IValueRepo;
21
23
  }
22
- export default function ({ 'core.domain.eventsManager': eventsManager, 'core.domain.helpers.validate': validateHelper, 'core.domain.permission.record': recordPermissionDomain, 'core.domain.attribute': attributeDomain, 'core.infra.attributeTypes.attributeSimpleLink': attributeSimpleLinkRepo, 'core.infra.record': recordRepo, 'core.infra.tree': treeRepo, 'core.infra.value': valueRepo, }: IDeps): DeleteRecordHelper;
24
+ export default function ({ 'core.domain.eventsManager': eventsManager, 'core.domain.permission.record': recordPermissionDomain, 'core.domain.attribute': attributeDomain, 'core.domain.value': valueDomain, 'core.infra.attributeTypes.attributeSimpleLink': attributeSimpleLinkRepo, 'core.domain.attribute.helpers.ifLibraryJoinLinkAttribute': ifLibraryJoinLinkAttribute, 'core.infra.record': recordRepo, 'core.infra.tree': treeRepo, 'core.infra.value': valueRepo, }: IDeps): DeleteRecordHelper;
23
25
  export {};
@@ -1,5 +1,5 @@
1
- import { type ILibraryPermissionDomain } from 'domain/permission/libraryPermissionDomain';
2
- import { type IRecordRepo } from 'infra/record/recordRepo';
1
+ import { type ILibraryPermissionDomain } from '../../permission/libraryPermissionDomain';
2
+ import { type IRecordRepo } from '../../../infra/record/recordRepo';
3
3
  import { type IQueryInfos } from '../../../_types/queryInfos';
4
4
  import { type IRecord } from '../../../_types/record';
5
5
  import { type IFindRecordParams } from '../_types';
@@ -1,10 +1,10 @@
1
- import { type IAttribute } from '_types/attribute';
2
- import { type IQueryInfos } from '_types/queryInfos';
3
- import { type ITreeNode } from '_types/tree';
4
- import { type GetCoreEntityByIdFunc } from 'domain/helpers/getCoreEntityById';
5
- import { type IPermissionRepo } from 'infra/permission/permissionRepo';
6
- import { type ITreeRepo } from 'infra/tree/treeRepo';
7
- import { type IDefaultPermissionHelper } from 'domain/permission/helpers/defaultPermission';
1
+ import { type IAttribute } from '../../../_types/attribute';
2
+ import { type IQueryInfos } from '../../../_types/queryInfos';
3
+ import { type ITreeNode } from '../../../_types/tree';
4
+ import { type GetCoreEntityByIdFunc } from '../../helpers/getCoreEntityById';
5
+ import { type IPermissionRepo } from '../../../infra/permission/permissionRepo';
6
+ import { type ITreeRepo } from '../../../infra/tree/treeRepo';
7
+ import { type IDefaultPermissionHelper } from '../../permission/helpers/defaultPermission';
8
8
  interface IAccessPermissionFilterDeps {
9
9
  'core.domain.helpers.getCoreEntityById': GetCoreEntityByIdFunc;
10
10
  'core.infra.tree': ITreeRepo;
@@ -1,7 +1,7 @@
1
- import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
2
- import { type ILibraryRepo } from 'infra/library/libraryRepo';
3
- import { type ITreeRepo } from 'infra/tree/treeRepo';
4
- import { type IQueryInfos } from '_types/queryInfos';
1
+ import { type IAttributeDomain } from '../../attribute/attributeDomain';
2
+ import { type ILibraryRepo } from '../../../infra/library/libraryRepo';
3
+ import { type ITreeRepo } from '../../../infra/tree/treeRepo';
4
+ import { type IQueryInfos } from '../../../_types/queryInfos';
5
5
  import { type IAttribute } from '../../../_types/attribute';
6
6
  import { type IRecordFilterLight } from '../../../_types/record';
7
7
  interface IDeps {
@@ -1,6 +1,6 @@
1
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
2
- import { type IQueryInfos } from '_types/queryInfos';
3
- import { type IRecord, type IRecordUpdateEvent } from '_types/record';
1
+ import { type IEventsManagerDomain } from '../../eventsManager/eventsManagerDomain';
2
+ import { type IQueryInfos } from '../../../_types/queryInfos';
3
+ import { type IRecord, type IRecordUpdateEvent } from '../../../_types/record';
4
4
  type RequiredOnField<T, F extends keyof T> = Required<Pick<T, F>> & Omit<T, F>;
5
5
  export declare const isRecordWithId: (record: IRecord) => record is RequiredOnField<IRecord, "id">;
6
6
  export type SendRecordUpdateEventHelper = (record: IRecord, updatedValues: IRecordUpdateEvent['updatedValues'], ctx: IQueryInfos) => void;
@@ -1,13 +1,13 @@
1
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
2
- import { type GetCoreEntityByIdFunc } from 'domain/helpers/getCoreEntityById';
3
- import { type IValidateHelper } from 'domain/helpers/validate';
4
- import { type IValueDomain } from 'domain/value/valueDomain';
1
+ import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
2
+ import { type GetCoreEntityByIdFunc } from '../helpers/getCoreEntityById';
3
+ import { type IValidateHelper } from '../helpers/validate';
4
+ import { type IValueDomain } from '../value/valueDomain';
5
5
  import { type i18n } from 'i18next';
6
- import { type IRecordRepo } from 'infra/record/recordRepo';
7
- import { type IUtils } from 'utils/utils';
8
- import type * as Config from '_types/config';
9
- import { type IListWithCursor } from '_types/list';
10
- import { type ISaveValue, type IValue, type IValuesOptions } from '_types/value';
6
+ import { type IRecordRepo } from '../../infra/record/recordRepo';
7
+ import { type IUtils } from '../../utils/utils';
8
+ import type * as Config from '../../_types/config';
9
+ import { type IListWithCursor } from '../../_types/list';
10
+ import { type ISaveValue, type IValue, type IValuesOptions } from '../../_types/value';
11
11
  import { type ICachesService } from '../../infra/cache/cacheService';
12
12
  import { type IQueryInfos } from '../../_types/queryInfos';
13
13
  import { type IRecord, type IRecordFilterLight, type IRecordIdentity } from '../../_types/record';
@@ -15,10 +15,10 @@ import { type IAttributeDomain } from '../attribute/attributeDomain';
15
15
  import { type IRecordPermissionDomain } from '../permission/recordPermissionDomain';
16
16
  import { type SendRecordUpdateEventHelper } from './helpers/sendRecordUpdateEvent';
17
17
  import { type IDuplicateRecordResult, type ICreateRecordResult, type ICreateRecordValueError, type IFindRecordParams } from './_types';
18
- import { type IFormRepo } from 'infra/form/formRepo';
18
+ import { type IFormRepo } from '../../infra/form/formRepo';
19
19
  import { type DeleteRecordHelper } from './helpers/deleteRecord';
20
20
  import { type CreateRecordHelper } from './helpers/createRecord';
21
- import { type IElementAncestorsHelper } from 'domain/tree/helpers/elementAncestors';
21
+ import { type IElementAncestorsHelper } from '../tree/helpers/elementAncestors';
22
22
  import { type ILogger } from '@leav/logger';
23
23
  import { type FindRecordsHelper } from './helpers/findRecords';
24
24
  export declare const ATTRIBUTE_ACTIVE = "active";
@@ -1,13 +1,13 @@
1
1
  import { type IAmqpService } from '@leav/message-broker';
2
2
  import { type AwilixContainer } from 'awilix';
3
- import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
4
- import { type IAdminPermissionDomain } from 'domain/permission/adminPermissionDomain';
5
- import { type IUtils } from 'utils/utils';
3
+ import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
4
+ import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain';
5
+ import { type IUtils } from '../../utils/utils';
6
6
  import { type ILogger } from '@leav/logger';
7
- import type * as Config from '_types/config';
8
- import { type IQueryInfos } from '_types/queryInfos';
9
- import { type IGetCoreEntitiesParams } from '_types/shared';
10
- import { type ISystemTranslation } from '_types/systemTranslation';
7
+ import type * as Config from '../../_types/config';
8
+ import { type IQueryInfos } from '../../_types/queryInfos';
9
+ import { type IGetCoreEntitiesParams } from '../../_types/shared';
10
+ import { type ISystemTranslation } from '../../_types/systemTranslation';
11
11
  import { type ITaskRepo } from '../../infra/task/taskRepo';
12
12
  import { type IList } from '../../_types/list';
13
13
  import { type ITask, type ITaskCallback, type ITaskCancelPayload, type ITaskCreatePayload, type ITaskDeletePayload, TaskStatus } from '../../_types/tasksManager';
@@ -1,5 +1,5 @@
1
- import { type ITreeDomain } from 'domain/tree/treeDomain';
2
- import { type ITreeRepo } from 'infra/tree/treeRepo';
1
+ import { type ITreeDomain } from '../treeDomain';
2
+ import { type ITreeRepo } from '../../../infra/tree/treeRepo';
3
3
  import { type ICachesService } from '../../../infra/cache/cacheService';
4
4
  interface IDeps {
5
5
  'core.infra.tree': ITreeRepo;