@datapos/datapos-shared 0.3.250 → 0.3.252
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.
|
@@ -8,7 +8,7 @@ import { convertMillisecondsToTimestamp, LocalisedString } from '../../index';
|
|
|
8
8
|
import { DataViewContentAuditConfig, ValueDelimiterId } from '../dataView';
|
|
9
9
|
import { extractExtensionFromPath, extractNameFromPath, lookupMimeTypeForExtension } from '../../utilities';
|
|
10
10
|
type ConnectorModuleCategoryId = 'application' | 'curatedDataset' | 'database' | 'fileStore';
|
|
11
|
-
export type
|
|
11
|
+
export type ConnectorOperation = 'abortOperation' | 'authenticateConnection' | 'createObject' | 'describeConnection' | 'dropObject' | 'findObject' | 'getRecord' | 'listNodes' | 'previewObject' | 'removeRecords' | 'retrieveRecords' | 'upsertRecords';
|
|
12
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[];
|
|
@@ -34,7 +34,7 @@ export interface ConnectorConfig extends ModuleConfig {
|
|
|
34
34
|
category?: ConnectorCategory;
|
|
35
35
|
categoryId: ConnectorModuleCategoryId;
|
|
36
36
|
implementations: Record<string, ConnectorImplementation>;
|
|
37
|
-
operations:
|
|
37
|
+
operations: ConnectorOperation[];
|
|
38
38
|
typeId: 'connector';
|
|
39
39
|
usageId: ConnectorUsageId;
|
|
40
40
|
vendorAccountURL?: string;
|
|
@@ -15,10 +15,10 @@ export type ContextCallbackData = {
|
|
|
15
15
|
};
|
|
16
16
|
export interface ContextConfig extends ModuleConfig {
|
|
17
17
|
models: ContextModelGroupConfig[];
|
|
18
|
-
operations:
|
|
18
|
+
operations: ContextOperation[];
|
|
19
19
|
typeId: 'context';
|
|
20
20
|
}
|
|
21
|
-
export type
|
|
21
|
+
export type ContextOperation = 'list';
|
|
22
22
|
export type ContextLocalisedConfig = Omit<ContextConfig, 'label' | 'description'> & {
|
|
23
23
|
label: string;
|
|
24
24
|
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 {
|
|
8
|
+
export type { ConnectorOperation, 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,
|
|
24
|
+
export type { Context, ContextConfig, ContextLocalisedConfig, ContextListSettings, ContextListResult, ContextOperation } 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.
|
package/package.json
CHANGED