Added gateway files
This commit is contained in:
parent
bffec63180
commit
83efa2c6e8
3 changed files with 2274 additions and 0 deletions
8
gateway/common.ts
Normal file
8
gateway/common.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway#connecting-gateway-url-query-string-params
|
||||
*/
|
||||
export interface GatewayURLQuery {
|
||||
v: string;
|
||||
encoding: 'json' | 'etf';
|
||||
compress?: 'zlib-stream';
|
||||
}
|
4
gateway/index.ts
Normal file
4
gateway/index.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
// This file exports all the types available in the recommended gateway version
|
||||
// Thereby, things MAY break in the future. Try sticking to imports from a specific version
|
||||
|
||||
export * from './v9';
|
2262
gateway/v9.ts
Normal file
2262
gateway/v9.ts
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue