chart2music
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -28,5 +28,5 @@ interface AudioEngine { | ||
} | ||
declare type SupportedDataPointType = SimpleDataPoint | AlternateAxisDataPoint | HighLowDataPoint | OHLCDataPoint | BoxDataPoint; | ||
type SupportedDataPointType = SimpleDataPoint | AlternateAxisDataPoint | HighLowDataPoint | OHLCDataPoint | BoxDataPoint; | ||
declare type ExpandedKeyRegistration = { | ||
type ExpandedKeyRegistration = { | ||
key: { | ||
@@ -46,5 +46,5 @@ key: string; | ||
}; | ||
declare type SupportedInputType = SupportedDataPointType | number; | ||
declare type AxisScale = "linear" | "log10"; | ||
declare type SonifyTypes = { | ||
type SupportedInputType = SupportedDataPointType | number; | ||
type AxisScale = "linear" | "log10"; | ||
type SonifyTypes = { | ||
type: SUPPORTED_CHART_TYPES | SUPPORTED_CHART_TYPES[]; | ||
@@ -63,6 +63,6 @@ data: dataSet | SupportedInputType[]; | ||
}; | ||
declare type dataSet = { | ||
type dataSet = { | ||
[groupName: string]: SupportedInputType[]; | ||
}; | ||
declare type AxisData = { | ||
type AxisData = { | ||
minimum?: number; | ||
@@ -84,7 +84,16 @@ maximum?: number; | ||
} | ||
declare type c2mCallbackType = { | ||
type StatBundle = { | ||
open?: number; | ||
high?: number; | ||
low?: number; | ||
close?: number; | ||
q1?: number; | ||
q3?: number; | ||
median?: number; | ||
}; | ||
type c2mCallbackType = { | ||
slice: string; | ||
index: number; | ||
}; | ||
declare type c2mOptions = { | ||
type c2mOptions = { | ||
enableSound?: boolean; | ||
@@ -99,3 +108,3 @@ enableSpeech?: boolean; | ||
}; | ||
declare type c2mGolangReturn = { | ||
type c2mGolangReturn = { | ||
err: null | string; | ||
@@ -152,3 +161,3 @@ data?: c2m; | ||
point: SupportedDataPointType; | ||
stat: string; | ||
stat: "" | keyof StatBundle; | ||
}; | ||
@@ -155,0 +164,0 @@ private _shrinkToMaxWidth; |
{ | ||
"name": "chart2music", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"main": "dist/index.js", | ||
@@ -48,24 +48,25 @@ "module": "dist/index.mjs", | ||
"devDependencies": { | ||
"@rollup/plugin-typescript": "9.0.2", | ||
"@rollup/plugin-typescript": "11.0.0", | ||
"@types/jest": "^29.2.1", | ||
"@typescript-eslint/eslint-plugin": "5.40.0", | ||
"@typescript-eslint/parser": "5.40.0", | ||
"concurrently": "7.5.0", | ||
"@typescript-eslint/eslint-plugin": "5.48.1", | ||
"@typescript-eslint/parser": "5.48.2", | ||
"concurrently": "7.6.0", | ||
"depcheck": "^1.4.3", | ||
"eslint": "8.25.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-jsdoc": "39.3.6", | ||
"eslint": "8.32.0", | ||
"eslint-config-prettier": "8.6.0", | ||
"eslint-plugin-jsdoc": "39.6.4", | ||
"http-server": "14.1.1", | ||
"husky": "8.0.1", | ||
"husky": "8.0.3", | ||
"jest": "28.1.3", | ||
"jest-environment-jsdom": "29.2.0", | ||
"lint-staged": "13.0.3", | ||
"prettier": "2.7.1", | ||
"rimraf": "3.0.2", | ||
"jest-environment-jsdom": "29.3.1", | ||
"lint-staged": "13.1.0", | ||
"prettier": "2.8.3", | ||
"rimraf": "4.0.7", | ||
"rollup": "2.79.1", | ||
"rollup-plugin-dts": "4.2.2", | ||
"rollup-plugin-dts": "4.2.3", | ||
"rollup-plugin-delete": "2.0.0", | ||
"ts-jest": "28.0.8", | ||
"tslib": "2.4.0", | ||
"typescript": "4.8.4" | ||
"tslib": "2.4.1", | ||
"typescript": "4.9.4" | ||
} | ||
} |
@@ -65,2 +65,3 @@ # Chart2Music | ||
* [with D3.js](https://codepen.io/chart2music/full/gOezOaY) | ||
- [with ChartIQ](https://jsfiddle.net/chart2music/34bw2eqm/81/) | ||
* [with HighCharts](https://codepen.io/chart2music/full/QWmZrKj) | ||
@@ -67,0 +68,0 @@ * [with Recharts](https://codepen.io/chart2music/full/eYrrRam) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78
149502
22
6
3515