Spatio.Model.Task (spatio_sdk v0.0.2)

A to-do / reminder / issue. Tasks belong to one connected account (accountId + provider). Native tasks store in Spatio's DB; external providers (Linear, GitHub Issues, Todoist, etc.) round-trip through Spatio.

Summary

Types

t()

@type t() :: %Spatio.Model.Task{
  accountId: String.t() | nil,
  assigneeId: String.t() | nil,
  completed: boolean(),
  completedAt: DateTime.t() | nil,
  createdAt: DateTime.t(),
  description: String.t() | nil,
  dueDate: DateTime.t() | nil,
  id: String.t(),
  labels: [String.t()] | nil,
  metadata: %{optional(String.t()) => any()} | nil,
  ownerUserId: String.t() | nil,
  parentTaskId: String.t() | nil,
  priority: String.t(),
  provider: String.t() | nil,
  sourceId: String.t() | nil,
  sourcePlatform: String.t() | nil,
  status: String.t() | nil,
  tags: [String.t()] | nil,
  title: String.t(),
  type: String.t() | nil,
  updatedAt: DateTime.t()
}

Functions

decode(value)