api.fluff4.me 1.0.613 → 1.0.615
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.
- package/index.d.ts +17 -0
- package/openapi.json +162 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -43,6 +43,14 @@ 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
|
+
username_colours?: number[] | null
|
|
53
|
+
card_colours?: number[] | null
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
export interface AuthorSelf {
|
|
@@ -54,6 +62,7 @@ export interface AuthorSelf {
|
|
|
54
62
|
work_count: number
|
|
55
63
|
vanity: string
|
|
56
64
|
pronouns?: string | null
|
|
65
|
+
supporter?: Supporter | null
|
|
57
66
|
description: TextBody
|
|
58
67
|
authorisations?: Authorisation[] | null
|
|
59
68
|
patreon_campaign?: PatreonCampaign | null
|
|
@@ -98,6 +107,7 @@ export interface Work {
|
|
|
98
107
|
time_publish?: string | null
|
|
99
108
|
time_last_update?: string | null
|
|
100
109
|
global_tags?: string[] | null
|
|
110
|
+
card_colours?: number[] | null
|
|
101
111
|
}
|
|
102
112
|
|
|
103
113
|
export interface Role {
|
|
@@ -154,6 +164,8 @@ export interface AuthorCreateBody {
|
|
|
154
164
|
feedback_preference_dont_hold_back?: boolean | null
|
|
155
165
|
feedback_preference_typos?: boolean | null
|
|
156
166
|
settings?: string | null
|
|
167
|
+
username_colours?: number[] | null
|
|
168
|
+
card_colours?: number[] | null
|
|
157
169
|
}
|
|
158
170
|
|
|
159
171
|
export interface AuthorFull {
|
|
@@ -165,6 +177,7 @@ export interface AuthorFull {
|
|
|
165
177
|
work_count: number
|
|
166
178
|
vanity: string
|
|
167
179
|
pronouns?: string | null
|
|
180
|
+
supporter?: Supporter | null
|
|
168
181
|
description: TextBody
|
|
169
182
|
}
|
|
170
183
|
|
|
@@ -179,6 +192,8 @@ export interface AuthorInsertBody {
|
|
|
179
192
|
feedback_preference_dont_hold_back?: boolean | null
|
|
180
193
|
feedback_preference_typos?: boolean | null
|
|
181
194
|
settings?: string | null
|
|
195
|
+
username_colours?: number[] | null
|
|
196
|
+
card_colours?: number[] | null
|
|
182
197
|
}
|
|
183
198
|
|
|
184
199
|
export interface AuthorUpdateSettingsBody {
|
|
@@ -203,6 +218,7 @@ export interface WorkFull {
|
|
|
203
218
|
time_publish?: string | null
|
|
204
219
|
time_last_update?: string | null
|
|
205
220
|
global_tags?: string[] | null
|
|
221
|
+
card_colours?: number[] | null
|
|
206
222
|
synopsis: TextBodyWithAuthor
|
|
207
223
|
custom_tags?: CustomTag[] | null
|
|
208
224
|
last_chapter: string
|
|
@@ -241,6 +257,7 @@ export interface WorkUpdateBody {
|
|
|
241
257
|
feedback_preference_critique?: boolean | null
|
|
242
258
|
feedback_preference_dont_hold_back?: boolean | null
|
|
243
259
|
feedback_preference_typos?: boolean | null
|
|
260
|
+
card_colours?: number[] | null
|
|
244
261
|
}
|
|
245
262
|
|
|
246
263
|
export interface Feedback {
|
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,47 @@
|
|
|
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
|
+
"username_colours": {
|
|
191
|
+
"anyOf": [
|
|
192
|
+
{
|
|
193
|
+
"type": "array",
|
|
194
|
+
"items": {
|
|
195
|
+
"type": "number"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "null"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"card_colours": {
|
|
204
|
+
"anyOf": [
|
|
205
|
+
{
|
|
206
|
+
"type": "array",
|
|
207
|
+
"items": {
|
|
208
|
+
"type": "number"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "null"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"required": [
|
|
218
|
+
"tier",
|
|
219
|
+
"months"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
171
222
|
"AuthorSelf": {
|
|
172
223
|
"type": "object",
|
|
173
224
|
"properties": {
|
|
@@ -207,6 +258,16 @@
|
|
|
207
258
|
}
|
|
208
259
|
]
|
|
209
260
|
},
|
|
261
|
+
"supporter": {
|
|
262
|
+
"anyOf": [
|
|
263
|
+
{
|
|
264
|
+
"$ref": "#/components/schema/Supporter"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "null"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
210
271
|
"description": {
|
|
211
272
|
"$ref": "#/components/schema/TextBody"
|
|
212
273
|
},
|
|
@@ -474,6 +535,19 @@
|
|
|
474
535
|
"type": "null"
|
|
475
536
|
}
|
|
476
537
|
]
|
|
538
|
+
},
|
|
539
|
+
"card_colours": {
|
|
540
|
+
"anyOf": [
|
|
541
|
+
{
|
|
542
|
+
"type": "array",
|
|
543
|
+
"items": {
|
|
544
|
+
"type": "number"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": "null"
|
|
549
|
+
}
|
|
550
|
+
]
|
|
477
551
|
}
|
|
478
552
|
},
|
|
479
553
|
"required": [
|
|
@@ -775,6 +849,32 @@
|
|
|
775
849
|
"type": "null"
|
|
776
850
|
}
|
|
777
851
|
]
|
|
852
|
+
},
|
|
853
|
+
"username_colours": {
|
|
854
|
+
"anyOf": [
|
|
855
|
+
{
|
|
856
|
+
"type": "array",
|
|
857
|
+
"items": {
|
|
858
|
+
"type": "number"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"type": "null"
|
|
863
|
+
}
|
|
864
|
+
]
|
|
865
|
+
},
|
|
866
|
+
"card_colours": {
|
|
867
|
+
"anyOf": [
|
|
868
|
+
{
|
|
869
|
+
"type": "array",
|
|
870
|
+
"items": {
|
|
871
|
+
"type": "number"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"type": "null"
|
|
876
|
+
}
|
|
877
|
+
]
|
|
778
878
|
}
|
|
779
879
|
},
|
|
780
880
|
"required": [
|
|
@@ -821,6 +921,16 @@
|
|
|
821
921
|
}
|
|
822
922
|
]
|
|
823
923
|
},
|
|
924
|
+
"supporter": {
|
|
925
|
+
"anyOf": [
|
|
926
|
+
{
|
|
927
|
+
"$ref": "#/components/schema/Supporter"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"type": "null"
|
|
931
|
+
}
|
|
932
|
+
]
|
|
933
|
+
},
|
|
824
934
|
"description": {
|
|
825
935
|
"$ref": "#/components/schema/TextBody"
|
|
826
936
|
}
|
|
@@ -945,6 +1055,32 @@
|
|
|
945
1055
|
"type": "null"
|
|
946
1056
|
}
|
|
947
1057
|
]
|
|
1058
|
+
},
|
|
1059
|
+
"username_colours": {
|
|
1060
|
+
"anyOf": [
|
|
1061
|
+
{
|
|
1062
|
+
"type": "array",
|
|
1063
|
+
"items": {
|
|
1064
|
+
"type": "number"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"type": "null"
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
"card_colours": {
|
|
1073
|
+
"anyOf": [
|
|
1074
|
+
{
|
|
1075
|
+
"type": "array",
|
|
1076
|
+
"items": {
|
|
1077
|
+
"type": "number"
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"type": "null"
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
948
1084
|
}
|
|
949
1085
|
}
|
|
950
1086
|
},
|
|
@@ -1061,6 +1197,19 @@
|
|
|
1061
1197
|
}
|
|
1062
1198
|
]
|
|
1063
1199
|
},
|
|
1200
|
+
"card_colours": {
|
|
1201
|
+
"anyOf": [
|
|
1202
|
+
{
|
|
1203
|
+
"type": "array",
|
|
1204
|
+
"items": {
|
|
1205
|
+
"type": "number"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"type": "null"
|
|
1210
|
+
}
|
|
1211
|
+
]
|
|
1212
|
+
},
|
|
1064
1213
|
"synopsis": {
|
|
1065
1214
|
"$ref": "#/components/schema/TextBodyWithAuthor"
|
|
1066
1215
|
},
|
|
@@ -1360,6 +1509,19 @@
|
|
|
1360
1509
|
"type": "null"
|
|
1361
1510
|
}
|
|
1362
1511
|
]
|
|
1512
|
+
},
|
|
1513
|
+
"card_colours": {
|
|
1514
|
+
"anyOf": [
|
|
1515
|
+
{
|
|
1516
|
+
"type": "array",
|
|
1517
|
+
"items": {
|
|
1518
|
+
"type": "number"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"type": "null"
|
|
1523
|
+
}
|
|
1524
|
+
]
|
|
1363
1525
|
}
|
|
1364
1526
|
}
|
|
1365
1527
|
},
|
package/package.json
CHANGED