PhoenixKitProjects.Schemas.Whiteboard (PhoenixKitProjects v0.21.1)

Copy Markdown View Source

One project whiteboard (phoenix_kit_project_whiteboards, chain V5): a named drawing surface = one core Storage file (the blank-background bridge — see PhoenixKitProjects.Whiteboards) plus core annotation rows anchored to that file by PhoenixKitWeb.Components.MediaCanvasViewer.

width/height are duplicated here from the background file so the list UI can label board sizes without a Storage read. file_uuid is unique — a board owns its background. created_by_uuid is FK-less provenance (house convention; activity is the audit trail).

Summary

Types

t()

@type t() :: %PhoenixKitProjects.Schemas.Whiteboard{
  __meta__: term(),
  created_by_uuid: term(),
  file_uuid: term(),
  height: term(),
  inserted_at: term(),
  name: term(),
  position: term(),
  project_uuid: term(),
  updated_at: term(),
  uuid: term(),
  width: term()
}

Functions

changeset(board, attrs)