@dpuse/dpuse-shared 0.3.803 → 0.3.805
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/dist/types/src/component/context/model/dimension/hierarchy/index.d.ts +13 -0
- package/dist/types/src/component/context/model/entity/event/index.d.ts +7 -3
- package/dist/types/src/component/context/model/entity/index.d.ts +4 -4
- package/dist/types/src/component/context/model/entity/primaryMeasure/index.d.ts +7 -3
- package/package.json +1 -1
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { ComponentInstanceConfig } from '../../../..';
|
|
2
|
+
import { LocaleDescription, LocaleLabel } from '../../../../../locale';
|
|
2
3
|
export interface ContextModelDimensionHierarchyConfig extends ComponentInstanceConfig {
|
|
3
4
|
typeId: 'contextModelDimensionHierarchy';
|
|
5
|
+
type: string | null;
|
|
6
|
+
levels: ContextModelDimensionHierarchyLevelConfig[];
|
|
7
|
+
children: ContextModelDimensionHierarchyNodeConfig[];
|
|
8
|
+
}
|
|
9
|
+
export interface ContextModelDimensionHierarchyLevelConfig {
|
|
10
|
+
label: LocaleLabel;
|
|
11
|
+
}
|
|
12
|
+
export interface ContextModelDimensionHierarchyNodeConfig {
|
|
13
|
+
id: string | number;
|
|
14
|
+
label?: LocaleLabel;
|
|
15
|
+
description?: LocaleDescription;
|
|
16
|
+
children?: ContextModelDimensionHierarchyNodeConfig[];
|
|
4
17
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
import { LocaleDescription, LocaleLabel } from '../../../../../locale';
|
|
2
|
+
export type ContextModelEntityEventId = 'creation' | 'activation' | 'recognition' | 'correction' | 'modification' | 'derecognition' | 'deactivation' | 'archival' | 'deletion';
|
|
3
|
+
export interface ContextModelEntityEventConfig {
|
|
4
|
+
labelAction: LocaleLabel;
|
|
5
|
+
labelState?: LocaleLabel;
|
|
6
|
+
description: LocaleDescription;
|
|
4
7
|
}
|
|
8
|
+
export type ContextModelEntityEventsConfig = Record<ContextModelEntityEventId, ContextModelEntityEventConfig | null>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ComponentInstanceConfig } from '../../..';
|
|
2
2
|
import { ContextModelEntityDataItemConfig } from './dataItem';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ContextModelEntityEventsConfig } from './event';
|
|
4
|
+
import { ContextModelEntityPrimaryMeasuresConfig } from './primaryMeasure';
|
|
5
5
|
import { LocaleLabel } from '../../../../locale';
|
|
6
6
|
export interface ContextModelEntityConfig extends ComponentInstanceConfig {
|
|
7
7
|
typeId: 'contextModelEntity';
|
|
8
8
|
labelPlural: LocaleLabel;
|
|
9
9
|
groupId: string;
|
|
10
10
|
dataItems: ContextModelEntityDataItemConfig[];
|
|
11
|
-
events:
|
|
11
|
+
events: ContextModelEntityEventsConfig;
|
|
12
12
|
parents?: string[];
|
|
13
|
-
primaryMeasures:
|
|
13
|
+
primaryMeasures: ContextModelEntityPrimaryMeasuresConfig;
|
|
14
14
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ContextModelEntityPrimaryMeasureConfig
|
|
3
|
-
|
|
1
|
+
import { LocaleDescription, LocaleLabel } from '../../../../../locale';
|
|
2
|
+
export interface ContextModelEntityPrimaryMeasureConfig {
|
|
3
|
+
label: LocaleLabel;
|
|
4
|
+
description: LocaleDescription;
|
|
5
|
+
formula?: string;
|
|
6
|
+
events?: unknown[];
|
|
4
7
|
}
|
|
8
|
+
export type ContextModelEntityPrimaryMeasuresConfig = Record<string, ContextModelEntityPrimaryMeasureConfig | null>;
|