-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.d.ts
86 lines (80 loc) · 2.3 KB
/
schema.d.ts
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// Based on: https://api.highcharts.com/highcharts/tree.json
type Schema = { _meta: SchemaMeta; } & Defs;
interface SchemaMeta {
commit: string;
branch: string;
version: string;
date: string;
}
interface Defs {
[key: string]: Def;
}
type Product = "highcharts" | "highstock" | "highmaps";
// Code below this point was generated with schema-builder.ts
// See `couldBeStringLiteral()` and `removeUnhelpfulLiterals()` for how we guess what values should be preserved as literals
interface Sample {
value: string;
products: ("highstock" | "highmaps" | "highcharts")[];
}
interface SamplesItem {
name: string;
value: string;
products: ("highstock" | "highcharts" | "highmaps")[];
}
interface Type {
names: ("String" | "Number" | "Object" | "Array" | "Boolean" | "Color" | "Array.<Object>" | "function" | "CSSObject" | "Mixed" | "plotOptions.series.states" | "Array.<String>" | "Array.<(String|Number)>" | "undefined" | "null" | "Array.<Color>" | "Array.<(Object|Array)>" | "Array.<(Object|Array|Number)>" | "Array.<(Object|Number)>" | "Array.<Array.<Mixed>>" | "HTMLElement" | "Array.<Array>" | "Array.<Number>")[];
}
interface Productdesc {
value: string;
products: ("highmaps" | "highstock" | "highcharts")[];
}
interface Default {
value: string;
products: ("highmaps" | "highstock" | "highcharts")[];
}
interface DefaultByProduct {
highcharts: string;
highstock: string;
highmaps: string;
}
interface TagsItem {
originalTitle: "validvalue:" | "defaults";
title: "validvalue:" | "defaults";
text: string;
value: string;
}
interface Doclet {
description: string;
extends: string;
products: ("highstock" | "highcharts" | "highmaps")[];
sample: Sample;
samples: SamplesItem[];
since: string;
type: Type;
defaultvalue: string;
exclude: string[];
see: string[];
values: string;
productdesc: Productdesc;
default: Default;
defaultByProduct: DefaultByProduct;
context: "Series" | "Point" | "Chart" | "{Series|Point}" | "Axis" | "PlotLineOrBand";
examples: string[];
deprecated: boolean | "true";
tags: TagsItem[];
memberof: "yAxis";
}
interface Meta {
fullname: string;
name: string;
line: number;
lineEnd: number;
column: number;
filename: string;
default: string | number | boolean | null;
}
interface Def {
children: Defs;
doclet: Doclet;
meta: Meta;
}