api.fluff4.me 1.0.261 → 1.0.263
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 +8 -10
- package/openapi.json +61 -67
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -272,6 +272,8 @@ export interface CommentWithAuthor {
|
|
|
272
272
|
created_time?: string | null
|
|
273
273
|
edited_time?: string | null
|
|
274
274
|
author?: string | null
|
|
275
|
+
reactions?: number | null
|
|
276
|
+
reacted?: true | null
|
|
275
277
|
}
|
|
276
278
|
|
|
277
279
|
export interface CommentCreateBody {
|
|
@@ -284,19 +286,10 @@ export interface CommentUpdateBody {
|
|
|
284
286
|
}
|
|
285
287
|
|
|
286
288
|
export interface Comments {
|
|
287
|
-
comments:
|
|
289
|
+
comments: CommentWithAuthor[]
|
|
288
290
|
authors: Author[]
|
|
289
291
|
}
|
|
290
292
|
|
|
291
|
-
export interface Comment {
|
|
292
|
-
comment_id: string
|
|
293
|
-
parent_id?: string | null
|
|
294
|
-
body?: string | null
|
|
295
|
-
created_time?: string | null
|
|
296
|
-
edited_time?: string | null
|
|
297
|
-
author?: string | null
|
|
298
|
-
}
|
|
299
|
-
|
|
300
293
|
export type Tiers = {
|
|
301
294
|
tier_name: string
|
|
302
295
|
amount: number
|
|
@@ -582,6 +575,11 @@ export interface Paths {
|
|
|
582
575
|
body: ChapterReorderBody
|
|
583
576
|
response: void | ErrorResponse
|
|
584
577
|
},
|
|
578
|
+
"/work/{author}/{vanity}/chapter/{url}/react/{type}": {
|
|
579
|
+
method: "post"
|
|
580
|
+
body?: undefined
|
|
581
|
+
response: void | ErrorResponse
|
|
582
|
+
},
|
|
585
583
|
"/work/{author}/{vanity}/chapters/list": {
|
|
586
584
|
method: "get"
|
|
587
585
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -1501,6 +1501,29 @@
|
|
|
1501
1501
|
"type": "null"
|
|
1502
1502
|
}
|
|
1503
1503
|
]
|
|
1504
|
+
},
|
|
1505
|
+
"reactions": {
|
|
1506
|
+
"anyOf": [
|
|
1507
|
+
{
|
|
1508
|
+
"type": "number"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"type": "null"
|
|
1512
|
+
}
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1515
|
+
"reacted": {
|
|
1516
|
+
"anyOf": [
|
|
1517
|
+
{
|
|
1518
|
+
"type": "boolean",
|
|
1519
|
+
"enum": [
|
|
1520
|
+
true
|
|
1521
|
+
]
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"type": "null"
|
|
1525
|
+
}
|
|
1526
|
+
]
|
|
1504
1527
|
}
|
|
1505
1528
|
},
|
|
1506
1529
|
"required": [
|
|
@@ -1547,7 +1570,7 @@
|
|
|
1547
1570
|
"comments": {
|
|
1548
1571
|
"type": "array",
|
|
1549
1572
|
"items": {
|
|
1550
|
-
"$ref": "#/components/schema/
|
|
1573
|
+
"$ref": "#/components/schema/CommentWithAuthor"
|
|
1551
1574
|
}
|
|
1552
1575
|
},
|
|
1553
1576
|
"authors": {
|
|
@@ -1562,72 +1585,6 @@
|
|
|
1562
1585
|
"authors"
|
|
1563
1586
|
]
|
|
1564
1587
|
},
|
|
1565
|
-
"Comment": {
|
|
1566
|
-
"type": "object",
|
|
1567
|
-
"properties": {
|
|
1568
|
-
"comment_id": {
|
|
1569
|
-
"type": "string",
|
|
1570
|
-
"minLength": 36,
|
|
1571
|
-
"maxLength": 36
|
|
1572
|
-
},
|
|
1573
|
-
"parent_id": {
|
|
1574
|
-
"anyOf": [
|
|
1575
|
-
{
|
|
1576
|
-
"type": "string",
|
|
1577
|
-
"minLength": 36,
|
|
1578
|
-
"maxLength": 36
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"type": "null"
|
|
1582
|
-
}
|
|
1583
|
-
]
|
|
1584
|
-
},
|
|
1585
|
-
"body": {
|
|
1586
|
-
"anyOf": [
|
|
1587
|
-
{
|
|
1588
|
-
"type": "string",
|
|
1589
|
-
"maxLength": 1024
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
"type": "null"
|
|
1593
|
-
}
|
|
1594
|
-
]
|
|
1595
|
-
},
|
|
1596
|
-
"created_time": {
|
|
1597
|
-
"anyOf": [
|
|
1598
|
-
{
|
|
1599
|
-
"type": "string"
|
|
1600
|
-
},
|
|
1601
|
-
{
|
|
1602
|
-
"type": "null"
|
|
1603
|
-
}
|
|
1604
|
-
]
|
|
1605
|
-
},
|
|
1606
|
-
"edited_time": {
|
|
1607
|
-
"anyOf": [
|
|
1608
|
-
{
|
|
1609
|
-
"type": "string"
|
|
1610
|
-
},
|
|
1611
|
-
{
|
|
1612
|
-
"type": "null"
|
|
1613
|
-
}
|
|
1614
|
-
]
|
|
1615
|
-
},
|
|
1616
|
-
"author": {
|
|
1617
|
-
"anyOf": [
|
|
1618
|
-
{
|
|
1619
|
-
"type": "string"
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"type": "null"
|
|
1623
|
-
}
|
|
1624
|
-
]
|
|
1625
|
-
}
|
|
1626
|
-
},
|
|
1627
|
-
"required": [
|
|
1628
|
-
"comment_id"
|
|
1629
|
-
]
|
|
1630
|
-
},
|
|
1631
1588
|
"Tiers": {
|
|
1632
1589
|
"type": "array",
|
|
1633
1590
|
"items": {
|
|
@@ -3232,6 +3189,43 @@
|
|
|
3232
3189
|
}
|
|
3233
3190
|
}
|
|
3234
3191
|
},
|
|
3192
|
+
"/work/{author}/{vanity}/chapter/{url}/react/{type}": {
|
|
3193
|
+
"parameters": [
|
|
3194
|
+
{
|
|
3195
|
+
"name": "author",
|
|
3196
|
+
"in": "path"
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"name": "vanity",
|
|
3200
|
+
"in": "path"
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"name": "url",
|
|
3204
|
+
"in": "path"
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"name": "type",
|
|
3208
|
+
"in": "path"
|
|
3209
|
+
}
|
|
3210
|
+
],
|
|
3211
|
+
"post": {
|
|
3212
|
+
"responses": {
|
|
3213
|
+
"200": {
|
|
3214
|
+
"description": "200 response"
|
|
3215
|
+
},
|
|
3216
|
+
"default": {
|
|
3217
|
+
"description": "Error",
|
|
3218
|
+
"content": {
|
|
3219
|
+
"application/json": {
|
|
3220
|
+
"schema": {
|
|
3221
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
3222
|
+
}
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
}
|
|
3228
|
+
},
|
|
3235
3229
|
"/work/{author}/{vanity}/chapters/list": {
|
|
3236
3230
|
"parameters": [
|
|
3237
3231
|
{
|
package/package.json
CHANGED