mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
22 lines
506 B
TypeScript
22 lines
506 B
TypeScript
import type { InstanceProps } from "~/shared/db";
|
|
import { type Instance } from "@webstudio-is/sdk";
|
|
import type { Style, StyleProperty, StyleValue } from "@webstudio-is/sdk";
|
|
|
|
export type SelectedInstanceData = {
|
|
id: Instance["id"];
|
|
component: Instance["component"];
|
|
style: Style;
|
|
browserStyle: Style;
|
|
props: InstanceProps["props"];
|
|
};
|
|
|
|
type StyleUpdate = {
|
|
property: StyleProperty;
|
|
value: StyleValue;
|
|
};
|
|
|
|
export type StyleUpdates = {
|
|
id: Instance["id"];
|
|
updates: Array<StyleUpdate>;
|
|
};
|