-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb.ts
More file actions
20 lines (17 loc) · 654 Bytes
/
db.ts
File metadata and controls
20 lines (17 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** Supabase Storage bucket names */
const supabaseStorageBucketPosts = 'posts' as const
const supabaseStorageBucketAvatars = 'avatars' as const
/** Supabase Postgres table names used by the app */
const supabaseTablePosts = 'posts' as const
const supabaseTablePostMedia = 'post_media' as const
const supabaseTableProfiles = 'profiles' as const
/** `cacheControl` value for Storage uploads to the posts bucket */
const supabaseStorageCacheControlPosts = '3600' as const
export {
supabaseStorageBucketAvatars,
supabaseStorageBucketPosts,
supabaseStorageCacheControlPosts,
supabaseTablePostMedia,
supabaseTablePosts,
supabaseTableProfiles
}