Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

feature: subscriptions api #85

Merged
merged 31 commits into from
Jun 17, 2020
Merged

Conversation

justinemmanuelmercado
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2020

Codecov Report

Merging #85 into master will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
+ Coverage   99.61%   99.65%   +0.04%     
==========================================
  Files          18       19       +1     
  Lines         785      880      +95     
  Branches       54       56       +2     
==========================================
+ Hits          782      877      +95     
  Misses          2        2              
  Partials        1        1              
Impacted Files Coverage Δ
src/error-codec.ts 100.00% <ø> (ø)
src/sections/reports.ts 99.31% <ø> (ø)
src/error.ts 100.00% <100.00%> (ø)
src/http.ts 98.82% <100.00%> (+0.05%) ⬆️
src/index.ts 100.00% <100.00%> (ø)
src/mws.ts 100.00% <100.00%> (ø)
src/sections/subscriptions.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 606b176...cd9346e. Read the comment docs.

@justinemmanuelmercado
Copy link
Contributor Author

@moltar I messed up, was looking to request a review but accidentally merged it to master instead, reverted it using the revert option. I'll revert the revert when you approve this PR

| (number | string)[]
| object[]
| boolean
| { [key: string]: ParameterTypes }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better expressed as Record<string, ParameterTypes>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried that at first, but it threw Type alias 'ParameterTypes' circularly references itself. and only used the above as a fix. Any reason why { [key: string]: ParameterTypes } won't work?

This is where I got the "fix" microsoft/TypeScript#14174. I didn't read through everything though so there may be something I missed in that issue that might've been a better fix

'AttributeList.member': [
{
Key: 'sqsQueueUrl',
// eslint-disable-next-line sonarjs/no-duplicate-string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not disable this linting rule, but instead put the value in a constant at the top of the file or relevant describe code block.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh you're right. I missed this, I used a quick fix with the intention of fixing it after making sure that my tests passed but forgot to go back to it

@github-actions
Copy link

🎉 This PR is included in version 1.0.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants