Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 16 additions & 4 deletions api/app/queries/scottish_postcodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export interface ScottishPostcodeRow {
local_government_district_1991: string | null;
uk_parliamentary_constituency: string | null;
scottish_parliamentary_region: string | null;
scottish_parliamentary_region_2021: string | null;
scottish_parliamentary_constituency: string | null;
scottish_parliamentary_constituency_2021: string | null;
health_board_area: string | null;
health_board_area_2006: string | null;
health_board_area_1995: string | null;
Expand Down Expand Up @@ -83,7 +85,9 @@ export interface ScottishPostcodeRow {
local_government_district_1991_code: string | null;
uk_parliamentary_constituency_code: string | null;
scottish_parliamentary_region_code: string | null;
scottish_parliamentary_region_2021_code: string | null;
scottish_parliamentary_constituency_code: string | null;
scottish_parliamentary_constituency_2021_code: string | null;
health_board_area_code: string | null;
health_board_area_2006_code: string | null;
health_board_area_1995_code: string | null;
Expand Down Expand Up @@ -123,8 +127,10 @@ const SELECT_COLUMNS = `
local_government_district_1995_name AS local_government_district,
local_government_district_1991_name AS local_government_district_1991,
uk_parliamentary_constituency_2024_name AS uk_parliamentary_constituency,
scottish_parliamentary_region_2021_name AS scottish_parliamentary_region,
scottish_parliamentary_constituency_2021_name AS scottish_parliamentary_constituency,
scottish_parliamentary_region_2025_name AS scottish_parliamentary_region,
scottish_parliamentary_region_2021_name AS scottish_parliamentary_region_2021,
scottish_parliamentary_constituency_2025_name AS scottish_parliamentary_constituency,
scottish_parliamentary_constituency_2021_name AS scottish_parliamentary_constituency_2021,
health_board_area_2019_name AS health_board_area,
health_board_area_2006_name AS health_board_area_2006,
health_board_area_1995_name AS health_board_area_1995,
Expand Down Expand Up @@ -177,8 +183,10 @@ const SELECT_COLUMNS = `
local_government_district_1995_code AS local_government_district_code,
local_government_district_1991_code AS local_government_district_1991_code,
uk_parliamentary_constituency_2024_code AS uk_parliamentary_constituency_code,
scottish_parliamentary_region_2021_code AS scottish_parliamentary_region_code,
scottish_parliamentary_constituency_2021_code AS scottish_parliamentary_constituency_code,
scottish_parliamentary_region_2025_code AS scottish_parliamentary_region_code,
scottish_parliamentary_region_2021_code AS scottish_parliamentary_region_2021_code,
scottish_parliamentary_constituency_2025_code AS scottish_parliamentary_constituency_code,
scottish_parliamentary_constituency_2021_code AS scottish_parliamentary_constituency_2021_code,
health_board_area_2019_code AS health_board_area_code,
health_board_area_2006_code AS health_board_area_2006_code,
health_board_area_1995_code AS health_board_area_1995_code,
Expand Down Expand Up @@ -251,7 +259,9 @@ export const toJson = (row: ScottishPostcodeRow) => ({
local_government_district_1991: row.local_government_district_1991,
uk_parliamentary_constituency: row.uk_parliamentary_constituency,
scottish_parliamentary_region: row.scottish_parliamentary_region,
scottish_parliamentary_region_2021: row.scottish_parliamentary_region_2021,
scottish_parliamentary_constituency: row.scottish_parliamentary_constituency,
scottish_parliamentary_constituency_2021: row.scottish_parliamentary_constituency_2021,
health_board_area: row.health_board_area,
health_board_area_2006: row.health_board_area_2006,
health_board_area_1995: row.health_board_area_1995,
Expand Down Expand Up @@ -302,7 +312,9 @@ export const toJson = (row: ScottishPostcodeRow) => ({
local_government_district_1991: row.local_government_district_1991_code,
uk_parliamentary_constituency: row.uk_parliamentary_constituency_code,
scottish_parliamentary_region: row.scottish_parliamentary_region_code,
scottish_parliamentary_region_2021: row.scottish_parliamentary_region_2021_code,
scottish_parliamentary_constituency: row.scottish_parliamentary_constituency_code,
scottish_parliamentary_constituency_2021: row.scottish_parliamentary_constituency_2021_code,
health_board_area: row.health_board_area_code,
health_board_area_2006: row.health_board_area_2006_code,
health_board_area_1995: row.health_board_area_1995_code,
Expand Down
2 changes: 1 addition & 1 deletion build/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.9.2">
<title data-rh="true">Page Not Found | Postcodes.io</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://postcodes.io/img/postcodesio.png"><meta data-rh="true" name="twitter:image" content="https://postcodes.io/img/postcodesio.png"><meta data-rh="true" property="og:url" content="https://postcodes.io/404.html"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Page Not Found | Postcodes.io"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://postcodes.io/404.html"><link data-rh="true" rel="alternate" href="https://postcodes.io/404.html" hreflang="en"><link data-rh="true" rel="alternate" href="https://postcodes.io/404.html" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.edd77f37.css">
<script src="/assets/js/runtime~main.a8547a9e.js" defer="defer"></script>
<script src="/assets/js/runtime~main.4ee5051f.js" defer="defer"></script>
<script src="/assets/js/main.6e3d9bfc.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
Expand Down
1 change: 0 additions & 1 deletion build/assets/js/081ac812.2c751694.js

This file was deleted.

1 change: 1 addition & 0 deletions build/assets/js/081ac812.9ec2ccd7.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/assets/js/2b8f49f9.144e7984.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/assets/js/2b8f49f9.a97c08f0.js

This file was deleted.

1 change: 1 addition & 0 deletions build/assets/js/31c97d68.1b2c4a87.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/assets/js/31c97d68.62c03ba9.js

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/assets/js/4c458f53.97238a6b.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/assets/js/4c458f53.a87fee80.js

This file was deleted.

1 change: 0 additions & 1 deletion build/assets/js/4c84271f.2abffb28.js

This file was deleted.

1 change: 1 addition & 0 deletions build/assets/js/4c84271f.d619ac4b.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/assets/js/4e6ae29d.268c2aa1.js

This file was deleted.

1 change: 1 addition & 0 deletions build/assets/js/4e6ae29d.29c1a44f.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/assets/js/6353b66b.663d6c32.js

This file was deleted.

1 change: 1 addition & 0 deletions build/assets/js/6353b66b.ff06497d.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/assets/js/735c778a.9ec0fb88.js

This file was deleted.

1 change: 1 addition & 0 deletions build/assets/js/735c778a.d2103fc5.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/assets/js/7c98d41e.480c0f75.js

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

Loading
Loading