Skip to main content

View

Represents a view type.

type View {
id: ID!
name: String
module: ViewModule!
isDefault: Boolean
canEdit: Boolean
canDelete: Boolean
metadata: JSON
isPeriodComparison: Boolean
access: ViewAccess
isAuthor: Boolean
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
}

Fields​

View.id ● ID! non-null scalar​

View's unique identifier.

View.name ● String scalar​

The view's name.

View.module ● ViewModule! non-null enum​

The view's module.

View.isDefault ● Boolean scalar​

Whether this view is the default for the given module.

View.canEdit ● Boolean scalar​

Whether the given user can edit this view.

View.canDelete ● Boolean scalar​

Whether the given user can delete this view.

View.metadata ● JSON scalar​

The view's metadata.

View.isPeriodComparison ● Boolean scalar​

Determines whether the view is a period comparison view.

View.access ● ViewAccess object​

The view's access.

View.isAuthor ● Boolean scalar​

Determine whether the current user is this view's author.

View.creator ● User object​

The user who created this view.

View.createdAt ● DateTimeTz! non-null scalar​

The date and time when the view was created.

View.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the view was last updated.

View.deletedAt ● DateTimeTz scalar​

The date and time when the view was deleted.

Returned By​

createView mutation ● defaultView query ● deleteView mutation ● markViewAsDefault mutation ● restoreView mutation ● updateView mutation ● view query

Member Of​

Dashlet object ● ViewEdge object