UNPKG

@brontosaurus/db

Version:
20 lines (19 loc) 514 B
import { ObjectID } from "bson"; export declare type OrganizationDetail = { readonly name: string; readonly active: boolean; readonly owner: string; }; export interface IOrganizationConfig { readonly anchor: string; readonly name: string; owner: ObjectID; } export interface IOrganization extends IOrganizationConfig { decorators: ObjectID[]; tags: ObjectID[]; limit: number; active: boolean; readonly createdAt: Date; readonly updatedAt: Date; }