games_app/backend/dist/models/advertisement.model.d.ts
2026-06-29 15:01:23 +02:00

36 lines
982 B
TypeScript

export type AdPlacement = 'home_hero' | 'home_strip' | 'home_sidebar';
export type AdvertisementRow = {
id: string;
placement: AdPlacement;
title: string;
subtitle: string | null;
cta_label: string | null;
link_url: string | null;
image_url: string | null;
background_gradient: string | null;
accent_color: string | null;
is_active: boolean;
sort_order: number;
starts_at: Date | null;
ends_at: Date | null;
created_at: Date;
updated_at: Date;
};
export type AdvertisementDto = {
id: string;
placement: AdPlacement;
title: string;
subtitle: string | null;
ctaLabel: string | null;
linkUrl: string | null;
imageUrl: string | null;
backgroundGradient: string | null;
accentColor: string;
isActive: boolean;
sortOrder: number;
startsAt: string | null;
endsAt: string | null;
createdAt: string;
updatedAt: string;
};
//# sourceMappingURL=advertisement.model.d.ts.map