iv: add context JSON configuration files

This commit is contained in:
otivm
2026-05-03 14:57:48 +00:00
parent f6287b80cb
commit 64b1c9b58f
4 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
{
"id": "actor",
"name": "Actor",
"subtitle": "Who you are",
"layout": "three-col",
"subitems": ["Identity", "Auctoritas", "Parameters", "Obligations"],
"sections": [
{
"col": "left",
"title": "Identity",
"type": "status-block",
"dataKey": "identity"
},
{
"col": "left",
"title": "Liquiditas",
"type": "status-block",
"dataKey": "liquiditas"
},
{
"col": "center",
"title": "Auctoritas — three faces",
"type": "auctoritas",
"dataKey": "auctoritas"
},
{
"col": "center",
"title": "Parameters",
"type": "parameter-list",
"dataKey": "parameters"
},
{
"col": "right",
"title": "Periodic obligations",
"type": "cost-table",
"dataKey": "obligations",
"note": "Debited per otium cycle. Amounts from docs/economy/cost-calibration-model.md."
},
{
"col": "right",
"title": "Drift log · recent",
"type": "drift-log",
"dataKey": "driftLog"
}
]
}

View File

@@ -0,0 +1,46 @@
{
"id": "forum",
"name": "Forum",
"subtitle": "Decisions and accounts",
"layout": "two-col",
"subitems": ["Active Venture", "Routes", "Journal"],
"sections": [
{
"col": "left",
"title": "Active venture",
"type": "status-block",
"dataKey": "activeVenture"
},
{
"col": "left",
"title": "Actions",
"type": "action-bar",
"dataKey": "actions"
},
{
"col": "left",
"title": "Journal",
"type": "text-block",
"dataKey": "journal",
"collapsible": true
},
{
"col": "right",
"title": "Trade routes",
"type": "route-list",
"dataKey": "routes"
},
{
"col": "right",
"title": "Standing",
"type": "status-block",
"dataKey": "standing"
},
{
"col": "right",
"title": "Periodic expenditures",
"type": "cost-table",
"dataKey": "expenditures"
}
]
}

View File

@@ -0,0 +1,27 @@
{
"id": "map",
"name": "Map",
"subtitle": "The known world · roman_14bce",
"layout": "map",
"subitems": ["Waypoints", "Epoch"],
"sections": [
{
"col": "sidebar",
"title": "Revealed waypoints",
"type": "status-block",
"dataKey": "waypoints"
},
{
"col": "sidebar",
"title": "Epoch",
"type": "status-block",
"dataKey": "epoch"
},
{
"col": "canvas",
"title": "TESSERA H7 · fog-of-war",
"type": "map-canvas",
"dataKey": null
}
]
}

34
src/config/contexts.json Normal file
View File

@@ -0,0 +1,34 @@
[
{
"id": "actor",
"name": "Actor",
"subtitle": "Who you are",
"layout": "three-col",
"disabled": false,
"subitems": ["Identity", "Auctoritas", "Parameters", "Obligations"]
},
{
"id": "forum",
"name": "Forum",
"subtitle": "Decisions and accounts",
"layout": "two-col",
"disabled": false,
"subitems": ["Active Venture", "Routes", "Journal"]
},
{
"id": "map",
"name": "Map",
"subtitle": "The known world",
"layout": "map",
"disabled": false,
"subitems": ["Waypoints", "Epoch"]
},
{
"id": "market",
"name": "Market",
"subtitle": "Supply and demand",
"layout": "two-col",
"disabled": true,
"subitems": []
}
]