@chevre/domain
Version:
Chevre Domain Library for Node.js
25 lines (24 loc) • 640 B
TypeScript
import type { Connection } from 'mongoose';
import * as factory from '../factory';
/**
* ReserveIFリポジトリ
*/
export declare class ReserveInterfaceRepo {
private readonly reserveInterface;
constructor(connection: Connection);
findOne(filter: {
id?: {
$eq?: string;
};
project?: {
id?: {
$eq?: string;
};
};
}): Promise<(factory.service.webAPI.IServiceWithChannel & {
id: string;
}) | null>;
findOneId(): Promise<(Pick<factory.service.webAPI.IServiceWithChannel, 'project'> & {
id: string;
}) | null>;
}