Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: update schema #709

Merged
merged 3 commits into from
Apr 23, 2024
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
6 changes: 6 additions & 0 deletions .changeset/smooth-socks-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"vscode-ui5-language-assistant": patch
"@ui5-language-assistant/vscode-ui5-language-assistant-bas-ext": patch
---

chore: update schema.json file
202 changes: 137 additions & 65 deletions packages/vscode-ui5-language-assistant/src/manifest/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
"1.59.0",
"1.60.0",
"1.61.0",
"1.62.0"
"1.62.0",
"1.63.0"
]
},
"start_url": {
Expand Down Expand Up @@ -513,7 +514,8 @@
"1.14.0",
"1.15.0",
"1.16.0",
"1.17.0"
"1.17.0",
"1.18.0"
]
},
"resources": {
Expand Down Expand Up @@ -7106,6 +7108,81 @@
}
}
},
"actualTargetAdditionComponentUsage": {
"type": "object",
"required": ["usage", "type"],
"properties": {
"usage": {
"description": "Represents the componentUsage of the component that will be created",
"type": "string"
},
"id": {
"description": "Represents the id of the created view or component",
"type": "string"
},
"type": {
"description": "Represents the type of the type Component",
"type": "string",
"enum": ["Component"]
},
"level": {
"description": "Represents the level of the current component which is used to define the transition direction when navigate to this component",
"type": "number",
"multipleOf": 1
}
}
},
"actualTargetAdditionStandard": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "Represents the name of a view or component that will be created",
"type": "string"
},
"id": {
"description": "Represents the id of the created view or component",
"type": "string"
},
"path": {
"description": "Represents a prefix that is prepended in front of the view or component name",
"type": "string"
},
"type": {
"description": "Represents the type of the type View or Component",
"type": "string",
"enum": ["View", "Component"]
},
"level": {
"description": "Represents the level of the current view/component which is used to define the transition direction when navigate to this view/component",
"type": "number",
"multipleOf": 1
}
}
},
"legacyTargetAddition": {
"type": "object",
"required": ["viewName"],
"properties": {
"viewName": {
"description": "Represents the name of a view that will be created",
"type": "string"
},
"viewId": {
"description": "Represents the id of the created view",
"type": "string"
},
"viewPath": {
"description": "Represents a prefix that is prepended in front of the viewName",
"type": "string"
},
"viewLevel": {
"description": "Represents the level of the current view which is used to define the transition direction when navigate to this view",
"type": "number",
"multipleOf": 1
}
}
},
"routeWithoutName": {
"description": "Represents the definition of route without the option 'name'. This is used when routes are defined in an object.",
"type": "object",
Expand Down Expand Up @@ -7146,6 +7223,55 @@
}
]
},
"actualTargetAdditionStandardWithoutRequiredProp": {
"type": "object",
"properties": {
"name": {
"description": "Represents the name of a view or component that will be created",
"type": "string"
},
"id": {
"description": "Represents the id of the created view or component",
"type": "string"
},
"path": {
"description": "Represents a prefix that is prepended in front of the view or component name",
"type": "string"
},
"type": {
"description": "Represents the type of the type View or Component",
"type": "string",
"enum": ["View", "Component"]
},
"level": {
"description": "Represents the level of the current view/component which is used to define the transition direction when navigate to this view/component",
"type": "number",
"multipleOf": 1
}
}
},
"legacyTargetAdditionWithoutRequiredProp": {
"type": "object",
"properties": {
"viewName": {
"description": "Represents the name of a view that will be created",
"type": "string"
},
"viewId": {
"description": "Represents the id of the created view",
"type": "string"
},
"viewPath": {
"description": "Represents a prefix that is prepended in front of the viewName",
"type": "string"
},
"viewLevel": {
"description": "Represents the level of the current view which is used to define the transition direction when navigate to this view",
"type": "number",
"multipleOf": 1
}
}
},
"target": {
"description": "Represents the definition of each target",
"type": "object",
Expand Down Expand Up @@ -7179,11 +7305,6 @@
"description": "Represents the name of another target which will also be displayed once this target is displayed",
"type": "string"
},
"viewLevel": {
"description": "Represents the level of the current view which is used to define the transition direction when navigate to this view",
"type": "number",
"multipleOf": 1
},
"transition": {
"description": "Represents the type of transition when navigating from previous view to this view",
"anyOf": [
Expand Down Expand Up @@ -7349,15 +7470,17 @@
"$ref": "#/definitions/routeTarget"
}
}
},
"viewPath": {
"description": "Represents a prefix that is prepended in front of the viewName",
"type": "string"
}
}
},
{
"$ref": "#/definitions/target"
},
{
"$ref": "#/definitions/legacyTargetAdditionWithoutRequiredProp"
},
{
"$ref": "#/definitions/actualTargetAdditionStandardWithoutRequiredProp"
}
]
},
Expand Down Expand Up @@ -7393,22 +7516,7 @@
"$ref": "#/definitions/target"
},
{
"type": "object",
"required": ["viewName"],
"properties": {
"viewName": {
"description": "Represents the name of a view that will be created",
"type": "string"
},
"viewId": {
"description": "Represents the id of the created view",
"type": "string"
},
"viewPath": {
"description": "Represents a prefix that is prepended in front of the viewName",
"type": "string"
}
}
"$ref": "#/definitions/legacyTargetAddition"
}
]
},
Expand All @@ -7420,46 +7528,10 @@
{
"oneOf": [
{
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "Represents the name of a view or component that will be created",
"type": "string"
},
"id": {
"description": "Represents the id of the created view or component",
"type": "string"
},
"path": {
"description": "Represents a prefix that is prepended in front of the view or component name",
"type": "string"
},
"type": {
"description": "Represents the type of the type View or Component",
"type": "string",
"enum": ["View", "Component"]
}
}
"$ref": "#/definitions/actualTargetAdditionStandard"
},
{
"type": "object",
"required": ["usage", "type"],
"properties": {
"usage": {
"description": "Represents the componentUsage of the component that will be created",
"type": "string"
},
"id": {
"description": "Represents the id of the created view or component",
"type": "string"
},
"type": {
"description": "Represents the type of the type Component",
"type": "string",
"enum": ["Component"]
}
}
"$ref": "#/definitions/actualTargetAdditionComponentUsage"
}
]
}
Expand Down
Loading