Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V16 #1191

Open
wants to merge 76 commits into
base: master
Choose a base branch
from
Open

V16 #1191

Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
9d0ba01
fix(ONSPD Aug 2023): Update CCGs
cblanc Aug 24, 2023
011fd6e
Update test dataset
cblanc Jan 23, 2024
f1114f9
Drop old attr models
cblanc Jan 23, 2024
37689ec
Attribute data denormalised
cblanc Jan 23, 2024
ef71ca8
Fix
cblanc Jan 23, 2024
9cc4b9e
Ignore dot csvs
cblanc Jan 23, 2024
dd15808
Remove unused attributes
cblanc Jan 23, 2024
bc68f8b
chore(node): Bump to 20
cblanc Jan 23, 2024
396df46
Prettier
cblanc Jan 23, 2024
f52f0ba
feat(Postgres): Upgrade to 15
cblanc Jan 25, 2024
1101f5c
No longer required
cblanc Jan 25, 2024
033c232
Prettier
cblanc Jan 25, 2024
238a27b
Update src dataset
cblanc Jan 25, 2024
6701bae
Correct image name
cblanc Feb 16, 2024
b334bd6
Fix
cblanc Feb 16, 2024
b433eeb
Placate TS
cblanc Feb 16, 2024
2f72b27
Expose pool
cblanc Feb 16, 2024
6b22b73
Remove unused
cblanc Feb 16, 2024
7d5ff4a
Drop test
cblanc Feb 16, 2024
7434715
Drop test
cblanc Feb 16, 2024
32688f4
Helper tables no longer used
cblanc Feb 16, 2024
321ddb7
Update test for new dernomalised record
cblanc Feb 16, 2024
9c9da30
Update
cblanc Feb 16, 2024
e8f0537
Spike
cblanc Feb 29, 2024
2522958
Spike
cblanc Mar 1, 2024
c53a688
Fix
cblanc Mar 1, 2024
a3a692c
update sidebar config
kerv14 Mar 7, 2024
972b2fd
add pages for available data
kerv14 Mar 7, 2024
6709a43
remove tutorial docs
kerv14 Mar 7, 2024
aa26d23
nav skeleton for methods
kerv14 Mar 7, 2024
fe301ff
postcode lookup docs
kerv14 Mar 7, 2024
589678f
bulk postcode lookup docs
kerv14 Mar 7, 2024
d297436
reverse geo docs
kerv14 Mar 7, 2024
02c59ca
bulk reverse geo docs
kerv14 Mar 7, 2024
10af813
poscode query docs
kerv14 Mar 7, 2024
1db7195
poscode validation docs
kerv14 Mar 7, 2024
cd5b314
nearest postcode docs
kerv14 Mar 7, 2024
8e08ae2
postcode autocomplete docs
kerv14 Mar 7, 2024
52e802f
random postcodes docs
kerv14 Mar 7, 2024
817506a
outward code lookup docs
kerv14 Mar 7, 2024
3bf2a4c
outcode reverse geocoding docs
kerv14 Mar 7, 2024
860f115
nearest outcode docs
kerv14 Mar 7, 2024
bf16dfd
scottish postcode lookup docs
kerv14 Mar 7, 2024
ce7c6cc
terminated postcode lookup docs
kerv14 Mar 7, 2024
f72e81d
place lookup docs
kerv14 Mar 7, 2024
cadb7fc
place query docs
kerv14 Mar 7, 2024
ec0db97
random place docs
kerv14 Mar 7, 2024
a43f87e
overview page
kerv14 Mar 7, 2024
c534105
change codeblock to js format
kerv14 Mar 7, 2024
87415a2
how to install
kerv14 Mar 7, 2024
0080b5f
Simplify
cblanc Mar 8, 2024
790d930
Simplify install method
cblanc Mar 8, 2024
2db1995
Update
cblanc Mar 8, 2024
5e873b2
Rename
cblanc Mar 8, 2024
bf3a033
Reorganise
cblanc Mar 8, 2024
6560745
install openapi docs
kerv14 Mar 11, 2024
f21b3ad
about pages
kerv14 Mar 11, 2024
f8e51db
update sidebar
kerv14 Mar 11, 2024
68803db
rearrange library list
kerv14 Mar 11, 2024
5fd92d9
add github star and fork links
kerv14 Mar 11, 2024
8a1cc83
copy over png files
kerv14 Mar 11, 2024
5b7ea7a
remove unsused docusaurus template files
kerv14 Mar 11, 2024
7569e7d
lookup a postcode demo
kerv14 Mar 11, 2024
3182125
remove postcode data check
kerv14 Mar 11, 2024
3bda456
use max-height instead
kerv14 Mar 11, 2024
645c321
make component reusable
kerv14 Mar 11, 2024
78d65b7
add spacing
kerv14 Mar 11, 2024
484255d
add margin to input
kerv14 Mar 11, 2024
f0d1094
add endpoints
kerv14 Mar 11, 2024
d712527
remove error message to show api error message instead
kerv14 Mar 11, 2024
0fb8ff0
add http method card + update styling
kerv14 Mar 11, 2024
9dc2117
rename to GetPostcode
kerv14 Mar 11, 2024
375556a
post bulk lookup
kerv14 Mar 12, 2024
ad5c6f4
make PostMethod reusable + include bulk reverse geocode demo
kerv14 Mar 12, 2024
1d985ba
reusable component for get geocode
kerv14 Mar 12, 2024
602cc23
remove unpopular endpoint
kerv14 Mar 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Placate TS
  • Loading branch information
cblanc committed Feb 16, 2024
commit b433eeb5bcae896395f5677610056c58bc51c2d7
2 changes: 2 additions & 0 deletions test/postcode.regression.unit.ts
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@ describe("Postcode data regression testing", function () {
// Ordinary case
it("contains correct data for AB123BS", async () => {
const result = await Postcode.find("AB123BS");
if (result === null) throw new Error("Postcode not found");
assert.deepEqual(
{
id: result.id,
@@ -64,6 +65,7 @@ describe("Postcode data regression testing", function () {

it("returns correct data for SE1P5ZZ", async () => {
const result = await Postcode.find("SE1P5ZZ");
if (result === null) throw new Error("Postcode not found");
assert.deepEqual(
{
id: result.id,