/
voting
/
frontend
Обзор
Документация
Войти
/
voting
/
frontend
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
main
src/api/types/events.ts
34 строки
919 B
TimPulin
api-types
17 июл 2026, 21:18
17 июл 2026, 21:18
4a02576
Код
Авторство
О чём код?
import type { EventScreenType, NominationStatus } from './enums' /** Mirror of NomineeDetailsDto */ export interface NomineeDetailsDto { id: string name: string description: string | null photoFileId: string | null } /** * Mirror of NominationDetailsDto from events/current-nomination. * Named distinctly to avoid clash with participant NominationDetailsDto. */ export interface CurrentNominationNominationDto { id: string name: string status: NominationStatus | string position: number nominees: NomineeDetailsDto[] } /** Mirror of EventDetailsDto */ export interface EventDetailsDto { id: string name: string currentScreenType: EventScreenType | string } /** Mirror of CurrentNominationDetailsResponseDto — GET /events/:eventId/current-nomination */ export interface CurrentNominationDetailsResponseDto { event: EventDetailsDto nomination: CurrentNominationNominationDto | null }