mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 03:57:47 -04:00

the #shared alias used by Nuxt cannot be easily disabled and to prevent breackage with jiti, we make use of it
37 lines
820 B
TypeScript
37 lines
820 B
TypeScript
import type { gendersWithNumerus } from '#shared/nouns.ts';
|
|
|
|
export type PronounData<M extends string> = {
|
|
key: string;
|
|
description: string;
|
|
normative: boolean;
|
|
plural: boolean;
|
|
pluralHonorific: boolean;
|
|
pronounceable: boolean;
|
|
history?: string;
|
|
thirdForm?: M;
|
|
smallForm?: M;
|
|
sourcesInfo?: string;
|
|
hidden?: boolean;
|
|
} & { [morpheme in M]: string | null };
|
|
|
|
export interface PronounGroupData {
|
|
key?: string;
|
|
name: string;
|
|
pronouns: string;
|
|
description?: string;
|
|
hidden?: boolean;
|
|
}
|
|
|
|
export interface PronounExamplesData {
|
|
singular: string;
|
|
plural?: string;
|
|
null?: string;
|
|
null_plural?: string;
|
|
isHonorific?: boolean;
|
|
categories?: string;
|
|
}
|
|
|
|
export type NounTemplatesData = {
|
|
[G in typeof gendersWithNumerus[number]]?: string;
|
|
};
|