@brontosaurus/db
Version:
:ocean: Schema for brontosaurus
14 lines (13 loc) • 368 B
TypeScript
import { ObjectID } from "bson";
export interface IDecoratorConfig {
readonly anchor: string;
readonly name: string;
description?: string;
}
export interface IDecorator extends IDecoratorConfig {
addableGroups: ObjectID[];
removableGroups: ObjectID[];
active: boolean;
readonly createdAt: Date;
readonly updatedAt: Date;
}