@dpuse/dpuse-shared 1.0.149 → 1.0.150

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.
@@ -1,7 +1,10 @@
1
1
  import { InferOutput } from 'valibot';
2
+ import { DataFormatId } from '../../dataView';
2
3
  import { parserConfigSchema, toolConfigSchema } from './toolConfig.schema';
3
4
  export { toolConfigSchema } from './toolConfig.schema';
4
5
  export type ToolConfig = InferOutput<typeof toolConfigSchema>;
5
6
  export type ParserConfig = InferOutput<typeof parserConfigSchema>;
6
7
  export type { ParserInterface, ParseStreamOptions, ParseTextOptions, ParseTextResult } from './parser';
8
+ export declare function listParserToolConfigs(toolConfigs: ToolConfig[], dataFormatId: DataFormatId): ToolConfig[];
9
+ export declare function resolveParserToolConfig(toolConfigs: ToolConfig[], dataFormatId: DataFormatId, parserId?: string): ToolConfig;
7
10
  export declare function loadTool<T>(toolConfigs: ToolConfig[], toolId: string): Promise<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.149",
3
+ "version": "1.0.150",
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.133",
67
+ "@dpuse/dpuse-development": "^1.0.135",
68
68
  "@dpuse/eslint-config-dpuse": "^1.0.145",
69
69
  "@types/node": "^26.6.5",
70
70
  "@vitest/coverage-v8": "^5.0.5",