about summary refs log tree commit diff
path: root/src/state/queries/index.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-10 08:46:45 -0600
committerEric Bailey <git@esb.lol>2023-11-10 08:46:45 -0600
commitb0c9cce5c3ea9246fbc2f71ac64c10c5252ec9a4 (patch)
tree510b14357ceff341a79c8947b9ea9b7e1fe4464d /src/state/queries/index.ts
parent742f53d1ecfc5060b7e6fc0cea0f8729d2e9b1b5 (diff)
downloadvoidsky-b0c9cce5c3ea9246fbc2f71ac64c10c5252ec9a4.tar.zst
Follow conventions for query, use isDirty flag in session store to avoid unneccessary writes
Diffstat (limited to 'src/state/queries/index.ts')
-rw-r--r--src/state/queries/index.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/state/queries/index.ts b/src/state/queries/index.ts
new file mode 100644
index 000000000..ae3d1595c
--- /dev/null
+++ b/src/state/queries/index.ts
@@ -0,0 +1,5 @@
+import {BskyAgent} from '@atproto/api'
+
+export const PUBLIC_BSKY_AGENT = new BskyAgent({
+  service: 'https://api.bsky.app',
+})