Skip to content

Commit 276dc14

Browse files
feat: support unique property
1 parent ac3df69 commit 276dc14

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

schemas/bashly.json

+30
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,21 @@
8383
"integer",
8484
"non_empty"
8585
]
86+
},
87+
"unique": {
88+
"title": "unique",
89+
"description": "Whether the current positional argument is unique\nhttps://bashly.dannyb.co/configuration/argument/#unique",
90+
"type": "boolean",
91+
"default": false
92+
}
93+
},
94+
"dependencies": {
95+
"unique": {
96+
"properties": {
97+
"repeatable": {
98+
"const": true
99+
}
100+
}
86101
}
87102
},
88103
"$ref": "#/definitions/custom-properties",
@@ -219,6 +234,21 @@
219234
"integer",
220235
"non_empty"
221236
]
237+
},
238+
"unique": {
239+
"title": "unique",
240+
"description": "Whether the current flag is unique\nhttps://bashly.dannyb.co/configuration/flag/#unique",
241+
"type": "boolean",
242+
"default": false
243+
}
244+
},
245+
"dependencies": {
246+
"unique": {
247+
"properties": {
248+
"repeatable": {
249+
"const": true
250+
}
251+
}
222252
}
223253
},
224254
"$ref": "#/definitions/custom-properties",

0 commit comments

Comments
 (0)