@dpuse/dpuse-shared 1.0.141 → 1.0.143
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.
|
@@ -22,6 +22,7 @@ export interface PreviewConfig {
|
|
|
22
22
|
fileType: FileTypeResult | undefined;
|
|
23
23
|
hasHeaders: boolean | undefined;
|
|
24
24
|
inferenceRecords: InferenceRecord[];
|
|
25
|
+
issues?: PreviewIssue[];
|
|
25
26
|
linesToSkipAtStart?: number | undefined;
|
|
26
27
|
parsedRecords: ParsingRecord[];
|
|
27
28
|
quoteEscapeChar?: string | undefined;
|
|
@@ -38,6 +39,13 @@ export interface PreviewConfig {
|
|
|
38
39
|
valueDelimiterOtherCharSeq?: string | undefined;
|
|
39
40
|
valueTrimMethodId?: ValueTrimMethodId | undefined;
|
|
40
41
|
}
|
|
42
|
+
export interface PreviewIssue {
|
|
43
|
+
id: string;
|
|
44
|
+
lineNumber: number | undefined;
|
|
45
|
+
message: string;
|
|
46
|
+
severityId: PreviewIssueSeverityId;
|
|
47
|
+
}
|
|
48
|
+
export type PreviewIssueSeverityId = 'error' | 'info' | 'warning';
|
|
41
49
|
export type DataFormatId = 'arrow' | 'avro' | 'dtv' | 'json' | 'jsonl' | 'markdown' | 'ods' | 'parquet' | 'sav' | 'sqlite' | 'xlsx' | 'xml' | 'unknown';
|
|
42
50
|
export type ParsingRecord = ParsingResult[];
|
|
43
51
|
interface ParsingResult {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.143",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Common constants, types and utilities used across DPUse projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"eslint": "^10.13.0",
|
|
72
72
|
"fallow": "^3.36.0",
|
|
73
73
|
"fast-check": "^4.10.2",
|
|
74
|
-
"jschardet": "^4.
|
|
74
|
+
"jschardet": "^4.1.0",
|
|
75
75
|
"prettier": "^3.9.10",
|
|
76
76
|
"sonda": "^0.14.0",
|
|
77
77
|
"typescript": "^6.0.3",
|