@brontosaurus/db
Version:
:ocean: Schema for brontosaurus
19 lines (18 loc) • 549 B
TypeScript
import { ObjectID } from "bson";
export interface IAttemptConfig {
readonly account: ObjectID;
readonly succeed: boolean;
readonly failedReason?: string;
readonly platform: string;
readonly userAgent: string;
readonly target: string;
readonly source: string;
readonly proxySources: string[];
readonly application: ObjectID;
}
export interface IAttempt extends IAttemptConfig {
readonly identifier: string;
readonly at: Date;
readonly createdAt: Date;
readonly updatedAt: Date;
}