Skip to content

feat: unaccepted requests in admin page #302

feat: unaccepted requests in admin page

feat: unaccepted requests in admin page #302

Triggered via pull request February 10, 2025 18:34
Status Failure
Total duration 33s
Artifacts

codeanalysis.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Lint (21.x): src/components/admin/AdminMarketplaceExchangesCard.tsx#L38
Type 'MarketplaceRequest' is not assignable to type 'DirectExchangeRequest | UrgentRequest | CourseUnitEnrollment'.
Lint (21.x): src/components/admin/requests/cards/AdminRequestCardFooter.tsx#L98
Property 'admin_state' does not exist on type '{ id: number; type: string; issuer_name: string; issuer_nmec: string; date: string; options?: ExchangeOption[]; classes?: ClassInfo[]; pending_motive?: DirectExchangePendingMotive; accepted: boolean; canceled: boolean; } | { ...; } | { ...; } | { ...; }'.
Lint (21.x): src/components/admin/requests/cards/AdminRequestCardFooter.tsx#L111
Property 'admin_state' does not exist on type '{ id: number; type: string; issuer_name: string; issuer_nmec: string; date: string; options?: ExchangeOption[]; classes?: ClassInfo[]; pending_motive?: DirectExchangePendingMotive; accepted: boolean; canceled: boolean; } | { ...; } | { ...; } | { ...; }'.
Lint (21.x): src/components/admin/requests/cards/AdminRequestCardFooter.tsx#L126
Property 'admin_state' does not exist on type '{ id: number; type: string; issuer_name: string; issuer_nmec: string; date: string; options?: ExchangeOption[]; classes?: ClassInfo[]; pending_motive?: DirectExchangePendingMotive; accepted: boolean; canceled: boolean; } | { ...; } | { ...; } | { ...; }'.
Lint (21.x)
Process completed with exit code 2.