api.fluff4.me 1.0.382 → 1.0.384
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 +10 -10
- package/openapi.json +58 -58
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -264,6 +264,8 @@ export interface ChapterLite {
|
|
|
264
264
|
work: string
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
+
export type Works = Work[]
|
|
268
|
+
|
|
267
269
|
export interface Feed {
|
|
268
270
|
works: Work[]
|
|
269
271
|
authors: Author[]
|
|
@@ -278,8 +280,6 @@ export interface WorkReference {
|
|
|
278
280
|
vanity: string
|
|
279
281
|
}
|
|
280
282
|
|
|
281
|
-
export type Works = Work[]
|
|
282
|
-
|
|
283
283
|
export interface Follow {
|
|
284
284
|
author?: string | null
|
|
285
285
|
work?: WorkReference | null
|
|
@@ -639,7 +639,7 @@ export interface Paths {
|
|
|
639
639
|
search?: undefined
|
|
640
640
|
response: void | ErrorResponse
|
|
641
641
|
},
|
|
642
|
-
"/
|
|
642
|
+
"/authors/resolve": {
|
|
643
643
|
method: "get"
|
|
644
644
|
body?: undefined
|
|
645
645
|
search: {
|
|
@@ -740,22 +740,22 @@ export interface Paths {
|
|
|
740
740
|
}
|
|
741
741
|
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
742
742
|
},
|
|
743
|
-
"/
|
|
743
|
+
"/works/{author}": {
|
|
744
744
|
method: "get"
|
|
745
745
|
body?: undefined
|
|
746
746
|
search: {
|
|
747
|
-
|
|
747
|
+
page?: number
|
|
748
|
+
page_size?: number
|
|
748
749
|
}
|
|
749
|
-
response:
|
|
750
|
+
response: PaginatedResponse<Works> | ErrorResponse
|
|
750
751
|
},
|
|
751
|
-
"/works/
|
|
752
|
+
"/works/resolve": {
|
|
752
753
|
method: "get"
|
|
753
754
|
body?: undefined
|
|
754
755
|
search: {
|
|
755
|
-
|
|
756
|
-
page_size?: number
|
|
756
|
+
works: WorkReference[]
|
|
757
757
|
}
|
|
758
|
-
response:
|
|
758
|
+
response: Response<Feed> | ErrorResponse
|
|
759
759
|
},
|
|
760
760
|
"/follow/author/{vanity}": {
|
|
761
761
|
method: "post"
|
package/openapi.json
CHANGED
|
@@ -1600,6 +1600,12 @@
|
|
|
1600
1600
|
"work"
|
|
1601
1601
|
]
|
|
1602
1602
|
},
|
|
1603
|
+
"Works": {
|
|
1604
|
+
"type": "array",
|
|
1605
|
+
"items": {
|
|
1606
|
+
"$ref": "#/components/schema/Work"
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1603
1609
|
"Feed": {
|
|
1604
1610
|
"type": "object",
|
|
1605
1611
|
"properties": {
|
|
@@ -1650,12 +1656,6 @@
|
|
|
1650
1656
|
"vanity"
|
|
1651
1657
|
]
|
|
1652
1658
|
},
|
|
1653
|
-
"Works": {
|
|
1654
|
-
"type": "array",
|
|
1655
|
-
"items": {
|
|
1656
|
-
"$ref": "#/components/schema/Work"
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
1659
|
"Follow": {
|
|
1660
1660
|
"type": "object",
|
|
1661
1661
|
"properties": {
|
|
@@ -3384,7 +3384,7 @@
|
|
|
3384
3384
|
}
|
|
3385
3385
|
}
|
|
3386
3386
|
},
|
|
3387
|
-
"/
|
|
3387
|
+
"/authors/resolve": {
|
|
3388
3388
|
"get": {
|
|
3389
3389
|
"parameters": [
|
|
3390
3390
|
{
|
|
@@ -4204,57 +4204,6 @@
|
|
|
4204
4204
|
}
|
|
4205
4205
|
}
|
|
4206
4206
|
},
|
|
4207
|
-
"/work/resolve": {
|
|
4208
|
-
"get": {
|
|
4209
|
-
"parameters": [
|
|
4210
|
-
{
|
|
4211
|
-
"name": "works",
|
|
4212
|
-
"in": "query",
|
|
4213
|
-
"required": true,
|
|
4214
|
-
"content": {
|
|
4215
|
-
"application/json": {
|
|
4216
|
-
"schema": {
|
|
4217
|
-
"type": "array",
|
|
4218
|
-
"items": {
|
|
4219
|
-
"$ref": "#/components/schema/WorkReference"
|
|
4220
|
-
}
|
|
4221
|
-
}
|
|
4222
|
-
}
|
|
4223
|
-
}
|
|
4224
|
-
}
|
|
4225
|
-
],
|
|
4226
|
-
"responses": {
|
|
4227
|
-
"200": {
|
|
4228
|
-
"description": "200 response",
|
|
4229
|
-
"content": {
|
|
4230
|
-
"application/json": {
|
|
4231
|
-
"schema": {
|
|
4232
|
-
"type": "object",
|
|
4233
|
-
"properties": {
|
|
4234
|
-
"data": {
|
|
4235
|
-
"$ref": "#/components/schemas/Feed"
|
|
4236
|
-
}
|
|
4237
|
-
},
|
|
4238
|
-
"required": [
|
|
4239
|
-
"data"
|
|
4240
|
-
]
|
|
4241
|
-
}
|
|
4242
|
-
}
|
|
4243
|
-
}
|
|
4244
|
-
},
|
|
4245
|
-
"default": {
|
|
4246
|
-
"description": "Error",
|
|
4247
|
-
"content": {
|
|
4248
|
-
"application/json": {
|
|
4249
|
-
"schema": {
|
|
4250
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
4251
|
-
}
|
|
4252
|
-
}
|
|
4253
|
-
}
|
|
4254
|
-
}
|
|
4255
|
-
}
|
|
4256
|
-
}
|
|
4257
|
-
},
|
|
4258
4207
|
"/works/{author}": {
|
|
4259
4208
|
"parameters": [
|
|
4260
4209
|
{
|
|
@@ -4347,6 +4296,57 @@
|
|
|
4347
4296
|
}
|
|
4348
4297
|
}
|
|
4349
4298
|
},
|
|
4299
|
+
"/works/resolve": {
|
|
4300
|
+
"get": {
|
|
4301
|
+
"parameters": [
|
|
4302
|
+
{
|
|
4303
|
+
"name": "works",
|
|
4304
|
+
"in": "query",
|
|
4305
|
+
"required": true,
|
|
4306
|
+
"content": {
|
|
4307
|
+
"application/json": {
|
|
4308
|
+
"schema": {
|
|
4309
|
+
"type": "array",
|
|
4310
|
+
"items": {
|
|
4311
|
+
"$ref": "#/components/schema/WorkReference"
|
|
4312
|
+
}
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
],
|
|
4318
|
+
"responses": {
|
|
4319
|
+
"200": {
|
|
4320
|
+
"description": "200 response",
|
|
4321
|
+
"content": {
|
|
4322
|
+
"application/json": {
|
|
4323
|
+
"schema": {
|
|
4324
|
+
"type": "object",
|
|
4325
|
+
"properties": {
|
|
4326
|
+
"data": {
|
|
4327
|
+
"$ref": "#/components/schemas/Feed"
|
|
4328
|
+
}
|
|
4329
|
+
},
|
|
4330
|
+
"required": [
|
|
4331
|
+
"data"
|
|
4332
|
+
]
|
|
4333
|
+
}
|
|
4334
|
+
}
|
|
4335
|
+
}
|
|
4336
|
+
},
|
|
4337
|
+
"default": {
|
|
4338
|
+
"description": "Error",
|
|
4339
|
+
"content": {
|
|
4340
|
+
"application/json": {
|
|
4341
|
+
"schema": {
|
|
4342
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4343
|
+
}
|
|
4344
|
+
}
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4350
4350
|
"/follow/author/{vanity}": {
|
|
4351
4351
|
"parameters": [
|
|
4352
4352
|
{
|
package/package.json
CHANGED