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