import type { Media } from '../../src/types'
import { MediaStatus, MediaType } from '../../src/types'

// 6 media items exercising the mediaStatus enum range (UI's current 0..3 scheme;
// AC-04 fix lands the full 0..6 range — tests targeting the post-fix range
// override seed_media via server.use to add Confirmed/Error rows once Step 4
// drift-fix tasks land).

export const seedMedia: Media[] = [
  {
    id: 'media-1',
    name: 'sortie-1.jpg',
    path: '/media/sortie-1.jpg',
    mediaType: MediaType.Image,
    mediaStatus: MediaStatus.New,
    duration: null,
    annotationCount: 0,
    waypointId: null,
    userId: 'user-alice',
  },
  {
    id: 'media-2',
    name: 'sortie-2.jpg',
    path: '/media/sortie-2.jpg',
    mediaType: MediaType.Image,
    mediaStatus: MediaStatus.AiProcessing,
    duration: null,
    annotationCount: 0,
    waypointId: 'wp-1',
    userId: 'user-alice',
  },
  {
    id: 'media-3',
    name: 'sortie-3.jpg',
    path: '/media/sortie-3.jpg',
    mediaType: MediaType.Image,
    mediaStatus: MediaStatus.AiProcessed,
    duration: null,
    annotationCount: 4,
    waypointId: 'wp-1',
    userId: 'user-alice',
  },
  {
    id: 'media-4',
    name: 'patrol-1.mp4',
    path: '/media/patrol-1.mp4',
    mediaType: MediaType.Video,
    mediaStatus: MediaStatus.New,
    duration: '00:01:30',
    annotationCount: 0,
    waypointId: null,
    userId: 'user-bob',
  },
  {
    id: 'media-5',
    name: 'patrol-2.mp4',
    path: '/media/patrol-2.mp4',
    mediaType: MediaType.Video,
    mediaStatus: MediaStatus.AiProcessed,
    duration: '00:02:15',
    annotationCount: 8,
    waypointId: null,
    userId: 'user-bob',
  },
  {
    id: 'media-6',
    name: 'manual.jpg',
    path: '/media/manual.jpg',
    mediaType: MediaType.Image,
    mediaStatus: MediaStatus.ManualCreated,
    duration: null,
    annotationCount: 1,
    waypointId: null,
    userId: 'user-alice',
  },
]
