revolt-api
Advanced tools
Comparing version 0.5.1-alpha.10 to 0.5.1-alpha.22
{ | ||
"name": "revolt-api", | ||
"version": "0.5.1-alpha.10", | ||
"version": "0.5.1-alpha.22", | ||
"description": "Revolt API typings", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -182,2 +182,13 @@ import { body, parameter, ref, success } from "../openapi/generators.js"; | ||
}); | ||
resource('/servers/:server/ack', { | ||
put: routeAuthenticated( | ||
"Mark Server As Read", | ||
"Mark all channels in a server as read.", | ||
{ | ||
...serverParams, | ||
...await success("Marked as read.") | ||
} | ||
), | ||
}); | ||
//#endregion | ||
@@ -184,0 +195,0 @@ |
@@ -40,3 +40,4 @@ import type { Attachment } from "./Autumn"; | ||
user_name: string | ||
user_avatar?: Attachment | ||
user_avatar?: Attachment, | ||
member_count: number | ||
} |
@@ -98,3 +98,3 @@ import type { Attachment } from './Autumn'; | ||
*/ | ||
relationship?: Relationship | ||
relationship?: RelationshipStatus | ||
@@ -101,0 +101,0 @@ /** |
Sorry, the diff of this file is too big to display
648649
30
18754