[3] Move selectedArticleId from context to action payload #801
Annotations
10 errors and 7 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
Expected 3 arguments, but got 4.
|
install-and-test:
src/webhook/handleInput.ts#L1
Argument of type 'ChatbotStateHandlerParams' is not assignable to parameter of type 'ChatbotPostbackHandlerParams'.
|
install-and-test:
src/webhook/handlePostback.ts#L1
Argument of type 'ChatbotPostbackHandlerParams' is not assignable to parameter of type 'ChatbotStateHandlerParams'.
|
install-and-test:
src/webhook/handlePostback.ts#L1
Argument of type 'ChatbotPostbackHandlerParams' is not assignable to parameter of type 'ChatbotStateHandlerParams'.
|
install-and-test:
src/webhook/handlers/askingArticleSource.ts#L1
Property 'searchedText' does not exist on type 'Context | Record<string, never>'.
|
install-and-test:
src/webhook/handlers/askingArticleSubmissionConsent.ts#L1
Property 'searchedText' does not exist on type 'Context | Record<string, never>'.
|
install-and-test:
src/webhook/handlers/askingArticleSubmissionConsent.ts#L1
Property 'searchedText' does not exist on type 'Context | Record<string, never>'.
|
install-and-test:
src/webhook/handlers/askingArticleSubmissionConsent.ts#L1
Property 'messageId' does not exist on type 'Context | Record<string, never>'.
|
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/handlers/tutorial.ts#L6
'ManipulationError' is defined but never used
|
install-and-test:
src/webhook/handlers/tutorial.ts#L17
'ChatbotPostbackHandler' is defined but never used
|
install-and-test:
src/webhook/handlers/tutorial.ts#L20
'ChatbotStateHandlerParams' is defined but never used
|
install-and-test:
src/webhook/handlers/tutorial.ts#L22
'Context' is defined but never used
|