Skip to content

Commit 1afb901

Browse files
authored
😭 fixing builds (supermemoryai#767)
1 parent fca026d commit 1afb901

30 files changed

Lines changed: 129 additions & 50 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,5 +357,5 @@ Your app / AI tool
357357
---
358358

359359
<p align="center">
360-
<strong>Give your AI a memory. It's about time.</strong>
360+
<strong>Give your AI a memory. It's about time..</strong>
361361
</p>

apps/web/app/upgrade-mcp/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default function MigrateMCPPage() {
185185
className="bg-white/5 border-white/10 text-white placeholder:text-slate-500 focus:border-blue-500/50 focus:ring-blue-500/20 transition-all duration-200 pl-4 pr-4 py-3 rounded-xl"
186186
disabled={migrateMutation.isPending}
187187
id="mcpUrl"
188-
onChange={(e) => setMcpUrl(e.target.value)}
188+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setMcpUrl(e.target.value)}
189189
placeholder="https://mcp.supermemory.ai/userId/sse"
190190
type="url"
191191
value={mcpUrl}
@@ -205,7 +205,7 @@ export default function MigrateMCPPage() {
205205
className="bg-white/5 border-white/10 text-white placeholder:text-slate-500 focus:border-blue-500/50 focus:ring-blue-500/20 transition-all duration-200 pl-4 pr-4 py-3 rounded-xl"
206206
disabled={migrateMutation.isPending}
207207
id="projectId"
208-
onChange={(e) => setProjectId(e.target.value)}
208+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setProjectId(e.target.value)}
209209
placeholder="Project ID (default: 'default')"
210210
type="text"
211211
value={projectId}

apps/web/components/add-document/connections.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client"
22

33
import { $fetch } from "@lib/api"
4-
import { fetchConnectionsFeature } from "@repo/lib/queries"
4+
import { fetchConnectionsFeature } from "@lib/queries"
55
import type { ConnectionResponseSchema } from "@repo/validation/api"
66
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"
77
import { GoogleDrive, Notion, OneDrive } from "@ui/assets/icons"

apps/web/components/add-document/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function AddDocumentModal({
3737
const isMobile = useIsMobile()
3838

3939
return (
40-
<Dialog open={isOpen} onOpenChange={(open) => !open && onClose()}>
40+
<Dialog open={isOpen} onOpenChange={(open: boolean) => !open && onClose()}>
4141
<DialogContent
4242
className={cn(
4343
"border-none bg-[#1B1F24] flex flex-col p-3 md:p-4 gap-3",

apps/web/components/connect-ai-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { toast } from "sonner"
3131
import { z } from "zod/v4"
3232
import { analytics } from "@/lib/analytics"
3333
import { cn } from "@lib/utils"
34-
import type { Project } from "@repo/lib/types"
34+
import type { Project } from "@lib/types"
3535
import { motion, AnimatePresence } from "motion/react"
3636

3737
const clients = {

apps/web/components/integrations/connections-detail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import type { ConnectionResponseSchema } from "@repo/validation/api"
1414
import type { z } from "zod"
1515
import { analytics } from "@/lib/analytics"
1616
import { AddDocumentModal } from "@/components/add-document"
17-
import { DEFAULT_PROJECT_ID } from "@repo/lib/constants"
18-
import type { Project } from "@repo/lib/types"
17+
import { DEFAULT_PROJECT_ID } from "@lib/constants"
18+
import type { Project } from "@lib/types"
1919

2020
type Connection = z.infer<typeof ConnectionResponseSchema>
2121

apps/web/components/integrations/raycast-detail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { RaycastIcon } from "@/components/integration-icons"
66
import { authClient } from "@lib/auth"
77
import { useAuth } from "@lib/auth-context"
88
import { generateId } from "@lib/generate-id"
9-
import { RAYCAST_EXTENSION_URL } from "@repo/lib/constants"
9+
import { RAYCAST_EXTENSION_URL } from "@lib/constants"
1010
import {
1111
Dialog,
1212
DialogContent,
@@ -148,7 +148,7 @@ export function RaycastDetail() {
148148

149149
<Dialog
150150
open={showModal}
151-
onOpenChange={(open) => {
151+
onOpenChange={(open: boolean) => {
152152
setShowModal(open)
153153
if (!open) {
154154
setApiKey("")

apps/web/components/integrations/shortcuts-detail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { generateId } from "@lib/generate-id"
99
import {
1010
ADD_MEMORY_SHORTCUT_URL,
1111
SEARCH_MEMORY_SHORTCUT_URL,
12-
} from "@repo/lib/constants"
12+
} from "@lib/constants"
1313
import {
1414
Dialog,
1515
DialogContent,
@@ -180,7 +180,7 @@ export function ShortcutsDetail() {
180180

181181
<Dialog
182182
open={showApiKeyModal}
183-
onOpenChange={(open) => {
183+
onOpenChange={(open: boolean) => {
184184
setShowApiKeyModal(open)
185185
if (!open) {
186186
setSelectedShortcutType(null)

apps/web/components/memories-grid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client"
22

33
import { useAuth } from "@lib/auth-context"
4-
import { $fetch } from "@repo/lib/api"
4+
import { $fetch } from "@lib/api"
55
import type { DocumentsWithMemoriesResponseSchema } from "@repo/validation/api"
66
import { useInfiniteQuery, useQuery } from "@tanstack/react-query"
77
import { useCallback, memo, useMemo, useState, useRef, useEffect } from "react"

apps/web/components/memory-graph/hooks/use-graph-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { useQuery, useQueryClient } from "@tanstack/react-query"
44
import { useCallback, useMemo, useState, useRef, useEffect } from "react"
5-
import { $fetch } from "@repo/lib/api"
5+
import { $fetch } from "@lib/api"
66
import type {
77
GraphViewportResponse,
88
GraphBoundsResponse,

0 commit comments

Comments
 (0)