Skip to content

Commit

Permalink
move schema into definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Nov 4, 2018
1 parent 3d74504 commit 6be1411
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions schemas/plugins/ProgressPlugin.json
Expand Up @@ -4,12 +4,8 @@
"description": "Function that executes for every progress step",
"instanceof": "Function",
"tsType": "((percentage: number, msg: string, ...args: string[]) => void)"
}
},
"title": "ProgressPluginArgument",
"oneOf": [
{
"title": "ProgressPluginOptions",
},
"ProgressPluginOptions": {
"type": "object",
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -42,6 +38,12 @@
"enum": [true, false, null]
}
}
}
},
"title": "ProgressPluginArgument",
"oneOf": [
{
"$ref": "#/definitions/ProgressPluginOptions"
},
{
"$ref": "#/definitions/HandlerFunction"
Expand Down

0 comments on commit 6be1411

Please sign in to comment.