api.fluff4.me 1.0.373 → 1.0.376
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 +23 -5
- package/openapi.json +151 -15
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -136,6 +136,10 @@ export interface AuthorInsert {
|
|
|
136
136
|
feedback_preference_typos?: boolean | null
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
export interface AuthorResolveSearch {
|
|
140
|
+
authors: string[]
|
|
141
|
+
}
|
|
142
|
+
|
|
139
143
|
export interface WorkFull {
|
|
140
144
|
name: string
|
|
141
145
|
description: string
|
|
@@ -260,6 +264,15 @@ export interface ChapterLite {
|
|
|
260
264
|
work: string
|
|
261
265
|
}
|
|
262
266
|
|
|
267
|
+
export interface WorkResolveSearch {
|
|
268
|
+
works: WorkReference[]
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export interface WorkReference {
|
|
272
|
+
author: string
|
|
273
|
+
vanity: string
|
|
274
|
+
}
|
|
275
|
+
|
|
263
276
|
export type Works = Work[]
|
|
264
277
|
|
|
265
278
|
export interface Follow {
|
|
@@ -271,11 +284,6 @@ export interface Follow {
|
|
|
271
284
|
updated: string
|
|
272
285
|
}
|
|
273
286
|
|
|
274
|
-
export interface WorkReference {
|
|
275
|
-
author: string
|
|
276
|
-
vanity: string
|
|
277
|
-
}
|
|
278
|
-
|
|
279
287
|
export interface FollowsManifest {
|
|
280
288
|
following: {
|
|
281
289
|
author: Follow[]
|
|
@@ -615,6 +623,11 @@ export interface Paths {
|
|
|
615
623
|
body?: undefined
|
|
616
624
|
response: void | ErrorResponse
|
|
617
625
|
},
|
|
626
|
+
"/author/resolve": {
|
|
627
|
+
method: "get"
|
|
628
|
+
body?: undefined
|
|
629
|
+
response: Response<Author[]> | ErrorResponse
|
|
630
|
+
},
|
|
618
631
|
"/work/create": {
|
|
619
632
|
method: "post"
|
|
620
633
|
body: WorkCreateBody
|
|
@@ -685,6 +698,11 @@ export interface Paths {
|
|
|
685
698
|
body?: undefined
|
|
686
699
|
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
687
700
|
},
|
|
701
|
+
"/work/resolve": {
|
|
702
|
+
method: "get"
|
|
703
|
+
body?: undefined
|
|
704
|
+
response: Response<Work[]> | ErrorResponse
|
|
705
|
+
},
|
|
688
706
|
"/works/{author}": {
|
|
689
707
|
method: "get"
|
|
690
708
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -709,6 +709,20 @@
|
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
711
|
},
|
|
712
|
+
"AuthorResolveSearch": {
|
|
713
|
+
"type": "object",
|
|
714
|
+
"properties": {
|
|
715
|
+
"authors": {
|
|
716
|
+
"type": "array",
|
|
717
|
+
"items": {
|
|
718
|
+
"type": "string"
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"required": [
|
|
723
|
+
"authors"
|
|
724
|
+
]
|
|
725
|
+
},
|
|
712
726
|
"WorkFull": {
|
|
713
727
|
"type": "object",
|
|
714
728
|
"properties": {
|
|
@@ -1586,6 +1600,35 @@
|
|
|
1586
1600
|
"work"
|
|
1587
1601
|
]
|
|
1588
1602
|
},
|
|
1603
|
+
"WorkResolveSearch": {
|
|
1604
|
+
"type": "object",
|
|
1605
|
+
"properties": {
|
|
1606
|
+
"works": {
|
|
1607
|
+
"type": "array",
|
|
1608
|
+
"items": {
|
|
1609
|
+
"$ref": "#/components/schema/WorkReference"
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
"required": [
|
|
1614
|
+
"works"
|
|
1615
|
+
]
|
|
1616
|
+
},
|
|
1617
|
+
"WorkReference": {
|
|
1618
|
+
"type": "object",
|
|
1619
|
+
"properties": {
|
|
1620
|
+
"author": {
|
|
1621
|
+
"type": "string"
|
|
1622
|
+
},
|
|
1623
|
+
"vanity": {
|
|
1624
|
+
"type": "string"
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"required": [
|
|
1628
|
+
"author",
|
|
1629
|
+
"vanity"
|
|
1630
|
+
]
|
|
1631
|
+
},
|
|
1589
1632
|
"Works": {
|
|
1590
1633
|
"type": "array",
|
|
1591
1634
|
"items": {
|
|
@@ -1653,21 +1696,6 @@
|
|
|
1653
1696
|
"updated"
|
|
1654
1697
|
]
|
|
1655
1698
|
},
|
|
1656
|
-
"WorkReference": {
|
|
1657
|
-
"type": "object",
|
|
1658
|
-
"properties": {
|
|
1659
|
-
"author": {
|
|
1660
|
-
"type": "string"
|
|
1661
|
-
},
|
|
1662
|
-
"vanity": {
|
|
1663
|
-
"type": "string"
|
|
1664
|
-
}
|
|
1665
|
-
},
|
|
1666
|
-
"required": [
|
|
1667
|
-
"author",
|
|
1668
|
-
"vanity"
|
|
1669
|
-
]
|
|
1670
|
-
},
|
|
1671
1699
|
"FollowsManifest": {
|
|
1672
1700
|
"type": "object",
|
|
1673
1701
|
"properties": {
|
|
@@ -3356,6 +3384,60 @@
|
|
|
3356
3384
|
}
|
|
3357
3385
|
}
|
|
3358
3386
|
},
|
|
3387
|
+
"/author/resolve": {
|
|
3388
|
+
"get": {
|
|
3389
|
+
"parameters": [
|
|
3390
|
+
{
|
|
3391
|
+
"name": "authors",
|
|
3392
|
+
"in": "query",
|
|
3393
|
+
"required": true,
|
|
3394
|
+
"content": {
|
|
3395
|
+
"application/json": {
|
|
3396
|
+
"schema": {
|
|
3397
|
+
"type": "array",
|
|
3398
|
+
"items": {
|
|
3399
|
+
"type": "string"
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
],
|
|
3406
|
+
"responses": {
|
|
3407
|
+
"200": {
|
|
3408
|
+
"description": "200 response",
|
|
3409
|
+
"content": {
|
|
3410
|
+
"application/json": {
|
|
3411
|
+
"schema": {
|
|
3412
|
+
"type": "object",
|
|
3413
|
+
"properties": {
|
|
3414
|
+
"data": {
|
|
3415
|
+
"type": "array",
|
|
3416
|
+
"items": {
|
|
3417
|
+
"$ref": "#/components/schema/Author"
|
|
3418
|
+
}
|
|
3419
|
+
}
|
|
3420
|
+
},
|
|
3421
|
+
"required": [
|
|
3422
|
+
"data"
|
|
3423
|
+
]
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
"default": {
|
|
3429
|
+
"description": "Error",
|
|
3430
|
+
"content": {
|
|
3431
|
+
"application/json": {
|
|
3432
|
+
"schema": {
|
|
3433
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
},
|
|
3359
3441
|
"/work/create": {
|
|
3360
3442
|
"post": {
|
|
3361
3443
|
"requestBody": {
|
|
@@ -4122,6 +4204,60 @@
|
|
|
4122
4204
|
}
|
|
4123
4205
|
}
|
|
4124
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
|
+
"type": "array",
|
|
4236
|
+
"items": {
|
|
4237
|
+
"$ref": "#/components/schema/Work"
|
|
4238
|
+
}
|
|
4239
|
+
}
|
|
4240
|
+
},
|
|
4241
|
+
"required": [
|
|
4242
|
+
"data"
|
|
4243
|
+
]
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
"default": {
|
|
4249
|
+
"description": "Error",
|
|
4250
|
+
"content": {
|
|
4251
|
+
"application/json": {
|
|
4252
|
+
"schema": {
|
|
4253
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4254
|
+
}
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
}
|
|
4260
|
+
},
|
|
4125
4261
|
"/works/{author}": {
|
|
4126
4262
|
"parameters": [
|
|
4127
4263
|
{
|
package/package.json
CHANGED