Skip to content

Typescript types missing "team_member_root" from NamespaceType definition #1140

@ganicus

Description

@ganicus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions