Skip to content

remove due_date and trial_count from iep trpc methods, add updateBenc… #1053

remove due_date and trial_count from iep trpc methods, add updateBenc…

remove due_date and trial_count from iep trpc methods, add updateBenc… #1053

Triggered via push January 17, 2025 02:52
Status Failure
Total duration 3m 48s
Artifacts

pr.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
type-check: src/backend/routers/iep.test.ts#L25
Argument of type '{ goal_id: string; status: string; description: string; setup: string; instructions: string; materials: string; frequency: string; target_level: number; baseline_level: number; metric_name: string; attempts_per_trial: number; number_of_trials: number; }' is not assignable to parameter of type '{ description: string; goal_id: string; attempts_per_trial: number | null; baseline_level: number; due_date: Date; frequency: string; instructions: string; materials: string; metric_name: string; ... 4 more ...; trial_count: number; }'.
type-check: src/backend/routers/iep.test.ts#L40
Argument of type '{ goal_id: string; status: string; description: string; setup: string; instructions: string; materials: string; frequency: string; target_level: number; baseline_level: number; metric_name: string; attempts_per_trial: number; number_of_trials: number; }' is not assignable to parameter of type '{ description: string; goal_id: string; attempts_per_trial: number | null; baseline_level: number; due_date: Date; frequency: string; instructions: string; materials: string; metric_name: string; ... 4 more ...; trial_count: number; }'.
type-check: src/backend/routers/iep.test.ts#L56
Argument of type '{ goal_id: string; status: string; description: string; setup: string; instructions: string; materials: string; frequency: string; target_level: number; baseline_level: number; metric_name: string; attempts_per_trial: number; number_of_trials: number; }' is not assignable to parameter of type '{ description: string; goal_id: string; attempts_per_trial: number | null; baseline_level: number; due_date: Date; frequency: string; instructions: string; materials: string; metric_name: string; ... 4 more ...; trial_count: number; }'.
type-check: src/backend/routers/iep.test.ts#L75
Object literal may only specify known properties, and 'due_date' does not exist in type '{ benchmark_id: string; assignee_id: string; }'.
type-check: src/backend/routers/iep.test.ts#L129
Argument of type '{ goal_id: string; status: string; description: string; setup: string; instructions: string; materials: string; frequency: string; target_level: number; baseline_level: number; metric_name: string; attempts_per_trial: number; number_of_trials: number; }' is not assignable to parameter of type '{ description: string; goal_id: string; attempts_per_trial: number | null; baseline_level: number; due_date: Date; frequency: string; instructions: string; materials: string; metric_name: string; ... 4 more ...; trial_count: number; }'.
type-check: src/backend/routers/iep.test.ts#L148
Object literal may only specify known properties, and 'due_date' does not exist in type '{ benchmark_id: string; assignee_id: string; }'.
type-check: src/backend/routers/iep.test.ts#L156
Object literal may only specify known properties, and 'due_date' does not exist in type '{ benchmark_id: string; assignee_id: string; }'.
type-check: src/backend/routers/iep.test.ts#L192
Argument of type '{ goal_id: string; status: string; description: string; setup: string; instructions: string; materials: string; frequency: string; target_level: number; baseline_level: number; metric_name: string; attempts_per_trial: number; number_of_trials: number; }' is not assignable to parameter of type '{ description: string; goal_id: string; attempts_per_trial: number | null; baseline_level: number; due_date: Date; frequency: string; instructions: string; materials: string; metric_name: string; ... 4 more ...; trial_count: number; }'.
type-check: src/backend/routers/iep.test.ts#L211
Object literal may only specify known properties, and 'due_date' does not exist in type '{ benchmark_id: string; para_ids: string[]; }'.
type-check: src/backend/routers/iep.test.ts#L219
Object literal may only specify known properties, and 'due_date' does not exist in type '{ benchmark_id: string; para_ids: string[]; }'.
test
Process completed with exit code 1.
type-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
storybook-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636