Comment out unused schema for now

This commit is contained in:
Eric Bailey
2023-11-06 11:11:09 -06:00
parent af9aafca16
commit 2570fb82fa
+52 -52
View File
@@ -1,4 +1,4 @@
import {LabelPreference} from '@atproto/api' // import {LabelPreference} from '@atproto/api'
/** /**
* The shape of the object we store in local storage * The shape of the object we store in local storage
@@ -7,57 +7,57 @@ export type Schema = {
shell: { shell: {
colorMode: 'system' | 'light' | 'dark' colorMode: 'system' | 'light' | 'dark'
} }
session: { // session: {
data: { // data: {
service: string // service: string
did: `did:plc:${string}` // did: `did:plc:${string}`
} // }
accounts: { // accounts: {
service: string // service: string
did: `did:plc:${string}` // did: `did:plc:${string}`
refreshJwt: string // refreshJwt: string
accessJwt: string // accessJwt: string
handle: string // handle: string
email: string // email: string
displayName: string // displayName: string
aviUrl: string // aviUrl: string
emailConfirmed: boolean // emailConfirmed: boolean
}[] // }[]
} // }
me: { // me: {
did: `did:plc:${string}` // did: `did:plc:${string}`
handle: string // handle: string
displayName: string // displayName: string
description: string // description: string
avatar: string // avatar: string
} // }
onboarding: { // onboarding: {
step: string // step: string
} // }
preferences: { // preferences: {
primaryLanguage: string // primaryLanguage: string
contentLanguages: string[] // contentLanguages: string[]
postLanguage: string // postLanguage: string
postLanguageHistory: string[] // postLanguageHistory: string[]
contentLabels: { // contentLabels: {
nsfw: LabelPreference // nsfw: LabelPreference
nudity: LabelPreference // nudity: LabelPreference
suggestive: LabelPreference // suggestive: LabelPreference
gore: LabelPreference // gore: LabelPreference
hate: LabelPreference // hate: LabelPreference
spam: LabelPreference // spam: LabelPreference
impersonation: LabelPreference // impersonation: LabelPreference
} // }
savedFeeds: string[] // savedFeeds: string[]
pinnedFeeds: string[] // pinnedFeeds: string[]
requireAltTextEnabled: boolean // requireAltTextEnabled: boolean
} // }
invitedUsers: { // invitedUsers: {
seenDids: string[] // seenDids: string[]
copiedInvites: string[] // copiedInvites: string[]
} // }
mutedThreads: {uris: string[]} // mutedThreads: {uris: string[]}
reminders: {lastEmailConfirm: string} // reminders: {lastEmailConfirm: string}
} }
/** /**