-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:(@aws-amplify/interactions): refactor-lex-v1 (#10155)
- Loading branch information
1 parent
0ce6b95
commit 51a4598
Showing
8 changed files
with
882 additions
and
870 deletions.
There are no files selected for viewing
1,124 changes: 296 additions & 828 deletions
1,124
packages/interactions/__tests__/Interactions-unit-test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
475 changes: 475 additions & 0 deletions
475
packages/interactions/__tests__/providers/AWSLexProvider-unit-test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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
11 changes: 11 additions & 0 deletions
11
packages/interactions/src/types/Providers/AWSLexProvider.ts
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,11 @@ | ||
export interface AWSLexProviderOption { | ||
name: string; | ||
alias: string; | ||
region: string; | ||
providerName?: string; | ||
onComplete?(botname: string, callback: (err, confirmation) => void): void; | ||
} | ||
|
||
export interface AWSLexProviderOptions { | ||
[key: string]: AWSLexProviderOption; | ||
} |
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