@aristid/leav-types 1.10.0-e2b86ecd → 1.10.0-e488a957

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.
@@ -135,7 +135,6 @@ export declare namespace permissions {
135
135
  let enableCache_1: boolean;
136
136
  export { enableCache_1 as enableCache };
137
137
  export let enableAccessRecordByDefaultBackendFilter: boolean;
138
- export let enableAttributeDependentValuesPermissions: boolean;
139
138
  }
140
139
  export declare namespace amqp {
141
140
  namespace connOpt {
@@ -172,7 +172,6 @@ export interface IPermissions {
172
172
  adminGroup: IPermissionsByTypesAndActions;
173
173
  enableCache: boolean;
174
174
  enableAccessRecordByDefaultBackendFilter: boolean;
175
- enableAttributeDependentValuesPermissions: boolean;
176
175
  }
177
176
  export interface IAmqp {
178
177
  connOpt: Options.Connect;
@@ -40,6 +40,10 @@ export interface IElement {
40
40
  matches: IMatch[];
41
41
  mode: ImportMode;
42
42
  data: IData[];
43
+ excelMapping?: {
44
+ sheet: number;
45
+ line: number;
46
+ };
43
47
  }
44
48
  export interface ITree {
45
49
  library: string;
@@ -37,8 +37,8 @@ export interface IImportExcelParams {
37
37
  }
38
38
  interface IImportDataParams {
39
39
  filename: string;
40
+ fromExcel?: boolean;
40
41
  ctx: IQueryInfos;
41
- excelMapping?: IExcelMapping;
42
42
  }
43
43
  interface IImportConfigParams {
44
44
  filepath: string;
@@ -52,12 +52,6 @@ export interface IImportDomain {
52
52
  importData(params: IImportDataParams, task?: ITaskFuncParams): Promise<string>;
53
53
  importExcel({ filename, sheets, startAt }: IImportExcelParams, ctx: IQueryInfos): Promise<string>;
54
54
  }
55
- interface IExcelMapping {
56
- [elementIndex: number]: {
57
- sheet: number;
58
- line: number;
59
- };
60
- }
61
55
  export interface IImportDomainDeps {
62
56
  'core.domain.library': ILibraryDomain;
63
57
  'core.domain.record': IRecordDomain;
@@ -4,7 +4,6 @@ import { type AttributeDependentValuesPermissionsActions, type IPermissionsDepen
4
4
  import { type IAttributeDomain } from '../attribute/attributeDomain';
5
5
  import { type IPermissionByUserGroupsHelper } from './helpers/permissionByUserGroups';
6
6
  import { type IElementAncestorsHelper } from 'domain/tree/helpers/elementAncestors';
7
- import { type IConfig } from '_types/config';
8
7
  export interface IAttributeDependentValuesPermissionDomain {
9
8
  getAttributeDependentValuesPermission(params: {
10
9
  action: AttributeDependentValuesPermissionsActions;
@@ -41,6 +40,5 @@ export interface IRecordAttributePermissionDomainDeps {
41
40
  'core.domain.attribute': IAttributeDomain;
42
41
  'core.domain.tree.helpers.elementAncestors': IElementAncestorsHelper;
43
42
  'core.infra.value': IValueRepo;
44
- config: IConfig;
45
43
  }
46
44
  export default function (deps: IRecordAttributePermissionDomainDeps): IAttributeDependentValuesPermissionDomain;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.10.0-e2b86ecd",
3
+ "version": "1.10.0-e488a957",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",