hivest-js
Version:
A simple, fast and minimalist framework for Node.js that allows you to create modular applications with dependency injection using decorators
9 lines • 403 B
TypeScript
import { Company, CompanyRepoMemory } from './company.repo.memory';
export declare class CompanyService {
private readonly companyRepo;
constructor(companyRepo: CompanyRepoMemory);
create(company: Company): Promise<Company>;
get(id: string): Promise<Company | null>;
update(id: string, data: Partial<Company>): Promise<Company | null>;
}
//# sourceMappingURL=company.service.d.ts.map