diff --git a/backend/api/src/compatible-profiles.ts b/backend/api/src/compatible-profiles.ts index e9a33306..c8180fb5 100644 --- a/backend/api/src/compatible-profiles.ts +++ b/backend/api/src/compatible-profiles.ts @@ -5,7 +5,7 @@ import { getProfile, getCompatibilityAnswers, getGenderCompatibleProfiles, -} from 'shared/love/supabase' +} from 'shared/profiles/supabase' import { log } from 'shared/utils' export const getCompatibleProfilesHandler: APIHandler< diff --git a/backend/api/src/create-profile.ts b/backend/api/src/create-profile.ts index 8a5bf04b..85af175e 100644 --- a/backend/api/src/create-profile.ts +++ b/backend/api/src/create-profile.ts @@ -2,7 +2,7 @@ import { APIError, APIHandler } from 'api/helpers/endpoint' import { createSupabaseDirectClient } from 'shared/supabase/init' import { log, getUser } from 'shared/utils' import { HOUR_MS } from 'common/util/time' -import { removePinnedUrlFromPhotoUrls } from 'shared/love/parse-photos' +import { removePinnedUrlFromPhotoUrls } from 'shared/profiles/parse-photos' import { track } from 'shared/analytics' import { updateUser } from 'shared/supabase/users' import { tryCatch } from 'common/util/try-catch' diff --git a/backend/api/src/get-profiles.ts b/backend/api/src/get-profiles.ts index cbfc4e68..1e0a31c1 100644 --- a/backend/api/src/get-profiles.ts +++ b/backend/api/src/get-profiles.ts @@ -1,5 +1,5 @@ import {type APIHandler} from 'api/helpers/endpoint' -import {convertRow} from 'shared/love/supabase' +import {convertRow} from 'shared/profiles/supabase' import {createSupabaseDirectClient} from 'shared/supabase/init' import {from, join, leftJoin, limit, orderBy, renderSql, select, where,} from 'shared/supabase/sql-builder' import {getCompatibleProfiles} from 'api/compatible-profiles' diff --git a/backend/api/src/update-profile.ts b/backend/api/src/update-profile.ts index 5b20fcec..079df02e 100644 --- a/backend/api/src/update-profile.ts +++ b/backend/api/src/update-profile.ts @@ -1,5 +1,5 @@ import { APIError, APIHandler } from 'api/helpers/endpoint' -import { removePinnedUrlFromPhotoUrls } from 'shared/love/parse-photos' +import { removePinnedUrlFromPhotoUrls } from 'shared/profiles/parse-photos' import { createSupabaseDirectClient } from 'shared/supabase/init' import { updateUser } from 'shared/supabase/users' import { log } from 'shared/utils' diff --git a/backend/email/emails/functions/helpers.tsx b/backend/email/emails/functions/helpers.tsx index 6aef6c15..0d027107 100644 --- a/backend/email/emails/functions/helpers.tsx +++ b/backend/email/emails/functions/helpers.tsx @@ -4,7 +4,7 @@ import {sendEmail} from './send-email' import {NewMessageEmail} from '../new-message' import {NewEndorsementEmail} from '../new-endorsement' import {Test} from '../test' -import {getProfile} from 'shared/love/supabase' +import {getProfile} from 'shared/profiles/supabase' import { render } from "@react-email/render" import {MatchesType} from "common/profiles/bookmarked_searches"; import NewSearchAlertsEmail from "email/new-search_alerts"; diff --git a/backend/shared/src/create-love-notification.ts b/backend/shared/src/create-love-notification.ts index 97c906b1..67df0ac7 100644 --- a/backend/shared/src/create-love-notification.ts +++ b/backend/shared/src/create-love-notification.ts @@ -4,7 +4,7 @@ import { createSupabaseDirectClient } from './supabase/init' import { getNotificationDestinationsForUser } from 'common/user-notification-preferences' import { Notification } from 'common/notifications' import { insertNotificationToSupabase } from './supabase/notifications' -import { getProfile } from './love/supabase' +import { getProfile } from 'shared/profiles/supabase' export const createProfileLikeNotification = async (like: Row<'profile_likes'>) => { const { creator_id, target_id, like_id } = like diff --git a/backend/shared/src/love/parse-photos.ts b/backend/shared/src/profiles/parse-photos.ts similarity index 100% rename from backend/shared/src/love/parse-photos.ts rename to backend/shared/src/profiles/parse-photos.ts diff --git a/backend/shared/src/love/supabase.ts b/backend/shared/src/profiles/supabase.ts similarity index 100% rename from backend/shared/src/love/supabase.ts rename to backend/shared/src/profiles/supabase.ts