pl-fe: Remove more barrel exports
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@@ -7,7 +7,7 @@ import { useAppSelector } from 'pl-fe/hooks/useAppSelector';
|
||||
import { useClient } from 'pl-fe/hooks/useClient';
|
||||
import { useFeatures } from 'pl-fe/hooks/useFeatures';
|
||||
import { useLoggedIn } from 'pl-fe/hooks/useLoggedIn';
|
||||
import { type Account, normalizeAccount } from 'pl-fe/normalizers';
|
||||
import { type Account, normalizeAccount } from 'pl-fe/normalizers/account';
|
||||
|
||||
import { useAccountScrobble } from './useAccountScrobble';
|
||||
import { useRelationship } from './useRelationship';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useInfiniteQuery } from '@tanstack/react-query';
|
||||
|
||||
import { Entities } from 'pl-fe/entity-store/entities';
|
||||
import { useClient } from 'pl-fe/hooks/useClient';
|
||||
import { type Account, normalizeAccount } from 'pl-fe/normalizers';
|
||||
import { type Account, normalizeAccount } from 'pl-fe/normalizers/account';
|
||||
import { flattenPages } from 'pl-fe/utils/queries';
|
||||
|
||||
import { useRelationships } from './useRelationships';
|
||||
|
||||
@@ -6,7 +6,7 @@ import { useEntityLookup } from 'pl-fe/entity-store/hooks/useEntityLookup';
|
||||
import { useClient } from 'pl-fe/hooks/useClient';
|
||||
import { useFeatures } from 'pl-fe/hooks/useFeatures';
|
||||
import { useLoggedIn } from 'pl-fe/hooks/useLoggedIn';
|
||||
import { type Account, normalizeAccount } from 'pl-fe/normalizers';
|
||||
import { type Account, normalizeAccount } from 'pl-fe/normalizers/account';
|
||||
|
||||
import { useAccountScrobble } from './useAccountScrobble';
|
||||
import { useRelationship } from './useRelationship';
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
import * as v from 'valibot';
|
||||
|
||||
import { useClient } from 'pl-fe/hooks/useClient';
|
||||
import { normalizeAnnouncement, AdminAnnouncement } from 'pl-fe/normalizers';
|
||||
import { normalizeAnnouncement, AdminAnnouncement } from 'pl-fe/normalizers/announcement';
|
||||
import { queryClient } from 'pl-fe/queries/client';
|
||||
|
||||
import { useAnnouncements as useUserAnnouncements } from '../announcements/useAnnouncements';
|
||||
|
||||
@@ -3,7 +3,7 @@ import { announcementReactionSchema, type AnnouncementReaction } from 'pl-api';
|
||||
import * as v from 'valibot';
|
||||
|
||||
import { useClient } from 'pl-fe/hooks/useClient';
|
||||
import { type Announcement, normalizeAnnouncement } from 'pl-fe/normalizers';
|
||||
import { type Announcement, normalizeAnnouncement } from 'pl-fe/normalizers/announcement';
|
||||
import { queryClient } from 'pl-fe/queries/client';
|
||||
|
||||
const updateReaction = (reaction: AnnouncementReaction, count: number, me?: boolean, overwrite?: boolean) => v.parse(announcementReactionSchema, {
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Entities } from 'pl-fe/entity-store/entities';
|
||||
import { useDismissEntity } from 'pl-fe/entity-store/hooks/useDismissEntity';
|
||||
import { useEntities } from 'pl-fe/entity-store/hooks/useEntities';
|
||||
import { useClient } from 'pl-fe/hooks/useClient';
|
||||
import { normalizeAccount } from 'pl-fe/normalizers';
|
||||
import { normalizeAccount } from 'pl-fe/normalizers/account';
|
||||
|
||||
import { useGroupRelationship } from './useGroupRelationship';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user