@brontosaurus/db
Version:
:ocean: Schema for brontosaurus
16 lines (15 loc) • 377 B
TypeScript
import { ObjectID } from "bson";
export declare enum INTERNAL_TAG {
DEFAULT = "DEFAULT"
}
export interface ITagConfig {
readonly anchor: string;
readonly name: string;
description?: string;
}
export interface ITag extends ITagConfig {
decorators: ObjectID[];
active: boolean;
readonly createdAt: Date;
readonly updatedAt: Date;
}