CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/util/db-schema/index.ts
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
export { SCHEMA } from "./types";
7
export type {
8
DBSchema,
9
TableSchema,
10
FieldSpec,
11
UserOrProjectQuery,
12
} from "./types";
13
export type { RenderSpec } from "./render-types";
14
export type { RetentionModel } from "./retention";
15
export { retentionModels } from "./retention";
16
17
// The tables
18
import "./account-creation-actions";
19
import "./account-profiles";
20
import "./accounts";
21
import "./api-keys";
22
import "./auth";
23
import "./blobs";
24
import "./bookmarks";
25
import "./central-log";
26
import "./client-error-log";
27
import "./cloud-filesystems";
28
import "./collaborators";
29
import "./compute-images";
30
import "./compute-servers";
31
import "./copy-paths";
32
import "./crm";
33
import "./email-counter";
34
import "./file-access-log";
35
import "./file-use-times";
36
import "./file-use";
37
import "./hub-servers";
38
import "./instances"; // probably deprecated
39
import "./jupyter";
40
import "./listings";
41
import "./llm";
42
import "./lti";
43
import "./mentions";
44
import "./news";
45
import "./organizations";
46
import "./password-reset";
47
import "./pg-system";
48
import "./project-info";
49
import "./project-invite-tokens";
50
import "./project-log";
51
import "./project-status";
52
import "./projects";
53
import "./public-path-stars";
54
import "./public-paths";
55
import "./purchase-quotas";
56
import "./purchases";
57
import "./registration-tokens";
58
import "./retention";
59
import "./server-settings";
60
import "./shopping-cart-items";
61
import "./site-licenses";
62
import "./site-settings";
63
import "./site-whitelabeling";
64
import "./statements";
65
import "./stats";
66
import "./subscriptions";
67
import "./syncstring-schema";
68
import "./system-notifications"; // deprecated: use "news" with channel="system"
69
import "./token-actions";
70
import "./tracking";
71
import "./usage-info";
72
import "./vouchers";
73
import "./webapp-errors";
74
75
export {
76
DEFAULT_FONT_SIZE,
77
NEW_FILENAMES,
78
DEFAULT_NEW_FILENAMES,
79
DEFAULT_COMPUTE_IMAGE,
80
FALLBACK_COMPUTE_IMAGE,
81
} from "./defaults";
82
83
export * from "./operators";
84
export type { Operator } from "./operators";
85
86
export { site_settings_conf } from "./site-defaults";
87
88
export { client_db } from "./client-db";
89
90