From 5f4f5c1dc75cfc5b6b2c0fbff0564187c3f3e124 Mon Sep 17 00:00:00 2001 From: cinereal Date: Wed, 4 Jun 2025 18:44:16 +0200 Subject: [PATCH] add data model for the reference front-end --- architecture-docs/panel-data-model.mmd | 17 +++++++++++++++++ architecture-docs/panel-data-model.svg | 1 + 2 files changed, 18 insertions(+) create mode 100644 architecture-docs/panel-data-model.mmd create mode 100644 architecture-docs/panel-data-model.svg diff --git a/architecture-docs/panel-data-model.mmd b/architecture-docs/panel-data-model.mmd new file mode 100644 index 0000000..818a805 --- /dev/null +++ b/architecture-docs/panel-data-model.mmd @@ -0,0 +1,17 @@ +--- +title: Data model of sample web application +--- +erDiagram + runtime { + json configuration + } + operator { + string username + string password_hash + } + deployment { + json configuration + option[string] version + } + operator ||--o{ deployment : has + deployment }|--|| runtime : uses diff --git a/architecture-docs/panel-data-model.svg b/architecture-docs/panel-data-model.svg new file mode 100644 index 0000000..6af9534 --- /dev/null +++ b/architecture-docs/panel-data-model.svg @@ -0,0 +1 @@ +runtimejsonconfigurationoperatorstringusernamestringpassword_hashdeploymentjsonconfigurationoption[string]versionhasusesData model of sample web application \ No newline at end of file