@planning-inspectorate/data-model 2.47.0 → 2.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/appeal-document.md +4 -0
- package/package.json +1 -1
- package/pins_data_model/models/model_appeal_document.py +4 -0
- package/schemas/appeal-document.schema.json +4 -0
- package/src/enums.cjs +14 -6
- package/src/enums.d.ts +12 -6
- package/src/enums.js +12 -6
- package/src/index.cjs +14 -6
- package/src/lib/gen-enum-impl.js +7 -1
- package/src/lib/gen-enums.js +5 -0
- package/src/schemas.d.ts +4 -0
- package/tests/schemas.test.js +1 -0
package/docs/appeal-document.md
CHANGED
|
@@ -632,6 +632,10 @@ The type of document, used for exchange, migrations and consumption from the app
|
|
|
632
632
|
| `"designAccessStatementLPA"` | |
|
|
633
633
|
| `"plansDrawingsLPA"` | |
|
|
634
634
|
| `"additionalDocumentsLPA"` | |
|
|
635
|
+
| `"generalSupporting"` | |
|
|
636
|
+
| `"hearingProcess"` | |
|
|
637
|
+
| `"inquiryCore"` | |
|
|
638
|
+
| `"inquiryPostEvent"` | |
|
|
635
639
|
| `null` | |
|
|
636
640
|
|
|
637
641
|
## sourceSystem
|
package/package.json
CHANGED
|
@@ -153,6 +153,10 @@ class DocumentType(Enum):
|
|
|
153
153
|
designAccessStatementLPA = "designAccessStatementLPA"
|
|
154
154
|
plansDrawingsLPA = "plansDrawingsLPA"
|
|
155
155
|
additionalDocumentsLPA = "additionalDocumentsLPA"
|
|
156
|
+
generalSupporting = "generalSupporting"
|
|
157
|
+
hearingProcess = "hearingProcess"
|
|
158
|
+
inquiryCore = "inquiryCore"
|
|
159
|
+
inquiryPostEvent = "inquiryPostEvent"
|
|
156
160
|
NoneType_None = None
|
|
157
161
|
|
|
158
162
|
|
|
@@ -232,6 +232,10 @@
|
|
|
232
232
|
"designAccessStatementLPA",
|
|
233
233
|
"plansDrawingsLPA",
|
|
234
234
|
"additionalDocumentsLPA",
|
|
235
|
+
"generalSupporting",
|
|
236
|
+
"hearingProcess",
|
|
237
|
+
"inquiryCore",
|
|
238
|
+
"inquiryPostEvent",
|
|
235
239
|
null
|
|
236
240
|
],
|
|
237
241
|
"description": "The type of document, used for exchange, migrations and consumption from the appeal back-office system"
|
package/src/enums.cjs
CHANGED
|
@@ -43,6 +43,12 @@ const APPEAL_HAS_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
|
|
|
43
43
|
RESERVED_MATTERS: 'reserved-matters',
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
+
const APPEAL_UNDER_ACT_SECTION = Object.freeze({
|
|
47
|
+
EXISTING_DEVELOPMENT: 'existing-development',
|
|
48
|
+
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
49
|
+
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
50
|
+
});
|
|
51
|
+
|
|
46
52
|
const APPEAL_ALLOCATION_LEVEL = Object.freeze({
|
|
47
53
|
A: 'A',
|
|
48
54
|
B: 'B',
|
|
@@ -54,12 +60,6 @@ const APPEAL_ALLOCATION_LEVEL = Object.freeze({
|
|
|
54
60
|
H: 'H',
|
|
55
61
|
});
|
|
56
62
|
|
|
57
|
-
const APPEAL_APPEAL_UNDER_ACT_SECTION = Object.freeze({
|
|
58
|
-
EXISTING_DEVELOPMENT: 'existing-development',
|
|
59
|
-
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
60
|
-
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
61
|
-
});
|
|
62
|
-
|
|
63
63
|
const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = Object.freeze({
|
|
64
64
|
HEARING: 'hearing',
|
|
65
65
|
INQUIRY: 'inquiry',
|
|
@@ -223,6 +223,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
223
223
|
ENFORCEMENT_NOTICE: 'enforcementNotice',
|
|
224
224
|
ENFORCEMENT_NOTICE_PLAN: 'enforcementNoticePlan',
|
|
225
225
|
ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
|
|
226
|
+
GENERAL_SUPPORTING: 'generalSupporting',
|
|
226
227
|
GROUND_A_FEE_RECEIPT: 'groundAFeeReceipt',
|
|
227
228
|
GROUND_A_SUPPORTING: 'groundASupporting',
|
|
228
229
|
GROUND_B_SUPPORTING: 'groundBSupporting',
|
|
@@ -235,7 +236,10 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
235
236
|
GROUND_I_SUPPORTING: 'groundISupporting',
|
|
236
237
|
GROUND_J_SUPPORTING: 'groundJSupporting',
|
|
237
238
|
GROUND_K_SUPPORTING: 'groundKSupporting',
|
|
239
|
+
HEARING_PROCESS: 'hearingProcess',
|
|
238
240
|
HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
|
|
241
|
+
INQUIRY_CORE: 'inquiryCore',
|
|
242
|
+
INQUIRY_POST_EVENT: 'inquiryPostEvent',
|
|
239
243
|
INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
|
|
240
244
|
INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
|
|
241
245
|
LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
|
|
@@ -827,6 +831,9 @@ const STATUS = Object.freeze({
|
|
|
827
831
|
UNCHECKED: 'unchecked',
|
|
828
832
|
});
|
|
829
833
|
|
|
834
|
+
/** @deprecated use APPEAL_UNDER_ACT_SECTION **/
|
|
835
|
+
const APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_UNDER_ACT_SECTION;
|
|
836
|
+
|
|
830
837
|
exports.APPEAL_ALLOCATION_LEVEL = APPEAL_ALLOCATION_LEVEL;
|
|
831
838
|
exports.APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_APPEAL_UNDER_ACT_SECTION;
|
|
832
839
|
exports.APPEAL_APPELLANT_PROCEDURE_PREFERENCE = APPEAL_APPELLANT_PROCEDURE_PREFERENCE;
|
|
@@ -864,6 +871,7 @@ exports.APPEAL_REPRESENTATION_TYPE = APPEAL_REPRESENTATION_TYPE;
|
|
|
864
871
|
exports.APPEAL_SOURCE = APPEAL_SOURCE;
|
|
865
872
|
exports.APPEAL_SOURCE_SYSTEM = APPEAL_SOURCE_SYSTEM;
|
|
866
873
|
exports.APPEAL_TYPE_OF_PLANNING_APPLICATION = APPEAL_TYPE_OF_PLANNING_APPLICATION;
|
|
874
|
+
exports.APPEAL_UNDER_ACT_SECTION = APPEAL_UNDER_ACT_SECTION;
|
|
867
875
|
exports.APPEAL_VIRUS_CHECK_STATUS = APPEAL_VIRUS_CHECK_STATUS;
|
|
868
876
|
exports.APPLICATION_UPDATE_STATUS = APPLICATION_UPDATE_STATUS;
|
|
869
877
|
exports.CASE_STAGE = CASE_STAGE;
|
package/src/enums.d.ts
CHANGED
|
@@ -41,6 +41,12 @@ export const APPEAL_HAS_TYPE_OF_PLANNING_APPLICATION = {
|
|
|
41
41
|
RESERVED_MATTERS: 'reserved-matters',
|
|
42
42
|
} as const;
|
|
43
43
|
|
|
44
|
+
export const APPEAL_UNDER_ACT_SECTION = {
|
|
45
|
+
EXISTING_DEVELOPMENT: 'existing-development',
|
|
46
|
+
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
47
|
+
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
48
|
+
} as const;
|
|
49
|
+
|
|
44
50
|
export const APPEAL_ALLOCATION_LEVEL = {
|
|
45
51
|
A: 'A',
|
|
46
52
|
B: 'B',
|
|
@@ -52,12 +58,6 @@ export const APPEAL_ALLOCATION_LEVEL = {
|
|
|
52
58
|
H: 'H',
|
|
53
59
|
} as const;
|
|
54
60
|
|
|
55
|
-
export const APPEAL_APPEAL_UNDER_ACT_SECTION = {
|
|
56
|
-
EXISTING_DEVELOPMENT: 'existing-development',
|
|
57
|
-
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
58
|
-
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
59
|
-
} as const;
|
|
60
|
-
|
|
61
61
|
export const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = {
|
|
62
62
|
HEARING: 'hearing',
|
|
63
63
|
INQUIRY: 'inquiry',
|
|
@@ -221,6 +221,7 @@ export const APPEAL_DOCUMENT_TYPE = {
|
|
|
221
221
|
ENFORCEMENT_NOTICE: 'enforcementNotice',
|
|
222
222
|
ENFORCEMENT_NOTICE_PLAN: 'enforcementNoticePlan',
|
|
223
223
|
ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
|
|
224
|
+
GENERAL_SUPPORTING: 'generalSupporting',
|
|
224
225
|
GROUND_A_FEE_RECEIPT: 'groundAFeeReceipt',
|
|
225
226
|
GROUND_A_SUPPORTING: 'groundASupporting',
|
|
226
227
|
GROUND_B_SUPPORTING: 'groundBSupporting',
|
|
@@ -233,7 +234,10 @@ export const APPEAL_DOCUMENT_TYPE = {
|
|
|
233
234
|
GROUND_I_SUPPORTING: 'groundISupporting',
|
|
234
235
|
GROUND_J_SUPPORTING: 'groundJSupporting',
|
|
235
236
|
GROUND_K_SUPPORTING: 'groundKSupporting',
|
|
237
|
+
HEARING_PROCESS: 'hearingProcess',
|
|
236
238
|
HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
|
|
239
|
+
INQUIRY_CORE: 'inquiryCore',
|
|
240
|
+
INQUIRY_POST_EVENT: 'inquiryPostEvent',
|
|
237
241
|
INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
|
|
238
242
|
INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
|
|
239
243
|
LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
|
|
@@ -825,3 +829,5 @@ export const STATUS = {
|
|
|
825
829
|
UNCHECKED: 'unchecked',
|
|
826
830
|
} as const;
|
|
827
831
|
|
|
832
|
+
/** @deprecated use APPEAL_UNDER_ACT_SECTION **/
|
|
833
|
+
export const APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_UNDER_ACT_SECTION;
|
package/src/enums.js
CHANGED
|
@@ -41,6 +41,12 @@ export const APPEAL_HAS_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
|
|
|
41
41
|
RESERVED_MATTERS: 'reserved-matters',
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
+
export const APPEAL_UNDER_ACT_SECTION = Object.freeze({
|
|
45
|
+
EXISTING_DEVELOPMENT: 'existing-development',
|
|
46
|
+
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
47
|
+
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
48
|
+
});
|
|
49
|
+
|
|
44
50
|
export const APPEAL_ALLOCATION_LEVEL = Object.freeze({
|
|
45
51
|
A: 'A',
|
|
46
52
|
B: 'B',
|
|
@@ -52,12 +58,6 @@ export const APPEAL_ALLOCATION_LEVEL = Object.freeze({
|
|
|
52
58
|
H: 'H',
|
|
53
59
|
});
|
|
54
60
|
|
|
55
|
-
export const APPEAL_APPEAL_UNDER_ACT_SECTION = Object.freeze({
|
|
56
|
-
EXISTING_DEVELOPMENT: 'existing-development',
|
|
57
|
-
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
58
|
-
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
59
|
-
});
|
|
60
|
-
|
|
61
61
|
export const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = Object.freeze({
|
|
62
62
|
HEARING: 'hearing',
|
|
63
63
|
INQUIRY: 'inquiry',
|
|
@@ -221,6 +221,7 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
221
221
|
ENFORCEMENT_NOTICE: 'enforcementNotice',
|
|
222
222
|
ENFORCEMENT_NOTICE_PLAN: 'enforcementNoticePlan',
|
|
223
223
|
ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
|
|
224
|
+
GENERAL_SUPPORTING: 'generalSupporting',
|
|
224
225
|
GROUND_A_FEE_RECEIPT: 'groundAFeeReceipt',
|
|
225
226
|
GROUND_A_SUPPORTING: 'groundASupporting',
|
|
226
227
|
GROUND_B_SUPPORTING: 'groundBSupporting',
|
|
@@ -233,7 +234,10 @@ export const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
233
234
|
GROUND_I_SUPPORTING: 'groundISupporting',
|
|
234
235
|
GROUND_J_SUPPORTING: 'groundJSupporting',
|
|
235
236
|
GROUND_K_SUPPORTING: 'groundKSupporting',
|
|
237
|
+
HEARING_PROCESS: 'hearingProcess',
|
|
236
238
|
HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
|
|
239
|
+
INQUIRY_CORE: 'inquiryCore',
|
|
240
|
+
INQUIRY_POST_EVENT: 'inquiryPostEvent',
|
|
237
241
|
INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
|
|
238
242
|
INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
|
|
239
243
|
LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
|
|
@@ -825,3 +829,5 @@ export const STATUS = Object.freeze({
|
|
|
825
829
|
UNCHECKED: 'unchecked',
|
|
826
830
|
});
|
|
827
831
|
|
|
832
|
+
/** @deprecated use APPEAL_UNDER_ACT_SECTION **/
|
|
833
|
+
export const APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_UNDER_ACT_SECTION;
|
package/src/index.cjs
CHANGED
|
@@ -124,6 +124,12 @@ const APPEAL_HAS_TYPE_OF_PLANNING_APPLICATION = Object.freeze({
|
|
|
124
124
|
RESERVED_MATTERS: 'reserved-matters',
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
+
const APPEAL_UNDER_ACT_SECTION = Object.freeze({
|
|
128
|
+
EXISTING_DEVELOPMENT: 'existing-development',
|
|
129
|
+
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
130
|
+
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
131
|
+
});
|
|
132
|
+
|
|
127
133
|
const APPEAL_ALLOCATION_LEVEL = Object.freeze({
|
|
128
134
|
A: 'A',
|
|
129
135
|
B: 'B',
|
|
@@ -135,12 +141,6 @@ const APPEAL_ALLOCATION_LEVEL = Object.freeze({
|
|
|
135
141
|
H: 'H',
|
|
136
142
|
});
|
|
137
143
|
|
|
138
|
-
const APPEAL_APPEAL_UNDER_ACT_SECTION = Object.freeze({
|
|
139
|
-
EXISTING_DEVELOPMENT: 'existing-development',
|
|
140
|
-
PROPOSED_CHANGES_TO_A_LISTED_BUILDING: 'proposed-changes-to-a-listed-building',
|
|
141
|
-
PROPOSED_USE_OF_A_DEVELOPMENT: 'proposed-use-of-a-development',
|
|
142
|
-
});
|
|
143
|
-
|
|
144
144
|
const APPEAL_APPELLANT_PROCEDURE_PREFERENCE = Object.freeze({
|
|
145
145
|
HEARING: 'hearing',
|
|
146
146
|
INQUIRY: 'inquiry',
|
|
@@ -304,6 +304,7 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
304
304
|
ENFORCEMENT_NOTICE: 'enforcementNotice',
|
|
305
305
|
ENFORCEMENT_NOTICE_PLAN: 'enforcementNoticePlan',
|
|
306
306
|
ENVIRONMENTAL_ASSESSMENT: 'environmentalAssessment',
|
|
307
|
+
GENERAL_SUPPORTING: 'generalSupporting',
|
|
307
308
|
GROUND_A_FEE_RECEIPT: 'groundAFeeReceipt',
|
|
308
309
|
GROUND_A_SUPPORTING: 'groundASupporting',
|
|
309
310
|
GROUND_B_SUPPORTING: 'groundBSupporting',
|
|
@@ -316,7 +317,10 @@ const APPEAL_DOCUMENT_TYPE = Object.freeze({
|
|
|
316
317
|
GROUND_I_SUPPORTING: 'groundISupporting',
|
|
317
318
|
GROUND_J_SUPPORTING: 'groundJSupporting',
|
|
318
319
|
GROUND_K_SUPPORTING: 'groundKSupporting',
|
|
320
|
+
HEARING_PROCESS: 'hearingProcess',
|
|
319
321
|
HISTORIC_ENGLAND_CONSULTATION: 'historicEnglandConsultation',
|
|
322
|
+
INQUIRY_CORE: 'inquiryCore',
|
|
323
|
+
INQUIRY_POST_EVENT: 'inquiryPostEvent',
|
|
320
324
|
INSPECTOR_CORRESPONDENCE: 'inspectorCorrespondence',
|
|
321
325
|
INTERESTED_PARTY_COMMENT: 'interestedPartyComment',
|
|
322
326
|
LOCAL_DEVELOPMENT_ORDER: 'localDevelopmentOrder',
|
|
@@ -908,6 +912,9 @@ const STATUS = Object.freeze({
|
|
|
908
912
|
UNCHECKED: 'unchecked',
|
|
909
913
|
});
|
|
910
914
|
|
|
915
|
+
/** @deprecated use APPEAL_UNDER_ACT_SECTION **/
|
|
916
|
+
const APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_UNDER_ACT_SECTION;
|
|
917
|
+
|
|
911
918
|
const __dirname$1 = path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))));
|
|
912
919
|
|
|
913
920
|
const schemasPath = path.join(__dirname$1, '..', 'schemas');
|
|
@@ -977,6 +984,7 @@ exports.APPEAL_REPRESENTATION_TYPE = APPEAL_REPRESENTATION_TYPE;
|
|
|
977
984
|
exports.APPEAL_SOURCE = APPEAL_SOURCE;
|
|
978
985
|
exports.APPEAL_SOURCE_SYSTEM = APPEAL_SOURCE_SYSTEM;
|
|
979
986
|
exports.APPEAL_TYPE_OF_PLANNING_APPLICATION = APPEAL_TYPE_OF_PLANNING_APPLICATION;
|
|
987
|
+
exports.APPEAL_UNDER_ACT_SECTION = APPEAL_UNDER_ACT_SECTION;
|
|
980
988
|
exports.APPEAL_VIRUS_CHECK_STATUS = APPEAL_VIRUS_CHECK_STATUS;
|
|
981
989
|
exports.APPLICATION_UPDATE_STATUS = APPLICATION_UPDATE_STATUS;
|
|
982
990
|
exports.CASE_STAGE = CASE_STAGE;
|
package/src/lib/gen-enum-impl.js
CHANGED
|
@@ -57,7 +57,10 @@ export function generateEnumMap(enums) {
|
|
|
57
57
|
|
|
58
58
|
for (const e of enums) {
|
|
59
59
|
const prefix = schemaPrefix(e.schemaName);
|
|
60
|
-
|
|
60
|
+
let key = e.key;
|
|
61
|
+
if (prefix && !key.startsWith(prefix)) {
|
|
62
|
+
key = prefix + '_' + key;
|
|
63
|
+
}
|
|
61
64
|
|
|
62
65
|
const existingEnum = enumProps[key];
|
|
63
66
|
const thisEnum = e.values;
|
|
@@ -187,6 +190,9 @@ export function schemaPrefix(schemaName) {
|
|
|
187
190
|
if (schemaName === 'message') {
|
|
188
191
|
return 'message';
|
|
189
192
|
}
|
|
193
|
+
if (schemaName.toLowerCase().includes('applications')) {
|
|
194
|
+
return 'application';
|
|
195
|
+
}
|
|
190
196
|
if (schemaName.toLowerCase().includes('appeal')) {
|
|
191
197
|
return 'appeal';
|
|
192
198
|
}
|
package/src/lib/gen-enums.js
CHANGED
|
@@ -37,6 +37,11 @@ async function run() {
|
|
|
37
37
|
tsOutput += generateConstants(name, enumProps[name], { ts: true }) + NEW_LINE.repeat(2);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
// for backwards compatibility, to remove once APPEAL_APPEAL_UNDER_ACT_SECTION isn't referenced
|
|
41
|
+
const forCompatibility = `/** @deprecated use APPEAL_UNDER_ACT_SECTION **/${NEW_LINE}export const APPEAL_APPEAL_UNDER_ACT_SECTION = APPEAL_UNDER_ACT_SECTION;`;
|
|
42
|
+
output += forCompatibility;
|
|
43
|
+
tsOutput += forCompatibility;
|
|
44
|
+
|
|
40
45
|
await fs.writeFile(constPath, output);
|
|
41
46
|
await fs.writeFile(constTsPath, tsOutput);
|
|
42
47
|
}
|
package/src/schemas.d.ts
CHANGED
|
@@ -180,6 +180,10 @@ export interface AppealDocument {
|
|
|
180
180
|
| 'designAccessStatementLPA'
|
|
181
181
|
| 'plansDrawingsLPA'
|
|
182
182
|
| 'additionalDocumentsLPA'
|
|
183
|
+
| 'generalSupporting'
|
|
184
|
+
| 'hearingProcess'
|
|
185
|
+
| 'inquiryCore'
|
|
186
|
+
| 'inquiryPostEvent'
|
|
183
187
|
| null;
|
|
184
188
|
/**
|
|
185
189
|
* The system mastering the metadata for the current document
|
package/tests/schemas.test.js
CHANGED
|
@@ -72,6 +72,7 @@ describe('schemas', () => {
|
|
|
72
72
|
it('should use the singular form for $id', () => {
|
|
73
73
|
// very crude test to ensure schemas don't end in 's'...
|
|
74
74
|
const suffixExceptions = [
|
|
75
|
+
'address',
|
|
75
76
|
'has', // allow has suffix for appeals
|
|
76
77
|
'listed-buildings' // allow this temporary schema, to remove when this schema copy is removed
|
|
77
78
|
];
|