提交 2bd93b98 编写于 作者: I isidor

json: introduce IJSONSchemaSnippet

上级 6c792d2b
...@@ -40,7 +40,7 @@ export interface IJSONSchema { ...@@ -40,7 +40,7 @@ export interface IJSONSchema {
enum?: any[]; enum?: any[];
format?: string; format?: string;
defaultSnippets?: { label?: string; description?: string; body: any; }[]; // VSCode extension defaultSnippets?: IJSONSchemaSnippet[]; // VSCode extension
errorMessage?: string; // VSCode extension errorMessage?: string; // VSCode extension
deprecatedMessage?: string; // VSCode extension deprecatedMessage?: string; // VSCode extension
} }
...@@ -48,3 +48,9 @@ export interface IJSONSchema { ...@@ -48,3 +48,9 @@ export interface IJSONSchema {
export interface IJSONSchemaMap { export interface IJSONSchemaMap {
[name: string]: IJSONSchema; [name: string]: IJSONSchema;
} }
export interface IJSONSchemaSnippet {
label?: string;
description?: string;
body: any;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册