api.fluff4.me 1.0.208 → 1.0.209
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 +18 -3
- package/openapi.json +88 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -402,11 +402,26 @@ export interface NotificationsBody {
|
|
|
402
402
|
notification_ids: string[]
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export interface
|
|
406
|
-
works:
|
|
405
|
+
export interface Feed {
|
|
406
|
+
works: WorkWithAuthor[]
|
|
407
407
|
authors: Author[]
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
+
export interface WorkWithAuthor {
|
|
411
|
+
name: string
|
|
412
|
+
description: string
|
|
413
|
+
vanity: string
|
|
414
|
+
status: string
|
|
415
|
+
chapter_count_public: number
|
|
416
|
+
chapter_count?: number | null
|
|
417
|
+
word_count: number
|
|
418
|
+
view_count: string
|
|
419
|
+
time_publish?: string | null
|
|
420
|
+
time_last_update?: string | null
|
|
421
|
+
global_tags?: string[] | null
|
|
422
|
+
author: string
|
|
423
|
+
}
|
|
424
|
+
|
|
410
425
|
export interface ErrorResponse {
|
|
411
426
|
code: number
|
|
412
427
|
detail?: string | null
|
|
@@ -827,6 +842,6 @@ export interface Paths {
|
|
|
827
842
|
"/feed/get": {
|
|
828
843
|
method: "get"
|
|
829
844
|
body?: undefined
|
|
830
|
-
response: PaginatedResponse<
|
|
845
|
+
response: PaginatedResponse<Feed> | ErrorResponse
|
|
831
846
|
},
|
|
832
847
|
}
|
package/openapi.json
CHANGED
|
@@ -2066,13 +2066,13 @@
|
|
|
2066
2066
|
"notification_ids"
|
|
2067
2067
|
]
|
|
2068
2068
|
},
|
|
2069
|
-
"
|
|
2069
|
+
"Feed": {
|
|
2070
2070
|
"type": "object",
|
|
2071
2071
|
"properties": {
|
|
2072
2072
|
"works": {
|
|
2073
2073
|
"type": "array",
|
|
2074
2074
|
"items": {
|
|
2075
|
-
"$ref": "#/components/schema/
|
|
2075
|
+
"$ref": "#/components/schema/WorkWithAuthor"
|
|
2076
2076
|
}
|
|
2077
2077
|
},
|
|
2078
2078
|
"authors": {
|
|
@@ -2087,6 +2087,91 @@
|
|
|
2087
2087
|
"authors"
|
|
2088
2088
|
]
|
|
2089
2089
|
},
|
|
2090
|
+
"WorkWithAuthor": {
|
|
2091
|
+
"type": "object",
|
|
2092
|
+
"properties": {
|
|
2093
|
+
"name": {
|
|
2094
|
+
"type": "string",
|
|
2095
|
+
"maxLength": 256
|
|
2096
|
+
},
|
|
2097
|
+
"description": {
|
|
2098
|
+
"type": "string",
|
|
2099
|
+
"maxLength": 128
|
|
2100
|
+
},
|
|
2101
|
+
"vanity": {
|
|
2102
|
+
"type": "string",
|
|
2103
|
+
"maxLength": 32
|
|
2104
|
+
},
|
|
2105
|
+
"status": {
|
|
2106
|
+
"type": "string"
|
|
2107
|
+
},
|
|
2108
|
+
"chapter_count_public": {
|
|
2109
|
+
"type": "number"
|
|
2110
|
+
},
|
|
2111
|
+
"chapter_count": {
|
|
2112
|
+
"anyOf": [
|
|
2113
|
+
{
|
|
2114
|
+
"type": "number"
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"type": "null"
|
|
2118
|
+
}
|
|
2119
|
+
]
|
|
2120
|
+
},
|
|
2121
|
+
"word_count": {
|
|
2122
|
+
"type": "number"
|
|
2123
|
+
},
|
|
2124
|
+
"view_count": {
|
|
2125
|
+
"type": "string"
|
|
2126
|
+
},
|
|
2127
|
+
"time_publish": {
|
|
2128
|
+
"anyOf": [
|
|
2129
|
+
{
|
|
2130
|
+
"type": "string"
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"type": "null"
|
|
2134
|
+
}
|
|
2135
|
+
]
|
|
2136
|
+
},
|
|
2137
|
+
"time_last_update": {
|
|
2138
|
+
"anyOf": [
|
|
2139
|
+
{
|
|
2140
|
+
"type": "string"
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"type": "null"
|
|
2144
|
+
}
|
|
2145
|
+
]
|
|
2146
|
+
},
|
|
2147
|
+
"global_tags": {
|
|
2148
|
+
"anyOf": [
|
|
2149
|
+
{
|
|
2150
|
+
"type": "array",
|
|
2151
|
+
"items": {
|
|
2152
|
+
"type": "string"
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"type": "null"
|
|
2157
|
+
}
|
|
2158
|
+
]
|
|
2159
|
+
},
|
|
2160
|
+
"author": {
|
|
2161
|
+
"type": "string"
|
|
2162
|
+
}
|
|
2163
|
+
},
|
|
2164
|
+
"required": [
|
|
2165
|
+
"name",
|
|
2166
|
+
"description",
|
|
2167
|
+
"vanity",
|
|
2168
|
+
"status",
|
|
2169
|
+
"chapter_count_public",
|
|
2170
|
+
"word_count",
|
|
2171
|
+
"view_count",
|
|
2172
|
+
"author"
|
|
2173
|
+
]
|
|
2174
|
+
},
|
|
2090
2175
|
"ErrorResponse": {
|
|
2091
2176
|
"type": "object",
|
|
2092
2177
|
"properties": {
|
|
@@ -5369,7 +5454,7 @@
|
|
|
5369
5454
|
"type": "object",
|
|
5370
5455
|
"properties": {
|
|
5371
5456
|
"data": {
|
|
5372
|
-
"$ref": "#/components/schemas/
|
|
5457
|
+
"$ref": "#/components/schemas/Feed"
|
|
5373
5458
|
},
|
|
5374
5459
|
"has_more": {
|
|
5375
5460
|
"type": "boolean"
|
package/package.json
CHANGED