api.fluff4.me 1.0.650 → 1.0.652

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 +14 -5
  2. package/openapi.json +79 -15
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -117,6 +117,7 @@ export interface Work {
117
117
  global_tags?: string[] | null
118
118
  card_colours?: number[] | null
119
119
  license?: WorkLicense | null
120
+ patreon?: WorkPatreon | null
120
121
  }
121
122
 
122
123
  export interface WorkLicense {
@@ -124,6 +125,16 @@ export interface WorkLicense {
124
125
  link: string
125
126
  }
126
127
 
128
+ export interface WorkPatreon {
129
+ campaign: PatreonCampaignLite
130
+ tiers: PatreonCampaignTier[]
131
+ }
132
+
133
+ export interface PatreonCampaignLite {
134
+ display_name: string
135
+ url: string
136
+ }
137
+
127
138
  export interface Role {
128
139
  name: string
129
140
  description?: string | null
@@ -248,6 +259,7 @@ export interface WorkFull {
248
259
  global_tags?: string[] | null
249
260
  card_colours?: number[] | null
250
261
  license?: WorkLicense | null
262
+ patreon?: WorkPatreon | null
251
263
  synopsis: TextBodyWithAuthor
252
264
  custom_tags?: CustomTag[] | null
253
265
  last_chapter: string
@@ -267,6 +279,7 @@ export interface WorkCreateBody {
267
279
  feedback_preference_typos?: boolean | null
268
280
  license?: WorkLicense | null
269
281
  card_colours?: number[] | null
282
+ tier_ids?: string[] | null
270
283
  }
271
284
 
272
285
  export interface TextBodyWithAuthor {
@@ -290,6 +303,7 @@ export interface WorkUpdateBody {
290
303
  feedback_preference_typos?: boolean | null
291
304
  card_colours?: number[] | null
292
305
  license?: WorkLicense | null
306
+ tier_ids?: string[] | null
293
307
  }
294
308
 
295
309
  export interface Feedback {
@@ -343,11 +357,6 @@ export interface ChapterPatreon {
343
357
  tiers: PatreonCampaignTier[]
344
358
  }
345
359
 
346
- export interface PatreonCampaignLite {
347
- display_name: string
348
- url: string
349
- }
350
-
351
360
  export interface QueuedChapter {
352
361
  name: string
353
362
  visibility: "Private" | "Public" | "Patreon"
package/openapi.json CHANGED
@@ -593,6 +593,16 @@
593
593
  "type": "null"
594
594
  }
595
595
  ]
596
+ },
597
+ "patreon": {
598
+ "anyOf": [
599
+ {
600
+ "$ref": "#/components/schema/WorkPatreon"
601
+ },
602
+ {
603
+ "type": "null"
604
+ }
605
+ ]
596
606
  }
597
607
  },
598
608
  "required": [
@@ -622,6 +632,39 @@
622
632
  "link"
623
633
  ]
624
634
  },
635
+ "WorkPatreon": {
636
+ "type": "object",
637
+ "properties": {
638
+ "campaign": {
639
+ "$ref": "#/components/schema/PatreonCampaignLite"
640
+ },
641
+ "tiers": {
642
+ "type": "array",
643
+ "items": {
644
+ "$ref": "#/components/schema/PatreonCampaignTier"
645
+ }
646
+ }
647
+ },
648
+ "required": [
649
+ "campaign",
650
+ "tiers"
651
+ ]
652
+ },
653
+ "PatreonCampaignLite": {
654
+ "type": "object",
655
+ "properties": {
656
+ "display_name": {
657
+ "type": "string"
658
+ },
659
+ "url": {
660
+ "type": "string"
661
+ }
662
+ },
663
+ "required": [
664
+ "display_name",
665
+ "url"
666
+ ]
667
+ },
625
668
  "Role": {
626
669
  "type": "object",
627
670
  "properties": {
@@ -1393,6 +1436,16 @@
1393
1436
  }
1394
1437
  ]
1395
1438
  },
1439
+ "patreon": {
1440
+ "anyOf": [
1441
+ {
1442
+ "$ref": "#/components/schema/WorkPatreon"
1443
+ },
1444
+ {
1445
+ "type": "null"
1446
+ }
1447
+ ]
1448
+ },
1396
1449
  "synopsis": {
1397
1450
  "$ref": "#/components/schema/TextBodyWithAuthor"
1398
1451
  },
@@ -1559,6 +1612,19 @@
1559
1612
  "type": "null"
1560
1613
  }
1561
1614
  ]
1615
+ },
1616
+ "tier_ids": {
1617
+ "anyOf": [
1618
+ {
1619
+ "type": "array",
1620
+ "items": {
1621
+ "type": "string"
1622
+ }
1623
+ },
1624
+ {
1625
+ "type": "null"
1626
+ }
1627
+ ]
1562
1628
  }
1563
1629
  },
1564
1630
  "required": [
@@ -1739,6 +1805,19 @@
1739
1805
  "type": "null"
1740
1806
  }
1741
1807
  ]
1808
+ },
1809
+ "tier_ids": {
1810
+ "anyOf": [
1811
+ {
1812
+ "type": "array",
1813
+ "items": {
1814
+ "type": "string"
1815
+ }
1816
+ },
1817
+ {
1818
+ "type": "null"
1819
+ }
1820
+ ]
1742
1821
  }
1743
1822
  }
1744
1823
  },
@@ -2103,21 +2182,6 @@
2103
2182
  "tiers"
2104
2183
  ]
2105
2184
  },
2106
- "PatreonCampaignLite": {
2107
- "type": "object",
2108
- "properties": {
2109
- "display_name": {
2110
- "type": "string"
2111
- },
2112
- "url": {
2113
- "type": "string"
2114
- }
2115
- },
2116
- "required": [
2117
- "display_name",
2118
- "url"
2119
- ]
2120
- },
2121
2185
  "QueuedChapter": {
2122
2186
  "type": "object",
2123
2187
  "properties": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.650",
3
+ "version": "1.0.652",
4
4
  "types": "index.d.ts"
5
5
  }