Skip to content

Commit

Permalink
fix: for intersecting planning constraints, allow entities to be op…
Browse files Browse the repository at this point in the history
…tional in favor of more specific type (#196)
  • Loading branch information
jessicamcinchak authored Jul 4, 2024
1 parent 73845ee commit 55dbc87
Show file tree
Hide file tree
Showing 11 changed files with 124 additions and 425 deletions.
1 change: 0 additions & 1 deletion examples/data/lawfulDevelopmentCertificate/existing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export const lawfulDevelopmentCertificateExisting: Schema = {
value: 'designated',
description: 'Designated land',
intersects: true,
entities: [],
},
{
value: 'nature.SAC',
Expand Down
2 changes: 0 additions & 2 deletions examples/data/listedBuildingConsent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export const listedBuildingConsent: Schema = {
value: 'listed',
description: 'Listed Building',
intersects: true,
entities: [],
},
{
value: 'article4',
Expand Down Expand Up @@ -134,7 +133,6 @@ export const listedBuildingConsent: Schema = {
value: 'designated',
description: 'Designated land',
intersects: true,
entities: [],
},
{
value: 'nature.SAC',
Expand Down
2 changes: 0 additions & 2 deletions examples/data/priorApproval/convertCommercialToHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ export const priorApprovalConvertCommercialToHome: Schema = {
value: 'designated',
description: 'Designated land',
intersects: true,
entities: [],
},
{
value: 'nature.SAC',
Expand Down Expand Up @@ -174,7 +173,6 @@ export const priorApprovalConvertCommercialToHome: Schema = {
value: 'listed.grade.II',
description: 'Listed Building - Grade II',
intersects: true,
entities: [],
},
{
value: 'listed.grade.II*',
Expand Down
1 change: 0 additions & 1 deletion examples/data/priorApproval/extendUniversity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ export const priorApprovalExtendUniversity: Schema = {
value: 'designated',
description: 'Designated land',
intersects: true,
entities: [],
},
{
value: 'nature.SAC',
Expand Down
3 changes: 1 addition & 2 deletions examples/lawfulDevelopmentCertificate/existing.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@
{
"value": "designated",
"description": "Designated land",
"intersects": true,
"entities": []
"intersects": true
},
{
"value": "nature.SAC",
Expand Down
6 changes: 2 additions & 4 deletions examples/listedBuildingConsent.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@
{
"value": "listed",
"description": "Listed Building",
"intersects": true,
"entities": []
"intersects": true
},
{
"value": "article4",
Expand Down Expand Up @@ -131,8 +130,7 @@
{
"value": "designated",
"description": "Designated land",
"intersects": true,
"entities": []
"intersects": true
},
{
"value": "nature.SAC",
Expand Down
6 changes: 2 additions & 4 deletions examples/priorApproval/convertCommercialToHome.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@
{
"value": "designated",
"description": "Designated land",
"intersects": true,
"entities": []
"intersects": true
},
{
"value": "nature.SAC",
Expand Down Expand Up @@ -171,8 +170,7 @@
{
"value": "listed.grade.II",
"description": "Listed Building - Grade II",
"intersects": true,
"entities": []
"intersects": true
},
{
"value": "listed.grade.II*",
Expand Down
3 changes: 1 addition & 2 deletions examples/priorApproval/extendUniversity.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
{
"value": "designated",
"description": "Designated land",
"intersects": true,
"entities": []
"intersects": true
},
{
"value": "nature.SAC",
Expand Down
Loading

0 comments on commit 55dbc87

Please sign in to comment.