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

feat: imports API endpoints #884

Merged
merged 9 commits into from
Jan 31, 2022
Merged

feat: imports API endpoints #884

merged 9 commits into from
Jan 31, 2022

Conversation

gumuz
Copy link
Contributor

@gumuz gumuz commented Jan 20, 2022

CLA

  • I have signed the Stream CLA (required).
  • Code changes are tested

Description of the changes, What, Why and How?

Changelog

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2022

Size Change: +1.98 kB (0%)

Total Size: 285 kB

Filename Size Change
dist/browser.es.js 62.2 kB +477 B (0%)
dist/browser.full-bundle.min.js 34.4 kB +81 B (0%)
dist/browser.js 62.9 kB +472 B (0%)
dist/index.es.js 62.3 kB +477 B (0%)
dist/index.js 63 kB +471 B (0%)

compressed-size-action

@gumuz gumuz changed the title Imports API endpoints [CHAT-2800] Imports API endpoints Jan 25, 2022
@gumuz gumuz changed the title [CHAT-2800] Imports API endpoints [CHAT-2800] feat: Imports API endpoints Jan 25, 2022
@gumuz gumuz changed the title [CHAT-2800] feat: Imports API endpoints [CHAT-2800] Imports API endpoints Jan 25, 2022
@peterdeme peterdeme changed the title [CHAT-2800] Imports API endpoints feat: imports API endpoints Jan 25, 2022
@peterdeme peterdeme closed this Jan 25, 2022
@peterdeme peterdeme reopened this Jan 25, 2022
src/client.ts Outdated
* @private
* @param {{ limit?: number; offset?: number }} options pagination options
*
* @return {APIResponse} An ImportTask
Copy link
Contributor

@peterdeme peterdeme Jan 27, 2022

Choose a reason for hiding this comment

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

We should have a specific response type for this method and for the others as well, right?

Is import_task: {} accurate?

Copy link
Contributor Author

@gumuz gumuz Jan 27, 2022

Choose a reason for hiding this comment

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

✅ added

Copy link
Contributor

Choose a reason for hiding this comment

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

this isn't exactly true since it's a richer version of it

maybe we should define listResponse, getResponse etc. How is it done in other endpoints?

Add types for Import API endpoints

Update src/client.ts

Update src/client.ts

Update src/client.ts

Update src/types.ts

Co-Authored-By: Peter Deme <[email protected]>
@gumuz gumuz marked this pull request as ready for review January 28, 2022 08:27
@gumuz gumuz requested a review from peterdeme January 28, 2022 09:10
@peterdeme
Copy link
Contributor

lgtm

Copy link
Contributor

@ferhatelmas ferhatelmas left a comment

Choose a reason for hiding this comment

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

LGTM

@gumuz gumuz enabled auto-merge (squash) January 31, 2022 13:57
@gumuz gumuz merged commit 27fccbe into master Jan 31, 2022
@gumuz gumuz deleted the imports-crud branch January 31, 2022 13:58
@github-actions github-actions bot mentioned this pull request Feb 2, 2022
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.

3 participants