2022-05-26 13:58:01 +02:00
|
|
|
import {Domain, MonitoringToken, OnlineState, Site} from "./shared";
|
|
|
|
|
2020-06-30 01:10:18 +02:00
|
|
|
export * from "./config";
|
|
|
|
export * from "./logger";
|
2022-02-22 15:39:39 +01:00
|
|
|
export * from "./shared";
|
2020-06-30 01:10:18 +02:00
|
|
|
|
2020-04-10 00:43:15 +02:00
|
|
|
export type NodeStateData = {
|
2022-05-26 13:58:01 +02:00
|
|
|
site: Site,
|
|
|
|
domain: Domain,
|
|
|
|
state: OnlineState,
|
2020-04-10 00:43:15 +02:00
|
|
|
}
|
|
|
|
|
2020-04-08 21:25:33 +02:00
|
|
|
// TODO: Complete interface / class declaration.
|
2020-04-10 00:43:15 +02:00
|
|
|
export type NodeSecrets = {
|
|
|
|
monitoringToken?: MonitoringToken,
|
|
|
|
};
|
|
|
|
|
|
|
|
export type MailId = string;
|
|
|
|
export type MailData = any;
|
|
|
|
export type MailType = string;
|
|
|
|
|
|
|
|
export interface Mail {
|
|
|
|
id: MailId,
|
|
|
|
email: MailType,
|
|
|
|
sender: string,
|
|
|
|
recipient: string,
|
|
|
|
data: MailData,
|
|
|
|
failures: number,
|
2020-04-08 21:25:33 +02:00
|
|
|
}
|
2020-04-10 00:43:15 +02:00
|
|
|
|