feat: safer unknown component handling

This commit is contained in:
TrèsAbhi committed 2024-01-20 23:20:00 -06:00
1 parent 001b0c356f
commit d0d28baee0
3 files changed
+26 -19

No files matched your search

+11
View File
@@ -271,6 +271,17 @@ export type Component =
animation: bigint;
animationTimeScale: number;
repeatsCount: number;
}
| {
'comp.typename': 'SkeletonJointBindingComponent';
count: number;
map: Record<
string, // 0000, 0001, ...
{
Uid: string;
jointUid: string;
}
>;
};
interface SceneComponents {