Skip to main content
Version: Beta

PresetSharee

description

PresetSharee it's either representing EVERYONE (all users and groups in the user's firm) Or DEFAULT (default sharees are set on user's preferences)

type PresetSharee implements ShareeItem {
id: String!
name: String!
value: ShareePresetValue!
}

Fields

PresetSharee.id ● String! non-null scalar

Id value is always the same as PresetSharee Value @exposed

PresetSharee.name ● String! non-null scalar

name value is always the same as PresetSharee Value @exposed

PresetSharee.value ● ShareePresetValue! non-null enum

value is either set to EVERYONE (Document shared with everyone) or DEFAULT (Document shared with default group) @exposed

Interfaces

ShareeItem interface

ShareeItem is a simple type that unifies all sharees. In general and for all sharee types we need to have an id and name. And it will be the simple format for all type of sharees. without the need of other sharee details.