Initial commit - Event Planner application

This commit is contained in:
mberlin
2026-03-18 14:55:56 -03:00
commit 86d779eb4d
7548 changed files with 1006324 additions and 0 deletions

17
dist/gift/services/gift.service.d.ts vendored Normal file
View 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