Skip to content

Commit 768a69c

Browse files
committed
🚧 Fix animation options and undo copy type issues
1 parent 6f31f51 commit 768a69c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/blockbenchTypeMods.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ declare global {
4848
excluded_nodes: CollectionItem[]
4949
}
5050

51+
interface AnimationUndoCopy {
52+
excluded_nodes: string[]
53+
}
54+
55+
interface AnimationOptions {
56+
excluded_nodes: string[]
57+
}
58+
5159
// eslint-disable-next-line @typescript-eslint/naming-convention
5260
interface _Keyframe {
5361
easing?: EasingKey

src/blueprintFormat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export interface IBlueprintFormatJSON {
138138
elements: any[]
139139
outliner: any[]
140140
textures: Texture[]
141-
animations: AnimationOptions[] & { excluded_nodes: string[] }
141+
animations: AnimationOptions[]
142142
animation_controllers?: AnimationControllerOptions[]
143143
animation_variable_placeholders: string
144144
backgrounds?: Record<string, any>

0 commit comments

Comments
 (0)