@datapos/datapos-shared 0.3.257 → 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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.257",
3
+ "version": "0.3.258",
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,