api.fluff4.me 1.0.642 → 1.0.645
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 +4 -3
- package/openapi.json +19 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ export interface Work {
|
|
|
107
107
|
vanity: string
|
|
108
108
|
author: string
|
|
109
109
|
status: "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
|
|
110
|
-
visibility: "Private" | "Public"
|
|
110
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
111
111
|
chapter_count_public: number
|
|
112
112
|
chapter_count?: number | null
|
|
113
113
|
word_count: number
|
|
@@ -238,7 +238,7 @@ export interface WorkFull {
|
|
|
238
238
|
vanity: string
|
|
239
239
|
author: string
|
|
240
240
|
status: "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
|
|
241
|
-
visibility: "Private" | "Public"
|
|
241
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
242
242
|
chapter_count_public: number
|
|
243
243
|
chapter_count?: number | null
|
|
244
244
|
word_count: number
|
|
@@ -259,13 +259,14 @@ export interface WorkCreateBody {
|
|
|
259
259
|
synopsis: string
|
|
260
260
|
vanity: string
|
|
261
261
|
status?: "Cancelled" | "Hiatus" | "Ongoing" | "Complete" | null
|
|
262
|
-
visibility?: "Private" | "Public" | null
|
|
262
|
+
visibility?: "Private" | "Public" | "Patreon" | null
|
|
263
263
|
global_tags?: string[] | null
|
|
264
264
|
custom_tags?: string[] | null
|
|
265
265
|
feedback_preference_critique?: boolean | null
|
|
266
266
|
feedback_preference_dont_hold_back?: boolean | null
|
|
267
267
|
feedback_preference_typos?: boolean | null
|
|
268
268
|
license?: WorkLicense | null
|
|
269
|
+
card_colours?: number[] | null
|
|
269
270
|
}
|
|
270
271
|
|
|
271
272
|
export interface TextBodyWithAuthor {
|
package/openapi.json
CHANGED
|
@@ -515,7 +515,8 @@
|
|
|
515
515
|
"type": "string",
|
|
516
516
|
"enum": [
|
|
517
517
|
"Private",
|
|
518
|
-
"Public"
|
|
518
|
+
"Public",
|
|
519
|
+
"Patreon"
|
|
519
520
|
]
|
|
520
521
|
},
|
|
521
522
|
"chapter_count_public": {
|
|
@@ -1313,7 +1314,8 @@
|
|
|
1313
1314
|
"type": "string",
|
|
1314
1315
|
"enum": [
|
|
1315
1316
|
"Private",
|
|
1316
|
-
"Public"
|
|
1317
|
+
"Public",
|
|
1318
|
+
"Patreon"
|
|
1317
1319
|
]
|
|
1318
1320
|
},
|
|
1319
1321
|
"chapter_count_public": {
|
|
@@ -1467,7 +1469,8 @@
|
|
|
1467
1469
|
"type": "string",
|
|
1468
1470
|
"enum": [
|
|
1469
1471
|
"Private",
|
|
1470
|
-
"Public"
|
|
1472
|
+
"Public",
|
|
1473
|
+
"Patreon"
|
|
1471
1474
|
]
|
|
1472
1475
|
},
|
|
1473
1476
|
{
|
|
@@ -1543,6 +1546,19 @@
|
|
|
1543
1546
|
"type": "null"
|
|
1544
1547
|
}
|
|
1545
1548
|
]
|
|
1549
|
+
},
|
|
1550
|
+
"card_colours": {
|
|
1551
|
+
"anyOf": [
|
|
1552
|
+
{
|
|
1553
|
+
"type": "array",
|
|
1554
|
+
"items": {
|
|
1555
|
+
"type": "number"
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"type": "null"
|
|
1560
|
+
}
|
|
1561
|
+
]
|
|
1546
1562
|
}
|
|
1547
1563
|
},
|
|
1548
1564
|
"required": [
|
package/package.json
CHANGED