import { Document } from 'mongoose'; import { COMMAN_STATUS } from '../constants/app'; import { IDefaultAttributes } from './commonInterface'; export interface ISportInfoSkill { ageGroupId: string; skillId: string; minValue?: number; maxValue?: number; value?: string; } export interface ISportInfoRefUrl { title: string; url: string; } export interface ISportInfoModelAttributes extends IDefaultAttributes, Document { sportId: string; setupGuide?: string; images?: string[]; documents?: string[]; categories?: string; subCategories?: string; equipments?: string[]; amenitiesNeeded?: string[]; infrastructure?: string[]; specificTests?: string[]; skills?: ISportInfoSkill[]; refUrls?: ISportInfoRefUrl[]; status: COMMAN_STATUS; }