This commit is contained in:
Max Lynch
2015-11-30 22:15:21 -06:00
parent 3b17353921
commit 14ec97d8d4
57 changed files with 1047 additions and 15 deletions
+59
View File
@@ -0,0 +1,59 @@
import {Plugin, Cordova} from './plugin';
@Plugin({
name: 'Calendar',
plugin: 'cordova-plugin-calendar',
pluginRef: 'plugins.calendar'
})
export class Calendar {
@Cordova()
static createCalendar(options:any) {}
@Cordova()
static deleteCalendar(calendarName:string) {}
@Cordova()
static getCalendarOptions() {}
@Cordova()
static createEvent(title, location, notes, startDate, endDate) {}
@Cordova()
static createEventWithOptions(title, location, notes, startDate, endDate, options) {}
@Cordova()
static createEventInteractively(title, location, notes, startDate, endDate) {}
@Cordova()
static createEventInteractivelyWithOptions(title, location, notes, startDate, endDate, options) {}
@Cordova()
static createEventInNamedCalendar(title, location, notes, startDate, endDate, calendarName) {}
@Cordova()
static findEvent(title, location, notes, startDate, endDate) {}
@Cordova()
static listEventsInRange(startDate:any, endDate:any) {}
@Cordova()
static listCalendars(){}
@Cordova()
static findAllEventsInNamedCalendar(calendarName:string) {}
@Cordova()
static modifyEvent(title, location, notes, startDate, endDate, newTitle, newLocation, newNotes, newStartDate, newEndDate) {}
@Cordova()
static modifyEventWithOptions(title, location, notes, startDate, endDate, newTitle, newEventLocation, newNotes, newStartDate, newEndDate, options) {}
@Cordova()
static deleteEvent(title, location, notes, startDate, endDate) {}
@Cordova()
static deleteEventFromNamedCalendar(title, location, notes, startDate, endDate, calendarName) {}
@Cordova()
static openCalendar(date) {}
}
+35
View File
@@ -0,0 +1,35 @@
import {Plugin, Cordova} from './plugin';
@Plugin({
name: 'Facebook',
plugin: 'cordova-plugin-facebook4',
pluginRef: 'facebookConnectPlugin'
})
export class Facebook {
@Cordova()
static login(permissions:string[]){}
@Cordova()
static logout(){}
@Cordova()
static getLoginStatus(){}
@Cordova()
static getAccessToken(){}
@Cordova()
static showDialog(options:any){}
@Cordova()
static api(requestPath:string, permissions:string[]){}
@Cordova()
static logEvent(name:string, params:any, valueToSum:number){}
@Cordova()
static logPurchase(value:number, currency:string){}
@Cordova()
static appInvite(options:any){}
}