api.fluff4.me 1.0.870 → 1.0.872
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 +18 -14
- package/openapi.json +37 -74
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -106,8 +106,8 @@ export interface WorkMetadata {
|
|
|
106
106
|
description: string
|
|
107
107
|
vanity: string
|
|
108
108
|
author: string
|
|
109
|
-
status:
|
|
110
|
-
visibility:
|
|
109
|
+
status: WorkStatus
|
|
110
|
+
visibility: WorkVisibility
|
|
111
111
|
chapter_count_public: number
|
|
112
112
|
chapter_count?: number | null
|
|
113
113
|
word_count: number
|
|
@@ -127,6 +127,10 @@ export interface WorkMetadata {
|
|
|
127
127
|
| null
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
export type WorkStatus = "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
|
|
131
|
+
|
|
132
|
+
export type WorkVisibility = "Private" | "Public" | "Patreon"
|
|
133
|
+
|
|
130
134
|
export interface WorkLicense {
|
|
131
135
|
name: string
|
|
132
136
|
link: string
|
|
@@ -252,8 +256,8 @@ export interface Work {
|
|
|
252
256
|
description: string
|
|
253
257
|
vanity: string
|
|
254
258
|
author: string
|
|
255
|
-
status:
|
|
256
|
-
visibility:
|
|
259
|
+
status: WorkStatus
|
|
260
|
+
visibility: WorkVisibility
|
|
257
261
|
chapter_count_public: number
|
|
258
262
|
chapter_count?: number | null
|
|
259
263
|
word_count: number
|
|
@@ -282,8 +286,8 @@ export interface WorkCreateBody {
|
|
|
282
286
|
description: string
|
|
283
287
|
synopsis: string
|
|
284
288
|
vanity: string
|
|
285
|
-
status?:
|
|
286
|
-
visibility?:
|
|
289
|
+
status?: WorkStatus | null
|
|
290
|
+
visibility?: WorkVisibility | null
|
|
287
291
|
global_tags?: string[] | null
|
|
288
292
|
custom_tags?: string[] | null
|
|
289
293
|
feedback_preference_critique?: boolean | null
|
|
@@ -312,8 +316,8 @@ export interface WorkUpdateBody {
|
|
|
312
316
|
description?: string | null
|
|
313
317
|
synopsis?: string | null
|
|
314
318
|
vanity?: string | null
|
|
315
|
-
status?:
|
|
316
|
-
visibility?:
|
|
319
|
+
status?: WorkStatus | null
|
|
320
|
+
visibility?: WorkVisibility | null
|
|
317
321
|
global_tags?: string[] | null
|
|
318
322
|
custom_tags?: string[] | null
|
|
319
323
|
feedback_preference_critique?: boolean | null
|
|
@@ -334,7 +338,7 @@ export interface Chapter {
|
|
|
334
338
|
url: string
|
|
335
339
|
index_public?: number | null
|
|
336
340
|
name: string
|
|
337
|
-
visibility:
|
|
341
|
+
visibility: ChapterVisibility
|
|
338
342
|
word_count: number
|
|
339
343
|
view_count: string
|
|
340
344
|
time_last_update?: string | null
|
|
@@ -361,7 +365,7 @@ export interface Chapter {
|
|
|
361
365
|
|
|
362
366
|
export interface ChapterCreateBody {
|
|
363
367
|
name: string
|
|
364
|
-
visibility:
|
|
368
|
+
visibility: ChapterVisibility
|
|
365
369
|
body: string
|
|
366
370
|
is_numbered?: boolean | null
|
|
367
371
|
notes_before?: string | null
|
|
@@ -372,6 +376,8 @@ export interface ChapterCreateBody {
|
|
|
372
376
|
work?: { status?: WorkStatus | null } | null
|
|
373
377
|
}
|
|
374
378
|
|
|
379
|
+
export type ChapterVisibility = "Private" | "Public" | "Patreon"
|
|
380
|
+
|
|
375
381
|
export interface ChapterStatistics {
|
|
376
382
|
comment_count: number
|
|
377
383
|
reaction_count: number
|
|
@@ -383,8 +389,6 @@ export interface SupporterReactions {
|
|
|
383
389
|
author: string
|
|
384
390
|
}
|
|
385
391
|
|
|
386
|
-
export type WorkStatus = "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
|
|
387
|
-
|
|
388
392
|
export interface ChapterBulkQueueItem {
|
|
389
393
|
name: string
|
|
390
394
|
visibility: "Private" | "Public" | "Patreon"
|
|
@@ -429,7 +433,7 @@ export interface ChapterHasQueue {
|
|
|
429
433
|
|
|
430
434
|
export interface ChapterUpdateBody {
|
|
431
435
|
name?: string | null
|
|
432
|
-
visibility?:
|
|
436
|
+
visibility?: ChapterVisibility | null
|
|
433
437
|
body?: string | null
|
|
434
438
|
is_numbered?: boolean | null
|
|
435
439
|
notes_before?: string | null
|
|
@@ -444,7 +448,7 @@ export interface ChapterMetadata {
|
|
|
444
448
|
url: string
|
|
445
449
|
index_public?: number | null
|
|
446
450
|
name: string
|
|
447
|
-
visibility:
|
|
451
|
+
visibility: ChapterVisibility
|
|
448
452
|
word_count: number
|
|
449
453
|
view_count: string
|
|
450
454
|
time_last_update?: string | null
|
package/openapi.json
CHANGED
|
@@ -503,21 +503,10 @@
|
|
|
503
503
|
"type": "string"
|
|
504
504
|
},
|
|
505
505
|
"status": {
|
|
506
|
-
"
|
|
507
|
-
"enum": [
|
|
508
|
-
"Cancelled",
|
|
509
|
-
"Hiatus",
|
|
510
|
-
"Ongoing",
|
|
511
|
-
"Complete"
|
|
512
|
-
]
|
|
506
|
+
"$ref": "#/components/schema/WorkStatus"
|
|
513
507
|
},
|
|
514
508
|
"visibility": {
|
|
515
|
-
"
|
|
516
|
-
"enum": [
|
|
517
|
-
"Private",
|
|
518
|
-
"Public",
|
|
519
|
-
"Patreon"
|
|
520
|
-
]
|
|
509
|
+
"$ref": "#/components/schema/WorkVisibility"
|
|
521
510
|
},
|
|
522
511
|
"chapter_count_public": {
|
|
523
512
|
"type": "number"
|
|
@@ -649,6 +638,23 @@
|
|
|
649
638
|
"view_count"
|
|
650
639
|
]
|
|
651
640
|
},
|
|
641
|
+
"WorkStatus": {
|
|
642
|
+
"type": "string",
|
|
643
|
+
"enum": [
|
|
644
|
+
"Cancelled",
|
|
645
|
+
"Hiatus",
|
|
646
|
+
"Ongoing",
|
|
647
|
+
"Complete"
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
"WorkVisibility": {
|
|
651
|
+
"type": "string",
|
|
652
|
+
"enum": [
|
|
653
|
+
"Private",
|
|
654
|
+
"Public",
|
|
655
|
+
"Patreon"
|
|
656
|
+
]
|
|
657
|
+
},
|
|
652
658
|
"WorkLicense": {
|
|
653
659
|
"type": "object",
|
|
654
660
|
"properties": {
|
|
@@ -1360,21 +1366,10 @@
|
|
|
1360
1366
|
"type": "string"
|
|
1361
1367
|
},
|
|
1362
1368
|
"status": {
|
|
1363
|
-
"
|
|
1364
|
-
"enum": [
|
|
1365
|
-
"Cancelled",
|
|
1366
|
-
"Hiatus",
|
|
1367
|
-
"Ongoing",
|
|
1368
|
-
"Complete"
|
|
1369
|
-
]
|
|
1369
|
+
"$ref": "#/components/schema/WorkStatus"
|
|
1370
1370
|
},
|
|
1371
1371
|
"visibility": {
|
|
1372
|
-
"
|
|
1373
|
-
"enum": [
|
|
1374
|
-
"Private",
|
|
1375
|
-
"Public",
|
|
1376
|
-
"Patreon"
|
|
1377
|
-
]
|
|
1372
|
+
"$ref": "#/components/schema/WorkVisibility"
|
|
1378
1373
|
},
|
|
1379
1374
|
"chapter_count_public": {
|
|
1380
1375
|
"type": "number"
|
|
@@ -1560,13 +1555,7 @@
|
|
|
1560
1555
|
"status": {
|
|
1561
1556
|
"anyOf": [
|
|
1562
1557
|
{
|
|
1563
|
-
"
|
|
1564
|
-
"enum": [
|
|
1565
|
-
"Cancelled",
|
|
1566
|
-
"Hiatus",
|
|
1567
|
-
"Ongoing",
|
|
1568
|
-
"Complete"
|
|
1569
|
-
]
|
|
1558
|
+
"$ref": "#/components/schema/WorkStatus"
|
|
1570
1559
|
},
|
|
1571
1560
|
{
|
|
1572
1561
|
"type": "null"
|
|
@@ -1576,12 +1565,7 @@
|
|
|
1576
1565
|
"visibility": {
|
|
1577
1566
|
"anyOf": [
|
|
1578
1567
|
{
|
|
1579
|
-
"
|
|
1580
|
-
"enum": [
|
|
1581
|
-
"Private",
|
|
1582
|
-
"Public",
|
|
1583
|
-
"Patreon"
|
|
1584
|
-
]
|
|
1568
|
+
"$ref": "#/components/schema/WorkVisibility"
|
|
1585
1569
|
},
|
|
1586
1570
|
{
|
|
1587
1571
|
"type": "null"
|
|
@@ -1793,7 +1777,7 @@
|
|
|
1793
1777
|
"status": {
|
|
1794
1778
|
"anyOf": [
|
|
1795
1779
|
{
|
|
1796
|
-
"
|
|
1780
|
+
"$ref": "#/components/schema/WorkStatus"
|
|
1797
1781
|
},
|
|
1798
1782
|
{
|
|
1799
1783
|
"type": "null"
|
|
@@ -1803,7 +1787,7 @@
|
|
|
1803
1787
|
"visibility": {
|
|
1804
1788
|
"anyOf": [
|
|
1805
1789
|
{
|
|
1806
|
-
"
|
|
1790
|
+
"$ref": "#/components/schema/WorkVisibility"
|
|
1807
1791
|
},
|
|
1808
1792
|
{
|
|
1809
1793
|
"type": "null"
|
|
@@ -1974,12 +1958,7 @@
|
|
|
1974
1958
|
"maxLength": 256
|
|
1975
1959
|
},
|
|
1976
1960
|
"visibility": {
|
|
1977
|
-
"
|
|
1978
|
-
"enum": [
|
|
1979
|
-
"Private",
|
|
1980
|
-
"Public",
|
|
1981
|
-
"Patreon"
|
|
1982
|
-
]
|
|
1961
|
+
"$ref": "#/components/schema/ChapterVisibility"
|
|
1983
1962
|
},
|
|
1984
1963
|
"word_count": {
|
|
1985
1964
|
"type": "number"
|
|
@@ -2191,12 +2170,7 @@
|
|
|
2191
2170
|
"maxLength": 256
|
|
2192
2171
|
},
|
|
2193
2172
|
"visibility": {
|
|
2194
|
-
"
|
|
2195
|
-
"enum": [
|
|
2196
|
-
"Private",
|
|
2197
|
-
"Public",
|
|
2198
|
-
"Patreon"
|
|
2199
|
-
]
|
|
2173
|
+
"$ref": "#/components/schema/ChapterVisibility"
|
|
2200
2174
|
},
|
|
2201
2175
|
"body": {
|
|
2202
2176
|
"type": "string"
|
|
@@ -2302,6 +2276,14 @@
|
|
|
2302
2276
|
"body"
|
|
2303
2277
|
]
|
|
2304
2278
|
},
|
|
2279
|
+
"ChapterVisibility": {
|
|
2280
|
+
"type": "string",
|
|
2281
|
+
"enum": [
|
|
2282
|
+
"Private",
|
|
2283
|
+
"Public",
|
|
2284
|
+
"Patreon"
|
|
2285
|
+
]
|
|
2286
|
+
},
|
|
2305
2287
|
"ChapterStatistics": {
|
|
2306
2288
|
"type": "object",
|
|
2307
2289
|
"properties": {
|
|
@@ -2339,15 +2321,6 @@
|
|
|
2339
2321
|
"author"
|
|
2340
2322
|
]
|
|
2341
2323
|
},
|
|
2342
|
-
"WorkStatus": {
|
|
2343
|
-
"type": "string",
|
|
2344
|
-
"enum": [
|
|
2345
|
-
"Cancelled",
|
|
2346
|
-
"Hiatus",
|
|
2347
|
-
"Ongoing",
|
|
2348
|
-
"Complete"
|
|
2349
|
-
]
|
|
2350
|
-
},
|
|
2351
2324
|
"ChapterBulkQueueItem": {
|
|
2352
2325
|
"type": "object",
|
|
2353
2326
|
"properties": {
|
|
@@ -2611,12 +2584,7 @@
|
|
|
2611
2584
|
"visibility": {
|
|
2612
2585
|
"anyOf": [
|
|
2613
2586
|
{
|
|
2614
|
-
"
|
|
2615
|
-
"enum": [
|
|
2616
|
-
"Private",
|
|
2617
|
-
"Public",
|
|
2618
|
-
"Patreon"
|
|
2619
|
-
]
|
|
2587
|
+
"$ref": "#/components/schema/ChapterVisibility"
|
|
2620
2588
|
},
|
|
2621
2589
|
{
|
|
2622
2590
|
"type": "null"
|
|
@@ -2751,12 +2719,7 @@
|
|
|
2751
2719
|
"maxLength": 256
|
|
2752
2720
|
},
|
|
2753
2721
|
"visibility": {
|
|
2754
|
-
"
|
|
2755
|
-
"enum": [
|
|
2756
|
-
"Private",
|
|
2757
|
-
"Public",
|
|
2758
|
-
"Patreon"
|
|
2759
|
-
]
|
|
2722
|
+
"$ref": "#/components/schema/ChapterVisibility"
|
|
2760
2723
|
},
|
|
2761
2724
|
"word_count": {
|
|
2762
2725
|
"type": "number"
|
package/package.json
CHANGED