api.fluff4.me 1.0.1128 → 1.0.1130
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 -17
- package/openapi.json +133 -82
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -351,6 +351,22 @@ export interface Feedback {
|
|
|
351
351
|
|
|
352
352
|
export type Works = WorkMetadata[]
|
|
353
353
|
|
|
354
|
+
export interface WorkResolveResponse {
|
|
355
|
+
works: WorkMetadata[]
|
|
356
|
+
authors: AuthorMetadata[]
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export interface WorkResolveSearch {
|
|
360
|
+
works: WorkReference[]
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export interface WorkReference {
|
|
364
|
+
author?: string | null
|
|
365
|
+
vanity?: string | null
|
|
366
|
+
author_vanity?: string | null
|
|
367
|
+
work_vanity?: string | null
|
|
368
|
+
}
|
|
369
|
+
|
|
354
370
|
export interface Chapter {
|
|
355
371
|
url: string
|
|
356
372
|
index_public?: number | null
|
|
@@ -495,13 +511,6 @@ export interface Follow {
|
|
|
495
511
|
last_bumped?: string | null
|
|
496
512
|
}
|
|
497
513
|
|
|
498
|
-
export interface WorkReference {
|
|
499
|
-
author?: string | null
|
|
500
|
-
vanity?: string | null
|
|
501
|
-
author_vanity?: string | null
|
|
502
|
-
work_vanity?: string | null
|
|
503
|
-
}
|
|
504
|
-
|
|
505
514
|
export interface FollowsManifest {
|
|
506
515
|
following: {
|
|
507
516
|
author: Follow[]
|
|
@@ -1095,15 +1104,6 @@ export interface AuthService {
|
|
|
1095
1104
|
icon: string
|
|
1096
1105
|
}
|
|
1097
1106
|
|
|
1098
|
-
export interface WorkResolveResponse {
|
|
1099
|
-
works: WorkMetadata[]
|
|
1100
|
-
authors: AuthorMetadata[]
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
export interface WorkResolveSearch {
|
|
1104
|
-
works: WorkReference[]
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
1107
|
export interface SupporterStatus {
|
|
1108
1108
|
products: MoRProductDisplay[]
|
|
1109
1109
|
months_remaining: number
|
|
@@ -1335,6 +1335,12 @@ export interface Paths {
|
|
|
1335
1335
|
search: PaginationSearch
|
|
1336
1336
|
response: PaginatedResponse<Works> | ErrorResponse
|
|
1337
1337
|
},
|
|
1338
|
+
"/v2/works/resolve": {
|
|
1339
|
+
method: "get"
|
|
1340
|
+
body?: undefined
|
|
1341
|
+
search: WorkResolveSearch
|
|
1342
|
+
response: Response<WorkResolveResponse> | ErrorResponse
|
|
1343
|
+
},
|
|
1338
1344
|
"/v2/chapters/{author_vanity}/{work_vanity}/create": {
|
|
1339
1345
|
method: "post"
|
|
1340
1346
|
body: ChapterCreateBody
|
|
@@ -1809,7 +1815,7 @@ export interface Paths {
|
|
|
1809
1815
|
search?: undefined
|
|
1810
1816
|
response: Response<CustomTagUsage[]> | ErrorResponse
|
|
1811
1817
|
},
|
|
1812
|
-
"/v2/tags/custom/{
|
|
1818
|
+
"/v2/tags/custom/{custom_tag_name}/rename": {
|
|
1813
1819
|
method: "post"
|
|
1814
1820
|
body: CustomTagRenameBody
|
|
1815
1821
|
search?: undefined
|
package/openapi.json
CHANGED
|
@@ -2324,6 +2324,86 @@
|
|
|
2324
2324
|
"$ref": "#/components/schema/WorkMetadata"
|
|
2325
2325
|
}
|
|
2326
2326
|
},
|
|
2327
|
+
"WorkResolveResponse": {
|
|
2328
|
+
"type": "object",
|
|
2329
|
+
"properties": {
|
|
2330
|
+
"works": {
|
|
2331
|
+
"type": "array",
|
|
2332
|
+
"items": {
|
|
2333
|
+
"$ref": "#/components/schema/WorkMetadata"
|
|
2334
|
+
}
|
|
2335
|
+
},
|
|
2336
|
+
"authors": {
|
|
2337
|
+
"type": "array",
|
|
2338
|
+
"items": {
|
|
2339
|
+
"$ref": "#/components/schema/AuthorMetadata"
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
},
|
|
2343
|
+
"required": [
|
|
2344
|
+
"works",
|
|
2345
|
+
"authors"
|
|
2346
|
+
]
|
|
2347
|
+
},
|
|
2348
|
+
"WorkResolveSearch": {
|
|
2349
|
+
"type": "object",
|
|
2350
|
+
"properties": {
|
|
2351
|
+
"works": {
|
|
2352
|
+
"type": "array",
|
|
2353
|
+
"items": {
|
|
2354
|
+
"$ref": "#/components/schema/WorkReference"
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
},
|
|
2358
|
+
"required": [
|
|
2359
|
+
"works"
|
|
2360
|
+
]
|
|
2361
|
+
},
|
|
2362
|
+
"WorkReference": {
|
|
2363
|
+
"type": "object",
|
|
2364
|
+
"properties": {
|
|
2365
|
+
"author": {
|
|
2366
|
+
"anyOf": [
|
|
2367
|
+
{
|
|
2368
|
+
"type": "string"
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
"type": "null"
|
|
2372
|
+
}
|
|
2373
|
+
]
|
|
2374
|
+
},
|
|
2375
|
+
"vanity": {
|
|
2376
|
+
"anyOf": [
|
|
2377
|
+
{
|
|
2378
|
+
"type": "string"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"type": "null"
|
|
2382
|
+
}
|
|
2383
|
+
]
|
|
2384
|
+
},
|
|
2385
|
+
"author_vanity": {
|
|
2386
|
+
"anyOf": [
|
|
2387
|
+
{
|
|
2388
|
+
"type": "string"
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"type": "null"
|
|
2392
|
+
}
|
|
2393
|
+
]
|
|
2394
|
+
},
|
|
2395
|
+
"work_vanity": {
|
|
2396
|
+
"anyOf": [
|
|
2397
|
+
{
|
|
2398
|
+
"type": "string"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"type": "null"
|
|
2402
|
+
}
|
|
2403
|
+
]
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2327
2407
|
"Chapter": {
|
|
2328
2408
|
"type": "object",
|
|
2329
2409
|
"properties": {
|
|
@@ -3364,51 +3444,6 @@
|
|
|
3364
3444
|
"updated"
|
|
3365
3445
|
]
|
|
3366
3446
|
},
|
|
3367
|
-
"WorkReference": {
|
|
3368
|
-
"type": "object",
|
|
3369
|
-
"properties": {
|
|
3370
|
-
"author": {
|
|
3371
|
-
"anyOf": [
|
|
3372
|
-
{
|
|
3373
|
-
"type": "string"
|
|
3374
|
-
},
|
|
3375
|
-
{
|
|
3376
|
-
"type": "null"
|
|
3377
|
-
}
|
|
3378
|
-
]
|
|
3379
|
-
},
|
|
3380
|
-
"vanity": {
|
|
3381
|
-
"anyOf": [
|
|
3382
|
-
{
|
|
3383
|
-
"type": "string"
|
|
3384
|
-
},
|
|
3385
|
-
{
|
|
3386
|
-
"type": "null"
|
|
3387
|
-
}
|
|
3388
|
-
]
|
|
3389
|
-
},
|
|
3390
|
-
"author_vanity": {
|
|
3391
|
-
"anyOf": [
|
|
3392
|
-
{
|
|
3393
|
-
"type": "string"
|
|
3394
|
-
},
|
|
3395
|
-
{
|
|
3396
|
-
"type": "null"
|
|
3397
|
-
}
|
|
3398
|
-
]
|
|
3399
|
-
},
|
|
3400
|
-
"work_vanity": {
|
|
3401
|
-
"anyOf": [
|
|
3402
|
-
{
|
|
3403
|
-
"type": "string"
|
|
3404
|
-
},
|
|
3405
|
-
{
|
|
3406
|
-
"type": "null"
|
|
3407
|
-
}
|
|
3408
|
-
]
|
|
3409
|
-
}
|
|
3410
|
-
}
|
|
3411
|
-
},
|
|
3412
3447
|
"FollowsManifest": {
|
|
3413
3448
|
"type": "object",
|
|
3414
3449
|
"properties": {
|
|
@@ -6554,41 +6589,6 @@
|
|
|
6554
6589
|
"icon"
|
|
6555
6590
|
]
|
|
6556
6591
|
},
|
|
6557
|
-
"WorkResolveResponse": {
|
|
6558
|
-
"type": "object",
|
|
6559
|
-
"properties": {
|
|
6560
|
-
"works": {
|
|
6561
|
-
"type": "array",
|
|
6562
|
-
"items": {
|
|
6563
|
-
"$ref": "#/components/schema/WorkMetadata"
|
|
6564
|
-
}
|
|
6565
|
-
},
|
|
6566
|
-
"authors": {
|
|
6567
|
-
"type": "array",
|
|
6568
|
-
"items": {
|
|
6569
|
-
"$ref": "#/components/schema/AuthorMetadata"
|
|
6570
|
-
}
|
|
6571
|
-
}
|
|
6572
|
-
},
|
|
6573
|
-
"required": [
|
|
6574
|
-
"works",
|
|
6575
|
-
"authors"
|
|
6576
|
-
]
|
|
6577
|
-
},
|
|
6578
|
-
"WorkResolveSearch": {
|
|
6579
|
-
"type": "object",
|
|
6580
|
-
"properties": {
|
|
6581
|
-
"works": {
|
|
6582
|
-
"type": "array",
|
|
6583
|
-
"items": {
|
|
6584
|
-
"$ref": "#/components/schema/WorkReference"
|
|
6585
|
-
}
|
|
6586
|
-
}
|
|
6587
|
-
},
|
|
6588
|
-
"required": [
|
|
6589
|
-
"works"
|
|
6590
|
-
]
|
|
6591
|
-
},
|
|
6592
6592
|
"SupporterStatus": {
|
|
6593
6593
|
"type": "object",
|
|
6594
6594
|
"properties": {
|
|
@@ -7878,6 +7878,57 @@
|
|
|
7878
7878
|
}
|
|
7879
7879
|
}
|
|
7880
7880
|
},
|
|
7881
|
+
"/v2/works/resolve": {
|
|
7882
|
+
"get": {
|
|
7883
|
+
"parameters": [
|
|
7884
|
+
{
|
|
7885
|
+
"name": "works",
|
|
7886
|
+
"in": "query",
|
|
7887
|
+
"required": true,
|
|
7888
|
+
"content": {
|
|
7889
|
+
"application/json": {
|
|
7890
|
+
"schema": {
|
|
7891
|
+
"type": "array",
|
|
7892
|
+
"items": {
|
|
7893
|
+
"$ref": "#/components/schema/WorkReference"
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
}
|
|
7897
|
+
}
|
|
7898
|
+
}
|
|
7899
|
+
],
|
|
7900
|
+
"responses": {
|
|
7901
|
+
"200": {
|
|
7902
|
+
"description": "200 response",
|
|
7903
|
+
"content": {
|
|
7904
|
+
"application/json": {
|
|
7905
|
+
"schema": {
|
|
7906
|
+
"type": "object",
|
|
7907
|
+
"properties": {
|
|
7908
|
+
"data": {
|
|
7909
|
+
"$ref": "#/components/schemas/WorkResolveResponse"
|
|
7910
|
+
}
|
|
7911
|
+
},
|
|
7912
|
+
"required": [
|
|
7913
|
+
"data"
|
|
7914
|
+
]
|
|
7915
|
+
}
|
|
7916
|
+
}
|
|
7917
|
+
}
|
|
7918
|
+
},
|
|
7919
|
+
"default": {
|
|
7920
|
+
"description": "Error",
|
|
7921
|
+
"content": {
|
|
7922
|
+
"application/json": {
|
|
7923
|
+
"schema": {
|
|
7924
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
7925
|
+
}
|
|
7926
|
+
}
|
|
7927
|
+
}
|
|
7928
|
+
}
|
|
7929
|
+
}
|
|
7930
|
+
}
|
|
7931
|
+
},
|
|
7881
7932
|
"/v2/chapters/{author_vanity}/{work_vanity}/create": {
|
|
7882
7933
|
"parameters": [
|
|
7883
7934
|
{
|
|
@@ -11810,10 +11861,10 @@
|
|
|
11810
11861
|
}
|
|
11811
11862
|
}
|
|
11812
11863
|
},
|
|
11813
|
-
"/v2/tags/custom/{
|
|
11864
|
+
"/v2/tags/custom/{custom_tag_name}/rename": {
|
|
11814
11865
|
"parameters": [
|
|
11815
11866
|
{
|
|
11816
|
-
"name": "
|
|
11867
|
+
"name": "custom_tag_name",
|
|
11817
11868
|
"in": "path"
|
|
11818
11869
|
}
|
|
11819
11870
|
],
|
package/package.json
CHANGED