Skip to content

Commit fb83116

Browse files
author
Fuguh Budi Utomo
committed
add model blog-post.json
1 parent 316054a commit fb83116

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

common/models/blog-post.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
}

0 commit comments

Comments
 (0)