@datapos/datapos-shared 0.3.241 → 0.3.242
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LocalisedString } from '../../index';
|
|
1
2
|
import { Module } from '../../module';
|
|
2
3
|
import { Component, ComponentConfig, ComponentRef } from '..';
|
|
3
4
|
export interface Context extends Module, Component {
|
|
@@ -41,8 +42,8 @@ export type ContextModelLocalisedConfig = Omit<ContextModelConfig, 'label' | 'de
|
|
|
41
42
|
};
|
|
42
43
|
export interface ContextModelDimensionGroupConfig {
|
|
43
44
|
id: string;
|
|
44
|
-
label:
|
|
45
|
-
description
|
|
45
|
+
label: Partial<LocalisedString>;
|
|
46
|
+
description: Partial<LocalisedString>;
|
|
46
47
|
dimensionRefs: ComponentRef[];
|
|
47
48
|
}
|
|
48
49
|
export type ContextModelDimensionGroupLocalisedConfig = Omit<ContextModelDimensionGroupConfig, 'label' | 'description'> & {
|
|
@@ -51,7 +52,7 @@ export type ContextModelDimensionGroupLocalisedConfig = Omit<ContextModelDimensi
|
|
|
51
52
|
};
|
|
52
53
|
export interface ContextModelDimensionConfig {
|
|
53
54
|
id: string;
|
|
54
|
-
label:
|
|
55
|
+
label: Partial<LocalisedString>;
|
|
55
56
|
hierarchies: ContextModelDimensionHierarchyConfig[];
|
|
56
57
|
}
|
|
57
58
|
export type ContextModelDimensionLocalisedConfig = Omit<ContextModelDimensionConfig, 'label' | 'description'> & {
|
|
@@ -60,7 +61,7 @@ export type ContextModelDimensionLocalisedConfig = Omit<ContextModelDimensionCon
|
|
|
60
61
|
};
|
|
61
62
|
export interface ContextModelDimensionHierarchyConfig {
|
|
62
63
|
id: string;
|
|
63
|
-
label:
|
|
64
|
+
label: Partial<LocalisedString>;
|
|
64
65
|
}
|
|
65
66
|
export type ContextModelDimensionHierarchyLocalisedConfig = Omit<ContextModelDimensionHierarchyConfig, 'label' | 'description'> & {
|
|
66
67
|
label: string;
|
|
@@ -68,7 +69,7 @@ export type ContextModelDimensionHierarchyLocalisedConfig = Omit<ContextModelDim
|
|
|
68
69
|
};
|
|
69
70
|
export interface ContextModelEntityGroupConfig {
|
|
70
71
|
id: string;
|
|
71
|
-
label:
|
|
72
|
+
label: Partial<LocalisedString>;
|
|
72
73
|
description?: Record<string, unknown>;
|
|
73
74
|
entityRefs: ComponentRef[];
|
|
74
75
|
}
|
|
@@ -78,8 +79,8 @@ export type ContextModelEntityGroupLocalisedConfig = Omit<ContextModelEntityGrou
|
|
|
78
79
|
};
|
|
79
80
|
export interface ContextModelEntityConfig {
|
|
80
81
|
id: string;
|
|
81
|
-
label:
|
|
82
|
-
labelPlural:
|
|
82
|
+
label: Partial<LocalisedString>;
|
|
83
|
+
labelPlural: Partial<LocalisedString>;
|
|
83
84
|
dataItems: ContextModelEntityDataItemConfig[];
|
|
84
85
|
events: ContextModelEntityEventConfig[];
|
|
85
86
|
primaryMeasures: ContextModelEntityPrimaryMeasureConfig[];
|
|
@@ -90,7 +91,7 @@ export type ContextModelEntityLocalisedConfig = Omit<ContextModelEntityConfig, '
|
|
|
90
91
|
};
|
|
91
92
|
export interface ContextModelEntityDataItemConfig {
|
|
92
93
|
id: string;
|
|
93
|
-
label:
|
|
94
|
+
label: Partial<LocalisedString>;
|
|
94
95
|
}
|
|
95
96
|
export type ContextModelEntityDataItemLocalisedConfig = Omit<ContextModelEntityDataItemConfig, 'label' | 'description'> & {
|
|
96
97
|
label: string;
|
|
@@ -107,7 +108,7 @@ export type ContextModelEntityEventLocalisedConfig = Omit<ContextModelEntityEven
|
|
|
107
108
|
};
|
|
108
109
|
export interface ContextModelEntityPrimaryMeasureConfig {
|
|
109
110
|
id: string;
|
|
110
|
-
label:
|
|
111
|
+
label: Partial<LocalisedString>;
|
|
111
112
|
}
|
|
112
113
|
export type ContextModelEntityPrimaryMeasureLocalisedConfig = Omit<ContextModelEntityPrimaryMeasureConfig, 'label' | 'description'> & {
|
|
113
114
|
label: string;
|
|
@@ -115,7 +116,7 @@ export type ContextModelEntityPrimaryMeasureLocalisedConfig = Omit<ContextModelE
|
|
|
115
116
|
};
|
|
116
117
|
export interface ContextModelSecondaryMeasureGroupConfig {
|
|
117
118
|
id: string;
|
|
118
|
-
label:
|
|
119
|
+
label: Partial<LocalisedString>;
|
|
119
120
|
description?: Record<string, unknown>;
|
|
120
121
|
secondaryMeasureRefs: ComponentRef[];
|
|
121
122
|
}
|
|
@@ -125,7 +126,7 @@ export type ContextModelSecondaryMeasureGroupLocalisedConfig = Omit<ContextModel
|
|
|
125
126
|
};
|
|
126
127
|
export interface ContextModelSecondaryMeasureConfig {
|
|
127
128
|
id: string;
|
|
128
|
-
label:
|
|
129
|
+
label: Partial<LocalisedString>;
|
|
129
130
|
}
|
|
130
131
|
export type ContextModelSecondaryMeasureLocalisedConfig = Omit<ContextModelSecondaryMeasureConfig, 'label' | 'description'> & {
|
|
131
132
|
label: string;
|
package/package.json
CHANGED