refactor: update import paths for TemplateLayoutsWithSettings to use utils directory

This commit is contained in:
sudipnext 2026-02-21 13:29:26 +05:45
parent 7759936d44
commit 5ea12c3619
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ import { useOutlineStreaming } from "../hooks/useOutlineStreaming";
import { useOutlineManagement } from "../hooks/useOutlineManagement";
import { usePresentationGeneration } from "../hooks/usePresentationGeneration";
import TemplateSelection from "./TemplateSelection";
import { TemplateLayoutsWithSettings } from "@/app/presentation-templates";
import { TemplateLayoutsWithSettings } from "@/app/presentation-templates/utils";
const OutlinePage: React.FC = () => {
const { presentation_id, outlines } = useSelector(

View file

@ -1,7 +1,7 @@
"use client";
import React, { useEffect } from "react";
import { templates, TemplateLayoutsWithSettings } from "@/app/presentation-templates";
import { templates, TemplateLayoutsWithSettings } from "@/app/presentation-templates/utils";
import { Card } from "@/components/ui/card";
import { TemplateWithData } from "@/app/presentation-templates/utils";
import { CustomTemplates, useCustomTemplateSummaries } from "@/app/hooks/useCustomTemplates";

View file

@ -6,7 +6,7 @@ import { clearPresentationData } from "@/store/slices/presentationGeneration";
import { PresentationGenerationApi } from "../../services/api/presentation-generation";
import { Template, LoadingState, TABS } from "../types/index";
import { MixpanelEvent, trackEvent } from "@/utils/mixpanel";
import { TemplateLayoutsWithSettings } from "@/app/presentation-templates";
import { TemplateLayoutsWithSettings } from "@/app/presentation-templates/utils";
import { getCustomTemplateDetails } from "@/app/hooks/useCustomTemplates";
const DEFAULT_LOADING_STATE: LoadingState = {

View file

@ -5,7 +5,7 @@ import { Card } from "@/components/ui/card";
import { ExternalLink, Loader2, Plus } from "lucide-react";
import { templates } from "@/app/presentation-templates";
import type { TemplateLayoutsWithSettings } from "@/app/presentation-templates";
import type { TemplateLayoutsWithSettings } from "@/app/presentation-templates/utils";
import { TemplateWithData } from "@/app/presentation-templates/utils";
import {
useCustomTemplateSummaries,