@liuhange/dsh-data-visualization 2.0.0 → 2.0.2
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/package.json +53 -39
- package/lib/types/chartRenderers/barChartRenderer.d.ts +0 -8
- package/lib/types/chartRenderers/comparisonChartRenderer.d.ts +0 -8
- package/lib/types/chartRenderers/flowchartRenderer.d.ts +0 -8
- package/lib/types/chartRenderers/pieChartRenderer.d.ts +0 -8
- package/lib/types/chartRenderers/radarChartRenderer.d.ts +0 -8
- package/lib/types/defaultVisualizationConfig.d.ts +0 -3
- package/lib/types/htmlAssembler.d.ts +0 -12
- package/lib/types/index.d.ts +0 -5
- package/lib/types/interactionScript.d.ts +0 -5
- package/lib/types/invariant.d.ts +0 -3
- package/lib/types/reportDataLoader.d.ts +0 -5
- package/lib/types/templateLoader.d.ts +0 -5
- package/lib/types/types.d.ts +0 -30
package/package.json
CHANGED
|
@@ -1,39 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@liuhange/dsh-data-visualization",
|
|
3
|
+
"description": "Data visualization plugin: generate self-contained HTML reports with interactive charts (bar/comparison/pie/radar/flowchart) Also known as @deepseek-ai/dsh-data-visualization.",
|
|
4
|
+
"version": "2.0.2",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/liuhange789/data-asset-inspector.git",
|
|
11
|
+
"directory": "packages/data-asset/data-visualization"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "lib/index.js",
|
|
15
|
+
"types": "lib/types/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./lib/types/index.d.ts",
|
|
19
|
+
"default": "./lib/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./invariant": {
|
|
22
|
+
"types": "./lib/types/invariant.d.ts",
|
|
23
|
+
"default": "./lib/invariant.js"
|
|
24
|
+
},
|
|
25
|
+
"./src/*": "./src/*",
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"lib/index.js",
|
|
30
|
+
"lib/invariant.js",
|
|
31
|
+
"lib/types/**/*.d.ts"
|
|
32
|
+
],
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"scripts": {
|
|
35
|
+
"typecheck": "tsc --noEmit",
|
|
36
|
+
"test": "vitest run",
|
|
37
|
+
"build": "tsc"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@deepseek-ai/cordis": "^4.0.0",
|
|
41
|
+
"@deepseek-ai/dsh-tools": "0.0.1-rc.1",
|
|
42
|
+
"@liuhange/dsh-data-asset-shared": "^2.0.0"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"deepseek-harness",
|
|
46
|
+
"dsh-plugin",
|
|
47
|
+
"data-asset",
|
|
48
|
+
"data-asset-inspector",
|
|
49
|
+
"shujintong",
|
|
50
|
+
"数据资产"
|
|
51
|
+
],
|
|
52
|
+
"homepage": "https://github.com/liuhange789/data-asset-inspector#readme"
|
|
53
|
+
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ChartRenderResult } from '../types.js';
|
|
2
|
-
import type { VisualizationConfig } from '@liuhange/dsh-data-asset-shared';
|
|
3
|
-
export declare class BarChartRenderer {
|
|
4
|
-
render(data: unknown, config: VisualizationConfig): ChartRenderResult;
|
|
5
|
-
private extractCounts;
|
|
6
|
-
private placeholder;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=barChartRenderer.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ChartRenderResult } from '../types.js';
|
|
2
|
-
import type { VisualizationConfig } from '@liuhange/dsh-data-asset-shared';
|
|
3
|
-
export declare class ComparisonChartRenderer {
|
|
4
|
-
render(data: unknown, config: VisualizationConfig): ChartRenderResult;
|
|
5
|
-
private extractData;
|
|
6
|
-
private placeholder;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=comparisonChartRenderer.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ChartRenderResult } from '../types.js';
|
|
2
|
-
import type { VisualizationConfig } from '@liuhange/dsh-data-asset-shared';
|
|
3
|
-
export declare class FlowchartRenderer {
|
|
4
|
-
render(data: unknown, config: VisualizationConfig): ChartRenderResult;
|
|
5
|
-
private extractData;
|
|
6
|
-
private placeholder;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=flowchartRenderer.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ChartRenderResult } from '../types.js';
|
|
2
|
-
import type { VisualizationConfig } from '@liuhange/dsh-data-asset-shared';
|
|
3
|
-
export declare class PieChartRenderer {
|
|
4
|
-
render(data: unknown, config: VisualizationConfig): ChartRenderResult;
|
|
5
|
-
private extractData;
|
|
6
|
-
private placeholder;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=pieChartRenderer.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ChartRenderResult } from '../types.js';
|
|
2
|
-
import type { VisualizationConfig } from '@liuhange/dsh-data-asset-shared';
|
|
3
|
-
export declare class RadarChartRenderer {
|
|
4
|
-
render(data: unknown, config: VisualizationConfig): ChartRenderResult;
|
|
5
|
-
private extractData;
|
|
6
|
-
private placeholder;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=radarChartRenderer.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { VisualizationConfig } from '@liuhange/dsh-data-asset-shared';
|
|
2
|
-
import type { ChartRenderResult } from './types.js';
|
|
3
|
-
export interface HtmlAssembleInput {
|
|
4
|
-
charts: ChartRenderResult[];
|
|
5
|
-
config: VisualizationConfig;
|
|
6
|
-
reportData: Record<string, unknown>;
|
|
7
|
-
}
|
|
8
|
-
export declare class HtmlAssembler {
|
|
9
|
-
private interactionScript;
|
|
10
|
-
assemble(input: HtmlAssembleInput): string;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=htmlAssembler.d.ts.map
|
package/lib/types/index.d.ts
DELETED
package/lib/types/invariant.d.ts
DELETED
package/lib/types/types.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export type ChartType = 'bar' | 'comparison' | 'pie' | 'radar' | 'flowchart';
|
|
2
|
-
export interface GenerateVisualizationParams {
|
|
3
|
-
reportPaths: {
|
|
4
|
-
masking?: string;
|
|
5
|
-
cleaning?: string;
|
|
6
|
-
inventory?: string;
|
|
7
|
-
quality?: string;
|
|
8
|
-
lineage?: string;
|
|
9
|
-
};
|
|
10
|
-
outputPath: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ChartRenderResult {
|
|
13
|
-
type: ChartType;
|
|
14
|
-
title: string;
|
|
15
|
-
svgContent: string;
|
|
16
|
-
dataAvailable: boolean;
|
|
17
|
-
errorMessage?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface GenerateVisualizationResult {
|
|
20
|
-
htmlPath: string;
|
|
21
|
-
chartCount: number;
|
|
22
|
-
chartsRendered: string[];
|
|
23
|
-
status: 'SUCCESS' | 'FAILED';
|
|
24
|
-
configStatus: string;
|
|
25
|
-
}
|
|
26
|
-
export interface ReportDataLoadResult {
|
|
27
|
-
data: unknown;
|
|
28
|
-
error?: string;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=types.d.ts.map
|