api.fluff4.me 1.0.461 → 1.0.462
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 +44 -44
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -281,14 +281,14 @@ export interface ChapterReorderBody {
|
|
|
281
281
|
position: "before" | "after"
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
+
export type Chapters = ChapterLite[]
|
|
285
|
+
|
|
284
286
|
export interface CampaignTierSetBody {
|
|
285
287
|
visibility: "Private" | "Public" | "Patreon"
|
|
286
288
|
tier_id?: string | null
|
|
287
289
|
chapters: string[]
|
|
288
290
|
}
|
|
289
291
|
|
|
290
|
-
export type Chapters = ChapterLite[]
|
|
291
|
-
|
|
292
292
|
export type Works = Work[]
|
|
293
293
|
|
|
294
294
|
export interface Feed {
|
|
@@ -752,12 +752,6 @@ export interface Paths {
|
|
|
752
752
|
search?: undefined
|
|
753
753
|
response: void | ErrorResponse
|
|
754
754
|
},
|
|
755
|
-
"/work/{author}/{work}/chapter/update/visibility": {
|
|
756
|
-
method: "post"
|
|
757
|
-
body: CampaignTierSetBody
|
|
758
|
-
search?: undefined
|
|
759
|
-
response: void | ErrorResponse
|
|
760
|
-
},
|
|
761
755
|
"/work/{author}/{vanity}/chapters/list": {
|
|
762
756
|
method: "get"
|
|
763
757
|
body?: undefined
|
|
@@ -776,6 +770,12 @@ export interface Paths {
|
|
|
776
770
|
}
|
|
777
771
|
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
778
772
|
},
|
|
773
|
+
"/work/{author}/{work}/chapters/setvisibility": {
|
|
774
|
+
method: "post"
|
|
775
|
+
body: CampaignTierSetBody
|
|
776
|
+
search?: undefined
|
|
777
|
+
response: void | ErrorResponse
|
|
778
|
+
},
|
|
779
779
|
"/works/{author}": {
|
|
780
780
|
method: "get"
|
|
781
781
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -1674,6 +1674,12 @@
|
|
|
1674
1674
|
"position"
|
|
1675
1675
|
]
|
|
1676
1676
|
},
|
|
1677
|
+
"Chapters": {
|
|
1678
|
+
"type": "array",
|
|
1679
|
+
"items": {
|
|
1680
|
+
"$ref": "#/components/schema/ChapterLite"
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1677
1683
|
"CampaignTierSetBody": {
|
|
1678
1684
|
"type": "object",
|
|
1679
1685
|
"properties": {
|
|
@@ -1707,12 +1713,6 @@
|
|
|
1707
1713
|
"chapters"
|
|
1708
1714
|
]
|
|
1709
1715
|
},
|
|
1710
|
-
"Chapters": {
|
|
1711
|
-
"type": "array",
|
|
1712
|
-
"items": {
|
|
1713
|
-
"$ref": "#/components/schema/ChapterLite"
|
|
1714
|
-
}
|
|
1715
|
-
},
|
|
1716
1716
|
"Works": {
|
|
1717
1717
|
"type": "array",
|
|
1718
1718
|
"items": {
|
|
@@ -4168,44 +4168,6 @@
|
|
|
4168
4168
|
}
|
|
4169
4169
|
}
|
|
4170
4170
|
},
|
|
4171
|
-
"/work/{author}/{work}/chapter/update/visibility": {
|
|
4172
|
-
"parameters": [
|
|
4173
|
-
{
|
|
4174
|
-
"name": "author",
|
|
4175
|
-
"in": "path"
|
|
4176
|
-
},
|
|
4177
|
-
{
|
|
4178
|
-
"name": "work",
|
|
4179
|
-
"in": "path"
|
|
4180
|
-
}
|
|
4181
|
-
],
|
|
4182
|
-
"post": {
|
|
4183
|
-
"requestBody": {
|
|
4184
|
-
"content": {
|
|
4185
|
-
"application/json": {
|
|
4186
|
-
"schema": {
|
|
4187
|
-
"$ref": "#/components/schemas/CampaignTierSetBody"
|
|
4188
|
-
}
|
|
4189
|
-
}
|
|
4190
|
-
}
|
|
4191
|
-
},
|
|
4192
|
-
"responses": {
|
|
4193
|
-
"200": {
|
|
4194
|
-
"description": "200 response"
|
|
4195
|
-
},
|
|
4196
|
-
"default": {
|
|
4197
|
-
"description": "Error",
|
|
4198
|
-
"content": {
|
|
4199
|
-
"application/json": {
|
|
4200
|
-
"schema": {
|
|
4201
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
4202
|
-
}
|
|
4203
|
-
}
|
|
4204
|
-
}
|
|
4205
|
-
}
|
|
4206
|
-
}
|
|
4207
|
-
}
|
|
4208
|
-
},
|
|
4209
4171
|
"/work/{author}/{vanity}/chapters/list": {
|
|
4210
4172
|
"parameters": [
|
|
4211
4173
|
{
|
|
@@ -4398,6 +4360,44 @@
|
|
|
4398
4360
|
}
|
|
4399
4361
|
}
|
|
4400
4362
|
},
|
|
4363
|
+
"/work/{author}/{work}/chapters/setvisibility": {
|
|
4364
|
+
"parameters": [
|
|
4365
|
+
{
|
|
4366
|
+
"name": "author",
|
|
4367
|
+
"in": "path"
|
|
4368
|
+
},
|
|
4369
|
+
{
|
|
4370
|
+
"name": "work",
|
|
4371
|
+
"in": "path"
|
|
4372
|
+
}
|
|
4373
|
+
],
|
|
4374
|
+
"post": {
|
|
4375
|
+
"requestBody": {
|
|
4376
|
+
"content": {
|
|
4377
|
+
"application/json": {
|
|
4378
|
+
"schema": {
|
|
4379
|
+
"$ref": "#/components/schemas/CampaignTierSetBody"
|
|
4380
|
+
}
|
|
4381
|
+
}
|
|
4382
|
+
}
|
|
4383
|
+
},
|
|
4384
|
+
"responses": {
|
|
4385
|
+
"200": {
|
|
4386
|
+
"description": "200 response"
|
|
4387
|
+
},
|
|
4388
|
+
"default": {
|
|
4389
|
+
"description": "Error",
|
|
4390
|
+
"content": {
|
|
4391
|
+
"application/json": {
|
|
4392
|
+
"schema": {
|
|
4393
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
}
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
},
|
|
4401
4401
|
"/works/{author}": {
|
|
4402
4402
|
"parameters": [
|
|
4403
4403
|
{
|
package/package.json
CHANGED