server.ts 484 B

1234567891011121314151617181920
  1. // Server-safe entry point: schema and catalog definitions only.
  2. // Does not import React or @react-pdf/renderer.
  3. export { schema, type ReactPdfSchema, type ReactPdfSpec } from "./schema";
  4. export {
  5. standardComponentDefinitions,
  6. type StandardComponentDefinitions,
  7. type StandardComponentProps,
  8. } from "./catalog";
  9. export type { Spec } from "@json-render/core";
  10. export type {
  11. SetState,
  12. StateModel,
  13. ComponentContext,
  14. ComponentFn,
  15. Components,
  16. } from "./catalog-types";