mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
parent
33e4392b63
commit
3ef9593704
@ -221,12 +221,15 @@ export interface PushOptions {
|
||||
}
|
||||
|
||||
export type Priority = 1 | 2 | 3 | 4 | 5;
|
||||
export type Visibility = 0 | 1 | -1;
|
||||
|
||||
export interface Channel {
|
||||
id: string;
|
||||
description: string;
|
||||
importance: Priority;
|
||||
sound?: string;
|
||||
vibration?: boolean | number[];
|
||||
visibility?: Visibility;
|
||||
}
|
||||
|
||||
export type PushEvent = string;
|
||||
|
Loading…
Reference in New Issue
Block a user