-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full stack/refactor internal session vars - preparation: move files t…
…o be changed into experimental (#1948) * chore(react): move necessary files to be changed into experimental and update imports * chore: add more necessary files to be changed * Full stack/refactor internal session vars - adapt backend code to botState data model (#1966) * chore(dev-template): remove warnings in Actions and sort imports * chore(dev-template): project changes regarding botState data model * chore(core): split data models into User, Session and BotState * chore(api): changes regarding botState in botonic/api * chore(core): core-bot and router logic to work with botState * chore(core): adapt tests to work with botState model, disabling handoff tests for 1.0 * Full stack/refactor internal session vars - adapt frontend code to botState data model (#1967) * chore(react): changes in webchat regarding move to botState model * refactor(core/api/dev-template): remove initial locale and minor fixes * refactor(react): remove locale from initial session and make use of merge func
- Loading branch information
1 parent
00be83e
commit 56d29a3
Showing
55 changed files
with
1,713 additions
and
512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { RoutePath } from './legacy-types' | ||
|
||
export interface BotState { | ||
botId: string | ||
isFirstInteraction: boolean | ||
isHandoff: boolean | ||
isShadowing: boolean | ||
lastRoutePath: RoutePath | ||
locale?: string | ||
retries: number | ||
botonicAction?: any | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export * from './bot-state' | ||
export * from './events' | ||
export * from './legacy-types' | ||
export * from './session' | ||
export * from './user' |
Oops, something went wrong.