Skip to content

[3] Move selectedArticleId from context to action payload #798

[3] Move selectedArticleId from context to action payload

[3] Move selectedArticleId from context to action payload #798

Triggered via pull request October 30, 2023 17:04
@MrOrzMrOrz
synchronize #369
id-in-context
Status Failure
Total duration 1m 45s
Artifacts

ci.yml

on: pull_request
install-and-test
1m 35s
install-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
install-and-test: src/webhook/handleInput.ts#L1
Property 'input' does not exist on type 'ChatbotEvent'.
install-and-test: src/webhook/handleInput.ts#L1
Type '{ type: "postback"; input: string; }' is not assignable to type 'ChatbotEvent'.
install-and-test: src/webhook/handleInput.ts#L1
Argument of type 'string' is not assignable to parameter of type 'PostbackActionData<unknown>'.
install-and-test: src/webhook/handlers/choosingReply.ts#L1
Property 'input' does not exist on type '(ServerChooseEvent & ArgumentedEventParams) | PostbackEvent'.
install-and-test: src/webhook/handlers/initState.ts#L1
Property 'input' does not exist on type 'ChatbotEvent'.
install-and-test: src/webhook/handlers/initState.ts#L1
Property 'input' does not exist on type 'ChatbotEvent'.
install-and-test: src/webhook/handlers/initState.ts#L1
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
install-and-test: src/webhook/handlers/initState.ts#L1
Property 'input' does not exist on type 'ChatbotEvent'.
install-and-test: src/webhook/handlers/initState.ts#L1
Property 'input' does not exist on type 'ChatbotEvent'.
install-and-test: src/webhook/handlers/initState.ts#L1
Property 'input' does not exist on type 'ChatbotEvent'.
install-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
install-and-test: src/liff/components/ArticleCard.svelte#L104
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event
install-and-test: src/liff/components/Card.svelte#L24
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event
install-and-test: src/webhook/handlePostback.ts#L11
'ChatbotState' is defined but never used