api.fluff4.me 1.0.441 → 1.0.443
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 -8
- package/openapi.json +41 -26
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -253,13 +253,6 @@ export interface ChapterUpdateBody {
|
|
|
253
253
|
custom_tags?: string[] | null
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
export interface ChapterReorderBody {
|
|
257
|
-
relative_to: string
|
|
258
|
-
position: "before" | "after"
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export type Chapters = ChapterLite[]
|
|
262
|
-
|
|
263
256
|
export interface ChapterLite {
|
|
264
257
|
url: string
|
|
265
258
|
index_public?: number | null
|
|
@@ -274,6 +267,13 @@ export interface ChapterLite {
|
|
|
274
267
|
is_numbered: boolean
|
|
275
268
|
}
|
|
276
269
|
|
|
270
|
+
export interface ChapterReorderBody {
|
|
271
|
+
relative_to: string
|
|
272
|
+
position: "before" | "after"
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type Chapters = ChapterLite[]
|
|
276
|
+
|
|
277
277
|
export type Works = Work[]
|
|
278
278
|
|
|
279
279
|
export interface Feed {
|
|
@@ -724,7 +724,7 @@ export interface Paths {
|
|
|
724
724
|
method: "post"
|
|
725
725
|
body: ChapterReorderBody
|
|
726
726
|
search?: undefined
|
|
727
|
-
response:
|
|
727
|
+
response: Response<ChapterLite> | ErrorResponse
|
|
728
728
|
},
|
|
729
729
|
"/work/{author}/{work}/chapter/{url}/react/{type}": {
|
|
730
730
|
method: "post"
|
package/openapi.json
CHANGED
|
@@ -1518,31 +1518,6 @@
|
|
|
1518
1518
|
}
|
|
1519
1519
|
}
|
|
1520
1520
|
},
|
|
1521
|
-
"ChapterReorderBody": {
|
|
1522
|
-
"type": "object",
|
|
1523
|
-
"properties": {
|
|
1524
|
-
"relative_to": {
|
|
1525
|
-
"type": "string"
|
|
1526
|
-
},
|
|
1527
|
-
"position": {
|
|
1528
|
-
"type": "string",
|
|
1529
|
-
"enum": [
|
|
1530
|
-
"before",
|
|
1531
|
-
"after"
|
|
1532
|
-
]
|
|
1533
|
-
}
|
|
1534
|
-
},
|
|
1535
|
-
"required": [
|
|
1536
|
-
"relative_to",
|
|
1537
|
-
"position"
|
|
1538
|
-
]
|
|
1539
|
-
},
|
|
1540
|
-
"Chapters": {
|
|
1541
|
-
"type": "array",
|
|
1542
|
-
"items": {
|
|
1543
|
-
"$ref": "#/components/schema/ChapterLite"
|
|
1544
|
-
}
|
|
1545
|
-
},
|
|
1546
1521
|
"ChapterLite": {
|
|
1547
1522
|
"type": "object",
|
|
1548
1523
|
"properties": {
|
|
@@ -1619,6 +1594,31 @@
|
|
|
1619
1594
|
"is_numbered"
|
|
1620
1595
|
]
|
|
1621
1596
|
},
|
|
1597
|
+
"ChapterReorderBody": {
|
|
1598
|
+
"type": "object",
|
|
1599
|
+
"properties": {
|
|
1600
|
+
"relative_to": {
|
|
1601
|
+
"type": "string"
|
|
1602
|
+
},
|
|
1603
|
+
"position": {
|
|
1604
|
+
"type": "string",
|
|
1605
|
+
"enum": [
|
|
1606
|
+
"before",
|
|
1607
|
+
"after"
|
|
1608
|
+
]
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
"required": [
|
|
1612
|
+
"relative_to",
|
|
1613
|
+
"position"
|
|
1614
|
+
]
|
|
1615
|
+
},
|
|
1616
|
+
"Chapters": {
|
|
1617
|
+
"type": "array",
|
|
1618
|
+
"items": {
|
|
1619
|
+
"$ref": "#/components/schema/ChapterLite"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
1622
|
"Works": {
|
|
1623
1623
|
"type": "array",
|
|
1624
1624
|
"items": {
|
|
@@ -3977,7 +3977,22 @@
|
|
|
3977
3977
|
},
|
|
3978
3978
|
"responses": {
|
|
3979
3979
|
"200": {
|
|
3980
|
-
"description": "200 response"
|
|
3980
|
+
"description": "200 response",
|
|
3981
|
+
"content": {
|
|
3982
|
+
"application/json": {
|
|
3983
|
+
"schema": {
|
|
3984
|
+
"type": "object",
|
|
3985
|
+
"properties": {
|
|
3986
|
+
"data": {
|
|
3987
|
+
"$ref": "#/components/schemas/ChapterLite"
|
|
3988
|
+
}
|
|
3989
|
+
},
|
|
3990
|
+
"required": [
|
|
3991
|
+
"data"
|
|
3992
|
+
]
|
|
3993
|
+
}
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3981
3996
|
},
|
|
3982
3997
|
"default": {
|
|
3983
3998
|
"description": "Error",
|
package/package.json
CHANGED