Skip to content

Commit

Permalink
Rebuild dist data
Browse files Browse the repository at this point in the history
  • Loading branch information
dmythro committed Mar 4, 2024
1 parent 5ebe32a commit 5c3bb9f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/countries.csv
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"KR","South Korea","대한민국","82","Asia","Seoul","KRW","ko"
"KW","Kuwait","الكويت","965","Asia","Kuwait City","KWD","ar"
"KY","Cayman Islands","Cayman Islands","1345","North America","George Town","KYD","en"
"KZ","Kazakhstan","Қазақстан","76,77","Asia","Astana","KZT","kk,ru"
"KZ","Kazakhstan","Қазақстан","7","Asia","Astana","KZT","kk,ru"
"LA","Laos","ສປປລາວ","856","Asia","Vientiane","LAK","lo"
"LB","Lebanon","لبنان","961","Asia","Beirut","LBP","ar,fr"
"LC","Saint Lucia","Saint Lucia","1758","North America","Castries","XCD","en"
Expand Down
2 changes: 1 addition & 1 deletion dist/countries.min.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ INSERT INTO `countries` (`code`, `name`, `native`, `phone`, `continent`, `capita
('KR', 'South Korea', '대한민국', '82', 'AS', 'Seoul', 'KRW', 'ko'),
('KW', 'Kuwait', 'الكويت', '965', 'AS', 'Kuwait City', 'KWD', 'ar'),
('KY', 'Cayman Islands', 'Cayman Islands', '1345', 'NA', 'George Town', 'KYD', 'en'),
('KZ', 'Kazakhstan', 'Қазақстан', '76,77', 'AS', 'Astana', 'KZT', 'kk,ru'),
('KZ', 'Kazakhstan', 'Қазақстан', '7', 'AS', 'Astana', 'KZT', 'kk,ru'),
('LA', 'Laos', 'ສປປລາວ', '856', 'AS', 'Vientiane', 'LAK', 'lo'),
('LB', 'Lebanon', 'لبنان', '961', 'AS', 'Beirut', 'LBP', 'ar,fr'),
('LC', 'Saint Lucia', 'Saint Lucia', '1758', 'NA', 'Castries', 'XCD', 'en'),
Expand Down
10 changes: 9 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,20 @@ export interface ICountry {
native: string
/**
* Specified in cases when entity is currently a part of another one.
* Example: Åland is an autonomous and demilitarised region of Finland and has own ISO code.
* @see: https://en.wikipedia.org/wiki/Åland
* @todo: Type should be TCountryCode, but need to resolve cyclic referencing on dynamically generated type.
*/
parent?: TCountryCode
partOf?: string
/**
* Calling phone codes.
*/
phone: number[]
/**
* Specified in cases when entity is not a part of the main ISO 3166-1 standart, but a User assigned code.
* @see: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#User-assigned_code_elements
*/
userAssigned?: boolean
}

export interface ILanguage {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.iife.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mjs/index.js

Large diffs are not rendered by default.

0 comments on commit 5c3bb9f

Please sign in to comment.