pocketbase-service-handler
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i pocketbase-service-handler

Weekly Downloads

4

Version

1.0.13

License

MIT

Unpacked Size

19.9 kB

Total Files

6

Last publish

Collaborators

  • martinfunctu