api.fluff4.me 1.0.209 → 1.0.211

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
@@ -419,7 +419,7 @@ export interface WorkWithAuthor {
419
419
  time_publish?: string | null
420
420
  time_last_update?: string | null
421
421
  global_tags?: string[] | null
422
- author: string
422
+ author?: string | null
423
423
  }
424
424
 
425
425
  export interface ErrorResponse {
@@ -579,7 +579,7 @@ export interface Paths {
579
579
  body?: undefined
580
580
  response: Response<Follow> | ErrorResponse
581
581
  },
582
- "/follow/work/{author_vanity}/{work_vanity}": {
582
+ "/follow/work/{author}/{vanity}": {
583
583
  method: "post"
584
584
  body?: undefined
585
585
  response: Response<Follow> | ErrorResponse
@@ -725,7 +725,7 @@ export interface Paths {
725
725
  response: void | ErrorResponse
726
726
  },
727
727
  "/comment/get": {
728
- method: "post"
728
+ method: "get"
729
729
  body: CommentBody
730
730
  response: Response<CommentWithAuthor> | ErrorResponse
731
731
  },
package/openapi.json CHANGED
@@ -2158,7 +2158,14 @@
2158
2158
  ]
2159
2159
  },
2160
2160
  "author": {
2161
- "type": "string"
2161
+ "anyOf": [
2162
+ {
2163
+ "type": "string"
2164
+ },
2165
+ {
2166
+ "type": "null"
2167
+ }
2168
+ ]
2162
2169
  }
2163
2170
  },
2164
2171
  "required": [
@@ -2168,8 +2175,7 @@
2168
2175
  "status",
2169
2176
  "chapter_count_public",
2170
2177
  "word_count",
2171
- "view_count",
2172
- "author"
2178
+ "view_count"
2173
2179
  ]
2174
2180
  },
2175
2181
  "ErrorResponse": {
@@ -3370,14 +3376,14 @@
3370
3376
  }
3371
3377
  }
3372
3378
  },
3373
- "/follow/work/{author_vanity}/{work_vanity}": {
3379
+ "/follow/work/{author}/{vanity}": {
3374
3380
  "parameters": [
3375
3381
  {
3376
- "name": "author_vanity",
3382
+ "name": "author",
3377
3383
  "in": "path"
3378
3384
  },
3379
3385
  {
3380
- "name": "work_vanity",
3386
+ "name": "vanity",
3381
3387
  "in": "path"
3382
3388
  }
3383
3389
  ],
@@ -4582,7 +4588,7 @@
4582
4588
  }
4583
4589
  },
4584
4590
  "/comment/get": {
4585
- "post": {
4591
+ "get": {
4586
4592
  "requestBody": {
4587
4593
  "content": {
4588
4594
  "application/json": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.209",
3
+ "version": "1.0.211",
4
4
  "types": "index.d.ts"
5
5
  }