fix(types): update SDK operation names to match API types #575
ci.yml
on: push
Matrix: Run CI Pipeline / π§ͺ Test Matrix / test-matrix
Run CI Pipeline
/
...
/
Run Lint Check
28s
Run CI Pipeline
/
...
/
Run Type Check
27s
Matrix: E2E Tests
Annotations
20 errors
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check
Process completed with exit code 1.
|
|
Run CI Pipeline / π Type Check / Run Type Check
'orgRepoListCResult.data' is of type 'unknown'.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Type 'string' is not assignable to type 'number'.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Type 'string' is not assignable to type 'number'.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Type 'string | undefined' is not assignable to type '"desc" | "asc" | undefined' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Type 'string | undefined' is not assignable to type '"name" | "created_at" | undefined' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Type 'ApiCallResult<keyof operations>' is not assignable to type 'CResult<{ status: string; }>'.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Type 'ApiCallResult<keyof operations>' is not assignable to type 'CResult<{ id?: string; created_at?: string; updated_at?: string; slug?: string; head_full_scan_id?: string | null; integration_meta?: { type?: "github"; value?: { installation_id: string; installation_login: string; repo_name: string | null; repo_id: string | null; }; } | null; ... 6 more ...; workspace?: string; }>'.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Argument of type '({ severity, type }: { severity: string; type: string; }) => void' is not assignable to parameter of type '(value: { file?: string; key: string; start?: number; severity?: "low" | "middle" | "high" | "critical"; category?: "license" | "other" | "quality" | "supplyChainRisk" | "maintenance" | "vulnerability"; ... 9 more ...; props?: Record<...> | undefined; }, index: number, array: { ...; }[]) => void'.
|
|
Run CI Pipeline / π Type Check / Run Type Check
Argument of type '({ severity, type }: { severity: string; type: string; }) => void' is not assignable to parameter of type '(value: { file?: string; key: string; start?: number; severity?: "low" | "middle" | "high" | "critical"; category?: "license" | "other" | "quality" | "supplyChainRisk" | "maintenance" | "vulnerability"; ... 9 more ...; props?: Record<...> | undefined; }, index: number, array: { ...; }[]) => void'.
|
|
Run CI Pipeline / π Type Check / Run Type Check
'orgsCResult.data' is of type 'unknown'.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on macos-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on ubuntu-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on ubuntu-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on macos-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on macos-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on ubuntu-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on windows-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on windows-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on windows-latest
Process completed with exit code 1.
|