fix(push): add missing Chanel options

closes: #2712
This commit is contained in:
Daniel Sogl 2018-09-18 09:30:09 +02:00 committed by GitHub
parent 33e4392b63
commit 3ef9593704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;