api.fluff4.me 1.0.276 → 1.0.278
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 +8 -6
- package/openapi.json +29 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface Author {
|
|
|
42
42
|
pronouns?: string | null
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export interface
|
|
45
|
+
export interface AuthDeleteBody {
|
|
46
46
|
id: string
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -164,6 +164,8 @@ export interface Chapter {
|
|
|
164
164
|
root_comment?: string | null
|
|
165
165
|
global_tags?: string[] | null
|
|
166
166
|
custom_tags?: CustomTag[] | null
|
|
167
|
+
reactions?: number | null
|
|
168
|
+
reacted?: true | null
|
|
167
169
|
}
|
|
168
170
|
|
|
169
171
|
export interface ChapterCreateBody {
|
|
@@ -481,9 +483,9 @@ export interface Paths {
|
|
|
481
483
|
body?: undefined
|
|
482
484
|
response: void | ErrorResponse
|
|
483
485
|
},
|
|
484
|
-
"/auth/
|
|
486
|
+
"/auth/delete": {
|
|
485
487
|
method: "post"
|
|
486
|
-
body:
|
|
488
|
+
body: AuthDeleteBody
|
|
487
489
|
response: void | ErrorResponse
|
|
488
490
|
},
|
|
489
491
|
"/auth/services": {
|
|
@@ -751,7 +753,7 @@ export interface Paths {
|
|
|
751
753
|
body: CommentUpdateBody
|
|
752
754
|
response: Response<CommentResolved> | ErrorResponse
|
|
753
755
|
},
|
|
754
|
-
"/comment/{id}/
|
|
756
|
+
"/comment/{id}/delete": {
|
|
755
757
|
method: "post"
|
|
756
758
|
body?: undefined
|
|
757
759
|
response: void | ErrorResponse
|
|
@@ -801,12 +803,12 @@ export interface Paths {
|
|
|
801
803
|
body: TagCategoryUpdateBody
|
|
802
804
|
response: Response<TagCategory> | ErrorResponse
|
|
803
805
|
},
|
|
804
|
-
"/tag/
|
|
806
|
+
"/tag/delete/global/{vanity}": {
|
|
805
807
|
method: "post"
|
|
806
808
|
body?: undefined
|
|
807
809
|
response: void | ErrorResponse
|
|
808
810
|
},
|
|
809
|
-
"/tag/
|
|
811
|
+
"/tag/delete/category/{vanity}": {
|
|
810
812
|
method: "post"
|
|
811
813
|
body?: undefined
|
|
812
814
|
response: void | ErrorResponse
|
package/openapi.json
CHANGED
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"vanity"
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
|
-
"
|
|
146
|
+
"AuthDeleteBody": {
|
|
147
147
|
"type": "object",
|
|
148
148
|
"properties": {
|
|
149
149
|
"id": {
|
|
@@ -885,6 +885,29 @@
|
|
|
885
885
|
"type": "null"
|
|
886
886
|
}
|
|
887
887
|
]
|
|
888
|
+
},
|
|
889
|
+
"reactions": {
|
|
890
|
+
"anyOf": [
|
|
891
|
+
{
|
|
892
|
+
"type": "number"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"type": "null"
|
|
896
|
+
}
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
"reacted": {
|
|
900
|
+
"anyOf": [
|
|
901
|
+
{
|
|
902
|
+
"type": "boolean",
|
|
903
|
+
"enum": [
|
|
904
|
+
true
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"type": "null"
|
|
909
|
+
}
|
|
910
|
+
]
|
|
888
911
|
}
|
|
889
912
|
},
|
|
890
913
|
"required": [
|
|
@@ -2461,13 +2484,13 @@
|
|
|
2461
2484
|
}
|
|
2462
2485
|
}
|
|
2463
2486
|
},
|
|
2464
|
-
"/auth/
|
|
2487
|
+
"/auth/delete": {
|
|
2465
2488
|
"post": {
|
|
2466
2489
|
"requestBody": {
|
|
2467
2490
|
"content": {
|
|
2468
2491
|
"application/json": {
|
|
2469
2492
|
"schema": {
|
|
2470
|
-
"$ref": "#/components/schemas/
|
|
2493
|
+
"$ref": "#/components/schemas/AuthDeleteBody"
|
|
2471
2494
|
}
|
|
2472
2495
|
}
|
|
2473
2496
|
}
|
|
@@ -4872,7 +4895,7 @@
|
|
|
4872
4895
|
}
|
|
4873
4896
|
}
|
|
4874
4897
|
},
|
|
4875
|
-
"/comment/{id}/
|
|
4898
|
+
"/comment/{id}/delete": {
|
|
4876
4899
|
"parameters": [
|
|
4877
4900
|
{
|
|
4878
4901
|
"name": "id",
|
|
@@ -5291,7 +5314,7 @@
|
|
|
5291
5314
|
}
|
|
5292
5315
|
}
|
|
5293
5316
|
},
|
|
5294
|
-
"/tag/
|
|
5317
|
+
"/tag/delete/global/{vanity}": {
|
|
5295
5318
|
"parameters": [
|
|
5296
5319
|
{
|
|
5297
5320
|
"name": "vanity",
|
|
@@ -5316,7 +5339,7 @@
|
|
|
5316
5339
|
}
|
|
5317
5340
|
}
|
|
5318
5341
|
},
|
|
5319
|
-
"/tag/
|
|
5342
|
+
"/tag/delete/category/{vanity}": {
|
|
5320
5343
|
"parameters": [
|
|
5321
5344
|
{
|
|
5322
5345
|
"name": "vanity",
|
package/package.json
CHANGED