PhoenixKitAI.GuardBlock (PhoenixKitAI v0.26.1)

Copy Markdown View Source

A person blocked from a group of AI tasks until the block is lifted (phoenix_kit_ai_guard_blocks, this module's migration chain), written by PhoenixKitAI.GuardBlocks.

block_group is the group the block is on: a task's block_group, or its key when it names none. origin_task_key and origin_event_uuid say where the block was set from (a task's page, a flag). private is the strictest of the group's tasks: the reason of a private block is shown only to the holders of ai.manage. A block is active while lifted_at is nil; at most one is active per group and person.

Summary

Types

t()

@type t() :: %PhoenixKitAI.GuardBlock{
  __meta__: term(),
  block_group: term(),
  blocked_at: term(),
  blocked_by_uuid: term(),
  lift_note: term(),
  lifted_at: term(),
  lifted_by_uuid: term(),
  origin_event_uuid: term(),
  origin_task_key: term(),
  private: term(),
  reason: term(),
  user_uuid: term(),
  uuid: term()
}