api.fluff4.me 1.0.438 → 1.0.440

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.
Files changed (3) hide show
  1. package/index.d.ts +13 -7
  2. package/openapi.json +38 -16
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -85,13 +85,8 @@ export interface AuthorSelf {
85
85
  description: TextBody
86
86
  authorisations?: Authorisation[] | null
87
87
  patreon_tiers?: Tier[] | null
88
- patreon_campaign?:
89
- | {
90
- url: string
91
- display_name: string
92
- }
93
- | null
94
- patron_details?: string | null
88
+ patreon_campaign?: PatreonCampaign | null
89
+ patreon_patron?: PatreonPatron | null
95
90
  works?: Work[] | null
96
91
  }
97
92
 
@@ -112,6 +107,15 @@ export interface Tier {
112
107
  amount: number
113
108
  }
114
109
 
110
+ export interface PatreonCampaign {
111
+ url: string
112
+ display_name: string
113
+ }
114
+
115
+ export interface PatreonPatron {
116
+ display_name: string
117
+ }
118
+
115
119
  export interface Work {
116
120
  name: string
117
121
  description: string
@@ -214,6 +218,7 @@ export interface Chapter {
214
218
  time_publish?: string | null
215
219
  author: string
216
220
  work: string
221
+ is_numbered: boolean
217
222
  body?: string | null
218
223
  index: number
219
224
  notes_before?: string | null
@@ -266,6 +271,7 @@ export interface ChapterLite {
266
271
  time_publish?: string | null
267
272
  author: string
268
273
  work: string
274
+ is_numbered: boolean
269
275
  }
270
276
 
271
277
  export type Works = Work[]
package/openapi.json CHANGED
@@ -340,29 +340,17 @@
340
340
  "patreon_campaign": {
341
341
  "anyOf": [
342
342
  {
343
- "type": "object",
344
- "properties": {
345
- "url": {
346
- "type": "string"
347
- },
348
- "display_name": {
349
- "type": "string"
350
- }
351
- },
352
- "required": [
353
- "url",
354
- "display_name"
355
- ]
343
+ "$ref": "#/components/schema/PatreonCampaign"
356
344
  },
357
345
  {
358
346
  "type": "null"
359
347
  }
360
348
  ]
361
349
  },
362
- "patron_details": {
350
+ "patreon_patron": {
363
351
  "anyOf": [
364
352
  {
365
- "type": "string"
353
+ "$ref": "#/components/schema/PatreonPatron"
366
354
  },
367
355
  {
368
356
  "type": "null"
@@ -500,6 +488,32 @@
500
488
  "amount"
501
489
  ]
502
490
  },
491
+ "PatreonCampaign": {
492
+ "type": "object",
493
+ "properties": {
494
+ "url": {
495
+ "type": "string"
496
+ },
497
+ "display_name": {
498
+ "type": "string"
499
+ }
500
+ },
501
+ "required": [
502
+ "url",
503
+ "display_name"
504
+ ]
505
+ },
506
+ "PatreonPatron": {
507
+ "type": "object",
508
+ "properties": {
509
+ "display_name": {
510
+ "type": "string"
511
+ }
512
+ },
513
+ "required": [
514
+ "display_name"
515
+ ]
516
+ },
503
517
  "Work": {
504
518
  "type": "object",
505
519
  "properties": {
@@ -1197,6 +1211,9 @@
1197
1211
  "work": {
1198
1212
  "type": "string"
1199
1213
  },
1214
+ "is_numbered": {
1215
+ "type": "boolean"
1216
+ },
1200
1217
  "body": {
1201
1218
  "anyOf": [
1202
1219
  {
@@ -1311,6 +1328,7 @@
1311
1328
  "view_count",
1312
1329
  "author",
1313
1330
  "work",
1331
+ "is_numbered",
1314
1332
  "index"
1315
1333
  ]
1316
1334
  },
@@ -1585,6 +1603,9 @@
1585
1603
  },
1586
1604
  "work": {
1587
1605
  "type": "string"
1606
+ },
1607
+ "is_numbered": {
1608
+ "type": "boolean"
1588
1609
  }
1589
1610
  },
1590
1611
  "required": [
@@ -1594,7 +1615,8 @@
1594
1615
  "word_count",
1595
1616
  "view_count",
1596
1617
  "author",
1597
- "work"
1618
+ "work",
1619
+ "is_numbered"
1598
1620
  ]
1599
1621
  },
1600
1622
  "Works": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.438",
3
+ "version": "1.0.440",
4
4
  "types": "index.d.ts"
5
5
  }