1.0.13 • Published 2 years ago
pocketbase-service-handler v1.0.13
USECASE
SETUP
UserService.setPocketBase(pb: PocketBase) - sets up static link to pocketbase object
GOOGLE SERVICE
REFERENCING
googleUserService = new GoogleUserService() - creates GoogleUserService object
SETUP
googleUserService.enable() - enables service on users account, if exists returns error
CALENDAR
googleUserService.getCalendarEvents(calendar_name) - gets calendar events from calendar_name
googleUserService.addCalendarEvent(calendar_name: string | def "primary", event_name: string, start: UTCDateTime [STRING], end: UTCDateTime [STRING]) - schedules event to calendar