Interface IGrantedTo

Defines the user, project, or group that will have access to the file.

interface IGrantedTo {
    group?: { groupId: string; name: string; projectId: string };
    project?: { id: string; name: string };
    user?: { email: string; id: string };
}

Properties

Properties

group?: { groupId: string; name: string; projectId: string }

The group that has access to the file.

Type declaration

  • groupId: string

    Group ID.

  • name: string

    Group name.

  • projectId: string

    Project ID.

project?: { id: string; name: string }

The project that has access to the file.

Type declaration

  • id: string

    Project ID.

  • name: string

    Project name.

user?: { email: string; id: string }

The user that has access to the file.

Type declaration

  • email: string

    User email.

  • id: string

    User ID.