mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-18 16:14:27 -04:00
chore: update schema
This commit is contained in:
+4
-2
@@ -6056,6 +6056,7 @@
|
||||
"enum": [
|
||||
"Online",
|
||||
"Idle",
|
||||
"Focus",
|
||||
"Busy",
|
||||
"Invisible"
|
||||
]
|
||||
@@ -7726,10 +7727,11 @@
|
||||
"nullable": true
|
||||
},
|
||||
"colour": {
|
||||
"description": "Replace the display role colour shown on this message\n\nMust have `ManageRole` permission to use\n\nThis can be any valid CSS colour",
|
||||
"description": "Replace the display role colour shown on this message\n\nMust have `ManageRole` permission to use",
|
||||
"type": "string",
|
||||
"maxLength": 32,
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "(?i)^(?:[a-z ]+|var\\(--[a-z\\d-]+\\)|rgba?\\([\\d, ]+\\)|#[a-f0-9]+|(repeating-)?(linear|conic|radial)-gradient\\(([a-z ]+|var\\(--[a-z\\d-]+\\)|rgba?\\([\\d, ]+\\)|#[a-f0-9]+|\\d+deg)([ ]+(\\d{1,3}%|0))?(,[ ]*([a-z ]+|var\\(--[a-z\\d-]+\\)|rgba?\\([\\d, ]+\\)|#[a-f0-9]+)([ ]+(\\d{1,3}%|0))?)+\\))$",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "revolt-api",
|
||||
"version": "0.5.5-3",
|
||||
"version": "0.5.5-4",
|
||||
"description": "Revolt API Library",
|
||||
"main": "dist/index.js",
|
||||
"module": "esm/index.js",
|
||||
|
||||
+1
-3
@@ -819,7 +819,7 @@ export interface components {
|
||||
* @description Presence status
|
||||
* @enum {string}
|
||||
*/
|
||||
Presence: "Online" | "Idle" | "Busy" | "Invisible";
|
||||
Presence: "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
|
||||
/** @description User's profile */
|
||||
UserProfile: {
|
||||
/** @description Text content on user's profile */
|
||||
@@ -1424,8 +1424,6 @@ export interface components {
|
||||
* @description Replace the display role colour shown on this message
|
||||
*
|
||||
* Must have `ManageRole` permission to use
|
||||
*
|
||||
* This can be any valid CSS colour
|
||||
*/
|
||||
colour?: string | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user