@dpuse/dpuse-shared 0.3.806 → 0.3.808

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 { BaseConfig } from '../../../../../index';
1
2
  import { ComponentInstanceConfig } from '../../../..';
2
3
  import { LocaleDescription, LocaleLabel } from '../../../../../locale';
3
4
  export interface ContextModelDimensionHierarchyConfig extends ComponentInstanceConfig {
@@ -6,9 +7,7 @@ export interface ContextModelDimensionHierarchyConfig extends ComponentInstanceC
6
7
  levels: ContextModelDimensionHierarchyLevelConfig[];
7
8
  children: ContextModelDimensionHierarchyNodeConfig[];
8
9
  }
9
- export interface ContextModelDimensionHierarchyLevelConfig {
10
- label: LocaleLabel;
11
- }
10
+ export type ContextModelDimensionHierarchyLevelConfig = BaseConfig;
12
11
  export interface ContextModelDimensionHierarchyNodeConfig {
13
12
  id: string | number;
14
13
  label?: LocaleLabel;
@@ -1,4 +1,9 @@
1
- import { ComponentInstanceConfig } from '../../../..';
2
- export interface ContextModelEntityDataItemConfig extends ComponentInstanceConfig {
3
- typeId: 'contextModelEntityDataItem';
1
+ import { BaseConfig } from '../../../../../index';
2
+ import { LocaleDescription } from '../../../../../locale';
3
+ export interface ContextModelEntityDataItemConfig extends Omit<BaseConfig, 'description'> {
4
+ description?: LocaleDescription;
5
+ type?: string;
6
+ entityTypeId?: string;
7
+ content?: string;
8
+ lookup?: string;
4
9
  }
@@ -1,8 +1,7 @@
1
- import { LocaleDescription, LocaleLabel } from '../../../../../locale';
2
- export interface ContextModelEntityPrimaryMeasureConfig {
3
- id: string;
4
- label: LocaleLabel;
5
- description: LocaleDescription;
1
+ import { BaseConfig } from '../../../../../index';
2
+ import { LocaleDescription } from '../../../../../locale';
3
+ export interface ContextModelEntityPrimaryMeasureConfig extends Omit<BaseConfig, 'description'> {
4
+ description?: LocaleDescription;
6
5
  formula?: string;
7
6
  events?: unknown[];
8
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "0.3.806",
3
+ "version": "0.3.808",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across all DPUse projects.",
6
6
  "license": "MIT",