Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
Updated the model, adding Controller/ConfigController.php to the skip…
Browse files Browse the repository at this point in the history
… file list.
  • Loading branch information
paustian committed May 8, 2020
1 parent 98e3e2f commit 5710af9
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ application "Ratings" {
generateJsonTemplates false
generateKmlTemplates false
generateIcsTemplates false
skipFiles "HookProvider/RatingUiHooksProvider.php, \nEntity/Repository/RatingRepository.php,\nREADME.md, \nForm/Type/ConfigType.php"
skipFiles "HookProvider/RatingUiHooksProvider.php, \nEntity/Repository/RatingRepository.php,\nREADME.md,\nForm/Type/ConfigType.php,\nController/ConfigController.php\n"
markFiles "Resources/config/hooks.yml,\nController/AjaxController.php,\nResources/config/validators.yml,\nResources/public/css/style.css"
entities {
entity "rating" leading {
Expand All @@ -35,7 +35,7 @@ application "Ratings" {
fields {
string "moduleName" {
documentation "The name of the module that the rating is linked to"
length 64
length 64
},
integer "objectId" {
documentation "The id of the object that identifies the module instance this rating is linked to"
Expand All @@ -45,7 +45,8 @@ application "Ratings" {
documentation "The rating, based upon a scale for the item"
defaultValue "0"
length 3
},
}
,
user "userId" {
documentation "The Id of the user who rated the item. "
}
Expand All @@ -71,27 +72,27 @@ application "Ratings" {
documentation "A font-awesome css string that is used to display ratings. Either this or iconUrls must be specified."
defaultValue "fa-star"
mandatory false
role ICON
role ICON
},
string "halfIconFa" {
documentation "A font-awesome css string that is used to display ratings. Either this or iconUrls must be specified."
defaultValue "fa-star-half"
mandatory false
role ICON
role ICON
},
string "emptyIconFa" {
documentation "A font-awesome css string that is used to display ratings. Either this or iconUrls must be specified."
defaultValue "fa-star-o"
defaultValue "fa-star-empty"
mandatory false
role ICON
role ICON
},
string "iconUrl" {
documentation "A url to a rating icon to be used for a rating. Either this or IconFas must be designated."
mandatory false
},
string "halfIconUrl" {
documentation "A url to a rating icon to be used for a rating. Either this or IconFas must be designated."
mandatory false
mandatory false
},
string "emptyIconUrl" {
documentation "A url to a rating icon to be used for a rating. Either this or IconFas must be designated."
Expand Down

0 comments on commit 5710af9

Please sign in to comment.