api.fluff4.me 1.0.1154 → 1.0.1156
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 +13 -0
- package/openapi.json +71 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -302,6 +302,7 @@ export interface Work {
|
|
|
302
302
|
statistics?: WorkStatistics | null
|
|
303
303
|
recommendation?: Comment | null
|
|
304
304
|
recommendation_reactions: AttributedReaction[]
|
|
305
|
+
recommendation_reacted?: true | null
|
|
305
306
|
}
|
|
306
307
|
|
|
307
308
|
export interface WorkCreateBody {
|
|
@@ -2115,6 +2116,18 @@ export interface Paths {
|
|
|
2115
2116
|
search?: undefined
|
|
2116
2117
|
response: Response<ManifestReactionTypes> | ErrorResponse
|
|
2117
2118
|
},
|
|
2119
|
+
"/v2/reactions/work/{author_vanity}/{work_vanity}/add": {
|
|
2120
|
+
method: "post"
|
|
2121
|
+
body?: undefined
|
|
2122
|
+
search?: undefined
|
|
2123
|
+
response: void | ErrorResponse
|
|
2124
|
+
},
|
|
2125
|
+
"/v2/reactions/work/{author_vanity}/{work_vanity}/delete": {
|
|
2126
|
+
method: "post"
|
|
2127
|
+
body?: undefined
|
|
2128
|
+
search?: undefined
|
|
2129
|
+
response: void | ErrorResponse
|
|
2130
|
+
},
|
|
2118
2131
|
"/v2/supporter/status": {
|
|
2119
2132
|
method: "get"
|
|
2120
2133
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -1875,6 +1875,19 @@
|
|
|
1875
1875
|
"items": {
|
|
1876
1876
|
"$ref": "#/components/schema/AttributedReaction"
|
|
1877
1877
|
}
|
|
1878
|
+
},
|
|
1879
|
+
"recommendation_reacted": {
|
|
1880
|
+
"anyOf": [
|
|
1881
|
+
{
|
|
1882
|
+
"type": "boolean",
|
|
1883
|
+
"enum": [
|
|
1884
|
+
true
|
|
1885
|
+
]
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"type": "null"
|
|
1889
|
+
}
|
|
1890
|
+
]
|
|
1878
1891
|
}
|
|
1879
1892
|
},
|
|
1880
1893
|
"required": [
|
|
@@ -14211,6 +14224,64 @@
|
|
|
14211
14224
|
}
|
|
14212
14225
|
}
|
|
14213
14226
|
},
|
|
14227
|
+
"/v2/reactions/work/{author_vanity}/{work_vanity}/add": {
|
|
14228
|
+
"parameters": [
|
|
14229
|
+
{
|
|
14230
|
+
"name": "author_vanity",
|
|
14231
|
+
"in": "path"
|
|
14232
|
+
},
|
|
14233
|
+
{
|
|
14234
|
+
"name": "work_vanity",
|
|
14235
|
+
"in": "path"
|
|
14236
|
+
}
|
|
14237
|
+
],
|
|
14238
|
+
"post": {
|
|
14239
|
+
"responses": {
|
|
14240
|
+
"200": {
|
|
14241
|
+
"description": "200 response"
|
|
14242
|
+
},
|
|
14243
|
+
"default": {
|
|
14244
|
+
"description": "Error",
|
|
14245
|
+
"content": {
|
|
14246
|
+
"application/json": {
|
|
14247
|
+
"schema": {
|
|
14248
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14249
|
+
}
|
|
14250
|
+
}
|
|
14251
|
+
}
|
|
14252
|
+
}
|
|
14253
|
+
}
|
|
14254
|
+
}
|
|
14255
|
+
},
|
|
14256
|
+
"/v2/reactions/work/{author_vanity}/{work_vanity}/delete": {
|
|
14257
|
+
"parameters": [
|
|
14258
|
+
{
|
|
14259
|
+
"name": "author_vanity",
|
|
14260
|
+
"in": "path"
|
|
14261
|
+
},
|
|
14262
|
+
{
|
|
14263
|
+
"name": "work_vanity",
|
|
14264
|
+
"in": "path"
|
|
14265
|
+
}
|
|
14266
|
+
],
|
|
14267
|
+
"post": {
|
|
14268
|
+
"responses": {
|
|
14269
|
+
"200": {
|
|
14270
|
+
"description": "200 response"
|
|
14271
|
+
},
|
|
14272
|
+
"default": {
|
|
14273
|
+
"description": "Error",
|
|
14274
|
+
"content": {
|
|
14275
|
+
"application/json": {
|
|
14276
|
+
"schema": {
|
|
14277
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
14278
|
+
}
|
|
14279
|
+
}
|
|
14280
|
+
}
|
|
14281
|
+
}
|
|
14282
|
+
}
|
|
14283
|
+
}
|
|
14284
|
+
},
|
|
14214
14285
|
"/v2/supporter/status": {
|
|
14215
14286
|
"get": {
|
|
14216
14287
|
"responses": {
|
package/package.json
CHANGED