@datapos/datapos-shared 0.3.256 → 0.3.258
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.
|
@@ -7,19 +7,19 @@ export interface EngineConfig extends ModuleConfig {
|
|
|
7
7
|
typeId: 'engine';
|
|
8
8
|
}
|
|
9
9
|
type InitialiseEngine = (settings: InitialiseSettings) => Promise<void>;
|
|
10
|
-
type Test = () => Promise<void>;
|
|
11
10
|
type ProcessConnectorRequest = (id: string, connectionConfig: ConnectionConfig, settings: ConnectorOperationSettings, callback?: ((callbackData: ContextCallbackData) => void) | undefined) => Promise<ContextInterfaceResult>;
|
|
12
11
|
export type ContextInterfaceResult = AuditContentResult | DataViewPreviewConfig | ListResult | RetrieveResult;
|
|
13
12
|
type ProcessContextRequest = (id: string, contextConfig: ContextConfig, settings: ContextOperationSettings, callback?: ((callbackData: ConnectorCallbackData) => void) | undefined) => Promise<ConnectorInterfaceResult>;
|
|
14
13
|
export type ConnectorInterfaceResult = AuditContentResult | DataViewPreviewConfig | ListResult | RetrieveResult;
|
|
14
|
+
type ProcessTestRequest = (settings: Record<string, unknown>) => Promise<void>;
|
|
15
15
|
export interface Engine extends Component {
|
|
16
16
|
getEncodingConfigs: (localeId: string) => EncodingConfig[];
|
|
17
17
|
invokeWorker(errorEventCallback: (errorEvent: ErrorEvent) => void): EngineWorker;
|
|
18
18
|
}
|
|
19
19
|
export interface EngineWorker {
|
|
20
20
|
initialise: InitialiseEngine;
|
|
21
|
-
test: Test;
|
|
22
21
|
processConnectorRequest: ProcessConnectorRequest;
|
|
23
22
|
processContextRequest: ProcessContextRequest;
|
|
23
|
+
processTestRequest: ProcessTestRequest;
|
|
24
24
|
}
|
|
25
25
|
export {};
|
|
@@ -24,7 +24,7 @@ export { contextConfigSchema } from './component/context/contextSchema';
|
|
|
24
24
|
export { presenterConfigSchema } from './component/presenter/presenterSchema';
|
|
25
25
|
export type { ConnectionAuthorizationConfig, ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig } from './component/connector/connection';
|
|
26
26
|
export type { DPAFileSystemFileHandle, Encoding, StorageTypeId, UsageTypeId } from './component/connector/connection';
|
|
27
|
-
export type { Context, ContextConfig, ContextLocalisedConfig, ContextListSettings, ContextListResult, ContextOperation } from './component/context';
|
|
27
|
+
export type { Context, ContextConfig, ContextLocalisedConfig, ContextListSettings, ContextListResult, ContextOperation, ContextCallbackData } from './component/context';
|
|
28
28
|
export type { ContextModelGroupConfig, ContextModelGroupLocalisedConfig, ContextModelConfig, ContextModelLocalisedConfig } from './component/context';
|
|
29
29
|
export type { ContextModelDimensionGroupConfig, ContextModelDimensionGroupLocalisedConfig, ContextModelDimensionConfig, ContextModelDimensionLocalisedConfig, ContextModelDimensionHierarchyConfig, ContextModelDimensionHierarchyLocalisedConfig } from './component/context';
|
|
30
30
|
export type { ContextModelEntityGroupConfig, ContextModelEntityGroupLocalisedConfig, ContextModelEntityConfig, ContextModelEntityLocalisedConfig, ContextModelEntityDataItemConfig, // Data items.
|
package/package.json
CHANGED