@vctrl/hooks
Version:
vctrl/hooks is a React hooks package designed to simplify 3D model loading and management within React applications. It's part of the vectreal-core ecosystem and is primarily used in the vctrl/viewer React component and the official website application.
7 lines (6 loc) • 354 B
TypeScript
import { ServerSceneData, ServerScenePayload } from '../../../../core/src/index.ts';
/**
* Resolves raw scene payload from the API into normalized scene data used by hooks.
* This keeps payload-shape adaptation in one explicit contract boundary.
*/
export declare function resolveServerSceneDataContract(payload: ServerScenePayload): ServerSceneData;