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(types): copy SDK types to @types #3302

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

bodinsamuel
Copy link
Collaborator

Changes

Contributes to https://linear.app/nango/issue/NAN-2265/remove-shared-from-cli

  • Copy SDK types to @nangohq/types
    It's to prepare the field when I introduce a dedicated package for the SDK, so we can reuse types across the codebase. Those types are not used at the moment. (see feat(sdk): standalone package #3297 for full PR)

  • Fix types for pagination
    It wasn't using a discriminated object which makes type narrowing impossible

  • Fix types for response saver

@bodinsamuel bodinsamuel self-assigned this Jan 14, 2025
Copy link

linear bot commented Jan 14, 2025

@bodinsamuel bodinsamuel requested a review from a team January 14, 2025 11:01
Copy link
Contributor

@nalanj nalanj left a comment

Choose a reason for hiding this comment

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

Like it!

@bodinsamuel bodinsamuel enabled auto-merge (squash) January 14, 2025 13:49
@bodinsamuel bodinsamuel merged commit ddcabd7 into master Jan 14, 2025
16 checks passed
@bodinsamuel bodinsamuel deleted the sam/25_01_14/fix/types-move-for-runner branch January 14, 2025 14:00
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