prismicio / prismic-ts-codegen

A Prismic model-to-TypeScript-type generator.
Apache License 2.0
18 stars 6 forks source link

feat: export Slice and Group types #10

Closed angeloashmore closed 2 years ago

angeloashmore commented 2 years ago

Types of changes

Description

This PR changes prismic-ts-codegen's output to export most Slice and Group-related generated types.

The following types are exported as of this PR:

Notable, the following types are not exported as of this PR, but could be exported in the future if there is a specific need for them.

Fixes #5

Checklist:

github-actions[bot] commented 2 years ago

size-limit report 📦

Path Size
dist/index.js 1.05 MB (+0.01% 🔺)
dist/index.cjs 1.06 MB (+0.01% 🔺)