From 097117f10870abd749d9a471b718cbb99288d033 Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Fri, 4 Jul 2025 13:57:59 +0100 Subject: [PATCH] Update the class diagram for forms-admin Remove the date as can see this already from the git history, that is automatically updated. --- diagrams/class-diagrams/admin.md | 44 ++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/diagrams/class-diagrams/admin.md b/diagrams/class-diagrams/admin.md index c1eb4680b..ccef1694c 100644 --- a/diagrams/class-diagrams/admin.md +++ b/diagrams/class-diagrams/admin.md @@ -3,11 +3,15 @@ title: GOV.UK Forms Admin app class diagram --- # GOV.UK Forms Admin app class diagram -## 2025-05-29 ```mermaid classDiagram direction RL + class `Condition` + `Condition` : +string answer_value + `Condition` : +text exit_page_heading + `Condition` : +text exit_page_markdown + `Condition` : +boolean skip_to_end class `CreateFormService::CreateFormEvent` `CreateFormService::CreateFormEvent` : +integer dedup_version `CreateFormService::CreateFormEvent` : +integer form_id @@ -23,6 +27,28 @@ classDiagram `DraftQuestion` : +text page_heading `DraftQuestion` : +integer page_id `DraftQuestion` : +text question_text + class `Form` + `Form` : +integer creator_id + `Form` : +boolean declaration_section_completed + `Form` : +text declaration_text + `Form` : +string external_id + `Form` : +text form_slug + `Form` : +text name + `Form` : +string payment_url + `Form` : +text privacy_policy_url + `Form` : +boolean question_section_completed + `Form` : +string s3_bucket_aws_account_id + `Form` : +string s3_bucket_name + `Form` : +string s3_bucket_region + `Form` : +boolean share_preview_completed + `Form` : +string state + `Form` : +text submission_email + `Form` : +string submission_type + `Form` : +text support_email + `Form` : +text support_phone + `Form` : +text support_url + `Form` : +text support_url_text + `Form` : +text what_happens_next_markdown class `FormSubmissionEmail` `FormSubmissionEmail` : +string confirmation_code `FormSubmissionEmail` : +string created_by_email @@ -35,9 +61,9 @@ classDiagram `Group` : +boolean branch_routing_enabled `Group` : +boolean exit_pages_enabled `Group` : +text external_id - `Group` : +boolean file_upload_enabled `Group` : +string name `Group` : +string status + `Group` : +boolean welsh_enabled class `GroupForm` `GroupForm` : +integer form_id class `Membership` @@ -51,6 +77,17 @@ classDiagram `Organisation` : +boolean internal `Organisation` : +string name `Organisation` : +string slug + class `Page` + `Page` : +jsonb answer_settings + `Page` : +text answer_type + `Page` : +text guidance_markdown + `Page` : +text hint_text + `Page` : +boolean is_optional + `Page` : +boolean is_repeatable + `Page` : +integer next_page + `Page` : +text page_heading + `Page` : +integer position + `Page` : +text question_text class `PaperTrail::Version` `PaperTrail::Version` : +string event `PaperTrail::Version` : +string item_type @@ -86,4 +123,7 @@ classDiagram `Organisation` --> `MouSignature` `Group` --> `Membership` `Group` --> `GroupForm` + `Form` --> `Page` + `Page` --> `Condition` + `Condition` .. `Form` ```