api.fluff4.me 1.0.1064 → 1.0.1066
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 +24 -2
- package/openapi.json +114 -48
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1087,6 +1087,22 @@ export interface Shelves {
|
|
|
1087
1087
|
authors: AuthorMetadata[]
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
|
+
export interface ShelvesPreviewResponse {
|
|
1091
|
+
shelves: ShelvesPreview[]
|
|
1092
|
+
authors: AuthorMetadata[]
|
|
1093
|
+
works: WorkMetadata[]
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
export interface ShelvesPreview {
|
|
1097
|
+
shelf_id: string
|
|
1098
|
+
shelf_order: number
|
|
1099
|
+
recently_updated: WorkReference[]
|
|
1100
|
+
recently_completed: WorkReference[]
|
|
1101
|
+
hot: WorkReference[]
|
|
1102
|
+
new: WorkReference[]
|
|
1103
|
+
rss_url?: string | null
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1090
1106
|
export interface SearchResponse {
|
|
1091
1107
|
authors: string[]
|
|
1092
1108
|
works: WorkMetadata[]
|
|
@@ -2259,11 +2275,17 @@ export interface Paths {
|
|
|
2259
2275
|
search?: undefined
|
|
2260
2276
|
response: void | ErrorResponse
|
|
2261
2277
|
},
|
|
2278
|
+
"/shelves/details": {
|
|
2279
|
+
method: "get"
|
|
2280
|
+
body?: undefined
|
|
2281
|
+
search?: undefined
|
|
2282
|
+
response: Response<Shelves> | ErrorResponse
|
|
2283
|
+
},
|
|
2262
2284
|
"/shelves": {
|
|
2263
2285
|
method: "get"
|
|
2264
2286
|
body?: undefined
|
|
2265
|
-
search
|
|
2266
|
-
response:
|
|
2287
|
+
search?: undefined
|
|
2288
|
+
response: Response<ShelvesPreviewResponse> | ErrorResponse
|
|
2267
2289
|
},
|
|
2268
2290
|
"/search": {
|
|
2269
2291
|
method: "get"
|
package/openapi.json
CHANGED
|
@@ -6441,6 +6441,87 @@
|
|
|
6441
6441
|
"authors"
|
|
6442
6442
|
]
|
|
6443
6443
|
},
|
|
6444
|
+
"ShelvesPreviewResponse": {
|
|
6445
|
+
"type": "object",
|
|
6446
|
+
"properties": {
|
|
6447
|
+
"shelves": {
|
|
6448
|
+
"type": "array",
|
|
6449
|
+
"items": {
|
|
6450
|
+
"$ref": "#/components/schema/ShelvesPreview"
|
|
6451
|
+
}
|
|
6452
|
+
},
|
|
6453
|
+
"authors": {
|
|
6454
|
+
"type": "array",
|
|
6455
|
+
"items": {
|
|
6456
|
+
"$ref": "#/components/schema/AuthorMetadata"
|
|
6457
|
+
}
|
|
6458
|
+
},
|
|
6459
|
+
"works": {
|
|
6460
|
+
"type": "array",
|
|
6461
|
+
"items": {
|
|
6462
|
+
"$ref": "#/components/schema/WorkMetadata"
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6465
|
+
},
|
|
6466
|
+
"required": [
|
|
6467
|
+
"shelves",
|
|
6468
|
+
"authors",
|
|
6469
|
+
"works"
|
|
6470
|
+
]
|
|
6471
|
+
},
|
|
6472
|
+
"ShelvesPreview": {
|
|
6473
|
+
"type": "object",
|
|
6474
|
+
"properties": {
|
|
6475
|
+
"shelf_id": {
|
|
6476
|
+
"type": "string"
|
|
6477
|
+
},
|
|
6478
|
+
"shelf_order": {
|
|
6479
|
+
"type": "number"
|
|
6480
|
+
},
|
|
6481
|
+
"recently_updated": {
|
|
6482
|
+
"type": "array",
|
|
6483
|
+
"items": {
|
|
6484
|
+
"$ref": "#/components/schema/WorkReference"
|
|
6485
|
+
}
|
|
6486
|
+
},
|
|
6487
|
+
"recently_completed": {
|
|
6488
|
+
"type": "array",
|
|
6489
|
+
"items": {
|
|
6490
|
+
"$ref": "#/components/schema/WorkReference"
|
|
6491
|
+
}
|
|
6492
|
+
},
|
|
6493
|
+
"hot": {
|
|
6494
|
+
"type": "array",
|
|
6495
|
+
"items": {
|
|
6496
|
+
"$ref": "#/components/schema/WorkReference"
|
|
6497
|
+
}
|
|
6498
|
+
},
|
|
6499
|
+
"new": {
|
|
6500
|
+
"type": "array",
|
|
6501
|
+
"items": {
|
|
6502
|
+
"$ref": "#/components/schema/WorkReference"
|
|
6503
|
+
}
|
|
6504
|
+
},
|
|
6505
|
+
"rss_url": {
|
|
6506
|
+
"anyOf": [
|
|
6507
|
+
{
|
|
6508
|
+
"type": "string"
|
|
6509
|
+
},
|
|
6510
|
+
{
|
|
6511
|
+
"type": "null"
|
|
6512
|
+
}
|
|
6513
|
+
]
|
|
6514
|
+
}
|
|
6515
|
+
},
|
|
6516
|
+
"required": [
|
|
6517
|
+
"shelf_id",
|
|
6518
|
+
"shelf_order",
|
|
6519
|
+
"recently_updated",
|
|
6520
|
+
"recently_completed",
|
|
6521
|
+
"hot",
|
|
6522
|
+
"new"
|
|
6523
|
+
]
|
|
6524
|
+
},
|
|
6444
6525
|
"SearchResponse": {
|
|
6445
6526
|
"type": "object",
|
|
6446
6527
|
"properties": {
|
|
@@ -14953,29 +15034,42 @@
|
|
|
14953
15034
|
}
|
|
14954
15035
|
}
|
|
14955
15036
|
},
|
|
14956
|
-
"/shelves": {
|
|
15037
|
+
"/shelves/details": {
|
|
14957
15038
|
"get": {
|
|
14958
|
-
"
|
|
14959
|
-
{
|
|
14960
|
-
"
|
|
14961
|
-
"
|
|
14962
|
-
|
|
14963
|
-
|
|
14964
|
-
|
|
14965
|
-
|
|
15039
|
+
"responses": {
|
|
15040
|
+
"200": {
|
|
15041
|
+
"description": "200 response",
|
|
15042
|
+
"content": {
|
|
15043
|
+
"application/json": {
|
|
15044
|
+
"schema": {
|
|
15045
|
+
"type": "object",
|
|
15046
|
+
"properties": {
|
|
15047
|
+
"data": {
|
|
15048
|
+
"$ref": "#/components/schemas/Shelves"
|
|
15049
|
+
}
|
|
15050
|
+
},
|
|
15051
|
+
"required": [
|
|
15052
|
+
"data"
|
|
15053
|
+
]
|
|
15054
|
+
}
|
|
15055
|
+
}
|
|
14966
15056
|
}
|
|
14967
15057
|
},
|
|
14968
|
-
{
|
|
14969
|
-
"
|
|
14970
|
-
"
|
|
14971
|
-
|
|
14972
|
-
|
|
14973
|
-
|
|
14974
|
-
|
|
14975
|
-
|
|
15058
|
+
"default": {
|
|
15059
|
+
"description": "Error",
|
|
15060
|
+
"content": {
|
|
15061
|
+
"application/json": {
|
|
15062
|
+
"schema": {
|
|
15063
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
15064
|
+
}
|
|
15065
|
+
}
|
|
14976
15066
|
}
|
|
14977
15067
|
}
|
|
14978
|
-
|
|
15068
|
+
}
|
|
15069
|
+
}
|
|
15070
|
+
},
|
|
15071
|
+
"/shelves": {
|
|
15072
|
+
"get": {
|
|
14979
15073
|
"responses": {
|
|
14980
15074
|
"200": {
|
|
14981
15075
|
"description": "200 response",
|
|
@@ -14985,39 +15079,11 @@
|
|
|
14985
15079
|
"type": "object",
|
|
14986
15080
|
"properties": {
|
|
14987
15081
|
"data": {
|
|
14988
|
-
"$ref": "#/components/schemas/
|
|
14989
|
-
},
|
|
14990
|
-
"has_more": {
|
|
14991
|
-
"type": "boolean"
|
|
14992
|
-
},
|
|
14993
|
-
"page": {
|
|
14994
|
-
"type": "number",
|
|
14995
|
-
"minimum": 0
|
|
14996
|
-
},
|
|
14997
|
-
"page_count": {
|
|
14998
|
-
"type": [
|
|
14999
|
-
"boolean",
|
|
15000
|
-
"number"
|
|
15001
|
-
],
|
|
15002
|
-
"anyOf": [
|
|
15003
|
-
{
|
|
15004
|
-
"type": "boolean",
|
|
15005
|
-
"enum": [
|
|
15006
|
-
true
|
|
15007
|
-
]
|
|
15008
|
-
},
|
|
15009
|
-
{
|
|
15010
|
-
"type": "number",
|
|
15011
|
-
"minimum": 0
|
|
15012
|
-
}
|
|
15013
|
-
]
|
|
15082
|
+
"$ref": "#/components/schemas/ShelvesPreviewResponse"
|
|
15014
15083
|
}
|
|
15015
15084
|
},
|
|
15016
15085
|
"required": [
|
|
15017
|
-
"data"
|
|
15018
|
-
"has_more",
|
|
15019
|
-
"page",
|
|
15020
|
-
"page_count"
|
|
15086
|
+
"data"
|
|
15021
15087
|
]
|
|
15022
15088
|
}
|
|
15023
15089
|
}
|
package/package.json
CHANGED