api.fluff4.me 1.0.1041 → 1.0.1044

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
@@ -575,11 +575,11 @@ export interface CommentUpdateBody {
575
575
  }
576
576
 
577
577
  export interface AuthorCommentsList {
578
- comments: AuthorComments[]
578
+ comments: AuthorComment[]
579
579
  mentions: AuthorMetadata[]
580
580
  }
581
581
 
582
- export interface AuthorComments {
582
+ export interface AuthorComment {
583
583
  comment: Comment
584
584
  root_object: CommentRootComment | CommentRootWork | CommentRootChapter
585
585
  }
@@ -1232,6 +1232,12 @@ export interface Paths {
1232
1232
  search?: undefined
1233
1233
  response: void | ErrorResponse
1234
1234
  },
1235
+ "/v2/comment/{id}/react/{type}": {
1236
+ method: "post"
1237
+ body?: undefined
1238
+ search?: undefined
1239
+ response: void | ErrorResponse
1240
+ },
1235
1241
  "/work/create": {
1236
1242
  method: "post"
1237
1243
  body: WorkCreateBody
package/openapi.json CHANGED
@@ -3636,7 +3636,7 @@
3636
3636
  "comments": {
3637
3637
  "type": "array",
3638
3638
  "items": {
3639
- "$ref": "#/components/schema/AuthorComments"
3639
+ "$ref": "#/components/schema/AuthorComment"
3640
3640
  }
3641
3641
  },
3642
3642
  "mentions": {
@@ -3651,7 +3651,7 @@
3651
3651
  "mentions"
3652
3652
  ]
3653
3653
  },
3654
- "AuthorComments": {
3654
+ "AuthorComment": {
3655
3655
  "type": "object",
3656
3656
  "properties": {
3657
3657
  "comment": {
@@ -7098,6 +7098,35 @@
7098
7098
  }
7099
7099
  }
7100
7100
  },
7101
+ "/v2/comment/{id}/react/{type}": {
7102
+ "parameters": [
7103
+ {
7104
+ "name": "id",
7105
+ "in": "path"
7106
+ },
7107
+ {
7108
+ "name": "type",
7109
+ "in": "path"
7110
+ }
7111
+ ],
7112
+ "post": {
7113
+ "responses": {
7114
+ "200": {
7115
+ "description": "200 response"
7116
+ },
7117
+ "default": {
7118
+ "description": "Error",
7119
+ "content": {
7120
+ "application/json": {
7121
+ "schema": {
7122
+ "$ref": "#/components/schemas/ErrorResponse"
7123
+ }
7124
+ }
7125
+ }
7126
+ }
7127
+ }
7128
+ }
7129
+ },
7101
7130
  "/work/create": {
7102
7131
  "post": {
7103
7132
  "requestBody": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.1041",
3
+ "version": "1.0.1044",
4
4
  "types": "index.d.ts"
5
5
  }