This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TypeScript][Skill Sample] Add manifest endpoint (#1511)
* Add manifest endpoint * Update template with manifest endpoint
- Loading branch information
Showing
9 changed files
with
162 additions
and
83 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
26 changes: 26 additions & 0 deletions
26
...or-botbuilder-assistant/generators/skill/templates/customSkill/src/_manifestTemplate.json
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,26 @@ | ||
{ | ||
"id": "<%= skillName %>", | ||
"name": "<%= skillName %>", | ||
"description": "This is the description of the <%= skillName %>", | ||
"iconUrl": "", | ||
"authenticationConnections": [], | ||
"actions": [ | ||
{ | ||
"id": "<%= skillName %>_Sample", | ||
"definition": { | ||
"description": "Trigger <%= skillName %>", | ||
"slots": [], | ||
"triggers": { | ||
"utteranceSources": [ | ||
{ | ||
"locale": "en", | ||
"source": [ | ||
"<%= skillName %>#Sample" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |
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
37 changes: 0 additions & 37 deletions
37
...tor-botbuilder-assistant/generators/skill/templates/customSkill/src/manifestTemplate.json
This file was deleted.
Oops, something went wrong.
107 changes: 96 additions & 11 deletions
107
templates/Virtual-Assistant-Template/typescript/samples/sample-skill/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
51 changes: 20 additions & 31 deletions
51
...ates/Virtual-Assistant-Template/typescript/samples/sample-skill/src/manifestTemplate.json
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,37 +1,26 @@ | ||
{ | ||
"id": "", | ||
"name": "", | ||
"description": "", | ||
"iconUrl": "", | ||
"authenticationConnections": [ | ||
{ | ||
"id": "", | ||
"serviceProviderId": "", | ||
"scopes": "" | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"id": "", | ||
"definition": { | ||
"description": "", | ||
"slots": [ | ||
"id": "sampleSkill", | ||
"name": "Sample Skill", | ||
"description": "This is the description of the sample skill", | ||
"iconUrl": "", | ||
"authenticationConnections": [], | ||
"actions": [ | ||
{ | ||
"id": "sampleSkill_Sample", | ||
"definition": { | ||
"description": "Trigger sample skill", | ||
"slots": [], | ||
"triggers": { | ||
"utteranceSources": [ | ||
{ | ||
"name": "", | ||
"types": [ "string" ] | ||
"locale": "en", | ||
"source": [ | ||
"sample-skill#Sample" | ||
] | ||
} | ||
], | ||
"triggers": { | ||
"utteranceSources": [ | ||
{ | ||
"locale": "en", | ||
"source": [ | ||
"luisModel#intent" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |