UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

16 lines (15 loc) 517 B
import type { Connection } from 'mongoose'; import { IDocType } from '../mongoose/schemas/service/availableHour'; type IKeyOfProjection = keyof IDocType; /** * サービス利用可能時間リポジトリ */ export declare class ServiceAvailableHourRepo { private readonly availableHoursModel; constructor(connection: Connection); saveOne(params: IDocType): Promise<void>; findValidOne(filter: { now: Date; }, inclusion: IKeyOfProjection[]): Promise<IDocType | undefined>; } export {};