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]: export types #33

Open
LargatSeif opened this issue Jan 25, 2025 · 2 comments
Open

[feat]: export types #33

LargatSeif opened this issue Jan 25, 2025 · 2 comments

Comments

@LargatSeif
Copy link

A clear and concise description of what the feature is

First of all thanks for the great work ,
i would like to have access to some types like "StrapiSDKConfig" or all the types available under dist/index.d.ts.

Why should this feature be included?

it will improve our experience

Please provide an example for how this would work

No response

@Convly Convly added the community Changes and fixes created by community members label Jan 28, 2025
@Convly
Copy link
Member

Convly commented Jan 29, 2025

Hi there, thanks for opening this issue.

Can you elaborate a bit more on which types you would like to have access too?

We're trying to be strict about what's exported so that we are not too limited when dealing with breaking changes later on.

From my perspective what could make sense are

  • A type representing the config you can pass to the sdk factory
  • A type representing the public interface for the SDK instance
  • Maybe types for the collection and single type queries managers?

Tell me if I've missed something

@LargatSeif
Copy link
Author

Hi,
yes exactly you've guessed it right 👍🏼.

@hanpaine hanpaine removed the community Changes and fixes created by community members label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants