export interface PeriodiskRedovisningActivityResponse {
  id: number;
  performedRemotely: boolean;
  performedPhysically: boolean;
  hours: number;
}

export interface PeriodiskRedovisningResponse {
  genomforandeReferens: number;
  period: string;
  hasOfferedLanguageSupport: boolean;
  hasOfferedJob: boolean;
  activities: PeriodiskRedovisningActivityResponse[];
}

export function mockOnePeriodiskRedovisningResponse(): PeriodiskRedovisningResponse {
  return {
    genomforandeReferens: 100003857,
    hasOfferedJob: false,
    hasOfferedLanguageSupport: true,
    period: '2021-10',
    activities: [
      {
        id: 24,
        performedRemotely: false,
        performedPhysically: true,
        hours: 25,
      },
      {
        id: 19,
        performedRemotely: true,
        performedPhysically: false,
        hours: 3,
      },
      {
        id: 31,
        performedRemotely: true,
        performedPhysically: true,
        hours: 2,
      },
    ],
  };
}
