UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

43 lines (42 loc) 1.05 kB
import type { Connection } from 'mongoose'; import * as factory from '../factory'; /** * 許可証リポジトリ */ export declare class PermitRepo { private readonly serviceOutputModel; constructor(connection: Connection); findByIdentifier(params: { project: { id: { $eq: string; }; }; identifier: { $eq: string; }; issuedThrough: { typeOf: { $eq: factory.product.ProductType; }; }; }, projection?: any): Promise<factory.product.IServiceOutput>; findByIdentifierAndAccessCode(params: { project: { id: { $eq: string; }; }; accessCode: { $eq: string; }; identifier: { $eq: string; }; issuedThrough: { typeOf: { $eq: factory.product.ProductType; }; }; }, projection?: any): Promise<factory.product.IServiceOutput>; }