mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23: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
151 lines
3.3 KiB
JSON
151 lines
3.3 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT id, community_id, author_id, title, description,\n status as \"status: _\", voting_method, voting_starts_at, voting_ends_at,\n created_at, updated_at, deliberation_phase as \"deliberation_phase: _\",\n inform_starts_at, inform_ends_at, discuss_starts_at, discuss_ends_at,\n min_read_time_seconds, facilitator_id\n FROM proposals WHERE id = $1",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "community_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "author_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "title",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "description",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "status: _",
|
|
"type_info": {
|
|
"Custom": {
|
|
"name": "proposal_status",
|
|
"kind": {
|
|
"Enum": [
|
|
"draft",
|
|
"discussion",
|
|
"voting",
|
|
"closed",
|
|
"archived",
|
|
"calculating"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "voting_method",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "voting_starts_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "voting_ends_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "created_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "updated_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "deliberation_phase: _",
|
|
"type_info": {
|
|
"Custom": {
|
|
"name": "deliberation_phase",
|
|
"kind": {
|
|
"Enum": [
|
|
"drafting",
|
|
"informing",
|
|
"discussing",
|
|
"voting",
|
|
"concluded"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "inform_starts_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "inform_ends_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "discuss_starts_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "discuss_ends_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "min_read_time_seconds",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "facilitator_id",
|
|
"type_info": "Uuid"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
"hash": "3a395c6e9a23a87fbfa1b3d7a06fbe907b32e3cfb6af327cec1533b7762bd4cd"
|
|
}
|