about summary refs log tree commit diff
path: root/src/state/queries/index.ts
blob: affebb9070a0df7b49d53c1efe7e3c1258f60edb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import {BskyAgent} from '@atproto/api'

export const PUBLIC_BSKY_AGENT = new BskyAgent({
  service: 'https://api.bsky.app',
})

export const STALE = {
  MINUTES: {
    ONE: 1e3 * 60,
    FIVE: 1e3 * 60 * 5,
  },
  HOURS: {
    ONE: 1e3 * 60 * 60,
  },
  INFINITY: Infinity,
}