@dpuse/dpuse-shared 1.0.136 → 1.0.137

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.
@@ -0,0 +1,6 @@
1
+ import { DataFormatId } from '.';
2
+ export interface DataFormatIconConfig {
3
+ icon: string;
4
+ iconDark: string | null;
5
+ }
6
+ export declare const DATA_FORMAT_ICON_CONFIGS: Record<Exclude<DataFormatId, 'unknown'>, DataFormatIconConfig>;
@@ -38,7 +38,7 @@ export interface PreviewConfig {
38
38
  valueDelimiterOtherCharSeq?: string | undefined;
39
39
  valueTrimMethodId?: ValueTrimMethodId | undefined;
40
40
  }
41
- export type DataFormatId = 'arrow' | 'avro' | 'dpe' | 'dtv' | 'json' | 'jsonl' | 'markdown' | 'ods' | 'parquet' | 'sav' | 'sqlite' | 'text' | 'xlsm' | 'xlsx' | 'xml' | 'unknown';
41
+ export type DataFormatId = 'arrow' | 'avro' | 'dtv' | 'json' | 'jsonl' | 'markdown' | 'ods' | 'parquet' | 'sav' | 'sqlite' | 'xlsx' | 'xml' | 'unknown';
42
42
  export type ParsingRecord = ParsingResult[];
43
43
  interface ParsingResult {
44
44
  value: string | null;
@@ -129,5 +129,5 @@ interface UnknownInferenceResult {
129
129
  inputValueWasQuoted: boolean;
130
130
  inferredValue: null;
131
131
  }
132
+ export { DATA_FORMAT_ICON_CONFIGS, type DataFormatIconConfig } from './dataFormatIcons';
132
133
  export declare const ORDERED_VALUE_DELIMITER_IDS: ValueDelimiterId[];
133
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.136",
3
+ "version": "1.0.137",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across DPUse projects.",
6
6
  "license": "MIT",
@@ -69,7 +69,7 @@
69
69
  "@types/node": "^26.6.5",
70
70
  "@vitest/coverage-v8": "^5.0.5",
71
71
  "eslint": "^10.13.0",
72
- "fallow": "^3.35.0",
72
+ "fallow": "^3.36.0",
73
73
  "fast-check": "^4.10.2",
74
74
  "jschardet": "^4.0.0",
75
75
  "prettier": "^3.9.10",