@datapos/datapos-shared 0.3.249 → 0.3.250

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.
@@ -9,7 +9,7 @@ import { DataViewContentAuditConfig, ValueDelimiterId } from '../dataView';
9
9
  import { extractExtensionFromPath, extractNameFromPath, lookupMimeTypeForExtension } from '../../utilities';
10
10
  type ConnectorModuleCategoryId = 'application' | 'curatedDataset' | 'database' | 'fileStore';
11
11
  export type ConnectorModuleOperation = 'abortOperation' | 'authenticateConnection' | 'createObject' | 'describeConnection' | 'dropObject' | 'findObject' | 'getRecord' | 'listNodes' | 'previewObject' | 'removeRecords' | 'retrieveRecords' | 'upsertRecords';
12
- export type ConnectorModuleUsageId = 'bidirectional' | 'destination' | 'source';
12
+ export type ConnectorUsageId = 'bidirectional' | 'destination' | 'source' | 'unknown';
13
13
  export declare const CONNECTOR_DESTINATION_OPERATIONS: string[];
14
14
  export declare const CONNECTOR_SOURCE_OPERATIONS: string[];
15
15
  export interface Connector extends Component {
@@ -36,7 +36,7 @@ export interface ConnectorConfig extends ModuleConfig {
36
36
  implementations: Record<string, ConnectorImplementation>;
37
37
  operations: ConnectorModuleOperation[];
38
38
  typeId: 'connector';
39
- usageId: ConnectorModuleUsageId;
39
+ usageId: ConnectorUsageId;
40
40
  vendorAccountURL?: string;
41
41
  vendorDocumentationURL?: string;
42
42
  vendorHomeURL?: string;
@@ -15,9 +15,10 @@ export type ContextCallbackData = {
15
15
  };
16
16
  export interface ContextConfig extends ModuleConfig {
17
17
  models: ContextModelGroupConfig[];
18
+ operations: ContextOperations[];
18
19
  typeId: 'context';
19
20
  }
20
- export type ContextModuleOperation = 'list';
21
+ export type ContextOperations = 'list';
21
22
  export type ContextLocalisedConfig = Omit<ContextConfig, 'label' | 'description'> & {
22
23
  label: string;
23
24
  description: string;
@@ -7,9 +7,10 @@ export interface Presenter extends Component {
7
7
  }
8
8
  export interface PresenterConfig extends ModuleConfig {
9
9
  presentations: ComponentRef[];
10
+ operations: PresenterOperation[];
10
11
  typeId: 'presenter';
11
12
  }
12
- export type PresenterModuleOperation = 'list' | 'render' | 'setColorMode';
13
+ export type PresenterOperation = 'list' | 'render' | 'setColorMode';
13
14
  export type PresenterLocalisedConfig = Omit<PresenterConfig, 'label' | 'description'> & {
14
15
  label: string;
15
16
  description: string;
@@ -5,7 +5,7 @@ export type LocaleCode = 'en-au' | 'en-gb' | 'en-us' | 'es-es';
5
5
  export type LocalisedString = Record<LocaleCode, string>;
6
6
  export type StatusColorId = 'amber' | 'green' | 'red' | 'other';
7
7
  export type { ComponentConfig, ComponentRef, ComponentStatus, ComponentStatusId, ComponentTypeId, ModuleConfig, ModuleTypeId } from './component';
8
- export type { ConnectorModuleOperation, ConnectorModuleUsageId } from './component/connector';
8
+ export type { ConnectorModuleOperation, ConnectorUsageId } from './component/connector';
9
9
  export { CONNECTOR_DESTINATION_OPERATIONS, CONNECTOR_SOURCE_OPERATIONS } from './component/connector';
10
10
  export type { AuditContentResult, AuditContentSettings } from './component/connector';
11
11
  export type { Connector, ConnectorCallbackData, ConnectorConfig, ConnectorImplementation, ConnectorOperationSettings, ConnectorLocalisedConfig, ConnectorTools } from './component/connector';
@@ -21,7 +21,7 @@ export type { RetrieveResult, RetrieveSettings, RetrieveSummary } from './compon
21
21
  export type { UpsertSettings } from './component/connector';
22
22
  export type { ConnectionAuthorizationConfig, ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig } from './component/connector/connection';
23
23
  export type { DPAFileSystemFileHandle, Encoding, StorageTypeId, UsageTypeId } from './component/connector/connection';
24
- export type { Context, ContextConfig, ContextLocalisedConfig, ContextListSettings, ContextListResult, ContextModuleOperation } from './component/context';
24
+ export type { Context, ContextConfig, ContextLocalisedConfig, ContextListSettings, ContextListResult, ContextOperations } from './component/context';
25
25
  export type { ContextModelGroupConfig, ContextModelGroupLocalisedConfig, ContextModelConfig, ContextModelLocalisedConfig } from './component/context';
26
26
  export type { ContextModelDimensionGroupConfig, ContextModelDimensionGroupLocalisedConfig, ContextModelDimensionConfig, ContextModelDimensionLocalisedConfig, ContextModelDimensionHierarchyConfig, ContextModelDimensionHierarchyLocalisedConfig } from './component/context';
27
27
  export type { ContextModelEntityGroupConfig, ContextModelEntityGroupLocalisedConfig, ContextModelEntityConfig, ContextModelEntityLocalisedConfig, ContextModelEntityDataItemConfig, // Data items.
@@ -35,7 +35,7 @@ export type { DimensionConfig, DimensionLocalisedConfig } from './component/dime
35
35
  export type { ConnectorInterfaceResult, ContextInterfaceResult, Engine, EngineConfig, EngineWorker } from './engine';
36
36
  export type { SerialisedError } from './errors';
37
37
  export type { EventQueryConfig, EventQueryLocalisedConfig } from './component/eventQuery';
38
- export type { Presenter, PresenterConfig, PresenterLocalisedConfig, PresenterModuleOperation } from './component/presenter';
38
+ export type { Presenter, PresenterConfig, PresenterLocalisedConfig, PresenterOperation } from './component/presenter';
39
39
  export type { PresentationConfig, PresentationView } from './component/presenter/presentation';
40
40
  export type { PresentationCategoryId, PresentationCartesianTypeId, PresentationPolarTypeId, PresentationRangeTypeId, PresentationVisualConfig, PresentationVisualContentConfig, PresentationVisualViewConfig, PresentationVisualCartesianChartViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPeriodFlowBoundariesChartViewConfig, PresentationVisualPolarChartViewConfig, PresentationVisualRangeChartViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamGraphViewConfig, PresentationVisualValueTableViewConfig } from './component/presenter/presentation';
41
41
  export type { ToolConfig } from './component/tool';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.249",
3
+ "version": "0.3.250",
4
4
  "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "private": false,