mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-10 06:48:04 -05:00
Update imports
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { Button } from "$lib/components/ui/button";
|
||||
import { Textarea } from "$lib/components/ui/textarea";
|
||||
import { sendMessage, messageStore } from '$lib/store/chat';
|
||||
import { systemPrompt } from '$lib/types/chat/patterns';
|
||||
import { systemPrompt } from '$lib/store/pattern-store';
|
||||
import { getToastStore } from '@skeletonlabs/skeleton';
|
||||
import { FileButton } from '@skeletonlabs/skeleton';
|
||||
import { Paperclip, Send } from 'lucide-svelte';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
import { RotateCcw, Trash2, Save, Copy, File as FileIcon } from 'lucide-svelte';
|
||||
import { sessions, sessionAPI } from '$lib/store/sessions';
|
||||
import { sessions, sessionAPI } from '$lib/store/session-store';
|
||||
import { chatState, clearMessages, revertLastMessage, currentSession, messageStore } from '$lib/store/chat';
|
||||
import { Button } from '$lib/components/ui/button';
|
||||
import { toastService } from '$lib/services/toast-service';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { cn } from "$lib/types/utils";
|
||||
import { cn } from "$lib/utils/utils";
|
||||
import { buttonVariants } from "./index.js";
|
||||
|
||||
let className = undefined;
|
||||
@@ -23,4 +23,4 @@
|
||||
{...$$restProps}
|
||||
>
|
||||
<slot />
|
||||
</button>
|
||||
</button>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { cn } from "$lib/types/utils";
|
||||
import { cn } from "$lib/utils/utils";
|
||||
let className: string | undefined = undefined;
|
||||
export let value: string | undefined = undefined;
|
||||
export { className as class };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { Select as SelectPrimitive } from "bits-ui";
|
||||
import { cn } from "$lib/types/utils.ts";
|
||||
import { cn } from "$lib/utils/utils.ts";
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { Select as SelectPrimitive } from "bits-ui";
|
||||
import { cn } from "$lib/types/utils.ts";
|
||||
import { cn } from "$lib/utils/utils.ts";
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
</script>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { cn } from "$lib/types/utils";
|
||||
import { cn } from "$lib/utils/utils";
|
||||
|
||||
export let value: any = undefined;
|
||||
export let disabled = false;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import { cn } from "$lib/types/utils.ts";
|
||||
import { cn } from "$lib/utils/utils.ts";
|
||||
|
||||
let className = undefined;
|
||||
export let value = 0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { cn } from '$lib/types/utils';
|
||||
import { cn } from '$lib/utils/utils';
|
||||
import { Loader2 } from 'lucide-svelte';
|
||||
|
||||
let className: string | undefined = undefined;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { ChevronLeft, ChevronRight } from 'lucide-svelte';
|
||||
import { slide } from 'svelte/transition';
|
||||
import { cn } from '$lib/types/utils';
|
||||
import { cn } from '$lib/utils/utils';
|
||||
|
||||
export let tags: string[] = [];
|
||||
export let tagsPerPage = 5;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import { cn } from "$lib/types/utils";
|
||||
import { cn } from "$lib/utils/utils";
|
||||
let className = undefined;
|
||||
export let value = undefined;
|
||||
export { className as class };
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
import '../app.postcss';
|
||||
import { AppShell } from '@skeletonlabs/skeleton';
|
||||
import ToastContainer from '$lib/components/ui/toast/ToastContainer.svelte';
|
||||
import Footer from './Footer.svelte';
|
||||
import Header from './Header.svelte';
|
||||
import Footer from '$lib/components/home/Footer.svelte';
|
||||
import Header from '$lib/components/home/Header.svelte';
|
||||
import { initializeStores } from '@skeletonlabs/skeleton';
|
||||
import { page } from '$app/stores';
|
||||
import { fly } from 'svelte/transition';
|
||||
|
||||
@@ -15,7 +15,7 @@ const __dirname = dirname(__filename);
|
||||
const mdsvexOptions = {
|
||||
extensions: ['.md', '.svx'],
|
||||
layout: {
|
||||
_: join(__dirname, './src/lib/posts-layout/post.svelte')
|
||||
_: join(__dirname, './src/lib/layouts/post.svelte')
|
||||
},
|
||||
highlight: {
|
||||
theme: {
|
||||
@@ -56,4 +56,4 @@ const config = {
|
||||
]
|
||||
};
|
||||
|
||||
export default config;
|
||||
export default config;
|
||||
|
||||
Reference in New Issue
Block a user