-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
147 lines (147 loc) · 5.2 KB
/
schema.json
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"$id": "https://deno.land/x/denoh/schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON schema for denoh.",
"description": "Extended Deno JSON schema for denoh to add automatic completion and error handling for hooks.",
"type": "object",
"allOf": [
{
"$ref": "https://deno.land/x/deno/cli/schemas/config-file.v1.json"
}
],
"properties": {
"githooks": {
"$ref": "#/$defs/githooksProperties"
}
},
"$defs": {
"githooksProperties": {
"title": "Git hooks object. Check https://git-scm.com/docs/githooks for information about Git hooks.",
"type": "object",
"additionalProperties": false,
"properties": {
"applypatch-msg": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_applypatch_msg"
},
"pre-applypatch": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_pre_applypatch"
},
"post-applypatch": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_applypatch"
},
"pre-commit": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_pre_commit"
},
"pre-merge-commit": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_pre_merge_commit"
},
"prepare-commit-msg": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_prepare_commit_msg"
},
"commit-msg": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_commit_msg"
},
"post-commit": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_commit"
},
"pre-rebase": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_pre_rebase"
},
"post-checkout": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_checkout"
},
"post-merge": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_merge"
},
"pre-push": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_pre_push"
},
"pre-receive": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_pre_receive"
},
"update": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_update"
},
"proc-receive": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_proc_receive"
},
"post-receive": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_receive"
},
"post-update": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_update"
},
"reference-transaction": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_reference_transaction"
},
"push-to-checkout": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_push_to_checkout"
},
"pre-auto-gc": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_pre_auto_gc"
},
"post-rewrite": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_rewrite"
},
"sendemail-validate": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_sendemail_validate"
},
"fsmonitor-watchman": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_fsmonitor_watchman"
},
"p4-changelist": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_p4_changelist"
},
"p4-prepare-changelist": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_p4_prepare_changelist"
},
"p4-post-changelist": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_p4_post_changelist"
},
"p4-pre-submit": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_p4_pre_submit"
},
"post-index-change": {
"$ref": "#/$defs/hookProperties",
"description": "https://git-scm.com/docs/githooks#_post_index_change"
}
}
},
"hookProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"githooks"
]
}