UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

11 lines (10 loc) 548 B
import { IndexDefinition, IndexOptions, Model, Schema, SchemaDefinition } from 'mongoose'; import * as factory from '../../../factory'; type IDocType = factory.permit.IPermit; type IModel = Model<IDocType>; type ISchemaDefinition = SchemaDefinition<IDocType>; type ISchema = Schema<IDocType, IModel, {}, {}, {}, {}, ISchemaDefinition, IDocType>; declare const modelName = "ServiceOutput"; declare function createSchema(): ISchema; declare const indexes: [d: IndexDefinition, o: IndexOptions][]; export { createSchema, IModel, indexes, modelName };