-
Notifications
You must be signed in to change notification settings - Fork 264
/
index.ts
113 lines (104 loc) · 2.32 KB
/
index.ts
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// For the typedoc documentation
import Crash from "./crash";
import EventLog from "./eventlog";
import Field from "./field";
import FieldRepeat from "./fieldrepeat";
import File from "./file";
import Form from "./form";
import Library from "./library";
import Page from "./page";
import PageGroup from "./page_group";
import Plugin from "./plugin";
import Role from "./role";
import TableConstraint from "./table_constraints";
import Table from "./table";
import Trigger from "./trigger";
import User from "./user";
import View from "./view";
import Workflow from "./workflow";
export {
Crash,
EventLog,
Field,
FieldRepeat,
File,
Form,
Library,
Page,
PageGroup,
Plugin,
Role,
TableConstraint,
Table,
Trigger,
User,
View,
Workflow,
};
import configImport from "./config";
export namespace config {
export const {
getConfig,
getAllConfig,
setConfig,
getAllConfigOrDefaults,
deleteConfig,
configTypes,
remove_from_menu,
available_languages,
isFixedConfig,
get_latest_npm_version,
get_base_url,
save_menu_items,
check_email_mask,
} = configImport;
}
import discoveryImport from "./discovery";
export namespace discovery {
export const {
discoverable_tables,
discover_tables,
implement_discovery,
get_existing_views,
findType,
} = discoveryImport;
}
import emailImport from "./email";
export namespace email {
export const { getMailTransport, viewToEmailHtml, send_verification_email } =
emailImport;
}
import expressionImport from "./expression";
export namespace expression {
export const {
expressionValidator,
apply_calculated_fields,
get_async_expression_function,
get_expression_function,
eval_expression,
recalculate_for_stored,
transform_for_async,
apply_calculated_fields_stored,
jsexprToWhere,
} = expressionImport;
}
import layoutImport from "./layout";
export namespace layout {
export const {
eachView,
getViews,
traverse,
traverseSync,
getStringsForI18n,
translateLayout,
} = layoutImport;
}
import randomImport from "./random";
export namespace random {
export const { random_table, fill_table_row, initial_view, all_views } =
randomImport;
}
import schedulerImport from "./scheduler";
export namespace scheduler {
export const runScheduler = schedulerImport;
}