import { Document } from 'mongoose'; import { RMS_RESOURCE_TYPE } from '../constants/app'; export interface IStorageAllocation { rackId: string; slotIds: string[]; } export interface IRmsResourceDetailsDocument extends Document { instituteId: string; resourceId: string; type: RMS_RESOURCE_TYPE; metadata: Record; imageIds?: string[]; storageAllocations: IStorageAllocation[]; createdBy?: string; updatedBy?: string; deletedBy?: string; createdAt?: Date; updatedAt?: Date; deletedAt?: Date | null; }