-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProposedTypes.ts
More file actions
42 lines (41 loc) · 1.05 KB
/
ProposedTypes.ts
File metadata and controls
42 lines (41 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// export type DictionaryV2_1 = {
// name: string;
// url?: string;
// expressionLanguageId: string;
// definitionLanguageId: string;
// expressions: {
// spelling: string;
// details: {
// grammar: string;
// inflection: string;
// definitions: string[];
// examples: string[];
// };
// }[];
// };
// /*
// * In DB expresiion table should have a composed primary key of (spelling, lang)
// */
// export type DictionaryV2_2 = {
// name: string;
// url?: string;
// expressionLanguageId: string;
// definitionLanguageId: string;
// expressions: {
// spelling: string;
// // TODO: find out the full name of the field
// lex?: string;
// details: {
// // TODO: find out the full name of the field
// gr?: string;
// inflection?: string;
// definitions: {
// text: string;
// // NOTE: extracted from the definition
// tags: string[];
// }[];
// // NOTE: extracted from the definition
// examples: string[];
// };
// }[];
// };