@aristid/leav-types 0.0.7-3e7b1bb → 0.0.7-5a7fd10
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.
|
@@ -23,23 +23,15 @@ declare global {
|
|
|
23
23
|
filters?: IRecordFilterLight[];
|
|
24
24
|
sort?: IRecordSortLight;
|
|
25
25
|
valuesVersions?: IViewValuesVersion;
|
|
26
|
-
|
|
26
|
+
attributes?: string[];
|
|
27
27
|
}
|
|
28
28
|
interface IViewDisplay {
|
|
29
29
|
type: ViewTypes;
|
|
30
30
|
size: ViewSizes;
|
|
31
31
|
}
|
|
32
|
-
interface IViewSettingsNameVal {
|
|
33
|
-
name: string;
|
|
34
|
-
value: unknown;
|
|
35
|
-
}
|
|
36
32
|
type ViewFromGraphQL = Omit<IView, 'valuesVersions' | 'settings'> & {
|
|
37
33
|
valuesVersions: IViewValuesVersionForGraphql[];
|
|
38
|
-
settings: IViewSettingsNameVal[];
|
|
39
34
|
};
|
|
40
|
-
interface IViewSettings {
|
|
41
|
-
[key: string]: unknown;
|
|
42
|
-
}
|
|
43
35
|
interface IViewFilterOptions extends ICoreEntityFilterOptions {
|
|
44
36
|
created_by?: string;
|
|
45
37
|
library?: string;
|
|
@@ -2,13 +2,15 @@ import { IRecordDomain } from 'domain/record/recordDomain';
|
|
|
2
2
|
import { IViewDomain } from 'domain/view/viewDomain';
|
|
3
3
|
import { IUtils } from 'utils/utils';
|
|
4
4
|
import { IAppGraphQLSchema } from '_types/graphql';
|
|
5
|
+
import { IAttributeDomain } from 'domain/attribute/attributeDomain';
|
|
5
6
|
interface IDeps {
|
|
6
7
|
'core.domain.record': IRecordDomain;
|
|
7
8
|
'core.domain.view': IViewDomain;
|
|
9
|
+
'core.domain.attribute': IAttributeDomain;
|
|
8
10
|
'core.utils': IUtils;
|
|
9
11
|
}
|
|
10
12
|
export interface IViewApp {
|
|
11
13
|
getGraphQLSchema(): Promise<IAppGraphQLSchema>;
|
|
12
14
|
}
|
|
13
|
-
export default function ({ 'core.domain.view': viewDomain, 'core.domain.record': recordDomain, 'core.utils': utils }: IDeps): IViewApp;
|
|
15
|
+
export default function ({ 'core.domain.view': viewDomain, 'core.domain.record': recordDomain, 'core.domain.attribute': attributeDomain, 'core.utils': utils }: IDeps): IViewApp;
|
|
14
16
|
export {};
|