Skip to content

Commit

Permalink
Manually syncing devContainerFeature.schema (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale authored Jan 22, 2024
1 parent 5002ae5 commit 3b2f758
Showing 1 changed file with 112 additions and 1 deletion.
113 changes: 112 additions & 1 deletion src/schemas/devContainerFeature.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
"description": "URL to documentation for the Feature.",
"type": "string"
},
"keywords": {
"description": "List of strings relevant to a user that would search for this definition/Feature.",
"items": {
"type": "string"
},
"type": "array"
},
"entrypoint": {
"description": "Entrypoint script that should fire at container start up.",
"type": "string"
Expand All @@ -55,6 +62,11 @@
},
"type": "array"
},
"dependsOn": {
"description": "An object of Feature dependencies that must be satisified before this Feature is installed. Elements follow the same semantics of the features object in devcontainer.json",
"additionalProperties": true,
"type": "object"
},
"licenseURL": {
"description": "URL to the license for the Feature.",
"type": "string"
Expand Down Expand Up @@ -102,6 +114,106 @@
"deprecated": {
"description": "Indicates that the Feature is deprecated, and will not receive any further updates/support. This property is intended to be used by the supporting tools for highlighting Feature deprecation.",
"type": "boolean"
},
"onCreateCommand": {
"type": [
"string",
"array",
"object"
],
"description": "A command to run when creating the container. This command is run after \"initializeCommand\" and before \"updateContentCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.",
"items": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
},
"updateContentCommand": {
"type": [
"string",
"array",
"object"
],
"description": "A command to run when creating the container and rerun when the workspace content was updated while creating the container. This command is run after \"onCreateCommand\" and before \"postCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.",
"items": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
},
"postCreateCommand": {
"type": [
"string",
"array",
"object"
],
"description": "A command to run after creating the container. This command is run after \"updateContentCommand\" and before \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.",
"items": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
},
"postStartCommand": {
"type": [
"string",
"array",
"object"
],
"description": "A command to run after starting the container. This command is run after \"postCreateCommand\" and before \"postAttachCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.",
"items": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
},
"postAttachCommand": {
"type": [
"string",
"array",
"object"
],
"description": "A command to run when attaching to the container. This command is run after \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.",
"items": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
}
}
},
"required": [
Expand Down Expand Up @@ -222,7 +334,6 @@
},
"required": [
"type",
"source",
"target"
],
"type": "object"
Expand Down

0 comments on commit 3b2f758

Please sign in to comment.