Skip to content

Commit 2680071

Browse files
committed
fix server isolation imports
1 parent 272b090 commit 2680071

22 files changed

+203
-100
lines changed

src/components/DocFeedbackContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react'
2-
import type { DocFeedback } from '~/db/schema'
2+
import type { DocFeedback } from '~/db/types'
33

44
interface DocFeedbackContextValue {
55
// User feedback for the current page

src/components/DocFeedbackNote.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
updateDocFeedback,
77
updateDocFeedbackCollapsed,
88
} from '~/utils/docFeedback.functions'
9-
import type { DocFeedback } from '~/db/schema'
9+
import type { DocFeedback } from '~/db/types'
1010
import {
1111
ChevronDown,
1212
ChevronUp,

src/components/DocFeedbackProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
findReferenceableBlocks,
1212
getBlockIdentifier,
1313
} from '~/utils/docFeedback.client'
14-
import type { DocFeedback } from '~/db/schema'
14+
import type { DocFeedback } from '~/db/types'
1515
import { Lightbulb, MessageSquare } from 'lucide-react'
1616

1717
interface DocFeedbackProviderProps {

src/components/FeedbackModerationFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
FilterCheckbox,
77
FilterBar,
88
} from '~/components/FilterComponents'
9-
import type { DocFeedbackStatus } from '~/db/schema'
9+
import type { DocFeedbackStatus } from '~/db/types'
1010

1111
interface FeedbackModerationFiltersProps {
1212
filters: {

src/components/FeedbackModerationList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
} from './TableComponents'
1313
import { PaginationControls } from './PaginationControls'
1414
import { Spinner } from './Spinner'
15-
import type { DocFeedback } from '~/db/schema'
15+
import type { DocFeedback } from '~/db/types'
1616
import { calculatePoints } from '~/utils/docFeedback.client'
1717
import { Check, Lightbulb, TriangleAlert } from 'lucide-react'
1818
import { MessageSquare, X } from 'lucide-react'

src/components/MyShowcases.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { deleteShowcase } from '~/utils/showcase.functions'
66
import { libraries } from '~/libraries'
77
import { useToast } from './ToastProvider'
88
import { Plus, Trash2, ExternalLink, Clock, Check, X } from 'lucide-react'
9-
import type { Showcase } from '~/db/schema'
9+
import type { Showcase } from '~/db/types'
1010
import { Button } from './Button'
1111

1212
const libraryMap = new Map(libraries.map((lib) => [lib.id, lib]))

src/components/NotesModerationList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from './TableComponents'
1212
import { PaginationControls } from './PaginationControls'
1313
import { Spinner } from './Spinner'
14-
import type { DocFeedback } from '~/db/schema'
14+
import type { DocFeedback } from '~/db/types'
1515
import { calculatePoints } from '~/utils/docFeedback.client'
1616
import { ExternalLink, TriangleAlert } from 'lucide-react'
1717

src/components/ShowcaseCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Link } from '@tanstack/react-router'
22
import { twMerge } from 'tailwind-merge'
33
import { ExternalLink } from 'lucide-react'
44
import { libraries } from '~/libraries'
5-
import type { Showcase } from '~/db/schema'
5+
import type { Showcase } from '~/db/types'
66

77
interface ShowcaseCardProps {
88
showcase: Showcase

src/components/ShowcaseGallery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ShowcaseCard, ShowcaseCardSkeleton } from './ShowcaseCard'
66
import { SubmitShowcasePlaceholder } from './ShowcaseSection'
77
import { PaginationControls } from './PaginationControls'
88
import { libraries } from '~/libraries'
9-
import { SHOWCASE_USE_CASES, type ShowcaseUseCase } from '~/db/schema'
9+
import { SHOWCASE_USE_CASES, type ShowcaseUseCase } from '~/db/types'
1010
import { Plus } from 'lucide-react'
1111
import { USE_CASE_LABELS } from '~/utils/showcase.client'
1212
import { Button } from './Button'

src/components/ShowcaseModerationFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
FilterCheckbox,
77
FilterBar,
88
} from '~/components/FilterComponents'
9-
import type { ShowcaseStatus } from '~/db/schema'
9+
import type { ShowcaseStatus } from '~/db/types'
1010

1111
interface ShowcaseModerationFiltersProps {
1212
filters: {

0 commit comments

Comments
 (0)