File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ module . exports = function ( Blogpost ) {
4+
5+ } ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " blogPost" ,
3+ "base" : " PersistedModel" ,
4+ "strict" : false ,
5+ "idInjection" : false ,
6+ "options" : {
7+ "validateUpsert" : true
8+ },
9+ "properties" : {
10+ "postContent" : {
11+ "type" : " any"
12+ },
13+ "postDate" : {
14+ "type" : " date"
15+ },
16+ "postId" : {
17+ "type" : " string" ,
18+ "id" : true
19+ },
20+ "postTitle" : {
21+ "type" : " string"
22+ }
23+ },
24+ "validations" : [],
25+ "relations" : {},
26+ "acls" : [],
27+ "methods" : {}
28+ }
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ module . exports = function ( Map ) {
4+
5+ } ;
Original file line number Diff line number Diff line change 3030 },
3131 "RoleMapping" : {
3232 "dataSource" : " db" ,
33- "public" : true
33+ "public" : false
3434 },
3535 "Role" : {
3636 "dataSource" : " db" ,
37- "public" : true
37+ "public" : false
3838 },
3939 "userPhoto" : {
4040 "dataSource" : " db" ,
7979 "Profiledata" : {
8080 "dataSource" : " db" ,
8181 "public" : true
82+ },
83+ "blogPost" : {
84+ "dataSource" : " db" ,
85+ "public" : true
8286 }
8387}
You can’t perform that action at this time.
0 commit comments