mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 13:05:08 +09:00
26 lines
452 B
TypeScript
26 lines
452 B
TypeScript
import {
|
|
type Instance,
|
|
type InstanceProps,
|
|
type Style,
|
|
type StyleProperty,
|
|
type StyleValue,
|
|
} 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>;
|
|
};
|