feat: allow to set mute duration and notifications mute option (#2665)
This commit is contained in:
parent
4954473f50
commit
3448335356
10 changed files with 163 additions and 47 deletions
|
@ -56,13 +56,22 @@ export interface Draft {
|
|||
|
||||
export type DraftMap = Record<string, Draft>
|
||||
|
||||
export interface ConfirmDialogLabel {
|
||||
export interface ConfirmDialogOptions {
|
||||
title: string
|
||||
description?: string
|
||||
confirm?: string
|
||||
cancel?: string
|
||||
extraOptionType?: 'mute'
|
||||
}
|
||||
export interface ConfirmDialogChoice {
|
||||
choice: 'confirm' | 'cancel'
|
||||
extraOptions?: {
|
||||
mute: {
|
||||
duration: number
|
||||
notifications: boolean
|
||||
}
|
||||
}
|
||||
}
|
||||
export type ConfirmDialogChoice = 'confirm' | 'cancel'
|
||||
|
||||
export interface CommonRouteTabOption {
|
||||
to: RouteLocationRaw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue