import { transformSceneNode } from '@plugin/transformers'; import { Children } from '@ui/lib/types/utils/children'; export const transformChildren = async ( node: ChildrenMixin, baseX: number = 0, baseY: number = 0 ): Promise => { return { children: await Promise.all(node.children.map(child => transformSceneNode(child, baseX, baseY))) }; };