Scratch space for learning atproto app development
1export type DatabaseSchema = {
2 did_cache: DidCache
3 status: Status
4 auth_session: AuthSession
5 auth_state: AuthState
6}
7
8export type DidCache = {
9 did: string
10 doc: string
11 updatedAt: string
12}
13
14export type Status = {
15 authorDid: string
16 status: string
17 updatedAt: string
18 indexedAt: string
19}
20
21export type AuthSession = {
22 key: string
23 session: AuthSessionJson
24}
25
26export type AuthState = {
27 key: string
28 state: AuthStateJson
29}
30
31type AuthStateJson = string
32
33type AuthSessionJson = string