Manage memos (VJOURNAL components, also called journal entries or notes) with one of multiple back ends. The Service protocol can be implemented as needed.
A memo is a plain map described by the ::memo spec:
:uid Non-blank string identifying the memo :summary String :description String: the memo's text :status :draft, :final or :cancelled :start The date or time the memo is for (DTSTART): java.time.LocalDate (all-day), LocalDateTime (floating), ZonedDateTime (local time in a time zone) or Instant (UTC) :created java.time.Instant :last-modified java.time.Instant :categories Set of non-blank strings: the memo's tags
The :extra-* keys hold iCalendar text for data the map doesn't model; see
dgknght.memos.vjournal and dgknght.ical.
Manage memos (VJOURNAL components, also called journal entries or notes)
with one of multiple back ends. The Service protocol can be implemented as
needed.
A memo is a plain map described by the `::memo` spec:
:uid Non-blank string identifying the memo
:summary String
:description String: the memo's text
:status :draft, :final or :cancelled
:start The date or time the memo is for (DTSTART):
java.time.LocalDate (all-day), LocalDateTime (floating),
ZonedDateTime (local time in a time zone) or Instant (UTC)
:created java.time.Instant
:last-modified java.time.Instant
:categories Set of non-blank strings: the memo's tags
The `:extra-*` keys hold iCalendar text for data the map doesn't model; see
`dgknght.memos.vjournal` and `dgknght.ical`.Instantiates a Service implementation based on the given configuration.
Instantiates a Service implementation based on the given configuration.
Fetches and saves memos wherever a provider stores them. Create one with
service.
Fetches and saves memos wherever a provider stores them. Create one with `service`.
(delete _ memo)Deletes the memo, as returned by list, get or put, and returns
nil.
Deletes the memo, as returned by `list`, `get` or `put`, and returns nil.
(get _ id)Fetches the memo with the provider-specific id (for CalDAV, the memo's :url, not its :uid), or returns nil if there's no memo.
Fetches the memo with the provider-specific id (for CalDAV, the memo's :url, not its :uid), or returns nil if there's no memo.
(list _)Fetches every memo. Each has whatever the provider needs to save or delete it again (for CalDAV, its :url and :etag).
Fetches every memo. Each has whatever the provider needs to save or delete it again (for CalDAV, its :url and :etag).
(put _ memo)Creates the memo, or updates it if it has already been saved, and returns it with whatever the provider needs to save or delete it again (for CalDAV, its :url and :etag).
Creates the memo, or updates it if it has already been saved, and returns it with whatever the provider needs to save or delete it again (for CalDAV, its :url and :etag).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |