Skip to content

Commit d96e16f

Browse files
authored
Merge branch 'next' into fix/person-last-name-patterns
2 parents 4320bd2 + a05c3e5 commit d96e16f

File tree

8 files changed

+276
-524
lines changed

8 files changed

+276
-524
lines changed

src/definitions/location.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ export type LocationDefinitions = LocaleEntry<{
3939
*/
4040
country: string[];
4141

42+
/**
43+
* The [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country codes.
44+
*/
45+
country_code: Array<{ alpha2: string; alpha3: string }>;
46+
4247
/**
4348
* The names of this country's states.
4449
*/
@@ -111,16 +116,6 @@ export type LocationDefinitions = LocaleEntry<{
111116
*/
112117
secondary_address: string[];
113118

114-
/**
115-
* The ISO-3166-1 ALPHA-2 country codes related to this locale.
116-
*/
117-
country_code: string[];
118-
119-
/**
120-
* The ISO-3166-1 ALPHA-3 country codes related to this locale.
121-
*/
122-
country_code_alpha_3: string[];
123-
124119
/**
125120
* A list of timezones names.
126121
*/
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
export default ['CH', 'DE', 'AT', 'US', 'LI', 'HK', 'VN'];
1+
// [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)
2+
export default [
3+
{ alpha2: 'CH', alpha3: 'CHE' },
4+
{ alpha2: 'DE', alpha3: 'DEU' },
5+
{ alpha2: 'AT', alpha3: 'AUT' },
6+
{ alpha2: 'US', alpha3: 'USA' },
7+
{ alpha2: 'LI', alpha3: 'LIE' },
8+
{ alpha2: 'HK', alpha3: 'HKG' },
9+
{ alpha2: 'VN', alpha3: 'VNM' },
10+
];

0 commit comments

Comments
 (0)