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

Typescript types missing "team_member_root" from NamespaceType definition #1140

Open
ganicus opened this issue Apr 29, 2024 · 1 comment
Open
Labels

Comments

@ganicus
Copy link

ganicus commented Apr 29, 2024

Describe the bug
When listing namespaces using SDK a namespace type "team_member_root" is another possible string values not included in the NamespaceType definition

To Reproduce
Write any typescript that uses the returned value of a NamespaceMetadata

Expected Behavior
NamespaceMetadata should have an exhaustive list of all documented return types from the current Dropbox spec.

Actual Behavior
An error when writing a tag type that checks for the "team_member_root"
This comparison appears to be unintentional because the types '"app_folder" | "shared_folder" | "team_folder" | "team_member_folder" | "other"' and '"team_member_root"' have no overlap

Version
10.35.0 current

@ganicus ganicus added the bug label Apr 29, 2024
@greg-db
Copy link
Contributor

greg-db commented Apr 30, 2024

Thanks! I'll ask the team to get this updated.

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

No branches or pull requests

2 participants