@aristid/leav-types 1.12.0-1 → 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.
- package/apps/core/src/__tests__/e2e/api/_fixtures/fakeplugin/index.d.ts +2 -2
- package/apps/core/src/__tests__/e2e/api/e2eUtils.d.ts +4 -4
- package/apps/core/src/__tests__/e2e/api/globalSetup.d.ts +1 -1
- package/apps/core/src/__tests__/e2e/api/notificationUtils.d.ts +1 -1
- package/apps/core/src/__tests__/integration/infra/integrationTestRepoUtils.d.ts +5 -5
- package/apps/core/src/__tests__/mocks/globalSettings.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/library.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/plugins.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/record.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/shared.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/value.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/versionProfile.d.ts +1 -1
- package/apps/core/src/_types/actionsList.d.ts +1 -1
- package/apps/core/src/_types/migration.d.ts +1 -1
- package/apps/core/src/_types/permissions.d.ts +1 -0
- package/apps/core/src/_types/queryInfos.d.ts +1 -1
- package/apps/core/src/_types/record.d.ts +1 -1
- package/apps/core/src/_types/value.d.ts +2 -2
- package/apps/core/src/app/application/applicationApp.d.ts +9 -9
- package/apps/core/src/app/auth/authApp.d.ts +8 -8
- package/apps/core/src/app/core/actionListApp.d.ts +3 -3
- package/apps/core/src/app/core/apiKeyApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/apiKeyApp/apiKeyApp.d.ts +3 -3
- package/apps/core/src/app/core/attributeApp/attributeApp.d.ts +9 -9
- package/apps/core/src/app/core/coreApp.d.ts +5 -5
- package/apps/core/src/app/core/discussionApp.d.ts +2 -2
- package/apps/core/src/app/core/eventsManagerApp.d.ts +4 -4
- package/apps/core/src/app/core/exportApp.d.ts +2 -2
- package/apps/core/src/app/core/filesManagerApp.d.ts +5 -5
- package/apps/core/src/app/core/formApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/formApp/formApp.d.ts +8 -8
- package/apps/core/src/app/core/globalSettingsApp.d.ts +7 -7
- package/apps/core/src/app/core/helpers/subscriptions.d.ts +1 -1
- package/apps/core/src/app/core/importApp.d.ts +4 -4
- package/apps/core/src/app/core/indexationManagerApp.d.ts +2 -2
- package/apps/core/src/app/core/libraryApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/libraryApp/libraryApp.d.ts +7 -7
- package/apps/core/src/app/core/logApp.d.ts +12 -12
- package/apps/core/src/app/core/logsCollectorApp.d.ts +1 -1
- package/apps/core/src/app/core/notificationApp.d.ts +3 -3
- package/apps/core/src/app/core/permissionApp/_types.d.ts +1 -1
- package/apps/core/src/app/core/permissionApp/permissionApp.d.ts +4 -4
- package/apps/core/src/app/core/pluginsApp.d.ts +3 -3
- package/apps/core/src/app/core/recordApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/recordApp/recordApp.d.ts +8 -8
- package/apps/core/src/app/core/tasksManagerApp.d.ts +8 -8
- package/apps/core/src/app/core/treeApp/_types.d.ts +4 -4
- package/apps/core/src/app/core/treeApp/treeApp.d.ts +5 -5
- package/apps/core/src/app/core/userDataApp.d.ts +1 -1
- package/apps/core/src/app/core/valueApp.d.ts +6 -6
- package/apps/core/src/app/core/versionProfileApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/versionProfileApp/versionProfileApp.d.ts +3 -3
- package/apps/core/src/app/core/viewApp.d.ts +5 -5
- package/apps/core/src/app/endpoint/endpointApp.d.ts +3 -3
- package/apps/core/src/app/graphql/customScalars/dateTime/dateTime.d.ts +1 -1
- package/apps/core/src/app/graphql/customScalars/systemTranslation/systemTranslation.d.ts +1 -1
- package/apps/core/src/app/graphql/graphqlApp.d.ts +3 -3
- package/apps/core/src/app/helpers/convertVersionFromGqlFormat.d.ts +1 -1
- package/apps/core/src/app/helpers/initQueryContext.d.ts +2 -2
- package/apps/core/src/domain/actions/excelCalculationAction.d.ts +2 -2
- package/apps/core/src/domain/actions/inheritanceCalculationAction.d.ts +2 -2
- package/apps/core/src/domain/actions/replaceAnotherAttributeAction.d.ts +3 -3
- package/apps/core/src/domain/apiKey/apiKeyDomain.d.ts +6 -6
- package/apps/core/src/domain/application/applicationDomain.d.ts +7 -7
- package/apps/core/src/domain/application/helpers/getLibrarySystemPanels.d.ts +2 -2
- package/apps/core/src/domain/attribute/attributeDomain.d.ts +12 -12
- package/apps/core/src/domain/attribute/helpers/attributeALHelper.d.ts +1 -1
- package/apps/core/src/domain/attribute/helpers/attributeValidationHelper.d.ts +6 -6
- package/apps/core/src/domain/attribute/helpers/ifLibraryJoinLinkAttribute.d.ts +2 -2
- package/apps/core/src/domain/discussion/discussionDomain.d.ts +7 -7
- package/apps/core/src/domain/eventsManager/eventsManagerDomain.d.ts +4 -4
- package/apps/core/src/domain/export/exportDomain.d.ts +8 -8
- package/apps/core/src/domain/export/exportProfileDomain.d.ts +2 -2
- package/apps/core/src/domain/filesManager/_constants.d.ts +1 -1
- package/apps/core/src/domain/filesManager/filesManagerDomain.d.ts +13 -13
- package/apps/core/src/domain/filesManager/helpers/extractFileMetadata.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/getRootPathByKey.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/_types.d.ts +12 -12
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleCreateEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleFileSystemEvent.d.ts +10 -10
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleMoveEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleRemoveEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleUpdateEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileUtilsHelper.d.ts +7 -7
- package/apps/core/src/domain/filesManager/helpers/handlePreview.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handlePreviewResponse.d.ts +9 -9
- package/apps/core/src/domain/filesManager/helpers/messagesHandler/messagesHandler.d.ts +3 -3
- package/apps/core/src/domain/form/formDomain.d.ts +12 -12
- package/apps/core/src/domain/form/helpers/getElementValues.d.ts +4 -4
- package/apps/core/src/domain/form/helpers/mustIncludeElement.d.ts +4 -4
- package/apps/core/src/domain/globalSettings/globalSettingsDomain.d.ts +5 -5
- package/apps/core/src/domain/helpers/calculations/calculationVariable.d.ts +1 -1
- package/apps/core/src/domain/helpers/calculations/calculationsVariableFunctions.d.ts +4 -4
- package/apps/core/src/domain/helpers/createDirectory.d.ts +2 -2
- package/apps/core/src/domain/helpers/getCoreEntityById.d.ts +7 -7
- package/apps/core/src/domain/helpers/updateRecordLastModif.d.ts +4 -4
- package/apps/core/src/domain/helpers/updateTaskProgress.d.ts +3 -3
- package/apps/core/src/domain/helpers/validate.d.ts +6 -6
- package/apps/core/src/domain/import/importDomain.d.ts +11 -11
- package/apps/core/src/domain/indexationManager/indexationManagerDomain.d.ts +9 -9
- package/apps/core/src/domain/library/helpers/checkSavePermission.d.ts +2 -2
- package/apps/core/src/domain/library/helpers/deleteAssociatedValues.d.ts +5 -5
- package/apps/core/src/domain/library/helpers/runBehaviorPostSave.d.ts +6 -6
- package/apps/core/src/domain/library/helpers/runPreDelete.d.ts +4 -4
- package/apps/core/src/domain/library/helpers/updateAssociatedForms.d.ts +2 -2
- package/apps/core/src/domain/library/helpers/validateLibAttributes.d.ts +3 -3
- package/apps/core/src/domain/library/helpers/validateLibFullTextAttributes.d.ts +1 -1
- package/apps/core/src/domain/library/helpers/validatePermConf.d.ts +4 -4
- package/apps/core/src/domain/library/helpers/validatePreviewsSettings.d.ts +1 -1
- package/apps/core/src/domain/library/helpers/validateRecordIdentityConf.d.ts +3 -3
- package/apps/core/src/domain/library/libraryDomain.d.ts +11 -11
- package/apps/core/src/domain/log/logDomain.d.ts +5 -5
- package/apps/core/src/domain/logsCollector/logsCollectorDomain.d.ts +1 -1
- package/apps/core/src/domain/notification/channels/emailChannel.d.ts +4 -4
- package/apps/core/src/domain/notification/channels/webSocketChannel.d.ts +1 -1
- package/apps/core/src/domain/notification/notificationDomain.d.ts +3 -3
- package/apps/core/src/domain/permission/_types.d.ts +2 -2
- package/apps/core/src/domain/permission/attributeDependentValuesPermissionDomain.d.ts +3 -3
- package/apps/core/src/domain/permission/helpers/defaultPermission.d.ts +3 -3
- package/apps/core/src/domain/permission/helpers/getPermissionCacheKey.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/getPermissionCachePatternKey.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/globalPermission.d.ts +2 -2
- package/apps/core/src/domain/permission/helpers/permissionByUserGroups.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/permissionsByActions.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/treeBasedPermissions.d.ts +4 -4
- package/apps/core/src/domain/permission/permissionDomain.d.ts +4 -4
- package/apps/core/src/domain/permission/recordAttributePermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/permission/recordPermissionDomain.d.ts +3 -3
- package/apps/core/src/domain/permission/treeNodePermissionDomain.d.ts +4 -4
- package/apps/core/src/domain/plugins/pluginsDomain.d.ts +3 -3
- package/apps/core/src/domain/record/_types.d.ts +4 -4
- package/apps/core/src/domain/record/helpers/createRecord.d.ts +3 -3
- package/apps/core/src/domain/record/helpers/deleteRecord.d.ts +9 -9
- package/apps/core/src/domain/record/helpers/findRecords.d.ts +2 -2
- package/apps/core/src/domain/record/helpers/getAccessPermissionFilters.d.ts +7 -7
- package/apps/core/src/domain/record/helpers/getAttributesFromField.d.ts +4 -4
- package/apps/core/src/domain/record/helpers/sendRecordUpdateEvent.d.ts +3 -3
- package/apps/core/src/domain/record/recordDomain.d.ts +11 -11
- package/apps/core/src/domain/tasksManager/tasksManagerDomain.d.ts +7 -7
- package/apps/core/src/domain/tree/helpers/elementAncestors.d.ts +2 -2
- package/apps/core/src/domain/tree/helpers/getDefaultElement.d.ts +3 -3
- package/apps/core/src/domain/tree/helpers/handleRemovedLibraries.d.ts +3 -3
- package/apps/core/src/domain/tree/helpers/treeDataValidation.d.ts +3 -3
- package/apps/core/src/domain/tree/treeDomain.d.ts +10 -10
- package/apps/core/src/domain/user/userDomain.d.ts +10 -10
- package/apps/core/src/domain/value/_types.d.ts +5 -5
- package/apps/core/src/domain/value/helpers/areValuesIdentical.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/canSaveRecordValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/doesValueExist.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/findValue.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/formatLogValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/isEmptyValue.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/postDeleteValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/postSaveValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/prepareValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/saveOneValue.d.ts +8 -8
- package/apps/core/src/domain/value/helpers/validateValue.d.ts +4 -4
- package/apps/core/src/domain/value/tasks/purgeMultipleValues.d.ts +1 -1
- package/apps/core/src/domain/value/tasks/saveValueBulk.d.ts +3 -3
- package/apps/core/src/domain/value/valueDomain.d.ts +16 -16
- package/apps/core/src/domain/versionProfile/versionProfileDomain.d.ts +10 -10
- package/apps/core/src/domain/view/viewDomain.d.ts +7 -7
- package/apps/core/src/i18nextInit.d.ts +1 -1
- package/apps/core/src/infra/apiKey/apiKeyRepo.d.ts +5 -5
- package/apps/core/src/infra/application/applicationRepo.d.ts +3 -3
- package/apps/core/src/infra/attribute/attributeRepo.d.ts +4 -4
- package/apps/core/src/infra/attributeTypes/attributeAdvancedLinkRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeAdvancedRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeSimpleLinkRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeSimpleRepo.d.ts +1 -1
- package/apps/core/src/infra/attributeTypes/attributeTreeRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeTypesRepo.d.ts +1 -1
- package/apps/core/src/infra/cache/cacheService.d.ts +2 -2
- package/apps/core/src/infra/cache/diskService.d.ts +1 -1
- package/apps/core/src/infra/cache/redis.d.ts +1 -1
- package/apps/core/src/infra/db/_types.d.ts +1 -1
- package/apps/core/src/infra/db/db.d.ts +1 -1
- package/apps/core/src/infra/db/dbService.d.ts +2 -2
- package/apps/core/src/infra/db/dbUtils.d.ts +4 -4
- package/apps/core/src/infra/db/helpers/runMigrationFiles.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/000-init/index.d.ts +3 -3
- package/apps/core/src/infra/db/migrations/000-init/systemAttributes.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/001-delInstallApps.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/002-previewsSettings.d.ts +4 -4
- package/apps/core/src/infra/db/migrations/003-filesMetadata.d.ts +3 -3
- package/apps/core/src/infra/db/migrations/004-formsLabels.d.ts +2 -2
- package/apps/core/src/infra/db/migrations/005-viewSortToArray.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/007-updateHexColor.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/010-formSidePanel.d.ts +2 -2
- package/apps/core/src/infra/db/migrations/013-passwordAttributeMaskValue.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/014-notificationsCollection.d.ts +1 -1
- package/apps/core/src/infra/elasticsearch/elasticsearchClient.d.ts +1 -1
- package/apps/core/src/infra/elasticsearch/elasticsearchService.d.ts +1 -1
- package/apps/core/src/infra/filesManager/filesManagerRepo.d.ts +4 -4
- package/apps/core/src/infra/form/formRepo.d.ts +6 -6
- package/apps/core/src/infra/globalSettings/globalSettingsRepo.d.ts +3 -3
- package/apps/core/src/infra/indexation/helpers/getSearchQuery.d.ts +1 -1
- package/apps/core/src/infra/indexation/indexationService.d.ts +3 -3
- package/apps/core/src/infra/library/libraryRepo.d.ts +2 -2
- package/apps/core/src/infra/log/logRepo.d.ts +4 -4
- package/apps/core/src/infra/mailer/mailer.d.ts +1 -1
- package/apps/core/src/infra/mailer/mailerService.d.ts +3 -3
- package/apps/core/src/infra/notification/notificationRepo.d.ts +3 -3
- package/apps/core/src/infra/permission/permissionRepo.d.ts +1 -1
- package/apps/core/src/infra/plugins/pluginsRepo.d.ts +1 -1
- package/apps/core/src/infra/record/helpers/getClassifyingFiltersVariableQueryPart.d.ts +2 -2
- package/apps/core/src/infra/record/helpers/getSearchVariablesQueryPart.d.ts +1 -1
- package/apps/core/src/infra/record/recordRepo.d.ts +5 -5
- package/apps/core/src/infra/task/taskRepo.d.ts +6 -6
- package/apps/core/src/infra/tree/_types.d.ts +1 -1
- package/apps/core/src/infra/tree/treeRepo.d.ts +5 -5
- package/apps/core/src/infra/userData/userDataRepo.d.ts +2 -2
- package/apps/core/src/infra/value/valueRepo.d.ts +5 -5
- package/apps/core/src/infra/versionProfile/versionProfileRepo.d.ts +6 -6
- package/apps/core/src/infra/view/_types.d.ts +5 -5
- package/apps/core/src/interface/cli.d.ts +1 -1
- package/apps/core/src/interface/filesManager.d.ts +1 -1
- package/apps/core/src/interface/helpers/handleGraphqlError.d.ts +3 -3
- package/apps/core/src/interface/indexationManager.d.ts +1 -1
- package/apps/core/src/interface/logsCollector.d.ts +1 -1
- package/apps/core/src/interface/server.d.ts +7 -7
- package/apps/core/src/interface/tasksManager.d.ts +1 -1
- package/apps/core/src/utils/configureDayjs.d.ts +1 -1
- package/apps/core/src/utils/dataloader.d.ts +1 -1
- package/apps/core/src/utils/helpers/getSystemQueryContext.d.ts +2 -2
- package/apps/core/src/utils/helpers/getValuesToDisplay.d.ts +1 -1
- package/apps/core/src/utils/logger/logger.d.ts +1 -1
- package/apps/core/src/utils/utils.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type ILibrary } from '_types/library';
|
|
2
|
-
import { type IPaginationParams, type ISortParams } from '_types/list';
|
|
3
|
-
import { type ITreePermissionsConf } from '_types/permissions';
|
|
4
|
-
import { type ITree, type ITreeElement, type ITreeFilterOptions, type ITreeLibrarySettings, type TreeEventTypes } from '_types/tree';
|
|
1
|
+
import { type ILibrary } from '../../../_types/library';
|
|
2
|
+
import { type IPaginationParams, type ISortParams } from '../../../_types/list';
|
|
3
|
+
import { type ITreePermissionsConf } from '../../../_types/permissions';
|
|
4
|
+
import { type ITree, type ITreeElement, type ITreeFilterOptions, type ITreeLibrarySettings, type TreeEventTypes } from '../../../_types/tree';
|
|
5
5
|
export interface ITreeLibraryForGraphQL {
|
|
6
6
|
library: ILibrary;
|
|
7
7
|
settings: ITreeLibrarySettings;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
|
|
2
|
-
import { type IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
|
|
3
|
-
import { type ILibraryDomain } from 'domain/library/libraryDomain';
|
|
4
|
-
import { type IPermissionDomain } from 'domain/permission/permissionDomain';
|
|
1
|
+
import { type IAttributeDomain } from '../../../domain/attribute/attributeDomain';
|
|
2
|
+
import { type IEventsManagerDomain } from '../../../domain/eventsManager/eventsManagerDomain';
|
|
3
|
+
import { type ILibraryDomain } from '../../../domain/library/libraryDomain';
|
|
4
|
+
import { type IPermissionDomain } from '../../../domain/permission/permissionDomain';
|
|
5
5
|
import { type ITreeDomain } from '../../../domain/tree/treeDomain';
|
|
6
6
|
import { type IGraphqlAppModule, type IGraphqlApp } from '../../graphql/graphqlApp';
|
|
7
7
|
import { type ICoreApp } from '../coreApp';
|
|
8
8
|
import { type ICoreSubscriptionsHelpersApp } from '../helpers/subscriptions';
|
|
9
9
|
import { type IRecordPermissionDomain } from '../../../domain/permission/recordPermissionDomain';
|
|
10
|
-
import { type IAttributeDependentValuesPermissionDomain } from 'domain/permission/attributeDependentValuesPermissionDomain';
|
|
10
|
+
import { type IAttributeDependentValuesPermissionDomain } from '../../../domain/permission/attributeDependentValuesPermissionDomain';
|
|
11
11
|
export type ITreeAttributeApp = IGraphqlAppModule;
|
|
12
12
|
interface IDeps {
|
|
13
13
|
'core.domain.tree': ITreeDomain;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IUserDomain } from '../../domain/user/userDomain';
|
|
2
|
-
import { type IGraphqlAppModule } from '
|
|
2
|
+
import { type IGraphqlAppModule } from '../graphql/graphqlApp';
|
|
3
3
|
export type ICoreImportApp = IGraphqlAppModule;
|
|
4
4
|
interface IDeps {
|
|
5
5
|
'core.domain.user': IUserDomain;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type ConvertVersionFromGqlFormatFunc } from '
|
|
2
|
-
import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
|
|
3
|
-
import { type IRecordDomain } from 'domain/record/recordDomain';
|
|
4
|
-
import { type IValueDomain } from 'domain/value/valueDomain';
|
|
5
|
-
import { type IUtils } from 'utils/utils';
|
|
6
|
-
import { type IGraphqlAppModule } from '
|
|
1
|
+
import { type ConvertVersionFromGqlFormatFunc } from '../helpers/convertVersionFromGqlFormat';
|
|
2
|
+
import { type IAttributeDomain } from '../../domain/attribute/attributeDomain';
|
|
3
|
+
import { type IRecordDomain } from '../../domain/record/recordDomain';
|
|
4
|
+
import { type IValueDomain } from '../../domain/value/valueDomain';
|
|
5
|
+
import { type IUtils } from '../../utils/utils';
|
|
6
|
+
import { type IGraphqlAppModule } from '../graphql/graphqlApp';
|
|
7
7
|
import { type ISaveValueBulkTask } from '../../domain/value/tasks/saveValueBulk';
|
|
8
8
|
import { type IPurgeMultipleValuesTask } from '../../domain/value/tasks/purgeMultipleValues';
|
|
9
9
|
export type ICoreValueApp = IGraphqlAppModule;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type IPaginationParams, type SortOrder } from '_types/list';
|
|
2
|
-
import { type ISystemTranslation } from '_types/systemTranslation';
|
|
1
|
+
import { type IPaginationParams, type SortOrder } from '../../../_types/list';
|
|
2
|
+
import { type ISystemTranslation } from '../../../_types/systemTranslation';
|
|
3
3
|
export interface IVersionProfilesArgs {
|
|
4
4
|
filters: {
|
|
5
5
|
id?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ITreeDomain } from 'domain/tree/treeDomain';
|
|
2
|
-
import { type IVersionProfileDomain } from 'domain/versionProfile/versionProfileDomain';
|
|
3
|
-
import { type IGraphqlAppModule } from '
|
|
1
|
+
import { type ITreeDomain } from '../../../domain/tree/treeDomain';
|
|
2
|
+
import { type IVersionProfileDomain } from '../../../domain/versionProfile/versionProfileDomain';
|
|
3
|
+
import { type IGraphqlAppModule } from '../../graphql/graphqlApp';
|
|
4
4
|
export type ICoreVersionProfileApp = IGraphqlAppModule;
|
|
5
5
|
interface IDeps {
|
|
6
6
|
'core.domain.versionProfile'?: IVersionProfileDomain;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type IRecordDomain } from 'domain/record/recordDomain';
|
|
2
|
-
import { type IViewDomain } from 'domain/view/viewDomain';
|
|
3
|
-
import { type IUtils } from 'utils/utils';
|
|
4
|
-
import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
|
|
5
|
-
import { type IGraphqlAppModule } from '
|
|
1
|
+
import { type IRecordDomain } from '../../domain/record/recordDomain';
|
|
2
|
+
import { type IViewDomain } from '../../domain/view/viewDomain';
|
|
3
|
+
import { type IUtils } from '../../utils/utils';
|
|
4
|
+
import { type IAttributeDomain } from '../../domain/attribute/attributeDomain';
|
|
5
|
+
import { type IGraphqlAppModule } from '../graphql/graphqlApp';
|
|
6
6
|
interface IDeps {
|
|
7
7
|
'core.domain.record': IRecordDomain;
|
|
8
8
|
'core.domain.view': IViewDomain;
|
|
@@ -3,9 +3,9 @@ import { type IAppModule } from '../../_types/shared';
|
|
|
3
3
|
import { type ExpressAppMethod } from '../../_types/endpoint';
|
|
4
4
|
import { type InitQueryContextFunc } from '../helpers/initQueryContext';
|
|
5
5
|
import { type ValidateRequestTokenFunc } from '../helpers/validateRequestToken';
|
|
6
|
-
import { type IConfig } from '_types/config';
|
|
7
|
-
import { type IValueDomain } from 'domain/value/valueDomain';
|
|
8
|
-
import { type IServerRouteAppModule } from 'interface/server';
|
|
6
|
+
import { type IConfig } from '../../_types/config';
|
|
7
|
+
import { type IValueDomain } from '../../domain/value/valueDomain';
|
|
8
|
+
import { type IServerRouteAppModule } from '../../interface/server';
|
|
9
9
|
type IEndpointApp = IAppModule & IServerRouteAppModule;
|
|
10
10
|
export interface IPluginRoute {
|
|
11
11
|
path: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type AwilixContainer } from 'awilix';
|
|
2
2
|
import { type GraphQLResolveInfo, type GraphQLSchema } from 'graphql';
|
|
3
|
-
import { type IUtils } from 'utils/utils';
|
|
4
|
-
import { type IAppGraphQLSchema } from '_types/graphql';
|
|
5
|
-
import { type IAppModule } from '_types/shared';
|
|
3
|
+
import { type IUtils } from '../../utils/utils';
|
|
4
|
+
import { type IAppGraphQLSchema } from '../../_types/graphql';
|
|
5
|
+
import { type IAppModule } from '../../_types/shared';
|
|
6
6
|
import { type IQueryField } from '../../_types/record';
|
|
7
7
|
export interface IGraphqlApp extends IAppModule {
|
|
8
8
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type IValueVersion, type IValueVersionFromGql } from '_types/value';
|
|
1
|
+
import { type IValueVersion, type IValueVersionFromGql } from '../../_types/value';
|
|
2
2
|
export type ConvertVersionFromGqlFormatFunc = (version: IValueVersionFromGql) => IValueVersion;
|
|
3
3
|
export default function (): ConvertVersionFromGqlFormatFunc;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Request } from 'express';
|
|
2
|
-
import { type IConfig } from '_types/config';
|
|
3
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
2
|
+
import { type IConfig } from '../../_types/config';
|
|
3
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
4
4
|
interface IDeps {
|
|
5
5
|
config?: IConfig;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ILogger } from '@leav/logger';
|
|
2
|
-
import { type ICalculationVariable } from '
|
|
2
|
+
import { type ICalculationVariable } from '../helpers/calculations/calculationVariable';
|
|
3
3
|
import { type IActionsListFunction } from '../../_types/actionsList';
|
|
4
|
-
import { type IConfig } from '_types/config';
|
|
4
|
+
import { type IConfig } from '../../_types/config';
|
|
5
5
|
interface IDeps {
|
|
6
6
|
'core.domain.helpers.calculationVariable': ICalculationVariable;
|
|
7
7
|
config: IConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type IAttributeDomain } from '
|
|
2
|
-
import { type ICalculationVariable } from '
|
|
1
|
+
import { type IAttributeDomain } from '../attribute/attributeDomain';
|
|
2
|
+
import { type ICalculationVariable } from '../helpers/calculations/calculationVariable';
|
|
3
3
|
import { type IActionsListFunction } from '../../_types/actionsList';
|
|
4
4
|
interface IDeps {
|
|
5
5
|
'core.domain.helpers.calculationVariable'?: ICalculationVariable;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type IAttributeDomain } from '
|
|
2
|
-
import { type IValueDomain } from '
|
|
1
|
+
import { type IAttributeDomain } from '../attribute/attributeDomain';
|
|
2
|
+
import { type IValueDomain } from '../value/valueDomain';
|
|
3
3
|
import { type IActionsListFunction } from '../../_types/actionsList';
|
|
4
|
-
import { type IUtils } from 'utils/utils';
|
|
4
|
+
import { type IUtils } from '../../utils/utils';
|
|
5
5
|
interface IDeps {
|
|
6
6
|
'core.domain.value'?: IValueDomain;
|
|
7
7
|
'core.domain.attribute'?: IAttributeDomain;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type IEventsManagerDomain } from '
|
|
2
|
-
import { type IAdminPermissionDomain } from '
|
|
1
|
+
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
2
|
+
import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain';
|
|
3
3
|
import { type i18n } from 'i18next';
|
|
4
|
-
import { type IApiKeyRepo } from 'infra/apiKey/apiKeyRepo';
|
|
5
|
-
import { type IUtils } from 'utils/utils';
|
|
6
|
-
import { type IApiKey, type IGetCoreApiKeysParams } from '_types/apiKey';
|
|
7
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
4
|
+
import { type IApiKeyRepo } from '../../infra/apiKey/apiKeyRepo';
|
|
5
|
+
import { type IUtils } from '../../utils/utils';
|
|
6
|
+
import { type IApiKey, type IGetCoreApiKeysParams } from '../../_types/apiKey';
|
|
7
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
8
8
|
import { type IList } from '../../_types/list';
|
|
9
9
|
import { type IConfig } from '../../_types/config';
|
|
10
10
|
export interface IApiKeyDomain {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type IEventsManagerDomain } from '
|
|
2
|
-
import { type IAdminPermissionDomain } from '
|
|
3
|
-
import { type IUserDomain } from '
|
|
1
|
+
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
2
|
+
import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain';
|
|
3
|
+
import { type IUserDomain } from '../user/userDomain';
|
|
4
4
|
import { type i18n } from 'i18next';
|
|
5
|
-
import { type IApplicationRepo } from 'infra/application/applicationRepo';
|
|
6
|
-
import { type IUtils } from 'utils/utils';
|
|
7
|
-
import { type IConfig } from '_types/config';
|
|
8
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
5
|
+
import { type IApplicationRepo } from '../../infra/application/applicationRepo';
|
|
6
|
+
import { type IUtils } from '../../utils/utils';
|
|
7
|
+
import { type IConfig } from '../../_types/config';
|
|
8
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
9
9
|
import { type IApplication, type IApplicationModule, type IGetCoreApplicationsParams } from '../../_types/application';
|
|
10
10
|
import { type IList } from '../../_types/list';
|
|
11
11
|
import { type IAppStudioDomain } from './appStudioDomain';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type IApplication } from '_types/application';
|
|
1
|
+
import { type IApplication } from '../../../_types/application';
|
|
2
2
|
import { type i18n } from 'i18next';
|
|
3
|
-
import { type IConfig } from '_types/config';
|
|
3
|
+
import { type IConfig } from '../../../_types/config';
|
|
4
4
|
export interface IGetLibrarySystemPanelsHelperDeps {
|
|
5
5
|
translator: i18n;
|
|
6
6
|
config: IConfig;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { type IEventsManagerDomain } from '
|
|
2
|
-
import { type GetCoreEntityByIdFunc } from '
|
|
3
|
-
import { type IAdminPermissionDomain } from '
|
|
4
|
-
import { type IVersionProfileDomain } from '
|
|
5
|
-
import { type IAttributeRepo } from 'infra/attribute/attributeRepo';
|
|
6
|
-
import { type IFormRepo } from 'infra/form/formRepo';
|
|
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 ILibrary } from '_types/library';
|
|
11
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
1
|
+
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
2
|
+
import { type GetCoreEntityByIdFunc } from '../helpers/getCoreEntityById';
|
|
3
|
+
import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain';
|
|
4
|
+
import { type IVersionProfileDomain } from '../versionProfile/versionProfileDomain';
|
|
5
|
+
import { type IAttributeRepo } from '../../infra/attribute/attributeRepo';
|
|
6
|
+
import { type IFormRepo } from '../../infra/form/formRepo';
|
|
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 ILibrary } from '../../_types/library';
|
|
11
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
12
12
|
import { type ICachesService } from '../../infra/cache/cacheService';
|
|
13
13
|
import { type IAttribute, type IGetCoreAttributesParams, type IGetCoreFormAttributesParams, type IOAllowedTypes } from '../../_types/attribute';
|
|
14
14
|
import { type IList } from '../../_types/list';
|
|
15
15
|
import { type IActionsListDomain } from '../actionsList/actionsListDomain';
|
|
16
|
-
import { type IValidateHelper } from '
|
|
16
|
+
import { type IValidateHelper } from '../helpers/validate';
|
|
17
17
|
export interface IAttributeDomain {
|
|
18
18
|
getAttributeProperties({ id, ctx }: {
|
|
19
19
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IUtils } from 'utils/utils';
|
|
1
|
+
import { type IUtils } from '../../../utils/utils';
|
|
2
2
|
import { type ActionsListConfig } from '../../../_types/actionsList';
|
|
3
3
|
import { type IAttribute, type IOAllowedTypes } from '../../../_types/attribute';
|
|
4
4
|
declare const getAllowedInputTypes: (attribute: IAttribute) => IOAllowedTypes;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type IActionsListDomain } from '
|
|
2
|
-
import { type IVersionProfileDomain } from '
|
|
3
|
-
import { type IAttributeRepo } from 'infra/attribute/attributeRepo';
|
|
4
|
-
import { type ITreeRepo } from 'infra/tree/treeRepo';
|
|
5
|
-
import { type IUtils } from 'utils/utils';
|
|
6
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
1
|
+
import { type IActionsListDomain } from '../../actionsList/actionsListDomain';
|
|
2
|
+
import { type IVersionProfileDomain } from '../../versionProfile/versionProfileDomain';
|
|
3
|
+
import { type IAttributeRepo } from '../../../infra/attribute/attributeRepo';
|
|
4
|
+
import { type ITreeRepo } from '../../../infra/tree/treeRepo';
|
|
5
|
+
import { type IUtils } from '../../../utils/utils';
|
|
6
|
+
import { type IQueryInfos } from '../../../_types/queryInfos';
|
|
7
7
|
import { type IAttribute } from '../../../_types/attribute';
|
|
8
8
|
import { type ErrorFieldDetail } from '../../../_types/errors';
|
|
9
9
|
export declare const validateAttributeData: (attrData: IAttribute, deps: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type IAttribute } from '../../../_types/attribute';
|
|
2
2
|
import { type IQueryInfos } from '../../../_types/queryInfos';
|
|
3
|
-
import { type IAttributeDomain } from '
|
|
4
|
-
import { type GetCoreEntityByIdFunc } from '
|
|
3
|
+
import { type IAttributeDomain } from '../attributeDomain';
|
|
4
|
+
import { type GetCoreEntityByIdFunc } from '../../helpers/getCoreEntityById';
|
|
5
5
|
export type IfLibraryJoinLinkAttributeCallback<R> = (joinLibId: string, joinAttributeProps: IAttribute) => Promise<R>;
|
|
6
6
|
export type IfLibraryJoinLinkAttribute = <R = unknown>(attributeProps: IAttribute, callback: IfLibraryJoinLinkAttributeCallback<R>, ctx: IQueryInfos) => Promise<R | void>;
|
|
7
7
|
export interface IIfLibraryJoinLinkDeps {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type IDiscussionComment, type IPostDiscussionCommentParams } from '_types/discussion';
|
|
2
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
3
|
-
import { type INotificationDomain } from '
|
|
4
|
-
import { type IRecordDomain } from '
|
|
5
|
-
import { type IValueDomain } from '
|
|
6
|
-
import { type IUserDomain } from '
|
|
1
|
+
import { type IDiscussionComment, type IPostDiscussionCommentParams } from '../../_types/discussion';
|
|
2
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
3
|
+
import { type INotificationDomain } from '../notification/notificationDomain';
|
|
4
|
+
import { type IRecordDomain } from '../record/recordDomain';
|
|
5
|
+
import { type IValueDomain } from '../value/valueDomain';
|
|
6
|
+
import { type IUserDomain } from '../user/userDomain';
|
|
7
7
|
import { type i18n } from 'i18next';
|
|
8
|
-
import { type IConfig } from '_types/config';
|
|
8
|
+
import { type IConfig } from '../../_types/config';
|
|
9
9
|
export interface IDiscussionDomain {
|
|
10
10
|
postDiscussionComment(params: {
|
|
11
11
|
params?: IPostDiscussionCommentParams;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type IAmqpService } from '@leav/message-broker';
|
|
2
2
|
import { EventAction, type IPubSubPayload } from '@leav/utils';
|
|
3
3
|
import type * as amqp from 'amqplib';
|
|
4
|
-
import { type IUtils } from 'utils/utils';
|
|
4
|
+
import { type IUtils } from '../../utils/utils';
|
|
5
5
|
import { type ILogger } from '@leav/logger';
|
|
6
|
-
import type * as Config from '_types/config';
|
|
7
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
8
|
-
import { type IDbPayloadInternal } from '_types/events';
|
|
6
|
+
import type * as Config from '../../_types/config';
|
|
7
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
8
|
+
import { type IDbPayloadInternal } from '../../_types/events';
|
|
9
9
|
export interface IEventsManagerDomain {
|
|
10
10
|
sendDatabaseEvent<DBPayloadAction extends EventAction | unknown>(payload: IDbPayloadInternal<DBPayloadAction>, ctx: IQueryInfos): Promise<void>;
|
|
11
11
|
sendPubSubEvent(payload: IPubSubPayload, ctx: IQueryInfos): Promise<void>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { type IAttributeDomain } from '
|
|
2
|
-
import { type IEventsManagerDomain } from '
|
|
3
|
-
import { type UpdateTaskProgress } from '
|
|
4
|
-
import { type ILibraryDomain } from '
|
|
5
|
-
import { type IRecordDomain } from '
|
|
6
|
-
import { type ITasksManagerDomain } from '
|
|
1
|
+
import { type IAttributeDomain } from '../attribute/attributeDomain';
|
|
2
|
+
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
3
|
+
import { type UpdateTaskProgress } from '../helpers/updateTaskProgress';
|
|
4
|
+
import { type ILibraryDomain } from '../library/libraryDomain';
|
|
5
|
+
import { type IRecordDomain } from '../record/recordDomain';
|
|
6
|
+
import { type ITasksManagerDomain } from '../tasksManager/tasksManagerDomain';
|
|
7
7
|
import { type i18n } from 'i18next';
|
|
8
|
-
import { type IUtils } from 'utils/utils';
|
|
8
|
+
import { type IUtils } from '../../utils/utils';
|
|
9
9
|
import type * as Config from '../../_types/config';
|
|
10
10
|
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
11
11
|
import { type IRecordFilterLight } from '../../_types/record';
|
|
12
12
|
import { type ITaskFuncParams } from '../../_types/tasksManager';
|
|
13
13
|
import { type IValidateHelper } from '../helpers/validate';
|
|
14
|
-
import { type INotificationDomain } from '
|
|
14
|
+
import { type INotificationDomain } from '../notification/notificationDomain';
|
|
15
15
|
import { type IExportProfileDomain } from './exportProfileDomain';
|
|
16
16
|
export interface IExportParams {
|
|
17
17
|
library: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ILibraryDomain } from '../library/libraryDomain';
|
|
2
2
|
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
3
|
-
import { type IAttributeDomain } from '
|
|
4
|
-
import { type IConfig } from '_types/config';
|
|
3
|
+
import { type IAttributeDomain } from '../attribute/attributeDomain';
|
|
4
|
+
import { type IConfig } from '../../_types/config';
|
|
5
5
|
export interface IExportProfileColumn {
|
|
6
6
|
columnLabel: string;
|
|
7
7
|
attribute: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ILibrary } from '_types/library';
|
|
1
|
+
import { type ILibrary } from '../../_types/library';
|
|
2
2
|
export declare const systemPreviewsSettings: ILibrary['previewsSettings'];
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { type IAmqpService } from '@leav/message-broker';
|
|
2
|
-
import { type IEventsManagerDomain } from '
|
|
3
|
-
import { type CreateDirectoryFunc } from '
|
|
4
|
-
import { type StoreUploadFileFunc } from '
|
|
5
|
-
import { type UpdateRecordLastModifFunc } from '
|
|
6
|
-
import { type ILibraryDomain } from '
|
|
7
|
-
import { type ILibraryPermissionDomain } from '
|
|
8
|
-
import { type SendRecordUpdateEventHelper } from '
|
|
9
|
-
import { type ITreeDomain } from '
|
|
10
|
-
import { type IValueDomain } from '
|
|
2
|
+
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
3
|
+
import { type CreateDirectoryFunc } from '../helpers/createDirectory';
|
|
4
|
+
import { type StoreUploadFileFunc } from '../helpers/storeUploadFile';
|
|
5
|
+
import { type UpdateRecordLastModifFunc } from '../helpers/updateRecordLastModif';
|
|
6
|
+
import { type ILibraryDomain } from '../library/libraryDomain';
|
|
7
|
+
import { type ILibraryPermissionDomain } from '../permission/libraryPermissionDomain';
|
|
8
|
+
import { type SendRecordUpdateEventHelper } from '../record/helpers/sendRecordUpdateEvent';
|
|
9
|
+
import { type ITreeDomain } from '../tree/treeDomain';
|
|
10
|
+
import { type IValueDomain } from '../value/valueDomain';
|
|
11
11
|
import { type FileUpload } from 'graphql-upload/Upload.mjs';
|
|
12
12
|
import { type i18n } from 'i18next';
|
|
13
|
-
import { type IRecordRepo } from 'infra/record/recordRepo';
|
|
14
|
-
import { type IUtils } from 'utils/utils';
|
|
13
|
+
import { type IRecordRepo } from '../../infra/record/recordRepo';
|
|
14
|
+
import { type IUtils } from '../../utils/utils';
|
|
15
15
|
import { type ILogger } from '@leav/logger';
|
|
16
|
-
import type * as Config from '_types/config';
|
|
17
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
16
|
+
import type * as Config from '../../_types/config';
|
|
17
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
18
18
|
import { type ILibrary } from '../../_types/library';
|
|
19
19
|
import { type IRecord, type IRecordFilterLight } from '../../_types/record';
|
|
20
20
|
import { type IRecordDomain } from '../record/recordDomain';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type IConfig } from '_types/config';
|
|
1
|
+
import { type IConfig } from '../../../_types/config';
|
|
2
2
|
import { type IFileMetadata } from '../../../_types/filesManager';
|
|
3
3
|
export declare const extractFileMetadata: (filePath: string, rootKey: string, config: IConfig) => Promise<IFileMetadata>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type IConfig } from '_types/config';
|
|
1
|
+
import { type IConfig } from '../../../_types/config';
|
|
2
2
|
export declare const getRootPathByKey: (rootKey: string, config: IConfig) => any;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { type IAmqpService } from '@leav/message-broker';
|
|
2
|
-
import { type UpdateRecordLastModifFunc } from '
|
|
3
|
-
import { type ILibraryDomain } from '
|
|
4
|
-
import { type SendRecordUpdateEventHelper } from '
|
|
5
|
-
import { type IRecordDomain } from '
|
|
6
|
-
import { type ITreeDomain } from '
|
|
7
|
-
import { type IValueDomain } from '
|
|
8
|
-
import { type IFilesManagerRepo } from 'infra/filesManager/filesManagerRepo';
|
|
9
|
-
import { type IRecordRepo } from 'infra/record/recordRepo';
|
|
10
|
-
import { type IUtils } from 'utils/utils';
|
|
2
|
+
import { type UpdateRecordLastModifFunc } from '../../../helpers/updateRecordLastModif';
|
|
3
|
+
import { type ILibraryDomain } from '../../../library/libraryDomain';
|
|
4
|
+
import { type SendRecordUpdateEventHelper } from '../../../record/helpers/sendRecordUpdateEvent';
|
|
5
|
+
import { type IRecordDomain } from '../../../record/recordDomain';
|
|
6
|
+
import { type ITreeDomain } from '../../../tree/treeDomain';
|
|
7
|
+
import { type IValueDomain } from '../../../value/valueDomain';
|
|
8
|
+
import { type IFilesManagerRepo } from '../../../../infra/filesManager/filesManagerRepo';
|
|
9
|
+
import { type IRecordRepo } from '../../../../infra/record/recordRepo';
|
|
10
|
+
import { type IUtils } from '../../../../utils/utils';
|
|
11
11
|
import { type ILogger } from '@leav/logger';
|
|
12
|
-
import { type IConfig } from '_types/config';
|
|
13
|
-
import { type IFileEventData } from '_types/filesManager';
|
|
14
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
12
|
+
import { type IConfig } from '../../../../_types/config';
|
|
13
|
+
import { type IFileEventData } from '../../../../_types/filesManager';
|
|
14
|
+
import { type IQueryInfos } from '../../../../_types/queryInfos';
|
|
15
15
|
export interface IHandleFileSystemEventDeps {
|
|
16
16
|
libraryDomain: ILibraryDomain;
|
|
17
17
|
recordDomain: IRecordDomain;
|
package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleCreateEvent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
1
|
+
import { type IQueryInfos } from '../../../../_types/queryInfos';
|
|
2
2
|
import { type IFileEventData } from '../../../../_types/filesManager';
|
|
3
3
|
import { type IHandleFileSystemEventDeps, type IHandleFileSystemEventResources } from './_types';
|
|
4
4
|
export declare const handleCreateEvent: (scanMsg: IFileEventData, resources: IHandleFileSystemEventResources, deps: IHandleFileSystemEventDeps, ctx: IQueryInfos) => Promise<void>;
|
package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleFileSystemEvent.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type IAmqpService } from '@leav/message-broker';
|
|
2
|
-
import { type UpdateRecordLastModifFunc } from '
|
|
3
|
-
import { type ILibraryDomain } from '
|
|
4
|
-
import { type SendRecordUpdateEventHelper } from '
|
|
5
|
-
import { type IRecordDomain } from '
|
|
6
|
-
import { type ITreeDomain } from '
|
|
7
|
-
import { type IValueDomain } from '
|
|
8
|
-
import { type IFilesManagerRepo } from 'infra/filesManager/filesManagerRepo';
|
|
9
|
-
import { type IRecordRepo } from 'infra/record/recordRepo';
|
|
10
|
-
import { type IUtils } from 'utils/utils';
|
|
11
|
-
import { type IConfig } from '_types/config';
|
|
2
|
+
import { type UpdateRecordLastModifFunc } from '../../../helpers/updateRecordLastModif';
|
|
3
|
+
import { type ILibraryDomain } from '../../../library/libraryDomain';
|
|
4
|
+
import { type SendRecordUpdateEventHelper } from '../../../record/helpers/sendRecordUpdateEvent';
|
|
5
|
+
import { type IRecordDomain } from '../../../record/recordDomain';
|
|
6
|
+
import { type ITreeDomain } from '../../../tree/treeDomain';
|
|
7
|
+
import { type IValueDomain } from '../../../value/valueDomain';
|
|
8
|
+
import { type IFilesManagerRepo } from '../../../../infra/filesManager/filesManagerRepo';
|
|
9
|
+
import { type IRecordRepo } from '../../../../infra/record/recordRepo';
|
|
10
|
+
import { type IUtils } from '../../../../utils/utils';
|
|
11
|
+
import { type IConfig } from '../../../../_types/config';
|
|
12
12
|
import { type HandleFileSystemEventFunc } from './_types';
|
|
13
13
|
import { type ILogger } from '@leav/logger';
|
|
14
14
|
export interface IFileSystemEventDeps {
|
package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleMoveEvent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
1
|
+
import { type IQueryInfos } from '../../../../_types/queryInfos';
|
|
2
2
|
import { type IFileEventData } from '../../../../_types/filesManager';
|
|
3
3
|
import { type IHandleFileSystemEventDeps, type IHandleFileSystemEventResources } from './_types';
|
|
4
4
|
export declare const handleMoveEvent: (scanMsg: IFileEventData, { library }: IHandleFileSystemEventResources, deps: IHandleFileSystemEventDeps, ctx: IQueryInfos) => Promise<boolean | void>;
|
package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleRemoveEvent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
1
|
+
import { type IQueryInfos } from '../../../../_types/queryInfos';
|
|
2
2
|
import { type IFileEventData } from '../../../../_types/filesManager';
|
|
3
3
|
import { type IHandleFileSystemEventDeps, type IHandleFileSystemEventResources } from './_types';
|
|
4
4
|
export declare const handleRemoveEvent: (scanMsg: IFileEventData, { library }: IHandleFileSystemEventResources, deps: IHandleFileSystemEventDeps, ctx: IQueryInfos) => Promise<boolean>;
|
package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleUpdateEvent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
1
|
+
import { type IQueryInfos } from '../../../../_types/queryInfos';
|
|
2
2
|
import { type IFileEventData } from '../../../../_types/filesManager';
|
|
3
3
|
import { type IHandleFileSystemEventDeps, type IHandleFileSystemEventResources } from './_types';
|
|
4
4
|
export declare const handleUpdateEvent: (scanMsg: IFileEventData, { library }: IHandleFileSystemEventResources, deps: IHandleFileSystemEventDeps, ctx: IQueryInfos) => Promise<void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type UpdateRecordLastModifFunc } from '
|
|
2
|
-
import { type SendRecordUpdateEventHelper } from '
|
|
3
|
-
import { type IValueDomain } from '
|
|
4
|
-
import { type IRecordRepo } from 'infra/record/recordRepo';
|
|
5
|
-
import type * as Config from '_types/config';
|
|
6
|
-
import { type ILibrary } from '_types/library';
|
|
7
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
1
|
+
import { type UpdateRecordLastModifFunc } from '../../helpers/updateRecordLastModif';
|
|
2
|
+
import { type SendRecordUpdateEventHelper } from '../../record/helpers/sendRecordUpdateEvent';
|
|
3
|
+
import { type IValueDomain } from '../../value/valueDomain';
|
|
4
|
+
import { type IRecordRepo } from '../../../infra/record/recordRepo';
|
|
5
|
+
import type * as Config from '../../../_types/config';
|
|
6
|
+
import { type ILibrary } from '../../../_types/library';
|
|
7
|
+
import { type IQueryInfos } from '../../../_types/queryInfos';
|
|
8
8
|
import { type IFileMetadata, type IPreviews, type IPreviewsStatus } from '../../../_types/filesManager';
|
|
9
9
|
import { type IRecord } from '../../../_types/record';
|
|
10
10
|
import { type IHandleFileSystemEventDeps } from './handleFileSystemEvent/_types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type IAmqpService } from '@leav/message-broker';
|
|
2
2
|
import { PreviewPriority } from '@leav/utils';
|
|
3
3
|
import { type ILogger } from '@leav/logger';
|
|
4
|
-
import type * as Config from '_types/config';
|
|
4
|
+
import type * as Config from '../../../_types/config';
|
|
5
5
|
import { type IPreviewMessage, type IPreviewVersion } from '../../../_types/filesManager';
|
|
6
6
|
export declare const sendPreviewMessage: (previewMessage: IPreviewMessage, priority: PreviewPriority, deps: {
|
|
7
7
|
amqpService: IAmqpService;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type IAmqpService } from '@leav/message-broker';
|
|
2
|
-
import { type UpdateRecordLastModifFunc } from '
|
|
3
|
-
import { type ILibraryDomain } from '
|
|
4
|
-
import { type SendRecordUpdateEventHelper } from '
|
|
5
|
-
import { type IRecordDomain } from '
|
|
6
|
-
import { type IValueDomain } from '
|
|
7
|
-
import { type IRecordRepo } from 'infra/record/recordRepo';
|
|
8
|
-
import { type IUtils } from 'utils/utils';
|
|
9
|
-
import type * as Config from '_types/config';
|
|
10
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
2
|
+
import { type UpdateRecordLastModifFunc } from '../../helpers/updateRecordLastModif';
|
|
3
|
+
import { type ILibraryDomain } from '../../library/libraryDomain';
|
|
4
|
+
import { type SendRecordUpdateEventHelper } from '../../record/helpers/sendRecordUpdateEvent';
|
|
5
|
+
import { type IRecordDomain } from '../../record/recordDomain';
|
|
6
|
+
import { type IValueDomain } from '../../value/valueDomain';
|
|
7
|
+
import { type IRecordRepo } from '../../../infra/record/recordRepo';
|
|
8
|
+
import { type IUtils } from '../../../utils/utils';
|
|
9
|
+
import type * as Config from '../../../_types/config';
|
|
10
|
+
import { type IQueryInfos } from '../../../_types/queryInfos';
|
|
11
11
|
import { type ILogger } from '@leav/logger';
|
|
12
12
|
export interface IHandlePreviewResponseDeps {
|
|
13
13
|
amqpService: IAmqpService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ILogger } from '@leav/logger';
|
|
2
|
-
import { type IConfig } from '_types/config';
|
|
3
|
-
import { type IFileEventData } from '_types/filesManager';
|
|
4
|
-
import { type IQueryInfos } from '_types/queryInfos';
|
|
2
|
+
import { type IConfig } from '../../../../_types/config';
|
|
3
|
+
import { type IFileEventData } from '../../../../_types/filesManager';
|
|
4
|
+
import { type IQueryInfos } from '../../../../_types/queryInfos';
|
|
5
5
|
import { type HandleFileSystemEventFunc } from '../handleFileSystemEvent/_types';
|
|
6
6
|
export interface IMessagesHandlerHelper {
|
|
7
7
|
handleMessage(message: IFileEventData, ctx: IQueryInfos): any;
|