@dpuse/dpuse-shared 1.0.227 → 1.0.229

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.
@@ -66,10 +66,7 @@ export interface SampleIssue {
66
66
  value: string | undefined;
67
67
  }
68
68
  export type SampleIssueSeverityId = 'error' | 'info' | 'warning';
69
- export type ParsedRecord = {
70
- value: string | null;
71
- valueWasQuoted: boolean;
72
- }[];
69
+ export type ParsedRecord = (string | null)[];
73
70
  export interface ContentAuditConfig {
74
71
  asAt: number;
75
72
  byteCount: number;
@@ -90,6 +87,7 @@ export interface ColumnReadingConfig extends ObjectColumnConfig {
90
87
  decimalSeparatorId: DecimalSeparatorId | undefined;
91
88
  dateOrderId: DateOrderId | undefined;
92
89
  nullWordsAreEmpty?: boolean | undefined;
90
+ blankValuesAreEmpty?: boolean | undefined;
93
91
  }
94
92
  export type DateOrderId = 'dayFirst' | 'monthFirst';
95
93
  export type DecimalSeparatorId = (typeof DECIMAL_SEPARATOR_IDS)[number];
@@ -163,6 +161,7 @@ export interface ColumnChoiceConfig {
163
161
  decimalSeparatorId: DecimalSeparatorId | undefined;
164
162
  isIgnored: boolean | undefined;
165
163
  nullWordsAreEmpty: boolean | undefined;
164
+ blankValuesAreEmpty?: boolean | undefined;
166
165
  }
167
166
  type DataTypeConfig = (typeof DATA_TYPE_CONFIGS)[number];
168
167
  export type DataTypeId = DataTypeConfig['id'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.227",
3
+ "version": "1.0.229",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across DPUse projects.",
6
6
  "license": "MIT",