core-cde
Version:
24 lines (23 loc) • 705 B
TypeScript
import { TypeComponent } from '../TypeComponent';
import { IBaseProps } from '../interfaces/IBaseProps';
export interface IChangeTypeWidgetProps extends IBaseProps {
id: string;
newType: TypeComponent;
oldType: TypeComponent;
}
export interface ITransferWidgetProps extends IBaseProps {
insert_prev_guid: string;
insert_next_guid: string;
current_prev_guid: string;
current_next_guid: string;
}
export interface IRemoveWidgetProps extends IBaseProps {
jsonWidget: string;
type: TypeComponent;
id: string;
index: number;
}
export interface ICreateWidgetProps extends IBaseProps {
type: TypeComponent;
jsonWidget?: string | null;
}