Restructure backend into modular API layers with admin/organizador/invitados routes, add role-based middleware, flatten module models, and update build scripts
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export class CreateContributionDto {
|
||||
giftId!: string;
|
||||
contributorName!: string;
|
||||
contributorEmail?: string;
|
||||
amount!: number;
|
||||
type?: 'individual' | 'group';
|
||||
metadata?: Record<string, any>;
|
||||
}
|
||||
9
packages/legacy/src/gift/api/dto/create-gift.dto.ts
Normal file
9
packages/legacy/src/gift/api/dto/create-gift.dto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export class CreateGiftDto {
|
||||
name!: string;
|
||||
description?: string;
|
||||
imageUrl?: string;
|
||||
price?: number;
|
||||
experience?: boolean;
|
||||
ownerId?: string;
|
||||
metadata?: Record<string, any>;
|
||||
}
|
||||
Reference in New Issue
Block a user