gues-kucinako/src/types.ts

55 lines
972 B
TypeScript
Raw Normal View History

2022-05-01 16:12:04 -07:00
/* eslint-disable camelcase */
2021-09-15 00:33:29 -07:00
enum Conlang {
Saimiar = "saimiar",
Elesu = "elesu",
Tukvaysi = "tukvaysi",
Juteyuji = "juteyuji",
}
enum SearchDirection {
ToConlang,
ToEnglish
}
2021-09-12 21:43:26 -07:00
interface SaiEntryProps {
id: number;
sai: string;
eng: string;
syn_category: string;
morph_type: string;
2021-09-15 04:54:32 -07:00
etym: string;
semantic_field: string;
2021-09-12 23:06:42 -07:00
notes: string;
2021-09-12 21:43:26 -07:00
}
interface JutEntryProps {
id: number;
jut: string;
eng: string;
syn_category: string;
gender: string;
2021-09-12 23:06:42 -07:00
notes: string;
2021-09-12 21:43:26 -07:00
}
2021-09-12 23:06:42 -07:00
interface ElesuEntryProps {
id: number;
elesu: string;
eng: string;
syn_category: string;
gender: string;
sai_borrowing: string;
notes: string;
proto_southern_root: string;
}
2021-09-12 23:09:58 -07:00
interface TukEntryProps {
id: number;
tuk: string;
eng: string;
syn_category: string;
notes: string;
}
2021-09-15 00:33:29 -07:00
export {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps, Conlang, SearchDirection};