feat: update logic for update query to db for posts

This commit is contained in:
d3m0k1d
2026-02-15 01:11:59 +03:00
parent a96ef069cc
commit 51f8a125e9
4 changed files with 39 additions and 12 deletions

View File

@@ -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"
}

View File

@@ -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"
}

View File

@@ -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