Extracted some types to shared module.
This commit is contained in:
parent
7671bfd4d3
commit
7ef13bc28c
4 changed files with 47 additions and 12 deletions
server/types
|
@ -1,5 +1,6 @@
|
|||
export * from "./config";
|
||||
export * from "./logger";
|
||||
export * from "./shared";
|
||||
|
||||
// TODO: Token type.
|
||||
export type Token = string;
|
||||
|
@ -48,16 +49,6 @@ export type NodeSecrets = {
|
|||
monitoringToken?: MonitoringToken,
|
||||
};
|
||||
|
||||
export type NodeStatistics = {
|
||||
registered: number,
|
||||
withVPN: number,
|
||||
withCoords: number,
|
||||
monitoring: {
|
||||
active: number,
|
||||
pending: number
|
||||
}
|
||||
};
|
||||
|
||||
export type MailId = string;
|
||||
export type MailData = any;
|
||||
export type MailType = string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue