api.fluff4.me 1.0.207 → 1.0.208

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 CHANGED
@@ -402,7 +402,10 @@ export interface NotificationsBody {
402
402
  notification_ids: string[]
403
403
  }
404
404
 
405
- export type FeedWorks = Work[]
405
+ export interface FeedResponse {
406
+ works: Work[]
407
+ authors: Author[]
408
+ }
406
409
 
407
410
  export interface ErrorResponse {
408
411
  code: number
@@ -824,6 +827,6 @@ export interface Paths {
824
827
  "/feed/get": {
825
828
  method: "get"
826
829
  body?: undefined
827
- response: PaginatedResponse<FeedWorks> | ErrorResponse
830
+ response: PaginatedResponse<FeedResponse> | ErrorResponse
828
831
  },
829
832
  }
package/openapi.json CHANGED
@@ -2066,11 +2066,26 @@
2066
2066
  "notification_ids"
2067
2067
  ]
2068
2068
  },
2069
- "FeedWorks": {
2070
- "type": "array",
2071
- "items": {
2072
- "$ref": "#/components/schema/Work"
2073
- }
2069
+ "FeedResponse": {
2070
+ "type": "object",
2071
+ "properties": {
2072
+ "works": {
2073
+ "type": "array",
2074
+ "items": {
2075
+ "$ref": "#/components/schema/Work"
2076
+ }
2077
+ },
2078
+ "authors": {
2079
+ "type": "array",
2080
+ "items": {
2081
+ "$ref": "#/components/schema/Author"
2082
+ }
2083
+ }
2084
+ },
2085
+ "required": [
2086
+ "works",
2087
+ "authors"
2088
+ ]
2074
2089
  },
2075
2090
  "ErrorResponse": {
2076
2091
  "type": "object",
@@ -5354,7 +5369,7 @@
5354
5369
  "type": "object",
5355
5370
  "properties": {
5356
5371
  "data": {
5357
- "$ref": "#/components/schemas/FeedWorks"
5372
+ "$ref": "#/components/schemas/FeedResponse"
5358
5373
  },
5359
5374
  "has_more": {
5360
5375
  "type": "boolean"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.207",
3
+ "version": "1.0.208",
4
4
  "types": "index.d.ts"
5
5
  }