api.fluff4.me 1.0.206 → 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
@@ -79,7 +79,7 @@ export interface AuthorCreateBody {
79
79
  name: string
80
80
  vanity: string
81
81
  description?: string | null
82
- support_link?: null
82
+ support_link?: string | null
83
83
  support_message?: string | null
84
84
  pronouns?: string | null
85
85
  }
@@ -99,7 +99,7 @@ export interface AuthorInsert {
99
99
  name?: string | null
100
100
  vanity?: string | null
101
101
  description?: string | null
102
- support_link?: null
102
+ support_link?: string | null
103
103
  support_message?: string | null
104
104
  pronouns?: string | null
105
105
  }
@@ -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
@@ -308,7 +308,8 @@
308
308
  "support_link": {
309
309
  "anyOf": [
310
310
  {
311
- "$ref": "#/components/schema/null"
311
+ "type": "string",
312
+ "maxLength": 128
312
313
  },
313
314
  {
314
315
  "type": "null"
@@ -431,7 +432,8 @@
431
432
  "support_link": {
432
433
  "anyOf": [
433
434
  {
434
- "$ref": "#/components/schema/null"
435
+ "type": "string",
436
+ "maxLength": 128
435
437
  },
436
438
  {
437
439
  "type": "null"
@@ -2064,11 +2066,26 @@
2064
2066
  "notification_ids"
2065
2067
  ]
2066
2068
  },
2067
- "FeedWorks": {
2068
- "type": "array",
2069
- "items": {
2070
- "$ref": "#/components/schema/Work"
2071
- }
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
+ ]
2072
2089
  },
2073
2090
  "ErrorResponse": {
2074
2091
  "type": "object",
@@ -5352,7 +5369,7 @@
5352
5369
  "type": "object",
5353
5370
  "properties": {
5354
5371
  "data": {
5355
- "$ref": "#/components/schemas/FeedWorks"
5372
+ "$ref": "#/components/schemas/FeedResponse"
5356
5373
  },
5357
5374
  "has_more": {
5358
5375
  "type": "boolean"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.206",
3
+ "version": "1.0.208",
4
4
  "types": "index.d.ts"
5
5
  }