@aristid/leav-types 1.5.3-0ed2a28d → 1.5.3-2
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.
|
@@ -169,6 +169,7 @@ export interface IPermissions {
|
|
|
169
169
|
everybody: IPermissionsByTypesAndActions;
|
|
170
170
|
adminGroup: IPermissionsByTypesAndActions;
|
|
171
171
|
enableCache: boolean;
|
|
172
|
+
enableAccessRecordByDefaultBackendFilter: boolean;
|
|
172
173
|
}
|
|
173
174
|
export interface IAmqp {
|
|
174
175
|
connOpt: Options.Connect;
|
|
@@ -13,6 +13,7 @@ import { type ITreeRepo } from '../../../infra/tree/treeRepo';
|
|
|
13
13
|
import { type GetCoreEntityByIdFunc } from '../../helpers/getCoreEntityById';
|
|
14
14
|
import { type IElementAncestorsHelper } from '../../tree/helpers/elementAncestors';
|
|
15
15
|
import { type IDefaultPermissionHelper } from '../../permission/helpers/defaultPermission';
|
|
16
|
+
import { type IConfig } from '_types/config';
|
|
16
17
|
/**
|
|
17
18
|
* Search records
|
|
18
19
|
* Filters to apply on records selection
|
|
@@ -34,5 +35,6 @@ export interface IFindRecordsHelperDeps {
|
|
|
34
35
|
'core.domain.tree.helpers.elementAncestors': IElementAncestorsHelper;
|
|
35
36
|
'core.domain.permission.helpers.defaultPermission': IDefaultPermissionHelper;
|
|
36
37
|
'core.infra.permission': IPermissionRepo;
|
|
38
|
+
config: IConfig;
|
|
37
39
|
}
|
|
38
|
-
export default function ({ 'core.domain.helpers.validate': validateHelper, 'core.domain.attribute': attributeDomain, 'core.domain.permission.helpers.defaultPermission': defaultPermHelper, 'core.infra.library': libraryRepo, 'core.domain.permission.library': libraryPermissionDomain, 'core.infra.record': recordRepo, 'core.domain.helpers.getCoreEntityById': getCoreEntityById, 'core.infra.tree': treeRepo, 'core.domain.tree.helpers.elementAncestors': elementAncestorsHelper, 'core.infra.permission': permissionRepo, 'core.utils': utils, }: IFindRecordsHelperDeps): FindRecordsHelper;
|
|
40
|
+
export default function ({ 'core.domain.helpers.validate': validateHelper, 'core.domain.attribute': attributeDomain, 'core.domain.permission.helpers.defaultPermission': defaultPermHelper, 'core.infra.library': libraryRepo, 'core.domain.permission.library': libraryPermissionDomain, 'core.infra.record': recordRepo, 'core.domain.helpers.getCoreEntityById': getCoreEntityById, 'core.infra.tree': treeRepo, 'core.domain.tree.helpers.elementAncestors': elementAncestorsHelper, 'core.infra.permission': permissionRepo, 'core.utils': utils, config, }: IFindRecordsHelperDeps): FindRecordsHelper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aristid/leav-types",
|
|
3
|
-
"version": "1.5.3-
|
|
3
|
+
"version": "1.5.3-2",
|
|
4
4
|
"description": "Shared Leav types",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"tscheck": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"license": "LGPL3",
|
|
15
15
|
"repository": "https://github.com/leav-solutions/leav-engine",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@leav/utils": "1.5.3",
|
|
17
|
+
"@leav/utils": "1.5.3-2",
|
|
18
18
|
"@types/amqplib": "0.10.7",
|
|
19
19
|
"@types/express": "5.0.0",
|
|
20
20
|
"@types/jest": "29.5.14",
|