Skip to content

Commit

Permalink
feat: Add Canadian provinces to const
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMuzyk committed Oct 28, 2024
1 parent 4f3a1a1 commit 3aaf444
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions lib/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 3aaf444

Please sign in to comment.