const schemaToAttributes: (
schema: ArchetypeSchema,
props: Record<string,
| number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | undefined>,
) => Record<string, any>
Extract attributes from props using schema
packages / core / src / archetype.ts