name: icalendar
version: 0.4.8
author: sstent
index: icalendar.ts
# Legacy SilverBullet permission name
requiredPermissions:
  - fetch
# Modern SilverBullet permission name
permissions:
  - fetch
  - http
functions:
  syncCalendars:
    path: icalendar.ts:syncCalendars
    command:
      name: "iCalendar: Sync"
      priority: -1
    events:
      - editor:init
  forceSync:
    path: icalendar.ts:forceSync
    command:
      name: "iCalendar: Force Sync"
      priority: -1
  clearCache:
    path: icalendar.ts:clearCache
    command:
      name: "iCalendar: Clear All Events"
      priority: -1
  showVersion:
    path: icalendar.ts:showVersion
    command:
      name: "iCalendar: Version"
      priority: -2
