Skip to content

fix(types): use SerdeFunctions type as serde plugin input, but call serde functions as type SerdeContext #3070

fix(types): use SerdeFunctions type as serde plugin input, but call serde functions as type SerdeContext

fix(types): use SerdeFunctions type as serde plugin input, but call serde functions as type SerdeContext #3070

Triggered via pull request March 7, 2024 21:15
@kuhekuhe
synchronize #1183
kuhe:fix/types
Status Failure
Total duration 13m 39s
Billable time 14m
Artifacts

ci.yml

on: pull_request
TypeScript Lint
1m 3s
TypeScript Lint
TypeScript Test
13m 27s
TypeScript Test
Ensure TypeScript is formatted
1m 2s
Ensure TypeScript is formatted
Ensure TypeScript packages have changesets
25s
Ensure TypeScript packages have changesets
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 17 warnings
TypeScript Test
Argument of type '(input: CreateCityCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: GetCityAnnouncementsCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: GetCityCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: GetCityImageCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: GetCurrentTimeCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: GetForecastCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: InvokeCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: ListCitiesCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: OnlyFakeAuthCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Argument of type '(input: OnlyFakeAuthOptionalCommandInput, context: SerdeContext) => Promise<HttpRequest>' is not assignable to parameter of type 'RequestSerializer<any, SerdeFunctions & EndpointBearer>'.
TypeScript Test
Module '"util"' has no default export.
TypeScript Test
Cannot find module 'weather' or its corresponding type declarations.
Ensure TypeScript packages have changesets
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
TypeScript Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
TypeScript Lint: packages/middleware-serde/src/deserializerMiddleware.ts#L22
'context' is defined but never used
TypeScript Lint: packages/middleware-serde/src/serdePlugin.ts#L48
'_' is defined but never used
TypeScript Lint: packages/util-stream/src/util-stream.integ.spec.ts#L47
'FunctionName' is assigned a value but never used
TypeScript Lint: packages/util-stream/src/util-stream.integ.spec.ts#L71
'key' is defined but never used
TypeScript Lint: packages/util-stream/src/util-stream.integ.spec.ts#L71
'value' is defined but never used
TypeScript Lint: packages/middleware-stack/src/MiddlewareStack.spec.ts#L584
'stack' is defined but never used
TypeScript Lint: packages/property-provider/src/memoize.spec.ts#L136
'_' is assigned a value but never used
Ensure TypeScript is formatted
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 17 ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, gradle/wrapper-validation-action@v1, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 17 windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, gradle/wrapper-validation-action@v1, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Java 17 macos-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, gradle/wrapper-validation-action@v1, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
TypeScript Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, gradle/wrapper-validation-action@v1, actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.