api.fluff4.me 1.0.281 → 1.0.284
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 +15 -0
- package/openapi.json +67 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -403,6 +403,16 @@ 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 {
|
|
413
|
+
type: string
|
|
414
|
+
}
|
|
415
|
+
|
|
406
416
|
export type Notifications = Notification[]
|
|
407
417
|
|
|
408
418
|
export interface Notification {
|
|
@@ -838,6 +848,11 @@ export interface Paths {
|
|
|
838
848
|
body?: undefined
|
|
839
849
|
response: Response<ManifestReactionTypes> | ErrorResponse
|
|
840
850
|
},
|
|
851
|
+
"/manifest/notifications": {
|
|
852
|
+
method: "get"
|
|
853
|
+
body?: undefined
|
|
854
|
+
response: Response<ManifestNotificationTypes> | ErrorResponse
|
|
855
|
+
},
|
|
841
856
|
"/notifications/get/unread": {
|
|
842
857
|
method: "get"
|
|
843
858
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -2074,6 +2074,36 @@
|
|
|
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
|
+
"type": {
|
|
2100
|
+
"type": "string"
|
|
2101
|
+
}
|
|
2102
|
+
},
|
|
2103
|
+
"required": [
|
|
2104
|
+
"type"
|
|
2105
|
+
]
|
|
2106
|
+
},
|
|
2077
2107
|
"Notifications": {
|
|
2078
2108
|
"type": "array",
|
|
2079
2109
|
"items": {
|
|
@@ -5573,6 +5603,43 @@
|
|
|
5573
5603
|
}
|
|
5574
5604
|
}
|
|
5575
5605
|
},
|
|
5606
|
+
"/manifest/notifications": {
|
|
5607
|
+
"get": {
|
|
5608
|
+
"responses": {
|
|
5609
|
+
"200": {
|
|
5610
|
+
"description": "200 response",
|
|
5611
|
+
"content": {
|
|
5612
|
+
"application/json": {
|
|
5613
|
+
"schema": {
|
|
5614
|
+
"type": "object",
|
|
5615
|
+
"properties": {
|
|
5616
|
+
"data": {
|
|
5617
|
+
"$ref": "#/components/schemas/ManifestNotificationTypes"
|
|
5618
|
+
}
|
|
5619
|
+
},
|
|
5620
|
+
"required": [
|
|
5621
|
+
"data"
|
|
5622
|
+
]
|
|
5623
|
+
}
|
|
5624
|
+
}
|
|
5625
|
+
}
|
|
5626
|
+
},
|
|
5627
|
+
"304": {
|
|
5628
|
+
"description": "304 response"
|
|
5629
|
+
},
|
|
5630
|
+
"default": {
|
|
5631
|
+
"description": "Error",
|
|
5632
|
+
"content": {
|
|
5633
|
+
"application/json": {
|
|
5634
|
+
"schema": {
|
|
5635
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5636
|
+
}
|
|
5637
|
+
}
|
|
5638
|
+
}
|
|
5639
|
+
}
|
|
5640
|
+
}
|
|
5641
|
+
}
|
|
5642
|
+
},
|
|
5576
5643
|
"/notifications/get/unread": {
|
|
5577
5644
|
"parameters": [
|
|
5578
5645
|
{
|
package/package.json
CHANGED