Initial commit - Event Planner application
This commit is contained in:
17
dist/gift/services/gift.service.d.ts
vendored
Normal file
17
dist/gift/services/gift.service.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { MikroORM } from '@mikro-orm/core';
|
||||
import { EventEmitter2 } from '@nestjs/event-emitter';
|
||||
import { Gift, GiftContribution } from '../entities/gift.entity';
|
||||
import { CreateGiftDto } from '../api/dto/create-gift.dto';
|
||||
import { CreateContributionDto } from '../api/dto/create-contribution.dto';
|
||||
export declare class GiftService {
|
||||
private readonly orm;
|
||||
private readonly eventEmitter;
|
||||
constructor(orm: MikroORM, eventEmitter: EventEmitter2);
|
||||
private get em();
|
||||
createGift(tenantId: string, dto: CreateGiftDto): Promise<Gift>;
|
||||
createContribution(tenantId: string, dto: CreateContributionDto): Promise<GiftContribution>;
|
||||
listGifts(tenantId: string): Promise<Gift[]>;
|
||||
getGiftById(tenantId: string, id: string, requesterId?: string): Promise<Gift | null>;
|
||||
listContributions(tenantId: string, giftId: string, requesterId?: string): Promise<GiftContribution[]>;
|
||||
}
|
||||
//# sourceMappingURL=gift.service.d.ts.map
|
||||
Reference in New Issue
Block a user