Exports TypeScript types autogenerated from c2pa-rs structs, used by c2pa-web.
Ensure the repo-wide prerequisites NX and pnpm are installed.
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