feat: update logic for update query to db for posts
This commit is contained in:
@@ -455,6 +455,9 @@ const docTemplate = `{
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"published": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -466,6 +469,9 @@ const docTemplate = `{
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"published": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
@@ -444,6 +444,9 @@
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"published": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -455,6 +458,9 @@
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"published": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
@@ -25,6 +25,8 @@ definitions:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
published:
|
||||
type: boolean
|
||||
title:
|
||||
type: string
|
||||
type: object
|
||||
@@ -32,6 +34,8 @@ definitions:
|
||||
properties:
|
||||
content:
|
||||
type: string
|
||||
published:
|
||||
type: boolean
|
||||
title:
|
||||
type: string
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user