Files
silverbullet-icalendar/icalendar.plug.yaml
Marek S. Lukasiewicz 529c534d4a Add version command
2025-01-05 17:57:27 +01:00

32 lines
615 B
YAML

name: icalendar
requiredPermissions:
- fetch
functions:
showVersion:
path: ./icalendar.ts:showVersion
command:
name: "iCalendar: Version"
priority: -2
queryEvents:
path: ./icalendar.ts:queryEvents
events:
- query:ical-event
config:
schema.config.properties.icalendar:
type: object
required:
- sources
properties:
sources:
type: array
minItems: 1
items:
type: object
required:
- url
properties:
url:
type: string
name:
type: string