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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: connect webhooks #82

Merged
merged 1 commit into from
Feb 12, 2019
Merged

fix: connect webhooks #82

merged 1 commit into from
Feb 12, 2019

Conversation

birkir
Copy link
Owner

@birkir birkir commented Feb 12, 2019

Added and connected webhooks

Action Payload
document.published document: Document
document.unpublished document: Document
document.removed document: Document
release.created release: Release
release.updated release: Release
release.removed release: Release
release.published release: Release
schema.created schema: Schema
schema.updated schema: Schema
schema.removed schema: Schema
user.created userId: String
user.emailAdded userId: String / email: String
user.updated user: User
user.removed user: User

@codecov
Copy link

codecov bot commented Feb 12, 2019

Codecov Report

Merging #82 into master will decrease coverage by 0.61%.
The diff coverage is 48.97%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
- Coverage   76.87%   76.26%   -0.62%     
==========================================
  Files         102      103       +1     
  Lines        2041     2081      +40     
  Branches      146      147       +1     
==========================================
+ Hits         1569     1587      +18     
- Misses        459      481      +22     
  Partials       13       13
Impacted Files Coverage Δ
packages/prime-core/src/entities/Webhook.ts 100% <ø> (ø) ⬆️
packages/prime-core/src/entities/WebhookCall.ts 100% <100%> (ø) ⬆️
...odules/internal/repositories/DocumentRepository.ts 74.19% <100%> (ø) ⬆️
...ore/src/modules/internal/resolvers/UserResolver.ts 60.97% <20%> (-2.67%) ⬇️
packages/prime-core/src/utils/processWebhooks.ts 45% <45%> (ø)
...src/modules/internal/resolvers/DocumentResolver.ts 71.23% <50%> (-0.91%) ⬇️
...e/src/modules/internal/resolvers/SchemaResolver.ts 70.93% <50%> (-1.03%) ⬇️
.../src/modules/internal/resolvers/ReleaseResolver.ts 64.17% <62.5%> (-1.95%) ⬇️
packages/prime-core/src/modules/internal/index.ts 100% <0%> (+3.03%) ⬆️

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 2b5d0b4...8db6495. Read the comment docs.

@birkir birkir merged commit edc659f into master Feb 12, 2019
@birkir birkir mentioned this pull request Feb 12, 2019
@birkir birkir deleted the feature/webhooks-ct2 branch February 12, 2019 18:38
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

1 participant