From 27b23e0dd35a99a5bcbcb354097b0d250934b949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 5 Aug 2024 09:07:24 +0100 Subject: [PATCH] chore: `BuildingRegulation` enum (#234) --- .../enums/BuildingRegulation.ts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 types/schemas/prototypeApplication/enums/BuildingRegulation.ts diff --git a/types/schemas/prototypeApplication/enums/BuildingRegulation.ts b/types/schemas/prototypeApplication/enums/BuildingRegulation.ts new file mode 100644 index 00000000..991e9731 --- /dev/null +++ b/types/schemas/prototypeApplication/enums/BuildingRegulation.ts @@ -0,0 +1,25 @@ +/** + * @description Part M4(2) of the Building Regulations 2010 + */ +type M42 = 'm42'; + +/** + * @description Part M4(3)(2a) of the Building Regulations 2010 + */ +type M432a = 'm432a'; + +/** + * @description Part M4(3)(2b) of the Building Regulations 2010 + */ +type M432b = 'm432b'; + +/** + * @description None of these + */ +type None = 'none'; + +/** + * @id #BuildingRegulation + * @description Building regulations + */ +export type BuildingRegulation = M42 | M432a | M432b | None;