Skip to content

Add room name to the top of searched chats #61027

Add room name to the top of searched chats

Add room name to the top of searched chats #61027

Triggered via pull request January 15, 2025 16:49
Status Failure
Total duration 1m 51s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
typecheck: src/libs/SearchUIUtils.ts#L375
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'PrefixedRecord<"transactions_", SearchTransaction> & Record<"personalDetailsList", Record<string, SearchPersonalDetails>> & ... 4 more ... & PrefixedRecord<...>'.
typecheck: src/libs/SearchUIUtils.ts#L378
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'PrefixedRecord<"transactions_", SearchTransaction> & Record<"personalDetailsList", Record<string, SearchPersonalDetails>> & ... 4 more ... & PrefixedRecord<...>'.
typecheck: src/libs/SearchUIUtils.ts#L381
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'PrefixedRecord<"transactions_", SearchTransaction> & Record<"personalDetailsList", Record<string, SearchPersonalDetails>> & ... 4 more ... & PrefixedRecord<...>'.
typecheck: src/libs/SearchUIUtils.ts#L402
Type 'SearchPolicy' is not assignable to type 'OnyxEntry<{ id: string; name: string; role: ValueOf<{ readonly ADMIN: "admin"; readonly AUDITOR: "auditor"; readonly USER: "user"; }>; type: ValueOf<{ readonly PERSONAL: "personal"; readonly CORPORATE: "corporate"; readonly TEAM: "team"; }>; ... 74 more ...; canDowngrade?: boolean | undefined; } & Partial<...> & Off...'.
typecheck: src/libs/SearchUIUtils.ts#L402
Type 'SearchTransaction[]' is not assignable to type 'OnyxCollection<{ amount: number; attendees?: Attendee[] | undefined; taxAmount?: number | undefined; taxCode?: string | undefined; billable?: boolean | undefined; category?: string | undefined; ... 44 more ...; inserted?: string | undefined; } & OfflineFeedback<...>>'.
typecheck: src/libs/SearchUIUtils.ts#L402
Type '{}' is not assignable to type 'OnyxEntry<{ id: string; name: string; role: ValueOf<{ readonly ADMIN: "admin"; readonly AUDITOR: "auditor"; readonly USER: "user"; }>; type: ValueOf<{ readonly PERSONAL: "personal"; readonly CORPORATE: "corporate"; readonly TEAM: "team"; }>; ... 74 more ...; canDowngrade?: boolean | undefined; } & Partial<...> & Off...'.
typecheck: src/libs/SearchUIUtils.ts#L402
Type 'SearchReport[]' is not assignable to type 'OnyxCollection<{ avatarUrl?: string | undefined; chatType?: ValueOf<{ readonly POLICY_ANNOUNCE: "policyAnnounce"; readonly POLICY_ADMINS: "policyAdmins"; readonly TRIP_ROOM: "tripRoom"; readonly GROUP: "group"; ... 5 more ...; readonly SYSTEM: "system"; }> | undefined; ... 50 more ...; welcomeMessage?: string | unde...'.
typecheck: src/libs/SearchUIUtils.ts#L402
Type 'SearchPolicy[]' is not assignable to type 'OnyxCollection<{ id: string; name: string; role: ValueOf<{ readonly ADMIN: "admin"; readonly AUDITOR: "auditor"; readonly USER: "user"; }>; type: ValueOf<{ readonly PERSONAL: "personal"; readonly CORPORATE: "corporate"; readonly TEAM: "team"; }>; ... 74 more ...; canDowngrade?: boolean | undefined; } & Partial<...> ...'.
typecheck
Process completed with exit code 2.
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636