@datapos/datapos-shared 0.3.499 → 0.3.501

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.
@@ -97,6 +97,7 @@ interface BooleanInferenceResult {
97
97
  dataTypeId: 'boolean';
98
98
  dataSubtypeId: undefined;
99
99
  inputValue: boolean | string | undefined;
100
+ inputValueWasQuoted: boolean;
100
101
  inferredValue: boolean;
101
102
  }
102
103
  type NumericInferenceResult = BigIntInferenceResult | NumberInferenceResult;
@@ -105,6 +106,7 @@ interface BigIntInferenceResult {
105
106
  dataSubtypeId: 'bigint';
106
107
  format: string;
107
108
  inputValue: bigint | string | undefined;
109
+ inputValueWasQuoted: boolean;
108
110
  inferredValue: bigint;
109
111
  currencySymbolId: string | undefined;
110
112
  decimalPlaces: number;
@@ -116,6 +118,7 @@ interface NumberInferenceResult {
116
118
  dataSubtypeId: 'integer' | 'decimal';
117
119
  format: string;
118
120
  inputValue: number | string | undefined;
121
+ inputValueWasQuoted: boolean;
119
122
  inferredValue: number;
120
123
  currencySymbolId: string | undefined;
121
124
  decimalPlaces: number;
@@ -130,6 +133,7 @@ interface StringInferenceResult {
130
133
  dataSubtypeId: StringSubtypeId;
131
134
  format: undefined;
132
135
  inputValue: string;
136
+ inputValueWasQuoted: boolean;
133
137
  inferredValue: string;
134
138
  }
135
139
  interface TemporalInferenceResult {
@@ -137,16 +141,19 @@ interface TemporalInferenceResult {
137
141
  dataSubtypeId: TemporalSubtypeId;
138
142
  format: string;
139
143
  inputValue: string;
144
+ inputValueWasQuoted: boolean;
140
145
  inferredValue: Date;
141
146
  }
142
147
  interface UnknownInferenceResult {
143
148
  dataTypeId: 'unknown';
144
149
  dataSubtypeId: undefined;
145
150
  inputValue: string | null | undefined;
151
+ inputValueWasQuoted: boolean;
146
152
  inferredValue: null;
147
153
  }
148
154
  interface TypeParsedRecordsResult {
149
155
  columnConfigs: ObjectColumnConfig[];
156
+ hasHeaderRow: boolean;
150
157
  typedRecords: InferenceRecord[];
151
158
  }
152
159
  type DataFormatId = 'dpe' | 'dtv' | 'json' | 'spss' | 'xlsx' | 'xml' | 'unknown';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.499",
3
+ "version": "0.3.501",
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>",