@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,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { AttributeFormats,
|
|
1
|
+
import FormData from 'form-data';
|
|
2
|
+
import { ActionsListConfig } from '_types/actionsList';
|
|
3
|
+
import { ITreeElement } from '_types/tree';
|
|
4
|
+
import { AttributeFormats, AttributeTypes, IAttributeVersionsConf, IEmbeddedAttribute } from '../../../_types/attribute';
|
|
5
5
|
export declare function getGraphQLUrl(): Promise<string>;
|
|
6
6
|
export declare function makeGraphQlCall(query: string | FormData, throwOnErrors?: boolean): Promise<any>;
|
|
7
7
|
export declare function gqlSaveLibrary(id: string, label: string, additionalAttributes?: string[]): Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AwilixContainer } from 'awilix';
|
|
2
|
+
import { IConfig } from '../../../_types/config';
|
|
3
|
+
import { IDbUtils } from 'infra/db/dbUtils';
|
|
4
4
|
export declare const init: (conf: IConfig) => Promise<{
|
|
5
5
|
coreContainer: AwilixContainer;
|
|
6
6
|
dbUtils: IDbUtils;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ILibraryRepo } from 'infra/library/libraryRepo';
|
|
2
|
+
import { IRecordRepo } from 'infra/record/recordRepo';
|
|
3
|
+
import { ITreeRepo } from 'infra/tree/treeRepo';
|
|
4
4
|
export declare const getCoreDep: <T>(path: any) => T;
|
|
5
5
|
export declare const getLibraryRepo: () => ILibraryRepo;
|
|
6
6
|
export declare const getRecordRepo: () => IRecordRepo;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionsListIOTypes,
|
|
1
|
+
import { ActionsListIOTypes, ActionsListConfig, IActionsListFunction } from '../../_types/actionsList';
|
|
2
2
|
export declare const mockActionStringOutput: {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeFormats, AttributeTypes, MultiDisplayOption,
|
|
1
|
+
import { AttributeFormats, AttributeTypes, MultiDisplayOption, IAttribute } from '../../_types/attribute';
|
|
2
2
|
export declare const mockAttrSimple: IAttribute;
|
|
3
3
|
export declare const mockUniqueAttrSimple: IAttribute;
|
|
4
4
|
export declare const mockAttrId: IAttribute;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Mockify } from '@leav/utils';
|
|
2
|
+
import { ICacheService, ICachesService } from '../../infra/cache/cacheService';
|
|
3
3
|
export declare const mockCacheService: Mockify<ICacheService>;
|
|
4
4
|
export declare const mockCachesService: Mockify<ICachesService>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IFormElement, IFormStrict } from '../../_types/forms';
|
|
2
2
|
export declare const formField: IFormElement;
|
|
3
3
|
export declare const formLayoutElement: IFormElement;
|
|
4
4
|
export declare const mockForm: IFormStrict;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IGlobalSettings } from '_types/globalSettings';
|
|
2
2
|
export declare const mockGlobalSettings: IGlobalSettings;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Log } from '@leav/utils';
|
|
2
2
|
export declare const mockLog: Log;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPluginInfos } from '_types/plugin';
|
|
2
2
|
export declare const mockPlugin: IPluginInfos;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
2
2
|
export declare const mockCtx: IQueryInfos;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ITask } from '../../_types/tasksManager';
|
|
2
2
|
export declare const mockTask: ITask;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IStandardValue } from '_types/value';
|
|
2
2
|
export declare const mockStandardValue: IStandardValue;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IVersionProfile } from '_types/versionProfile';
|
|
2
2
|
export declare const mockVersionProfile: IVersionProfile;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { IQueryInfos } from '_types/queryInfos';
|
|
2
|
+
import { IAttribute } from './attribute';
|
|
3
|
+
import { ISystemTranslation } from './systemTranslation';
|
|
4
|
+
import { IValue } from './value';
|
|
5
|
+
import { Errors } from './errors';
|
|
6
6
|
export declare enum ActionsListEvents {
|
|
7
7
|
SAVE_VALUE = "saveValue",
|
|
8
8
|
DELETE_VALUE = "deleteValue",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { IRecord } from './record';
|
|
2
|
+
import { IGetCoreEntitiesParams, IKeyValue } from './shared';
|
|
3
|
+
import { ISystemTranslation } from './systemTranslation';
|
|
4
4
|
export declare const APPS_URL_PREFIX = "app";
|
|
5
5
|
export declare enum ApplicationTypes {
|
|
6
6
|
INTERNAL = "internal",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { ActionsListEvents, ActionsListIOTypes, ActionsListConfig } from './actionsList';
|
|
2
|
+
import { ITreePermissionsConf } from './permissions';
|
|
3
|
+
import { IQueryInfos } from './queryInfos';
|
|
4
|
+
import { IRecord } from './record';
|
|
5
|
+
import { IGetCoreEntitiesParams, IKeyValue } from './shared';
|
|
6
|
+
import { ISystemTranslation } from './systemTranslation';
|
|
7
|
+
import { ITreeElement } from './tree';
|
|
8
|
+
import { IDateRangeValue } from './value';
|
|
9
9
|
export interface IAttribute extends ICoreEntity {
|
|
10
10
|
system?: boolean;
|
|
11
11
|
readonly?: boolean;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import { EventAction, IDbPayload } from '@leav/utils';
|
|
2
|
+
import { IApiKey } from './apiKey';
|
|
3
|
+
import { IApplication } from './application';
|
|
4
|
+
import { IAttribute } from './attribute';
|
|
5
|
+
import { IGlobalSettings } from './globalSettings';
|
|
6
|
+
import { ILibraryDbEvent } from './library';
|
|
7
|
+
import { IRecord } from './record';
|
|
8
|
+
import { IValue } from './value';
|
|
9
|
+
import { IVersionProfile } from './versionProfile';
|
|
10
|
+
import { IPermission } from './permissions';
|
|
11
|
+
import { ITree } from './tree';
|
|
12
12
|
/**
|
|
13
13
|
* Maybe move all DBPayloadData types in @leav/utils type to allow event consumers outside core to use them
|
|
14
14
|
* without having to redeclare them. For now before and after are any in @leav/utils
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { IActionsListFunction } from './actionsList';
|
|
2
|
+
import { IAppGraphQLSchema } from './graphql';
|
|
3
|
+
import { PermissionTypes } from './permissions';
|
|
4
|
+
import { PluginRegisterRoute } from './endpoint';
|
|
5
5
|
export interface IExtensionPoints {
|
|
6
6
|
[name: string]: (...args: any[]) => void;
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { IAttribute } from './attribute';
|
|
2
|
+
import { IKeyValue } from './shared';
|
|
3
|
+
import { IValue } from './value';
|
|
4
4
|
export interface IForm extends ICoreEntity {
|
|
5
5
|
library: string;
|
|
6
6
|
system?: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { IAttribute } from './attribute';
|
|
2
|
+
import { IPreviewVersion } from './filesManager';
|
|
3
|
+
import { ITreePermissionsConf } from './permissions';
|
|
4
|
+
import { IRecordIdentityConf } from './record';
|
|
5
|
+
import { ISystemTranslation } from './systemTranslation';
|
|
6
|
+
import { IKeyValue } from './shared';
|
|
7
7
|
export interface ILibrary extends ICoreEntity {
|
|
8
8
|
system?: boolean;
|
|
9
9
|
behavior?: LibraryBehavior;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EventAction, Log as LogExternal } from '@leav/utils';
|
|
2
|
+
import { IDbPayloadInternal } from './events';
|
|
3
3
|
export interface ILogTopicFilter {
|
|
4
4
|
record?: {
|
|
5
5
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import DataLoader from 'dataloader';
|
|
2
2
|
import type LeavError from 'errors/LeavError';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { IDbProfiler } from './dbProfiler';
|
|
4
|
+
import { IValueVersion } from './value';
|
|
5
5
|
export interface IQueryInfos {
|
|
6
6
|
userId: string;
|
|
7
7
|
groupsId?: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { IAttributeWithRevLink } from 'infra/attributeTypes/attributeTypesRepo';
|
|
2
|
+
import { ILibrary } from './library';
|
|
3
|
+
import { IPreview } from './preview';
|
|
4
|
+
import { IValue } from './value';
|
|
5
5
|
export interface IRecord {
|
|
6
6
|
id?: string;
|
|
7
7
|
library?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { IExtensionPoints } from './extensionPoints';
|
|
2
|
+
import { IPaginationParams, ISortParams } from './list';
|
|
3
|
+
import { ISystemTranslation } from './systemTranslation';
|
|
4
4
|
export interface IGetCoreEntitiesParams {
|
|
5
5
|
filters?: ICoreEntityFilterOptions;
|
|
6
6
|
strictFilters?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ITreeNodePermissionsConf } from './permissions';
|
|
2
|
+
import { IRecord } from './record';
|
|
3
|
+
import { IGetCoreEntitiesParams, IKeyValue } from './shared';
|
|
4
4
|
export interface ITreeLibrarySettings {
|
|
5
5
|
allowMultiplePositions: boolean;
|
|
6
6
|
allowedChildren: string[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { AnyPrimitive, Override } from '@leav/utils';
|
|
2
|
+
import { IDbEdge } from 'infra/db/_types';
|
|
3
|
+
import { IRecord } from './record';
|
|
4
|
+
import { ITreeNode, TreePath } from './tree';
|
|
5
|
+
import { EMPTY_VALUE } from 'infra/value/valueRepo';
|
|
6
|
+
import { AttributeTypes } from './attribute';
|
|
7
7
|
export type IValueFromGql = Override<Omit<IValue, 'version'>, {
|
|
8
8
|
value: IValue['payload'];
|
|
9
9
|
metadata: Array<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IGetCoreEntitiesParams } from './shared';
|
|
2
|
+
import { ISystemTranslation } from './systemTranslation';
|
|
3
3
|
export interface IVersionProfile {
|
|
4
4
|
id: string;
|
|
5
5
|
label: ISystemTranslation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IRecordFilterLight, IRecordSortLight } from './record';
|
|
2
|
+
import { ISystemTranslation } from './systemTranslation';
|
|
3
3
|
export declare enum ViewTypes {
|
|
4
4
|
LIST = "list",
|
|
5
5
|
CARDS = "cards",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
1
|
+
import { ICoreSubscriptionsHelpersApp } from 'app/core/helpers/subscriptions';
|
|
2
|
+
import { IGraphqlAppModule, IGraphqlApp } from 'app/graphql/graphqlApp';
|
|
3
|
+
import { InitQueryContextFunc } from 'app/helpers/initQueryContext';
|
|
4
|
+
import { IEventsManagerDomain } from 'domain/eventsManager/eventsManagerDomain';
|
|
5
|
+
import { IPermissionDomain } from 'domain/permission/permissionDomain';
|
|
6
|
+
import { IRecordDomain } from 'domain/record/recordDomain';
|
|
7
|
+
import { IUtils } from 'utils/utils';
|
|
8
|
+
import winston from 'winston';
|
|
9
|
+
import { IApplicationDomain } from '../../domain/application/applicationDomain';
|
|
10
|
+
import { ValidateRequestTokenFunc } from '../helpers/validateRequestToken';
|
|
11
|
+
import { IAuthApp } from '../auth/authApp';
|
|
12
|
+
import { IGlobalSettingsDomain } from '../../domain/globalSettings/globalSettingsDomain';
|
|
13
|
+
import { IServerRouteAppModule } from 'interface/server';
|
|
14
14
|
export type IApplicationApp = IGraphqlAppModule & IServerRouteAppModule;
|
|
15
15
|
export interface IApplicationAppDeps {
|
|
16
16
|
'core.app.graphql': IGraphqlApp;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
1
|
+
import { IApiKeyDomain } from 'domain/apiKey/apiKeyDomain';
|
|
2
|
+
import { IRecordDomain } from 'domain/record/recordDomain';
|
|
3
|
+
import { IUserDomain } from 'domain/user/userDomain';
|
|
4
|
+
import { IValueDomain } from 'domain/value/valueDomain';
|
|
5
|
+
import { Response } from 'express';
|
|
6
|
+
import { IConfig } from '_types/config';
|
|
7
|
+
import { ICachesService } from '../../infra/cache/cacheService';
|
|
8
|
+
import { ITokenUserData } from '../../_types/auth';
|
|
9
|
+
import { IRequestWithContext } from '../../_types/express';
|
|
10
|
+
import winston from 'winston';
|
|
11
|
+
import { IOIDCClientService } from '../../infra/oidc/oidcClientService';
|
|
12
|
+
import { InitQueryContextFunc } from '../helpers/initQueryContext';
|
|
13
|
+
import { IConvertOIDCIdentifier } from '../helpers/convertOIDCIdentifier';
|
|
14
|
+
import { IncomingHttpHeaders } from 'http';
|
|
15
|
+
import { IRecordRepo } from '../../infra/record/recordRepo';
|
|
16
|
+
import { IGraphqlAppModule } from 'app/graphql/graphqlApp';
|
|
17
|
+
import { IServerRouteAppModule } from 'interface/server';
|
|
18
18
|
export interface IAuthApp extends IGraphqlAppModule, IServerRouteAppModule {
|
|
19
19
|
validateRequestToken(params: {
|
|
20
20
|
apiKey?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { IActionsListDomain } from 'domain/actionsList/actionsListDomain';
|
|
2
|
+
import { i18n } from 'i18next';
|
|
3
|
+
import { IAppModule } from '_types/shared';
|
|
4
|
+
import { IGraphqlAppModule } from 'app/graphql/graphqlApp';
|
|
5
5
|
export type ICoreActionListApp = IAppModule & IGraphqlAppModule;
|
|
6
6
|
interface IDeps {
|
|
7
7
|
'core.domain.actionsList': IActionsListDomain;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IApiKeyFilterOptions } from '_types/apiKey';
|
|
2
|
+
import { IPaginationParams, SortOrder } from '_types/list';
|
|
3
3
|
export interface IApiKeysArgs {
|
|
4
4
|
filters?: IApiKeyFilterOptions;
|
|
5
5
|
pagination: IPaginationParams;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { IApiKeyDomain } from 'domain/apiKey/apiKeyDomain';
|
|
2
|
+
import { IRecordDomain } from 'domain/record/recordDomain';
|
|
3
|
+
import { IGraphqlAppModule } from 'app/graphql/graphqlApp';
|
|
4
4
|
export type ICoreVersionProfileApp = IGraphqlAppModule;
|
|
5
5
|
interface IDeps {
|
|
6
6
|
'core.domain.apiKey': IApiKeyDomain;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { IActionsListDomain } from 'domain/actionsList/actionsListDomain';
|
|
2
|
+
import { IAttributeDomain } from 'domain/attribute/attributeDomain';
|
|
3
|
+
import { ILibraryDomain } from 'domain/library/libraryDomain';
|
|
4
|
+
import { IPermissionDomain } from 'domain/permission/permissionDomain';
|
|
5
|
+
import { IRecordDomain } from 'domain/record/recordDomain';
|
|
6
|
+
import { ITreeDomain } from 'domain/tree/treeDomain';
|
|
7
|
+
import { IVersionProfileDomain } from 'domain/versionProfile/versionProfileDomain';
|
|
8
|
+
import { IUtils } from 'utils/utils';
|
|
9
|
+
import { IGraphqlAppModule, IGraphqlApp } from '../../graphql/graphqlApp';
|
|
10
|
+
import { ICoreApp } from '../coreApp';
|
|
11
11
|
export type ICoreAttributeApp = IGraphqlAppModule;
|
|
12
12
|
interface IDeps {
|
|
13
13
|
'core.domain.attribute': IAttributeDomain;
|