diff options
| author | Matt Mayer <[email protected]> | 2023-06-20 01:59:26 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-19 18:59:26 +0000 |
| commit | e92c313970a9830f3328b20504313fc9ba2e61a5 (patch) | |
| tree | 9194b6b5fab2dececeb19602d6c11b0bfc90b8f4 /src | |
| parent | e86f3b6b2619cc7fdf28213de0e6ff676a3e2d7e (diff) | |
| download | faker-e92c313970a9830f3328b20504313fc9ba2e61a5.tar.xz faker-e92c313970a9830f3328b20504313fc9ba2e61a5.zip | |
feat(location): add en_IE postcodes (#2149)
Diffstat (limited to 'src')
| -rw-r--r-- | src/locales/en_IE/location/index.ts | 2 | ||||
| -rw-r--r-- | src/locales/en_IE/location/postcode.ts | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/locales/en_IE/location/index.ts b/src/locales/en_IE/location/index.ts index 5b284bd3..a4b7d37e 100644 --- a/src/locales/en_IE/location/index.ts +++ b/src/locales/en_IE/location/index.ts @@ -6,12 +6,14 @@ import type { LocationDefinition } from '../../..'; import city_pattern from './city_pattern'; import county from './county'; import default_country from './default_country'; +import postcode from './postcode'; import street_pattern from './street_pattern'; const location: LocationDefinition = { city_pattern, county, default_country, + postcode, street_pattern, }; diff --git a/src/locales/en_IE/location/postcode.ts b/src/locales/en_IE/location/postcode.ts new file mode 100644 index 00000000..cd0aa2c1 --- /dev/null +++ b/src/locales/en_IE/location/postcode.ts @@ -0,0 +1,16 @@ +export default [ + 'A## ****', + 'D## ****', + 'E## ****', + 'F## ****', + 'H## ****', + 'K## ****', + 'N## ****', + 'P## ****', + 'R## ****', + 'T## ****', + 'V## ****', + 'W## ****', + 'X## ****', + 'Y## ****', +]; |
