-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathts_errors.txt
More file actions
31 lines (31 loc) · 7.18 KB
/
Copy pathts_errors.txt
File metadata and controls
31 lines (31 loc) · 7.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
app/(dashboard)/~/applications/page.tsx(34,11): error TS2769: No overload matches this call.
Overload 1 of 2, '(relation: "options" | "test_attempts" | "questions" | "profiles" | "tests" | "recruiter_profiles" | "tags" | "attempt_answers" | "candidate_profiles" | "opportunities" | "question_tags" | "user_sessions"): PostgrestQueryBuilder<...>', gave the following error.
Argument of type '"applications"' is not assignable to parameter of type '"options" | "test_attempts" | "questions" | "profiles" | "tests" | "recruiter_profiles" | "tags" | "attempt_answers" | "candidate_profiles" | "opportunities" | "question_tags" | "user_sessions"'.
Overload 2 of 2, '(relation: "attempt_details" | "view_test_results_detailed" | "view_question_analysis" | "view_test_summary" | "tag_performance"): PostgrestQueryBuilder<{ PostgrestVersion: "14.4"; }, { Tables: { ...; }; Views: { ...; }; Functions: { ...; }; Enums: { ...; }; CompositeTypes: {}; }, { ...; } | ... 3 more ... | { ...; }, "attempt_details" | ... 3 more ... | "tag_performance", [...] | ... 3 more ... | [...]>', gave the following error.
Argument of type '"applications"' is not assignable to parameter of type '"attempt_details" | "view_test_results_detailed" | "view_question_analysis" | "view_test_summary" | "tag_performance"'.
app/(dashboard)/~/applications/RecruiterApplicationsClient.tsx(34,13): error TS2769: No overload matches this call.
Overload 1 of 2, '(relation: "options" | "test_attempts" | "questions" | "profiles" | "tests" | "recruiter_profiles" | "tags" | "attempt_answers" | "candidate_profiles" | "opportunities" | "question_tags" | "user_sessions"): PostgrestQueryBuilder<...>', gave the following error.
Argument of type '"applications"' is not assignable to parameter of type '"options" | "test_attempts" | "questions" | "profiles" | "tests" | "recruiter_profiles" | "tags" | "attempt_answers" | "candidate_profiles" | "opportunities" | "question_tags" | "user_sessions"'.
Overload 2 of 2, '(relation: "attempt_details" | "view_test_results_detailed" | "view_question_analysis" | "view_test_summary" | "tag_performance"): PostgrestQueryBuilder<{ PostgrestVersion: "14.4"; }, { Tables: { ...; }; Views: { ...; }; Functions: { ...; }; Enums: { ...; }; CompositeTypes: {}; }, { ...; } | ... 3 more ... | { ...; }, "attempt_details" | ... 3 more ... | "tag_performance", [...] | ... 3 more ... | [...]>', gave the following error.
Argument of type '"applications"' is not assignable to parameter of type '"attempt_details" | "view_test_results_detailed" | "view_question_analysis" | "view_test_summary" | "tag_performance"'.
app/(dashboard)/~/home/page.tsx(219,21): error TS2769: No overload matches this call.
Overload 1 of 2, '(relation: "options" | "test_attempts" | "questions" | "profiles" | "tests" | "recruiter_profiles" | "tags" | "attempt_answers" | "candidate_profiles" | "opportunities" | "question_tags" | "user_sessions"): PostgrestQueryBuilder<...>', gave the following error.
Argument of type '"applications"' is not assignable to parameter of type '"options" | "test_attempts" | "questions" | "profiles" | "tests" | "recruiter_profiles" | "tags" | "attempt_answers" | "candidate_profiles" | "opportunities" | "question_tags" | "user_sessions"'.
Overload 2 of 2, '(relation: "attempt_details" | "view_test_results_detailed" | "view_question_analysis" | "view_test_summary" | "tag_performance"): PostgrestQueryBuilder<{ PostgrestVersion: "14.4"; }, { Tables: { ...; }; Views: { ...; }; Functions: { ...; }; Enums: { ...; }; CompositeTypes: {}; }, { ...; } | ... 3 more ... | { ...; }, "attempt_details" | ... 3 more ... | "tag_performance", [...] | ... 3 more ... | [...]>', gave the following error.
Argument of type '"applications"' is not assignable to parameter of type '"attempt_details" | "view_test_results_detailed" | "view_question_analysis" | "view_test_summary" | "tag_performance"'.
app/(dashboard)/~/postings/[opportunityId]/edit/page.tsx(34,5): error TS2322: Type '{ status: OpportunityStatus; required_skills: string[]; updated_at: string; application_deadline: string | null; associated_test_id: string | null; created_at: string; description: string; ... 7 more ...; title: string; }' is not assignable to type 'Opportunity'.
Types of property 'associated_test_id' are incompatible.
Type 'string | null' is not assignable to type 'string | undefined'.
Type 'null' is not assignable to type 'string | undefined'.
app/(dashboard)/~/postings/[opportunityId]/edit/page.tsx(55,30): error TS2322: Type 'Opportunity | null' is not assignable to type 'Opportunity'.
Type 'null' is not assignable to type 'Opportunity'.
app/(dashboard)/~/settings/CandidateSettingsClient.tsx(495,23): error TS2345: Argument of type 'SelectQueryError<"column 'recruiter_name' does not exist on 'recruiter_profiles'.">[]' is not assignable to parameter of type 'SetStateAction<RecruiterOption[]>'.
Type 'SelectQueryError<"column 'recruiter_name' does not exist on 'recruiter_profiles'.">[]' is not assignable to type 'RecruiterOption[]'.
Type '{ error: true; } & String' is missing the following properties from type 'RecruiterOption': profile_id, recruiter_name, courses, affiliation
app/(dashboard)/~/settings/CandidateSettingsClient.tsx(497,44): error TS2339: Property 'profile_id' does not exist on type 'SelectQueryError<"column 'recruiter_name' does not exist on 'recruiter_profiles'.">'.
app/(dashboard)/~/settings/CandidateSettingsClient.tsx(499,36): error TS2339: Property 'recruiter_name' does not exist on type 'SelectQueryError<"column 'recruiter_name' does not exist on 'recruiter_profiles'.">'.
app/(dashboard)/~/settings/CandidateSettingsClient.tsx(500,39): error TS2339: Property 'courses' does not exist on type 'SelectQueryError<"column 'recruiter_name' does not exist on 'recruiter_profiles'.">'.
app/(dashboard)/~/settings/CandidateSettingsClient.tsx(501,42): error TS2339: Property 'affiliation' does not exist on type 'SelectQueryError<"column 'recruiter_name' does not exist on 'recruiter_profiles'.">'.
app/(dashboard)/~/tests/page.tsx(128,20): error TS2339: Property 'description' does not exist on type '{ attempt_count: number | null; available_from: string | null; available_until: string | null; created_at: string | null; id: string | null; question_count: number | null; recruiter_id: string | null; recruiter_name: string | null; status: "draft" | ... 2 more ... | null; time_limit_seconds: number | null; title: st...'.
app/(dashboard)/~/tests/page.tsx(134,26): error TS2339: Property 'results_available' does not exist on type '{ attempt_count: number | null; available_from: string | null; available_until: string | null; created_at: string | null; id: string | null; question_count: number | null; recruiter_id: string | null; recruiter_name: string | null; status: "draft" | ... 2 more ... | null; time_limit_seconds: number | null; title: st...'.
app/(dashboard)/~/tests/page.tsx(136,22): error TS2339: Property 'total_attempts' does not exist on type '{ attempt_count: number | null; available_from: string | null; available_until: string | null; created_at: string | null; id: string | null; question_count: number | null; recruiter_id: string | null; recruiter_name: string | null; status: "draft" | ... 2 more ... | null; time_limit_seconds: number | null; title: st...'.