Skip to content

Commit

Permalink
Update the schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jun 3, 2022
1 parent 25edca9 commit e18b3bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interface/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export interface Hook {
* The hook name
*/
name: string;
/**
* Aliases of the hook name
*/
aliases?: string[];
/**
* The relative name of the file containing the hook
*/
Expand Down
7 changes: 7 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
"init"
]
},
"aliases": {
"description": "Aliases of the hook name",
"type": "array",
"items": {
"type": "string"
}
},
"file": {
"description": "The relative name of the file containing the hook",
"type": "string",
Expand Down

0 comments on commit e18b3bf

Please sign in to comment.