Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions schemas/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,40 @@
}
},
"additionalProperties": false
},
"function_names": {
"title": "function_names",
"description": "Choose different names for some of the internal functions.\nhttps://bashly.dev/usage/settings/#function_names",
"type": "object",
"properties": {
"run": {
"title": "run",
"description": "Name for the run() function\nhttps://bashly.dev/usage/settings/#function_names",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"initialize": {
"title": "initialize",
"description": "Name for the initialize() function\nhttps://bashly.dev/usage/settings/#function_names",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down
21 changes: 21 additions & 0 deletions support/schema/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,25 @@ properties:
https://bashly.dev/usage/settings/#var_aliases
oneOf: *optional_string
additionalProperties: false
function_names:
title: function_names
description: |-
Choose different names for some of the internal functions.
https://bashly.dev/usage/settings/#function_names
type: object
properties:
run:
title: run
description: |-
Name for the run() function
https://bashly.dev/usage/settings/#function_names
oneOf: *optional_string
initialize:
title: initialize
description: |-
Name for the initialize() function
https://bashly.dev/usage/settings/#function_names
oneOf: *optional_string
additionalProperties: false

additionalProperties: false