diff options
Diffstat (limited to 'src/temp/dm/leaveChat.ts')
-rw-r--r-- | src/temp/dm/leaveChat.ts | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/temp/dm/leaveChat.ts b/src/temp/dm/leaveChat.ts deleted file mode 100644 index e116f2775..000000000 --- a/src/temp/dm/leaveChat.ts +++ /dev/null @@ -1,30 +0,0 @@ -import {Headers, XRPCError} from '@atproto/xrpc' - -export interface QueryParams {} - -export interface InputSchema { - chatId: string - [k: string]: unknown -} - -export interface OutputSchema { - [k: string]: unknown -} - -export interface CallOptions { - headers?: Headers - qp?: QueryParams - encoding: 'application/json' -} - -export interface Response { - success: boolean - headers: Headers - data: OutputSchema -} - -export function toKnownErr(e: any) { - if (e instanceof XRPCError) { - } - return e -} |