@aristid/leav-types 1.2.0-163bd4e1 → 1.2.0-9b00d2ab
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 +3 -3
- package/apps/core/src/__tests__/integration/infra/integrationTestRepoUtils.d.ts +3 -3
- package/apps/core/src/__tests__/mocks/actionsList.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/application.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/attribute.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/cache.d.ts +2 -2
- package/apps/core/src/__tests__/mocks/file.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/forms.d.ts +1 -1
- 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/log.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/task.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/translator.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/tree.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/__tests__/mocks/view.d.ts +1 -1
- package/apps/core/src/_types/actionsList.d.ts +5 -5
- package/apps/core/src/_types/apiKey.d.ts +1 -1
- package/apps/core/src/_types/application.d.ts +3 -3
- package/apps/core/src/_types/attribute.d.ts +8 -8
- package/apps/core/src/_types/config.d.ts +2 -2
- package/apps/core/src/_types/dbProfiler.d.ts +1 -1
- package/apps/core/src/_types/endpoint.d.ts +1 -1
- package/apps/core/src/_types/events.d.ts +11 -11
- package/apps/core/src/_types/express.d.ts +2 -2
- package/apps/core/src/_types/extensionPoints.d.ts +4 -4
- package/apps/core/src/_types/filesManager.d.ts +1 -1
- package/apps/core/src/_types/forms.d.ts +3 -3
- package/apps/core/src/_types/globalSettings.d.ts +1 -1
- package/apps/core/src/_types/import.d.ts +1 -1
- package/apps/core/src/_types/library.d.ts +6 -6
- package/apps/core/src/_types/log.d.ts +2 -2
- package/apps/core/src/_types/migration.d.ts +1 -1
- package/apps/core/src/_types/permissions.d.ts +1 -1
- package/apps/core/src/_types/plugin.d.ts +1 -1
- package/apps/core/src/_types/preview.d.ts +1 -1
- package/apps/core/src/_types/queryInfos.d.ts +3 -3
- package/apps/core/src/_types/record.d.ts +4 -4
- package/apps/core/src/_types/shared.d.ts +3 -3
- package/apps/core/src/_types/tasksManager.d.ts +1 -1
- package/apps/core/src/_types/tree.d.ts +3 -3
- package/apps/core/src/_types/value.d.ts +6 -6
- package/apps/core/src/_types/versionProfile.d.ts +2 -2
- package/apps/core/src/_types/views.d.ts +2 -2
- package/apps/core/src/app/application/applicationApp.d.ts +13 -13
- package/apps/core/src/app/auth/authApp.d.ts +17 -17
- package/apps/core/src/app/core/actionListApp.d.ts +4 -4
- 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 +10 -10
- package/apps/core/src/app/core/coreApp.d.ts +8 -8
- 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 +7 -7
- 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 +9 -9
- package/apps/core/src/app/core/helpers/subscriptions.d.ts +2 -2
- package/apps/core/src/app/core/importApp.d.ts +7 -7
- 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 +8 -8
- package/apps/core/src/app/core/logApp.d.ts +10 -10
- 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 +3 -3
- package/apps/core/src/app/core/recordApp/recordApp.d.ts +11 -11
- 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 +9 -9
- package/apps/core/src/app/core/userDataApp.d.ts +2 -2
- 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 +8 -8
- package/apps/core/src/app/graphql/customScalars/dateTime/dateTime.d.ts +1 -1
- package/apps/core/src/app/graphql/customScalars/helpers/parseLiteral.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 +6 -6
- package/apps/core/src/app/helpers/convertVersionFromGqlFormat.d.ts +1 -1
- package/apps/core/src/app/helpers/initQueryContext.d.ts +3 -3
- package/apps/core/src/app/helpers/validateRequestToken.d.ts +4 -4
- package/apps/core/src/config.d.ts +1 -1
- package/apps/core/src/depsManager.d.ts +1 -1
- package/apps/core/src/domain/actions/dateRangeToNumberAction.d.ts +1 -1
- package/apps/core/src/domain/actions/encryptAction.d.ts +1 -1
- package/apps/core/src/domain/actions/excelCalculationAction.d.ts +3 -3
- package/apps/core/src/domain/actions/formatDateAction.d.ts +1 -1
- package/apps/core/src/domain/actions/formatDateRangeAction.d.ts +1 -1
- package/apps/core/src/domain/actions/formatNumberAction.d.ts +1 -1
- package/apps/core/src/domain/actions/inheritanceCalculationAction.d.ts +3 -3
- package/apps/core/src/domain/actions/maskValueAction.d.ts +1 -1
- package/apps/core/src/domain/actions/parseJSONAction.d.ts +1 -1
- package/apps/core/src/domain/actions/toBooleanAction.d.ts +1 -1
- package/apps/core/src/domain/actions/toJSONAction.d.ts +1 -1
- package/apps/core/src/domain/actions/toNumberAction.d.ts +1 -1
- package/apps/core/src/domain/actions/toStringAction.d.ts +1 -1
- package/apps/core/src/domain/actions/toUppercaseAction.d.ts +1 -1
- package/apps/core/src/domain/actions/validateEmailAction.d.ts +1 -1
- package/apps/core/src/domain/actions/validateFormatAction.d.ts +1 -1
- package/apps/core/src/domain/actions/validateRegexAction.d.ts +1 -1
- package/apps/core/src/domain/actions/validateURLAction.d.ts +1 -1
- package/apps/core/src/domain/actionsList/actionsListDomain.d.ts +8 -8
- package/apps/core/src/domain/apiKey/apiKeyDomain.d.ts +9 -9
- package/apps/core/src/domain/application/applicationDomain.d.ts +10 -10
- package/apps/core/src/domain/attribute/attributeDomain.d.ts +15 -15
- package/apps/core/src/domain/attribute/helpers/attributeALHelper.d.ts +3 -3
- package/apps/core/src/domain/attribute/helpers/attributeValidationHelper.d.ts +8 -8
- package/apps/core/src/domain/attribute/helpers/ifLibraryJoinLinkAttribute.d.ts +4 -4
- package/apps/core/src/domain/eventsManager/eventsManagerDomain.d.ts +8 -8
- package/apps/core/src/domain/export/exportDomain.d.ts +13 -13
- package/apps/core/src/domain/filesManager/_constants.d.ts +1 -1
- package/apps/core/src/domain/filesManager/filesManagerDomain.d.ts +21 -21
- package/apps/core/src/domain/filesManager/helpers/extractFileMetadata.d.ts +2 -2
- package/apps/core/src/domain/filesManager/helpers/getRootPathByKey.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/_types.d.ts +14 -14
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleCreateEvent.d.ts +3 -3
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleFileSystemEvent.d.ts +12 -12
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleMoveEvent.d.ts +3 -3
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleRemoveEvent.d.ts +3 -3
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleUpdateEvent.d.ts +3 -3
- package/apps/core/src/domain/filesManager/helpers/handleFileUtilsHelper.d.ts +10 -10
- package/apps/core/src/domain/filesManager/helpers/handlePreview.d.ts +4 -4
- package/apps/core/src/domain/filesManager/helpers/handlePreviewResponse.d.ts +9 -9
- package/apps/core/src/domain/filesManager/helpers/messagesHandler/messagesHandler.d.ts +5 -5
- package/apps/core/src/domain/form/formDomain.d.ts +17 -17
- package/apps/core/src/domain/form/helpers/getElementValues.d.ts +6 -6
- package/apps/core/src/domain/form/helpers/mustIncludeElement.d.ts +4 -4
- package/apps/core/src/domain/globalSettings/globalSettingsDomain.d.ts +7 -7
- package/apps/core/src/domain/helpers/calculationVariable/index.d.ts +3 -3
- package/apps/core/src/domain/helpers/calculationsVariableFunctions/index.d.ts +4 -4
- package/apps/core/src/domain/helpers/getCoreEntityById.d.ts +8 -8
- package/apps/core/src/domain/helpers/storeUploadFile.d.ts +2 -2
- package/apps/core/src/domain/helpers/updateRecordLastModif.d.ts +5 -5
- package/apps/core/src/domain/helpers/updateTaskProgress.d.ts +4 -4
- package/apps/core/src/domain/helpers/validate.d.ts +8 -8
- package/apps/core/src/domain/import/importDomain.d.ts +20 -20
- package/apps/core/src/domain/indexationManager/indexationManagerDomain.d.ts +14 -14
- 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 +8 -8
- package/apps/core/src/domain/library/helpers/runPreDelete.d.ts +5 -5
- package/apps/core/src/domain/library/helpers/updateAssociatedForms.d.ts +2 -2
- package/apps/core/src/domain/library/helpers/validateLibAttributes.d.ts +4 -4
- package/apps/core/src/domain/library/helpers/validateLibFullTextAttributes.d.ts +2 -2
- package/apps/core/src/domain/library/helpers/validatePermConf.d.ts +5 -5
- package/apps/core/src/domain/library/helpers/validatePreviewsSettings.d.ts +3 -3
- package/apps/core/src/domain/library/helpers/validateRecordIdentityConf.d.ts +4 -4
- package/apps/core/src/domain/library/libraryDomain.d.ts +20 -20
- package/apps/core/src/domain/log/logDomain.d.ts +5 -5
- package/apps/core/src/domain/permission/_types.d.ts +3 -3
- package/apps/core/src/domain/permission/adminPermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/permission/applicationPermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/permission/attributePermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/permission/helpers/defaultPermission.d.ts +1 -1
- 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 +5 -5
- package/apps/core/src/domain/permission/helpers/permissionByUserGroups.d.ts +8 -8
- package/apps/core/src/domain/permission/helpers/permissionsByActions.d.ts +2 -2
- package/apps/core/src/domain/permission/helpers/simplePermission.d.ts +2 -2
- package/apps/core/src/domain/permission/helpers/treeBasedPermissions.d.ts +7 -7
- package/apps/core/src/domain/permission/libraryPermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/permission/permissionDomain.d.ts +17 -17
- package/apps/core/src/domain/permission/recordAttributePermissionDomain.d.ts +9 -9
- package/apps/core/src/domain/permission/recordPermissionDomain.d.ts +9 -9
- package/apps/core/src/domain/permission/treeLibraryPermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/permission/treeNodePermissionDomain.d.ts +10 -10
- package/apps/core/src/domain/permission/treePermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/record/_types.d.ts +5 -5
- package/apps/core/src/domain/record/helpers/createRecord.d.ts +5 -5
- package/apps/core/src/domain/record/helpers/deleteRecord.d.ts +8 -8
- package/apps/core/src/domain/record/helpers/getAccessPermissionFilters.d.ts +7 -7
- package/apps/core/src/domain/record/helpers/getAttributesFromField.d.ts +6 -6
- package/apps/core/src/domain/record/helpers/sendRecordUpdateEvent.d.ts +3 -3
- package/apps/core/src/domain/record/helpers/validateLibrary.d.ts +2 -2
- package/apps/core/src/domain/record/recordDomain.d.ts +30 -30
- package/apps/core/src/domain/tasksManager/tasksManagerDomain.d.ts +12 -12
- package/apps/core/src/domain/tree/helpers/elementAncestors.d.ts +3 -3
- package/apps/core/src/domain/tree/helpers/getDefaultElement.d.ts +4 -4
- package/apps/core/src/domain/tree/helpers/handleRemovedLibraries.d.ts +3 -3
- package/apps/core/src/domain/tree/helpers/treeDataValidation.d.ts +4 -4
- package/apps/core/src/domain/tree/treeDomain.d.ts +20 -20
- package/apps/core/src/domain/user/userDomain.d.ts +9 -9
- package/apps/core/src/domain/value/_types.d.ts +5 -5
- package/apps/core/src/domain/value/helpers/canSaveRecordValue.d.ts +7 -7
- package/apps/core/src/domain/value/helpers/doesValueExist.d.ts +2 -2
- package/apps/core/src/domain/value/helpers/findValue.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/formatLogValue.d.ts +10 -10
- package/apps/core/src/domain/value/helpers/isEmptyValue.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/prepareValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/saveOneValue.d.ts +10 -10
- package/apps/core/src/domain/value/helpers/validateValue.d.ts +8 -8
- package/apps/core/src/domain/value/valueDomain.d.ts +26 -26
- package/apps/core/src/domain/versionProfile/versionProfileDomain.d.ts +12 -12
- package/apps/core/src/domain/view/viewDomain.d.ts +7 -7
- package/apps/core/src/errors/GraphQLAuthenticationError.d.ts +2 -2
- package/apps/core/src/errors/LeavError.d.ts +1 -1
- package/apps/core/src/errors/PermissionError.d.ts +2 -2
- package/apps/core/src/errors/ValidationError.d.ts +1 -1
- package/apps/core/src/errors/typeguards.d.ts +2 -2
- package/apps/core/src/i18nextInit.d.ts +2 -2
- package/apps/core/src/infra/apiKey/apiKeyRepo.d.ts +5 -5
- package/apps/core/src/infra/application/applicationRepo.d.ts +8 -8
- package/apps/core/src/infra/attribute/attributeRepo.d.ts +8 -8
- package/apps/core/src/infra/attributeTypes/attributeAdvancedLinkRepo.d.ts +7 -7
- package/apps/core/src/infra/attributeTypes/attributeAdvancedRepo.d.ts +6 -6
- package/apps/core/src/infra/attributeTypes/attributeSimpleLinkRepo.d.ts +6 -6
- package/apps/core/src/infra/attributeTypes/attributeSimpleRepo.d.ts +5 -5
- package/apps/core/src/infra/attributeTypes/attributeTreeRepo.d.ts +7 -7
- package/apps/core/src/infra/attributeTypes/attributeTypesRepo.d.ts +10 -10
- package/apps/core/src/infra/attributeTypes/helpers/getConditionPart.d.ts +2 -2
- package/apps/core/src/infra/cache/cacheService.d.ts +1 -1
- package/apps/core/src/infra/cache/diskService.d.ts +2 -2
- package/apps/core/src/infra/cache/ramService.d.ts +3 -3
- package/apps/core/src/infra/cache/redis.d.ts +1 -1
- package/apps/core/src/infra/db/_types.d.ts +2 -2
- package/apps/core/src/infra/db/db.d.ts +1 -1
- package/apps/core/src/infra/db/dbService.d.ts +6 -6
- package/apps/core/src/infra/db/dbUtils.d.ts +9 -9
- package/apps/core/src/infra/db/helpers/runMigrationFiles.d.ts +4 -4
- package/apps/core/src/infra/db/migrations/000-init/index.d.ts +7 -7
- package/apps/core/src/infra/db/migrations/000-init/systemApplications.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/000-init/systemAttributes.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/000-init/systemLibraries.d.ts +2 -2
- package/apps/core/src/infra/db/migrations/000-init/systemTrees.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/001-delInstallApps.d.ts +2 -2
- package/apps/core/src/infra/db/migrations/002-previewsSettings.d.ts +6 -6
- package/apps/core/src/infra/db/migrations/003-filesMetadata.d.ts +4 -4
- package/apps/core/src/infra/db/migrations/004-formsLabels.d.ts +2 -2
- package/apps/core/src/infra/db/migrations/005-viewSortToArray.d.ts +2 -2
- 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/elasticSearch/elasticSearchClient.d.ts +1 -1
- package/apps/core/src/infra/elasticSearch/elasticSearchService.d.ts +3 -3
- package/apps/core/src/infra/filesManager/filesManagerRepo.d.ts +5 -5
- 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 +2 -2
- package/apps/core/src/infra/indexation/indexationService.d.ts +5 -5
- package/apps/core/src/infra/library/libraryRepo.d.ts +7 -7
- 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 +4 -4
- package/apps/core/src/infra/oidc/oidcClient.d.ts +2 -2
- package/apps/core/src/infra/oidc/oidcClientService.d.ts +3 -3
- package/apps/core/src/infra/permission/permissionRepo.d.ts +4 -4
- package/apps/core/src/infra/record/helpers/filterTypes.d.ts +1 -1
- package/apps/core/src/infra/record/helpers/getClassifyingFiltersVariableQueryPart.d.ts +4 -4
- package/apps/core/src/infra/record/helpers/getSearchVariableName.d.ts +2 -2
- package/apps/core/src/infra/record/helpers/getSearchVariablesQueryPart.d.ts +6 -6
- package/apps/core/src/infra/record/recordRepo.d.ts +14 -14
- package/apps/core/src/infra/task/taskRepo.d.ts +7 -7
- package/apps/core/src/infra/tree/_types.d.ts +1 -1
- package/apps/core/src/infra/tree/treeRepo.d.ts +6 -6
- package/apps/core/src/infra/userData/userDataRepo.d.ts +3 -3
- package/apps/core/src/infra/value/valueRepo.d.ts +6 -6
- package/apps/core/src/infra/versionProfile/versionProfileRepo.d.ts +6 -6
- package/apps/core/src/infra/view/_types.d.ts +6 -6
- package/apps/core/src/infra/view/viewRepo.d.ts +1 -1
- 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 +5 -5
- package/apps/core/src/interface/indexationManager.d.ts +1 -1
- package/apps/core/src/interface/server.d.ts +12 -12
- package/apps/core/src/interface/tasksManager.d.ts +1 -1
- package/apps/core/src/pluginsLoader.d.ts +1 -1
- package/apps/core/src/utils/dataloader.d.ts +2 -2
- package/apps/core/src/utils/helpers/getDefaultActionsList.d.ts +2 -2
- 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/typeGuards/index.d.ts +2 -2
- package/apps/core/src/utils/utils.d.ts +8 -8
- package/libs/message-broker/src/amqpService.d.ts +1 -1
- package/libs/message-broker/src/types/amqp.d.ts +1 -1
- package/libs/utils/src/types/forms.d.ts +1 -1
- package/libs/utils/src/types/logs.d.ts +1 -1
- package/libs/utils/src/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { IValidateHelper } from 'domain/helpers/validate';
|
|
2
|
+
import { ITreeDomain } from 'domain/tree/treeDomain';
|
|
3
|
+
import { IViewRepo } from 'infra/view/_types';
|
|
4
|
+
import { IUtils } from 'utils/utils';
|
|
5
|
+
import { IList } from '_types/list';
|
|
6
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
7
|
+
import { IView } from '_types/views';
|
|
8
8
|
export interface IViewDomain {
|
|
9
9
|
saveView(view: IView, ctx: IQueryInfos): Promise<IView>;
|
|
10
10
|
getViews(library: string, ctx: IQueryInfos): Promise<IList<IView>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ASTNode, GraphQLError, GraphQLErrorExtensions, Source } from 'graphql';
|
|
2
|
+
import { Maybe } from 'graphql/jsutils/Maybe';
|
|
3
3
|
export default class GraphQLAuthenticationError extends GraphQLError {
|
|
4
4
|
constructor(message?: string, nodes?: Maybe<readonly ASTNode[] | ASTNode>, source?: Maybe<Source>, positions?: Maybe<readonly number[]>, path?: Maybe<ReadonlyArray<string | number>>, originalError?: Maybe<Error>, extensions?: Maybe<GraphQLErrorExtensions>);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ErrorFieldDetail } from '../_types/errors';
|
|
2
|
+
import { PermissionsActions } from '../_types/permissions';
|
|
3
3
|
import LeavError from './LeavError';
|
|
4
4
|
export default class PermissionError<T> extends LeavError<T> {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import LeavError from './LeavError';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import PermissionError from './PermissionError';
|
|
3
|
+
import ValidationError from './ValidationError';
|
|
4
4
|
export declare const isLeavError: (err: Error) => err is LeavError<unknown>;
|
|
5
5
|
export declare const isPermissionError: (err: Error) => err is PermissionError<unknown>;
|
|
6
6
|
export declare const isValidationError: (err: Error) => err is ValidationError<unknown>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { IDbService } from 'infra/db/dbService';
|
|
2
|
+
import { IDbUtils } from 'infra/db/dbUtils';
|
|
3
|
+
import { IApiKey, IGetCoreApiKeysParams } from '_types/apiKey';
|
|
4
|
+
import { IList } from '_types/list';
|
|
5
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
6
6
|
export declare const API_KEY_COLLECTION_NAME = "core_api_keys";
|
|
7
7
|
export interface IApiKeyRepo {
|
|
8
8
|
getApiKeys: (params: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import winston from 'winston';
|
|
2
|
+
import { IConfig } from '_types/config';
|
|
3
|
+
import { IList } from '_types/list';
|
|
4
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
5
|
+
import { IApplication, IApplicationModule } from '../../_types/application';
|
|
6
|
+
import { IGetCoreEntitiesParams } from '../../_types/shared';
|
|
7
|
+
import { IDbService } from '../db/dbService';
|
|
8
|
+
import { IDbUtils } from '../db/dbUtils';
|
|
9
9
|
export interface IApplicationRepo {
|
|
10
10
|
getApplications(params: {
|
|
11
11
|
params?: IGetCoreEntitiesParams;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { IUtils } from 'utils/utils';
|
|
2
|
+
import { ILibrary } from '_types/library';
|
|
3
|
+
import { IList } from '_types/list';
|
|
4
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
5
|
+
import { IAttribute, IGetCoreAttributesParams } from '../../_types/attribute';
|
|
6
|
+
import { IDbService } from '../db/dbService';
|
|
7
|
+
import { IDbUtils } from '../db/dbUtils';
|
|
8
|
+
import { IValueRepo } from '../value/valueRepo';
|
|
9
9
|
export interface IAttributeRepo {
|
|
10
10
|
getAttributes({ params, ctx }: {
|
|
11
11
|
params?: IGetCoreAttributesParams;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IFilterTypesHelper } from 'infra/record/helpers/filterTypes';
|
|
2
|
+
import { IUtils } from 'utils/utils';
|
|
3
3
|
import { AttributeTypes } from '../../_types/attribute';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { IDbService } from '../db/dbService';
|
|
5
|
+
import { IDbUtils } from '../db/dbUtils';
|
|
6
|
+
import { IAttributeTypeRepo } from './attributeTypesRepo';
|
|
7
|
+
import { GetConditionPart } from './helpers/getConditionPart';
|
|
8
|
+
import { IAttributeSimpleLinkRepo } from './attributeSimpleLinkRepo';
|
|
9
9
|
export type IAttributeAdvancedLinkRepo = IAttributeTypeRepo<AttributeTypes.ADVANCED_LINK>;
|
|
10
10
|
interface IDeps {
|
|
11
11
|
'core.infra.db.dbService'?: IDbService;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { IDbUtils } from 'infra/db/dbUtils';
|
|
2
|
+
import { IFilterTypesHelper } from 'infra/record/helpers/filterTypes';
|
|
3
|
+
import { AttributeTypes } from '../../_types/attribute';
|
|
4
|
+
import { IDbService } from '../db/dbService';
|
|
5
|
+
import { IAttributeTypeRepo } from './attributeTypesRepo';
|
|
6
|
+
import { GetConditionPart } from './helpers/getConditionPart';
|
|
7
7
|
export interface IAttributeAdvancedRepoDeps {
|
|
8
8
|
'core.infra.db.dbService': IDbService;
|
|
9
9
|
'core.infra.db.dbUtils': IDbUtils;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IFilterTypesHelper } from 'infra/record/helpers/filterTypes';
|
|
2
2
|
import { AttributeTypes } from '../../_types/attribute';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { IDbService } from '../db/dbService';
|
|
4
|
+
import { IDbUtils } from '../db/dbUtils';
|
|
5
|
+
import { IAttributeTypeRepo } from './attributeTypesRepo';
|
|
6
|
+
import { GetConditionPart } from './helpers/getConditionPart';
|
|
7
|
+
import { IAttributeSimpleRepo } from './attributeSimpleRepo';
|
|
8
8
|
interface IDeps {
|
|
9
9
|
'core.infra.db.dbService'?: IDbService;
|
|
10
10
|
'core.infra.db.dbUtils'?: IDbUtils;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { IFilterTypesHelper } from 'infra/record/helpers/filterTypes';
|
|
2
|
+
import { AttributeTypes } from '../../_types/attribute';
|
|
3
|
+
import { IDbService } from '../db/dbService';
|
|
4
|
+
import { IAttributeTypeRepo } from './attributeTypesRepo';
|
|
5
|
+
import { GetConditionPart } from './helpers/getConditionPart';
|
|
6
6
|
interface IDeps {
|
|
7
7
|
'core.infra.db.dbService'?: IDbService;
|
|
8
8
|
'core.infra.attributeTypes.helpers.getConditionPart'?: GetConditionPart;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { IFilterTypesHelper } from 'infra/record/helpers/filterTypes';
|
|
2
|
+
import { IUtils } from 'utils/utils';
|
|
3
|
+
import { AttributeTypes } from '../../_types/attribute';
|
|
4
|
+
import { IDbService } from '../db/dbService';
|
|
5
|
+
import { IDbUtils } from '../db/dbUtils';
|
|
6
|
+
import { IAttributeTypeRepo } from './attributeTypesRepo';
|
|
7
|
+
import { GetConditionPart } from './helpers/getConditionPart';
|
|
8
8
|
interface IDeps {
|
|
9
9
|
'core.infra.db.dbService'?: IDbService;
|
|
10
10
|
'core.infra.db.dbUtils'?: IDbUtils;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AttributeTypes,
|
|
4
|
-
import { AttributeCondition,
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { AqlLiteral, GeneratedAqlQuery } from 'arangojs/aql';
|
|
2
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
3
|
+
import { AttributeTypes, IAttribute } from '../../_types/attribute';
|
|
4
|
+
import { AttributeCondition, IRecordFilterOption } from '../../_types/record';
|
|
5
|
+
import { ISaveValueByAttributeType, IValueByAttributeType, IValuesOptions } from '../../_types/value';
|
|
6
|
+
import { IAttributeSimpleRepo } from './attributeSimpleRepo';
|
|
7
|
+
import { IAttributeSimpleLinkRepo } from './attributeSimpleLinkRepo';
|
|
8
|
+
import { IAttributeAdvancedRepo } from './attributeAdvancedRepo';
|
|
9
|
+
import { IAttributeAdvancedLinkRepo } from './attributeAdvancedLinkRepo';
|
|
10
|
+
import { IAttributeTreeRepo } from './attributeTreeRepo';
|
|
11
11
|
export type IAttributeWithRepo = IAttributeWithRevLink & {
|
|
12
12
|
_repo: IAttributeTypeRepo;
|
|
13
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AqlLiteral, GeneratedAqlQuery } from 'arangojs/aql';
|
|
2
|
+
import { IAttribute } from '../../../_types/attribute';
|
|
3
3
|
import { AttributeCondition } from '../../../_types/record';
|
|
4
4
|
export type GetConditionPart = (valueIdentifier: string | AqlLiteral, condition: AttributeCondition, value: string | number | boolean, attribute: IAttribute, isCountFilter: boolean) => GeneratedAqlQuery;
|
|
5
5
|
export default function (): GetConditionPart;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { IConfig } from '_types/config';
|
|
2
|
+
import { ICacheService } from './cacheService';
|
|
3
|
+
import { RedisClientType } from './redis';
|
|
4
4
|
interface IDeps {
|
|
5
5
|
config?: IConfig;
|
|
6
6
|
'core.infra.redis'?: RedisClientType;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Database } from 'arangojs';
|
|
2
|
+
import { Analyzer, CreateAnalyzerOptions } from 'arangojs/analyzer';
|
|
3
3
|
import { CollectionType } from 'arangojs/collection';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { CreateViewOptions, View } from 'arangojs/view';
|
|
5
|
+
import { IUtils } from 'utils/utils';
|
|
6
|
+
import { IConfig } from '_types/config';
|
|
7
|
+
import { IDbDocument, IExecute, IExecuteWithCount } from './_types';
|
|
8
8
|
export interface IDbService {
|
|
9
9
|
db?: Database;
|
|
10
10
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { GeneratedAqlQuery } from 'arangojs/aql';
|
|
2
|
+
import { AwilixContainer } from 'awilix';
|
|
3
|
+
import * as winston from 'winston';
|
|
4
|
+
import { IConfig } from '_types/config';
|
|
5
|
+
import { IList, IPaginationParams, ISortParams } from '_types/list';
|
|
6
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
7
|
+
import { IKeyValue } from '_types/shared';
|
|
8
|
+
import { ICachesService } from '../../infra/cache/cacheService';
|
|
9
|
+
import { IDbService } from './dbService';
|
|
10
10
|
export declare const MIGRATIONS_COLLECTION_NAME = "core_db_migrations";
|
|
11
11
|
export type CustomFilterConditionsFunc = (filterKey: string, filterVal: string | boolean | string[], strictFilters: boolean) => GeneratedAqlQuery;
|
|
12
12
|
export interface IFindCoreEntityParams {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { AwilixContainer } from 'awilix';
|
|
2
|
+
import { Winston } from 'winston';
|
|
3
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
4
|
+
import { IDbService } from '../dbService';
|
|
5
5
|
interface IExecuteMigrationParams {
|
|
6
6
|
files: string[];
|
|
7
7
|
executedMigrations: string[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { i18n } from 'i18next';
|
|
2
|
+
import { IPermissionRepo } from 'infra/permission/permissionRepo';
|
|
3
|
+
import { IConfig } from '_types/config';
|
|
4
|
+
import { IMigration } from '_types/migration';
|
|
5
|
+
import { IAttributeRepo } from '../../../attribute/attributeRepo';
|
|
6
|
+
import { ILibraryRepo } from '../../../library/libraryRepo';
|
|
7
|
+
import { IDbService } from '../../dbService';
|
|
8
8
|
interface IDeps {
|
|
9
9
|
'core.infra.db.dbService'?: IDbService;
|
|
10
10
|
'core.infra.library'?: ILibraryRepo;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAttributeForRepo } from 'infra/attribute/attributeRepo';
|
|
2
2
|
export declare const systemAttributes: IAttributeForRepo[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Override } from '@leav/utils';
|
|
2
|
+
import { ILibrary } from '../../../../_types/library';
|
|
3
3
|
export type MigrationLibraryToCreate = Override<ILibrary, {
|
|
4
4
|
attributes: string[];
|
|
5
5
|
fullTextAttributes: string[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { IAttributeRepo } from 'infra/attribute/attributeRepo';
|
|
2
|
+
import { ILibraryRepo } from 'infra/library/libraryRepo';
|
|
3
|
+
import { IUtils } from 'utils/utils';
|
|
4
|
+
import { IMigration } from '_types/migration';
|
|
5
|
+
import { IDbService } from '../dbService';
|
|
6
|
+
import { IDbUtils } from '../dbUtils';
|
|
7
7
|
interface IDeps {
|
|
8
8
|
'core.infra.db.dbService'?: IDbService;
|
|
9
9
|
'core.infra.attribute'?: IAttributeRepo;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { IAttributeRepo } from 'infra/attribute/attributeRepo';
|
|
2
|
+
import { ILibraryRepo } from 'infra/library/libraryRepo';
|
|
3
|
+
import { IMigration } from '_types/migration';
|
|
4
|
+
import { IDbService } from '../dbService';
|
|
5
5
|
interface IDeps {
|
|
6
6
|
'core.infra.attribute'?: IAttributeRepo;
|
|
7
7
|
'core.infra.library'?: ILibraryRepo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IMigration } from '_types/migration';
|
|
2
|
+
import { IFormRepo } from 'infra/form/formRepo';
|
|
3
3
|
interface IDeps {
|
|
4
4
|
'core.infra.form'?: IFormRepo;
|
|
5
5
|
config?: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IDbService } from '../dbService';
|
|
2
2
|
import { type IMigration } from '../../../_types/migration';
|
|
3
|
-
import {
|
|
3
|
+
import { IAttributeRepo } from 'infra/attribute/attributeRepo';
|
|
4
4
|
interface IDeps {
|
|
5
5
|
'core.infra.db.dbService'?: IDbService;
|
|
6
6
|
'core.infra.attribute'?: IAttributeRepo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IMigration } from '_types/migration';
|
|
2
|
+
import { IFormRepo } from 'infra/form/formRepo';
|
|
3
3
|
interface IDeps {
|
|
4
4
|
'core.infra.form'?: IFormRepo;
|
|
5
5
|
config?: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Client,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Client, estypes } from '@elastic/elasticsearch';
|
|
2
|
+
import { IConfig } from '_types/config';
|
|
3
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
4
4
|
export interface IElasticsearchServiceSearchResponse<T> {
|
|
5
5
|
total: number;
|
|
6
6
|
hits: T[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
2
|
+
import { IRecord } from '_types/record';
|
|
3
|
+
import { IDbService } from 'infra/db/dbService';
|
|
4
|
+
import { IDbUtils } from 'infra/db/dbUtils';
|
|
5
|
+
import winston from 'winston';
|
|
6
6
|
interface IDeps {
|
|
7
7
|
'core.infra.db.dbService'?: IDbService;
|
|
8
8
|
'core.infra.db.dbUtils'?: IDbUtils;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { IDbService } from 'infra/db/dbService';
|
|
2
|
+
import { IDbUtils } from 'infra/db/dbUtils';
|
|
3
|
+
import { IForm, IFormFilterOptions, IFormStrict } from '_types/forms';
|
|
4
|
+
import { IList } from '_types/list';
|
|
5
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
6
|
+
import { IGetCoreEntitiesParams } from '_types/shared';
|
|
7
7
|
export declare const FORM_COLLECTION_NAME = "core_forms";
|
|
8
8
|
type FormFilters = IGetCoreEntitiesParams & {
|
|
9
9
|
filters?: IFormFilterOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { IDbService } from 'infra/db/dbService';
|
|
2
|
+
import { IGlobalSettings } from '_types/globalSettings';
|
|
3
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
4
4
|
export interface IGlobalSettingsRepo {
|
|
5
5
|
saveSettings({ settings, ctx }: {
|
|
6
6
|
settings: IGlobalSettings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IRecordSort } from '_types/record';
|
|
2
|
+
import { GeneratedAqlQuery } from 'arangojs/aql';
|
|
3
3
|
export type GetSearchQuery = (libraryId: string, fields: string[], search: string, sort?: IRecordSort) => GeneratedAqlQuery;
|
|
4
4
|
export default function (): GetSearchQuery;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { IDbService } from '../db/dbService';
|
|
2
|
+
import * as Config from '_types/config';
|
|
3
|
+
import { IRecordRepo } from 'infra/record/recordRepo';
|
|
4
|
+
import { GetSearchQuery } from './helpers/getSearchQuery';
|
|
5
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
6
6
|
interface IRecordIndexData {
|
|
7
7
|
[x: string]: string;
|
|
8
8
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
2
|
+
import { IGetCoreEntitiesParams } from '_types/shared';
|
|
3
|
+
import { ILibrary } from '../../_types/library';
|
|
4
|
+
import { IList } from '../../_types/list';
|
|
5
|
+
import { IAttributeRepo } from '../attribute/attributeRepo';
|
|
6
|
+
import { IDbService } from '../db/dbService';
|
|
7
|
+
import { IDbUtils } from '../db/dbUtils';
|
|
8
8
|
export declare const LIB_COLLECTION_NAME = "core_libraries";
|
|
9
9
|
export declare const LIB_ATTRIB_COLLECTION_NAME = "core_edge_libraries_attributes";
|
|
10
10
|
export interface ILibraryRepo {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { IElasticSearchService } from 'infra/elasticSearch/elasticSearchService';
|
|
2
|
+
import { IConfig } from '_types/config';
|
|
3
|
+
import { ILogFilters, ILogPagination, ILogResponse, ILogSort } from '_types/log';
|
|
4
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
5
5
|
export interface ILogRepo {
|
|
6
6
|
getLogs(params: {
|
|
7
7
|
filters?: ILogFilters;
|