api.fluff4.me 1.0.263 → 1.0.264
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -5
- package/openapi.json +5 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -265,7 +265,7 @@ export interface RoleReorderBody {
|
|
|
265
265
|
roles: string[]
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
export interface
|
|
268
|
+
export interface CommentResolved {
|
|
269
269
|
comment_id: string
|
|
270
270
|
parent_id?: string | null
|
|
271
271
|
body?: TextBody | null
|
|
@@ -286,7 +286,7 @@ export interface CommentUpdateBody {
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
export interface Comments {
|
|
289
|
-
comments:
|
|
289
|
+
comments: CommentResolved[]
|
|
290
290
|
authors: Author[]
|
|
291
291
|
}
|
|
292
292
|
|
|
@@ -738,12 +738,12 @@ export interface Paths {
|
|
|
738
738
|
"/comment/add/{under}": {
|
|
739
739
|
method: "post"
|
|
740
740
|
body: CommentCreateBody
|
|
741
|
-
response: Response<
|
|
741
|
+
response: Response<CommentResolved> | ErrorResponse
|
|
742
742
|
},
|
|
743
743
|
"/comment/{id}/update": {
|
|
744
744
|
method: "post"
|
|
745
745
|
body: CommentUpdateBody
|
|
746
|
-
response: Response<
|
|
746
|
+
response: Response<CommentResolved> | ErrorResponse
|
|
747
747
|
},
|
|
748
748
|
"/comment/{id}/remove": {
|
|
749
749
|
method: "post"
|
|
@@ -753,7 +753,7 @@ export interface Paths {
|
|
|
753
753
|
"/comment/{id}": {
|
|
754
754
|
method: "get"
|
|
755
755
|
body?: undefined
|
|
756
|
-
response: Response<
|
|
756
|
+
response: Response<CommentResolved> | ErrorResponse
|
|
757
757
|
},
|
|
758
758
|
"/comment/{comment_id}/react/{type}": {
|
|
759
759
|
method: "post"
|
package/openapi.json
CHANGED
|
@@ -1442,7 +1442,7 @@
|
|
|
1442
1442
|
"roles"
|
|
1443
1443
|
]
|
|
1444
1444
|
},
|
|
1445
|
-
"
|
|
1445
|
+
"CommentResolved": {
|
|
1446
1446
|
"type": "object",
|
|
1447
1447
|
"properties": {
|
|
1448
1448
|
"comment_id": {
|
|
@@ -1570,7 +1570,7 @@
|
|
|
1570
1570
|
"comments": {
|
|
1571
1571
|
"type": "array",
|
|
1572
1572
|
"items": {
|
|
1573
|
-
"$ref": "#/components/schema/
|
|
1573
|
+
"$ref": "#/components/schema/CommentResolved"
|
|
1574
1574
|
}
|
|
1575
1575
|
},
|
|
1576
1576
|
"authors": {
|
|
@@ -4763,7 +4763,7 @@
|
|
|
4763
4763
|
"type": "object",
|
|
4764
4764
|
"properties": {
|
|
4765
4765
|
"data": {
|
|
4766
|
-
"$ref": "#/components/schemas/
|
|
4766
|
+
"$ref": "#/components/schemas/CommentResolved"
|
|
4767
4767
|
}
|
|
4768
4768
|
},
|
|
4769
4769
|
"required": [
|
|
@@ -4812,7 +4812,7 @@
|
|
|
4812
4812
|
"type": "object",
|
|
4813
4813
|
"properties": {
|
|
4814
4814
|
"data": {
|
|
4815
|
-
"$ref": "#/components/schemas/
|
|
4815
|
+
"$ref": "#/components/schemas/CommentResolved"
|
|
4816
4816
|
}
|
|
4817
4817
|
},
|
|
4818
4818
|
"required": [
|
|
@@ -4877,7 +4877,7 @@
|
|
|
4877
4877
|
"type": "object",
|
|
4878
4878
|
"properties": {
|
|
4879
4879
|
"data": {
|
|
4880
|
-
"$ref": "#/components/schemas/
|
|
4880
|
+
"$ref": "#/components/schemas/CommentResolved"
|
|
4881
4881
|
}
|
|
4882
4882
|
},
|
|
4883
4883
|
"required": [
|
package/package.json
CHANGED