diff options
| author | ST-DDT <[email protected]> | 2023-05-01 08:13:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-01 08:13:28 +0200 |
| commit | e9691fb1e84aef1ce75200521761e4c179f41f5c (patch) | |
| tree | 8e3491af4ba3865edec15d0873486e5dd44bd4b8 /src/locales/it | |
| parent | b72d52e5d5501579f6b98629d020292ceaa78c60 (diff) | |
| download | faker-e9691fb1e84aef1ce75200521761e4c179f41f5c.tar.xz faker-e9691fb1e84aef1ce75200521761e4c179f41f5c.zip | |
refactor(types): rename locale definition types to singular (#2058)
Diffstat (limited to 'src/locales/it')
| -rw-r--r-- | src/locales/it/company/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/it/internet/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/it/location/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/it/metadata.ts | 4 | ||||
| -rw-r--r-- | src/locales/it/person/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/it/phone_number/index.ts | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/src/locales/it/company/index.ts b/src/locales/it/company/index.ts index 1f229c91..a5bba951 100644 --- a/src/locales/it/company/index.ts +++ b/src/locales/it/company/index.ts @@ -2,7 +2,7 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { CompanyDefinitions } from '../../..'; +import type { CompanyDefinition } from '../../..'; import adjective from './adjective'; import buzz_adjective from './buzz_adjective'; import buzz_noun from './buzz_noun'; @@ -12,7 +12,7 @@ import name_pattern from './name_pattern'; import noun from './noun'; import suffix from './suffix'; -const company: CompanyDefinitions = { +const company: CompanyDefinition = { adjective, buzz_adjective, buzz_noun, diff --git a/src/locales/it/internet/index.ts b/src/locales/it/internet/index.ts index 8b0ef73e..0b63b5f2 100644 --- a/src/locales/it/internet/index.ts +++ b/src/locales/it/internet/index.ts @@ -2,11 +2,11 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { InternetDefinitions } from '../../..'; +import type { InternetDefinition } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: InternetDefinitions = { +const internet: InternetDefinition = { domain_suffix, free_email, }; diff --git a/src/locales/it/location/index.ts b/src/locales/it/location/index.ts index a2f2f60f..21a3cdac 100644 --- a/src/locales/it/location/index.ts +++ b/src/locales/it/location/index.ts @@ -2,7 +2,7 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { LocationDefinitions } from '../../..'; +import type { LocationDefinition } from '../../..'; import building_number from './building_number'; import city_name from './city_name'; import city_pattern from './city_pattern'; @@ -18,7 +18,7 @@ import street_address from './street_address'; import street_pattern from './street_pattern'; import street_suffix from './street_suffix'; -const location: LocationDefinitions = { +const location: LocationDefinition = { building_number, city_name, city_pattern, diff --git a/src/locales/it/metadata.ts b/src/locales/it/metadata.ts index b53e4057..728e41c8 100644 --- a/src/locales/it/metadata.ts +++ b/src/locales/it/metadata.ts @@ -1,6 +1,6 @@ -import type { PreBuiltMetadataDefinitions } from '../../definitions/metadata'; +import type { PreBuiltMetadataDefinition } from '../../definitions/metadata'; -const metadata: PreBuiltMetadataDefinitions = { +const metadata: PreBuiltMetadataDefinition = { title: 'Italian', code: 'it', language: 'it', diff --git a/src/locales/it/person/index.ts b/src/locales/it/person/index.ts index 9a52c479..ab760fa7 100644 --- a/src/locales/it/person/index.ts +++ b/src/locales/it/person/index.ts @@ -2,7 +2,7 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { PersonDefinitions } from '../../..'; +import type { PersonDefinition } from '../../..'; import female_first_name from './female_first_name'; import female_prefix from './female_prefix'; import first_name from './first_name'; @@ -14,7 +14,7 @@ import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const person: PersonDefinitions = { +const person: PersonDefinition = { female_first_name, female_prefix, first_name, diff --git a/src/locales/it/phone_number/index.ts b/src/locales/it/phone_number/index.ts index bf48a8b5..1d7f77f1 100644 --- a/src/locales/it/phone_number/index.ts +++ b/src/locales/it/phone_number/index.ts @@ -2,10 +2,10 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { PhoneNumberDefinitions } from '../../..'; +import type { PhoneNumberDefinition } from '../../..'; import formats from './formats'; -const phone_number: PhoneNumberDefinitions = { +const phone_number: PhoneNumberDefinition = { formats, }; |
