api.fluff4.me 1.0.734 → 1.0.736

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 +4 -4
  2. package/openapi.json +46 -12
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -193,7 +193,7 @@ export interface AuthorCreateBody {
193
193
  username_colours?: number[] | null
194
194
  card_colours?: number[] | null
195
195
  age: "sixteen_plus" | "eighteen_plus"
196
- license?: WorkLicense | null
196
+ license?: (WorkLicense | false) | null
197
197
  }
198
198
 
199
199
  export interface AuthorFull {
@@ -224,7 +224,7 @@ export interface AuthorInsertBody {
224
224
  username_colours?: number[] | null
225
225
  card_colours?: number[] | null
226
226
  age: "sixteen_plus" | "eighteen_plus"
227
- license?: WorkLicense | null
227
+ license?: (WorkLicense | false) | null
228
228
  }
229
229
 
230
230
  export interface AuthorUpdateSettingsBody {
@@ -270,7 +270,7 @@ export interface WorkCreateBody {
270
270
  feedback_preference_critique?: boolean | null
271
271
  feedback_preference_dont_hold_back?: boolean | null
272
272
  feedback_preference_typos?: boolean | null
273
- license?: WorkLicense | null
273
+ license?: (WorkLicense | false) | null
274
274
  card_colours?: number[] | null
275
275
  tier_ids?: string[] | null
276
276
  }
@@ -295,7 +295,7 @@ export interface WorkUpdateBody {
295
295
  feedback_preference_dont_hold_back?: boolean | null
296
296
  feedback_preference_typos?: boolean | null
297
297
  card_colours?: number[] | null
298
- license: WorkLicense | false
298
+ license?: (WorkLicense | false) | null
299
299
  tier_ids?: string[] | null
300
300
  }
301
301
 
package/openapi.json CHANGED
@@ -1008,7 +1008,17 @@
1008
1008
  "license": {
1009
1009
  "anyOf": [
1010
1010
  {
1011
- "$ref": "#/components/schema/WorkLicense"
1011
+ "anyOf": [
1012
+ {
1013
+ "$ref": "#/components/schema/WorkLicense"
1014
+ },
1015
+ {
1016
+ "type": "boolean",
1017
+ "enum": [
1018
+ false
1019
+ ]
1020
+ }
1021
+ ]
1012
1022
  },
1013
1023
  {
1014
1024
  "type": "null"
@@ -1236,7 +1246,17 @@
1236
1246
  "license": {
1237
1247
  "anyOf": [
1238
1248
  {
1239
- "$ref": "#/components/schema/WorkLicense"
1249
+ "anyOf": [
1250
+ {
1251
+ "$ref": "#/components/schema/WorkLicense"
1252
+ },
1253
+ {
1254
+ "type": "boolean",
1255
+ "enum": [
1256
+ false
1257
+ ]
1258
+ }
1259
+ ]
1240
1260
  },
1241
1261
  {
1242
1262
  "type": "null"
@@ -1552,7 +1572,17 @@
1552
1572
  "license": {
1553
1573
  "anyOf": [
1554
1574
  {
1555
- "$ref": "#/components/schema/WorkLicense"
1575
+ "anyOf": [
1576
+ {
1577
+ "$ref": "#/components/schema/WorkLicense"
1578
+ },
1579
+ {
1580
+ "type": "boolean",
1581
+ "enum": [
1582
+ false
1583
+ ]
1584
+ }
1585
+ ]
1556
1586
  },
1557
1587
  {
1558
1588
  "type": "null"
@@ -1758,13 +1788,20 @@
1758
1788
  "license": {
1759
1789
  "anyOf": [
1760
1790
  {
1761
- "$ref": "#/components/schema/WorkLicense"
1791
+ "anyOf": [
1792
+ {
1793
+ "$ref": "#/components/schema/WorkLicense"
1794
+ },
1795
+ {
1796
+ "type": "boolean",
1797
+ "enum": [
1798
+ false
1799
+ ]
1800
+ }
1801
+ ]
1762
1802
  },
1763
1803
  {
1764
- "type": "boolean",
1765
- "enum": [
1766
- false
1767
- ]
1804
+ "type": "null"
1768
1805
  }
1769
1806
  ]
1770
1807
  },
@@ -1781,10 +1818,7 @@
1781
1818
  }
1782
1819
  ]
1783
1820
  }
1784
- },
1785
- "required": [
1786
- "license"
1787
- ]
1821
+ }
1788
1822
  },
1789
1823
  "Feedback": {
1790
1824
  "type": "object",
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.734",
3
+ "version": "1.0.736",
4
4
  "types": "index.d.ts"
5
5
  }