api.fluff4.me 1.0.207 → 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 +20 -2
- package/openapi.json +106 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -402,7 +402,25 @@ export interface NotificationsBody {
|
|
|
402
402
|
notification_ids: string[]
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export
|
|
405
|
+
export interface Feed {
|
|
406
|
+
works: WorkWithAuthor[]
|
|
407
|
+
authors: Author[]
|
|
408
|
+
}
|
|
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
|
+
}
|
|
406
424
|
|
|
407
425
|
export interface ErrorResponse {
|
|
408
426
|
code: number
|
|
@@ -824,6 +842,6 @@ export interface Paths {
|
|
|
824
842
|
"/feed/get": {
|
|
825
843
|
method: "get"
|
|
826
844
|
body?: undefined
|
|
827
|
-
response: PaginatedResponse<
|
|
845
|
+
response: PaginatedResponse<Feed> | ErrorResponse
|
|
828
846
|
},
|
|
829
847
|
}
|
package/openapi.json
CHANGED
|
@@ -2066,11 +2066,111 @@
|
|
|
2066
2066
|
"notification_ids"
|
|
2067
2067
|
]
|
|
2068
2068
|
},
|
|
2069
|
-
"
|
|
2070
|
-
"type": "
|
|
2071
|
-
"
|
|
2072
|
-
"
|
|
2073
|
-
|
|
2069
|
+
"Feed": {
|
|
2070
|
+
"type": "object",
|
|
2071
|
+
"properties": {
|
|
2072
|
+
"works": {
|
|
2073
|
+
"type": "array",
|
|
2074
|
+
"items": {
|
|
2075
|
+
"$ref": "#/components/schema/WorkWithAuthor"
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"authors": {
|
|
2079
|
+
"type": "array",
|
|
2080
|
+
"items": {
|
|
2081
|
+
"$ref": "#/components/schema/Author"
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
},
|
|
2085
|
+
"required": [
|
|
2086
|
+
"works",
|
|
2087
|
+
"authors"
|
|
2088
|
+
]
|
|
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
|
+
]
|
|
2074
2174
|
},
|
|
2075
2175
|
"ErrorResponse": {
|
|
2076
2176
|
"type": "object",
|
|
@@ -5354,7 +5454,7 @@
|
|
|
5354
5454
|
"type": "object",
|
|
5355
5455
|
"properties": {
|
|
5356
5456
|
"data": {
|
|
5357
|
-
"$ref": "#/components/schemas/
|
|
5457
|
+
"$ref": "#/components/schemas/Feed"
|
|
5358
5458
|
},
|
|
5359
5459
|
"has_more": {
|
|
5360
5460
|
"type": "boolean"
|
package/package.json
CHANGED