@datapos/datapos-shared 0.3.213 → 0.3.215

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.
package/README.md CHANGED
@@ -31,7 +31,7 @@ registry=https://registry.npmjs.org/
31
31
 
32
32
  ## Declarations
33
33
 
34
- This package provides composables, constants, errors, types/interfaces and utilities used by Data Positioning modules.
34
+ This package provides constants, errors, types/interfaces and utilities used by Data Positioning modules.
35
35
 
36
36
  ### Modules
37
37
 
@@ -11,6 +11,7 @@ export type { ContextModuleConfig, ContextModuleOperation } from './module';
11
11
  export type { EngineModuleConfig } from './module';
12
12
  export type { InformerModuleConfig, InformerModuleOperation } from './module';
13
13
  export type { PresenterModuleConfig, PresenterModuleOperation } from './module';
14
+ export type { ToolModuleConfig } from './module';
14
15
  export { CONNECTOR_DESTINATION_OPERATIONS, CONNECTOR_SOURCE_OPERATIONS } from './module';
15
16
  export type { ComponentConfig, ComponentRef, ComponentStatus, ComponentStatusId, ComponentTypeId } from './component';
16
17
  export type { AuditContentResult, AuditContentSettings } from './component/connector';
@@ -10,7 +10,7 @@ export interface ModuleConfig {
10
10
  typeId: ModuleTypeId;
11
11
  version: string;
12
12
  }
13
- type ModuleTypeId = 'app' | 'engine' | 'connector' | 'context' | 'informer' | 'presenter';
13
+ type ModuleTypeId = 'app' | 'engine' | 'connector' | 'context' | 'informer' | 'presenter' | 'tool';
14
14
  export interface AppModuleConfig extends ModuleConfig {
15
15
  typeId: 'app';
16
16
  }
@@ -50,4 +50,7 @@ export interface PresenterModuleConfig extends ModuleConfig {
50
50
  typeId: 'presenter';
51
51
  }
52
52
  export type PresenterModuleOperation = 'list' | 'render';
53
+ export interface ToolModuleConfig extends ModuleConfig {
54
+ typeId: 'tool';
55
+ }
53
56
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.213",
3
+ "version": "0.3.215",
4
4
  "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -31,10 +31,6 @@
31
31
  "zod": "^4.1.12"
32
32
  },
33
33
  "devDependencies": {
34
- "highcharts": "^12.4.0",
35
- "micromark": "^4.0.2",
36
- "micromark-extension-gfm": "^3.0.0",
37
- "micromark-extension-math": "^3.1.0",
38
34
  "@datapos/datapos-development": "^0.3.84",
39
35
  "@types/node": "^24.10.1",
40
36
  "@types/prismjs": "^1.26.5",
@@ -1,10 +0,0 @@
1
- import { Chart } from 'highcharts';
2
- import { PresentationView, PresentationVisualCartesianViewType, PresentationVisualContentConfig, PresentationVisualPolarViewType, PresentationVisualRangeViewType } from '../index';
3
- export interface HighchartsView extends PresentationView {
4
- chart: Chart;
5
- }
6
- export declare function useHighcharts(): {
7
- renderCartesianChart: (type: PresentationVisualCartesianViewType, contentConfig: PresentationVisualContentConfig, element: HTMLElement, callback?: () => void) => Promise<HighchartsView>;
8
- renderPolarChart: (type: PresentationVisualPolarViewType, content: PresentationVisualContentConfig, element: HTMLElement, callback?: () => void) => Promise<HighchartsView>;
9
- renderRangeChart: (type: PresentationVisualRangeViewType, content: PresentationVisualContentConfig, element: HTMLElement, callback?: () => void) => Promise<HighchartsView>;
10
- };
@@ -1,15 +0,0 @@
1
- import { micromark } from 'micromark';
2
- import { gfm, gfmHtml } from 'micromark-extension-gfm';
3
- import { math, mathHtml } from 'micromark-extension-math';
4
- type MicromarkTools = {
5
- gfmExtension: typeof gfm;
6
- gfmHtmlExtension: typeof gfmHtml;
7
- mathExtension: typeof math;
8
- mathHtmlExtension: typeof mathHtml;
9
- micromark: typeof micromark;
10
- };
11
- export declare function useMicromark(): {
12
- getTools: () => Promise<MicromarkTools>;
13
- render: () => Promise<void>;
14
- };
15
- export {};