import { ProjectEventHooks } from '@xrengine/projects/ProjectConfigInterface' ; import { Application } from '@xrengine/server-core/declarations' ; import path from 'path' ; import { installAvatarsFromProject } from '@xrengine/server-core/src/user/avatar/avatar-helper' ; const avatarsFolder = path . resolve ( __dirname , 'public/avatars' ) ; const config = { onInstall : ( app ) => { return installAvatarsFromProject ( app , avatarsFolder ) ; } } as ProjectEventHooks ; export default config ;