gues-kucinako/src/types.ts

55 lines
972 B
TypeScript

/* eslint-disable camelcase */
enum Conlang {
Saimiar = "saimiar",
Elesu = "elesu",
Tukvaysi = "tukvaysi",
Juteyuji = "juteyuji",
}
enum SearchDirection {
ToConlang,
ToEnglish
}
interface SaiEntryProps {
id: number;
sai: string;
eng: string;
syn_category: string;
morph_type: string;
etym: string;
semantic_field: string;
notes: string;
}
interface JutEntryProps {
id: number;
jut: string;
eng: string;
syn_category: string;
gender: string;
notes: string;
}
interface ElesuEntryProps {
id: number;
elesu: string;
eng: string;
syn_category: string;
gender: string;
sai_borrowing: string;
notes: string;
proto_southern_root: string;
}
interface TukEntryProps {
id: number;
tuk: string;
eng: string;
syn_category: string;
notes: string;
}
export {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps, Conlang, SearchDirection};