Valentyne Stigloher 10180aa6a3 (refactor) use #shared alias instead of ~~/shared
the #shared alias used by Nuxt cannot be easily disabled and to prevent breackage with jiti, we make use of it
2025-08-17 18:56:02 +02:00

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;
};