Created
December 13, 2017 06:13
-
-
Save aaronbeall/1dc470a72199edd0d334e3379f5de709 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 ProductName = "highcharts" | "highstock" | "highmaps"; | |
// Code below this point was generated with schema-builder.ts | |
interface Sample { | |
value: string; | |
products: string[]; | |
} | |
interface Type { | |
names: string[]; | |
} | |
interface Productdesc { | |
value: string; | |
products: string[]; | |
} | |
interface Default { | |
value: string; | |
products: string[]; | |
} | |
interface DefaultByProduct { | |
highcharts: string; | |
highstock: string; | |
highmaps: string; | |
} | |
interface Doclet { | |
description: string; | |
extends: string; | |
products: string[]; | |
sample: Sample; | |
samples: { name: string; value: string; products: string[]; }[]; | |
since: string; | |
type: Type; | |
defaultvalue: string; | |
exclude: string[]; | |
see: string[]; | |
values: string; | |
productdesc: Productdesc; | |
default: Default; | |
defaultByProduct: DefaultByProduct; | |
context: string; | |
examples: string[]; | |
deprecated: boolean | string; | |
tags: { originalTitle: string; title: string; text: string; value: string; }[]; | |
memberof: string; | |
} | |
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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment