UNPKG

manifest

Version:

The backend for AI code editors

13 lines (12 loc) 597 B
import { AuthService } from '../../auth/auth.service'; import { Request } from 'express'; import { CrudService } from '../services/crud.service'; import { BaseEntity } from '@repo/types'; export declare class SingleController { private readonly authService; private readonly crudService; constructor(authService: AuthService, crudService: CrudService); findOne(entitySlug: string, req: Request): Promise<BaseEntity>; put(entitySlug: string, itemDto: Partial<BaseEntity>): Promise<BaseEntity>; patch(entitySlug: string, itemDto: Partial<BaseEntity>): Promise<BaseEntity>; }