Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add webhook types #17

Merged
merged 12 commits into from
Dec 20, 2021
Merged

feat: add webhook types #17

merged 12 commits into from
Dec 20, 2021

Conversation

angeloashmore
Copy link
Member

@angeloashmore angeloashmore commented Oct 19, 2021

Types of changes

  • Chore (a non-breaking change which is related to package maintenance)
  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

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

Note: This PR depends on #15.

Checklist:

  • My change requires an update to the official documentation.
  • All TSDoc comments are up-to-date and new ones have been added where necessary.
  • All new and existing tests are passing.

馃惂

@codecov-commenter
Copy link

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.

@dayhaysoos dayhaysoos merged commit d895ccf into master Dec 20, 2021
@lihbr lihbr deleted the aa/webhooks branch January 5, 2022 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants