api.fluff4.me 1.0.442 → 1.0.444
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 +12 -14
- package/openapi.json +53 -41
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ export interface AuthorSelf {
|
|
|
86
86
|
authorisations?: Authorisation[] | null
|
|
87
87
|
patreon_tiers?: Tier[] | null
|
|
88
88
|
patreon_campaign?: PatreonCampaign | null
|
|
89
|
-
patreon_patron?:
|
|
89
|
+
patreon_patron?: Authorisation | null
|
|
90
90
|
works?: Work[] | null
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -108,12 +108,10 @@ export interface Tier {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
export interface PatreonCampaign {
|
|
111
|
-
url: string
|
|
112
|
-
display_name: string
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export interface PatreonPatron {
|
|
116
111
|
display_name: string
|
|
112
|
+
service: string
|
|
113
|
+
id: string
|
|
114
|
+
url: string
|
|
117
115
|
}
|
|
118
116
|
|
|
119
117
|
export interface Work {
|
|
@@ -253,13 +251,6 @@ export interface ChapterUpdateBody {
|
|
|
253
251
|
custom_tags?: string[] | null
|
|
254
252
|
}
|
|
255
253
|
|
|
256
|
-
export interface ChapterReorderBody {
|
|
257
|
-
relative_to: string
|
|
258
|
-
position: "before" | "after"
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export type Chapters = ChapterLite[]
|
|
262
|
-
|
|
263
254
|
export interface ChapterLite {
|
|
264
255
|
url: string
|
|
265
256
|
index_public?: number | null
|
|
@@ -274,6 +265,13 @@ export interface ChapterLite {
|
|
|
274
265
|
is_numbered: boolean
|
|
275
266
|
}
|
|
276
267
|
|
|
268
|
+
export interface ChapterReorderBody {
|
|
269
|
+
relative_to: string
|
|
270
|
+
position: "before" | "after"
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export type Chapters = ChapterLite[]
|
|
274
|
+
|
|
277
275
|
export type Works = Work[]
|
|
278
276
|
|
|
279
277
|
export interface Feed {
|
|
@@ -724,7 +722,7 @@ export interface Paths {
|
|
|
724
722
|
method: "post"
|
|
725
723
|
body: ChapterReorderBody
|
|
726
724
|
search?: undefined
|
|
727
|
-
response:
|
|
725
|
+
response: Response<ChapterLite> | ErrorResponse
|
|
728
726
|
},
|
|
729
727
|
"/work/{author}/{work}/chapter/{url}/react/{type}": {
|
|
730
728
|
method: "post"
|
package/openapi.json
CHANGED
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"patreon_patron": {
|
|
351
351
|
"anyOf": [
|
|
352
352
|
{
|
|
353
|
-
"$ref": "#/components/schema/
|
|
353
|
+
"$ref": "#/components/schema/Authorisation"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
356
356
|
"type": "null"
|
|
@@ -491,27 +491,24 @@
|
|
|
491
491
|
"PatreonCampaign": {
|
|
492
492
|
"type": "object",
|
|
493
493
|
"properties": {
|
|
494
|
-
"
|
|
494
|
+
"display_name": {
|
|
495
495
|
"type": "string"
|
|
496
496
|
},
|
|
497
|
-
"
|
|
497
|
+
"service": {
|
|
498
498
|
"type": "string"
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
"
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
|
-
"PatreonPatron": {
|
|
507
|
-
"type": "object",
|
|
508
|
-
"properties": {
|
|
509
|
-
"display_name": {
|
|
499
|
+
},
|
|
500
|
+
"id": {
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
503
|
+
"url": {
|
|
510
504
|
"type": "string"
|
|
511
505
|
}
|
|
512
506
|
},
|
|
513
507
|
"required": [
|
|
514
|
-
"display_name"
|
|
508
|
+
"display_name",
|
|
509
|
+
"service",
|
|
510
|
+
"id",
|
|
511
|
+
"url"
|
|
515
512
|
]
|
|
516
513
|
},
|
|
517
514
|
"Work": {
|
|
@@ -1518,31 +1515,6 @@
|
|
|
1518
1515
|
}
|
|
1519
1516
|
}
|
|
1520
1517
|
},
|
|
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
1518
|
"ChapterLite": {
|
|
1547
1519
|
"type": "object",
|
|
1548
1520
|
"properties": {
|
|
@@ -1619,6 +1591,31 @@
|
|
|
1619
1591
|
"is_numbered"
|
|
1620
1592
|
]
|
|
1621
1593
|
},
|
|
1594
|
+
"ChapterReorderBody": {
|
|
1595
|
+
"type": "object",
|
|
1596
|
+
"properties": {
|
|
1597
|
+
"relative_to": {
|
|
1598
|
+
"type": "string"
|
|
1599
|
+
},
|
|
1600
|
+
"position": {
|
|
1601
|
+
"type": "string",
|
|
1602
|
+
"enum": [
|
|
1603
|
+
"before",
|
|
1604
|
+
"after"
|
|
1605
|
+
]
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1608
|
+
"required": [
|
|
1609
|
+
"relative_to",
|
|
1610
|
+
"position"
|
|
1611
|
+
]
|
|
1612
|
+
},
|
|
1613
|
+
"Chapters": {
|
|
1614
|
+
"type": "array",
|
|
1615
|
+
"items": {
|
|
1616
|
+
"$ref": "#/components/schema/ChapterLite"
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1622
1619
|
"Works": {
|
|
1623
1620
|
"type": "array",
|
|
1624
1621
|
"items": {
|
|
@@ -3977,7 +3974,22 @@
|
|
|
3977
3974
|
},
|
|
3978
3975
|
"responses": {
|
|
3979
3976
|
"200": {
|
|
3980
|
-
"description": "200 response"
|
|
3977
|
+
"description": "200 response",
|
|
3978
|
+
"content": {
|
|
3979
|
+
"application/json": {
|
|
3980
|
+
"schema": {
|
|
3981
|
+
"type": "object",
|
|
3982
|
+
"properties": {
|
|
3983
|
+
"data": {
|
|
3984
|
+
"$ref": "#/components/schemas/ChapterLite"
|
|
3985
|
+
}
|
|
3986
|
+
},
|
|
3987
|
+
"required": [
|
|
3988
|
+
"data"
|
|
3989
|
+
]
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3992
|
+
}
|
|
3981
3993
|
},
|
|
3982
3994
|
"default": {
|
|
3983
3995
|
"description": "Error",
|
package/package.json
CHANGED