api.fluff4.me 1.0.280 → 1.0.283
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 +13 -0
- package/openapi.json +60 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -403,6 +403,14 @@ export interface ReactionType {
|
|
|
403
403
|
type: string
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
+
export interface ManifestNotificationTypes {
|
|
407
|
+
Report: NotificationType
|
|
408
|
+
Comment: NotificationType
|
|
409
|
+
Roles: NotificationType
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export interface NotificationType Record<string, never>
|
|
413
|
+
|
|
406
414
|
export type Notifications = Notification[]
|
|
407
415
|
|
|
408
416
|
export interface Notification {
|
|
@@ -838,6 +846,11 @@ export interface Paths {
|
|
|
838
846
|
body?: undefined
|
|
839
847
|
response: Response<ManifestReactionTypes> | ErrorResponse
|
|
840
848
|
},
|
|
849
|
+
"/manifest/notifications": {
|
|
850
|
+
method: "get"
|
|
851
|
+
body?: undefined
|
|
852
|
+
response: Response<ManifestNotificationTypes> | ErrorResponse
|
|
853
|
+
},
|
|
841
854
|
"/notifications/get/unread": {
|
|
842
855
|
method: "get"
|
|
843
856
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -2074,6 +2074,29 @@
|
|
|
2074
2074
|
"type"
|
|
2075
2075
|
]
|
|
2076
2076
|
},
|
|
2077
|
+
"ManifestNotificationTypes": {
|
|
2078
|
+
"type": "object",
|
|
2079
|
+
"properties": {
|
|
2080
|
+
"Report": {
|
|
2081
|
+
"$ref": "#/components/schema/NotificationType"
|
|
2082
|
+
},
|
|
2083
|
+
"Comment": {
|
|
2084
|
+
"$ref": "#/components/schema/NotificationType"
|
|
2085
|
+
},
|
|
2086
|
+
"Roles": {
|
|
2087
|
+
"$ref": "#/components/schema/NotificationType"
|
|
2088
|
+
}
|
|
2089
|
+
},
|
|
2090
|
+
"required": [
|
|
2091
|
+
"Report",
|
|
2092
|
+
"Comment",
|
|
2093
|
+
"Roles"
|
|
2094
|
+
]
|
|
2095
|
+
},
|
|
2096
|
+
"NotificationType": {
|
|
2097
|
+
"type": "object",
|
|
2098
|
+
"properties": {}
|
|
2099
|
+
},
|
|
2077
2100
|
"Notifications": {
|
|
2078
2101
|
"type": "array",
|
|
2079
2102
|
"items": {
|
|
@@ -5573,6 +5596,43 @@
|
|
|
5573
5596
|
}
|
|
5574
5597
|
}
|
|
5575
5598
|
},
|
|
5599
|
+
"/manifest/notifications": {
|
|
5600
|
+
"get": {
|
|
5601
|
+
"responses": {
|
|
5602
|
+
"200": {
|
|
5603
|
+
"description": "200 response",
|
|
5604
|
+
"content": {
|
|
5605
|
+
"application/json": {
|
|
5606
|
+
"schema": {
|
|
5607
|
+
"type": "object",
|
|
5608
|
+
"properties": {
|
|
5609
|
+
"data": {
|
|
5610
|
+
"$ref": "#/components/schemas/ManifestNotificationTypes"
|
|
5611
|
+
}
|
|
5612
|
+
},
|
|
5613
|
+
"required": [
|
|
5614
|
+
"data"
|
|
5615
|
+
]
|
|
5616
|
+
}
|
|
5617
|
+
}
|
|
5618
|
+
}
|
|
5619
|
+
},
|
|
5620
|
+
"304": {
|
|
5621
|
+
"description": "304 response"
|
|
5622
|
+
},
|
|
5623
|
+
"default": {
|
|
5624
|
+
"description": "Error",
|
|
5625
|
+
"content": {
|
|
5626
|
+
"application/json": {
|
|
5627
|
+
"schema": {
|
|
5628
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5629
|
+
}
|
|
5630
|
+
}
|
|
5631
|
+
}
|
|
5632
|
+
}
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
},
|
|
5576
5636
|
"/notifications/get/unread": {
|
|
5577
5637
|
"parameters": [
|
|
5578
5638
|
{
|
package/package.json
CHANGED