forked from OrchardCMS/OrchardCore
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
90 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"name": "Recipe6", | ||
"displayName": "Recipe 6", | ||
"description": "This is a recipe for a bug to verify that the type-checking function works as expected", | ||
"author": "Tony Han", | ||
"website": "", | ||
"version": "1.0.0", | ||
"issetuprecipe": false, | ||
"categories": [ "test" ], | ||
"tags": [], | ||
"variables": { | ||
"messageContentItemId": "[js:uuid()]", | ||
"now": "[js: new Date().toISOString()]" | ||
}, | ||
"steps": [ | ||
{ | ||
"name": "feature", | ||
"enable": [ | ||
"OrchardCore.Contents", | ||
"OrchardCore.ContentTypes", | ||
"OrchardCore.Title" | ||
] | ||
}, | ||
{ | ||
"name": "ContentDefinition", | ||
"ContentTypes": [ | ||
{ | ||
"Name": "Message", | ||
"DisplayName": "Message", | ||
"Settings": { | ||
"ContentTypeSettings": { | ||
"Creatable": true, | ||
"Draftable": true, | ||
"Versionable": true, | ||
"Listable": true, | ||
"Securable": true | ||
} | ||
}, | ||
"ContentTypePartDefinitionRecords": [ | ||
{ | ||
"PartName": "Message", | ||
"Name": "Message", | ||
"Settings": { | ||
"ContentTypePartSettings": { | ||
"Position": "5" | ||
} | ||
} | ||
}, | ||
{ | ||
//"PartName": "TitlePart",//test part validate | ||
"Name": "TitlePart" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |