-
Notifications
You must be signed in to change notification settings - Fork 51
/
index.d.ts
executable file
·49 lines (45 loc) · 1.62 KB
/
index.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
export declare const EXAMPLE_COMPONENTS: {
[id: string]: LiveExample;
};
/**
* Example data with information about component name, selector, files used in
* example, and path to examples.
*/
export declare class ExampleData {
/** Description of the example. */
description: string;
/** List of files that are part of this example. */
exampleFiles: string[];
/** Selector name of the example component. */
selectorName: string;
/** Name of the file that contains the example component. */
indexFilename: string;
/** Names of the components being used in this example. */
componentNames: string[];
constructor(example: string);
}
/**
******************************************************************************
* DO NOT MANUALLY EDIT THIS FILE. THIS FILE IS AUTOMATICALLY GENERATED.
******************************************************************************
*/
export declare interface LiveExample {
/** Title of the example. */
title: string;
/** Name of the example component. */
componentName: string;
/** Selector to match the component of this example. */
selector: string;
/** Name of the primary file of this example. */
primaryFile: string;
/** List of files which are part of the example. */
files: string[];
/** Path to the directory containing the example. */
packagePath: string;
/** List of additional components which are part of the example. */
additionalComponents: string[];
/** Path from which to import the xample. */
importPath: string;
}
export declare function loadExample(id: string): Promise<any>;
export { }