Exports TypeScript types autogenerated from c2pa-rs structs, used by c2pa-web.
Ensure the repo-wide prerequisites (Node.js v22+, NX, and pnpm) are installed. See the top-level README for details.
To build the types:
nx build c2pa-types
The types are built as follows:
schemars::JsonSchema attribute.schemars::schema_for and saved to the schemas/ directoryjson-schema-to-typescript and used to generate TypeScript types, saved to the types/ directoryindex.d.ts file