api.fluff4.me 1.0.438 → 1.0.439

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 +11 -7
  2. package/openapi.json +29 -15
  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
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": {
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.439",
4
4
  "types": "index.d.ts"
5
5
  }