mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-16 05:31:52 -04:00
chore: bump api spec
This commit is contained in:
@@ -6272,6 +6272,11 @@
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"original_url": {
|
||||
"description": "Original direct URL",
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"special": {
|
||||
"description": "Remote content",
|
||||
"allOf": [
|
||||
@@ -6367,6 +6372,38 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Video",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"height",
|
||||
"type",
|
||||
"url",
|
||||
"width"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Video"
|
||||
]
|
||||
},
|
||||
"url": {
|
||||
"description": "URL to the original video",
|
||||
"type": "string"
|
||||
},
|
||||
"width": {
|
||||
"description": "Width of the video",
|
||||
"type": "integer",
|
||||
"format": "int"
|
||||
},
|
||||
"height": {
|
||||
"description": "Height of the video",
|
||||
"type": "integer",
|
||||
"format": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Text Embed",
|
||||
"type": "object",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "revolt-api",
|
||||
"version": "0.5.3-5",
|
||||
"version": "0.5.3-5-patch.3",
|
||||
"description": "Revolt API Library",
|
||||
"main": "dist/index.js",
|
||||
"module": "esm/index.js",
|
||||
|
||||
@@ -1134,6 +1134,8 @@ export interface components {
|
||||
type: "Website";
|
||||
/** @description Direct URL to web page */
|
||||
url?: string | null;
|
||||
/** @description Original direct URL */
|
||||
original_url?: string | null;
|
||||
/** @description Remote content */
|
||||
special?: components["schemas"]["Special"] | null;
|
||||
/** @description Title of website */
|
||||
@@ -1169,6 +1171,22 @@ export interface components {
|
||||
/** @description Positioning and size */
|
||||
size: components["schemas"]["ImageSize"];
|
||||
}
|
||||
| {
|
||||
/** @enum {string} */
|
||||
type: "Video";
|
||||
/** @description URL to the original video */
|
||||
url: string;
|
||||
/**
|
||||
* Format: int
|
||||
* @description Width of the video
|
||||
*/
|
||||
width: number;
|
||||
/**
|
||||
* Format: int
|
||||
* @description Height of the video
|
||||
*/
|
||||
height: number;
|
||||
}
|
||||
| {
|
||||
/** @enum {string} */
|
||||
type: "Text";
|
||||
|
||||
Reference in New Issue
Block a user