Skip to content

Commit

Permalink
chore: Bump planx-core, update _address type in passport (#3921)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Nov 7, 2024
1 parent 8a1c2db commit 280cfe0
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion api.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@airbrake/node": "^2.1.8",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#839c7a0",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#134b20d",
"@types/isomorphic-fetch": "^0.0.36",
"adm-zip": "^0.5.10",
"aws-sdk": "^2.1467.0",
Expand Down
8 changes: 4 additions & 4 deletions api.planx.uk/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/tests/api-driven/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"packageManager": "[email protected]",
"dependencies": {
"@cucumber/cucumber": "^9.3.0",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#839c7a0",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#134b20d",
"axios": "^1.7.4",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
Expand Down
8 changes: 4 additions & 4 deletions e2e/tests/api-driven/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/tests/ui-driven/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"postinstall": "./install-dependencies.sh"
},
"dependencies": {
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#839c7a0",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#134b20d",
"axios": "^1.7.4",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
Expand Down
8 changes: 4 additions & 4 deletions e2e/tests/ui-driven/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion editor.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@mui/material": "^5.15.10",
"@mui/utils": "^5.15.11",
"@opensystemslab/map": "1.0.0-alpha.4",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#839c7a0",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#134b20d",
"@tiptap/core": "^2.4.0",
"@tiptap/extension-bold": "^2.0.3",
"@tiptap/extension-bubble-menu": "^2.1.13",
Expand Down
26 changes: 13 additions & 13 deletions editor.planx.uk/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -85,26 +85,26 @@ export default function PickOSAddress(props: PickOSAddressProps): FCReturn {
selectedAddress.SAO_TEXT, // populated in cases of building name only, no street number
]
.filter(Boolean)
.join(""),
.join("") || undefined,
saoEnd: [
selectedAddress.SAO_END_NUMBER,
selectedAddress.SAO_END_SUFFIX,
]
.filter(Boolean)
.join(""),
.join("") || undefined,
pao: [
selectedAddress.PAO_START_NUMBER,
selectedAddress.PAO_START_SUFFIX,
selectedAddress.PAO_TEXT, // populated in cases of building name only, no street number
]
.filter(Boolean)
.join(""),
.join("") || undefined,
paoEnd: [
selectedAddress.PAO_END_NUMBER,
selectedAddress.PAO_END_SUFFIX,
]
.filter(Boolean)
.join(""),
.join("") || undefined,
street: selectedAddress.STREET_DESCRIPTION,
town: selectedAddress.TOWN_NAME,
postcode: selectedAddress.POSTCODE_LOCATOR,
Expand Down
4 changes: 2 additions & 2 deletions editor.planx.uk/src/@planx/components/FindProperty/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export interface SiteAddress extends MinimumSiteAddress {
usrn?: string;
blpu_code?: string;
organisation?: string | null;
sao?: string | null;
saoEnd?: string | null;
sao?: string;
saoEnd?: string;
pao?: string;
paoEnd?: string;
street?: string;
Expand Down

0 comments on commit 280cfe0

Please sign in to comment.