Skip to content

Commit 32b7825

Browse files
committed
feat: Updated path resource to have new declarationsOnly parameter
1 parent 1446c6a commit 32b7825

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

src/schemastore/codify-schema.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@
111111
"type": "boolean",
112112
"description": "Whether or not to prepend to the path."
113113
},
114+
"declarationsOnly": {
115+
"type": "boolean",
116+
"default": false,
117+
"description": "Only plan and manage explicitly declared paths found in shell startup scripts. This value is forced to true for stateful mode"
118+
},
114119
"name": {
115120
"description": "Optional name. Useful for specifying multiple resources of the same type",
116121
"type": "string",
@@ -139,7 +144,7 @@
139144
"properties": {
140145
"alias": {
141146
"type": "string",
142-
"pattern": "^[^ \t\n/$`=|&;()<>'\"]*$",
147+
"pattern": "^[^ \t\n/\\$`=|&;()<>'\"]*$",
143148
"description": "The name of the alias"
144149
},
145150
"value": {
@@ -808,19 +813,6 @@
808813
"type": "string"
809814
}
810815
},
811-
"oneOf": [
812-
{
813-
"required": [
814-
"plugin",
815-
"versions"
816-
]
817-
},
818-
{
819-
"required": [
820-
"directory"
821-
]
822-
}
823-
],
824816
"additionalProperties": false,
825817
"required": [
826818
"type"

0 commit comments

Comments
 (0)