|
| 1 | +/** |
| 2 | + * Values of `data.application.type` |
| 3 | + */ |
| 4 | +export const ApplicationTypes = { |
| 5 | + advertConsent: 'Consent to display an advertisement', |
| 6 | + amendment: |
| 7 | + 'Consent to make small changes to a project with Planning Permission', |
| 8 | + 'amendment.minorMaterial': |
| 9 | + 'Consent to make small (minor material) changes to a project with Planning Permission', |
| 10 | + 'amendment.nonMaterial': |
| 11 | + 'Consent to make small (non-material) changes to a project with Planning Permission', |
| 12 | + approval: 'Planning approval', |
| 13 | + 'approval.reservedMatters': 'Approval of reserved matters', |
| 14 | + complianceConfirmation: |
| 15 | + 'Written confirmation of compliance with a planning condition', |
| 16 | + environmnentalImpact: 'Environmental Impact Decision', |
| 17 | + 'environmentalImpact.scoping': 'Environmental Impact Decision - Scoping', |
| 18 | + 'environmentalImpact.screening': 'Environmental Impact Decision - Screening', |
| 19 | + hazardousSubstanceConsent: |
| 20 | + 'Consent to move and dispose of hazardous substances', |
| 21 | + hedgerowRemovalNotice: 'Notice to remove a hedge', |
| 22 | + landDrainageConsent: |
| 23 | + 'Consent to do works affecting ordinary watercourses or land drainage', |
| 24 | + ldc: 'Lawful Development Certificate', |
| 25 | + 'ldc.proposed': 'Lawful Development Certificate - Proposed use', |
| 26 | + 'ldc.existing': 'Lawful Development Certificate - Existing use', |
| 27 | + 'ldc.existing.regularise': |
| 28 | + 'Lawful Development Certificate - Continue an existing use', |
| 29 | + 'ldc.condition': |
| 30 | + 'Lawful Development Certificate - Lawful not to comply with a condition or limitation', |
| 31 | + listed: 'Consent to do works to a Listed Building', |
| 32 | + notifyCompletion: 'Notification of completion', |
| 33 | + obligation: 'Planning obligation', |
| 34 | + 'obligation.discharge': 'Discharge a planning obligation', |
| 35 | + 'obligation.modify': 'Modify a planning obligation', |
| 36 | + pa: 'Prior Approval', |
| 37 | + 'pa.part1.classA': 'Prior Approval - Larger extension to a house', |
| 38 | + 'pa.part1.classAA': 'Prior Approval - Adding storeys to a house', |
| 39 | + 'pa.part3.classG': |
| 40 | + 'Prior Approval - Convert a commercial building to mixed use', |
| 41 | + 'pa.part3.classM': |
| 42 | + 'Prior Approval - Convert a mixed use building into a home', |
| 43 | + 'pa.part3.classMA': |
| 44 | + 'Prior Approval - Convert a commercial building into a home or homes', |
| 45 | + 'pa.part3.classN': |
| 46 | + 'Prior Approval - Convert a casino or amusement arcade into a home or homes', |
| 47 | + 'pa.part3.classQ': |
| 48 | + 'Prior Approval - Convert an agricultural building into a home', |
| 49 | + 'pa.part3.classR': |
| 50 | + 'Prior Approval - Convert an agricultural building to a commercial use', |
| 51 | + 'pa.part3.classS': |
| 52 | + 'Prior Approval - Convert an agricultural building to a school', |
| 53 | + 'pa.part3.classT': |
| 54 | + 'Prior Approval - Convert a commercial building to a school', |
| 55 | + 'pa.part3.classV': |
| 56 | + 'Prior Approval - Changes of use permitted under a permission granted on an application', |
| 57 | + 'pa.part4.classBB': 'Prior Approval - Put up a temporary structure', |
| 58 | + 'pa.part4.classBC': 'Prior Approval - Develop a temporary campsite', |
| 59 | + 'pa.part4.classCA': |
| 60 | + 'Prior Approval - Put temporary school buildings on vacant commercial land', |
| 61 | + 'pa.part4.classE': 'Prior Approval - Use a building or land to shoot a film', |
| 62 | + 'pa.part6': |
| 63 | + 'Prior Approval - Alter or add new buildings to agricultural or forestry sites', |
| 64 | + 'pa.part6.classA': |
| 65 | + 'Prior Approval - Build new agricultural buildings on a unit of 5 hectares or more', |
| 66 | + 'pa.part6.classB': |
| 67 | + 'Prior Approval - Build new agricultural buildings on a unit of less than 5 hectares', |
| 68 | + 'pa.part6.classE': 'Prior Approval - Build new forestry buildings', |
| 69 | + 'pa.part7.classC': 'Prior Approval - Install click and collect facilities', |
| 70 | + 'pa.part7.classM': |
| 71 | + 'Prior Approval - Extend a school, college, university, prison or hospital', |
| 72 | + 'pa.part9.classD': 'Prior Approval - Development of toll facilities', |
| 73 | + 'pa.part11.classB': 'Prior Approval - Demolish a building', |
| 74 | + 'pa.part14.classA': |
| 75 | + 'Prior Approval - Install or change solar equipment on domestic premises', |
| 76 | + 'pa.part14.classB': |
| 77 | + 'Prior Approval - Install or change stand-alone solar equipment on domestic premises', |
| 78 | + 'pa.part14.classJ': 'Prior Approval - Install or change solar panels', |
| 79 | + 'pa.part14.classK': |
| 80 | + 'Prior Approval - Install or change stand-alone solar equipment on non-domestic premises', |
| 81 | + 'pa.part14.classOA': |
| 82 | + 'Prior Approval - Installation of a solar canopy on non-domestic, off-street parking', |
| 83 | + 'pa.part16.classA': 'Prior Approval - Install telecommunications equipment', |
| 84 | + 'pa.part17': 'Prior Approval - Coal mining', |
| 85 | + 'pa.part17.classB': |
| 86 | + 'Prior Approval - Other developments ancillary to mining operations', |
| 87 | + 'pa.part17.classC': 'Prior Approval - Developments for maintenance or safety', |
| 88 | + 'pa.part17.classG': |
| 89 | + 'Prior Approval - Coal mining development by the Coal Authority for maintence or safety', |
| 90 | + 'pa.part18.classA': |
| 91 | + 'Prior Approval - Development under private acts or orders', |
| 92 | + 'pa.part19.classTA': 'Prior Approval - Development on a closed defence site', |
| 93 | + 'pa.part20.classA': |
| 94 | + 'Prior Approval - Build homes on a detached blocks of flats', |
| 95 | + 'pa.part20.classAA': |
| 96 | + 'Prior Approval - Build homes on a detached commercial building', |
| 97 | + 'pa.part20.classAB': |
| 98 | + 'Prior Approval - Build homes on an adjoining commercial or mixed use building', |
| 99 | + 'pa.part20.classAC': 'Prior Approval - Build homes on adjoining houses', |
| 100 | + 'pa.part20.classAD': 'Prior Approval - Build homes on detached houses', |
| 101 | + 'pa.part20.classZA': |
| 102 | + 'Prior Approval - Demolish buildings and build homes in their place', |
| 103 | + pp: 'Planning Permission', |
| 104 | + 'pp.full': |
| 105 | + 'Planning Permission for development, including all householder, minor, and major applications', |
| 106 | + 'pp.full.advertConsent': |
| 107 | + 'Full Planning Permission and consent to display an advert', |
| 108 | + 'pp.full.demolition': |
| 109 | + 'Full Planning Permission including demolition in a Conservation Area', |
| 110 | + 'pp.full.fastTrack.affordable': |
| 111 | + 'Full Planning Permission - Fast track for the purposes of Affordable Housing', |
| 112 | + 'pp.full.householder': 'Planning Permission - Full householder', |
| 113 | + 'pp.full.householder.listed': |
| 114 | + 'Planning Permission - Full householder with consent to do works to a Listed Building', |
| 115 | + 'pp.full.householder.retro': |
| 116 | + 'Planning Permission - Full householder retrospective', |
| 117 | + 'pp.full.major': 'Planning Permission - Major application', |
| 118 | + 'pp.full.major.technicalDetails': |
| 119 | + 'Planning Permission - Technical details consent for major development', |
| 120 | + 'pp.full.major.technicalDetails.waste': |
| 121 | + 'Planning Permission - Technical details consent for waste development', |
| 122 | + 'pp.full.major.waste': |
| 123 | + 'Planning Permission - Full planning permission for waste development', |
| 124 | + 'pp.full.minor': 'Planning Permission - Minor application', |
| 125 | + 'pp.full.minor.listed': |
| 126 | + 'Planning Permission - Minor application and consent to do works to a Listed Building', |
| 127 | + 'pp.full.minor.technicalDetails': |
| 128 | + 'Planning Permission - Technical details consent for minor development', |
| 129 | + 'pp.mineralExtraction': |
| 130 | + 'Planning Permission - Consent to extract minerals and related development, such as temporary buildings and roads', |
| 131 | + 'pp.onshoreExtractionOilAndGas': |
| 132 | + 'Planning Permission - Consent to extract oil and gas', |
| 133 | + 'pp.outline': 'Planning permission - Outline for proposed development', |
| 134 | + 'pp.outline.all': |
| 135 | + 'Outline Planning Permission - Consent for the principle of a project witholding all details', |
| 136 | + 'pp.outline.some': |
| 137 | + 'Outline Planning Permission - Consent for the principle of a project specifying some details', |
| 138 | + 'pp.outline.minor': |
| 139 | + 'Planning permission - Outline for proposed development (minor)', |
| 140 | + 'pp.outline.minor.all': |
| 141 | + 'Outline Planning Permission - Consent for the principle of a project witholding all details (minor)', |
| 142 | + 'pp.outline.minor.some': |
| 143 | + 'Outline Planning Permission - Consent for the principle of a project specifying some details (minor)', |
| 144 | + 'pp.outline.major': |
| 145 | + 'Planning permission - Outline for proposed development (major)', |
| 146 | + 'pp.outline.major.all': |
| 147 | + 'Outline Planning Permission - Consent for the principle of a project witholding all details (major)', |
| 148 | + 'pp.outline.major.all.waste': |
| 149 | + 'Outline Planning Permission - Consent for the principle of waste development witholding all details', |
| 150 | + 'pp.outline.major.some': |
| 151 | + 'Outline Planning Permission - Consent for the principle of a project specifying some details (major)', |
| 152 | + 'pp.outline.major.some.waste': |
| 153 | + 'Outline Planning Permission - Consent for the principle of waste development witholding all details', |
| 154 | + 'pp.pip': |
| 155 | + 'Planning Permission in Principle - Consent for the principle of a project with less than 1,000 square metres floor area on a site of less than 1 hectare', |
| 156 | + rightsOfWayOrder: 'Rights of Way Order - Apply to move or close a path', |
| 157 | + wtt: 'Works to trees', |
| 158 | + 'wtt.consent': |
| 159 | + 'Works to trees - Consent to carry out works to a tree with a Tree Preservation Order', |
| 160 | + 'wtt.notice': |
| 161 | + 'Works to trees - Notification of proposed works to a tree in a Conservation Area', |
| 162 | +}; |
| 163 | + |
| 164 | +type ApplicationTypeKeys = keyof typeof ApplicationTypes; |
| 165 | + |
| 166 | +type GenericApplicationType<TKey extends ApplicationTypeKeys> = { |
| 167 | + value: TKey; |
| 168 | + description: (typeof ApplicationTypes)[TKey]; |
| 169 | +}; |
| 170 | + |
| 171 | +type ApplicationTypeMap = { |
| 172 | + [K in ApplicationTypeKeys]: GenericApplicationType<K>; |
| 173 | +}; |
| 174 | + |
| 175 | +/** |
| 176 | + * @id #ApplicationType |
| 177 | + * @description Planning application types |
| 178 | + */ |
| 179 | +export type ApplicationType = ApplicationTypeMap[keyof ApplicationTypeMap]; |
0 commit comments