api.fluff4.me 1.0.315 → 1.0.316

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 CHANGED
@@ -114,8 +114,8 @@ export interface WorkFull {
114
114
  name: string
115
115
  description: string
116
116
  vanity: string
117
- status: string
118
- visibility: string
117
+ status: "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
118
+ visibility: "Private" | "Public"
119
119
  chapter_count_public: number
120
120
  chapter_count?: number | null
121
121
  word_count: number
@@ -172,6 +172,7 @@ export interface Chapter {
172
172
  url: string
173
173
  index_public?: number | null
174
174
  name: string
175
+ visibility: "Private" | "Public" | "Patreon"
175
176
  word_count: number
176
177
  view_count: string
177
178
  time_last_update?: string | null
@@ -220,6 +221,7 @@ export interface ChapterLite {
220
221
  url: string
221
222
  index_public?: number | null
222
223
  name: string
224
+ visibility: "Private" | "Public" | "Patreon"
223
225
  word_count: number
224
226
  view_count: string
225
227
  time_last_update?: string | null
@@ -231,8 +233,8 @@ export interface Work {
231
233
  name: string
232
234
  description: string
233
235
  vanity: string
234
- status: string
235
- visibility: string
236
+ status: "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
237
+ visibility: "Private" | "Public"
236
238
  chapter_count_public: number
237
239
  chapter_count?: number | null
238
240
  word_count: number
@@ -469,8 +471,8 @@ export interface WorkWithAuthor {
469
471
  name: string
470
472
  description: string
471
473
  vanity: string
472
- status: string
473
- visibility: string
474
+ status: "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
475
+ visibility: "Private" | "Public"
474
476
  chapter_count_public: number
475
477
  chapter_count?: number | null
476
478
  word_count: number
package/openapi.json CHANGED
@@ -540,10 +540,20 @@
540
540
  "maxLength": 32
541
541
  },
542
542
  "status": {
543
- "type": "string"
543
+ "type": "string",
544
+ "enum": [
545
+ "Cancelled",
546
+ "Hiatus",
547
+ "Ongoing",
548
+ "Complete"
549
+ ]
544
550
  },
545
551
  "visibility": {
546
- "type": "string"
552
+ "type": "string",
553
+ "enum": [
554
+ "Private",
555
+ "Public"
556
+ ]
547
557
  },
548
558
  "chapter_count_public": {
549
559
  "type": "number"
@@ -947,6 +957,14 @@
947
957
  "type": "string",
948
958
  "maxLength": 256
949
959
  },
960
+ "visibility": {
961
+ "type": "string",
962
+ "enum": [
963
+ "Private",
964
+ "Public",
965
+ "Patreon"
966
+ ]
967
+ },
950
968
  "word_count": {
951
969
  "type": "number"
952
970
  },
@@ -1072,6 +1090,7 @@
1072
1090
  "required": [
1073
1091
  "url",
1074
1092
  "name",
1093
+ "visibility",
1075
1094
  "word_count",
1076
1095
  "view_count",
1077
1096
  "index"
@@ -1302,6 +1321,14 @@
1302
1321
  "type": "string",
1303
1322
  "maxLength": 256
1304
1323
  },
1324
+ "visibility": {
1325
+ "type": "string",
1326
+ "enum": [
1327
+ "Private",
1328
+ "Public",
1329
+ "Patreon"
1330
+ ]
1331
+ },
1305
1332
  "word_count": {
1306
1333
  "type": "number"
1307
1334
  },
@@ -1322,6 +1349,7 @@
1322
1349
  "required": [
1323
1350
  "url",
1324
1351
  "name",
1352
+ "visibility",
1325
1353
  "word_count",
1326
1354
  "view_count"
1327
1355
  ]
@@ -1348,10 +1376,20 @@
1348
1376
  "maxLength": 32
1349
1377
  },
1350
1378
  "status": {
1351
- "type": "string"
1379
+ "type": "string",
1380
+ "enum": [
1381
+ "Cancelled",
1382
+ "Hiatus",
1383
+ "Ongoing",
1384
+ "Complete"
1385
+ ]
1352
1386
  },
1353
1387
  "visibility": {
1354
- "type": "string"
1388
+ "type": "string",
1389
+ "enum": [
1390
+ "Private",
1391
+ "Public"
1392
+ ]
1355
1393
  },
1356
1394
  "chapter_count_public": {
1357
1395
  "type": "number"
@@ -2434,10 +2472,20 @@
2434
2472
  "maxLength": 32
2435
2473
  },
2436
2474
  "status": {
2437
- "type": "string"
2475
+ "type": "string",
2476
+ "enum": [
2477
+ "Cancelled",
2478
+ "Hiatus",
2479
+ "Ongoing",
2480
+ "Complete"
2481
+ ]
2438
2482
  },
2439
2483
  "visibility": {
2440
- "type": "string"
2484
+ "type": "string",
2485
+ "enum": [
2486
+ "Private",
2487
+ "Public"
2488
+ ]
2441
2489
  },
2442
2490
  "chapter_count_public": {
2443
2491
  "type": "number"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.315",
3
+ "version": "1.0.316",
4
4
  "types": "index.d.ts"
5
5
  }