mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-10 10:06:24 +01:00
19 lines
406 B
JavaScript
19 lines
406 B
JavaScript
import { proxy } from 'valtio';
|
|
import { proxyMap } from 'valtio/utils';
|
|
|
|
export default proxy({
|
|
history: [],
|
|
statuses: proxyMap([]),
|
|
home: [],
|
|
homeNew: [],
|
|
homeLastFetchTime: null,
|
|
notifications: [],
|
|
notificationsNew: [],
|
|
notificationsLastFetchTime: null,
|
|
accounts: new WeakMap(),
|
|
reloadStatusPage: 0,
|
|
// Modals
|
|
showCompose: false,
|
|
showSettings: false,
|
|
showAccount: false,
|
|
});
|