mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
Add default model view input types and validation (#1397)
This commit is contained in:
@@ -15,12 +15,12 @@ export interface IView {
|
||||
}
|
||||
|
||||
export interface IModelView extends IView {
|
||||
initializeModel(rootComponent: IComponentShape): void;
|
||||
initializeModel(rootComponent: IComponentShape, validationCallback?: (componentId: string) => Thenable<boolean>): void;
|
||||
clearContainer(componentId: string): void;
|
||||
addToContainer(containerId: string, item: IItemConfig): void;
|
||||
setLayout(componentId: string, layout: any): void;
|
||||
setProperties(componentId: string, properties: { [key: string]: any }): void;
|
||||
setValid(componentId: string, valid: boolean): void;
|
||||
registerEvent(componentId: string);
|
||||
onEvent: Event<any>;
|
||||
validate(componentId: string): Thenable<boolean>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user