about summary refs log tree commit diff
path: root/src/temp/dm/listChats.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp/dm/listChats.ts')
-rw-r--r--src/temp/dm/listChats.ts32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/temp/dm/listChats.ts b/src/temp/dm/listChats.ts
deleted file mode 100644
index 0f9cb0c6a..000000000
--- a/src/temp/dm/listChats.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import {Headers, XRPCError} from '@atproto/xrpc'
-
-import * as TempDmDefs from './defs'
-
-export interface QueryParams {
-  limit?: number
-  cursor?: string
-}
-
-export type InputSchema = undefined
-
-export interface OutputSchema {
-  cursor?: string
-  chats: TempDmDefs.ChatView[]
-  [k: string]: unknown
-}
-
-export interface CallOptions {
-  headers?: Headers
-}
-
-export interface Response {
-  success: boolean
-  headers: Headers
-  data: OutputSchema
-}
-
-export function toKnownErr(e: any) {
-  if (e instanceof XRPCError) {
-  }
-  return e
-}