@datapos/datapos-shared 0.3.464 → 0.3.465
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.
|
@@ -4,7 +4,7 @@ import { EngineUtilities } from '../../engine';
|
|
|
4
4
|
import { ToolConfig } from '../tool';
|
|
5
5
|
import { ConnectionDescriptionConfig, ConnectionNodeConfig } from './connection';
|
|
6
6
|
import { connectorCategoryConfigSchema, connectorConfigSchema, connectorOperationNameSchema, connectorUsageIdSchema } from './connectorConfig.schema';
|
|
7
|
-
import { DataViewPreviewConfig, ObjectRecord,
|
|
7
|
+
import { DataViewPreviewConfig, ObjectRecord, ValueDelimiterId } from '../dataView';
|
|
8
8
|
/**
|
|
9
9
|
* Connector interface and constructor.
|
|
10
10
|
*/
|
|
@@ -178,7 +178,7 @@ interface RetrieveChunksOptions extends ConnectorOperationOptions {
|
|
|
178
178
|
chunkSize?: number;
|
|
179
179
|
encodingId: string;
|
|
180
180
|
path: string;
|
|
181
|
-
valueDelimiterId:
|
|
181
|
+
valueDelimiterId: ValueDelimiterId;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* Retrieve records options and summary.
|
|
@@ -187,7 +187,7 @@ interface RetrieveRecordsOptions extends ConnectorOperationOptions {
|
|
|
187
187
|
chunkSize?: number;
|
|
188
188
|
encodingId: string;
|
|
189
189
|
path: string;
|
|
190
|
-
valueDelimiterId:
|
|
190
|
+
valueDelimiterId: ValueDelimiterId;
|
|
191
191
|
}
|
|
192
192
|
interface RetrieveRecordsSummary {
|
|
193
193
|
/**
|
|
@@ -60,9 +60,10 @@ interface DataViewContentAuditConfig {
|
|
|
60
60
|
interface DataViewRelationshipsAuditConfig {
|
|
61
61
|
placeholder?: string;
|
|
62
62
|
}
|
|
63
|
-
type ObjectRecord = (
|
|
64
|
-
type
|
|
65
|
-
type
|
|
63
|
+
type ObjectRecord = (NamedValueRecord | StringValueRecord | ValueRecord)[];
|
|
64
|
+
type NamedValueRecord = Record<string, bigint | boolean | number | string | null>;
|
|
65
|
+
type StringValueRecord = (string | null)[];
|
|
66
|
+
type ValueRecord = (bigint | boolean | number | string | null)[];
|
|
66
67
|
type ParseRecord = ParseField[];
|
|
67
68
|
interface ParseField {
|
|
68
69
|
value: string | null;
|
|
@@ -82,4 +83,4 @@ type ValueDelimiterId = '' | ':' | ',' | '!' | '0x1E' | ';' | ' ' | '\t' | '_' |
|
|
|
82
83
|
*/
|
|
83
84
|
declare const ORDERED_VALUE_DELIMITER_IDS: ValueDelimiterId[];
|
|
84
85
|
export { ORDERED_VALUE_DELIMITER_IDS };
|
|
85
|
-
export type { DataViewConfig, DataViewContentAuditConfig, DataViewInterface, DataViewLocalisedConfig, DataViewPreviewConfig, DataFormatId, NumericValueSignId, NumericValueSubtypeId, NumericValueUnitsId, ObjectRecord, ParseField, ParseRecord,
|
|
86
|
+
export type { DataViewConfig, DataViewContentAuditConfig, DataViewInterface, DataViewLocalisedConfig, DataViewPreviewConfig, DataFormatId, NamedValueRecord, NumericValueSignId, NumericValueSubtypeId, NumericValueUnitsId, ObjectRecord, ParseField, ParseRecord, RecordDelimiterId, StringValueRecord, StringValueSubtypeId, TemporalValueSubtypeId, ValueDataTypeId, ValueDelimiterId, ValueRecord };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.465",
|
|
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>",
|