mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 21:13:09 +00:00
- Backend: Rust/Axum with PostgreSQL, plugin architecture - Frontend: Astro with polished UI - Voting methods: Approval, Ranked Choice, Schulze, STAR, Quadratic - Features: Liquid delegation, transparent moderation, structured deliberation - Documentation: User and admin guides in /docs - Deployment: Docker/Podman compose files for production and demo - Demo: Seeded data with 3 communities, 13 users, 7 proposals License: AGPLv3
107 lines
2.5 KiB
JSON
107 lines
2.5 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT \n id,\n sequence_number,\n community_id,\n actor_user_id,\n actor_role,\n action_type::text AS \"action_type!\",\n target_type,\n target_id,\n reason,\n rule_reference,\n evidence,\n duration_hours,\n decision_type,\n entry_hash,\n created_at\n FROM moderation_ledger\n WHERE target_type = $1 AND target_id = $2\n ORDER BY sequence_number DESC",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "sequence_number",
|
|
"type_info": "Int8"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "community_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "actor_user_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "actor_role",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "action_type!",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "target_type",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "target_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "reason",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "rule_reference",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "evidence",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "duration_hours",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "decision_type",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "entry_hash",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "created_at",
|
|
"type_info": "Timestamptz"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text",
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
null,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "91b64087ce497ce4426c00ccdd8cbfde639f18d24df8362c11a211a9acf2fc92"
|
|
}
|