2018-03-17 18:59:35 +00:00
|
|
|
export const STATUSES_STORE = 'statuses-v4'
|
|
|
|
export const STATUS_TIMELINES_STORE = 'status_timelines-v4'
|
|
|
|
export const META_STORE = 'meta-v4'
|
|
|
|
export const ACCOUNTS_STORE = 'accounts-v4'
|
|
|
|
export const RELATIONSHIPS_STORE = 'relationships-v4'
|
|
|
|
export const NOTIFICATIONS_STORE = 'notifications-v4'
|
|
|
|
export const NOTIFICATION_TIMELINES_STORE = 'notification_timelines-v4'
|
|
|
|
export const PINNED_STATUSES_STORE = 'pinned_statuses-v4'
|
|
|
|
export const THREADS_STORE = 'threads-v4'
|
2018-02-14 03:34:37 +00:00
|
|
|
|
|
|
|
export const TIMESTAMP = '__pinafore_ts'
|
|
|
|
export const ACCOUNT_ID = '__pinafore_acct_id'
|
|
|
|
export const STATUS_ID = '__pinafore_status_id'
|
2018-02-27 06:22:56 +00:00
|
|
|
export const REBLOG_ID = '__pinafore_reblog_id'
|
2018-03-25 01:04:54 +00:00
|
|
|
export const USERNAME_LOWERCASE = '__pinafore_acct_lc'
|
2019-03-04 01:21:22 +00:00
|
|
|
|
|
|
|
export const DB_VERSION_INITIAL = 9
|
|
|
|
export const DB_VERSION_SEARCH_ACCOUNTS = 10
|
2019-03-06 04:25:10 +00:00
|
|
|
export const DB_VERSION_SNOWFLAKE_IDS = 12 // 11 skipped because of mistake deployed to dev.pinafore.social
|
2019-03-04 02:34:10 +00:00
|
|
|
|
|
|
|
// Using an object for these so that unit tests can change them
|
2019-03-06 04:25:10 +00:00
|
|
|
export const DB_VERSION_CURRENT = { version: 12 }
|
2019-03-04 02:34:10 +00:00
|
|
|
export const CURRENT_TIME = { now: () => Date.now() }
|