export type AlbumType = 'user' | 'smart' | 'shared' | 'system';

export interface Album {
  readonly id: string;
  readonly deviceId: string;
  readonly externalId: string;
  readonly name: string;
  readonly photoCount: number;
  readonly albumType: AlbumType;
  readonly startDate: string | null;
  readonly endDate: string | null;
  readonly coverPhotoId: string | null;
  readonly sortOrder: number;
  readonly syncedAt: string;
}

export interface AlbumDraft {
  readonly id: string;
  readonly deviceId: string;
  readonly externalId: string;
  readonly name: string;
  readonly albumType?: AlbumType;
  readonly startDate?: string | null;
  readonly endDate?: string | null;
  readonly coverPhotoId?: string | null;
  readonly sortOrder?: number;
}
