Skip to content

Commit

Permalink
minor schema updates (microsoft#438)
Browse files Browse the repository at this point in the history
* minor schema updates

* Update app.schema

* Create sdk.schema

* Update schema in templates

* expose server's sdk schema to shell

* change name sdkSchema

* remove dependency of schemas field in botproj

* add editor schema in server side

* Revert "Merge remote-tracking branch 'origin/donglei/remove-schemas' into luhan/minorSchemaUpdate"

This reverts commit 7cd2f59, reversing
changes made to 33b8d91.

* Revert "Revert "Merge remote-tracking branch 'origin/donglei/remove-schemas' into luhan/minorSchemaUpdate""

This reverts commit b0e6698.

* server return sdk/editor schema { user || default }

* remove samplebots/.schemas

* schema change structure compatible with current form editor, remove template bot .schema

* Update appschema.ts
  • Loading branch information
luhan2017 authored and boydc2014 committed Jul 4, 2019
1 parent cbfad57 commit 0eb93f0
Show file tree
Hide file tree
Showing 26 changed files with 352 additions and 36,922 deletions.
8 changes: 4 additions & 4 deletions BotProject/CSharp/Schemas/Steps/Microsoft.EditSteps.schema
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Edit current dialog with changeType and Steps",
"type": "object",
"properties": {
"ChangeType": {
"changeType": {
"type": "string",
"title": "Change Type",
"description": "The change type to apply to current dialog",
Expand All @@ -17,7 +17,7 @@
"ReplaceSequence"
]
},
"Steps": {
"steps": {
"type": "array",
"items": {
"$type": "Microsoft.IDialog"
Expand All @@ -27,7 +27,7 @@
}
},
"required": [
"ChangeType",
"Steps"
"changeType",
"steps"
]
}
12 changes: 6 additions & 6 deletions BotProject/CSharp/Schemas/Steps/Microsoft.Foreach.schema
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@
"description": "Step which executes steps per item in a collection.",
"type": "object",
"properties": {
"ListProperty": {
"listProperty": {
"$role": "expression",
"title": "ListProperty",
"description": "Expression to evaluate.",
"examples": [
"user.todoList"
]
},
"Steps": {
"steps": {
"type": "array",
"items": {
"$type": "Microsoft.IDialog"
},
"title": "Steps",
"description": "Steps to execute"
},
"IndexProperty": {
"indexProperty": {
"$role": "memoryPath",
"title": "Index Property",
"description": "The memory path which refers to the index of the item",
"default": "dialog.index"
},
"ValueProperty": {
"valueProperty": {
"$role": "memoryPath",
"title": "Value Property",
"description": "The memory path which refers to the value of the item",
"default": "dialog.value"
}
},
"required": [
"ListProperty",
"Steps"
"listProperty",
"steps"
]
}
12 changes: 6 additions & 6 deletions BotProject/CSharp/Schemas/Steps/Microsoft.ForeachPage.schema
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@
"description": "Step which execute steps per item page in a collection.",
"type": "object",
"properties": {
"ListProperty": {
"listProperty": {
"$role": "expression",
"title": "ListProperty",
"description": "Expression to evaluate.",
"examples": [
"user.todoList"
]
},
"Steps": {
"steps": {
"type": "array",
"items": {
"$type": "Microsoft.IDialog"
},
"title": "Steps",
"description": "Steps to execute"
},
"PageSize": {
"pageSize": {
"type": "integer",
"title": "Page Size",
"description": "The page size",
"default": 10
},
"ValueProperty": {
"valueProperty": {
"$role": "memoryPath",
"title": "Value Property",
"description": "The memory path which refers to the value of the item",
"default": "dialog.value"
}
},
"required": [
"ListProperty",
"Steps"
"listProperty",
"steps"
]
}
Loading

0 comments on commit 0eb93f0

Please sign in to comment.