[READ-ONLY] a fast, modern browser for the npm registry
at main 17 lines 552 B view raw
1import type { NodeSavedSession, NodeSavedState } from '@atproto/oauth-client-node' 2 3export interface UserServerSession { 4 public?: 5 | { 6 did: string 7 handle: string 8 pds: string 9 avatar?: string 10 } 11 | undefined 12 // Only to be used in the atproto session and state stores 13 // Will need to change to Record<string, T> and add a current logged in user if we ever want to support 14 // multiple did logins per server session 15 oauthSession?: NodeSavedSession | undefined 16 oauthState?: NodeSavedState | undefined 17}