forked from discord/embedded-app-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
43 lines (42 loc) · 1.16 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import {DiscordSDK} from './Discord';
import type {IDiscordSDK} from './interface';
import type * as Types from './schema/types';
import {CommandTypes, CommandResponseTypes, CommandResponse, CommandInputTypes, CommandInput} from './commands';
import {Events} from './schema/events';
import * as Common from './schema/common';
import * as Responses from './schema/responses';
import {Orientation, Permissions, Platform, RPCCloseCodes, RPCErrorCodes} from './Constants';
import PermissionUtils from './utils/PermissionUtils';
import PriceUtils from './utils/PriceUtils';
import {DiscordSDKMock} from './mock';
import {ISDKError} from './error';
import {patchUrlMappings, attemptRemap} from './utils/patchUrlMappings';
export type {EventPayloadData} from './schema/events';
const {Commands} = Common;
export {
DiscordSDK,
DiscordSDKMock,
Events,
Orientation,
Platform,
Common,
Commands,
Permissions,
PermissionUtils,
PriceUtils,
RPCCloseCodes,
RPCErrorCodes,
Responses,
patchUrlMappings,
attemptRemap,
};
export type {
IDiscordSDK,
CommandTypes,
CommandInput,
CommandInputTypes,
CommandResponse,
CommandResponseTypes,
ISDKError,
Types,
};