Skip to content

Commit 6a8153e

Browse files
committed
Updating Local Notifications
“ to ‘
1 parent 08f2cae commit 6a8153e

File tree

1 file changed

+21
-20
lines changed
  • src/@ionic-native-mocks/plugins/local-notifications

1 file changed

+21
-20
lines changed

src/@ionic-native-mocks/plugins/local-notifications/index.ts

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ import { Observable } from 'rxjs/Observable';
33
import { Observer } from 'rxjs/Observer';
44

55
export declare enum ELocalNotificationTriggerUnit {
6-
SECOND = "second",
7-
MINUTE = "minute",
8-
HOUR = "hour",
9-
DAY = "day",
10-
WEEK = "week",
11-
MONTH = "month",
12-
QUARTER = "quarter",
13-
YEAR = "year",
14-
WEEKDAY = "weekday",
15-
WEEKDAY_ORDINAL = "weekdayOrdinal",
16-
WEEK_OF_MONTH = "weekOfMonth",
6+
SECOND = 'second',
7+
MINUTE = 'minute',
8+
HOUR = 'hour',
9+
DAY = 'day',
10+
WEEK = 'week',
11+
MONTH = 'month',
12+
QUARTER = 'quarter',
13+
YEAR = 'year',
14+
WEEKDAY = 'weekday',
15+
WEEKDAY_ORDINAL = 'weekdayOrdinal',
16+
WEEK_OF_MONTH = 'weekOfMonth',
1717
}
1818
export interface ILocalNotificationTrigger {
1919
/** ***** FIX ***** */
@@ -46,12 +46,12 @@ export interface ILocalNotificationTrigger {
4646
before?: Date;
4747
/**
4848
* The date and time when the system should deliver the local notification. If the specified value is nil or is a date in the past, the local notification is delivered immediately.
49-
* Only for "repeat"
49+
* Only for 'repeat'
5050
* Default: now ~ new Date()
5151
*/
5252
firstAt?: Date;
5353
/**
54-
* Only for "match"
54+
* Only for 'match'
5555
*/
5656
after?: Date;
5757
/** ***** LOCATION ***** */
@@ -83,8 +83,8 @@ export interface ILocalNotificationTrigger {
8383
single?: boolean;
8484
}
8585
export declare enum ILocalNotificationActionType {
86-
INPUT = "input",
87-
BUTTON = "button",
86+
INPUT = 'input',
87+
BUTTON = 'button',
8888
}
8989
export interface ILocalNotificationAction {
9090
/**
@@ -141,15 +141,15 @@ export interface ILocalNotificationProgressBar {
141141
* WINDOWS ONLY
142142
* Gets or sets an optional string to be displayed instead of the
143143
* default percentage string. If this isn't provided, something
144-
* like "70%" will be displayed.
144+
* like '70%' will be displayed.
145145
*/
146146
description?: string;
147147
/**
148148
* WINDOWS ONLY
149149
* Sets the status (required), which is displayed underneath the progress bar
150150
* on the left.
151151
* This string should reflect the status of the operation,
152-
* like "Downloading..." or "Installing..."
152+
* like 'Downloading...' or 'Installing...'
153153
*/
154154
status?: string;
155155
}
@@ -299,7 +299,7 @@ export interface ILocalNotification {
299299
number?: number;
300300
/**
301301
* ANDROID ONLY
302-
* Set whether this is an "ongoing" notification.
302+
* Set whether this is an 'ongoing' notification.
303303
* Ongoing notifications cannot be dismissed by the user,
304304
* so your application or service must take care of canceling them.
305305
*/
@@ -528,7 +528,8 @@ export class LocalNotificationsMocks extends LocalNotifications {
528528
return new Promise((resolve, reject) => {
529529
resolve(response);
530530
});
531-
};/**
531+
};
532+
/**
532533
* Adds a group of actions
533534
* @param groupId The id of the action group
534535
* @param actions The actions of this group
@@ -587,7 +588,7 @@ export class LocalNotificationsMocks extends LocalNotifications {
587588
* @param eventName {string} The name of the event. Available events: schedule, trigger, click, update, clear, clearall, cancel, cancelall. Custom event names are possible for actions
588589
* @return {Observable}
589590
*/
590-
on(eventName: string): Observable<any> {
591+
on(eventName: string): Observable<any> {
591592
return Observable.create((observer: Observer<any>) => {
592593
observer.next('');
593594
observer.complete();

0 commit comments

Comments
 (0)