diff --git a/scripts/generateLocales.ts b/scripts/generateLocales.ts index 0d3d2fd285b..4419e523335 100644 --- a/scripts/generateLocales.ts +++ b/scripts/generateLocales.ts @@ -4,6 +4,9 @@ import type { Options } from 'prettier'; import { format } from 'prettier'; import options from '../.prettierrc.cjs'; import type { LocaleDefinition } from '../src'; +import { DEFINITIONS } from '../src/definitions'; + +// Constants const pathRoot = resolve(__dirname, '..'); const pathLocale = resolve(pathRoot, 'src', 'locale'); @@ -16,36 +19,58 @@ const pathDocsApiLocalization = resolve( 'localization.md' ); -const scriptCommand = 'pnpm run generate:locales'; const prettierTsOptions: Options = { ...options, parser: 'typescript' }; const prettierMdOptions: Options = { ...options, parser: 'markdown' }; -const locales = readdirSync(pathLocales); -locales.splice(locales.indexOf('index.ts'), 1); - -let localeIndexImports = "import type { LocaleDefinition } from '..';\n"; -let localeIndexType = 'export type KnownLocale =\n'; -let localeIndexLocales = 'const locales: KnownLocales = {\n'; - -let localizationLocales = '| Locale | Name |\n| :--- | :--- |\n'; +const scriptCommand = 'pnpm run generate:locales'; const autoGeneratedCommentHeader = `/* * This file is automatically generated. * Run '${scriptCommand}' to update. */`; -for (const locale of locales) { - // eslint-disable-next-line @typescript-eslint/no-var-requires - const localeDef: LocaleDefinition = require('../src/locales/' + - locale).default; - const localeTitle = localeDef.title; +// Helper functions - localeIndexImports += `import ${locale} from './${locale}';\n`; - localeIndexType += ` | '${locale}'\n`; - localeIndexLocales += ` ${locale},\n`; - localizationLocales += `| ${locale} | ${localeTitle} |\n`; +function removeIndexTs(files: string[]): string[] { + const index = files.indexOf('index.ts'); + if (index !== -1) { + files.splice(index, 1); + } + return files; +} - // src/locale/.ts +function removeTsSuffix(files: string[]): string[] { + return files.map((file) => file.replace('.ts', '')); +} + +function escapeImport(module: string): string { + if (module === 'name') { + return 'name_'; + } else if (module === 'type') { + return 'type_'; + } else { + return module; + } +} + +function escapeField(module: string): string { + if (module === 'name') { + return 'name: name_'; + } else if (module === 'type') { + return 'type: type_'; + } else { + return module; + } +} + +function containsAll(checked?: string[], expected?: string[]): boolean { + if (typeof expected === 'undefined' || typeof checked === 'undefined') { + return true; + } + return expected.every((c) => checked.includes(c)); +} + +function generateLocaleFile(locale: string) { let content = ` ${autoGeneratedCommentHeader} @@ -69,6 +94,106 @@ for (const locale of locales) { writeFileSync(resolve(pathLocale, locale + '.ts'), content); } +function generateLocalesIndexFile( + path: string, + name: string, + type: string, + depth: number, + extra: string = '', + expected?: string[] +) { + let modules = readdirSync(path); + modules = removeIndexTs(modules); + modules = removeTsSuffix(modules); + const importType = type; + if (!containsAll(modules, expected)) { + type = `Partial<${type}>`; + } + let fieldType = ''; + let asType = ''; + if (!containsAll(expected, modules)) { + asType = ` as ${type}`; + } else { + fieldType = `: ${type}`; + } + let content = `${autoGeneratedCommentHeader} + import type { ${importType} } from '..${'/..'.repeat(depth)}'; + ${modules + .map((module) => `import ${escapeImport(module)} from './${module}';`) + .join('\n')} + + const ${name}${fieldType} = { + ${extra} + ${modules.map((module) => `${escapeField(module)},`).join('\n')} + }${asType}; + + export default ${name}; + `; + content = format(content, prettierTsOptions); + writeFileSync(resolve(path, 'index.ts'), content); +} + +// Start of actual logic + +const locales = readdirSync(pathLocales); +removeIndexTs(locales); + +let localeIndexImports = "import type { LocaleDefinition } from '..';\n"; +let localeIndexType = 'export type KnownLocale =\n'; +let localeIndexLocales = 'const locales: KnownLocales = {\n'; + +let localizationLocales = '| Locale | Name |\n| :--- | :--- |\n'; + +for (const locale of locales) { + // eslint-disable-next-line @typescript-eslint/no-var-requires + const localeDef: LocaleDefinition = require('../src/locales/' + + locale).default; + const localeTitle = localeDef.title; + const localeSeparator = localeDef.separator; + + localeIndexImports += `import ${locale} from './${locale}';\n`; + localeIndexType += ` | '${locale}'\n`; + localeIndexLocales += ` ${locale},\n`; + localizationLocales += `| ${locale} | ${localeTitle} |\n`; + + // src/locale/.ts + generateLocaleFile(locale); + + // src/locales//index.ts + const pathModules = resolve(pathLocales, locale); + generateLocalesIndexFile( + pathModules, + locale, + 'LocaleDefinition', + 1, + `title: '${localeTitle}',` + + (localeSeparator ? `\nseparator: '${localeSeparator}',` : ''), + undefined + ); + + let modules = readdirSync(pathModules); + modules = removeIndexTs(modules); + modules = removeTsSuffix(modules); + for (const module of modules) { + // src/locales///index.ts + const pathModule = resolve(pathModules, module); + const moduleFiles: string[] = DEFINITIONS[module]; + if (typeof moduleFiles === 'undefined') { + continue; + } + generateLocalesIndexFile( + pathModule, + module, + `${module.replace(/(^|_)([a-z])/g, (s) => + s.replace('_', '').toUpperCase() + )}Definitions`, + 2, + '', + moduleFiles + ); + } +} + // src/locales/index.ts let indexContent = ` @@ -86,7 +211,6 @@ let indexContent = ` `; indexContent = format(indexContent, prettierTsOptions); - writeFileSync(pathLocalesIndex, indexContent); // docs/api/localization.md diff --git a/src/index.ts b/src/index.ts index 4d9e8438cae..091eed916e2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,6 +6,31 @@ import { Database } from './database'; import { Datatype } from './datatype'; import { _Date } from './date'; import type { LocaleDefinition } from './definitions'; +export type { + AddressDefinitions, + AnimalDefinitions, + CommerceDefinitions, + CommerceProductNameDefinitions, + CompanyDefinitions, + DatabaseDefinitions, + DateDefinitions, + DateEntryDefinition, + DefinitionTypes, + FinanceCurrencyEntryDefinitions, + FinanceDefinitions, + HackerDefinitions, + InternetDefinitions, + LocaleDefinition, + LoremDefinitions, + MusicDefinitions, + NameDefinitions, + NameTitleDefinitions, + PhoneNumberDefinitions, + SystemDefinitions, + SystemMimeTypeEntryDefinitions, + VehicleDefinitions, + WordDefinitions, +} from './definitions'; import { DEFINITIONS } from './definitions'; import { Fake } from './fake'; import { Finance } from './finance'; @@ -34,8 +59,6 @@ type LiteralUnion = T | (U & { zz_IGNORE_ME?: never }); export type UsableLocale = LiteralUnion; export type UsedLocales = Partial>; -export type { LocaleDefinition }; - export interface FakerOptions { locales?: UsedLocales; locale?: UsableLocale; diff --git a/src/locales/af_ZA/address/index.ts b/src/locales/af_ZA/address/index.ts index ad2077eb01a..0e939eaddf4 100644 --- a/src/locales/af_ZA/address/index.ts +++ b/src/locales/af_ZA/address/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import default_country from './default_country'; import postcode from './postcode'; -const address: any = { +const address = { default_country, postcode, -}; +} as Partial; export default address; diff --git a/src/locales/af_ZA/company/index.ts b/src/locales/af_ZA/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/af_ZA/company/index.ts +++ b/src/locales/af_ZA/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/af_ZA/index.ts b/src/locales/af_ZA/index.ts index 537673cf612..80a447d769a 100644 --- a/src/locales/af_ZA/index.ts +++ b/src/locales/af_ZA/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const af_ZA: LocaleDefinition = { @@ -12,7 +16,7 @@ const af_ZA: LocaleDefinition = { cell_phone, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/af_ZA/internet/index.ts b/src/locales/af_ZA/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/af_ZA/internet/index.ts +++ b/src/locales/af_ZA/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/af_ZA/name/index.ts b/src/locales/af_ZA/name/index.ts index a82acfd7025..c90a45ef586 100644 --- a/src/locales/af_ZA/name/index.ts +++ b/src/locales/af_ZA/name/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/af_ZA/phone_number/index.ts b/src/locales/af_ZA/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/af_ZA/phone_number/index.ts +++ b/src/locales/af_ZA/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ar/address/index.ts b/src/locales/ar/address/index.ts index 571aa7b0334..4506fbc8c84 100644 --- a/src/locales/ar/address/index.ts +++ b/src/locales/ar/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_prefix from './street_prefix'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_address, street_name, street_prefix, -}; +} as Partial; export default address; diff --git a/src/locales/ar/commerce/index.ts b/src/locales/ar/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/ar/commerce/index.ts +++ b/src/locales/ar/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/ar/date/index.ts b/src/locales/ar/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/ar/date/index.ts +++ b/src/locales/ar/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/ar/date/weekday.ts b/src/locales/ar/date/weekday.ts index 8f967aa09c1..391e15ce3de 100644 --- a/src/locales/ar/date/weekday.ts +++ b/src/locales/ar/date/weekday.ts @@ -1,3 +1,5 @@ +import type { DateEntryDefinition } from '../../../definitions'; + // Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 export default { wide: [ @@ -19,4 +21,4 @@ export default { 'الجمعة', 'السبت', ], -}; +} as DateEntryDefinition; diff --git a/src/locales/ar/index.ts b/src/locales/ar/index.ts index 331bca35d14..e3e47d94632 100644 --- a/src/locales/ar/index.ts +++ b/src/locales/ar/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import commerce from './commerce'; import date from './date'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; import team from './team'; import vehicle from './vehicle'; @@ -15,7 +19,7 @@ const ar: LocaleDefinition = { cell_phone, commerce, date, - name, + name: name_, phone_number, team, vehicle, diff --git a/src/locales/ar/name/index.ts b/src/locales/ar/name/index.ts index f35b4a35749..77b4c2eb216 100644 --- a/src/locales/ar/name/index.ts +++ b/src/locales/ar/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; import prefix from './prefix'; import title from './title'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/ar/phone_number/index.ts b/src/locales/ar/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/ar/phone_number/index.ts +++ b/src/locales/ar/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ar/vehicle/index.ts b/src/locales/ar/vehicle/index.ts index 0f89a879318..6735cd533f4 100644 --- a/src/locales/ar/vehicle/index.ts +++ b/src/locales/ar/vehicle/index.ts @@ -1,12 +1,17 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { VehicleDefinitions } from '../../..'; import fuel from './fuel'; import manufacturer from './manufacturer'; -import module from './model'; +import model from './model'; import type_ from './type'; -const vehicle: any = { +const vehicle: Partial = { fuel, manufacturer, - module, + model, type: type_, }; diff --git a/src/locales/az/address/index.ts b/src/locales/az/address/index.ts index 1799e52a19d..22f6789f781 100644 --- a/src/locales/az/address/index.ts +++ b/src/locales/az/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_name from './street_name'; import street_suffix from './street_suffix'; import street_title from './street_title'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_name, street_suffix, street_title, -}; +} as Partial; export default address; diff --git a/src/locales/az/commerce/index.ts b/src/locales/az/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/az/commerce/index.ts +++ b/src/locales/az/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/az/company/index.ts b/src/locales/az/company/index.ts index 96b9db26153..37db74f5127 100644 --- a/src/locales/az/company/index.ts +++ b/src/locales/az/company/index.ts @@ -1,11 +1,16 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, prefix, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/az/date/index.ts b/src/locales/az/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/az/date/index.ts +++ b/src/locales/az/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/az/index.ts b/src/locales/az/index.ts index 7e3e0fb3935..05b10fd479e 100644 --- a/src/locales/az/index.ts +++ b/src/locales/az/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import commerce from './commerce'; import company from './company'; import date from './date'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const az: LocaleDefinition = { @@ -15,7 +19,7 @@ const az: LocaleDefinition = { company, date, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/az/internet/index.ts b/src/locales/az/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/az/internet/index.ts +++ b/src/locales/az/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/az/name/index.ts b/src/locales/az/name/index.ts index f70a758b4ac..8cf3afff6fc 100644 --- a/src/locales/az/name/index.ts +++ b/src/locales/az/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import male_first_name from './male_first_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const name: any = { +const name: Partial = { female_first_name, female_last_name, male_first_name, diff --git a/src/locales/az/phone_number/index.ts b/src/locales/az/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/az/phone_number/index.ts +++ b/src/locales/az/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/cz/address/index.ts b/src/locales/cz/address/index.ts index f082b220121..7a0acff70b6 100644 --- a/src/locales/cz/address/index.ts +++ b/src/locales/cz/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street from './street'; import street_address from './street_address'; import street_name from './street_name'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street, street_address, street_name, -}; +} as Partial; export default address; diff --git a/src/locales/cz/company/index.ts b/src/locales/cz/company/index.ts index 2aa6ff7010d..c4694c68bce 100644 --- a/src/locales/cz/company/index.ts +++ b/src/locales/cz/company/index.ts @@ -1,19 +1,24 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/cz/date/index.ts b/src/locales/cz/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/cz/date/index.ts +++ b/src/locales/cz/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/cz/index.ts b/src/locales/cz/index.ts index db5e7cc26bd..c2a398a1474 100644 --- a/src/locales/cz/index.ts +++ b/src/locales/cz/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import date from './date'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const cz: LocaleDefinition = { @@ -14,7 +18,7 @@ const cz: LocaleDefinition = { date, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/cz/internet/index.ts b/src/locales/cz/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/cz/internet/index.ts +++ b/src/locales/cz/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/cz/lorem/index.ts b/src/locales/cz/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/cz/lorem/index.ts +++ b/src/locales/cz/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/cz/name/index.ts b/src/locales/cz/name/index.ts index ac17901d849..3c856e22f3d 100644 --- a/src/locales/cz/name/index.ts +++ b/src/locales/cz/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import first_name from './first_name'; @@ -9,7 +14,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, female_last_name, first_name, diff --git a/src/locales/cz/phone_number/index.ts b/src/locales/cz/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/cz/phone_number/index.ts +++ b/src/locales/cz/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/de/address/index.ts b/src/locales/de/address/index.ts index 232c479a260..0da916021db 100644 --- a/src/locales/de/address/index.ts +++ b/src/locales/de/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -12,7 +17,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_root from './street_root'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -26,6 +31,6 @@ const address: any = { street_address, street_name, street_root, -}; +} as Partial; export default address; diff --git a/src/locales/de/company/index.ts b/src/locales/de/company/index.ts index d9ee92b8f33..d43fc701572 100644 --- a/src/locales/de/company/index.ts +++ b/src/locales/de/company/index.ts @@ -1,11 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import legal_form from './legal_form'; -import name from './name'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { +const company = { legal_form, - name, + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/de/date/index.ts b/src/locales/de/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/de/date/index.ts +++ b/src/locales/de/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/de/index.ts b/src/locales/de/index.ts index 742888a3ce7..ae1ebe2877d 100644 --- a/src/locales/de/index.ts +++ b/src/locales/de/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; @@ -5,7 +9,7 @@ import company from './company'; import date from './date'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const de: LocaleDefinition = { @@ -16,7 +20,7 @@ const de: LocaleDefinition = { date, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/de/internet/index.ts b/src/locales/de/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/de/internet/index.ts +++ b/src/locales/de/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/de/lorem/index.ts b/src/locales/de/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/de/lorem/index.ts +++ b/src/locales/de/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/de/name/index.ts b/src/locales/de/name/index.ts index 2d941fef236..59f7cc30add 100644 --- a/src/locales/de/name/index.ts +++ b/src/locales/de/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import nobility_title_prefix from './nobility_title_prefix'; import prefix from './prefix'; -const name: any = { +const name = { female_first_name, first_name, last_name, @@ -14,6 +19,6 @@ const name: any = { name: name_, nobility_title_prefix, prefix, -}; +} as Partial; export default name; diff --git a/src/locales/de/phone_number/index.ts b/src/locales/de/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/de/phone_number/index.ts +++ b/src/locales/de/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/de_AT/address/index.ts b/src/locales/de_AT/address/index.ts index 30ae7b54a49..88811abde36 100644 --- a/src/locales/de_AT/address/index.ts +++ b/src/locales/de_AT/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_root from './street_root'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_address, street_name, street_root, -}; +} as Partial; export default address; diff --git a/src/locales/de_AT/company/index.ts b/src/locales/de_AT/company/index.ts index d9ee92b8f33..d43fc701572 100644 --- a/src/locales/de_AT/company/index.ts +++ b/src/locales/de_AT/company/index.ts @@ -1,11 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import legal_form from './legal_form'; -import name from './name'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { +const company = { legal_form, - name, + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/de_AT/index.ts b/src/locales/de_AT/index.ts index 4fb3284cf88..7cb18583a67 100644 --- a/src/locales/de_AT/index.ts +++ b/src/locales/de_AT/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const de_AT: LocaleDefinition = { @@ -12,7 +16,7 @@ const de_AT: LocaleDefinition = { cell_phone, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/de_AT/internet/index.ts b/src/locales/de_AT/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/de_AT/internet/index.ts +++ b/src/locales/de_AT/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/de_AT/name/index.ts b/src/locales/de_AT/name/index.ts index 190f65232cc..3612b7baa67 100644 --- a/src/locales/de_AT/name/index.ts +++ b/src/locales/de_AT/name/index.ts @@ -1,15 +1,20 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; import nobility_title_prefix from './nobility_title_prefix'; import prefix from './prefix'; -const name: any = { +const name = { first_name, last_name, name: name_, nobility_title_prefix, prefix, -}; +} as Partial; export default name; diff --git a/src/locales/de_AT/phone_number/index.ts b/src/locales/de_AT/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/de_AT/phone_number/index.ts +++ b/src/locales/de_AT/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/de_CH/address/index.ts b/src/locales/de_CH/address/index.ts index a3f370e52ab..99dcf81bd06 100644 --- a/src/locales/de_CH/address/index.ts +++ b/src/locales/de_CH/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_name from './city_name'; import country_code from './country_code'; @@ -6,7 +11,7 @@ import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -const address: any = { +const address = { city, city_name, country_code, @@ -14,6 +19,6 @@ const address: any = { postcode, state, state_abbr, -}; +} as Partial; export default address; diff --git a/src/locales/de_CH/company/index.ts b/src/locales/de_CH/company/index.ts index 598c8a508ee..d6c3f79860a 100644 --- a/src/locales/de_CH/company/index.ts +++ b/src/locales/de_CH/company/index.ts @@ -1,9 +1,14 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/de_CH/index.ts b/src/locales/de_CH/index.ts index f705919f5ff..3a5d8fc4b8c 100644 --- a/src/locales/de_CH/index.ts +++ b/src/locales/de_CH/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const de_CH: LocaleDefinition = { @@ -10,7 +14,7 @@ const de_CH: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/de_CH/internet/index.ts b/src/locales/de_CH/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/de_CH/internet/index.ts +++ b/src/locales/de_CH/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/de_CH/name/index.ts b/src/locales/de_CH/name/index.ts index 6bd43c7abc5..bb6626439aa 100644 --- a/src/locales/de_CH/name/index.ts +++ b/src/locales/de_CH/name/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; import prefix from './prefix'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/de_CH/phone_number/index.ts b/src/locales/de_CH/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/de_CH/phone_number/index.ts +++ b/src/locales/de_CH/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/el/address/index.ts b/src/locales/el/address/index.ts index 463c8d1a433..365551dc829 100644 --- a/src/locales/el/address/index.ts +++ b/src/locales/el/address/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import county from './county'; import default_country from './default_country'; -const address: any = { +const address = { county, default_country, -}; +} as Partial; export default address; diff --git a/src/locales/el/commerce/index.ts b/src/locales/el/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/el/commerce/index.ts +++ b/src/locales/el/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/el/company/index.ts b/src/locales/el/company/index.ts index 9c2343931ad..a3e1cf1a24d 100644 --- a/src/locales/el/company/index.ts +++ b/src/locales/el/company/index.ts @@ -1,21 +1,26 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_adjective from './bs_adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, bs_adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as CompanyDefinitions; export default company; diff --git a/src/locales/el/finance/index.ts b/src/locales/el/finance/index.ts index 76e0fa8d062..fbdcd370691 100644 --- a/src/locales/el/finance/index.ts +++ b/src/locales/el/finance/index.ts @@ -1,4 +1,8 @@ -import type { FinanceDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { FinanceDefinitions } from '../../..'; import account_type from './account_type'; import currency from './currency'; import transaction_type from './transaction_type'; diff --git a/src/locales/el/hacker/index.ts b/src/locales/el/hacker/index.ts index 28143c2bd80..181218e2007 100644 --- a/src/locales/el/hacker/index.ts +++ b/src/locales/el/hacker/index.ts @@ -1,4 +1,8 @@ -import type { HackerDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { HackerDefinitions } from '../../..'; import abbreviation from './abbreviation'; import adjective from './adjective'; import noun from './noun'; diff --git a/src/locales/el/index.ts b/src/locales/el/index.ts index 596611564da..6ace5427c46 100644 --- a/src/locales/el/index.ts +++ b/src/locales/el/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import app from './app'; @@ -10,7 +14,7 @@ import finance from './finance'; import hacker from './hacker'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; import team from './team'; @@ -28,7 +32,7 @@ const el: LocaleDefinition = { hacker, internet, lorem, - name, + name: name_, phone_number, team, }; diff --git a/src/locales/el/internet/index.ts b/src/locales/el/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/el/internet/index.ts +++ b/src/locales/el/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/el/lorem/index.ts b/src/locales/el/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/el/lorem/index.ts +++ b/src/locales/el/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/el/name/index.ts b/src/locales/el/name/index.ts index f35b4a35749..77b4c2eb216 100644 --- a/src/locales/el/name/index.ts +++ b/src/locales/el/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; import prefix from './prefix'; import title from './title'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/el/phone_number/index.ts b/src/locales/el/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/el/phone_number/index.ts +++ b/src/locales/el/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en/address/index.ts b/src/locales/en/address/index.ts index 27c071aa886..efb55311d33 100644 --- a/src/locales/en/address/index.ts +++ b/src/locales/en/address/index.ts @@ -1,4 +1,8 @@ -import type { AddressDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -22,37 +26,27 @@ import street_suffix from './street_suffix'; import time_zone from './time_zone'; const address = { - postcode, - postcode_by_state, - + building_number, city, city_name, city_prefix, city_suffix, - country, - state, - state_abbr, + country_code, + country_code_alpha_3, county, - + default_country, direction, direction_abbr, - - // street_prefix - street_suffix, - + postcode, + postcode_by_state, secondary_address, - - country_code, - country_code_alpha_3, - - time_zone, - - // Extra + state, + state_abbr, street_address, street_name, - default_country, - building_number, + street_suffix, + time_zone, } as Partial; export default address; diff --git a/src/locales/en/animal/index.ts b/src/locales/en/animal/index.ts index 33625a81f44..da536e8c9ce 100644 --- a/src/locales/en/animal/index.ts +++ b/src/locales/en/animal/index.ts @@ -1,4 +1,8 @@ -import type { AnimalDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AnimalDefinitions } from '../../..'; import bear from './bear'; import bird from './bird'; import cat from './cat'; @@ -12,7 +16,7 @@ import insect from './insect'; import lion from './lion'; import rabbit from './rabbit'; import snake from './snake'; -import type from './type'; +import type_ from './type'; const animal: AnimalDefinitions = { bear, @@ -28,7 +32,7 @@ const animal: AnimalDefinitions = { lion, rabbit, snake, - type, + type: type_, }; export default animal; diff --git a/src/locales/en/commerce/index.ts b/src/locales/en/commerce/index.ts index 30ab7e1ee56..2f3f890d61b 100644 --- a/src/locales/en/commerce/index.ts +++ b/src/locales/en/commerce/index.ts @@ -1,4 +1,8 @@ -import type { CommerceDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_description from './product_description'; diff --git a/src/locales/en/company/index.ts b/src/locales/en/company/index.ts index 82326134396..a3e1cf1a24d 100644 --- a/src/locales/en/company/index.ts +++ b/src/locales/en/company/index.ts @@ -1,25 +1,26 @@ -import type { CompanyDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_adjective from './bs_adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; const company = { + adjective, bs_adjective, bs_noun, bs_verb, - - adjective, descriptor, + name: name_, noun, - suffix, - - name, } as CompanyDefinitions; export default company; diff --git a/src/locales/en/database/index.ts b/src/locales/en/database/index.ts index 44774db2121..0fdb916369e 100644 --- a/src/locales/en/database/index.ts +++ b/src/locales/en/database/index.ts @@ -1,14 +1,18 @@ -import type { DatabaseDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DatabaseDefinitions } from '../../..'; import collation from './collation'; import column from './column'; import engine from './engine'; -import type from './type'; +import type_ from './type'; const database: DatabaseDefinitions = { collation, column, engine, - type, + type: type_, }; export default database; diff --git a/src/locales/en/date/index.ts b/src/locales/en/date/index.ts index e722b683f7b..cd296b42a45 100644 --- a/src/locales/en/date/index.ts +++ b/src/locales/en/date/index.ts @@ -1,4 +1,8 @@ -import type { DateDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; diff --git a/src/locales/en/finance/index.ts b/src/locales/en/finance/index.ts index 004d53143cb..2d2c16c7456 100644 --- a/src/locales/en/finance/index.ts +++ b/src/locales/en/finance/index.ts @@ -1,4 +1,8 @@ -import type { FinanceDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { FinanceDefinitions } from '../../..'; import account_type from './account_type'; import credit_card from './credit_card'; import currency from './currency'; diff --git a/src/locales/en/hacker/index.ts b/src/locales/en/hacker/index.ts index 196657a8320..aa45642882b 100644 --- a/src/locales/en/hacker/index.ts +++ b/src/locales/en/hacker/index.ts @@ -1,4 +1,8 @@ -import type { HackerDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { HackerDefinitions } from '../../..'; import abbreviation from './abbreviation'; import adjective from './adjective'; import ingverb from './ingverb'; diff --git a/src/locales/en/index.ts b/src/locales/en/index.ts index a730b083fd1..ded35323986 100644 --- a/src/locales/en/index.ts +++ b/src/locales/en/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import animal from './animal'; @@ -13,7 +17,7 @@ import hacker from './hacker'; import internet from './internet'; import lorem from './lorem'; import music from './music'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; import system from './system'; import team from './team'; @@ -37,7 +41,7 @@ const en: LocaleDefinition = { internet, lorem, music, - name, + name: name_, phone_number, system, team, diff --git a/src/locales/en/internet/index.ts b/src/locales/en/internet/index.ts index a1788c66178..dac3bdbde1e 100644 --- a/src/locales/en/internet/index.ts +++ b/src/locales/en/internet/index.ts @@ -1,4 +1,8 @@ -import type { InternetDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import avatar_uri from './avatar_uri'; import domain_suffix from './domain_suffix'; import example_email from './example_email'; diff --git a/src/locales/en/lorem/index.ts b/src/locales/en/lorem/index.ts index 9f1838e169e..e1929cf1cfb 100644 --- a/src/locales/en/lorem/index.ts +++ b/src/locales/en/lorem/index.ts @@ -1,4 +1,8 @@ -import type { LoremDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import supplemental from './supplemental'; import words from './words'; diff --git a/src/locales/en/music/index.ts b/src/locales/en/music/index.ts index 3347664de77..45e23540c4d 100644 --- a/src/locales/en/music/index.ts +++ b/src/locales/en/music/index.ts @@ -1,4 +1,8 @@ -import type { MusicDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { MusicDefinitions } from '../../..'; import genre from './genre'; const music: MusicDefinitions = { diff --git a/src/locales/en/name/index.ts b/src/locales/en/name/index.ts index 8241b4ad716..39f195db94d 100644 --- a/src/locales/en/name/index.ts +++ b/src/locales/en/name/index.ts @@ -1,4 +1,8 @@ -import type { NameDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import binary_gender from './binary_gender'; import female_first_name from './female_first_name'; import first_name from './first_name'; @@ -10,22 +14,16 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: NameDefinitions = { +const name: Partial = { binary_gender, - gender, - - prefix, - - first_name, female_first_name, - male_first_name, - + first_name, + gender, last_name, - - suffix, - + male_first_name, name: name_, - + prefix, + suffix, title, }; diff --git a/src/locales/en/phone_number/index.ts b/src/locales/en/phone_number/index.ts index 6b8f73b0266..bf48a8b5d05 100644 --- a/src/locales/en/phone_number/index.ts +++ b/src/locales/en/phone_number/index.ts @@ -1,4 +1,8 @@ -import type { PhoneNumberDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; const phone_number: PhoneNumberDefinitions = { diff --git a/src/locales/en/system/index.ts b/src/locales/en/system/index.ts index c873d9d702a..220f5b3b2e3 100644 --- a/src/locales/en/system/index.ts +++ b/src/locales/en/system/index.ts @@ -1,4 +1,8 @@ -import type { SystemDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { SystemDefinitions } from '../../..'; import directoryPaths from './directoryPaths'; import mimeTypes from './mimeTypes'; diff --git a/src/locales/en/vehicle/index.ts b/src/locales/en/vehicle/index.ts index 01ecc1c034f..89218281f3c 100644 --- a/src/locales/en/vehicle/index.ts +++ b/src/locales/en/vehicle/index.ts @@ -1,4 +1,8 @@ -import type { VehicleDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { VehicleDefinitions } from '../../..'; import bicycle from './bicycle'; import fuel from './fuel'; import manufacturer from './manufacturer'; diff --git a/src/locales/en/word/index.ts b/src/locales/en/word/index.ts index 8f76f579b7b..8a5b59e3b87 100644 --- a/src/locales/en/word/index.ts +++ b/src/locales/en/word/index.ts @@ -1,4 +1,8 @@ -import type { WordDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { WordDefinitions } from '../../..'; import adjective from './adjective'; import adverb from './adverb'; import conjunction from './conjunction'; diff --git a/src/locales/en_AU/address/index.ts b/src/locales/en_AU/address/index.ts index 6ea3106995c..0bb1576e2b4 100644 --- a/src/locales/en_AU/address/index.ts +++ b/src/locales/en_AU/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import default_country from './default_country'; import postcode from './postcode'; @@ -5,13 +10,13 @@ import state from './state'; import state_abbr from './state_abbr'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, default_country, postcode, state, state_abbr, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/en_AU/company/index.ts b/src/locales/en_AU/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/en_AU/company/index.ts +++ b/src/locales/en_AU/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/en_AU/index.ts b/src/locales/en_AU/index.ts index da46ce8857c..d363bb3f5f1 100644 --- a/src/locales/en_AU/index.ts +++ b/src/locales/en_AU/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const en_AU: LocaleDefinition = { @@ -10,7 +14,7 @@ const en_AU: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/en_AU/internet/index.ts b/src/locales/en_AU/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_AU/internet/index.ts +++ b/src/locales/en_AU/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_AU/name/index.ts b/src/locales/en_AU/name/index.ts index c9692ba99dd..a55032a062e 100644 --- a/src/locales/en_AU/name/index.ts +++ b/src/locales/en_AU/name/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; -const name: any = { +const name: Partial = { first_name, last_name, }; diff --git a/src/locales/en_AU/phone_number/index.ts b/src/locales/en_AU/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_AU/phone_number/index.ts +++ b/src/locales/en_AU/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_AU_ocker/address/index.ts b/src/locales/en_AU_ocker/address/index.ts index a05f04ad3f4..83ae57b82fd 100644 --- a/src/locales/en_AU_ocker/address/index.ts +++ b/src/locales/en_AU_ocker/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -10,7 +15,7 @@ import street_name from './street_name'; import street_root from './street_root'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -22,6 +27,6 @@ const address: any = { street_name, street_root, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/en_AU_ocker/company/index.ts b/src/locales/en_AU_ocker/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/en_AU_ocker/company/index.ts +++ b/src/locales/en_AU_ocker/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/en_AU_ocker/index.ts b/src/locales/en_AU_ocker/index.ts index 4c20c6fa68a..409846f3442 100644 --- a/src/locales/en_AU_ocker/index.ts +++ b/src/locales/en_AU_ocker/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const en_AU_ocker: LocaleDefinition = { @@ -10,7 +14,7 @@ const en_AU_ocker: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/en_AU_ocker/internet/index.ts b/src/locales/en_AU_ocker/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_AU_ocker/internet/index.ts +++ b/src/locales/en_AU_ocker/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_AU_ocker/name/index.ts b/src/locales/en_AU_ocker/name/index.ts index f09c5dc5232..7b938ed2843 100644 --- a/src/locales/en_AU_ocker/name/index.ts +++ b/src/locales/en_AU_ocker/name/index.ts @@ -1,11 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import ocker_first_name from './ocker_first_name'; -const name: any = { +const name = { first_name, last_name, ocker_first_name, -}; +} as Partial; export default name; diff --git a/src/locales/en_AU_ocker/phone_number/index.ts b/src/locales/en_AU_ocker/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_AU_ocker/phone_number/index.ts +++ b/src/locales/en_AU_ocker/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_BORK/index.ts b/src/locales/en_BORK/index.ts index 86f33cb68df..5d01cdd9539 100644 --- a/src/locales/en_BORK/index.ts +++ b/src/locales/en_BORK/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import lorem from './lorem'; diff --git a/src/locales/en_BORK/lorem/index.ts b/src/locales/en_BORK/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/en_BORK/lorem/index.ts +++ b/src/locales/en_BORK/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/en_CA/address/index.ts b/src/locales/en_CA/address/index.ts index 78fe2fa1684..71ef1ced84a 100644 --- a/src/locales/en_CA/address/index.ts +++ b/src/locales/en_CA/address/index.ts @@ -1,13 +1,18 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -const address: any = { +const address = { default_country, postcode, state, state_abbr, -}; +} as Partial; export default address; diff --git a/src/locales/en_CA/index.ts b/src/locales/en_CA/index.ts index 294f3d1f117..dd400c7f6e2 100644 --- a/src/locales/en_CA/index.ts +++ b/src/locales/en_CA/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import internet from './internet'; diff --git a/src/locales/en_CA/internet/index.ts b/src/locales/en_CA/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/en_CA/internet/index.ts +++ b/src/locales/en_CA/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/en_CA/phone_number/index.ts b/src/locales/en_CA/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_CA/phone_number/index.ts +++ b/src/locales/en_CA/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_GB/address/index.ts b/src/locales/en_GB/address/index.ts index a13d7990f1b..f3bd982ae11 100644 --- a/src/locales/en_GB/address/index.ts +++ b/src/locales/en_GB/address/index.ts @@ -1,13 +1,18 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import county from './county'; import default_country from './default_country'; import postcode from './postcode'; import uk_country from './uk_country'; -const address: any = { +const address = { county, default_country, postcode, uk_country, -}; +} as Partial; export default address; diff --git a/src/locales/en_GB/index.ts b/src/locales/en_GB/index.ts index 52b44978981..f138a612bc2 100644 --- a/src/locales/en_GB/index.ts +++ b/src/locales/en_GB/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; diff --git a/src/locales/en_GB/internet/index.ts b/src/locales/en_GB/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_GB/internet/index.ts +++ b/src/locales/en_GB/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_GB/phone_number/index.ts b/src/locales/en_GB/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_GB/phone_number/index.ts +++ b/src/locales/en_GB/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_GH/address/index.ts b/src/locales/en_GH/address/index.ts index 6201f08311d..24af1942a60 100644 --- a/src/locales/en_GH/address/index.ts +++ b/src/locales/en_GH/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -9,7 +14,7 @@ import street_name from './street_name'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_name, @@ -20,6 +25,6 @@ const address: any = { street_name, street_prefix, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/en_GH/company/index.ts b/src/locales/en_GH/company/index.ts index 598c8a508ee..d6c3f79860a 100644 --- a/src/locales/en_GH/company/index.ts +++ b/src/locales/en_GH/company/index.ts @@ -1,9 +1,14 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/en_GH/index.ts b/src/locales/en_GH/index.ts index e3b1b384f9b..ec202a83e6b 100644 --- a/src/locales/en_GH/index.ts +++ b/src/locales/en_GH/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const en_GH: LocaleDefinition = { @@ -10,7 +14,7 @@ const en_GH: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/en_GH/internet/index.ts b/src/locales/en_GH/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_GH/internet/index.ts +++ b/src/locales/en_GH/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_GH/name/index.ts b/src/locales/en_GH/name/index.ts index 39e58ee6e32..513b2c736ab 100644 --- a/src/locales/en_GH/name/index.ts +++ b/src/locales/en_GH/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import name_ from './name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/en_GH/phone_number/index.ts b/src/locales/en_GH/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_GH/phone_number/index.ts +++ b/src/locales/en_GH/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_IE/address/index.ts b/src/locales/en_IE/address/index.ts index 463c8d1a433..365551dc829 100644 --- a/src/locales/en_IE/address/index.ts +++ b/src/locales/en_IE/address/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import county from './county'; import default_country from './default_country'; -const address: any = { +const address = { county, default_country, -}; +} as Partial; export default address; diff --git a/src/locales/en_IE/index.ts b/src/locales/en_IE/index.ts index 26336548bee..84527b0e413 100644 --- a/src/locales/en_IE/index.ts +++ b/src/locales/en_IE/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; diff --git a/src/locales/en_IE/internet/index.ts b/src/locales/en_IE/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_IE/internet/index.ts +++ b/src/locales/en_IE/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_IE/phone_number/index.ts b/src/locales/en_IE/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_IE/phone_number/index.ts +++ b/src/locales/en_IE/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_IND/address/index.ts b/src/locales/en_IND/address/index.ts index 22010fef7b8..056eb39ab30 100644 --- a/src/locales/en_IND/address/index.ts +++ b/src/locales/en_IND/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_name from './city_name'; import default_country from './default_country'; @@ -5,13 +10,13 @@ import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -const address: any = { +const address = { city, city_name, default_country, postcode, state, state_abbr, -}; +} as Partial; export default address; diff --git a/src/locales/en_IND/company/index.ts b/src/locales/en_IND/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/en_IND/company/index.ts +++ b/src/locales/en_IND/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/en_IND/index.ts b/src/locales/en_IND/index.ts index 6c53b3caa5f..d15a88cf5cb 100644 --- a/src/locales/en_IND/index.ts +++ b/src/locales/en_IND/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const en_IND: LocaleDefinition = { @@ -10,7 +14,7 @@ const en_IND: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/en_IND/internet/index.ts b/src/locales/en_IND/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/en_IND/internet/index.ts +++ b/src/locales/en_IND/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/en_IND/name/index.ts b/src/locales/en_IND/name/index.ts index c9692ba99dd..a55032a062e 100644 --- a/src/locales/en_IND/name/index.ts +++ b/src/locales/en_IND/name/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; -const name: any = { +const name: Partial = { first_name, last_name, }; diff --git a/src/locales/en_IND/phone_number/index.ts b/src/locales/en_IND/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_IND/phone_number/index.ts +++ b/src/locales/en_IND/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_NG/address/index.ts b/src/locales/en_NG/address/index.ts index 66890e9bdd4..8f8c948ffb2 100644 --- a/src/locales/en_NG/address/index.ts +++ b/src/locales/en_NG/address/index.ts @@ -1,15 +1,20 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -const address: any = { +const address = { city, city_prefix, default_country, postcode, state, -}; +} as Partial; export default address; diff --git a/src/locales/en_NG/company/index.ts b/src/locales/en_NG/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/en_NG/company/index.ts +++ b/src/locales/en_NG/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/en_NG/index.ts b/src/locales/en_NG/index.ts index 39edc5667df..b4273f6aeb4 100644 --- a/src/locales/en_NG/index.ts +++ b/src/locales/en_NG/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const en_NG: LocaleDefinition = { @@ -10,7 +14,7 @@ const en_NG: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/en_NG/internet/index.ts b/src/locales/en_NG/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_NG/internet/index.ts +++ b/src/locales/en_NG/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_NG/name/index.ts b/src/locales/en_NG/name/index.ts index 39e58ee6e32..513b2c736ab 100644 --- a/src/locales/en_NG/name/index.ts +++ b/src/locales/en_NG/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import name_ from './name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/en_NG/phone_number/index.ts b/src/locales/en_NG/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/en_NG/phone_number/index.ts +++ b/src/locales/en_NG/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/en_US/address/index.ts b/src/locales/en_US/address/index.ts index f2c66fabd99..723335b8533 100644 --- a/src/locales/en_US/address/index.ts +++ b/src/locales/en_US/address/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import default_country from './default_country'; import postcode_by_state from './postcode_by_state'; -const address: any = { +const address = { default_country, postcode_by_state, -}; +} as Partial; export default address; diff --git a/src/locales/en_US/index.ts b/src/locales/en_US/index.ts index 7b1b07d0a87..9714a45d920 100644 --- a/src/locales/en_US/index.ts +++ b/src/locales/en_US/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import internet from './internet'; diff --git a/src/locales/en_US/internet/index.ts b/src/locales/en_US/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_US/internet/index.ts +++ b/src/locales/en_US/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_US/phone_number/index.ts b/src/locales/en_US/phone_number/index.ts index 9ad282310a7..f2bd1a26432 100644 --- a/src/locales/en_US/phone_number/index.ts +++ b/src/locales/en_US/phone_number/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import area_code from './area_code'; import exchange_code from './exchange_code'; -const phone_number: any = { +const phone_number = { area_code, exchange_code, -}; +} as Partial; export default phone_number; diff --git a/src/locales/en_ZA/address/index.ts b/src/locales/en_ZA/address/index.ts index 66890e9bdd4..8f8c948ffb2 100644 --- a/src/locales/en_ZA/address/index.ts +++ b/src/locales/en_ZA/address/index.ts @@ -1,15 +1,20 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_prefix from './city_prefix'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -const address: any = { +const address = { city, city_prefix, default_country, postcode, state, -}; +} as Partial; export default address; diff --git a/src/locales/en_ZA/company/index.ts b/src/locales/en_ZA/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/en_ZA/company/index.ts +++ b/src/locales/en_ZA/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/en_ZA/index.ts b/src/locales/en_ZA/index.ts index 8c279ee8299..d23b89d87b0 100644 --- a/src/locales/en_ZA/index.ts +++ b/src/locales/en_ZA/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const en_ZA: LocaleDefinition = { @@ -12,7 +16,7 @@ const en_ZA: LocaleDefinition = { cell_phone, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/en_ZA/internet/index.ts b/src/locales/en_ZA/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/en_ZA/internet/index.ts +++ b/src/locales/en_ZA/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/en_ZA/name/index.ts b/src/locales/en_ZA/name/index.ts index 39e58ee6e32..513b2c736ab 100644 --- a/src/locales/en_ZA/name/index.ts +++ b/src/locales/en_ZA/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import name_ from './name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/en_ZA/phone_number/index.ts b/src/locales/en_ZA/phone_number/index.ts index b92ea479373..d04c0c59981 100644 --- a/src/locales/en_ZA/phone_number/index.ts +++ b/src/locales/en_ZA/phone_number/index.ts @@ -1,11 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import area_code from './area_code'; import exchange_code from './exchange_code'; import formats from './formats'; -const phone_number: any = { +const phone_number = { area_code, exchange_code, formats, -}; +} as PhoneNumberDefinitions; export default phone_number; diff --git a/src/locales/es/address/index.ts b/src/locales/es/address/index.ts index 15c2b22c939..095c28a8833 100644 --- a/src/locales/es/address/index.ts +++ b/src/locales/es/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -13,7 +18,7 @@ import street_name from './street_name'; import street_suffix from './street_suffix'; import time_zone from './time_zone'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -28,6 +33,6 @@ const address: any = { street_name, street_suffix, time_zone, -}; +} as Partial; export default address; diff --git a/src/locales/es/commerce/index.ts b/src/locales/es/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/es/commerce/index.ts +++ b/src/locales/es/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/es/company/index.ts b/src/locales/es/company/index.ts index a5a5b897b0d..f848fa63d22 100644 --- a/src/locales/es/company/index.ts +++ b/src/locales/es/company/index.ts @@ -1,15 +1,20 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, descriptor, - name, + name: name_, noun, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/es/index.ts b/src/locales/es/index.ts index b9b7f9f5bd0..dd8a4775b36 100644 --- a/src/locales/es/index.ts +++ b/src/locales/es/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import commerce from './commerce'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const es: LocaleDefinition = { @@ -14,7 +18,7 @@ const es: LocaleDefinition = { commerce, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/es/internet/index.ts b/src/locales/es/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/es/internet/index.ts +++ b/src/locales/es/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/es/name/index.ts b/src/locales/es/name/index.ts index 5a689544cbe..b8cd692accc 100644 --- a/src/locales/es/name/index.ts +++ b/src/locales/es/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -7,7 +12,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/es/phone_number/index.ts b/src/locales/es/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/es/phone_number/index.ts +++ b/src/locales/es/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/es_MX/address/index.ts b/src/locales/es_MX/address/index.ts index 7b7c9fc8e9b..34d93b3ddda 100644 --- a/src/locales/es_MX/address/index.ts +++ b/src/locales/es_MX/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -14,7 +19,7 @@ import street_name from './street_name'; import street_suffix from './street_suffix'; import time_zone from './time_zone'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -30,6 +35,6 @@ const address: any = { street_name, street_suffix, time_zone, -}; +} as Partial; export default address; diff --git a/src/locales/es_MX/commerce/index.ts b/src/locales/es_MX/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/es_MX/commerce/index.ts +++ b/src/locales/es_MX/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/es_MX/company/index.ts b/src/locales/es_MX/company/index.ts index 9c2343931ad..a3e1cf1a24d 100644 --- a/src/locales/es_MX/company/index.ts +++ b/src/locales/es_MX/company/index.ts @@ -1,21 +1,26 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_adjective from './bs_adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, bs_adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as CompanyDefinitions; export default company; diff --git a/src/locales/es_MX/index.ts b/src/locales/es_MX/index.ts index 71a3cf6e999..189829fa953 100644 --- a/src/locales/es_MX/index.ts +++ b/src/locales/es_MX/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; @@ -5,7 +9,7 @@ import commerce from './commerce'; import company from './company'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; import team from './team'; @@ -18,7 +22,7 @@ const es_MX: LocaleDefinition = { company, internet, lorem, - name, + name: name_, phone_number, team, }; diff --git a/src/locales/es_MX/internet/index.ts b/src/locales/es_MX/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/es_MX/internet/index.ts +++ b/src/locales/es_MX/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/es_MX/lorem/index.ts b/src/locales/es_MX/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/es_MX/lorem/index.ts +++ b/src/locales/es_MX/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/es_MX/name/index.ts b/src/locales/es_MX/name/index.ts index f4c48490466..d6f8fce59b0 100644 --- a/src/locales/es_MX/name/index.ts +++ b/src/locales/es_MX/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; @@ -5,7 +10,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/es_MX/phone_number/index.ts b/src/locales/es_MX/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/es_MX/phone_number/index.ts +++ b/src/locales/es_MX/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/fa/address/index.ts b/src/locales/fa/address/index.ts index 425c75bcd2c..1db7305e731 100644 --- a/src/locales/fa/address/index.ts +++ b/src/locales/fa/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -15,7 +20,7 @@ import street_name from './street_name'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_name, @@ -32,6 +37,6 @@ const address: any = { street_name, street_prefix, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/fa/commerce/index.ts b/src/locales/fa/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/fa/commerce/index.ts +++ b/src/locales/fa/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/fa/company/index.ts b/src/locales/fa/company/index.ts index 9c2343931ad..a3e1cf1a24d 100644 --- a/src/locales/fa/company/index.ts +++ b/src/locales/fa/company/index.ts @@ -1,21 +1,26 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_adjective from './bs_adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, bs_adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as CompanyDefinitions; export default company; diff --git a/src/locales/fa/date/index.ts b/src/locales/fa/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/fa/date/index.ts +++ b/src/locales/fa/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/fa/finance/index.ts b/src/locales/fa/finance/index.ts index 004d53143cb..2d2c16c7456 100644 --- a/src/locales/fa/finance/index.ts +++ b/src/locales/fa/finance/index.ts @@ -1,4 +1,8 @@ -import type { FinanceDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { FinanceDefinitions } from '../../..'; import account_type from './account_type'; import credit_card from './credit_card'; import currency from './currency'; diff --git a/src/locales/fa/index.ts b/src/locales/fa/index.ts index a11d7025064..9f53ec55417 100644 --- a/src/locales/fa/index.ts +++ b/src/locales/fa/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; @@ -7,7 +11,7 @@ import date from './date'; import finance from './finance'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; import vehicle from './vehicle'; @@ -21,7 +25,7 @@ const fa: LocaleDefinition = { finance, internet, lorem, - name, + name: name_, phone_number, vehicle, }; diff --git a/src/locales/fa/internet/index.ts b/src/locales/fa/internet/index.ts index 8376e08f12b..b67a2fe7333 100644 --- a/src/locales/fa/internet/index.ts +++ b/src/locales/fa/internet/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import example_email from './example_email'; import free_email from './free_email'; -const internet: any = { +const internet: InternetDefinitions = { domain_suffix, example_email, free_email, diff --git a/src/locales/fa/lorem/index.ts b/src/locales/fa/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/fa/lorem/index.ts +++ b/src/locales/fa/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/fa/name/index.ts b/src/locales/fa/name/index.ts index 04f6b054430..ffd544db710 100644 --- a/src/locales/fa/name/index.ts +++ b/src/locales/fa/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import prefix from './prefix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/fa/phone_number/index.ts b/src/locales/fa/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/fa/phone_number/index.ts +++ b/src/locales/fa/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/fa/vehicle/index.ts b/src/locales/fa/vehicle/index.ts index 8d7ae31ff96..6735cd533f4 100644 --- a/src/locales/fa/vehicle/index.ts +++ b/src/locales/fa/vehicle/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { VehicleDefinitions } from '../../..'; import fuel from './fuel'; import manufacturer from './manufacturer'; import model from './model'; import type_ from './type'; -const vehicle: any = { +const vehicle: Partial = { fuel, manufacturer, model, diff --git a/src/locales/fi/index.ts b/src/locales/fi/index.ts index 70781834a26..2c511ec6736 100644 --- a/src/locales/fi/index.ts +++ b/src/locales/fi/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; -import name from './name'; +import name_ from './name'; const fi: LocaleDefinition = { title: 'Finnish', - name, + name: name_, }; export default fi; diff --git a/src/locales/fi/name/index.ts b/src/locales/fi/name/index.ts index 39e58ee6e32..513b2c736ab 100644 --- a/src/locales/fi/name/index.ts +++ b/src/locales/fi/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import name_ from './name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/fr/address/index.ts b/src/locales/fr/address/index.ts index c5eddee6afb..9df13565c94 100644 --- a/src/locales/fr/address/index.ts +++ b/src/locales/fr/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_name from './street_name'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_name, street_prefix, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/fr/company/index.ts b/src/locales/fr/company/index.ts index 9c2343931ad..a3e1cf1a24d 100644 --- a/src/locales/fr/company/index.ts +++ b/src/locales/fr/company/index.ts @@ -1,21 +1,26 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_adjective from './bs_adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, bs_adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as CompanyDefinitions; export default company; diff --git a/src/locales/fr/date/index.ts b/src/locales/fr/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/fr/date/index.ts +++ b/src/locales/fr/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/fr/index.ts b/src/locales/fr/index.ts index 917fef7a0d4..f8814c8e52b 100644 --- a/src/locales/fr/index.ts +++ b/src/locales/fr/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import date from './date'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const fr: LocaleDefinition = { @@ -14,7 +18,7 @@ const fr: LocaleDefinition = { date, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/fr/internet/index.ts b/src/locales/fr/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/fr/internet/index.ts +++ b/src/locales/fr/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/fr/lorem/index.ts b/src/locales/fr/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/fr/lorem/index.ts +++ b/src/locales/fr/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/fr/name/index.ts b/src/locales/fr/name/index.ts index 04f6b054430..ffd544db710 100644 --- a/src/locales/fr/name/index.ts +++ b/src/locales/fr/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import prefix from './prefix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/fr/phone_number/index.ts b/src/locales/fr/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/fr/phone_number/index.ts +++ b/src/locales/fr/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/fr_BE/address/index.ts b/src/locales/fr_BE/address/index.ts index d2ec75ae6ba..f1d0952b534 100644 --- a/src/locales/fr_BE/address/index.ts +++ b/src/locales/fr_BE/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -11,7 +16,7 @@ import street_name from './street_name'; import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; -const adresses: any = { +const address = { building_number, city, city_prefix, @@ -24,6 +29,6 @@ const adresses: any = { street_name, street_prefix, street_suffix, -}; +} as Partial; -export default adresses; +export default address; diff --git a/src/locales/fr_BE/index.ts b/src/locales/fr_BE/index.ts index 7d0a92a9481..addacf790ed 100644 --- a/src/locales/fr_BE/index.ts +++ b/src/locales/fr_BE/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const fr_BE: LocaleDefinition = { @@ -10,7 +14,7 @@ const fr_BE: LocaleDefinition = { address, cell_phone, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/fr_BE/internet/index.ts b/src/locales/fr_BE/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/fr_BE/internet/index.ts +++ b/src/locales/fr_BE/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/fr_BE/name/index.ts b/src/locales/fr_BE/name/index.ts index 3bd9a15e95d..806e2fdea57 100644 --- a/src/locales/fr_BE/name/index.ts +++ b/src/locales/fr_BE/name/index.ts @@ -1,19 +1,24 @@ -import first_name from './first_name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; -import male_first_name from './male_first_name'; +import first_name from './first_name'; import gender from './gender'; import last_name from './last_name'; +import male_first_name from './male_first_name'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { - first_name, +const name: Partial = { female_first_name, - male_first_name, + first_name, gender, last_name, + male_first_name, name: name_, prefix, suffix, diff --git a/src/locales/fr_BE/phone_number/index.ts b/src/locales/fr_BE/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/fr_BE/phone_number/index.ts +++ b/src/locales/fr_BE/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/fr_CA/address/index.ts b/src/locales/fr_CA/address/index.ts index 78fe2fa1684..71ef1ced84a 100644 --- a/src/locales/fr_CA/address/index.ts +++ b/src/locales/fr_CA/address/index.ts @@ -1,13 +1,18 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import default_country from './default_country'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; -const address: any = { +const address = { default_country, postcode, state, state_abbr, -}; +} as Partial; export default address; diff --git a/src/locales/fr_CA/index.ts b/src/locales/fr_CA/index.ts index 44ad48b7c6b..e093f895f58 100644 --- a/src/locales/fr_CA/index.ts +++ b/src/locales/fr_CA/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import internet from './internet'; diff --git a/src/locales/fr_CA/internet/index.ts b/src/locales/fr_CA/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/fr_CA/internet/index.ts +++ b/src/locales/fr_CA/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/fr_CA/phone_number/index.ts b/src/locales/fr_CA/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/fr_CA/phone_number/index.ts +++ b/src/locales/fr_CA/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/fr_CH/address/index.ts b/src/locales/fr_CH/address/index.ts index 54020dbe8f0..1ea3c8e7780 100644 --- a/src/locales/fr_CH/address/index.ts +++ b/src/locales/fr_CH/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_name from './city_name'; import country_code from './country_code'; @@ -5,13 +10,13 @@ import default_country from './default_country'; import postcode from './postcode'; import state from './state'; -const address: any = { +const address = { city, city_name, country_code, default_country, postcode, state, -}; +} as Partial; export default address; diff --git a/src/locales/fr_CH/index.ts b/src/locales/fr_CH/index.ts index 628040f04fc..860db8a2aa6 100644 --- a/src/locales/fr_CH/index.ts +++ b/src/locales/fr_CH/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import internet from './internet'; diff --git a/src/locales/fr_CH/internet/index.ts b/src/locales/fr_CH/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/fr_CH/internet/index.ts +++ b/src/locales/fr_CH/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/fr_CH/phone_number/index.ts b/src/locales/fr_CH/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/fr_CH/phone_number/index.ts +++ b/src/locales/fr_CH/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ge/address/index.ts b/src/locales/ge/address/index.ts index 04e6514ad88..e2f034ad344 100644 --- a/src/locales/ge/address/index.ts +++ b/src/locales/ge/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -12,7 +17,7 @@ import street_name from './street_name'; import street_suffix from './street_suffix'; import street_title from './street_title'; -const address: any = { +const address = { building_number, city, city_name, @@ -26,6 +31,6 @@ const address: any = { street_name, street_suffix, street_title, -}; +} as Partial; export default address; diff --git a/src/locales/ge/company/index.ts b/src/locales/ge/company/index.ts index 96b9db26153..37db74f5127 100644 --- a/src/locales/ge/company/index.ts +++ b/src/locales/ge/company/index.ts @@ -1,11 +1,16 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, prefix, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/ge/index.ts b/src/locales/ge/index.ts index f205d9cd16e..73d93f8ea23 100644 --- a/src/locales/ge/index.ts +++ b/src/locales/ge/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const ge: LocaleDefinition = { @@ -13,7 +17,7 @@ const ge: LocaleDefinition = { cell_phone, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/ge/internet/index.ts b/src/locales/ge/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/ge/internet/index.ts +++ b/src/locales/ge/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/ge/name/index.ts b/src/locales/ge/name/index.ts index f35b4a35749..77b4c2eb216 100644 --- a/src/locales/ge/name/index.ts +++ b/src/locales/ge/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; import prefix from './prefix'; import title from './title'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/ge/phone_number/index.ts b/src/locales/ge/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/ge/phone_number/index.ts +++ b/src/locales/ge/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/he/address/index.ts b/src/locales/he/address/index.ts index b37e5214900..b5c5cf38310 100644 --- a/src/locales/he/address/index.ts +++ b/src/locales/he/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -19,7 +24,7 @@ import street_name from './street_name'; import street_suffix from './street_suffix'; import time_zone from './time_zone'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -40,6 +45,6 @@ const address: any = { street_name, street_suffix, time_zone, -}; +} as Partial; export default address; diff --git a/src/locales/he/commerce/index.ts b/src/locales/he/commerce/index.ts index 74ccad9a532..2f3f890d61b 100644 --- a/src/locales/he/commerce/index.ts +++ b/src/locales/he/commerce/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_description from './product_description'; import product_name from './product_name'; -const commerce: any = { +const commerce: CommerceDefinitions = { color, department, product_description, diff --git a/src/locales/he/date/index.ts b/src/locales/he/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/he/date/index.ts +++ b/src/locales/he/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/he/index.ts b/src/locales/he/index.ts index a209aa68a2f..1ab59ac8ae1 100644 --- a/src/locales/he/index.ts +++ b/src/locales/he/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; @@ -5,7 +9,7 @@ import commerce from './commerce'; import date from './date'; import lorem from './lorem'; import music from './music'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const he: LocaleDefinition = { @@ -17,7 +21,7 @@ const he: LocaleDefinition = { date, lorem, music, - name, + name: name_, phone_number, }; diff --git a/src/locales/he/lorem/index.ts b/src/locales/he/lorem/index.ts index 62962376cd4..e1929cf1cfb 100644 --- a/src/locales/he/lorem/index.ts +++ b/src/locales/he/lorem/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import supplemental from './supplemental'; import words from './words'; -const lorem: any = { +const lorem = { supplemental, words, -}; +} as LoremDefinitions; export default lorem; diff --git a/src/locales/he/music/index.ts b/src/locales/he/music/index.ts index 54b9163ea41..45e23540c4d 100644 --- a/src/locales/he/music/index.ts +++ b/src/locales/he/music/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { MusicDefinitions } from '../../..'; import genre from './genre'; -const music: any = { +const music: MusicDefinitions = { genre, }; diff --git a/src/locales/he/name/index.ts b/src/locales/he/name/index.ts index 36943c6468a..806e2fdea57 100644 --- a/src/locales/he/name/index.ts +++ b/src/locales/he/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import gender from './gender'; @@ -8,7 +13,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, first_name, gender, diff --git a/src/locales/he/phone_number/index.ts b/src/locales/he/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/he/phone_number/index.ts +++ b/src/locales/he/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/hr/address/index.ts b/src/locales/hr/address/index.ts index 57cec763679..cc35ff34209 100644 --- a/src/locales/hr/address/index.ts +++ b/src/locales/hr/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -10,7 +15,7 @@ import street_address from './street_address'; import street_name from './street_name'; import time_zone from './time_zone'; -const address: any = { +const address = { building_number, city, city_name, @@ -22,6 +27,6 @@ const address: any = { street_address, street_name, time_zone, -}; +} as Partial; export default address; diff --git a/src/locales/hr/date/index.ts b/src/locales/hr/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/hr/date/index.ts +++ b/src/locales/hr/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/hr/index.ts b/src/locales/hr/index.ts index b23c7b2ca03..1a018d9f489 100644 --- a/src/locales/hr/index.ts +++ b/src/locales/hr/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import date from './date'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const hr: LocaleDefinition = { @@ -12,7 +16,7 @@ const hr: LocaleDefinition = { cell_phone, date, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/hr/internet/index.ts b/src/locales/hr/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/hr/internet/index.ts +++ b/src/locales/hr/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/hr/name/index.ts b/src/locales/hr/name/index.ts index 5a689544cbe..b8cd692accc 100644 --- a/src/locales/hr/name/index.ts +++ b/src/locales/hr/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -7,7 +12,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/hr/phone_number/index.ts b/src/locales/hr/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/hr/phone_number/index.ts +++ b/src/locales/hr/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/hy/address/index.ts b/src/locales/hy/address/index.ts index 46ac9d3e3c5..9ae58258dec 100644 --- a/src/locales/hy/address/index.ts +++ b/src/locales/hy/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -11,7 +16,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -24,6 +29,6 @@ const address: any = { street_address, street_name, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/hy/commerce/index.ts b/src/locales/hy/commerce/index.ts index 6dc98beaea1..8ad08ef73db 100644 --- a/src/locales/hy/commerce/index.ts +++ b/src/locales/hy/commerce/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; -const commerce: any = { +const commerce: Partial = { color, }; diff --git a/src/locales/hy/date/index.ts b/src/locales/hy/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/hy/date/index.ts +++ b/src/locales/hy/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/hy/index.ts b/src/locales/hy/index.ts index 8cc64e294a2..2f9da62ced9 100644 --- a/src/locales/hy/index.ts +++ b/src/locales/hy/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import commerce from './commerce'; import date from './date'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const hy: LocaleDefinition = { @@ -15,7 +19,7 @@ const hy: LocaleDefinition = { date, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/hy/internet/index.ts b/src/locales/hy/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/hy/internet/index.ts +++ b/src/locales/hy/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/hy/lorem/index.ts b/src/locales/hy/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/hy/lorem/index.ts +++ b/src/locales/hy/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/hy/name/index.ts b/src/locales/hy/name/index.ts index 39e58ee6e32..513b2c736ab 100644 --- a/src/locales/hy/name/index.ts +++ b/src/locales/hy/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import name_ from './name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/hy/phone_number/index.ts b/src/locales/hy/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/hy/phone_number/index.ts +++ b/src/locales/hy/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/id_ID/address/index.ts b/src/locales/id_ID/address/index.ts index 726665c0484..be871ff74c0 100644 --- a/src/locales/id_ID/address/index.ts +++ b/src/locales/id_ID/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -8,7 +13,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_prefix from './street_prefix'; -const address: any = { +const address = { building_number, city, city_name, @@ -18,6 +23,6 @@ const address: any = { street_address, street_name, street_prefix, -}; +} as Partial; export default address; diff --git a/src/locales/id_ID/company/index.ts b/src/locales/id_ID/company/index.ts index 96b9db26153..37db74f5127 100644 --- a/src/locales/id_ID/company/index.ts +++ b/src/locales/id_ID/company/index.ts @@ -1,11 +1,16 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, prefix, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/id_ID/date/index.ts b/src/locales/id_ID/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/id_ID/date/index.ts +++ b/src/locales/id_ID/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/id_ID/index.ts b/src/locales/id_ID/index.ts index d06cd6aadcb..aea5ce5bf67 100644 --- a/src/locales/id_ID/index.ts +++ b/src/locales/id_ID/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import date from './date'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const id_ID: LocaleDefinition = { @@ -12,7 +16,7 @@ const id_ID: LocaleDefinition = { company, date, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/id_ID/internet/index.ts b/src/locales/id_ID/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/id_ID/internet/index.ts +++ b/src/locales/id_ID/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/id_ID/name/index.ts b/src/locales/id_ID/name/index.ts index b3341bac830..57f814dc50d 100644 --- a/src/locales/id_ID/name/index.ts +++ b/src/locales/id_ID/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import female_title from './female_title'; @@ -8,7 +13,7 @@ import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const name: any = { +const name = { female_first_name, female_last_name, female_title, @@ -18,6 +23,6 @@ const name: any = { name: name_, prefix, suffix, -}; +} as Partial; export default name; diff --git a/src/locales/id_ID/phone_number/index.ts b/src/locales/id_ID/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/id_ID/phone_number/index.ts +++ b/src/locales/id_ID/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/it/address/index.ts b/src/locales/it/address/index.ts index ec6cf6e18a9..ce53ed7a17b 100644 --- a/src/locales/it/address/index.ts +++ b/src/locales/it/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -13,7 +18,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_name, @@ -28,6 +33,6 @@ const address: any = { street_address, street_name, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/it/company/index.ts b/src/locales/it/company/index.ts index 9c2343931ad..a3e1cf1a24d 100644 --- a/src/locales/it/company/index.ts +++ b/src/locales/it/company/index.ts @@ -1,21 +1,26 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_adjective from './bs_adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, bs_adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as CompanyDefinitions; export default company; diff --git a/src/locales/it/index.ts b/src/locales/it/index.ts index 3d59611f7d5..0156f5c493a 100644 --- a/src/locales/it/index.ts +++ b/src/locales/it/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const it: LocaleDefinition = { @@ -10,7 +14,7 @@ const it: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/it/internet/index.ts b/src/locales/it/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/it/internet/index.ts +++ b/src/locales/it/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/it/name/index.ts b/src/locales/it/name/index.ts index 40d909eb05f..c674f1a4112 100644 --- a/src/locales/it/name/index.ts +++ b/src/locales/it/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/it/phone_number/index.ts b/src/locales/it/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/it/phone_number/index.ts +++ b/src/locales/it/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ja/address/index.ts b/src/locales/ja/address/index.ts index 963182d30dc..3d45d62f852 100644 --- a/src/locales/ja/address/index.ts +++ b/src/locales/ja/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; @@ -7,7 +12,7 @@ import state from './state'; import state_abbr from './state_abbr'; import street_name from './street_name'; -const address: any = { +const address = { city, city_prefix, city_suffix, @@ -16,6 +21,6 @@ const address: any = { state, state_abbr, street_name, -}; +} as Partial; export default address; diff --git a/src/locales/ja/index.ts b/src/locales/ja/index.ts index a28c821ed06..151c8bdba68 100644 --- a/src/locales/ja/index.ts +++ b/src/locales/ja/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const ja: LocaleDefinition = { @@ -10,7 +14,7 @@ const ja: LocaleDefinition = { address, cell_phone, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/ja/lorem/index.ts b/src/locales/ja/lorem/index.ts index 62962376cd4..e1929cf1cfb 100644 --- a/src/locales/ja/lorem/index.ts +++ b/src/locales/ja/lorem/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import supplemental from './supplemental'; import words from './words'; -const lorem: any = { +const lorem = { supplemental, words, -}; +} as LoremDefinitions; export default lorem; diff --git a/src/locales/ja/name/index.ts b/src/locales/ja/name/index.ts index 13139f18d14..ad3a9da3211 100644 --- a/src/locales/ja/name/index.ts +++ b/src/locales/ja/name/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/ja/phone_number/index.ts b/src/locales/ja/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/ja/phone_number/index.ts +++ b/src/locales/ja/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ko/address/index.ts b/src/locales/ko/address/index.ts index 196829cc433..aab6f51bda6 100644 --- a/src/locales/ko/address/index.ts +++ b/src/locales/ko/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_name from './city_name'; import city_suffix from './city_suffix'; @@ -8,7 +13,7 @@ import street_name from './street_name'; import street_root from './street_root'; import street_suffix from './street_suffix'; -const address: any = { +const address = { city, city_name, city_suffix, @@ -18,6 +23,6 @@ const address: any = { street_name, street_root, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/ko/company/index.ts b/src/locales/ko/company/index.ts index 96b9db26153..37db74f5127 100644 --- a/src/locales/ko/company/index.ts +++ b/src/locales/ko/company/index.ts @@ -1,11 +1,16 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, prefix, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/ko/index.ts b/src/locales/ko/index.ts index 162a94bc694..0538044fcaa 100644 --- a/src/locales/ko/index.ts +++ b/src/locales/ko/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const ko: LocaleDefinition = { @@ -12,7 +16,7 @@ const ko: LocaleDefinition = { company, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/ko/internet/index.ts b/src/locales/ko/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/ko/internet/index.ts +++ b/src/locales/ko/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/ko/lorem/index.ts b/src/locales/ko/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/ko/lorem/index.ts +++ b/src/locales/ko/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/ko/name/index.ts b/src/locales/ko/name/index.ts index 13139f18d14..ad3a9da3211 100644 --- a/src/locales/ko/name/index.ts +++ b/src/locales/ko/name/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/ko/phone_number/index.ts b/src/locales/ko/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/ko/phone_number/index.ts +++ b/src/locales/ko/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/lv/address/index.ts b/src/locales/lv/address/index.ts index 1799e52a19d..22f6789f781 100644 --- a/src/locales/lv/address/index.ts +++ b/src/locales/lv/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_name from './street_name'; import street_suffix from './street_suffix'; import street_title from './street_title'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_name, street_suffix, street_title, -}; +} as Partial; export default address; diff --git a/src/locales/lv/commerce/index.ts b/src/locales/lv/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/lv/commerce/index.ts +++ b/src/locales/lv/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/lv/company/index.ts b/src/locales/lv/company/index.ts index 96b9db26153..37db74f5127 100644 --- a/src/locales/lv/company/index.ts +++ b/src/locales/lv/company/index.ts @@ -1,11 +1,16 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, prefix, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/lv/date/index.ts b/src/locales/lv/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/lv/date/index.ts +++ b/src/locales/lv/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/lv/index.ts b/src/locales/lv/index.ts index d2c0b3bc541..31fe8253057 100644 --- a/src/locales/lv/index.ts +++ b/src/locales/lv/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; @@ -6,7 +10,7 @@ import company from './company'; import date from './date'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const lv: LocaleDefinition = { @@ -19,7 +23,7 @@ const lv: LocaleDefinition = { date, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/lv/internet/index.ts b/src/locales/lv/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/lv/internet/index.ts +++ b/src/locales/lv/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/lv/lorem/index.ts b/src/locales/lv/lorem/index.ts index 62962376cd4..e1929cf1cfb 100644 --- a/src/locales/lv/lorem/index.ts +++ b/src/locales/lv/lorem/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import supplemental from './supplemental'; import words from './words'; -const lorem: any = { +const lorem = { supplemental, words, -}; +} as LoremDefinitions; export default lorem; diff --git a/src/locales/lv/name/index.ts b/src/locales/lv/name/index.ts index bb3f8b17b4d..4a67aef6628 100644 --- a/src/locales/lv/name/index.ts +++ b/src/locales/lv/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import male_first_name from './male_first_name'; @@ -7,7 +12,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, female_last_name, male_first_name, diff --git a/src/locales/lv/phone_number/index.ts b/src/locales/lv/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/lv/phone_number/index.ts +++ b/src/locales/lv/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/mk/address/index.ts b/src/locales/mk/address/index.ts index 845b9478820..52320c09bbf 100644 --- a/src/locales/mk/address/index.ts +++ b/src/locales/mk/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -9,7 +14,7 @@ import street from './street'; import street_address from './street_address'; import street_name from './street_name'; -const address: any = { +const address = { building_number, city, city_name, @@ -20,6 +25,6 @@ const address: any = { street, street_address, street_name, -}; +} as Partial; export default address; diff --git a/src/locales/mk/company/index.ts b/src/locales/mk/company/index.ts index 598c8a508ee..d6c3f79860a 100644 --- a/src/locales/mk/company/index.ts +++ b/src/locales/mk/company/index.ts @@ -1,9 +1,14 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/mk/date/index.ts b/src/locales/mk/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/mk/date/index.ts +++ b/src/locales/mk/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/mk/index.ts b/src/locales/mk/index.ts index e6b86377e33..d481184bc1e 100644 --- a/src/locales/mk/index.ts +++ b/src/locales/mk/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import company from './company'; import date from './date'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const mk: LocaleDefinition = { @@ -15,7 +19,7 @@ const mk: LocaleDefinition = { company, date, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/mk/internet/index.ts b/src/locales/mk/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/mk/internet/index.ts +++ b/src/locales/mk/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/mk/name/index.ts b/src/locales/mk/name/index.ts index 2093979c3de..db8c210f552 100644 --- a/src/locales/mk/name/index.ts +++ b/src/locales/mk/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import female_prefix from './female_prefix'; @@ -11,7 +16,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, female_last_name, female_prefix, diff --git a/src/locales/mk/phone_number/index.ts b/src/locales/mk/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/mk/phone_number/index.ts +++ b/src/locales/mk/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/nb_NO/address/index.ts b/src/locales/nb_NO/address/index.ts index 1b087fbb887..055bcc64617 100644 --- a/src/locales/nb_NO/address/index.ts +++ b/src/locales/nb_NO/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_root from './city_root'; @@ -13,7 +18,7 @@ import street_prefix from './street_prefix'; import street_root from './street_root'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_root, @@ -28,6 +33,6 @@ const address: any = { street_prefix, street_root, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/nb_NO/company/index.ts b/src/locales/nb_NO/company/index.ts index 598c8a508ee..d6c3f79860a 100644 --- a/src/locales/nb_NO/company/index.ts +++ b/src/locales/nb_NO/company/index.ts @@ -1,9 +1,14 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/nb_NO/index.ts b/src/locales/nb_NO/index.ts index f4b1bc17b11..443e149f8ad 100644 --- a/src/locales/nb_NO/index.ts +++ b/src/locales/nb_NO/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const nb_NO: LocaleDefinition = { @@ -10,7 +14,7 @@ const nb_NO: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/nb_NO/internet/index.ts b/src/locales/nb_NO/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/nb_NO/internet/index.ts +++ b/src/locales/nb_NO/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/nb_NO/name/index.ts b/src/locales/nb_NO/name/index.ts index 40d909eb05f..c674f1a4112 100644 --- a/src/locales/nb_NO/name/index.ts +++ b/src/locales/nb_NO/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/nb_NO/phone_number/index.ts b/src/locales/nb_NO/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/nb_NO/phone_number/index.ts +++ b/src/locales/nb_NO/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ne/address/index.ts b/src/locales/ne/address/index.ts index c4f433aedf9..337bd6260d9 100644 --- a/src/locales/ne/address/index.ts +++ b/src/locales/ne/address/index.ts @@ -1,13 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import default_country from './default_country'; -import postcode from './postcode'; import state from './state'; -const address: any = { +const address = { city, default_country, - postcode, state, -}; +} as Partial; export default address; diff --git a/src/locales/ne/address/postcode.ts b/src/locales/ne/address/postcode.ts deleted file mode 100644 index 4acc159b107..00000000000 --- a/src/locales/ne/address/postcode.ts +++ /dev/null @@ -1 +0,0 @@ -export default [0]; diff --git a/src/locales/ne/company/index.ts b/src/locales/ne/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/ne/company/index.ts +++ b/src/locales/ne/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/ne/index.ts b/src/locales/ne/index.ts index 5623dbea9a8..3a0a79d1e64 100644 --- a/src/locales/ne/index.ts +++ b/src/locales/ne/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const ne: LocaleDefinition = { @@ -10,7 +14,7 @@ const ne: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/ne/internet/index.ts b/src/locales/ne/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/ne/internet/index.ts +++ b/src/locales/ne/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/ne/name/index.ts b/src/locales/ne/name/index.ts index c9692ba99dd..a55032a062e 100644 --- a/src/locales/ne/name/index.ts +++ b/src/locales/ne/name/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; -const name: any = { +const name: Partial = { first_name, last_name, }; diff --git a/src/locales/ne/phone_number/index.ts b/src/locales/ne/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/ne/phone_number/index.ts +++ b/src/locales/ne/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/nl/address/index.ts b/src/locales/nl/address/index.ts index fe908cc401e..1c98e9fcc99 100644 --- a/src/locales/nl/address/index.ts +++ b/src/locales/nl/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -11,7 +16,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -24,6 +29,6 @@ const address: any = { street_address, street_name, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/nl/commerce/index.ts b/src/locales/nl/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/nl/commerce/index.ts +++ b/src/locales/nl/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/nl/company/index.ts b/src/locales/nl/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/nl/company/index.ts +++ b/src/locales/nl/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/nl/date/index.ts b/src/locales/nl/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/nl/date/index.ts +++ b/src/locales/nl/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/nl/hacker/index.ts b/src/locales/nl/hacker/index.ts index 12c95cf77dc..8c41988fa74 100644 --- a/src/locales/nl/hacker/index.ts +++ b/src/locales/nl/hacker/index.ts @@ -1,4 +1,8 @@ -import type { HackerDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { HackerDefinitions } from '../../..'; import adjective from './adjective'; import noun from './noun'; import phrase from './phrase'; diff --git a/src/locales/nl/index.ts b/src/locales/nl/index.ts index 4a5664b7f72..7dc23561174 100644 --- a/src/locales/nl/index.ts +++ b/src/locales/nl/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import commerce from './commerce'; @@ -6,7 +10,7 @@ import date from './date'; import hacker from './hacker'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const nl: LocaleDefinition = { @@ -18,7 +22,7 @@ const nl: LocaleDefinition = { hacker, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/nl/internet/index.ts b/src/locales/nl/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/nl/internet/index.ts +++ b/src/locales/nl/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/nl/lorem/index.ts b/src/locales/nl/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/nl/lorem/index.ts +++ b/src/locales/nl/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/nl/name/index.ts b/src/locales/nl/name/index.ts index d691306317e..12b174cfe51 100644 --- a/src/locales/nl/name/index.ts +++ b/src/locales/nl/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -7,7 +12,7 @@ import prefix from './prefix'; import suffix from './suffix'; import tussenvoegsel from './tussenvoegsel'; -const name: any = { +const name = { female_first_name, first_name, last_name, @@ -16,6 +21,6 @@ const name: any = { prefix, suffix, tussenvoegsel, -}; +} as Partial; export default name; diff --git a/src/locales/nl/phone_number/index.ts b/src/locales/nl/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/nl/phone_number/index.ts +++ b/src/locales/nl/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/nl_BE/address/index.ts b/src/locales/nl_BE/address/index.ts index 1741ab99ef0..9aea3c013c7 100644 --- a/src/locales/nl_BE/address/index.ts +++ b/src/locales/nl_BE/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -11,7 +16,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -24,6 +29,6 @@ const address: any = { street_address, street_name, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/nl_BE/company/index.ts b/src/locales/nl_BE/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/nl_BE/company/index.ts +++ b/src/locales/nl_BE/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/nl_BE/index.ts b/src/locales/nl_BE/index.ts index b596bb8eeae..e7079699b96 100644 --- a/src/locales/nl_BE/index.ts +++ b/src/locales/nl_BE/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const nl_BE: LocaleDefinition = { @@ -10,7 +14,7 @@ const nl_BE: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/nl_BE/internet/index.ts b/src/locales/nl_BE/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/nl_BE/internet/index.ts +++ b/src/locales/nl_BE/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/nl_BE/name/index.ts b/src/locales/nl_BE/name/index.ts index 7f3080198db..4023f7d7cb0 100644 --- a/src/locales/nl_BE/name/index.ts +++ b/src/locales/nl_BE/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/nl_BE/phone_number/index.ts b/src/locales/nl_BE/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/nl_BE/phone_number/index.ts +++ b/src/locales/nl_BE/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/pl/address/index.ts b/src/locales/pl/address/index.ts index be85698ff8b..9aba4efbebc 100644 --- a/src/locales/pl/address/index.ts +++ b/src/locales/pl/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_prefix from './street_prefix'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_address, street_name, street_prefix, -}; +} as Partial; export default address; diff --git a/src/locales/pl/company/index.ts b/src/locales/pl/company/index.ts index ec08eefe63d..0ab3ff592e6 100644 --- a/src/locales/pl/company/index.ts +++ b/src/locales/pl/company/index.ts @@ -1,21 +1,26 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjetive from './adjetive'; import bs_adjective from './bs_adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjetive, bs_adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/pl/index.ts b/src/locales/pl/index.ts index 56572e476a0..c08a3ec8ab6 100644 --- a/src/locales/pl/index.ts +++ b/src/locales/pl/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import company from './company'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const pl: LocaleDefinition = { @@ -14,7 +18,7 @@ const pl: LocaleDefinition = { company, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/pl/internet/index.ts b/src/locales/pl/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/pl/internet/index.ts +++ b/src/locales/pl/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/pl/lorem/index.ts b/src/locales/pl/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/pl/lorem/index.ts +++ b/src/locales/pl/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/pl/name/index.ts b/src/locales/pl/name/index.ts index 04f6b054430..ffd544db710 100644 --- a/src/locales/pl/name/index.ts +++ b/src/locales/pl/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import prefix from './prefix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/pl/phone_number/index.ts b/src/locales/pl/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/pl/phone_number/index.ts +++ b/src/locales/pl/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/pt_BR/address/index.ts b/src/locales/pt_BR/address/index.ts index 3387d774929..27ad3901bdc 100644 --- a/src/locales/pt_BR/address/index.ts +++ b/src/locales/pt_BR/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; @@ -9,7 +14,7 @@ import state from './state'; import state_abbr from './state_abbr'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city_prefix, city_suffix, @@ -20,6 +25,6 @@ const address: any = { state, state_abbr, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/pt_BR/commerce/index.ts b/src/locales/pt_BR/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/pt_BR/commerce/index.ts +++ b/src/locales/pt_BR/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/pt_BR/company/index.ts b/src/locales/pt_BR/company/index.ts index 598c8a508ee..d6c3f79860a 100644 --- a/src/locales/pt_BR/company/index.ts +++ b/src/locales/pt_BR/company/index.ts @@ -1,9 +1,14 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/pt_BR/date/index.ts b/src/locales/pt_BR/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/pt_BR/date/index.ts +++ b/src/locales/pt_BR/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/pt_BR/index.ts b/src/locales/pt_BR/index.ts index 4009a1489b1..a23c5227aba 100644 --- a/src/locales/pt_BR/index.ts +++ b/src/locales/pt_BR/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import commerce from './commerce'; @@ -5,7 +9,7 @@ import company from './company'; import date from './date'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const pt_BR: LocaleDefinition = { @@ -16,7 +20,7 @@ const pt_BR: LocaleDefinition = { date, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/pt_BR/internet/index.ts b/src/locales/pt_BR/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/pt_BR/internet/index.ts +++ b/src/locales/pt_BR/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/pt_BR/lorem/index.ts b/src/locales/pt_BR/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/pt_BR/lorem/index.ts +++ b/src/locales/pt_BR/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/pt_BR/name/index.ts b/src/locales/pt_BR/name/index.ts index 9553803f382..335315b9411 100644 --- a/src/locales/pt_BR/name/index.ts +++ b/src/locales/pt_BR/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import binary_gender from './binary_gender'; import female_first_name from './female_first_name'; import first_name from './first_name'; @@ -8,7 +13,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { binary_gender, female_first_name, first_name, diff --git a/src/locales/pt_BR/phone_number/index.ts b/src/locales/pt_BR/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/pt_BR/phone_number/index.ts +++ b/src/locales/pt_BR/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/pt_PT/address/index.ts b/src/locales/pt_PT/address/index.ts index 977c054d059..d0a5e21203d 100644 --- a/src/locales/pt_PT/address/index.ts +++ b/src/locales/pt_PT/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_prefix from './street_prefix'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_address, street_name, street_prefix, -}; +} as Partial; export default address; diff --git a/src/locales/pt_PT/commerce/index.ts b/src/locales/pt_PT/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/pt_PT/commerce/index.ts +++ b/src/locales/pt_PT/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/pt_PT/date/index.ts b/src/locales/pt_PT/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/pt_PT/date/index.ts +++ b/src/locales/pt_PT/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/pt_PT/index.ts b/src/locales/pt_PT/index.ts index 5cd931c8b12..cd2281d8808 100644 --- a/src/locales/pt_PT/index.ts +++ b/src/locales/pt_PT/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import commerce from './commerce'; import date from './date'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const pt_PT: LocaleDefinition = { @@ -14,7 +18,7 @@ const pt_PT: LocaleDefinition = { commerce, date, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/pt_PT/internet/index.ts b/src/locales/pt_PT/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/pt_PT/internet/index.ts +++ b/src/locales/pt_PT/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/pt_PT/name/index.ts b/src/locales/pt_PT/name/index.ts index f5e42ec7131..8c4f03946d4 100644 --- a/src/locales/pt_PT/name/index.ts +++ b/src/locales/pt_PT/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_prefix from './female_prefix'; import first_name from './first_name'; @@ -8,7 +13,7 @@ import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const name: any = { +const name: Partial = { female_first_name, female_prefix, first_name, diff --git a/src/locales/pt_PT/phone_number/index.ts b/src/locales/pt_PT/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/pt_PT/phone_number/index.ts +++ b/src/locales/pt_PT/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ro/address/index.ts b/src/locales/ro/address/index.ts index 16b4c39db6a..9b4199f6e12 100644 --- a/src/locales/ro/address/index.ts +++ b/src/locales/ro/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import county from './county'; @@ -6,12 +11,12 @@ import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; import state_abbr from './state_abbr'; +import streets from './streets'; import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -import streets from './streets'; -const address: any = { +const address = { building_number, city, county, @@ -20,10 +25,10 @@ const address: any = { secondary_address, state, state_abbr, + streets, street_address, street_name, street_suffix, - streets, -}; +} as Partial; export default address; diff --git a/src/locales/ro/date/index.ts b/src/locales/ro/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/ro/date/index.ts +++ b/src/locales/ro/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/ro/index.ts b/src/locales/ro/index.ts index a41a7605579..22f0d5c9b13 100644 --- a/src/locales/ro/index.ts +++ b/src/locales/ro/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import date from './date'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const ro: LocaleDefinition = { @@ -12,7 +16,7 @@ const ro: LocaleDefinition = { cell_phone, date, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/ro/internet/index.ts b/src/locales/ro/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/ro/internet/index.ts +++ b/src/locales/ro/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/ro/name/index.ts b/src/locales/ro/name/index.ts index d625e0dd0d1..9405aa80f40 100644 --- a/src/locales/ro/name/index.ts +++ b/src/locales/ro/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; @@ -5,7 +10,7 @@ import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const name: any = { +const name: Partial = { female_first_name, last_name, male_first_name, diff --git a/src/locales/ro/phone_number/index.ts b/src/locales/ro/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/ro/phone_number/index.ts +++ b/src/locales/ro/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ru/address/index.ts b/src/locales/ru/address/index.ts index 1799e52a19d..22f6789f781 100644 --- a/src/locales/ru/address/index.ts +++ b/src/locales/ru/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -11,7 +16,7 @@ import street_name from './street_name'; import street_suffix from './street_suffix'; import street_title from './street_title'; -const address: any = { +const address = { building_number, city, city_name, @@ -24,6 +29,6 @@ const address: any = { street_name, street_suffix, street_title, -}; +} as Partial; export default address; diff --git a/src/locales/ru/commerce/index.ts b/src/locales/ru/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/ru/commerce/index.ts +++ b/src/locales/ru/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/ru/company/index.ts b/src/locales/ru/company/index.ts index 96b9db26153..37db74f5127 100644 --- a/src/locales/ru/company/index.ts +++ b/src/locales/ru/company/index.ts @@ -1,11 +1,16 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, prefix, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/ru/date/index.ts b/src/locales/ru/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/ru/date/index.ts +++ b/src/locales/ru/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/ru/hacker/index.ts b/src/locales/ru/hacker/index.ts index d19ca4b25d0..aa45642882b 100644 --- a/src/locales/ru/hacker/index.ts +++ b/src/locales/ru/hacker/index.ts @@ -1,4 +1,8 @@ -import type { HackerDefinitions } from '../../../definitions'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { HackerDefinitions } from '../../..'; import abbreviation from './abbreviation'; import adjective from './adjective'; import ingverb from './ingverb'; @@ -6,7 +10,7 @@ import noun from './noun'; import phrase from './phrase'; import verb from './verb'; -const hacker: Partial = { +const hacker: HackerDefinitions = { abbreviation, adjective, ingverb, diff --git a/src/locales/ru/index.ts b/src/locales/ru/index.ts index 18b1e5c6b19..b536671482c 100644 --- a/src/locales/ru/index.ts +++ b/src/locales/ru/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import commerce from './commerce'; @@ -6,7 +10,7 @@ import date from './date'; import hacker from './hacker'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const ru: LocaleDefinition = { @@ -19,7 +23,7 @@ const ru: LocaleDefinition = { hacker, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/ru/internet/index.ts b/src/locales/ru/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/ru/internet/index.ts +++ b/src/locales/ru/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/ru/lorem/index.ts b/src/locales/ru/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/ru/lorem/index.ts +++ b/src/locales/ru/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/ru/name/index.ts b/src/locales/ru/name/index.ts index 0e77c2805c6..b9493154138 100644 --- a/src/locales/ru/name/index.ts +++ b/src/locales/ru/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import female_middle_name from './female_middle_name'; @@ -9,7 +14,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, female_last_name, female_middle_name, diff --git a/src/locales/ru/phone_number/index.ts b/src/locales/ru/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/ru/phone_number/index.ts +++ b/src/locales/ru/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/sk/address/index.ts b/src/locales/sk/address/index.ts index e66aeb98731..009d9ad9a3a 100644 --- a/src/locales/sk/address/index.ts +++ b/src/locales/sk/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -13,7 +18,7 @@ import street from './street'; import street_address from './street_address'; import street_name from './street_name'; -const address: any = { +const address = { building_number, city, city_name, @@ -28,6 +33,6 @@ const address: any = { street, street_address, street_name, -}; +} as Partial; export default address; diff --git a/src/locales/sk/company/index.ts b/src/locales/sk/company/index.ts index 2aa6ff7010d..c4694c68bce 100644 --- a/src/locales/sk/company/index.ts +++ b/src/locales/sk/company/index.ts @@ -1,19 +1,24 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import adjective from './adjective'; import bs_noun from './bs_noun'; import bs_verb from './bs_verb'; import descriptor from './descriptor'; -import name from './name'; +import name_ from './name'; import noun from './noun'; import suffix from './suffix'; -const company: any = { +const company = { adjective, bs_noun, bs_verb, descriptor, - name, + name: name_, noun, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/sk/index.ts b/src/locales/sk/index.ts index d57002b6dcc..cbdffc6823b 100644 --- a/src/locales/sk/index.ts +++ b/src/locales/sk/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const sk: LocaleDefinition = { @@ -12,7 +16,7 @@ const sk: LocaleDefinition = { company, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/sk/internet/index.ts b/src/locales/sk/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/sk/internet/index.ts +++ b/src/locales/sk/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/sk/lorem/index.ts b/src/locales/sk/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/sk/lorem/index.ts +++ b/src/locales/sk/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/sk/name/index.ts b/src/locales/sk/name/index.ts index bb3f8b17b4d..4a67aef6628 100644 --- a/src/locales/sk/name/index.ts +++ b/src/locales/sk/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import male_first_name from './male_first_name'; @@ -7,7 +12,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, female_last_name, male_first_name, diff --git a/src/locales/sk/phone_number/index.ts b/src/locales/sk/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/sk/phone_number/index.ts +++ b/src/locales/sk/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/sv/address/index.ts b/src/locales/sv/address/index.ts index d05a7259af3..addb740d0a1 100644 --- a/src/locales/sv/address/index.ts +++ b/src/locales/sv/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -14,7 +19,7 @@ import street_prefix from './street_prefix'; import street_root from './street_root'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -30,6 +35,6 @@ const address: any = { street_prefix, street_root, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/sv/commerce/index.ts b/src/locales/sv/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/sv/commerce/index.ts +++ b/src/locales/sv/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/sv/company/index.ts b/src/locales/sv/company/index.ts index 598c8a508ee..d6c3f79860a 100644 --- a/src/locales/sv/company/index.ts +++ b/src/locales/sv/company/index.ts @@ -1,9 +1,14 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/sv/date/index.ts b/src/locales/sv/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/sv/date/index.ts +++ b/src/locales/sv/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/sv/index.ts b/src/locales/sv/index.ts index fae0cfd07dd..dc0f098593d 100644 --- a/src/locales/sv/index.ts +++ b/src/locales/sv/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; @@ -5,7 +9,7 @@ import commerce from './commerce'; import company from './company'; import date from './date'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; import team from './team'; @@ -17,7 +21,7 @@ const sv: LocaleDefinition = { company, date, internet, - name, + name: name_, phone_number, team, }; diff --git a/src/locales/sv/internet/index.ts b/src/locales/sv/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/sv/internet/index.ts +++ b/src/locales/sv/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/sv/name/index.ts b/src/locales/sv/name/index.ts index 04f6b054430..ffd544db710 100644 --- a/src/locales/sv/name/index.ts +++ b/src/locales/sv/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -6,7 +11,7 @@ import name_ from './name'; import prefix from './prefix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/sv/phone_number/index.ts b/src/locales/sv/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/sv/phone_number/index.ts +++ b/src/locales/sv/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/tr/address/index.ts b/src/locales/tr/address/index.ts index e8640b9838a..62a2b1b2de6 100644 --- a/src/locales/tr/address/index.ts +++ b/src/locales/tr/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import country from './country'; @@ -7,7 +12,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_root from './street_root'; -const address: any = { +const address = { building_number, city, country, @@ -16,6 +21,6 @@ const address: any = { street_address, street_name, street_root, -}; +} as Partial; export default address; diff --git a/src/locales/tr/commerce/index.ts b/src/locales/tr/commerce/index.ts index 74ccad9a532..2f3f890d61b 100644 --- a/src/locales/tr/commerce/index.ts +++ b/src/locales/tr/commerce/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_description from './product_description'; import product_name from './product_name'; -const commerce: any = { +const commerce: CommerceDefinitions = { color, department, product_description, diff --git a/src/locales/tr/index.ts b/src/locales/tr/index.ts index 010e2f6e69f..7a7fac2ff9d 100644 --- a/src/locales/tr/index.ts +++ b/src/locales/tr/index.ts @@ -1,10 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import commerce from './commerce'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const tr: LocaleDefinition = { @@ -14,7 +18,7 @@ const tr: LocaleDefinition = { commerce, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/tr/internet/index.ts b/src/locales/tr/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/tr/internet/index.ts +++ b/src/locales/tr/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/tr/lorem/index.ts b/src/locales/tr/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/tr/lorem/index.ts +++ b/src/locales/tr/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/tr/name/index.ts b/src/locales/tr/name/index.ts index 40462116e40..54b02001916 100644 --- a/src/locales/tr/name/index.ts +++ b/src/locales/tr/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; @@ -5,7 +10,7 @@ import male_first_name from './male_first_name'; import name_ from './name'; import prefix from './prefix'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/tr/phone_number/index.ts b/src/locales/tr/phone_number/index.ts index 4810ee366f2..aaad7ae5f0e 100644 --- a/src/locales/tr/phone_number/index.ts +++ b/src/locales/tr/phone_number/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import area_code from './area_code'; import formats from './formats'; -const phone_number: any = { +const phone_number = { area_code, formats, -}; +} as PhoneNumberDefinitions; export default phone_number; diff --git a/src/locales/uk/address/index.ts b/src/locales/uk/address/index.ts index 2ff4a2f6565..7eb3421ccbb 100644 --- a/src/locales/uk/address/index.ts +++ b/src/locales/uk/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -14,7 +19,7 @@ import street_prefix from './street_prefix'; import street_suffix from './street_suffix'; import street_title from './street_title'; -const address: any = { +const address = { building_number, city, city_name, @@ -30,6 +35,6 @@ const address: any = { street_prefix, street_suffix, street_title, -}; +} as Partial; export default address; diff --git a/src/locales/uk/company/index.ts b/src/locales/uk/company/index.ts index 96b9db26153..37db74f5127 100644 --- a/src/locales/uk/company/index.ts +++ b/src/locales/uk/company/index.ts @@ -1,11 +1,16 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; import suffix from './suffix'; -const company: any = { - name, +const company = { + name: name_, prefix, suffix, -}; +} as Partial; export default company; diff --git a/src/locales/uk/index.ts b/src/locales/uk/index.ts index bc30e0222ad..f09ceaa0b54 100644 --- a/src/locales/uk/index.ts +++ b/src/locales/uk/index.ts @@ -1,8 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const uk: LocaleDefinition = { @@ -10,7 +14,7 @@ const uk: LocaleDefinition = { address, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/uk/internet/index.ts b/src/locales/uk/internet/index.ts index 64484b1ba3d..c73e7beb6b3 100644 --- a/src/locales/uk/internet/index.ts +++ b/src/locales/uk/internet/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; import free_email from './free_email'; -const internet: any = { +const internet: Partial = { domain_suffix, free_email, }; diff --git a/src/locales/uk/name/index.ts b/src/locales/uk/name/index.ts index 0e77c2805c6..b9493154138 100644 --- a/src/locales/uk/name/index.ts +++ b/src/locales/uk/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import female_last_name from './female_last_name'; import female_middle_name from './female_middle_name'; @@ -9,7 +14,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { female_first_name, female_last_name, female_middle_name, diff --git a/src/locales/uk/phone_number/index.ts b/src/locales/uk/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/uk/phone_number/index.ts +++ b/src/locales/uk/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/ur/address/index.ts b/src/locales/ur/address/index.ts index 81f49e00db3..312e90271ab 100644 --- a/src/locales/ur/address/index.ts +++ b/src/locales/ur/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_name from './city_name'; @@ -15,7 +20,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_name, @@ -32,6 +37,6 @@ const address: any = { street_address, street_name, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/ur/animal/index.ts b/src/locales/ur/animal/index.ts index f1fbb0b9a27..20a7eb60a3e 100644 --- a/src/locales/ur/animal/index.ts +++ b/src/locales/ur/animal/index.ts @@ -1,17 +1,22 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AnimalDefinitions } from '../../..'; import bear from './bear'; import cow from './cow'; import crocodilia from './crocodilia'; import insect from './insect'; import lion from './lion'; -import type from './type'; +import type_ from './type'; -const animal: any = { +const animal: Partial = { bear, cow, crocodilia, insect, lion, - type, + type: type_, }; export default animal; diff --git a/src/locales/ur/commerce/index.ts b/src/locales/ur/commerce/index.ts index e11257a73db..621c60571bb 100644 --- a/src/locales/ur/commerce/index.ts +++ b/src/locales/ur/commerce/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CommerceDefinitions } from '../../..'; import color from './color'; import department from './department'; import product_name from './product_name'; -const commerce: any = { +const commerce: Partial = { color, department, product_name, diff --git a/src/locales/ur/date/index.ts b/src/locales/ur/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/ur/date/index.ts +++ b/src/locales/ur/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/ur/date/month.ts b/src/locales/ur/date/month.ts index 8297452e7ab..98df66f094f 100644 --- a/src/locales/ur/date/month.ts +++ b/src/locales/ur/date/month.ts @@ -1,3 +1,5 @@ +import type { DateEntryDefinition } from '../../../definitions'; + export default { wide: [ 'جنوری', @@ -27,4 +29,4 @@ export default { 'نومبر', 'دسمبر', ], -}; +} as DateEntryDefinition; diff --git a/src/locales/ur/date/weekday.ts b/src/locales/ur/date/weekday.ts index da631a2fbca..2df6fb2dc4b 100644 --- a/src/locales/ur/date/weekday.ts +++ b/src/locales/ur/date/weekday.ts @@ -1,4 +1,6 @@ +import type { DateEntryDefinition } from '../../../definitions'; + export default { wide: ['اتور', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], wide_context: ['اتور', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], -}; +} as DateEntryDefinition; diff --git a/src/locales/ur/finance/index.ts b/src/locales/ur/finance/index.ts index 53d29c33796..d1e16a9991c 100644 --- a/src/locales/ur/finance/index.ts +++ b/src/locales/ur/finance/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { FinanceDefinitions } from '../../..'; import account_type from './account_type'; import transaction_type from './transaction_type'; -const finance: any = { +const finance: Partial = { account_type, transaction_type, }; diff --git a/src/locales/ur/index.ts b/src/locales/ur/index.ts index bdf68bde30e..49aae08e2a2 100644 --- a/src/locales/ur/index.ts +++ b/src/locales/ur/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import animal from './animal'; @@ -9,7 +13,7 @@ import date from './date'; import finance from './finance'; import lorem from './lorem'; import music from './music'; -import name from './name'; +import name_ from './name'; import team from './team'; import vehicle from './vehicle'; @@ -26,7 +30,7 @@ const ur: LocaleDefinition = { finance, lorem, music, - name, + name: name_, team, vehicle, }; diff --git a/src/locales/ur/lorem/index.ts b/src/locales/ur/lorem/index.ts index 62962376cd4..e1929cf1cfb 100644 --- a/src/locales/ur/lorem/index.ts +++ b/src/locales/ur/lorem/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import supplemental from './supplemental'; import words from './words'; -const lorem: any = { +const lorem = { supplemental, words, -}; +} as LoremDefinitions; export default lorem; diff --git a/src/locales/ur/music/index.ts b/src/locales/ur/music/index.ts index 54b9163ea41..45e23540c4d 100644 --- a/src/locales/ur/music/index.ts +++ b/src/locales/ur/music/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { MusicDefinitions } from '../../..'; import genre from './genre'; -const music: any = { +const music: MusicDefinitions = { genre, }; diff --git a/src/locales/ur/name/index.ts b/src/locales/ur/name/index.ts index 9553803f382..335315b9411 100644 --- a/src/locales/ur/name/index.ts +++ b/src/locales/ur/name/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import binary_gender from './binary_gender'; import female_first_name from './female_first_name'; import first_name from './first_name'; @@ -8,7 +13,7 @@ import prefix from './prefix'; import suffix from './suffix'; import title from './title'; -const name: any = { +const name: Partial = { binary_gender, female_first_name, first_name, diff --git a/src/locales/ur/name/title.ts b/src/locales/ur/name/title.ts index 42ea17356e1..76461074296 100644 --- a/src/locales/ur/name/title.ts +++ b/src/locales/ur/name/title.ts @@ -1,3 +1,5 @@ +import type { NameTitleDefinitions } from '../../../definitions'; + export default { descriptor: [ 'سربراہ', @@ -31,4 +33,4 @@ export default { 'بات چیت', 'جال', ], -}; +} as NameTitleDefinitions; diff --git a/src/locales/ur/vehicle/index.ts b/src/locales/ur/vehicle/index.ts index f48d68b37d1..89218281f3c 100644 --- a/src/locales/ur/vehicle/index.ts +++ b/src/locales/ur/vehicle/index.ts @@ -1,15 +1,20 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { VehicleDefinitions } from '../../..'; import bicycle from './bicycle'; import fuel from './fuel'; import manufacturer from './manufacturer'; import model from './model'; import type_ from './type'; -const vehicle: any = { +const vehicle = { bicycle, fuel, manufacturer, model, type: type_, -}; +} as Partial; export default vehicle; diff --git a/src/locales/vi/address/index.ts b/src/locales/vi/address/index.ts index 2d51dec92b7..95ae439c18d 100644 --- a/src/locales/vi/address/index.ts +++ b/src/locales/vi/address/index.ts @@ -1,15 +1,20 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import city from './city'; import city_root from './city_root'; import country from './country'; import default_country from './default_country'; import postcode from './postcode'; -const address: any = { +const address = { city, city_root, country, default_country, postcode, -}; +} as Partial; export default address; diff --git a/src/locales/vi/company/index.ts b/src/locales/vi/company/index.ts index 7d370c823e1..204b062829e 100644 --- a/src/locales/vi/company/index.ts +++ b/src/locales/vi/company/index.ts @@ -1,9 +1,14 @@ -import name from './name'; +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import name_ from './name'; import prefix from './prefix'; -const company: any = { - name, +const company = { + name: name_, prefix, -}; +} as Partial; export default company; diff --git a/src/locales/vi/date/index.ts b/src/locales/vi/date/index.ts index 35b1df67c7d..cd296b42a45 100644 --- a/src/locales/vi/date/index.ts +++ b/src/locales/vi/date/index.ts @@ -1,7 +1,12 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { DateDefinitions } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: any = { +const date: DateDefinitions = { month, weekday, }; diff --git a/src/locales/vi/index.ts b/src/locales/vi/index.ts index 7ecd424825c..98b1a70e3f9 100644 --- a/src/locales/vi/index.ts +++ b/src/locales/vi/index.ts @@ -1,3 +1,7 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; @@ -5,7 +9,7 @@ import company from './company'; import date from './date'; import internet from './internet'; import lorem from './lorem'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const vi: LocaleDefinition = { @@ -16,7 +20,7 @@ const vi: LocaleDefinition = { date, internet, lorem, - name, + name: name_, phone_number, }; diff --git a/src/locales/vi/internet/index.ts b/src/locales/vi/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/vi/internet/index.ts +++ b/src/locales/vi/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/vi/lorem/index.ts b/src/locales/vi/lorem/index.ts index 7ef7f9ac2a8..29ba4cd0c9c 100644 --- a/src/locales/vi/lorem/index.ts +++ b/src/locales/vi/lorem/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LoremDefinitions } from '../../..'; import words from './words'; -const lorem: any = { +const lorem: LoremDefinitions = { words, }; diff --git a/src/locales/vi/name/index.ts b/src/locales/vi/name/index.ts index 39e58ee6e32..513b2c736ab 100644 --- a/src/locales/vi/name/index.ts +++ b/src/locales/vi/name/index.ts @@ -1,10 +1,15 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; import name_ from './name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/vi/phone_number/index.ts b/src/locales/vi/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/vi/phone_number/index.ts +++ b/src/locales/vi/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/zh_CN/address/index.ts b/src/locales/zh_CN/address/index.ts index 7078dfe5a75..d4ea9a131c3 100644 --- a/src/locales/zh_CN/address/index.ts +++ b/src/locales/zh_CN/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -10,7 +15,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -22,6 +27,6 @@ const address: any = { street_address, street_name, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/zh_CN/index.ts b/src/locales/zh_CN/index.ts index b24c0e16c1a..3720db6731f 100644 --- a/src/locales/zh_CN/index.ts +++ b/src/locales/zh_CN/index.ts @@ -1,12 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const zh_CN: LocaleDefinition = { title: 'Chinese', address, - name, + name: name_, phone_number, }; diff --git a/src/locales/zh_CN/name/index.ts b/src/locales/zh_CN/name/index.ts index 13139f18d14..ad3a9da3211 100644 --- a/src/locales/zh_CN/name/index.ts +++ b/src/locales/zh_CN/name/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/zh_CN/phone_number/index.ts b/src/locales/zh_CN/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/zh_CN/phone_number/index.ts +++ b/src/locales/zh_CN/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/zh_TW/address/index.ts b/src/locales/zh_TW/address/index.ts index 7078dfe5a75..d4ea9a131c3 100644 --- a/src/locales/zh_TW/address/index.ts +++ b/src/locales/zh_TW/address/index.ts @@ -1,3 +1,8 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import building_number from './building_number'; import city from './city'; import city_prefix from './city_prefix'; @@ -10,7 +15,7 @@ import street_address from './street_address'; import street_name from './street_name'; import street_suffix from './street_suffix'; -const address: any = { +const address = { building_number, city, city_prefix, @@ -22,6 +27,6 @@ const address: any = { street_address, street_name, street_suffix, -}; +} as Partial; export default address; diff --git a/src/locales/zh_TW/index.ts b/src/locales/zh_TW/index.ts index 17aa85ae94c..a89b53c3bfd 100644 --- a/src/locales/zh_TW/index.ts +++ b/src/locales/zh_TW/index.ts @@ -1,12 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const zh_TW: LocaleDefinition = { title: 'Chinese (Taiwan)', address, - name, + name: name_, phone_number, }; diff --git a/src/locales/zh_TW/name/index.ts b/src/locales/zh_TW/name/index.ts index 13139f18d14..ad3a9da3211 100644 --- a/src/locales/zh_TW/name/index.ts +++ b/src/locales/zh_TW/name/index.ts @@ -1,8 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import first_name from './first_name'; import last_name from './last_name'; import name_ from './name'; -const name: any = { +const name: Partial = { first_name, last_name, name: name_, diff --git a/src/locales/zh_TW/phone_number/index.ts b/src/locales/zh_TW/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/zh_TW/phone_number/index.ts +++ b/src/locales/zh_TW/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, }; diff --git a/src/locales/zu_ZA/address/index.ts b/src/locales/zu_ZA/address/index.ts index ad2077eb01a..0e939eaddf4 100644 --- a/src/locales/zu_ZA/address/index.ts +++ b/src/locales/zu_ZA/address/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { AddressDefinitions } from '../../..'; import default_country from './default_country'; import postcode from './postcode'; -const address: any = { +const address = { default_country, postcode, -}; +} as Partial; export default address; diff --git a/src/locales/zu_ZA/company/index.ts b/src/locales/zu_ZA/company/index.ts index 013b99fb358..4431aca25bb 100644 --- a/src/locales/zu_ZA/company/index.ts +++ b/src/locales/zu_ZA/company/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; import suffix from './suffix'; -const company: any = { +const company: Partial = { suffix, }; diff --git a/src/locales/zu_ZA/index.ts b/src/locales/zu_ZA/index.ts index 57889639e31..83ed698fe2a 100644 --- a/src/locales/zu_ZA/index.ts +++ b/src/locales/zu_ZA/index.ts @@ -1,9 +1,13 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ import type { LocaleDefinition } from '../..'; import address from './address'; import cell_phone from './cell_phone'; import company from './company'; import internet from './internet'; -import name from './name'; +import name_ from './name'; import phone_number from './phone_number'; const zu_ZA: LocaleDefinition = { @@ -12,7 +16,7 @@ const zu_ZA: LocaleDefinition = { cell_phone, company, internet, - name, + name: name_, phone_number, }; diff --git a/src/locales/zu_ZA/internet/index.ts b/src/locales/zu_ZA/internet/index.ts index 893ecca3162..5d0ba7d6da6 100644 --- a/src/locales/zu_ZA/internet/index.ts +++ b/src/locales/zu_ZA/internet/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { InternetDefinitions } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: any = { +const internet: Partial = { domain_suffix, }; diff --git a/src/locales/zu_ZA/name/index.ts b/src/locales/zu_ZA/name/index.ts index a82acfd7025..c90a45ef586 100644 --- a/src/locales/zu_ZA/name/index.ts +++ b/src/locales/zu_ZA/name/index.ts @@ -1,9 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { NameDefinitions } from '../../..'; import female_first_name from './female_first_name'; import first_name from './first_name'; import last_name from './last_name'; import male_first_name from './male_first_name'; -const name: any = { +const name: Partial = { female_first_name, first_name, last_name, diff --git a/src/locales/zu_ZA/phone_number/index.ts b/src/locales/zu_ZA/phone_number/index.ts index f760b9e1550..bf48a8b5d05 100644 --- a/src/locales/zu_ZA/phone_number/index.ts +++ b/src/locales/zu_ZA/phone_number/index.ts @@ -1,6 +1,11 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { PhoneNumberDefinitions } from '../../..'; import formats from './formats'; -const phone_number: any = { +const phone_number: PhoneNumberDefinitions = { formats, };