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

Add Ascension Island and Tristan da Cunha data #148

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions packages/countries/src/data/countries.2to3.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { TCountryCode } from '../types.ts'

export const countries2to3 = {
AC: 'ASC',
AD: 'AND',
AE: 'ARE',
AF: 'AFG',
Expand Down Expand Up @@ -214,6 +215,7 @@ export const countries2to3 = {
SX: 'SXM',
SY: 'SYR',
SZ: 'SWZ',
TA: 'TAA',
TC: 'TCA',
TD: 'TCD',
TF: 'ATF',
Expand Down
2 changes: 2 additions & 0 deletions packages/countries/src/data/countries.3to2.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { TCountryCode } from '../types.ts'

export const countries3to2 = {
ASC: 'AC',
AND: 'AD',
ARE: 'AE',
AFG: 'AF',
Expand Down Expand Up @@ -214,6 +215,7 @@ export const countries3to2 = {
SXM: 'SX',
SYR: 'SY',
SWZ: 'SZ',
TAA: 'TA',
TCA: 'TC',
TCD: 'TD',
ATF: 'TF',
Expand Down
20 changes: 20 additions & 0 deletions packages/countries/src/data/countries.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
import { ICountry } from '../types.ts'

export const countries = {
AC: {
name: 'Ascension Island',
native: 'Ascension Island',
phone: [247],
continent: 'AF',
capital: 'Georgetown',
currency: ['SHP'],
languages: ['en'],
partOf: 'GB'
},
AD: {
name: 'Andorra',
native: 'Andorra',
Expand Down Expand Up @@ -1925,6 +1935,16 @@ export const countries = {
currency: ['SZL'],
languages: ['en', 'ss'],
},
TA: {
name: 'Tristan da Cunha',
native: 'Tristan da Cunha',
phone: [290],
continent: 'AF',
capital: 'Edinburgh of the Seven Seas',
currency: ['GBP'],
languages: ['en'],
partOf: 'GB'
},
TC: {
name: 'Turks and Caicos Islands',
native: 'Turks and Caicos Islands',
Expand Down
Loading