feat: refined ui

This commit is contained in:
2026-06-26 00:31:29 +02:00
parent 8414c26bd4
commit c86726ec9a
48 changed files with 1720 additions and 872 deletions
@@ -1 +0,0 @@
ALTER TABLE `machines` ADD `ca_cert` text;
@@ -0,0 +1,5 @@
CREATE TABLE `settings` (
`key` text PRIMARY KEY,
`updated_at` integer NOT NULL,
`value` text NOT NULL
);
@@ -1,23 +1,27 @@
{
"version": "7",
"dialect": "sqlite",
"id": "1a550330-2944-441c-aea2-18b98455929c",
"id": "208e7c97-0071-4c2f-bc0c-7c4cbf18af2e",
"prevIds": [
"b3403d40-d4c3-4f1a-8d1d-763c548f5bc7"
],
"ddl": [
{
"name": "machines",
"entityType": "tables"
},
{
"name": "account",
"entityType": "tables"
},
{
"name": "machines",
"entityType": "tables"
},
{
"name": "session",
"entityType": "tables"
},
{
"name": "settings",
"entityType": "tables"
},
{
"name": "two_factor",
"entityType": "tables"
@@ -30,66 +34,6 @@
"name": "verification",
"entityType": "tables"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": "'http://127.0.0.1:9999'",
"generated": null,
"name": "address",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "ca_cert",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "id",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "name",
"entityType": "columns",
"table": "machines"
},
{
"type": "integer",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "order",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "token",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": false,
@@ -220,6 +164,56 @@
"entityType": "columns",
"table": "account"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": "'http://127.0.0.1:9999'",
"generated": null,
"name": "address",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "id",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "name",
"entityType": "columns",
"table": "machines"
},
{
"type": "integer",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "order",
"entityType": "columns",
"table": "machines"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "token",
"entityType": "columns",
"table": "machines"
},
{
"type": "integer",
"notNull": true,
@@ -310,6 +304,36 @@
"entityType": "columns",
"table": "session"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "key",
"entityType": "columns",
"table": "settings"
},
{
"type": "integer",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "updated_at",
"entityType": "columns",
"table": "settings"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": null,
"generated": null,
"name": "value",
"entityType": "columns",
"table": "settings"
},
{
"type": "text",
"notNull": true,
@@ -605,15 +629,6 @@
"entityType": "fks",
"table": "two_factor"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "machines_pk",
"table": "machines",
"entityType": "pks"
},
{
"columns": [
"id"
@@ -623,6 +638,15 @@
"table": "account",
"entityType": "pks"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "machines_pk",
"table": "machines",
"entityType": "pks"
},
{
"columns": [
"id"
@@ -632,6 +656,15 @@
"table": "session",
"entityType": "pks"
},
{
"columns": [
"key"
],
"nameExplicit": false,
"name": "settings_pk",
"table": "settings",
"entityType": "pks"
},
{
"columns": [
"id"