PhoenixKitBoards.Board (PhoenixKitBoards v0.2.0)

Copy Markdown View Source

A collaborative infinite-canvas board.

The canvas document is a Fresco.Canvas (images + extensions.etcher shapes) serialized into the data jsonb column — one board = one row in phoenix_kit_boards.

Summary

Functions

Changeset for creating/renaming a board.

Changeset that only replaces the persisted canvas document.

Types

t()

@type t() :: %PhoenixKitBoards.Board{
  __meta__: term(),
  created_by: term(),
  data: term(),
  inserted_at: term(),
  name: term(),
  updated_at: term(),
  uuid: term()
}

Functions

changeset(board, attrs)

Changeset for creating/renaming a board.

data_changeset(board, data)

Changeset that only replaces the persisted canvas document.