/
andreas300000
/
webpinger-backend
Обзор
Документация
Войти
/
andreas300000
/
webpinger-backend
Код
Запросы
1
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/core/projects/projects.interface.ts
42 строки
803 B
bethanle
для проектов реализован гет запрос
31 май 2025, 02:01
31 май 2025, 02:01
4e1a3dd
Код
Авторство
О чём код?
export interface ProjectModel { id: number; name: string; description: string | null; company_id: number | null; created_at: Date | null; updated_at: Date | null; } export interface IProject { id: number; name: string; description: string | null; created_at: Date | null; updated_at: Date | null; company_name: string | null; links: { link_url: string; link_description: string | null; link_metrics: string[] | null; }[] } export interface ProjectWithRelations { id: number; name: string; description: string | null; created_at: Date | null; updated_at: Date | null; companies: { name: string; } | null; links: { url: string; title: string | null; link_metrics: { metric: { name: string; }; }[]; }[]; }