remove due_date and trial_count from iep trpc methods, add updateBenc… #1053
pr.yml
on: push
type-check
1m 34s
lint
1m 39s
test
3m 40s
storybook-tests
2m 36s
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
|