api.fluff4.me 1.0.641 → 1.0.644
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 +6 -3
- package/openapi.json +45 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -80,6 +80,8 @@ export interface AuthorSelf {
|
|
|
80
80
|
link: string
|
|
81
81
|
}
|
|
82
82
|
| null
|
|
83
|
+
username_colours?: number[] | null
|
|
84
|
+
card_colours?: number[] | null
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
export interface TextBody {
|
|
@@ -107,7 +109,7 @@ export interface Work {
|
|
|
107
109
|
vanity: string
|
|
108
110
|
author: string
|
|
109
111
|
status: "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
|
|
110
|
-
visibility: "Private" | "Public"
|
|
112
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
111
113
|
chapter_count_public: number
|
|
112
114
|
chapter_count?: number | null
|
|
113
115
|
word_count: number
|
|
@@ -238,7 +240,7 @@ export interface WorkFull {
|
|
|
238
240
|
vanity: string
|
|
239
241
|
author: string
|
|
240
242
|
status: "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
|
|
241
|
-
visibility: "Private" | "Public"
|
|
243
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
242
244
|
chapter_count_public: number
|
|
243
245
|
chapter_count?: number | null
|
|
244
246
|
word_count: number
|
|
@@ -259,13 +261,14 @@ export interface WorkCreateBody {
|
|
|
259
261
|
synopsis: string
|
|
260
262
|
vanity: string
|
|
261
263
|
status?: "Cancelled" | "Hiatus" | "Ongoing" | "Complete" | null
|
|
262
|
-
visibility?: "Private" | "Public" | null
|
|
264
|
+
visibility?: "Private" | "Public" | "Patreon" | null
|
|
263
265
|
global_tags?: string[] | null
|
|
264
266
|
custom_tags?: string[] | null
|
|
265
267
|
feedback_preference_critique?: boolean | null
|
|
266
268
|
feedback_preference_dont_hold_back?: boolean | null
|
|
267
269
|
feedback_preference_typos?: boolean | null
|
|
268
270
|
license?: WorkLicense | null
|
|
271
|
+
card_colours?: number[] | null
|
|
269
272
|
}
|
|
270
273
|
|
|
271
274
|
export interface TextBodyWithAuthor {
|
package/openapi.json
CHANGED
|
@@ -395,6 +395,32 @@
|
|
|
395
395
|
"type": "null"
|
|
396
396
|
}
|
|
397
397
|
]
|
|
398
|
+
},
|
|
399
|
+
"username_colours": {
|
|
400
|
+
"anyOf": [
|
|
401
|
+
{
|
|
402
|
+
"type": "array",
|
|
403
|
+
"items": {
|
|
404
|
+
"type": "number"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "null"
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
"card_colours": {
|
|
413
|
+
"anyOf": [
|
|
414
|
+
{
|
|
415
|
+
"type": "array",
|
|
416
|
+
"items": {
|
|
417
|
+
"type": "number"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"type": "null"
|
|
422
|
+
}
|
|
423
|
+
]
|
|
398
424
|
}
|
|
399
425
|
},
|
|
400
426
|
"required": [
|
|
@@ -515,7 +541,8 @@
|
|
|
515
541
|
"type": "string",
|
|
516
542
|
"enum": [
|
|
517
543
|
"Private",
|
|
518
|
-
"Public"
|
|
544
|
+
"Public",
|
|
545
|
+
"Patreon"
|
|
519
546
|
]
|
|
520
547
|
},
|
|
521
548
|
"chapter_count_public": {
|
|
@@ -1313,7 +1340,8 @@
|
|
|
1313
1340
|
"type": "string",
|
|
1314
1341
|
"enum": [
|
|
1315
1342
|
"Private",
|
|
1316
|
-
"Public"
|
|
1343
|
+
"Public",
|
|
1344
|
+
"Patreon"
|
|
1317
1345
|
]
|
|
1318
1346
|
},
|
|
1319
1347
|
"chapter_count_public": {
|
|
@@ -1467,7 +1495,8 @@
|
|
|
1467
1495
|
"type": "string",
|
|
1468
1496
|
"enum": [
|
|
1469
1497
|
"Private",
|
|
1470
|
-
"Public"
|
|
1498
|
+
"Public",
|
|
1499
|
+
"Patreon"
|
|
1471
1500
|
]
|
|
1472
1501
|
},
|
|
1473
1502
|
{
|
|
@@ -1543,6 +1572,19 @@
|
|
|
1543
1572
|
"type": "null"
|
|
1544
1573
|
}
|
|
1545
1574
|
]
|
|
1575
|
+
},
|
|
1576
|
+
"card_colours": {
|
|
1577
|
+
"anyOf": [
|
|
1578
|
+
{
|
|
1579
|
+
"type": "array",
|
|
1580
|
+
"items": {
|
|
1581
|
+
"type": "number"
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"type": "null"
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1546
1588
|
}
|
|
1547
1589
|
},
|
|
1548
1590
|
"required": [
|
package/package.json
CHANGED