api.fluff4.me 1.0.260 → 1.0.262

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.
Files changed (3) hide show
  1. package/index.d.ts +23 -0
  2. package/openapi.json +125 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -399,6 +399,14 @@ export interface ManifestFormInputLengths {
399
399
  }
400
400
  }
401
401
 
402
+ export interface ManifestReactionTypes {
403
+ love: ReactionType
404
+ }
405
+
406
+ export interface ReactionType {
407
+ type: string
408
+ }
409
+
402
410
  export type Notifications = Notification[]
403
411
 
404
412
  export interface Notification {
@@ -574,6 +582,11 @@ export interface Paths {
574
582
  body: ChapterReorderBody
575
583
  response: void | ErrorResponse
576
584
  },
585
+ "/work/{author}/{vanity}/chapter/{url}/react/{type}": {
586
+ method: "post"
587
+ body?: undefined
588
+ response: void | ErrorResponse
589
+ },
577
590
  "/work/{author}/{vanity}/chapters/list": {
578
591
  method: "get"
579
592
  body?: undefined
@@ -749,6 +762,11 @@ export interface Paths {
749
762
  body?: undefined
750
763
  response: Response<CommentWithAuthor> | ErrorResponse
751
764
  },
765
+ "/comment/{comment_id}/react/{type}": {
766
+ method: "post"
767
+ body?: undefined
768
+ response: void | ErrorResponse
769
+ },
752
770
  "/comments/{under}": {
753
771
  method: "get"
754
772
  body?: undefined
@@ -814,6 +832,11 @@ export interface Paths {
814
832
  body?: undefined
815
833
  response: Response<ManifestFormInputLengths> | ErrorResponse
816
834
  },
835
+ "/manifest/reactions": {
836
+ method: "get"
837
+ body?: undefined
838
+ response: Response<ManifestReactionTypes> | ErrorResponse
839
+ },
817
840
  "/notifications/get/unread": {
818
841
  method: "get"
819
842
  body?: undefined
package/openapi.json CHANGED
@@ -2068,6 +2068,28 @@
2068
2068
  "work_tags"
2069
2069
  ]
2070
2070
  },
2071
+ "ManifestReactionTypes": {
2072
+ "type": "object",
2073
+ "properties": {
2074
+ "love": {
2075
+ "$ref": "#/components/schema/ReactionType"
2076
+ }
2077
+ },
2078
+ "required": [
2079
+ "love"
2080
+ ]
2081
+ },
2082
+ "ReactionType": {
2083
+ "type": "object",
2084
+ "properties": {
2085
+ "type": {
2086
+ "type": "string"
2087
+ }
2088
+ },
2089
+ "required": [
2090
+ "type"
2091
+ ]
2092
+ },
2071
2093
  "Notifications": {
2072
2094
  "type": "array",
2073
2095
  "items": {
@@ -3210,6 +3232,43 @@
3210
3232
  }
3211
3233
  }
3212
3234
  },
3235
+ "/work/{author}/{vanity}/chapter/{url}/react/{type}": {
3236
+ "parameters": [
3237
+ {
3238
+ "name": "author",
3239
+ "in": "path"
3240
+ },
3241
+ {
3242
+ "name": "vanity",
3243
+ "in": "path"
3244
+ },
3245
+ {
3246
+ "name": "url",
3247
+ "in": "path"
3248
+ },
3249
+ {
3250
+ "name": "type",
3251
+ "in": "path"
3252
+ }
3253
+ ],
3254
+ "post": {
3255
+ "responses": {
3256
+ "200": {
3257
+ "description": "200 response"
3258
+ },
3259
+ "default": {
3260
+ "description": "Error",
3261
+ "content": {
3262
+ "application/json": {
3263
+ "schema": {
3264
+ "$ref": "#/components/schemas/ErrorResponse"
3265
+ }
3266
+ }
3267
+ }
3268
+ }
3269
+ }
3270
+ }
3271
+ },
3213
3272
  "/work/{author}/{vanity}/chapters/list": {
3214
3273
  "parameters": [
3215
3274
  {
@@ -4884,6 +4943,35 @@
4884
4943
  }
4885
4944
  }
4886
4945
  },
4946
+ "/comment/{comment_id}/react/{type}": {
4947
+ "parameters": [
4948
+ {
4949
+ "name": "comment_id",
4950
+ "in": "path"
4951
+ },
4952
+ {
4953
+ "name": "type",
4954
+ "in": "path"
4955
+ }
4956
+ ],
4957
+ "post": {
4958
+ "responses": {
4959
+ "200": {
4960
+ "description": "200 response"
4961
+ },
4962
+ "default": {
4963
+ "description": "Error",
4964
+ "content": {
4965
+ "application/json": {
4966
+ "schema": {
4967
+ "$ref": "#/components/schemas/ErrorResponse"
4968
+ }
4969
+ }
4970
+ }
4971
+ }
4972
+ }
4973
+ }
4974
+ },
4887
4975
  "/comments/{under}": {
4888
4976
  "parameters": [
4889
4977
  {
@@ -5443,6 +5531,43 @@
5443
5531
  }
5444
5532
  }
5445
5533
  },
5534
+ "/manifest/reactions": {
5535
+ "get": {
5536
+ "responses": {
5537
+ "200": {
5538
+ "description": "200 response",
5539
+ "content": {
5540
+ "application/json": {
5541
+ "schema": {
5542
+ "type": "object",
5543
+ "properties": {
5544
+ "data": {
5545
+ "$ref": "#/components/schemas/ManifestReactionTypes"
5546
+ }
5547
+ },
5548
+ "required": [
5549
+ "data"
5550
+ ]
5551
+ }
5552
+ }
5553
+ }
5554
+ },
5555
+ "304": {
5556
+ "description": "304 response"
5557
+ },
5558
+ "default": {
5559
+ "description": "Error",
5560
+ "content": {
5561
+ "application/json": {
5562
+ "schema": {
5563
+ "$ref": "#/components/schemas/ErrorResponse"
5564
+ }
5565
+ }
5566
+ }
5567
+ }
5568
+ }
5569
+ }
5570
+ },
5446
5571
  "/notifications/get/unread": {
5447
5572
  "parameters": [
5448
5573
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.260",
3
+ "version": "1.0.262",
4
4
  "types": "index.d.ts"
5
5
  }