diff options
| author | ST-DDT <[email protected]> | 2024-05-25 21:45:31 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-25 21:45:31 +0200 |
| commit | 558b959e0e2f791dab0ba2f500493ba7ddbd25e2 (patch) | |
| tree | 80b1c5b8ef263534b70a0fad32586f2d68712d9c /src/definitions | |
| parent | b97984c7a165df0b516cbba0806b7cd68d77fc52 (diff) | |
| download | faker-558b959e0e2f791dab0ba2f500493ba7ddbd25e2.tar.xz faker-558b959e0e2f791dab0ba2f500493ba7ddbd25e2.zip | |
refactor(locale)!: use snake case for all locale data (#2910)
Diffstat (limited to 'src/definitions')
| -rw-r--r-- | src/definitions/science.ts | 2 | ||||
| -rw-r--r-- | src/definitions/system.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/definitions/science.ts b/src/definitions/science.ts index a2fa995b..01f791f8 100644 --- a/src/definitions/science.ts +++ b/src/definitions/science.ts @@ -13,5 +13,5 @@ export type ScienceDefinition = LocaleEntry<{ /** * Some periodic table element information. */ - chemicalElement: ReadonlyArray<ChemicalElement>; + chemical_element: ReadonlyArray<ChemicalElement>; }>; diff --git a/src/definitions/system.ts b/src/definitions/system.ts index 86868c63..72f5c98a 100644 --- a/src/definitions/system.ts +++ b/src/definitions/system.ts @@ -7,12 +7,12 @@ export type SystemDefinition = LocaleEntry<{ /** * Returns some common file paths. */ - directoryPaths: string[]; + directory_paths: string[]; /** * The mime type definitions with some additional information. */ - mimeTypes: { [mimeType: string]: SystemMimeTypeEntryDefinition }; + mime_types: { [mimeType: string]: SystemMimeTypeEntryDefinition }; }>; /** |
