api.fluff4.me 1.0.613 → 1.0.614

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 -0
  2. package/openapi.json +84 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -43,6 +43,13 @@ export interface Author {
43
43
  work_count: number
44
44
  vanity: string
45
45
  pronouns?: string | null
46
+ supporter?: Supporter | null
47
+ }
48
+
49
+ export interface Supporter {
50
+ tier: number
51
+ months: number
52
+ vanity_colours?: number[] | null
46
53
  }
47
54
 
48
55
  export interface AuthorSelf {
@@ -54,6 +61,7 @@ export interface AuthorSelf {
54
61
  work_count: number
55
62
  vanity: string
56
63
  pronouns?: string | null
64
+ supporter?: Supporter | null
57
65
  description: TextBody
58
66
  authorisations?: Authorisation[] | null
59
67
  patreon_campaign?: PatreonCampaign | null
@@ -154,6 +162,7 @@ export interface AuthorCreateBody {
154
162
  feedback_preference_dont_hold_back?: boolean | null
155
163
  feedback_preference_typos?: boolean | null
156
164
  settings?: string | null
165
+ vanity_colours?: number[] | null
157
166
  }
158
167
 
159
168
  export interface AuthorFull {
@@ -165,6 +174,7 @@ export interface AuthorFull {
165
174
  work_count: number
166
175
  vanity: string
167
176
  pronouns?: string | null
177
+ supporter?: Supporter | null
168
178
  description: TextBody
169
179
  }
170
180
 
@@ -179,6 +189,7 @@ export interface AuthorInsertBody {
179
189
  feedback_preference_dont_hold_back?: boolean | null
180
190
  feedback_preference_typos?: boolean | null
181
191
  settings?: string | null
192
+ vanity_colours?: number[] | null
182
193
  }
183
194
 
184
195
  export interface AuthorUpdateSettingsBody {
package/openapi.json CHANGED
@@ -156,6 +156,16 @@
156
156
  "type": "null"
157
157
  }
158
158
  ]
159
+ },
160
+ "supporter": {
161
+ "anyOf": [
162
+ {
163
+ "$ref": "#/components/schema/Supporter"
164
+ },
165
+ {
166
+ "type": "null"
167
+ }
168
+ ]
159
169
  }
160
170
  },
161
171
  "required": [
@@ -168,6 +178,34 @@
168
178
  "vanity"
169
179
  ]
170
180
  },
181
+ "Supporter": {
182
+ "type": "object",
183
+ "properties": {
184
+ "tier": {
185
+ "type": "number"
186
+ },
187
+ "months": {
188
+ "type": "number"
189
+ },
190
+ "vanity_colours": {
191
+ "anyOf": [
192
+ {
193
+ "type": "array",
194
+ "items": {
195
+ "type": "number"
196
+ }
197
+ },
198
+ {
199
+ "type": "null"
200
+ }
201
+ ]
202
+ }
203
+ },
204
+ "required": [
205
+ "tier",
206
+ "months"
207
+ ]
208
+ },
171
209
  "AuthorSelf": {
172
210
  "type": "object",
173
211
  "properties": {
@@ -207,6 +245,16 @@
207
245
  }
208
246
  ]
209
247
  },
248
+ "supporter": {
249
+ "anyOf": [
250
+ {
251
+ "$ref": "#/components/schema/Supporter"
252
+ },
253
+ {
254
+ "type": "null"
255
+ }
256
+ ]
257
+ },
210
258
  "description": {
211
259
  "$ref": "#/components/schema/TextBody"
212
260
  },
@@ -775,6 +823,19 @@
775
823
  "type": "null"
776
824
  }
777
825
  ]
826
+ },
827
+ "vanity_colours": {
828
+ "anyOf": [
829
+ {
830
+ "type": "array",
831
+ "items": {
832
+ "type": "number"
833
+ }
834
+ },
835
+ {
836
+ "type": "null"
837
+ }
838
+ ]
778
839
  }
779
840
  },
780
841
  "required": [
@@ -821,6 +882,16 @@
821
882
  }
822
883
  ]
823
884
  },
885
+ "supporter": {
886
+ "anyOf": [
887
+ {
888
+ "$ref": "#/components/schema/Supporter"
889
+ },
890
+ {
891
+ "type": "null"
892
+ }
893
+ ]
894
+ },
824
895
  "description": {
825
896
  "$ref": "#/components/schema/TextBody"
826
897
  }
@@ -945,6 +1016,19 @@
945
1016
  "type": "null"
946
1017
  }
947
1018
  ]
1019
+ },
1020
+ "vanity_colours": {
1021
+ "anyOf": [
1022
+ {
1023
+ "type": "array",
1024
+ "items": {
1025
+ "type": "number"
1026
+ }
1027
+ },
1028
+ {
1029
+ "type": "null"
1030
+ }
1031
+ ]
948
1032
  }
949
1033
  }
950
1034
  },
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.613",
3
+ "version": "1.0.614",
4
4
  "types": "index.d.ts"
5
5
  }