Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add example account store (#7641)

* Add example account store

* Format

authored by

Eric Bailey and committed by
GitHub
25991af7 d0ff6dcb

+12 -1
+8 -1
src/storage/index.ts
··· 1 1 import {MMKV} from 'react-native-mmkv' 2 + import {Did} from '@atproto/api' 2 3 3 - import {Device} from '#/storage/schema' 4 + import {Account, Device} from '#/storage/schema' 4 5 5 6 export * from '#/storage/schema' 6 7 ··· 73 74 */ 74 75 export const device = new Storage<[], Device>({id: 'bsky_device'}) 75 76 77 + /** 78 + * Account data that's specific to the account on this device 79 + */ 80 + export const account = new Storage<[Did], Account>({id: 'bsky_account'}) 81 + 76 82 if (__DEV__ && typeof window !== 'undefined') { 77 83 // @ts-ignore 78 84 window.bsky_storage = { 79 85 device, 86 + account, 80 87 } 81 88 }
+4
src/storage/schema.ts
··· 10 10 } 11 11 trendingBetaEnabled: boolean 12 12 } 13 + 14 + export type Account = { 15 + searchTermHistory?: string[] 16 + }