Types

StatsPostBody

export type StatsPostBody = {
    message: string;
}

StatsPostCallback

export type StatsPostCallback = (result: StatsPostResult) => void | Promise<void>;

StatsPostResult

export type StatsPostResult = {
    statusCode: number;
    body: StatsPostBody;
    message: string;
}

Review

export interface Review {
    content: string;
    stars: number;
    userId: string;
    botId: string;
}

IntervalPreset

export enum IntervalPreset {
    Default,
    Safe,
    SuperSafe,
    ExtraSafe,
    SuperOmegaSafe
}

Last updated