From 0d4cba637cdd38e7757ecca1b7eae75d7a737fa8 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Wed, 28 Feb 2024 02:41:48 +0700 Subject: refactor(person)!: flatten jobs definitions (#2505) --- src/definitions/index.ts | 2 +- src/definitions/person.ts | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) (limited to 'src/definitions') diff --git a/src/definitions/index.ts b/src/definitions/index.ts index cb240115..2d979971 100644 --- a/src/definitions/index.ts +++ b/src/definitions/index.ts @@ -17,7 +17,7 @@ export type { LocationDefinition } from './location'; export type { LoremDefinition } from './lorem'; export type { MetadataDefinition } from './metadata'; export type { MusicDefinition } from './music'; -export type { PersonDefinition, PersonTitleDefinition } from './person'; +export type { PersonDefinition } from './person'; export type { PhoneNumberDefinition } from './phone_number'; export type { ScienceDefinition } from './science'; export type { SystemDefinition, SystemMimeTypeEntryDefinition } from './system'; diff --git a/src/definitions/person.ts b/src/definitions/person.ts index e3eeb275..87250ed9 100644 --- a/src/definitions/person.ts +++ b/src/definitions/person.ts @@ -39,18 +39,11 @@ export type PersonDefinition = LocaleEntry<{ bio_pattern: string[]; - title: PersonTitleDefinition; + job_descriptor: string[]; + job_area: string[]; + job_type: string[]; job_title_pattern: string[]; western_zodiac_sign: string[]; }>; - -/** - * The possible definitions related to people's titles. - */ -export type PersonTitleDefinition = LocaleEntry<{ - descriptor: string[]; - job: string[]; - level: string[]; -}>; -- cgit v1.2.3