Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

botonic-react: ReactBot class with typescript #3003

Draft
wants to merge 4 commits into
base: master-lts
Choose a base branch
from

Conversation

Iru89
Copy link
Contributor

@Iru89 Iru89 commented Apr 5, 2025

Description

Pass ReactBot class to typescript
Add RequestCoreContext type. This is the request that the CoreBot passes to the actions and is used from the RequestContext.
Create requestCoreContext with the values and functions that need RequestContext inside actions
Not only use this requestCoreContext for actions, use it for pre and post functions od the plugins and also in routes

@Iru89 Iru89 force-pushed the react-bot-class-with-typescript branch from f905f50 to a3148c5 Compare April 5, 2025 19:25
@Iru89 Iru89 force-pushed the react-bot-class-with-typescript branch from a3148c5 to 08f2a73 Compare April 5, 2025 19:28
@Iru89 Iru89 marked this pull request as draft April 7, 2025 10:19
@Iru89 Iru89 requested a review from vanbasten17 April 7, 2025 11:59
@Iru89 Iru89 force-pushed the react-bot-class-with-typescript branch from 6d6cf6e to 5dc3148 Compare April 7, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant