mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
R=aerotwist@chromium.org Bug: 1011811 Change-Id: I4c4fd280adb4f5f7b327239d08d80b2cb98b203b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2560248 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
95 lines
2.2 KiB
JSON
95 lines
2.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"extensions": {
|
|
"type": "array",
|
|
"description": "Extension points",
|
|
"items": {
|
|
"properties": {
|
|
"type": {"type": "string"},
|
|
"order": {"type": "number"},
|
|
"title": {"type": "string"},
|
|
"options": {
|
|
"type": "array",
|
|
"items": {
|
|
"properties": {
|
|
"title": {"type": "string"},
|
|
"category": {"type": "string"}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"if": {
|
|
"properties": {"type": {"const": "action"}}
|
|
},
|
|
"then": {
|
|
"properties": {
|
|
"bindings": {
|
|
"type": "array",
|
|
"items": {
|
|
"required": ["shortcut"],
|
|
"properties": {
|
|
"shortcut": {
|
|
"type": "string",
|
|
"pattern": "^[\\S]+(\\s[\\S]+)?$"
|
|
},
|
|
"platform": {"type": "string"},
|
|
"keybindSets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": ["devToolsDefault", "vsCode"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"anyOf": [
|
|
{
|
|
"required": ["title"]
|
|
},
|
|
{
|
|
"required": ["options"],
|
|
"properties": {
|
|
"options": {
|
|
"minItems": 1,
|
|
"items": {
|
|
"required": ["title"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"required": ["category"]
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"modules": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"experiment": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"definitions": {
|
|
}
|
|
}
|