api.fluff4.me 1.0.941 → 1.0.944
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 +13 -6
- package/openapi.json +71 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -926,9 +926,10 @@ export interface ReportCommentBody {
|
|
|
926
926
|
reason_body: string
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
-
export interface
|
|
930
|
-
name?: string | null
|
|
931
|
-
description?: string | null
|
|
929
|
+
export interface ShelfInsertable {
|
|
930
|
+
name?: (string | false) | null
|
|
931
|
+
description?: (string | false) | null
|
|
932
|
+
following_only: boolean
|
|
932
933
|
whitelisted_authors?: string[] | null
|
|
933
934
|
blacklisted_authors?: string[] | null
|
|
934
935
|
whitelisted_works?: WorkReference[] | null
|
|
@@ -937,14 +938,13 @@ export interface ShelfCreateBody {
|
|
|
937
938
|
blacklisted_tags?: string[] | null
|
|
938
939
|
whitelisted_tag_categories?: string[] | null
|
|
939
940
|
blacklisted_tag_categories?: string[] | null
|
|
940
|
-
following_only: boolean
|
|
941
|
-
recently_completed_only: boolean
|
|
942
941
|
}
|
|
943
942
|
|
|
944
943
|
export interface Shelf {
|
|
945
944
|
name?: string | null
|
|
946
945
|
description?: TextBody | null
|
|
947
946
|
shelf_id: string
|
|
947
|
+
following_only: boolean
|
|
948
948
|
filters: ShelfFilters
|
|
949
949
|
}
|
|
950
950
|
|
|
@@ -963,6 +963,7 @@ export interface ShelfDetails {
|
|
|
963
963
|
name?: string | null
|
|
964
964
|
description?: TextBody | null
|
|
965
965
|
shelf_id: string
|
|
966
|
+
following_only: boolean
|
|
966
967
|
}
|
|
967
968
|
|
|
968
969
|
export interface Shelves {
|
|
@@ -2025,7 +2026,7 @@ export interface Paths {
|
|
|
2025
2026
|
},
|
|
2026
2027
|
"/shelf/create": {
|
|
2027
2028
|
method: "post"
|
|
2028
|
-
body:
|
|
2029
|
+
body: ShelfInsertable
|
|
2029
2030
|
search?: undefined
|
|
2030
2031
|
response: void | ErrorResponse
|
|
2031
2032
|
},
|
|
@@ -2056,6 +2057,12 @@ export interface Paths {
|
|
|
2056
2057
|
search?: undefined
|
|
2057
2058
|
response: Response<ShelfDetails> | ErrorResponse
|
|
2058
2059
|
},
|
|
2060
|
+
"/shelf/{id}/update": {
|
|
2061
|
+
method: "post"
|
|
2062
|
+
body: ShelfInsertable
|
|
2063
|
+
search?: undefined
|
|
2064
|
+
response: void | ErrorResponse
|
|
2065
|
+
},
|
|
2059
2066
|
"/shelf/delete/{id}": {
|
|
2060
2067
|
method: "post"
|
|
2061
2068
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -5226,13 +5226,23 @@
|
|
|
5226
5226
|
"reason_body"
|
|
5227
5227
|
]
|
|
5228
5228
|
},
|
|
5229
|
-
"
|
|
5229
|
+
"ShelfInsertable": {
|
|
5230
5230
|
"type": "object",
|
|
5231
5231
|
"properties": {
|
|
5232
5232
|
"name": {
|
|
5233
5233
|
"anyOf": [
|
|
5234
5234
|
{
|
|
5235
|
-
"
|
|
5235
|
+
"anyOf": [
|
|
5236
|
+
{
|
|
5237
|
+
"type": "string"
|
|
5238
|
+
},
|
|
5239
|
+
{
|
|
5240
|
+
"type": "boolean",
|
|
5241
|
+
"enum": [
|
|
5242
|
+
false
|
|
5243
|
+
]
|
|
5244
|
+
}
|
|
5245
|
+
]
|
|
5236
5246
|
},
|
|
5237
5247
|
{
|
|
5238
5248
|
"type": "null"
|
|
@@ -5242,13 +5252,26 @@
|
|
|
5242
5252
|
"description": {
|
|
5243
5253
|
"anyOf": [
|
|
5244
5254
|
{
|
|
5245
|
-
"
|
|
5255
|
+
"anyOf": [
|
|
5256
|
+
{
|
|
5257
|
+
"type": "string"
|
|
5258
|
+
},
|
|
5259
|
+
{
|
|
5260
|
+
"type": "boolean",
|
|
5261
|
+
"enum": [
|
|
5262
|
+
false
|
|
5263
|
+
]
|
|
5264
|
+
}
|
|
5265
|
+
]
|
|
5246
5266
|
},
|
|
5247
5267
|
{
|
|
5248
5268
|
"type": "null"
|
|
5249
5269
|
}
|
|
5250
5270
|
]
|
|
5251
5271
|
},
|
|
5272
|
+
"following_only": {
|
|
5273
|
+
"type": "boolean"
|
|
5274
|
+
},
|
|
5252
5275
|
"whitelisted_authors": {
|
|
5253
5276
|
"anyOf": [
|
|
5254
5277
|
{
|
|
@@ -5352,17 +5375,10 @@
|
|
|
5352
5375
|
"type": "null"
|
|
5353
5376
|
}
|
|
5354
5377
|
]
|
|
5355
|
-
},
|
|
5356
|
-
"following_only": {
|
|
5357
|
-
"type": "boolean"
|
|
5358
|
-
},
|
|
5359
|
-
"recently_completed_only": {
|
|
5360
|
-
"type": "boolean"
|
|
5361
5378
|
}
|
|
5362
5379
|
},
|
|
5363
5380
|
"required": [
|
|
5364
|
-
"following_only"
|
|
5365
|
-
"recently_completed_only"
|
|
5381
|
+
"following_only"
|
|
5366
5382
|
]
|
|
5367
5383
|
},
|
|
5368
5384
|
"Shelf": {
|
|
@@ -5391,12 +5407,16 @@
|
|
|
5391
5407
|
"shelf_id": {
|
|
5392
5408
|
"type": "string"
|
|
5393
5409
|
},
|
|
5410
|
+
"following_only": {
|
|
5411
|
+
"type": "boolean"
|
|
5412
|
+
},
|
|
5394
5413
|
"filters": {
|
|
5395
5414
|
"$ref": "#/components/schema/ShelfFilters"
|
|
5396
5415
|
}
|
|
5397
5416
|
},
|
|
5398
5417
|
"required": [
|
|
5399
5418
|
"shelf_id",
|
|
5419
|
+
"following_only",
|
|
5400
5420
|
"filters"
|
|
5401
5421
|
]
|
|
5402
5422
|
},
|
|
@@ -5488,10 +5508,14 @@
|
|
|
5488
5508
|
},
|
|
5489
5509
|
"shelf_id": {
|
|
5490
5510
|
"type": "string"
|
|
5511
|
+
},
|
|
5512
|
+
"following_only": {
|
|
5513
|
+
"type": "boolean"
|
|
5491
5514
|
}
|
|
5492
5515
|
},
|
|
5493
5516
|
"required": [
|
|
5494
|
-
"shelf_id"
|
|
5517
|
+
"shelf_id",
|
|
5518
|
+
"following_only"
|
|
5495
5519
|
]
|
|
5496
5520
|
},
|
|
5497
5521
|
"Shelves": {
|
|
@@ -12492,7 +12516,7 @@
|
|
|
12492
12516
|
"content": {
|
|
12493
12517
|
"application/json": {
|
|
12494
12518
|
"schema": {
|
|
12495
|
-
"$ref": "#/components/schemas/
|
|
12519
|
+
"$ref": "#/components/schemas/ShelfInsertable"
|
|
12496
12520
|
}
|
|
12497
12521
|
}
|
|
12498
12522
|
}
|
|
@@ -12711,6 +12735,40 @@
|
|
|
12711
12735
|
}
|
|
12712
12736
|
}
|
|
12713
12737
|
},
|
|
12738
|
+
"/shelf/{id}/update": {
|
|
12739
|
+
"parameters": [
|
|
12740
|
+
{
|
|
12741
|
+
"name": "id",
|
|
12742
|
+
"in": "path"
|
|
12743
|
+
}
|
|
12744
|
+
],
|
|
12745
|
+
"post": {
|
|
12746
|
+
"requestBody": {
|
|
12747
|
+
"content": {
|
|
12748
|
+
"application/json": {
|
|
12749
|
+
"schema": {
|
|
12750
|
+
"$ref": "#/components/schemas/ShelfInsertable"
|
|
12751
|
+
}
|
|
12752
|
+
}
|
|
12753
|
+
}
|
|
12754
|
+
},
|
|
12755
|
+
"responses": {
|
|
12756
|
+
"200": {
|
|
12757
|
+
"description": "200 response"
|
|
12758
|
+
},
|
|
12759
|
+
"default": {
|
|
12760
|
+
"description": "Error",
|
|
12761
|
+
"content": {
|
|
12762
|
+
"application/json": {
|
|
12763
|
+
"schema": {
|
|
12764
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
12765
|
+
}
|
|
12766
|
+
}
|
|
12767
|
+
}
|
|
12768
|
+
}
|
|
12769
|
+
}
|
|
12770
|
+
}
|
|
12771
|
+
},
|
|
12714
12772
|
"/shelf/delete/{id}": {
|
|
12715
12773
|
"parameters": [
|
|
12716
12774
|
{
|
package/package.json
CHANGED