mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 01:25:38 -05:00
* table designer validation * vbump sts
This commit is contained in:
@@ -43,6 +43,11 @@ export interface DesignerComponentInput {
|
||||
*/
|
||||
readonly viewModel: DesignerViewModel;
|
||||
|
||||
/**
|
||||
* Gets the validation errors.
|
||||
*/
|
||||
readonly validationErrors: DesignerValidationError[] | undefined;
|
||||
|
||||
/**
|
||||
* Start initilizing the designer input object.
|
||||
*/
|
||||
@@ -210,9 +215,11 @@ export interface DesignerEdit {
|
||||
export type DesignerEditPath = (string | number)[];
|
||||
export const DesignerRootObjectPath: DesignerEditPath = [];
|
||||
|
||||
export type DesignerValidationError = { message: string, property?: DesignerEditPath };
|
||||
|
||||
export interface DesignerEditResult {
|
||||
isValid: boolean;
|
||||
errors?: { message: string, property?: DesignerEditPath }[];
|
||||
errors?: DesignerValidationError[];
|
||||
}
|
||||
|
||||
export interface DesignerTextEditor {
|
||||
|
||||
Reference in New Issue
Block a user