prismicio / prismic-types

Type definitions for Prismic content, models, and APIs
https://prismic.io/docs/technologies/javascript
Apache License 2.0
11 stars 4 forks source link

feat: add webhook types #17

Closed angeloashmore closed 2 years ago

angeloashmore commented 3 years ago

Types of changes

Description

This PR adds types for Prismic webhooks. See #3 for more details.

Note: This PR depends on #15.

Checklist:

🐧

codecov-commenter commented 3 years ago

Codecov Report

Merging #17 (60d709d) into master (05c7ea8) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         4    +1     
  Lines           59        64    +5     
=========================================
+ Hits            59        64    +5     
Impacted Files Coverage Δ
src/customType.ts 100.00% <ø> (ø)
src/fields.ts 100.00% <ø> (ø)
src/index.ts 100.00% <100.00%> (ø)
src/webhook.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 05c7ea8...60d709d. Read the comment docs.