import { Asset , AssetGroup , Material } from '../types' ; export function material ( name , key , children = [ ] ) { return { name , key , assetGroups : children } ; } export function group ( name , key , assets = [ ] ) { return { name , key , assets } ; } export function asset ( name , key , data = { code : '' } ) { return { name , key , data } ; }