mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
27 lines
465 B
TypeScript
27 lines
465 B
TypeScript
import {
|
|
type Instance,
|
|
type InstanceProps,
|
|
type Style,
|
|
type StyleProperty,
|
|
type StyleValue,
|
|
type Tree,
|
|
} from "@webstudio-is/sdk";
|
|
|
|
export type SelectedInstanceData = {
|
|
id: Instance["id"];
|
|
component: Instance["component"];
|
|
style: Style;
|
|
browserStyle: Style;
|
|
props: InstanceProps;
|
|
};
|
|
|
|
type StyleUpdate = {
|
|
property: StyleProperty;
|
|
value: StyleValue;
|
|
};
|
|
|
|
export type StyleUpdates = {
|
|
id: Instance["id"];
|
|
updates: Array<StyleUpdate>;
|
|
};
|