Skip to content

Commit

Permalink
Update component schema to add $role expression to expression and `…
Browse files Browse the repository at this point in the history
…equalsExpression` definitions (#5954)

* Fix

* Updating v1 as well.

Co-authored-by: Vishwac Sena Kannan <[email protected]>
  • Loading branch information
vishwacsena and Vishwac Sena Kannan authored Jul 9, 2020
1 parent d309147 commit 84c050a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schemas/component/component.schema
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
}
},
"expression": {
"$role": "expression",
"type": "string",
"title": "Expression",
"description": "Expression to evaluate.",
Expand All @@ -75,6 +76,7 @@
]
},
"equalsExpression": {
"$role": "expression",
"type": "string",
"title": "Expression",
"description": "Expression starting with =.",
Expand Down
2 changes: 2 additions & 0 deletions schemas/component/definitions.schema
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
}
},
"expression": {
"$role": "expression",
"type": "string",
"title": "Expression",
"pattern": "^.*\\S.*",
Expand All @@ -41,6 +42,7 @@
]
},
"equalsExpression": {
"$role": "expression",
"type": "string",
"title": "Expression",
"pattern": "^=.*\\S.*",
Expand Down
2 changes: 2 additions & 0 deletions schemas/component/v1.0/component.schema
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
}
},
"expression": {
"$role": "expression",
"type": "string",
"title": "Expression",
"description": "Expression to evaluate.",
Expand All @@ -75,6 +76,7 @@
]
},
"equalsExpression": {
"$role": "expression",
"type": "string",
"title": "Expression",
"description": "Expression starting with =.",
Expand Down

0 comments on commit 84c050a

Please sign in to comment.