From 3aaf4449e8a263aa30263691ee66b061ddfe161a Mon Sep 17 00:00:00 2001 From: Michal Muzyk Date: Mon, 28 Oct 2024 10:04:22 +0100 Subject: [PATCH] feat: Add Canadian provinces to const --- lib/CONST.ts | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/lib/CONST.ts b/lib/CONST.ts index 28b72e32..d889e115 100644 --- a/lib/CONST.ts +++ b/lib/CONST.ts @@ -265,6 +265,62 @@ const CONST = { }, }, + /** Canadian provinces */ + PROVINCES: { + AB: { + provinceISO: 'AB', + provinceName: 'Alberta', + }, + BC: { + provinceISO: 'BC', + provinceName: 'British Columbia', + }, + MB: { + provinceISO: 'MB', + provinceName: 'Manitoba', + }, + NB: { + provinceISO: 'NB', + provinceName: 'New Brunswick', + }, + NL: { + provinceISO: 'NL', + provinceName: 'Newfoundland and Labrador', + }, + NS: { + provinceISO: 'NS', + provinceName: 'Nova Scotia', + }, + NT: { + provinceISO: 'NT', + provinceName: 'Northwest Territories', + }, + NU: { + provinceISO: 'NU', + provinceName: 'Nunavut', + }, + ON: { + provinceISO: 'ON', + provinceName: 'Ontario', + }, + PE: { + provinceISO: 'PE', + provinceName: 'Prince Edward Island', + }, + QC: { + provinceISO: 'QC', + provinceName: 'Quebec', + }, + SK: { + provinceISO: 'SK', + provinceName: 'Saskatchewan', + }, + YT: { + provinceISO: 'YT', + provinceName: 'Yukon', + }, + }, + /** * Special characters that need to be removed when they are ending an url *