Skip to main content

SettingScopeType

An enum to describe the type of scope the setting is for.

enum SettingScopeType {
USER
USER_EMAIL_NOTIFICATIONS
USER_SLACK_NOTIFICATIONS
WORKSPACE_SLACK_NOTIFICATIONS
WORKSPACE_DISCORD_NOTIFICATIONS
WORKSPACE
}

Values

SettingScopeType.USER

Scope for any user level settings An id is not needed as it will implicitly be the authenticated user's id.

SettingScopeType.USER_EMAIL_NOTIFICATIONS

Scope for the authenticated user's email notification settings. An id is not needed as it will implicitly be the authenticated user's id.

SettingScopeType.USER_SLACK_NOTIFICATIONS

Scope for the authenticated user's slack notification settings. An id is not needed as it will implicitly be the authenticated user's id.

SettingScopeType.WORKSPACE_SLACK_NOTIFICATIONS

Scope for slack notifications configured for the whole workspace. An id is mandatory and should be a workspace slack integration id (wsSlackInt_123)

SettingScopeType.WORKSPACE_DISCORD_NOTIFICATIONS

Scope for discord notifications configured for the whole workspace. An id is mandatory and should be a workspace discord integration id (wsDiscordInt_123)

SettingScopeType.WORKSPACE

Scope for workspace level settings for the whole workspace. An id is not needed as it will implicitly be the current workspace id.

Member of

SettingScope object ● SettingScopeInput input