mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-21 20:45:23 -04:00
Update object for autumn
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "revolt.js",
|
||||
"version": "4.1.1-alpha.5-patch.0",
|
||||
"version": "4.1.1-alpha.6",
|
||||
"main": "dist/index.js",
|
||||
"repository": "https://gitlab.insrt.uk/revolt/revolt.js",
|
||||
"author": "Paul Makles <insrt.uk>",
|
||||
|
||||
+4
-1
@@ -99,6 +99,7 @@ export namespace Channels {
|
||||
|
||||
export type Metadata = (
|
||||
{ type: 'File' } |
|
||||
{ type: 'Text' } |
|
||||
{ type: 'Audio' } |
|
||||
{ type: 'Image', width: number, height: number } |
|
||||
{ type: 'Video', width: number, height: number }
|
||||
@@ -106,9 +107,11 @@ export namespace Channels {
|
||||
|
||||
export type Attachment = {
|
||||
_id: string,
|
||||
tag: string,
|
||||
size: string,
|
||||
filename: string,
|
||||
metadata: Metadata,
|
||||
content_type: string
|
||||
content_type: string,
|
||||
};
|
||||
|
||||
export type Message = {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
export * from './Client';
|
||||
export { Channel, User, Message } from './api/objects';
|
||||
|
||||
export const LIBRARY_VERSION = '4.1.1-alpha.5-patch.0';
|
||||
export const LIBRARY_VERSION = '4.1.1-alpha.6';
|
||||
|
||||
export const defaultConfig = {
|
||||
apiURL: 'https://api.revolt.chat',
|
||||
|
||||
Reference in New Issue
Block a user