api.fluff4.me 1.0.259 → 1.0.261

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 +18 -0
  2. package/openapi.json +88 -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 {
@@ -749,6 +757,11 @@ export interface Paths {
749
757
  body?: undefined
750
758
  response: Response<CommentWithAuthor> | ErrorResponse
751
759
  },
760
+ "/comment/{comment_id}/react/{type}": {
761
+ method: "post"
762
+ body?: undefined
763
+ response: void | ErrorResponse
764
+ },
752
765
  "/comments/{under}": {
753
766
  method: "get"
754
767
  body?: undefined
@@ -814,6 +827,11 @@ export interface Paths {
814
827
  body?: undefined
815
828
  response: Response<ManifestFormInputLengths> | ErrorResponse
816
829
  },
830
+ "/manifest/reactions": {
831
+ method: "get"
832
+ body?: undefined
833
+ response: Response<ManifestReactionTypes> | ErrorResponse
834
+ },
817
835
  "/notifications/get/unread": {
818
836
  method: "get"
819
837
  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": {
@@ -4884,6 +4906,35 @@
4884
4906
  }
4885
4907
  }
4886
4908
  },
4909
+ "/comment/{comment_id}/react/{type}": {
4910
+ "parameters": [
4911
+ {
4912
+ "name": "comment_id",
4913
+ "in": "path"
4914
+ },
4915
+ {
4916
+ "name": "type",
4917
+ "in": "path"
4918
+ }
4919
+ ],
4920
+ "post": {
4921
+ "responses": {
4922
+ "200": {
4923
+ "description": "200 response"
4924
+ },
4925
+ "default": {
4926
+ "description": "Error",
4927
+ "content": {
4928
+ "application/json": {
4929
+ "schema": {
4930
+ "$ref": "#/components/schemas/ErrorResponse"
4931
+ }
4932
+ }
4933
+ }
4934
+ }
4935
+ }
4936
+ }
4937
+ },
4887
4938
  "/comments/{under}": {
4888
4939
  "parameters": [
4889
4940
  {
@@ -5443,6 +5494,43 @@
5443
5494
  }
5444
5495
  }
5445
5496
  },
5497
+ "/manifest/reactions": {
5498
+ "get": {
5499
+ "responses": {
5500
+ "200": {
5501
+ "description": "200 response",
5502
+ "content": {
5503
+ "application/json": {
5504
+ "schema": {
5505
+ "type": "object",
5506
+ "properties": {
5507
+ "data": {
5508
+ "$ref": "#/components/schemas/ManifestReactionTypes"
5509
+ }
5510
+ },
5511
+ "required": [
5512
+ "data"
5513
+ ]
5514
+ }
5515
+ }
5516
+ }
5517
+ },
5518
+ "304": {
5519
+ "description": "304 response"
5520
+ },
5521
+ "default": {
5522
+ "description": "Error",
5523
+ "content": {
5524
+ "application/json": {
5525
+ "schema": {
5526
+ "$ref": "#/components/schemas/ErrorResponse"
5527
+ }
5528
+ }
5529
+ }
5530
+ }
5531
+ }
5532
+ }
5533
+ },
5446
5534
  "/notifications/get/unread": {
5447
5535
  "parameters": [
5448
5536
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.259",
3
+ "version": "1.0.261",
4
4
  "types": "index.d.ts"
5
5
  }