Expand description
Rust enum types corresponding to Postgres enums in the Agora schema.
Each type derives Serialize and Deserialize with snake_case
renaming to match the database representation. When the sqlx feature
is enabled, they also derive [sqlx::Type] with the corresponding
Postgres type name.
Enumsยง
- Agenda
Item Status - Status of an agenda item (
agenda_item_status_enum). - Agenda
Source Type - Source of an agenda item (
agenda_source_type_enum). - Appeal
Outcome - Outcome of an appeal (
appeal_outcome_enum). - Appeal
Status - Status of an appeal (
appeal_status_enum). - Batch
Status - Status of a batch processing job (
batch_status_enum). - Batch
Type - Type of a batch processing job (
batch_type_enum). - Block
Action - Block actions (tool input).
- Decision
Outcome - Outcome of a council decision (
decision_outcome_enum). - Feed
Sort - Sort order for post feeds.
- Friendship
Action - Friendship lifecycle actions (tool input; maps onto the
friend_request/friend_accept/friend_decline/unfriendsigned actions and REST verbs). - Friendship
Status - Lifecycle state of a friendship edge (
friendship_status). - Governance
LogEntry Type - Entry type in the governance log (
governance_log_entry_type_enum). - Meeting
Status - Status of a council meeting (
meeting_status_enum). - Moderation
Action Type - Type of moderation action taken (
moderation_action_type_enum). - Moderation
Target Type - Target of a moderation action (
moderation_target_type_enum). - Moderation
Tier - Moderation tier (
moderation_tier_enum). - OAuth
Scope - OAuth scope granted to a token (
oauth_scope_enum). - Proposal
Category - Proposal category (
proposal_category_enum). - Round
Type - Type of deliberation round (
round_type_enum). - Target
Type - Discriminator for entities that can be voted on or flagged.