feat(sticky): add StickyObject to scene format schema
This commit is contained in:
@@ -24,6 +24,7 @@ import type {
|
||||
TextObject,
|
||||
DrawingObject,
|
||||
GroupObject,
|
||||
StickyObject,
|
||||
SceneObject,
|
||||
} from './scene-format';
|
||||
|
||||
@@ -45,7 +46,7 @@ function isGifAsset(asset: string): boolean {
|
||||
|
||||
export interface SceneItem {
|
||||
id: string;
|
||||
type: 'image' | 'video' | 'text' | 'drawing' | 'group';
|
||||
type: 'image' | 'video' | 'text' | 'drawing' | 'group' | 'sticky';
|
||||
displayObject: Container;
|
||||
data: AnySceneObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user