Skip to content

Commit

Permalink
Chore: update schema (#709)
Browse files Browse the repository at this point in the history
* chore: update schema.json

* fix: add change set
  • Loading branch information
marufrasully committed Apr 23, 2024
1 parent 182301b commit fdbf071
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 65 deletions.
6 changes: 6 additions & 0 deletions .changeset/smooth-socks-raise.md
@@ -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
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

0 comments on commit fdbf071

Please sign in to comment.