This repository has no description
1/**
2 * Shared user lists for feature flags and analytics
3 */
4
5export const INTERNAL_HANDLES = [
6 'wesleyfinck.org',
7 'ronentk.me',
8 'pouriade.com',
9 'cosmik.network',
10 'semble.so',
11 'jasmine-pyz.bsky.social',
12 'cosmiktesting.bsky.social',
13 'sembot.bsky.social',
14 'alice.bsky.social',
15 'bob.bsky.social',
16];
17
18export const EARLY_TESTER_HANDLES = [
19 // Add early tester handles here
20 // Currently using same as internal for testing
21 ...INTERNAL_HANDLES,
22 'bmann.ca',
23 'tynanpurdy.com',
24 'erlend.sh',
25 'tgoerke.bsky.social',
26 'psingletary.com',
27 'hilarybaumann.com',
28 'atproto.science',
29 'chrisshank.com',
30];
31
32/**
33 * Check if a handle is an internal user
34 */
35export function isInternalUser(handle?: string): boolean {
36 return handle ? INTERNAL_HANDLES.includes(handle) : false;
37}
38
39/**
40 * Check if a handle is an early tester
41 */
42export function isEarlyTester(handle?: string): boolean {
43 return handle ? EARLY_TESTER_HANDLES.includes(handle) : false;
44}