From 1c5e73a3c7346d69b138ef788150a5075cea22df Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Wed, 14 Feb 2024 15:38:42 +0100 Subject: [PATCH] start adding new variables from planning-permission service development --- types/enums/FileTypes.ts | 1 + types/schema/data/Proposal.ts | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/types/enums/FileTypes.ts b/types/enums/FileTypes.ts index d7cc1935..c823d10d 100644 --- a/types/enums/FileTypes.ts +++ b/types/enums/FileTypes.ts @@ -82,6 +82,7 @@ export const FileTypes = { treeCanopyCalculator: 'Tree canopy calculator', treeConditionReport: 'Tree condition report', treesReport: 'Trees report', + treeSurvey: 'Tree survey', 'unitPlan.existing': 'Unit plan - existing', 'unitPlan.proposed': 'Unit plan - proposed', 'usePlan.existing': 'Use plan - existing', diff --git a/types/schema/data/Proposal.ts b/types/schema/data/Proposal.ts index 8e7cad24..88fbcbba 100644 --- a/types/schema/data/Proposal.ts +++ b/types/schema/data/Proposal.ts @@ -48,6 +48,34 @@ export interface BaseDetails { dwellings?: number; }; }; + demolish?: { + reason?: string; + remediationPlan?: string; + /** + * @description Is a dangerous structure being demolished? + */ + dangerousStructure?: boolean; + /** + * @description Are materials containing asbestos affected by the demolition? + */ + asbestosAffected?: boolean; + }; + access?: { + type?: [ + | 'vehicle' + | 'parking' + | 'newRoad' + | 'rightsOfWay.newPublic' + | 'rightsOfWay.changeOfUse', + ]; + description?: string; + }; + trees?: { + /** + * @description Will trees or hedges be cut down or pruned? + */ + affected?: boolean; + }; } /**