@dpuse/dpuse-shared 1.0.128 → 1.0.130

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.
@@ -38,7 +38,7 @@ export interface PreviewConfig {
38
38
  valueDelimiterOtherCharSeq?: string | undefined;
39
39
  valueTrimMethodId?: ValueTrimMethodId | undefined;
40
40
  }
41
- export type DataFormatId = 'dpe' | 'dtv' | 'json' | 'spss' | 'xlsx' | 'xml' | 'unknown';
41
+ export type DataFormatId = 'dpe' | 'dtv' | 'json' | 'markdown' | 'spss' | 'text' | 'xlsx' | 'xml' | 'unknown';
42
42
  export type ParsingRecord = ParsingResult[];
43
43
  interface ParsingResult {
44
44
  value: string | null;
@@ -7,5 +7,7 @@ export declare function formatNumberAsStorageSize(number?: number, decimalPlaces
7
7
  export declare function formatNumberAsDuration(number?: number, stopAt?: DurationUnit, locale?: string): string;
8
8
  export declare function extractPathWithoutExtension(itemPath: string): string | undefined;
9
9
  export declare function extractExtensionFromPath(itemPath: string): string | undefined;
10
+ export declare function isUnsupportedFileExtension(extension?: string): boolean;
11
+ export declare function hasMimeTypeForExtension(extension?: string): boolean;
10
12
  export declare function lookupMimeTypeForExtension(extension?: string): string;
11
13
  export declare function convertODataTypeIdToUsageTypeId(oDataTypeId: string): UsageTypeId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.128",
3
+ "version": "1.0.130",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across DPUse projects.",
6
6
  "license": "MIT",
@@ -64,7 +64,7 @@
64
64
  "valibot": "^1.5.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@dpuse/dpuse-development": "^1.0.127",
67
+ "@dpuse/dpuse-development": "^1.0.129",
68
68
  "@dpuse/eslint-config-dpuse": "^1.0.141",
69
69
  "@types/node": "^26.6.5",
70
70
  "@vitest/coverage-v8": "^5.0.5",
@@ -75,7 +75,7 @@
75
75
  "prettier": "^3.9.10",
76
76
  "sonda": "^0.14.0",
77
77
  "typescript": "^6.0.3",
78
- "vite": "^8.3.4",
78
+ "vite": "^8.3.5",
79
79
  "vite-plugin-dts": "^5.1.2",
80
80
  "vitest": "^5.0.5"
81
81
  }