api.fluff4.me 1.0.631 → 1.0.634
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 +97 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -74,6 +74,12 @@ export interface AuthorSelf {
|
|
|
74
74
|
totp_state?: "enabled" | "disabled" | null
|
|
75
75
|
auth_services_required?: number | null
|
|
76
76
|
age: "sixteen_plus" | "eighteen_plus"
|
|
77
|
+
license?:
|
|
78
|
+
| {
|
|
79
|
+
name: string
|
|
80
|
+
link: string
|
|
81
|
+
}
|
|
82
|
+
| null
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export interface TextBody {
|
|
@@ -110,6 +116,12 @@ export interface Work {
|
|
|
110
116
|
time_last_update?: string | null
|
|
111
117
|
global_tags?: string[] | null
|
|
112
118
|
card_colours?: number[] | null
|
|
119
|
+
license?: WorkLicense | null
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface WorkLicense {
|
|
123
|
+
name: string
|
|
124
|
+
link: string
|
|
113
125
|
}
|
|
114
126
|
|
|
115
127
|
export interface Role {
|
|
@@ -169,6 +181,7 @@ export interface AuthorCreateBody {
|
|
|
169
181
|
username_colours?: number[] | null
|
|
170
182
|
card_colours?: number[] | null
|
|
171
183
|
age: "sixteen_plus" | "eighteen_plus"
|
|
184
|
+
license?: WorkLicense | null
|
|
172
185
|
}
|
|
173
186
|
|
|
174
187
|
export interface AuthorFull {
|
|
@@ -208,6 +221,7 @@ export interface AuthorInsertBody {
|
|
|
208
221
|
username_colours?: number[] | null
|
|
209
222
|
card_colours?: number[] | null
|
|
210
223
|
age: "sixteen_plus" | "eighteen_plus"
|
|
224
|
+
license?: WorkLicense | null
|
|
211
225
|
}
|
|
212
226
|
|
|
213
227
|
export interface AuthorUpdateSettingsBody {
|
|
@@ -233,6 +247,7 @@ export interface WorkFull {
|
|
|
233
247
|
time_last_update?: string | null
|
|
234
248
|
global_tags?: string[] | null
|
|
235
249
|
card_colours?: number[] | null
|
|
250
|
+
license?: WorkLicense | null
|
|
236
251
|
synopsis: TextBodyWithAuthor
|
|
237
252
|
custom_tags?: CustomTag[] | null
|
|
238
253
|
last_chapter: string
|
|
@@ -250,6 +265,7 @@ export interface WorkCreateBody {
|
|
|
250
265
|
feedback_preference_critique?: boolean | null
|
|
251
266
|
feedback_preference_dont_hold_back?: boolean | null
|
|
252
267
|
feedback_preference_typos?: boolean | null
|
|
268
|
+
license?: WorkLicense | null
|
|
253
269
|
}
|
|
254
270
|
|
|
255
271
|
export interface TextBodyWithAuthor {
|
|
@@ -272,6 +288,7 @@ export interface WorkUpdateBody {
|
|
|
272
288
|
feedback_preference_dont_hold_back?: boolean | null
|
|
273
289
|
feedback_preference_typos?: boolean | null
|
|
274
290
|
card_colours?: number[] | null
|
|
291
|
+
license?: WorkLicense | null
|
|
275
292
|
}
|
|
276
293
|
|
|
277
294
|
export interface Feedback {
|
package/openapi.json
CHANGED
|
@@ -373,6 +373,28 @@
|
|
|
373
373
|
"sixteen_plus",
|
|
374
374
|
"eighteen_plus"
|
|
375
375
|
]
|
|
376
|
+
},
|
|
377
|
+
"license": {
|
|
378
|
+
"anyOf": [
|
|
379
|
+
{
|
|
380
|
+
"type": "object",
|
|
381
|
+
"properties": {
|
|
382
|
+
"name": {
|
|
383
|
+
"type": "string"
|
|
384
|
+
},
|
|
385
|
+
"link": {
|
|
386
|
+
"type": "string"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"required": [
|
|
390
|
+
"name",
|
|
391
|
+
"link"
|
|
392
|
+
]
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"type": "null"
|
|
396
|
+
}
|
|
397
|
+
]
|
|
376
398
|
}
|
|
377
399
|
},
|
|
378
400
|
"required": [
|
|
@@ -560,6 +582,16 @@
|
|
|
560
582
|
"type": "null"
|
|
561
583
|
}
|
|
562
584
|
]
|
|
585
|
+
},
|
|
586
|
+
"license": {
|
|
587
|
+
"anyOf": [
|
|
588
|
+
{
|
|
589
|
+
"$ref": "#/components/schema/WorkLicense"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"type": "null"
|
|
593
|
+
}
|
|
594
|
+
]
|
|
563
595
|
}
|
|
564
596
|
},
|
|
565
597
|
"required": [
|
|
@@ -574,6 +606,21 @@
|
|
|
574
606
|
"view_count"
|
|
575
607
|
]
|
|
576
608
|
},
|
|
609
|
+
"WorkLicense": {
|
|
610
|
+
"type": "object",
|
|
611
|
+
"properties": {
|
|
612
|
+
"name": {
|
|
613
|
+
"type": "string"
|
|
614
|
+
},
|
|
615
|
+
"link": {
|
|
616
|
+
"type": "string"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"required": [
|
|
620
|
+
"name",
|
|
621
|
+
"link"
|
|
622
|
+
]
|
|
623
|
+
},
|
|
577
624
|
"Role": {
|
|
578
625
|
"type": "object",
|
|
579
626
|
"properties": {
|
|
@@ -899,6 +946,16 @@
|
|
|
899
946
|
"sixteen_plus",
|
|
900
947
|
"eighteen_plus"
|
|
901
948
|
]
|
|
949
|
+
},
|
|
950
|
+
"license": {
|
|
951
|
+
"anyOf": [
|
|
952
|
+
{
|
|
953
|
+
"$ref": "#/components/schema/WorkLicense"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"type": "null"
|
|
957
|
+
}
|
|
958
|
+
]
|
|
902
959
|
}
|
|
903
960
|
},
|
|
904
961
|
"required": [
|
|
@@ -1182,6 +1239,16 @@
|
|
|
1182
1239
|
"sixteen_plus",
|
|
1183
1240
|
"eighteen_plus"
|
|
1184
1241
|
]
|
|
1242
|
+
},
|
|
1243
|
+
"license": {
|
|
1244
|
+
"anyOf": [
|
|
1245
|
+
{
|
|
1246
|
+
"$ref": "#/components/schema/WorkLicense"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"type": "null"
|
|
1250
|
+
}
|
|
1251
|
+
]
|
|
1185
1252
|
}
|
|
1186
1253
|
},
|
|
1187
1254
|
"required": [
|
|
@@ -1314,6 +1381,16 @@
|
|
|
1314
1381
|
}
|
|
1315
1382
|
]
|
|
1316
1383
|
},
|
|
1384
|
+
"license": {
|
|
1385
|
+
"anyOf": [
|
|
1386
|
+
{
|
|
1387
|
+
"$ref": "#/components/schema/WorkLicense"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"type": "null"
|
|
1391
|
+
}
|
|
1392
|
+
]
|
|
1393
|
+
},
|
|
1317
1394
|
"synopsis": {
|
|
1318
1395
|
"$ref": "#/components/schema/TextBodyWithAuthor"
|
|
1319
1396
|
},
|
|
@@ -1456,6 +1533,16 @@
|
|
|
1456
1533
|
"type": "null"
|
|
1457
1534
|
}
|
|
1458
1535
|
]
|
|
1536
|
+
},
|
|
1537
|
+
"license": {
|
|
1538
|
+
"anyOf": [
|
|
1539
|
+
{
|
|
1540
|
+
"$ref": "#/components/schema/WorkLicense"
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"type": "null"
|
|
1544
|
+
}
|
|
1545
|
+
]
|
|
1459
1546
|
}
|
|
1460
1547
|
},
|
|
1461
1548
|
"required": [
|
|
@@ -1626,6 +1713,16 @@
|
|
|
1626
1713
|
"type": "null"
|
|
1627
1714
|
}
|
|
1628
1715
|
]
|
|
1716
|
+
},
|
|
1717
|
+
"license": {
|
|
1718
|
+
"anyOf": [
|
|
1719
|
+
{
|
|
1720
|
+
"$ref": "#/components/schema/WorkLicense"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"type": "null"
|
|
1724
|
+
}
|
|
1725
|
+
]
|
|
1629
1726
|
}
|
|
1630
1727
|
}
|
|
1631
1728
|
},
|
package/package.json
CHANGED