@datapos/datapos-shared 0.1.872 → 0.1.874

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.
@@ -10,6 +10,10 @@ export interface ComponentConfig {
10
10
  statusId: ComponentStatusId;
11
11
  typeId: ComponentTypeId;
12
12
  }
13
+ export interface ComponentRef {
14
+ id: string;
15
+ label: Record<string, string>;
16
+ }
13
17
  export type ComponentTypeId = 'connection' | 'connector' | 'focus' | 'model' | 'dataView' | 'eventQuery' | 'presentation' | 'presenter' | 'tutorial';
14
18
  export type ComponentStatusId = 'alpha' | 'beta' | 'generalAvailability' | 'notApplicable' | 'preAlpha' | 'proposed' | 'releaseCandidate' | 'unavailable' | 'underReview';
15
19
  export type ComponentStatus = {
@@ -1,6 +1,6 @@
1
- import { ComponentConfig } from './component';
1
+ import { ComponentConfig, ComponentRef } from './component';
2
2
  export interface FocusConfig extends ComponentConfig {
3
- modelRefs: ModelRef[];
3
+ modelRefs: ComponentRef[];
4
4
  }
5
5
  export interface ModelConfig extends ComponentConfig {
6
6
  diagramURL?: string;
@@ -9,32 +9,28 @@ export interface ModelConfig extends ComponentConfig {
9
9
  secondaryMeasureGroupConfigs: SecondaryMeasureGroupConfig[];
10
10
  viewGroupConfigs: ViewGroupConfig[];
11
11
  }
12
- export interface ModelRef {
13
- id: string;
14
- label: Record<string, string>;
15
- }
16
12
  interface DimensionGroupConfig {
17
13
  id: string;
18
14
  label: Record<string, string>;
19
- description: Record<string, string>;
15
+ description?: Record<string, string>;
20
16
  dimensionConfigs: DimensionConfig[];
21
17
  }
22
18
  interface EntityGroupConfig {
23
19
  id: string;
24
20
  label: Record<string, string>;
25
- description: Record<string, string>;
21
+ description?: Record<string, string>;
26
22
  entityConfigs: EntityConfig[];
27
23
  }
28
24
  interface SecondaryMeasureGroupConfig {
29
25
  id: string;
30
26
  label: Record<string, string>;
31
- description: Record<string, string>;
27
+ description?: Record<string, string>;
32
28
  secondaryMeasureConfigs: SecondaryMeasureConfig[];
33
29
  }
34
30
  interface ViewGroupConfig {
35
31
  id: string;
36
32
  label: Record<string, string>;
37
- description: Record<string, string>;
33
+ description?: Record<string, string>;
38
34
  viewConfigs: ViewConfig[];
39
35
  }
40
36
  export interface DimensionConfig {
@@ -1,5 +1,5 @@
1
1
  export { DefaultTimestamp } from './timestamp';
2
- export type { ComponentConfig, ComponentStatus, ComponentStatusId, ComponentTypeId } from './component';
2
+ export type { ComponentConfig, ComponentRef, ComponentStatus, ComponentStatusId, ComponentTypeId } from './component';
3
3
  export type { ConnectionAuthorizationConfig, ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig } from './connection';
4
4
  export type { DPAFileSystemFileHandle, Encoding, StorageTypeId, UsageTypeId } from './connection';
5
5
  export type { AuditContentResult, AuditContentSettings } from './connector';
@@ -14,7 +14,7 @@ export type { PreviewResult, PreviewSettings } from './connector';
14
14
  export type { RemoveSettings } from './connector';
15
15
  export type { RetrieveResult, RetrieveSettings, RetrieveSummary, RetrieveTools } from './connector';
16
16
  export type { UpsertSettings } from './connector';
17
- export type { FocusConfig, ModelConfig, ModelRef, DimensionConfig, EntityCharacteristicConfig, EntityComputationConfig } from './context';
17
+ export type { FocusConfig, ModelConfig, DimensionConfig, EntityCharacteristicConfig, EntityComputationConfig } from './context';
18
18
  export type { EntityConfig, EntityEventConfig, HierarchyConfig, ViewConfig, Event } from './context';
19
19
  export type { DataFormatId, EncodingConfig, RecordDelimiterId, ValueDelimiterId } from './dataView';
20
20
  export type { DataViewConfig, DataViewContentAuditConfig, DataViewPreviewConfig, DataViewRelationshipsAuditConfig, ParsedValue } from './dataView';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@datapos/datapos-shared",
3
3
  "license": "ISC",
4
4
  "private": false,
5
- "version": "0.1.872",
5
+ "version": "0.1.874",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"