-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
13,004 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,257 @@ | ||
/* Datasource: https://github.com/umpirsky/country-list */ | ||
|
||
module.exports = { | ||
"AF":"Afgh\u00e1nist\u00e1n", | ||
"AX":"\u00c5landy", | ||
"AL":"Alb\u00e1nie", | ||
"DZ":"Al\u017e\u00edrsko", | ||
"AS":"Americk\u00e1 Samoa", | ||
"VI":"Americk\u00e9 Panensk\u00e9 ostrovy", | ||
"AD":"Andorra", | ||
"AO":"Angola", | ||
"AI":"Anguilla", | ||
"AQ":"Antarktida", | ||
"AG":"Antigua a Barbuda", | ||
"AR":"Argentina", | ||
"AM":"Arm\u00e9nie", | ||
"AW":"Aruba", | ||
"AC":"Ascension", | ||
"AU":"Austr\u00e1lie", | ||
"AZ":"\u00c1zerb\u00e1jd\u017e\u00e1n", | ||
"BS":"Bahamy", | ||
"BH":"Bahrajn", | ||
"BD":"Banglad\u00e9\u0161", | ||
"BB":"Barbados", | ||
"BE":"Belgie", | ||
"BZ":"Belize", | ||
"BY":"B\u011blorusko", | ||
"BJ":"Benin", | ||
"BM":"Bermudy", | ||
"BT":"Bh\u00fat\u00e1n", | ||
"BO":"Bol\u00edvie", | ||
"BA":"Bosna a Hercegovina", | ||
"BW":"Botswana", | ||
"BR":"Braz\u00edlie", | ||
"IO":"Britsk\u00e9 indickooce\u00e1nsk\u00e9 \u00fazem\u00ed", | ||
"VG":"Britsk\u00e9 Panensk\u00e9 ostrovy", | ||
"BN":"Brunej", | ||
"BG":"Bulharsko", | ||
"BF":"Burkina Faso", | ||
"BI":"Burundi", | ||
"EA":"Ceuta a Melilla", | ||
"CK":"Cookovy ostrovy", | ||
"CW":"Cura\u00e7ao", | ||
"TD":"\u010cad", | ||
"ME":"\u010cern\u00e1 Hora", | ||
"CZ":"\u010cesk\u00e1 republika", | ||
"CN":"\u010c\u00edna", | ||
"DK":"D\u00e1nsko", | ||
"DG":"Diego Garc\u00eda", | ||
"DM":"Dominika", | ||
"DO":"Dominik\u00e1nsk\u00e1 republika", | ||
"DJ":"D\u017eibutsko", | ||
"EG":"Egypt", | ||
"EC":"Ekv\u00e1dor", | ||
"ER":"Eritrea", | ||
"EE":"Estonsko", | ||
"ET":"Etiopie", | ||
"FO":"Faersk\u00e9 ostrovy", | ||
"FK":"Falklandsk\u00e9 ostrovy", | ||
"FJ":"Fid\u017ei", | ||
"PH":"Filip\u00edny", | ||
"FI":"Finsko", | ||
"FR":"Francie", | ||
"GF":"Francouzsk\u00e1 Guyana", | ||
"TF":"Francouzsk\u00e1 ji\u017en\u00ed \u00fazem\u00ed", | ||
"PF":"Francouzsk\u00e1 Polyn\u00e9sie", | ||
"GA":"Gabon", | ||
"GM":"Gambie", | ||
"GH":"Ghana", | ||
"GI":"Gibraltar", | ||
"GD":"Grenada", | ||
"GL":"Gr\u00f3nsko", | ||
"GE":"Gruzie", | ||
"GP":"Guadeloupe", | ||
"GU":"Guam", | ||
"GT":"Guatemala", | ||
"GG":"Guernsey", | ||
"GN":"Guinea", | ||
"GW":"Guinea-Bissau", | ||
"GY":"Guyana", | ||
"HT":"Haiti", | ||
"HN":"Honduras", | ||
"HK":"Hongkong \u2013 ZAO \u010c\u00edny", | ||
"CL":"Chile", | ||
"HR":"Chorvatsko", | ||
"IN":"Indie", | ||
"ID":"Indon\u00e9sie", | ||
"IQ":"Ir\u00e1k", | ||
"IR":"\u00cdr\u00e1n", | ||
"IE":"Irsko", | ||
"IS":"Island", | ||
"IT":"It\u00e1lie", | ||
"IL":"Izrael", | ||
"JM":"Jamajka", | ||
"JP":"Japonsko", | ||
"YE":"Jemen", | ||
"JE":"Jersey", | ||
"ZA":"Jihoafrick\u00e1 republika", | ||
"GS":"Ji\u017en\u00ed Georgie a Ji\u017en\u00ed Sandwichovy ostrovy", | ||
"KR":"Ji\u017en\u00ed Korea", | ||
"SS":"Ji\u017en\u00ed S\u00fad\u00e1n", | ||
"JO":"Jord\u00e1nsko", | ||
"KY":"Kajmansk\u00e9 ostrovy", | ||
"KH":"Kambod\u017ea", | ||
"CM":"Kamerun", | ||
"CA":"Kanada", | ||
"IC":"Kan\u00e1rsk\u00e9 ostrovy", | ||
"CV":"Kapverdy", | ||
"BQ":"Karibsk\u00e9 Nizozemsko", | ||
"QA":"Katar", | ||
"KZ":"Kazachst\u00e1n", | ||
"KE":"Ke\u0148a", | ||
"KI":"Kiribati", | ||
"CC":"Kokosov\u00e9 ostrovy", | ||
"CO":"Kolumbie", | ||
"KM":"Komory", | ||
"CG":"Kongo \u2013 Brazzaville", | ||
"CD":"Kongo \u2013 Kinshasa", | ||
"XK":"Kosovo", | ||
"CR":"Kostarika", | ||
"CU":"Kuba", | ||
"KW":"Kuvajt", | ||
"CY":"Kypr", | ||
"KG":"Kyrgyzst\u00e1n", | ||
"LA":"Laos", | ||
"LS":"Lesotho", | ||
"LB":"Libanon", | ||
"LR":"Lib\u00e9rie", | ||
"LY":"Libye", | ||
"LI":"Lichten\u0161tejnsko", | ||
"LT":"Litva", | ||
"LV":"Loty\u0161sko", | ||
"LU":"Lucembursko", | ||
"MO":"Macao \u2013 ZAO \u010c\u00edny", | ||
"MG":"Madagaskar", | ||
"HU":"Ma\u010farsko", | ||
"MK":"Makedonie", | ||
"MY":"Malajsie", | ||
"MW":"Malawi", | ||
"MV":"Maledivy", | ||
"ML":"Mali", | ||
"MT":"Malta", | ||
"MA":"Maroko", | ||
"MH":"Marshallovy ostrovy", | ||
"MQ":"Martinik", | ||
"MU":"Mauricius", | ||
"MR":"Maurit\u00e1nie", | ||
"YT":"Mayotte", | ||
"UM":"Men\u0161\u00ed odlehl\u00e9 ostrovy USA", | ||
"MX":"Mexiko", | ||
"FM":"Mikron\u00e9sie", | ||
"MD":"Moldavsko", | ||
"MC":"Monako", | ||
"MN":"Mongolsko", | ||
"MS":"Montserrat", | ||
"MZ":"Mosambik", | ||
"MM":"Myanmar (Barma)", | ||
"NA":"Namibie", | ||
"NR":"Nauru", | ||
"DE":"N\u011bmecko", | ||
"NP":"Nep\u00e1l", | ||
"NE":"Niger", | ||
"NG":"Nig\u00e9rie", | ||
"NI":"Nikaragua", | ||
"NU":"Niue", | ||
"NL":"Nizozemsko", | ||
"NF":"Norfolk", | ||
"NO":"Norsko", | ||
"NC":"Nov\u00e1 Kaledonie", | ||
"NZ":"Nov\u00fd Z\u00e9land", | ||
"OM":"Om\u00e1n", | ||
"IM":"Ostrov Man", | ||
"PK":"P\u00e1kist\u00e1n", | ||
"PW":"Palau", | ||
"PS":"Palestinsk\u00e1 \u00fazem\u00ed", | ||
"PA":"Panama", | ||
"PG":"Papua-Nov\u00e1 Guinea", | ||
"PY":"Paraguay", | ||
"PE":"Peru", | ||
"PN":"Pitcairnovy ostrovy", | ||
"CI":"Pob\u0159e\u017e\u00ed slonoviny", | ||
"PL":"Polsko", | ||
"PR":"Portoriko", | ||
"PT":"Portugalsko", | ||
"AT":"Rakousko", | ||
"RE":"R\u00e9union", | ||
"GQ":"Rovn\u00edkov\u00e1 Guinea", | ||
"RO":"Rumunsko", | ||
"RU":"Rusko", | ||
"RW":"Rwanda", | ||
"GR":"\u0158ecko", | ||
"PM":"Saint-Pierre a Miquelon", | ||
"SV":"Salvador", | ||
"WS":"Samoa", | ||
"SM":"San Marino", | ||
"SA":"Sa\u00fadsk\u00e1 Ar\u00e1bie", | ||
"SN":"Senegal", | ||
"KP":"Severn\u00ed Korea", | ||
"MP":"Severn\u00ed Mariany", | ||
"SC":"Seychely", | ||
"SL":"Sierra Leone", | ||
"SG":"Singapur", | ||
"SK":"Slovensko", | ||
"SI":"Slovinsko", | ||
"SO":"Som\u00e1lsko", | ||
"AE":"Spojen\u00e9 arabsk\u00e9 emir\u00e1ty", | ||
"US":"Spojen\u00e9 st\u00e1ty", | ||
"RS":"Srbsko", | ||
"LK":"Sr\u00ed Lanka", | ||
"CF":"St\u0159edoafrick\u00e1 republika", | ||
"SD":"S\u00fad\u00e1n", | ||
"SR":"Surinam", | ||
"SH":"Svat\u00e1 Helena", | ||
"LC":"Svat\u00e1 Lucie", | ||
"BL":"Svat\u00fd Bartolom\u011bj", | ||
"KN":"Svat\u00fd Kry\u0161tof a Nevis", | ||
"MF":"Svat\u00fd Martin (Francie)", | ||
"SX":"Svat\u00fd Martin (Nizozemsko)", | ||
"ST":"Svat\u00fd Tom\u00e1\u0161 a Princ\u016fv ostrov", | ||
"VC":"Svat\u00fd Vincenc a Grenadiny", | ||
"SZ":"Svazijsko", | ||
"SY":"S\u00fdrie", | ||
"SB":"\u0160alamounovy ostrovy", | ||
"ES":"\u0160pan\u011blsko", | ||
"SJ":"\u0160picberky a Jan Mayen", | ||
"SE":"\u0160v\u00e9dsko", | ||
"CH":"\u0160v\u00fdcarsko", | ||
"TJ":"T\u00e1d\u017eikist\u00e1n", | ||
"TZ":"Tanzanie", | ||
"TH":"Thajsko", | ||
"TW":"Tchaj-wan", | ||
"TG":"Togo", | ||
"TK":"Tokelau", | ||
"TO":"Tonga", | ||
"TT":"Trinidad a Tobago", | ||
"TA":"Tristan da Cunha", | ||
"TN":"Tunisko", | ||
"TR":"Turecko", | ||
"TM":"Turkmenist\u00e1n", | ||
"TC":"Turks a Caicos", | ||
"TV":"Tuvalu", | ||
"UG":"Uganda", | ||
"UA":"Ukrajina", | ||
"UY":"Uruguay", | ||
"UZ":"Uzbekist\u00e1n", | ||
"CX":"V\u00e1no\u010dn\u00ed ostrov", | ||
"VU":"Vanuatu", | ||
"VA":"Vatik\u00e1n", | ||
"GB":"Velk\u00e1 Brit\u00e1nie", | ||
"VE":"Venezuela", | ||
"VN":"Vietnam", | ||
"TL":"V\u00fdchodn\u00ed Timor", | ||
"WF":"Wallis a Futuna", | ||
"ZM":"Zambie", | ||
"EH":"Z\u00e1padn\u00ed Sahara", | ||
"ZW":"Zimbabwe" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import countries from "./countryWithCodes"; | ||
|
||
module.exports = { | ||
countryAndCode() { | ||
let country = this.random.objectElement(countries); | ||
return { | ||
code: Object.keys(country)[0], | ||
name: country[Object.keys(country)[0]] | ||
}; | ||
}, | ||
|
||
state: [ | ||
], | ||
|
||
stateAbbr: [ | ||
], | ||
|
||
city: require("./city"), | ||
|
||
street: [ | ||
"#{address.streetName} #{address.buildingNumber}" | ||
], | ||
|
||
streetName: require("./streetName"), | ||
|
||
buildingNumber: [ | ||
"#", | ||
"##", | ||
"###" | ||
], | ||
|
||
postCode: [ | ||
"#####", | ||
"### ##", | ||
"###-##" | ||
] | ||
|
||
}; |
Oops, something went wrong.