-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.d.ts
103 lines (101 loc) · 1.81 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* tslint:disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* The docblock tags for the hook
*/
export type Tags = Tag[];
/**
* The list of hooks
*/
export type Hooks = Hook[];
/**
* The container for the list of hooks
*/
export interface HooksContainer {
/**
* The JSON schema to verify a hook document against
*/
$schema: string;
hooks: Hooks;
}
/**
* The hook representation
*/
export interface Hook {
/**
* The hook name
*/
name: string;
/**
* Aliases of the hook name
*/
aliases?: string[];
/**
* The relative name of the file containing the hook
*/
file: string;
/**
* The hook type
*/
type: string;
doc: Doc;
/**
* The number of arguments passed to the hook
*/
args: number;
}
/**
* The docblock information for the hook
*/
export interface Doc {
/**
* The short description as plain text
*/
description: string;
/**
* The long description as markdown
*/
long_description: string;
/**
* The long description as HTML
*/
long_description_html: string;
tags: Tags;
}
/**
* The docblock tags information for the hook
*/
export interface Tag {
/**
* The tag name
*/
name: string;
/**
* The tag content
*/
content: string;
/**
* Allowed types for parameter values, for @param tags
*/
types?: string[];
/**
* The name of the parameter variable, for @param tags
*/
variable?: string;
/**
* A link to more information, for @link tags
*/
link?: string;
/**
* Related function to refer to, for @see tags
*/
refers?: string;
/**
* This is only used for @since 3.0.0 MU tags
*/
description?: string;
}