@datapos/datapos-shared 0.3.429 → 0.3.430
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.
|
@@ -70,9 +70,5 @@ interface DPAFileSystemFileHandle {
|
|
|
70
70
|
}
|
|
71
71
|
type StorageTypeId = 'binary' | 'boolean' | 'byte' | 'date' | 'dateTime' | 'dateTimeOffset' | 'decimal' | 'double' | 'int8' | 'int16' | 'int32' | 'int64' | 'object' | 'single' | 'string' | 'time' | 'unknown';
|
|
72
72
|
type UsageTypeId = 'boolean' | 'decimalNumber' | 'moment' | 'momentDate' | 'momentTime' | 'string' | 'unknown' | 'wholeNumber';
|
|
73
|
-
interface Encoding {
|
|
74
|
-
id: string;
|
|
75
|
-
confidenceLevel: number | undefined;
|
|
76
|
-
}
|
|
77
73
|
/** Exports. */
|
|
78
|
-
export type { ConnectionColumnConfig, ConnectionConfig, ConnectionDescription, ConnectionNodeConfig,
|
|
74
|
+
export type { ConnectionColumnConfig, ConnectionConfig, ConnectionDescription, ConnectionNodeConfig, UsageTypeId };
|
|
@@ -135,5 +135,5 @@ declare const constructConnectorCategoryConfig: (id: string, localeId?: import('
|
|
|
135
135
|
/** Exports. */
|
|
136
136
|
export { connectorConfigSchema } from './connectorConfig.schema';
|
|
137
137
|
export { constructConnectorCategoryConfig };
|
|
138
|
-
export type { ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig,
|
|
138
|
+
export type { ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig, UsageTypeId } from './connection';
|
|
139
139
|
export type { ConnectorConfig, ConnectorConstructor, ConnectorInterface, ConnectorLocalisedConfig, ConnectorOperationName, ConnectorOperationOptions, ConnectorUsageId, CreateObjectOptions, DropObjectOptions, FindObjectFolderPathOptions, GetReadableStreamOptions, GetRecordResult, GetRecordOptions, ListNodesResult, ListNodesOptions, PreviewObjectOptions, RemoveRecordsOptions, RetrieveChunksOptions, RetrieveRecordsOptions, RetrieveRecordsSummary, UpsertRecordsOptions };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Encoding.
|
|
3
3
|
*/
|
|
4
|
+
/** Encoding. */
|
|
5
|
+
interface Encoding {
|
|
6
|
+
id: string;
|
|
7
|
+
confidenceLevel: number | undefined;
|
|
8
|
+
}
|
|
4
9
|
/**
|
|
5
|
-
* Encoding configuration.
|
|
10
|
+
* Encoding type configuration.
|
|
6
11
|
*/
|
|
7
|
-
interface
|
|
12
|
+
interface EncodingTypeConfig {
|
|
8
13
|
id: string;
|
|
9
14
|
groupLabel: string;
|
|
10
15
|
label: string;
|
|
@@ -14,6 +19,6 @@ interface EncodingConfig {
|
|
|
14
19
|
/**
|
|
15
20
|
* Get encoding configurations.
|
|
16
21
|
*/
|
|
17
|
-
declare function getEncodingConfigs(localeId?: string):
|
|
22
|
+
declare function getEncodingConfigs(localeId?: string): EncodingTypeConfig[];
|
|
18
23
|
export { default as encodingConfigData } from './encodingConfigs.json';
|
|
19
|
-
export { type
|
|
24
|
+
export { type Encoding, type EncodingTypeConfig, getEncodingConfigs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConnectionConfig } from '../component/connector/connection';
|
|
2
|
-
import {
|
|
2
|
+
import { EncodingTypeConfig } from '../encoding';
|
|
3
3
|
import { ModuleConfig } from '../component/module';
|
|
4
4
|
import { ToolConfig } from '../component/tool';
|
|
5
5
|
import { ConnectorOperationOptions } from '../component/connector';
|
|
@@ -7,7 +7,7 @@ import { ContextCallbackData, ContextConfig, ContextOperationOptions } from '../
|
|
|
7
7
|
import { DataViewContentAuditConfig, DataViewPreviewConfig, ValueDelimiterId } from '../component/dataView';
|
|
8
8
|
/** Engine runtime interface. */
|
|
9
9
|
interface EngineRuntimeInterface {
|
|
10
|
-
|
|
10
|
+
getEncodingTypeConfigs: (localeId: string) => EncodingTypeConfig[];
|
|
11
11
|
invokeWorker(errorEventCallback: (errorEvent: ErrorEvent) => void): EngineWorkerInterface;
|
|
12
12
|
}
|
|
13
13
|
/** Engine worker interface. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.430",
|
|
4
4
|
"description": "A library containing common constants, types and utilities used across all Data Positioning projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|