dropbox-sdk-js icon indicating copy to clipboard operation
dropbox-sdk-js copied to clipboard

Typescript types missing "team_member_root" from NamespaceType definition

Open ganicus opened this issue 9 months ago • 1 comments

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 avatar Apr 29 '24 22:04 ganicus

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

greg-db avatar Apr 30 '24 13:04 greg-db