Updates
This commit is contained in:
@@ -320,8 +320,24 @@
|
||||
"color": {
|
||||
"type": "string"
|
||||
},
|
||||
"dashes": {
|
||||
"type": "boolean"
|
||||
"style": {
|
||||
"oneOf": [
|
||||
{
|
||||
"enum": [
|
||||
"solid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"enum": [
|
||||
"dashed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"enum": [
|
||||
"dotted"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -476,6 +492,27 @@
|
||||
"type": "string",
|
||||
"description": "The text to show"
|
||||
},
|
||||
"decorations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"range": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/LineColumnRange"
|
||||
}
|
||||
]
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"range"
|
||||
]
|
||||
}
|
||||
},
|
||||
"fileName": {
|
||||
"type": "string",
|
||||
"description": "An optional filename that might be used for chosing a syntax highlighter"
|
||||
@@ -486,6 +523,40 @@
|
||||
"text"
|
||||
]
|
||||
},
|
||||
"LineColumnRange": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"start": {
|
||||
"$ref": "#/definitions/LineColumnPosition",
|
||||
"description": "The start position"
|
||||
},
|
||||
"end": {
|
||||
"$ref": "#/definitions/LineColumnPosition",
|
||||
"description": "The end position"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"start",
|
||||
"end"
|
||||
]
|
||||
},
|
||||
"LineColumnPosition": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"line": {
|
||||
"type": "number",
|
||||
"description": "The 0-based line number"
|
||||
},
|
||||
"column": {
|
||||
"type": "number",
|
||||
"description": "The 0-based column number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"line",
|
||||
"column"
|
||||
]
|
||||
},
|
||||
"MonacoTextDiffVisualizationData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -93,7 +93,7 @@ export type GraphEdge = {
|
||||
label?: string;
|
||||
id?: string;
|
||||
color?: string;
|
||||
dashes?: boolean;
|
||||
style?: "solid" | "dashed" | "dotted";
|
||||
};
|
||||
|
||||
export type GridVisualizationData = {
|
||||
@@ -143,12 +143,38 @@ export type MonacoTextVisualizationData = {
|
||||
* The text to show
|
||||
*/
|
||||
text: string;
|
||||
decorations?: ({
|
||||
range: LineColumnRange;
|
||||
label?: string;
|
||||
})[];
|
||||
/**
|
||||
* An optional filename that might be used for chosing a syntax highlighter
|
||||
*/
|
||||
fileName?: string;
|
||||
};
|
||||
|
||||
export type LineColumnRange = {
|
||||
/**
|
||||
* The start position
|
||||
*/
|
||||
start: LineColumnPosition;
|
||||
/**
|
||||
* The end position
|
||||
*/
|
||||
end: LineColumnPosition;
|
||||
};
|
||||
|
||||
export type LineColumnPosition = {
|
||||
/**
|
||||
* The 0-based line number
|
||||
*/
|
||||
line: number;
|
||||
/**
|
||||
* The 0-based column number
|
||||
*/
|
||||
column: number;
|
||||
};
|
||||
|
||||
export type MonacoTextDiffVisualizationData = {
|
||||
kind: {
|
||||
text: true;
|
||||
|
||||
Reference in New Issue
Block a user