Spatio.Model.Note (spatio_sdk v0.0.2)

A markdown note. Notes belong to exactly one connected account (accountId + provider). The native provider stores notes in the Spatio database; external providers (Notion, Google Keep, etc.) store them upstream and round-trip through Spatio.

Summary

Types

t()

@type t() :: %Spatio.Model.Note{
  accountId: String.t() | nil,
  archived: boolean(),
  content: String.t(),
  coverImage: Uri | nil,
  createdAt: DateTime.t(),
  icon: String.t() | nil,
  id: String.t(),
  lastEditedBy: String.t() | nil,
  ownerUserId: String.t() | nil,
  parentId: String.t() | nil,
  properties: %{optional(String.t()) => any()} | nil,
  provider: String.t() | nil,
  title: String.t(),
  updatedAt: DateTime.t()
}

Functions

decode(value)