Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

revert ts fixes (#509)

Ameer Al Ashhab207d47b73cb3
diff --git a/apps/web/actions/organization/check-domain.ts b/apps/web/actions/organization/check-domain.ts
index bf7aa423e..345a501a3 100644
--- a/apps/web/actions/organization/check-domain.ts
+++ b/apps/web/actions/organization/check-domain.ts
@@ -1,4 +1,4 @@
-"use server";
+'use server';
import { getCurrentUser } from "@cap/database/auth/session";
import { organizations } from "@cap/database/schema";
diff --git a/apps/web/app/dashboard/shared-caps/SharedCaps.tsx b/apps/web/app/dashboard/shared-caps/SharedCaps.tsx
index f188d0dbb..db005ec11 100644
--- a/apps/web/app/dashboard/shared-caps/SharedCaps.tsx
+++ b/apps/web/app/dashboard/shared-caps/SharedCaps.tsx
@@ -22,9 +22,11 @@ type SharedVideoData = {
export const SharedCaps = ({
data,
count,
+ activeOrganizationId,
}: {
data: SharedVideoData;
count: number;
+ activeOrganizationId: string;
}) => {
const params = useSearchParams();
const page = Number(params.get("page")) || 1;
diff --git a/apps/web/app/s/[videoId]/_components/ShareHeader.tsx b/apps/web/app/s/[videoId]/_components/ShareHeader.tsx
index 9a385b7fc..a052f6f4c 100644
--- a/apps/web/app/s/[videoId]/_components/ShareHeader.tsx
+++ b/apps/web/app/s/[videoId]/_components/ShareHeader.tsx
@@ -25,9 +25,9 @@ export const ShareHeader = ({
userOrganizations = [],
}: {
data: typeof videos.$inferSelect;
- user?: typeof userSelectProps | null;
- customDomain?: string | null;
- domainVerified?: boolean;
+ user: typeof userSelectProps | null;
+ customDomain: string | null;
+ domainVerified: boolean;
sharedOrganizations?: { id: string; name: string }[];
userOrganizations?: { id: string; name: string }[];
}) => {
@@ -40,7 +40,7 @@ export const ShareHeader = ({
const [currentSharedOrganizations, setCurrentSharedOrganizations] =
useState(sharedOrganizations);
- const isOwner = user?.id?.toString() === data.ownerId;
+ const isOwner = user !== null && user.id.toString() === data.ownerId;
const { webUrl } = usePublicEnv();
@@ -157,8 +157,12 @@ export const ShareHeader = ({
<h1
className="text-xl sm:text-2xl"
onClick={() => {
- if (user?.id.toString() === data.ownerId)
+ if (
+ user !== null &&
+ user.id.toString() === data.ownerId
+ ) {
setIsEditing(true);
+ }
}}
>
{title}
diff --git a/apps/web/app/tools/convert/[conversionPath]/page.tsx b/apps/web/app/tools/convert/[conversionPath]/page.tsx
index 0e734258f..a2d651692 100644
--- a/apps/web/app/tools/convert/[conversionPath]/page.tsx
+++ b/apps/web/app/tools/convert/[conversionPath]/page.tsx
@@ -69,7 +69,7 @@ export default function ConversionPage({ params }: ConversionPageProps) {
const { sourceFormat, targetFormat } = parseFormats(conversionPath);
const config = CONVERSION_CONFIGS[conversionPath];
- const pageContent = {
+ const pageContent: ToolPageContent = {
title: config.title(sourceFormat, targetFormat),
description: config.description(sourceFormat, targetFormat),
featuresTitle: "Features",
diff --git a/apps/web/app/tools/trim/metadata.ts b/apps/web/app/tools/trim/metadata.ts
index e87651c01..af372ecd0 100644
--- a/apps/web/app/tools/trim/metadata.ts
+++ b/apps/web/app/tools/trim/metadata.ts
@@ -4,10 +4,10 @@ import { trimVideoContent } from "@/components/tools/content";
export const metadata: Metadata = {
title: trimVideoContent.title,
description: trimVideoContent.description,
- keywords: trimVideoContent.tags?.join(", "),
+ keywords: trimVideoContent.tags.join(", "),
openGraph: {
title: trimVideoContent.title,
description: trimVideoContent.description,
type: "website",
},
-};
+};
\ No newline at end of file
diff --git a/apps/web/components/tools/content.ts b/apps/web/components/tools/content.ts
index 4dc0e789b..ff5efea08 100644
--- a/apps/web/components/tools/content.ts
+++ b/apps/web/components/tools/content.ts
@@ -1,9 +1,13 @@
import { ToolPageContent } from "@/components/tools/types";
export const webmToMp4Content: ToolPageContent = {
+ slug: "webm-to-mp4",
title: "WEBM to MP4 Converter",
description:
"Convert WEBM to MP4 online for free. No watermark, no registration required.",
+ publishedAt: "2023-11-19",
+ category: "Tool",
+ author: "Cap",
tags: ["webm to mp4", "video converter", "free", "online"],
cta: {
@@ -74,9 +78,13 @@ export const webmToMp4Content: ToolPageContent = {
};
export const mp4ToWebmContent: ToolPageContent = {
+ slug: "mp4-to-webm",
title: "MP4 to WEBM Converter",
description:
"Convert MP4 to WEBM online for free. No watermark, no registration required.",
+ publishedAt: "2023-11-19",
+ category: "Tool",
+ author: "Cap",
tags: ["mp4 to webm", "video converter", "free", "online"],
cta: {
@@ -147,16 +155,14 @@ export const mp4ToWebmContent: ToolPageContent = {
};
export const videoSpeedControllerContent: ToolPageContent = {
+ slug: "video-speed-controller",
title: "Video Speed Controller",
description:
"Speed up or slow down videos online for free. No watermark, no quality loss.",
- tags: [
- "video speed control",
- "speed up video",
- "slow motion",
- "free",
- "online",
- ],
+ publishedAt: "2023-11-20",
+ category: "Tool",
+ author: "Cap",
+ tags: ["video speed control", "speed up video", "slow motion", "free", "online"],
cta: {
title: "Need advanced screen recording with effects?",
@@ -226,36 +232,35 @@ export const videoSpeedControllerContent: ToolPageContent = {
};
export const trimVideoContent: ToolPageContent = {
+ slug: "trim-video-online",
title: "Trim Video Online",
description:
"Cut unwanted sections from MP4, WebM, MOV and more. Instantly in your browser with zero quality loss.",
+ publishedAt: "2023-11-21",
+ category: "Tools",
+ author: "Cap",
tags: ["Video Trimming", "Online Tools", "Browser", "Free"],
cta: {
title: "The open source Loom alternative",
- description:
- "Cap is lightweight, powerful, and cross-platform. Record and share securely in seconds with custom S3 bucket support..",
+ description: "Cap is lightweight, powerful, and cross-platform. Record and share securely in seconds with custom S3 bucket support..",
buttonText: "Download Cap Free",
},
featuresTitle: "Why Use Cap's Online Video Trimmer?",
- featuresDescription:
- "Our local-first trimmer does one thing stupid-fast: cut video. No sign-ups, no waiting.",
+ featuresDescription: "Our local-first trimmer does one thing stupid-fast: cut video. No sign-ups, no waiting.",
features: [
{
title: "Instant & Private",
- description:
- "All processing happens on-device. Nothing ever touches our servers.",
+ description: "All processing happens on-device. Nothing ever touches our servers.",
},
{
title: "Lossless Export",
- description:
- "We snip at keyframes, so quality stays identical to the original.",
+ description: "We snip at keyframes, so quality stays identical to the original.",
},
{
title: "Any Format",
- description:
- "MP4, WebM, MOV, MKV, GIF. If your browser plays it, we can trim it.",
+ description: "MP4, WebM, MOV, MKV, GIF. If your browser plays it, we can trim it.",
},
{
title: "No Watermarks",
@@ -263,16 +268,14 @@ export const trimVideoContent: ToolPageContent = {
},
{
title: "Works Offline",
- description:
- "Once the page loads you can trim even without internet. Perfect on planes.",
+ description: "Once the page loads you can trim even without internet. Perfect on planes.",
},
],
faqs: [
{
question: "What's the maximum file size?",
- answer:
- "Browser memory is the only limit. Works fine up to ~500MB in Chrome.",
+ answer: "Browser memory is the only limit. Works fine up to ~500MB in Chrome.",
},
{
question: "Can I trim Zoom or Loom recordings?",
@@ -280,13 +283,11 @@ export const trimVideoContent: ToolPageContent = {
},
{
question: "How does the online trimmer work?",
- answer:
- "Our trimmer uses the MediaRecorder API to capture the portion of video you selected, then saves it as a new file. This all happens locally in your browser.",
+ answer: "Our trimmer uses the MediaRecorder API to capture the portion of video you selected, then saves it as a new file. This all happens locally in your browser.",
},
{
question: "Which browsers work best?",
- answer:
- "Chrome, Edge, and Firefox provide the best performance and compatibility. Safari has some limitations with video processing in the browser.",
+ answer: "Chrome, Edge, and Firefox provide the best performance and compatibility. Safari has some limitations with video processing in the browser.",
},
],
-};
+};
\ No newline at end of file
diff --git a/apps/web/components/tools/types.ts b/apps/web/components/tools/types.ts
index 7b075511d..a834b9143 100644
--- a/apps/web/components/tools/types.ts
+++ b/apps/web/components/tools/types.ts
@@ -1,7 +1,11 @@
export interface ToolPageContent {
+ slug: string;
title: string;
description: string;
- tags?: string[];
+ publishedAt: string;
+ category: string;
+ author: string;
+ tags: string[];
cta: {
title: string;
diff --git a/apps/web/package.json b/apps/web/package.json
index 2a59950f8..93ead0f08 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -67,8 +67,8 @@
"lodash": "^4.17.21",
"lucide-react": "^0.294.0",
"moment": "^2.30.1",
- "next": "^14.2.28",
- "next-auth": "^4.24.11",
+ "next": "14.2.3",
+ "next-auth": "^4.24.5",
"next-contentlayer2": "^0.5.3",
"next-mdx-remote": "^4.4.1",
"nextjs-cors": "^2.2.0",
@@ -90,7 +90,7 @@
"tailwind-merge": "^2.1.0",
"uuid": "^9.0.1",
"video.js": "^8.17.3",
- "zod": "^3.24.3"
+ "zod": "^3.24.2"
},
"devDependencies": {
"@types/file-saver": "^2.0.7",
@@ -110,4 +110,4 @@
"engines": {
"node": "20"
}
-}
+}
\ No newline at end of file
diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json
index 6905a6d68..95571bbc7 100644
--- a/apps/web/tsconfig.json
+++ b/apps/web/tsconfig.json
@@ -2,7 +2,11 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
- "lib": ["DOM", "DOM.Iterable", "ESNext"],
+ "lib": [
+ "DOM",
+ "DOM.Iterable",
+ "ESNext"
+ ],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
@@ -17,21 +21,40 @@
"noEmit": true,
"jsx": "preserve",
"incremental": true,
- "plugins": [{ "name": "next" }],
+ "plugins": [
+ {
+ "name": "next"
+ }
+ ],
"baseUrl": ".",
"paths": {
- "@/app/*": ["app/*"],
- "@/components/*": ["components/*"],
- "@/pages/*": ["components/pages/*"],
- "@/utils/*": ["utils/*"],
- "@/lib/*": ["lib/*"],
- "@/actions/*": ["actions/*"]
+ "@/app/*": [
+ "app/*"
+ ],
+ "@/components/*": [
+ "components/*"
+ ],
+ "@/pages/*": [
+ "components/pages/*"
+ ],
+ "@/utils/*": [
+ "utils/*"
+ ],
+ "@/lib/*": [
+ "lib/*"
+ ],
+ "@/actions/*": [
+ "actions/*"
+ ]
}
},
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
- "exclude": ["node_modules"],
- "references": [
- { "path": "../../packages/database" },
- { "path": "../../packages/web-api-contract" }
+ "include": [
+ "next-env.d.ts",
+ "**/*.ts",
+ "**/*.tsx",
+ ".next/types/**/*.ts"
+ ],
+ "exclude": [
+ "node_modules"
]
}
diff --git a/apps/web/tsconfig.node.json b/apps/web/tsconfig.node.json
new file mode 100644
index 000000000..42872c59f
--- /dev/null
+++ b/apps/web/tsconfig.node.json
@@ -0,0 +1,10 @@
+{
+ "compilerOptions": {
+ "composite": true,
+ "skipLibCheck": true,
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "allowSyntheticDefaultImports": true
+ },
+ "include": ["vite.config.ts"]
+}
diff --git a/apps/web/types/index.d.ts b/apps/web/types/index.d.ts
deleted file mode 100644
index 910ac2329..000000000
--- a/apps/web/types/index.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="@cap/database/types/next-auth.d.ts" />
diff --git a/apps/web/utils/blog.ts b/apps/web/utils/blog.ts
index 91c0191df..cfbfafad7 100644
--- a/apps/web/utils/blog.ts
+++ b/apps/web/utils/blog.ts
@@ -21,7 +21,7 @@ export type DocMetadata = {
};
export interface BlogPost {
- metadata: PostMetadata;
+ metadata: PostMetadata | DocMetadata;
slug: string;
content: string;
isManual?: boolean;
@@ -49,8 +49,8 @@ export const manualBlogPosts: ManualBlogPost[] = [
publishedAt: recordScreenMacContent.publishedAt,
author: recordScreenMacContent.author,
tags: recordScreenMacContent.tags,
- },
- },
+ }
+ }
];
function parseFrontmatter(fileContent: string) {
@@ -63,7 +63,7 @@ function parseFrontmatter(fileContent: string) {
let frontMatterBlock = match[1];
let content = fileContent.replace(frontmatterRegex, "").trim();
let frontMatterLines = frontMatterBlock.trim().split("\n");
- let metadata: Record<string, any> = {};
+ let metadata: Partial<PostMetadata | DocMetadata> = {};
frontMatterLines.forEach((line) => {
let [key, ...valueArr] = line.split(": ");
@@ -71,11 +71,11 @@ function parseFrontmatter(fileContent: string) {
let value = valueArr.join(": ").trim();
value = value.replace(/^['"](.*)['"]$/, "$1"); // Remove quotes
- metadata[key.trim()] = value;
+ metadata[key.trim() as keyof (PostMetadata | DocMetadata)] = value;
});
return {
- metadata: metadata as any,
+ metadata: metadata as PostMetadata | DocMetadata,
content,
};
}
@@ -128,7 +128,7 @@ function getMDXData(dir: string): BlogPost[] {
metadata,
slug,
content,
- isManual: false,
+ isManual: false
};
});
}
@@ -144,11 +144,11 @@ export function getManualBlogPosts(): BlogPost[] {
publishedAt: content.publishedAt,
summary: content.description,
description: content.description,
- tags: content.tags?.join(", ") || "",
- image: content.image,
+ tags: content.tags?.join(', ') || '',
+ image: content.image
},
- content: "",
- isManual: true,
+ content: '',
+ isManual: true
} as BlogPost;
});
} catch (error) {
@@ -160,7 +160,7 @@ export function getManualBlogPosts(): BlogPost[] {
export function getBlogPosts(): BlogPost[] {
const mdxPosts = getMDXData(path.join(process.cwd(), "content/blog"));
const manualPosts = getManualBlogPosts();
-
+
return [...mdxPosts, ...manualPosts];
}
diff --git a/apps/web/utils/changelog.ts b/apps/web/utils/changelog.ts
index 96ff6a09e..8012a4e43 100644
--- a/apps/web/utils/changelog.ts
+++ b/apps/web/utils/changelog.ts
@@ -14,14 +14,13 @@ function parseFrontmatter(fileContent: string) {
let match = frontmatterRegex.exec(fileContent);
let frontMatterBlock = match![1];
let content = fileContent.replace(frontmatterRegex, "").trim();
- let frontMatterLines = frontMatterBlock?.trim().split("\n") ?? [];
+ let frontMatterLines = frontMatterBlock.trim().split("\n");
let metadata: Partial<ChangelogMetadata> = {};
frontMatterLines.forEach((line) => {
let [key, ...valueArr] = line.split(": ");
let value = valueArr.join(": ").trim();
value = value.replace(/^['"](.*)['"]$/, "$1"); // Remove quotes
- if (!key) return;
metadata[key.trim() as keyof ChangelogMetadata] = value;
});
diff --git a/apps/web/utils/web-api.ts b/apps/web/utils/web-api.ts
index aa0334a1e..d3650b1c9 100644
--- a/apps/web/utils/web-api.ts
+++ b/apps/web/utils/web-api.ts
@@ -1,6 +1,6 @@
import { initClient } from "@ts-rest/core";
import { contract } from "@cap/web-api-contract";
-import { useState } from "react";
+import { useContext, useState } from "react";
import { usePublicEnv } from "./public-env";
diff --git a/packages/config/base.tsconfig.json b/packages/config/base.tsconfig.json
index d54f48c47..1b1236d7f 100644
--- a/packages/config/base.tsconfig.json
+++ b/packages/config/base.tsconfig.json
@@ -1,21 +1,23 @@
{
"compilerOptions": {
- "composite": true,
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"skipLibCheck": true,
"esModuleInterop": true,
+
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
+ "noEmit": true,
"jsx": "react-jsx",
+
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
- "declaration": true,
- "emitDeclarationOnly": true
- }
+ "declaration": true
+ },
+ "references": [{ "path": "./tsconfig.node.json" }]
}
diff --git a/packages/database/src/auth/auth-options.ts b/packages/database/auth/auth-options.ts
similarity index 98%
rename from packages/database/src/auth/auth-options.ts
rename to packages/database/auth/auth-options.ts
index 5b6c28c70..3ed529711 100644
--- a/packages/database/src/auth/auth-options.ts
+++ b/packages/database/auth/auth-options.ts
@@ -100,23 +100,23 @@ export const authOptions = (): NextAuthOptions => {
},
},
events: {
- async signIn({ user, isNewUser }) {
+ async signIn({ user, account, isNewUser }) {
if (isNewUser) {
const organizationId = nanoId();
-
+
await db().insert(organizations).values({
id: organizationId,
name: "My Organization",
ownerId: user.id,
});
-
+
await db().insert(organizationMembers).values({
id: nanoId(),
userId: user.id,
organizationId: organizationId,
role: "owner",
});
-
+
await db()
.update(users)
.set({ activeOrganizationId: organizationId })
@@ -160,5 +160,5 @@ export const authOptions = (): NextAuthOptions => {
};
},
},
- };
+ }
};
diff --git a/packages/database/src/auth/drizzle-adapter.ts b/packages/database/auth/drizzle-adapter.ts
similarity index 100%
rename from packages/database/src/auth/drizzle-adapter.ts
rename to packages/database/auth/drizzle-adapter.ts
diff --git a/packages/database/src/auth/session.ts b/packages/database/auth/session.ts
similarity index 100%
rename from packages/database/src/auth/session.ts
rename to packages/database/auth/session.ts
diff --git a/packages/database/src/crypto.ts b/packages/database/crypto.ts
similarity index 100%
rename from packages/database/src/crypto.ts
rename to packages/database/crypto.ts
diff --git a/packages/database/src/emails/components/Footer.tsx b/packages/database/emails/components/Footer.tsx
similarity index 100%
rename from packages/database/src/emails/components/Footer.tsx
rename to packages/database/emails/components/Footer.tsx
diff --git a/packages/database/src/emails/config.ts b/packages/database/emails/config.ts
similarity index 100%
rename from packages/database/src/emails/config.ts
rename to packages/database/emails/config.ts
diff --git a/packages/database/src/emails/first-shareable-link.tsx b/packages/database/emails/first-shareable-link.tsx
similarity index 100%
rename from packages/database/src/emails/first-shareable-link.tsx
rename to packages/database/emails/first-shareable-link.tsx
diff --git a/packages/database/src/emails/login-link.tsx b/packages/database/emails/login-link.tsx
similarity index 100%
rename from packages/database/src/emails/login-link.tsx
rename to packages/database/emails/login-link.tsx
diff --git a/packages/database/src/emails/new-comment.tsx b/packages/database/emails/new-comment.tsx
similarity index 100%
rename from packages/database/src/emails/new-comment.tsx
rename to packages/database/emails/new-comment.tsx
diff --git a/packages/database/src/emails/organization-invite.tsx b/packages/database/emails/organization-invite.tsx
similarity index 100%
rename from packages/database/src/emails/organization-invite.tsx
rename to packages/database/emails/organization-invite.tsx
diff --git a/packages/database/src/helpers.ts b/packages/database/helpers.ts
similarity index 100%
rename from packages/database/src/helpers.ts
rename to packages/database/helpers.ts
diff --git a/packages/database/src/index.ts b/packages/database/index.ts
similarity index 100%
rename from packages/database/src/index.ts
rename to packages/database/index.ts
diff --git a/packages/database/package.json b/packages/database/package.json
index d5e2f1e46..17770104e 100644
--- a/packages/database/package.json
+++ b/packages/database/package.json
@@ -1,14 +1,8 @@
{
"name": "@cap/database",
"private": true,
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*.ts",
- "./types": "./src/types/index.ts",
- "./types/*": "./src/types/*",
- "./emails/*": "./src/emails/*.tsx",
- "./emails/config": "./src/emails/config.ts"
- },
+ "types": "./index.ts",
+ "main": "index.js",
"scripts": {
"db:generate": "drizzle-kit generate --config=drizzle.config.ts",
"db:push": "drizzle-kit push --config=drizzle.config.ts",
@@ -26,8 +20,8 @@
"@react-email/render": "0.0.11",
"drizzle-orm": "0.43.1",
"nanoid": "^5.0.4",
- "next": "^14.2.28",
- "next-auth": "^4.24.11",
+ "next": "14.2.9",
+ "next-auth": "^4.24.5",
"react-email": "^1.10.1",
"resend": "4.1.2"
},
diff --git a/packages/database/src/schema.ts b/packages/database/schema.ts
similarity index 100%
rename from packages/database/src/schema.ts
rename to packages/database/schema.ts
diff --git a/packages/database/tsconfig.json b/packages/database/tsconfig.json
index 3b9c4aeda..0c2367d79 100644
--- a/packages/database/tsconfig.json
+++ b/packages/database/tsconfig.json
@@ -1,14 +1,12 @@
{
"extends": "../config/base.tsconfig.json",
"exclude": ["node_modules"],
- "include": ["src/**/*.ts*", "src/**/*.d.ts"],
+ "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"compilerOptions": {
"baseUrl": ".",
"moduleResolution": "bundler",
"paths": {
"@/emails/*": ["./emails/*"]
- },
- "outDir": "dist",
- "rootDir": "src"
+ }
}
}
diff --git a/packages/database/src/types/index.ts b/packages/database/types/index.ts
similarity index 100%
rename from packages/database/src/types/index.ts
rename to packages/database/types/index.ts
diff --git a/packages/database/src/types/metadata.ts b/packages/database/types/metadata.ts
similarity index 100%
rename from packages/database/src/types/metadata.ts
rename to packages/database/types/metadata.ts
diff --git a/packages/database/src/types/next-auth.d.ts b/packages/database/types/next-auth.d.ts
similarity index 100%
rename from packages/database/src/types/next-auth.d.ts
rename to packages/database/types/next-auth.d.ts
diff --git a/packages/env/package.json b/packages/env/package.json
index 1829164c2..d10976715 100644
--- a/packages/env/package.json
+++ b/packages/env/package.json
@@ -5,7 +5,7 @@
"types": "./index.ts",
"dependencies": {
"@t3-oss/env-nextjs": "^0.12.0",
- "zod": "^3.24.3"
+ "zod": "^3.24.2"
},
"devDependencies": {
"@types/node": "^22.12.0"
diff --git a/packages/env/server.ts b/packages/env/server.ts
index b9c0c406c..a0a42a0ea 100644
--- a/packages/env/server.ts
+++ b/packages/env/server.ts
@@ -60,5 +60,6 @@ let _cached: ReturnType<typeof createServerEnv> | undefined;
export const serverEnv = () => {
if (_cached) return _cached;
_cached = createServerEnv();
+ console.log({ S3_PATH_STYLE: _cached.S3_PATH_STYLE });
return _cached;
};
diff --git a/packages/ui/src/components/Button.d.ts b/packages/ui/src/components/Button.d.ts
deleted file mode 100644
index afe9811fa..000000000
--- a/packages/ui/src/components/Button.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { type VariantProps } from "class-variance-authority";
-import * as React from "react";
-declare const buttonVariants: (props?: ({
- variant?: "white" | "primary" | "red" | "secondary" | "destructive" | "gray" | "dark" | "darkgradient" | "radialblue" | null | undefined;
- size?: "md" | "xs" | "sm" | "lg" | null | undefined;
-} & import("class-variance-authority/types").ClassProp) | undefined) => string;
-export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
- asChild?: boolean;
- spinner?: boolean;
- href?: string;
- icon?: React.ReactNode;
-}
-declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
-export { Button, buttonVariants };
diff --git a/packages/ui/src/components/Card.d.ts b/packages/ui/src/components/Card.d.ts
deleted file mode 100644
index a70e525f3..000000000
--- a/packages/ui/src/components/Card.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-declare const Card: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
- noStyle?: boolean;
-} & import("react").RefAttributes<HTMLDivElement>>;
-declare const CardHeader: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
-declare const CardTitle: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLParagraphElement>>;
-declare const CardDescription: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
-declare const CardFooter: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
-export { Card, CardDescription, CardFooter, CardHeader, CardTitle };
diff --git a/packages/ui/src/components/Cmdk.d.ts b/packages/ui/src/components/Cmdk.d.ts
deleted file mode 100644
index 331361d12..000000000
--- a/packages/ui/src/components/Cmdk.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { DialogProps } from "@radix-ui/react-dialog";
-import * as React from "react";
-declare const Command: React.ForwardRefExoticComponent<Omit<{
- children?: React.ReactNode;
-} & React.HTMLAttributes<HTMLDivElement> & {
- label?: string;
- shouldFilter?: boolean;
- filter?: (value: string, search: string) => number;
- defaultValue?: string;
- value?: string;
- onValueChange?: (value: string) => void;
- loop?: boolean;
- vimBindings?: boolean;
-} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-interface CommandDialogProps extends DialogProps {
-}
-declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => import("react/jsx-runtime").JSX.Element;
-declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "type" | "onChange"> & {
- value?: string;
- onValueChange?: (search: string) => void;
-} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
-declare const CommandList: React.ForwardRefExoticComponent<Omit<{
- children?: React.ReactNode;
-} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
- children?: React.ReactNode;
-} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
- children?: React.ReactNode;
-} & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
- heading?: React.ReactNode;
- value?: string;
- forceMount?: boolean;
-} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
- alwaysRender?: boolean;
-} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
- children?: React.ReactNode;
-} & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "disabled" | "onSelect"> & {
- disabled?: boolean;
- onSelect?: (value: string) => void;
- value?: string;
- forceMount?: boolean;
-} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const CommandShortcut: {
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };
diff --git a/packages/ui/src/components/Dialog.d.ts b/packages/ui/src/components/Dialog.d.ts
deleted file mode 100644
index 384221bba..000000000
--- a/packages/ui/src/components/Dialog.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import * as DialogPrimitive from "@radix-ui/react-dialog";
-import * as React from "react";
-declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
-declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
-declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const DialogHeader: {
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-declare const DialogFooter: {
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
-declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
-export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, };
diff --git a/packages/ui/src/components/Dropdown.d.ts b/packages/ui/src/components/Dropdown.d.ts
deleted file mode 100644
index 96cd29877..000000000
--- a/packages/ui/src/components/Dropdown.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
-import * as React from "react";
-declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
-declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
-declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
-declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
-declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
- inset?: boolean;
-} & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
- inset?: boolean;
-} & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
- inset?: boolean;
-} & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const DropdownMenuShortcut: {
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
diff --git a/packages/ui/src/components/LogoSpinner.d.ts b/packages/ui/src/components/LogoSpinner.d.ts
deleted file mode 100644
index 07d882683..000000000
--- a/packages/ui/src/components/LogoSpinner.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export declare const LogoSpinner: ({ className }: {
- className: string;
-}) => import("react/jsx-runtime").JSX.Element;
diff --git a/packages/ui/src/components/NavigationMenu.d.ts b/packages/ui/src/components/NavigationMenu.d.ts
deleted file mode 100644
index 600aed574..000000000
--- a/packages/ui/src/components/NavigationMenu.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
-import * as React from "react";
-declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
-declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
-declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
-declare const navigationMenuTriggerStyle: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
-declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
- caret?: boolean;
-} & React.RefAttributes<HTMLButtonElement>>;
-declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
-declare const NavigationMenuViewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-declare const ListItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
-export { ListItem, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, NavigationMenuViewport, };
diff --git a/packages/ui/src/components/Pagination.d.ts b/packages/ui/src/components/Pagination.d.ts
deleted file mode 100644
index 795812d24..000000000
--- a/packages/ui/src/components/Pagination.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import * as React from "react";
-import { ButtonProps } from "./Button";
-declare const Pagination: {
- ({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
-declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
-type PaginationLinkProps = {
- isActive?: boolean;
-} & Pick<ButtonProps, "size"> & React.ComponentProps<"a">;
-declare const PaginationLink: {
- ({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-declare const PaginationPrevious: {
- ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-declare const PaginationNext: {
- ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-declare const PaginationEllipsis: {
- ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
- displayName: string;
-};
-export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
diff --git a/packages/ui/src/components/Popover.d.ts b/packages/ui/src/components/Popover.d.ts
deleted file mode 100644
index 4308bc16d..000000000
--- a/packages/ui/src/components/Popover.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import * as PopoverPrimitive from "@radix-ui/react-popover";
-import * as React from "react";
-declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
-declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
-declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
-export { Popover, PopoverContent, PopoverTrigger };
diff --git a/packages/ui/src/components/SkeletonPage.d.ts b/packages/ui/src/components/SkeletonPage.d.ts
deleted file mode 100644
index 6e4cfa0dd..000000000
--- a/packages/ui/src/components/SkeletonPage.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { SkeletonProps } from "react-loading-skeleton";
-import "react-loading-skeleton/dist/skeleton.css";
-interface SkeletonPageProps {
- customSkeleton?: (skeleton: React.FC<SkeletonProps>) => React.ReactNode;
-}
-export declare const SkeletonPage: ({ customSkeleton }: SkeletonPageProps) => import("react/jsx-runtime").JSX.Element;
-export {};
diff --git a/packages/ui/src/components/SkeletonRows.d.ts b/packages/ui/src/components/SkeletonRows.d.ts
deleted file mode 100644
index e2c717944..000000000
--- a/packages/ui/src/components/SkeletonRows.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import "react-loading-skeleton/dist/skeleton.css";
-export declare const SkeletonRows: () => import("react/jsx-runtime").JSX.Element;
diff --git a/packages/ui/src/components/Switch.d.ts b/packages/ui/src/components/Switch.d.ts
deleted file mode 100644
index 1d17f0c9d..000000000
--- a/packages/ui/src/components/Switch.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import * as SwitchPrimitives from "@radix-ui/react-switch";
-import * as React from "react";
-declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
-export { Switch };
diff --git a/packages/ui/src/components/Table.d.ts b/packages/ui/src/components/Table.d.ts
deleted file mode 100644
index 08ac9c065..000000000
--- a/packages/ui/src/components/Table.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import * as React from "react";
-declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
-declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
-declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
-declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
-declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
-declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
-declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
-declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
-export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, };
diff --git a/packages/ui/src/components/icons/Logo.d.ts b/packages/ui/src/components/icons/Logo.d.ts
deleted file mode 100644
index fcf97a237..000000000
--- a/packages/ui/src/components/icons/Logo.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export declare const Logo: ({ className, showVersion, showBeta, white, hideLogoName, }: {
- className: string;
- showVersion?: boolean;
- showBeta?: boolean;
- white?: boolean;
- hideLogoName?: boolean;
-}) => import("react/jsx-runtime").JSX.Element;
diff --git a/packages/ui/src/components/icons/LogoBadge.d.ts b/packages/ui/src/components/icons/LogoBadge.d.ts
deleted file mode 100644
index 2797a218d..000000000
--- a/packages/ui/src/components/icons/LogoBadge.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export declare const LogoBadge: ({ className }: {
- className: string;
-}) => import("react/jsx-runtime").JSX.Element;
diff --git a/packages/ui/src/components/input/Form.d.ts b/packages/ui/src/components/input/Form.d.ts
deleted file mode 100644
index 17c21da53..000000000
--- a/packages/ui/src/components/input/Form.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from "react";
-import * as LabelPrimitive from "@radix-ui/react-label";
-import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
-declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
-declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
-declare const useFormField: () => {
- invalid: boolean;
- isDirty: boolean;
- isTouched: boolean;
- isValidating: boolean;
- error?: import("react-hook-form").FieldError;
- id: string;
- name: string;
- formItemId: string;
- formDescriptionId: string;
- formMessageId: string;
-};
-declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
-declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
-declare const FormControl: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
-declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
-declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
-export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
diff --git a/packages/ui/src/components/input/Input.d.ts b/packages/ui/src/components/input/Input.d.ts
deleted file mode 100644
index b239b6354..000000000
--- a/packages/ui/src/components/input/Input.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import * as React from "react";
-export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
-}
-declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
-export { Input };
diff --git a/packages/ui/src/components/input/Label.d.ts b/packages/ui/src/components/input/Label.d.ts
deleted file mode 100644
index c01b67992..000000000
--- a/packages/ui/src/components/input/Label.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import * as LabelPrimitive from "@radix-ui/react-label";
-import { type VariantProps } from "class-variance-authority";
-import * as React from "react";
-declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
-export { Label };
diff --git a/packages/ui/src/index.d.ts b/packages/ui/src/index.d.ts
deleted file mode 100644
index aee83fad5..000000000
--- a/packages/ui/src/index.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import "../style/styles.css";
-export * from "./components/icons/Logo";
-export * from "./components/icons/LogoBadge";
-export * from "./components/LogoSpinner";
-export * from "./components/SkeletonPage";
-export * from "./components/SkeletonRows";
-export * from "./components/Button";
-export * from "./components/Card";
-export * from "./components/Cmdk";
-export * from "./components/Dialog";
-export * from "./components/Dropdown";
-export * from "./components/NavigationMenu";
-export * from "./components/Pagination";
-export * from "./components/Popover";
-export * from "./components/Switch";
-export * from "./components/Table";
-export * from "./components/input/Form";
-export * from "./components/input/Input";
-export * from "./components/input/Label";
diff --git a/packages/ui/src/utils/helpers.d.ts b/packages/ui/src/utils/helpers.d.ts
deleted file mode 100644
index e69de29bb..000000000
diff --git a/packages/utils/src/constants/plans.d.ts b/packages/utils/src/constants/plans.d.ts
deleted file mode 100644
index b7bdd063c..000000000
--- a/packages/utils/src/constants/plans.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export declare const getProPlanId: (billingCycle: "yearly" | "monthly") => string;
-export declare const isUserOnProPlan: ({ subscriptionStatus, }: {
- subscriptionStatus: string | null;
-}) => boolean;
diff --git a/packages/utils/src/constants/s3.d.ts b/packages/utils/src/constants/s3.d.ts
deleted file mode 100644
index 8ef0ab8b6..000000000
--- a/packages/utils/src/constants/s3.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const S3_BUCKET_URL: string;
diff --git a/packages/utils/src/helpers.d.ts b/packages/utils/src/helpers.d.ts
deleted file mode 100644
index 2a7999957..000000000
--- a/packages/utils/src/helpers.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { type ClassValue } from "clsx";
-export declare function classNames(...inputs: ClassValue[]): string;
-export declare const uuidParse: (uuid: string) => string;
-export declare const uuidFormat: (uuid: string) => string;
-export declare const CAP_LOGO_URL = "https://raw.githubusercontent.com/CapSoftware/cap/main/apps/desktop/src-tauri/icons/Square310x310Logo.png";
-export declare const saveLatestVideoId: (videoId: string) => void;
-export declare const getLatestVideoId: () => string;
-export declare const saveUserId: (userId: string) => Promise<void>;
-export declare const getUserId: () => Promise<string>;
-export declare const isUserPro: () => Promise<string | false>;
diff --git a/packages/utils/src/index.d.ts b/packages/utils/src/index.d.ts
deleted file mode 100644
index 8086d44ee..000000000
--- a/packages/utils/src/index.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export * from "./types/database";
-export * from "./helpers";
-export * from "./lib/stripe/stripe";
-export * from "./constants/plans";
-export * from "./constants/s3";
diff --git a/packages/utils/src/lib/stripe/stripe.d.ts b/packages/utils/src/lib/stripe/stripe.d.ts
deleted file mode 100644
index 229d3bdfa..000000000
--- a/packages/utils/src/lib/stripe/stripe.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import Stripe from "stripe";
-export declare const STRIPE_AVAILABLE: () => boolean;
-export declare const stripe: () => Stripe;
diff --git a/packages/utils/src/types/database.d.ts b/packages/utils/src/types/database.d.ts
deleted file mode 100644
index 13ff09ff1..000000000
--- a/packages/utils/src/types/database.d.ts
+++ /dev/null
@@ -1,332 +0,0 @@
-export type Json = string | number | boolean | null | {
- [key: string]: Json | undefined;
-} | Json[];
-export interface Database {
- public: {
- Tables: {
- shared_videos: {
- Row: {
- shared_at: string;
- shared_by_user_id: string | null;
- space_id: string;
- video_id: string;
- };
- Insert: {
- shared_at?: string;
- shared_by_user_id?: string | null;
- space_id: string;
- video_id: string;
- };
- Update: {
- shared_at?: string;
- shared_by_user_id?: string | null;
- space_id?: string;
- video_id?: string;
- };
- Relationships: [
- {
- foreignKeyName: "shared_videos_shared_by_user_id_fkey";
- columns: ["shared_by_user_id"];
- isOneToOne: false;
- referencedRelation: "users";
- referencedColumns: ["id"];
- },
- {
- foreignKeyName: "shared_videos_space_id_fkey";
- columns: ["space_id"];
- isOneToOne: false;
- referencedRelation: "spaces";
- referencedColumns: ["id"];
- },
- {
- foreignKeyName: "shared_videos_video_id_fkey";
- columns: ["video_id"];
- isOneToOne: false;
- referencedRelation: "videos";
- referencedColumns: ["id"];
- }
- ];
- };
- space_members: {
- Row: {
- role: Database["public"]["Enums"]["user_role"];
- space_id: string;
- user_id: string;
- };
- Insert: {
- role: Database["public"]["Enums"]["user_role"];
- space_id: string;
- user_id: string;
- };
- Update: {
- role?: Database["public"]["Enums"]["user_role"];
- space_id?: string;
- user_id?: string;
- };
- Relationships: [
- {
- foreignKeyName: "space_members_space_id_fkey";
- columns: ["space_id"];
- isOneToOne: false;
- referencedRelation: "spaces";
- referencedColumns: ["id"];
- },
- {
- foreignKeyName: "space_members_user_id_fkey";
- columns: ["user_id"];
- isOneToOne: false;
- referencedRelation: "users";
- referencedColumns: ["id"];
- }
- ];
- };
- spaces: {
- Row: {
- created_at: string;
- id: string;
- metadata: Json | null;
- name: string;
- owner_id: string | null;
- updated_at: string;
- };
- Insert: {
- created_at?: string;
- id?: string;
- metadata?: Json | null;
- name: string;
- owner_id?: string | null;
- updated_at?: string;
- };
- Update: {
- created_at?: string;
- id?: string;
- metadata?: Json | null;
- name?: string;
- owner_id?: string | null;
- updated_at?: string;
- };
- Relationships: [
- {
- foreignKeyName: "spaces_owner_id_fkey";
- columns: ["owner_id"];
- isOneToOne: false;
- referencedRelation: "users";
- referencedColumns: ["id"];
- }
- ];
- };
- users: {
- Row: {
- active_space_id: string | null;
- avatar_url: string | null;
- created_at: string;
- email: string;
- full_name: string | null;
- id: string;
- onboarding_questions: Json | null;
- stripe_customer_id: string | null;
- stripe_subscription_id: string | null;
- stripe_subscription_price_id: string | null;
- stripe_subscription_status: string | null;
- updated_at: string;
- video_quota: number;
- videos_created: number;
- };
- Insert: {
- active_space_id?: string | null;
- avatar_url?: string | null;
- created_at?: string;
- email: string;
- full_name?: string | null;
- id?: string;
- onboarding_questions?: Json | null;
- stripe_customer_id?: string | null;
- stripe_subscription_id?: string | null;
- stripe_subscription_price_id?: string | null;
- stripe_subscription_status?: string | null;
- updated_at?: string;
- video_quota?: number;
- videos_created?: number;
- };
- Update: {
- active_space_id?: string | null;
- avatar_url?: string | null;
- created_at?: string;
- email?: string;
- full_name?: string | null;
- id?: string;
- onboarding_questions?: Json | null;
- stripe_customer_id?: string | null;
- stripe_subscription_id?: string | null;
- stripe_subscription_price_id?: string | null;
- stripe_subscription_status?: string | null;
- updated_at?: string;
- video_quota?: number;
- videos_created?: number;
- };
- Relationships: [
- {
- foreignKeyName: "users_active_space_id_fkey";
- columns: ["active_space_id"];
- isOneToOne: false;
- referencedRelation: "spaces";
- referencedColumns: ["id"];
- }
- ];
- };
- videos: {
- Row: {
- aws_bucket: string | null;
- aws_region: string | null;
- complete: boolean;
- created_at: string;
- duration: number | null;
- id: string;
- is_public: boolean;
- metadata: Json | null;
- name: string;
- owner_id: string | null;
- s3_url: string | null;
- thumbnail_url: string | null;
- updated_at: string;
- };
- Insert: {
- aws_bucket?: string | null;
- aws_region?: string | null;
- complete?: boolean;
- created_at?: string;
- duration?: number | null;
- id?: string;
- is_public?: boolean;
- metadata?: Json | null;
- name?: string;
- owner_id?: string | null;
- s3_url?: string | null;
- thumbnail_url?: string | null;
- updated_at?: string;
- };
- Update: {
- aws_bucket?: string | null;
- aws_region?: string | null;
- complete?: boolean;
- created_at?: string;
- duration?: number | null;
- id?: string;
- is_public?: boolean;
- metadata?: Json | null;
- name?: string;
- owner_id?: string | null;
- s3_url?: string | null;
- thumbnail_url?: string | null;
- updated_at?: string;
- };
- Relationships: [
- {
- foreignKeyName: "videos_owner_id_fkey";
- columns: ["owner_id"];
- isOneToOne: false;
- referencedRelation: "users";
- referencedColumns: ["id"];
- }
- ];
- };
- };
- Views: {
- [_ in never]: never;
- };
- Functions: {
- citext: {
- Args: {
- "": boolean;
- };
- Returns: string;
- } | {
- Args: {
- "": string;
- };
- Returns: string;
- } | {
- Args: {
- "": unknown;
- };
- Returns: string;
- };
- citext_hash: {
- Args: {
- "": string;
- };
- Returns: number;
- };
- citextin: {
- Args: {
- "": unknown;
- };
- Returns: string;
- };
- citextout: {
- Args: {
- "": string;
- };
- Returns: unknown;
- };
- citextrecv: {
- Args: {
- "": unknown;
- };
- Returns: string;
- };
- citextsend: {
- Args: {
- "": string;
- };
- Returns: string;
- };
- };
- Enums: {
- user_role: "owner" | "admin" | "member";
- };
- CompositeTypes: {
- [_ in never]: never;
- };
- };
-}
-export type Tables<PublicTableNameOrOptions extends keyof (Database["public"]["Tables"] & Database["public"]["Views"]) | {
- schema: keyof Database;
-}, TableName extends PublicTableNameOrOptions extends {
- schema: keyof Database;
-} ? keyof (Database[PublicTableNameOrOptions["schema"]]["Tables"] & Database[PublicTableNameOrOptions["schema"]]["Views"]) : never = never> = PublicTableNameOrOptions extends {
- schema: keyof Database;
-} ? (Database[PublicTableNameOrOptions["schema"]]["Tables"] & Database[PublicTableNameOrOptions["schema"]]["Views"])[TableName] extends {
- Row: infer R;
-} ? R : never : PublicTableNameOrOptions extends keyof (Database["public"]["Tables"] & Database["public"]["Views"]) ? (Database["public"]["Tables"] & Database["public"]["Views"])[PublicTableNameOrOptions] extends {
- Row: infer R;
-} ? R : never : never;
-export type TablesInsert<PublicTableNameOrOptions extends keyof Database["public"]["Tables"] | {
- schema: keyof Database;
-}, TableName extends PublicTableNameOrOptions extends {
- schema: keyof Database;
-} ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"] : never = never> = PublicTableNameOrOptions extends {
- schema: keyof Database;
-} ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
- Insert: infer I;
-} ? I : never : PublicTableNameOrOptions extends keyof Database["public"]["Tables"] ? Database["public"]["Tables"][PublicTableNameOrOptions] extends {
- Insert: infer I;
-} ? I : never : never;
-export type TablesUpdate<PublicTableNameOrOptions extends keyof Database["public"]["Tables"] | {
- schema: keyof Database;
-}, TableName extends PublicTableNameOrOptions extends {
- schema: keyof Database;
-} ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"] : never = never> = PublicTableNameOrOptions extends {
- schema: keyof Database;
-} ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
- Update: infer U;
-} ? U : never : PublicTableNameOrOptions extends keyof Database["public"]["Tables"] ? Database["public"]["Tables"][PublicTableNameOrOptions] extends {
- Update: infer U;
-} ? U : never : never;
-export type Enums<PublicEnumNameOrOptions extends keyof Database["public"]["Enums"] | {
- schema: keyof Database;
-}, EnumName extends PublicEnumNameOrOptions extends {
- schema: keyof Database;
-} ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] : never = never> = PublicEnumNameOrOptions extends {
- schema: keyof Database;
-} ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof Database["public"]["Enums"] ? Database["public"]["Enums"][PublicEnumNameOrOptions] : never;
diff --git a/packages/web-api-contract/package.json b/packages/web-api-contract/package.json
index 78b3908e0..425c62d86 100644
--- a/packages/web-api-contract/package.json
+++ b/packages/web-api-contract/package.json
@@ -6,6 +6,6 @@
"type": "module",
"dependencies": {
"@ts-rest/core": "^3.52.1",
- "zod": "^3.24.3"
+ "zod": "^3.24.2"
}
}
diff --git a/packages/web-api-contract/src/desktop.ts b/packages/web-api-contract/src/desktop.ts
index b757ec02c..1d9204542 100644
--- a/packages/web-api-contract/src/desktop.ts
+++ b/packages/web-api-contract/src/desktop.ts
@@ -1,5 +1,5 @@
import { z } from "zod";
-import { initContract } from "@ts-rest/core";
+import { c } from "./util";
const CHANGELOG = z.object({
metadata: z.object({
@@ -13,7 +13,7 @@ const CHANGELOG = z.object({
slug: z.number(),
});
-const publicContract = initContract().router({
+const publicContract = c.router({
getChangelogPosts: {
method: "GET",
path: "/changelog",
@@ -38,7 +38,7 @@ const publicContract = initContract().router({
},
});
-const protectedContract = initContract().router(
+const protectedContract = c.router(
{
submitFeedback: {
method: "POST",
diff --git a/packages/web-api-contract/src/index.ts b/packages/web-api-contract/src/index.ts
index 3ecba9c32..bea842a37 100644
--- a/packages/web-api-contract/src/index.ts
+++ b/packages/web-api-contract/src/index.ts
@@ -1,11 +1,15 @@
import { z } from "zod";
-import { initContract } from "@ts-rest/core";
-
import desktop from "./desktop";
+import { c } from "./util";
+import {
+ ClientInferRequest,
+ ClientInferResponseBody,
+ ClientInferResponses,
+} from "@ts-rest/core";
-export const contract = initContract().router({
+export const contract = c.router({
desktop,
- video: initContract().router({
+ video: c.router({
getTranscribeStatus: {
method: "GET",
path: "/video/transcribe/status",
@@ -35,7 +39,7 @@ export const contract = initContract().router({
}),
});
-export const licenseContract = initContract().router({
+export const licenseContract = c.router({
activateCommercialLicense: {
method: "POST",
path: "/commercial/activate",
diff --git a/packages/web-api-contract/src/util.ts b/packages/web-api-contract/src/util.ts
new file mode 100644
index 000000000..ee3c6a64e
--- /dev/null
+++ b/packages/web-api-contract/src/util.ts
@@ -0,0 +1,3 @@
+import { initContract } from "@ts-rest/core";
+
+export const c = initContract();
diff --git a/packages/web-api-contract/tsconfig.json b/packages/web-api-contract/tsconfig.json
deleted file mode 100644
index 90410a801..000000000
--- a/packages/web-api-contract/tsconfig.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "extends": "../config/base.tsconfig.json",
- "exclude": ["node_modules"],
- "include": ["src/**/*.ts"],
- "compilerOptions": {
- "baseUrl": ".",
- "moduleResolution": "bundler",
- "paths": {
- "@/emails/*": ["./emails/*"]
- },
- "outDir": "dist",
- "rootDir": "src"
- }
-}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 21f17f50a..2fb8bf13b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -49,7 +49,7 @@ importers:
'@cap/web-api-contract':
specifier: workspace:*
- version: link:../../packages/web-api-contract
+ version: file:packages/web-api-contract(@types/[email protected])
'@corvu/tooltip':
specifier: ^0.2.1
version: 0.2.1([email protected])
@@ -419,10 +419,10 @@ importers:
version: 3.658.1
'@cap/database':
specifier: workspace:*
+ version: link:../../packages/database
'@cap/env':
specifier: workspace:*
- version: link:../../packages/env
'@cap/ui':
specifier: workspace:*
@@ -449,7 +449,7 @@ importers:
'@hono/zod-validator':
specifier: ^0.4.3
'@hookform/resolvers':
specifier: ^3.3.2
@@ -491,7 +491,7 @@ importers:
version: 3.5.0
'@t3-oss/env-nextjs':
specifier: ^0.12.0
'@tanstack/react-query':
specifier: ^5.51.11
version: 5.56.2([email protected])
@@ -503,7 +503,7 @@ importers:
version: 0.5.5
'@ts-rest/core':
specifier: ^3.52.1
- version: 3.52.1(@types/[email protected])([email protected])
+ version: 3.52.1(@types/[email protected])([email protected])
'@types/js-cookie':
specifier: ^3.0.6
version: 3.0.6
@@ -512,7 +512,7 @@ importers:
'@workos-inc/node':
specifier: ^7.34.0
aws-sdk:
specifier: ^2.1530.0
version: 2.1691.0
@@ -533,7 +533,7 @@ importers:
version: 0.43.1(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])
dub:
specifier: ^0.33.1
- version: 0.33.1([email protected])
+ version: 0.33.1([email protected])
file-saver:
specifier: ^2.0.5
version: 2.0.5
@@ -542,7 +542,7 @@ importers:
geist:
specifier: ^1.3.1
gif.js:
specifier: 0.2.0
version: 0.2.0
@@ -568,20 +568,20 @@ importers:
specifier: ^2.30.1
version: 2.30.1
next:
- specifier: ^14.2.28
+ specifier: 14.2.3
next-auth:
- specifier: ^4.24.11
+ specifier: ^4.24.5
next-contentlayer2:
specifier: ^0.5.3
next-mdx-remote:
specifier: ^4.4.1
nextjs-cors:
specifier: ^2.2.0
posthog-js:
specifier: ^1.215.3
version: 1.215.3
@@ -637,8 +637,8 @@ importers:
specifier: ^8.17.3
version: 8.17.4
zod:
- specifier: ^3.24.3
- version: 3.24.3
+ specifier: ^3.24.2
+ version: 3.24.2
devDependencies:
'@types/file-saver':
specifier: ^2.0.7
@@ -746,7 +746,7 @@ importers:
dependencies:
'@cap/env':
specifier: workspace:*
- version: link:../env
'@mattrax/mysql-planetscale':
specifier: ^0.0.3
version: 0.0.3
@@ -769,11 +769,11 @@ importers:
specifier: ^5.0.4
version: 5.0.7
next:
- specifier: ^14.2.28
+ specifier: 14.2.9
next-auth:
- specifier: ^4.24.11
+ specifier: ^4.24.5
react-email:
specifier: ^1.10.1
version: 1.10.1([email protected])
@@ -825,10 +825,10 @@ importers:
dependencies:
'@t3-oss/env-nextjs':
specifier: ^0.12.0
zod:
- specifier: ^3.24.3
- version: 3.24.3
+ specifier: ^3.24.2
+ version: 3.24.2
devDependencies:
'@types/node':
specifier: ^22.12.0
@@ -1006,7 +1006,7 @@ importers:
version: 3.658.1
'@cap/env':
specifier: workspace:*
- version: link:../env
clsx:
specifier: ^2.0.0
version: 2.1.1
@@ -1037,10 +1037,10 @@ importers:
dependencies:
'@ts-rest/core':
specifier: ^3.52.1
- version: 3.52.1(@types/[email protected])([email protected])
+ version: 3.52.1(@types/[email protected])([email protected])
zod:
- specifier: ^3.24.3
- version: 3.24.3
+ specifier: ^3.24.2
+ version: 3.24.2
packages:
@@ -1491,10 +1491,6 @@ packages:
resolution: {integrity: sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==}
engines: {node: '>=6.9.0'}
@@ -3466,8 +3462,11 @@ packages:
resolution: {integrity: sha512-z6okREyK8in0486a22Oro0k+YsuyEjDXJt46FpgeOgXqKJ9ElM8QPll0iuLBkpbH33ENiNbIPLd1cuClRQnhiw==}
engines: {node: '>=18.0.0'}
- resolution: {integrity: sha512-PAmWhJfJQlP+kxZwCjrVd9QnR5x0R3u0mTXTiZDgSd4h5LdXmjxCCWbN9kq6hkZBOax8Rm3xDW5HagWyJuT37g==}
+ resolution: {integrity: sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA==}
+
+ resolution: {integrity: sha512-hnDAoDPMii31V0ivibI8p6b023jOF1XblWTVjsDUoZKwnZlaBtJFZKDwFqi22R8r9i6W08dThUWU7Bsh2Rg8Ww==}
resolution: {integrity: sha512-wuGN5qSEjSgcq9fVkH0Y/qIPFjnZtW3ZPwfjJOn7l/rrf6y8J24h/lo61kwqunTyzZJm/ETGfGVU9PUs8cnzEA==}
@@ -3475,56 +3474,110 @@ packages:
resolution: {integrity: sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==}
- resolution: {integrity: sha512-kzGChl9setxYWpk3H6fTZXXPFFjg7urptLq5o5ZgYezCrqlemKttwMT5iFyx/p1e/JeglTwDFRtb923gTJ3R1w==}
+ resolution: {integrity: sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-/kfQifl3uLYi3DlwFlzCkgxe6fprJNLzzTUFknq3M5wGYicDIbdGlxUl6oHpVLJpBB/CBY3Y//gO6alz/K4NWA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-z6FXYHDJlFOzVEOiiJ/4NG8aLCeayZdcRSMjPDysW297Up6r22xw6Ea9AOwQqbNsth8JNgIK8EkWz2IDwaLQcw==}
+ resolution: {integrity: sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-9ARHLEQXhAilNJ7rgQX8xs9aH3yJSj888ssSjJLeldiZKR4D7N08MfMqljk77fAwZsWwsrp8ohHsMvurvv9liQ==}
+ resolution: {integrity: sha512-tK/RyhCmOCiXQ9IVdFrBbZOf4/1+0RSuJkebXU2uMEsusS51TjIJO4l8ZmEijH9gZa0pJClvmApRHi7JuBqsRw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-tS5eqwsp2nO7mzywRUuFYmefNZsUKM/mTG3exK2jIHv9TEVklE1SByB1KMhFkqlit1PxS9YK1tV8BOV90Wpbrw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-p6gvatI1nX41KCizEe6JkF0FS/cEEF0u23vKDpl+WhPe/fCTBeGkEBh7iW2cUM0rvquPVwPWdiUR6Ebr/kQWxQ==}
+ resolution: {integrity: sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-nsiSnz2wO6GwMAX2o0iucONlVL7dNgKUqt/mDTATGO2NY59EO/ZKnKEr80BJFhuA5UC1KZOMblJHWZoqIJddpA==}
+ resolution: {integrity: sha512-8svpeTFNAMTUMKQbEzE8qRAwl9o7mNBv7LR1bmSkQvo1oy4WrNyZbhWsldOiKrc4mZ5dfQkGYsI9T75mIFMfeA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-0HNulLWpKTB7H5BhHCkEhcRAnWUHeAYCftrrGw3QC18+ZywTdAoPv/zEqKy/0adqt+ks4JDdlgSQ1lNKOKjo0A==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-+IuGQKoI3abrXFqx7GtlvNOpeExUH1mTIqCrh1LGFf8DnlUcTmOOCApEnPJUSLrSbzOdsF2ho2KhnQoO0I1RDw==}
+ resolution: {integrity: sha512-hhVFViPHLAVUJRNtwwm609p9ozWajOmRvzOZzzKXgiVGwx/CALxlMUeh+M+e0Zj6orENhWLZeilOPHpptuENsA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-l61WZ3nevt4BAnGksUVFKy2uJP5DPz2E0Ma/Oklvo3sGj9sw3q7vBWONFRgz+ICiHpW5mV+mBrkB3XEubMrKaA==}
+ resolution: {integrity: sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-+Kcp1T3jHZnJ9v9VTJ/yf1t/xmtFAc/Sge4v7mVc1z+NYfYzisi8kJ9AsY8itbgq+WgEwMtOpiLLJsUy2qnXZw==}
+ resolution: {integrity: sha512-p/v6XlOdrk06xfN9z4evLNBqftVQUWiyduQczCwSj7hNh8fWTbzdVxsEiNOcajMXJbQiaX/ZzZdFgKVmmJnnGQ==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==}
+ engines: {node: '>= 10'}
+ cpu: [ia32]
+ os: [win32]
+
+ resolution: {integrity: sha512-IcW9dynWDjMK/0M05E3zopbRen7v0/yEaMZbHFOSS1J/w+8YG3jKywOGZWNp/eCUVtUUXs0PW+7Lpz8uLu+KQA==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
- resolution: {integrity: sha512-1gCmpvyhz7DkB1srRItJTnmR2UwQPAUXXIg9r0/56g3O8etGmwlX68skKXJOp9EejW3hhv7nSQUJ2raFiz4MoA==}
+ resolution: {integrity: sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-gcbpoXyWZdVOBgNa5BRzynrL5UR1nb2ZT38yKgnphYU9UHjeecnylMHntrQiMg/QtONDcJPFC/PmsS47xIRYoA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -7104,9 +7157,6 @@ packages:
resolution: {integrity: sha512-AmE7k4dXiNKQipgn7a2xg558IRqPN3jMQY/rOsbxDhrd0tyChwbITBfiwtnqz8bi2M5mIWbxAYBvk7W7QBUS2g==}
- resolution: {integrity: sha512-49/c1+x3Kwz7ZIWt+4DvK3aMJy9oYXXG6/97JKsnjdCk/6n9vVyWL8NAwVt95Lwt9eigI10Hl782kDfZUUlRXw==}
-
resolution: {integrity: sha512-EBQJ04ShZFi1CGKXhBui6UYFJf+6C6wNIa12J2/NSu+ca/XeF5gkXUwHQ8uSKVCpvFYS2RRRB2zf29R0OYz8Iw==}
@@ -7421,10 +7471,6 @@ packages:
resolution: {integrity: sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==}
engines: {node: '>=18'}
@@ -10475,11 +10521,6 @@ packages:
engines: {node: ^18 || >=20}
hasBin: true
- resolution: {integrity: sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==}
- engines: {node: ^18 || >=20}
- hasBin: true
-
resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==}
@@ -10494,14 +10535,14 @@ packages:
resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-pCFXzIDQX7xmHFs4KVH4luCjaCbuPRtZ9oBUjUhOk84mZ9WVPf94n87TxYI4rSRf9HmfHEF8Yep3JrYDVOo3Cw==}
+ resolution: {integrity: sha512-SLt3+8UCtklsotnz2p+nB4aN3IHNmpsQFAZ24VLxGotWGzSxkBh192zxNhm/J5wgkcrDWVp0bwqvW0HksK/Lcw==}
peerDependencies:
'@auth/core': 0.34.2
- next: ^12.2.5 || ^13 || ^14 || ^15
+ next: ^12.2.5 || ^13 || ^14
nodemailer: ^6.6.5
- react: ^17.0.2 || ^18 || ^19
- react-dom: ^17.0.2 || ^18 || ^19
+ react: ^17.0.2 || ^18
+ react-dom: ^17.0.2 || ^18
peerDependenciesMeta:
'@auth/core':
optional: true
@@ -10523,8 +10564,26 @@ packages:
react: '>=16.x <=18.x'
react-dom: '>=16.x <=18.x'
- resolution: {integrity: sha512-QLEIP/kYXynIxtcKB6vNjtWLVs3Y4Sb+EClTC/CSVzdLD1gIuItccpu/n1lhmduffI32iPGEK2cLLxxt28qgYA==}
+ resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==}
+ engines: {node: '>=18.17.0'}
+ hasBin: true
+ peerDependencies:
+ '@opentelemetry/api': ^1.1.0
+ '@playwright/test': ^1.41.2
+ react: ^18.2.0
+ react-dom: ^18.2.0
+ sass: ^1.3.0
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ '@playwright/test':
+ optional: true
+ sass:
+ optional: true
+
+ resolution: {integrity: sha512-3CzBNo6BuJnRjcQvRw+irnU1WiuJNZEp+dkzkt91y4jeIDN/Emg95F+takSYiLpJ/HkxClVQRyqiTwYce5IVqw==}
engines: {node: '>=18.17.0'}
hasBin: true
peerDependencies:
@@ -10753,10 +10812,6 @@ packages:
resolution: {integrity: sha512-IF4PcGgzAr6XXSff26Sk/+P4KZFJVuHAJZj3wgO3vX2bMdNVp/QXTP3P7CEm9V1IdG8lDLY3HhiqpsE/nOwpPw==}
engines: {node: ^10.13.0 || >=12.0.0}
- resolution: {integrity: sha512-y0W+X7Ppo7oZX6eovsRkuzcSM40Bicg2JEJkDJ4irIt1wsYAP5MLSNv+QAogO8xivMffw/9OvV3um1pxXgt1uA==}
- engines: {node: ^10.13.0 || >=12.0.0}
-
resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==}
engines: {node: '>= 0.8'}
@@ -10798,8 +10853,8 @@ packages:
resolution: {integrity: sha512-T1h3B10BRPKfcObdBklX639tVz+xh34O7GjofqrqiAQdm7eHsQ00ih18x6wuJ/E6FxdtS2u3FmUGPDeEcMwzNA==}
- resolution: {integrity: sha512-jDBPgSVfTnkIh71Hg9pRvtJc6wTwqjRkN88+gCFtYWrlP4Yx2Dsrow8uPi3qLr/aeymPF3o2+dS+wOpglK04ew==}
+ resolution: {integrity: sha512-4GCCGZt1i2kTHpwvaC/sCpTpQqDnBzDzuJcJMbH+y1Q5qI8U8RBvoSh28svarXszZHR5BAMXbJPX1PGPRE3VOA==}
resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
@@ -11095,9 +11150,6 @@ packages:
resolution: {integrity: sha512-PnBAwFI3Yjxxcxw75n6VId/5TFxNW/81zexzWD9jn1+eSrOP84NdsS38H5IkF/UH3frqRPT+MvuCoVHjTDTnDw==}
- resolution: {integrity: sha512-fmpDkgfGU6JYux9teDWLhj9mKN55tyepwYbxHgQuIxbWQzgFg5vk7Mrrtfx7xRxq798ynkY4DDDxZr235Kk+4w==}
-
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
@@ -13415,6 +13467,9 @@ packages:
resolution: {integrity: sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==}
+ resolution: {integrity: sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==}
+
resolution: {integrity: sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==}
@@ -14358,8 +14413,6 @@ snapshots:
dependencies:
regenerator-runtime: 0.14.1
- '@babel/[email protected]': {}
-
dependencies:
'@babel/code-frame': 7.24.7
@@ -14418,64 +14471,9 @@ snapshots:
'@react-email/components': 0.0.13(@types/[email protected])([email protected])
'@react-email/render': 0.0.11
drizzle-orm: 0.43.1(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])
- nanoid: 5.1.5
- react-email: 1.10.1([email protected])
- transitivePeerDependencies:
- - '@auth/core'
- - '@aws-sdk/client-rds-data'
- - '@babel/core'
- - '@cloudflare/workers-types'
- - '@electric-sql/pglite'
- - '@libsql/client'
- - '@libsql/client-wasm'
- - '@neondatabase/serverless'
- - '@op-engineering/op-sqlite'
- - '@opentelemetry/api'
- - '@playwright/test'
- - '@prisma/client'
- - '@tidbcloud/serverless'
- - '@types/better-sqlite3'
- - '@types/pg'
- - '@types/react'
- - '@types/sql.js'
- - '@vercel/postgres'
- - '@xata.io/client'
- - babel-plugin-macros
- - better-sqlite3
- - bun-types
- - encoding
- - expo-sqlite
- - gel
- - knex
- - kysely
- - mysql2
- - nodemailer
- - pg
- - postgres
- - prisma
- - react
- - react-dom
- - sass
- - sql.js
- - sqlite3
- - typescript
- - valibot
-
- dependencies:
- '@cap/env': file:packages/env([email protected])([email protected]([email protected]))
- '@mattrax/mysql-planetscale': 0.0.3
- '@paralleldrive/cuid2': 2.2.2
- '@planetscale/database': 1.19.0
- '@react-email/components': 0.0.13(@types/[email protected])([email protected])
- '@react-email/render': 0.0.11
- drizzle-orm: 0.43.1(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])
- nanoid: 5.1.5
+ nanoid: 5.0.7
react-email: 1.10.1([email protected])
transitivePeerDependencies:
@@ -14610,6 +14608,13 @@ snapshots:
transitivePeerDependencies:
- '@types/node'
+ '@cap/web-api-contract@file:packages/web-api-contract(@types/[email protected])':
+ dependencies:
+ '@ts-rest/core': 3.52.1(@types/[email protected])([email protected])
+ zod: 3.24.3
+ transitivePeerDependencies:
+ - '@types/node'
+
dependencies:
chromatic: 11.10.4
@@ -14653,7 +14658,7 @@ snapshots:
semver: 7.6.3
wrangler: 3.109.1(@cloudflare/[email protected])
- zod: 3.24.3
+ zod: 3.24.1
transitivePeerDependencies:
- '@cloudflare/workers-types'
- bufferutil
@@ -15618,10 +15623,10 @@ snapshots:
hono: 4.7.1
valibot: 1.0.0-rc.1([email protected])
dependencies:
hono: 4.7.1
- zod: 3.24.3
+ zod: 3.24.2
dependencies:
@@ -16140,8 +16145,8 @@ snapshots:
express-rate-limit: 7.5.0([email protected])
pkce-challenge: 4.1.0
raw-body: 3.0.0
- zod: 3.24.2
- zod-to-json-schema: 3.24.3([email protected])
+ zod: 3.24.3
+ zod-to-json-schema: 3.24.3([email protected])
transitivePeerDependencies:
- supports-color
@@ -16197,7 +16202,9 @@ snapshots:
'@netlify/[email protected]': {}
- '@next/[email protected]': {}
+ '@next/[email protected]': {}
+
+ '@next/[email protected]': {}
dependencies:
@@ -16207,31 +16214,58 @@ snapshots:
dependencies:
glob: 10.3.10
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
optional: true
'@noble/[email protected]': {}
@@ -17122,7 +17156,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.27.1
+ '@babel/runtime': 7.25.6
react: 18.3.1
optionalDependencies:
'@types/react': 18.3.9
@@ -17735,7 +17769,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.27.1
+ '@babel/runtime': 7.25.6
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
react: 18.3.1
optionalDependencies:
@@ -19047,18 +19081,32 @@ snapshots:
dependencies:
'@swc/counter': 0.1.3
- tslib: 2.8.1
+ tslib: 2.8.0
'@szmarczak/[email protected]':
dependencies:
defer-to-connect: 2.0.1
+ optionalDependencies:
+ typescript: 5.7.2
+ valibot: 1.0.0-rc.1([email protected])
+ zod: 3.24.2
+
optionalDependencies:
typescript: 5.7.2
valibot: 1.0.0-rc.1([email protected])
zod: 3.24.3
+ dependencies:
+ optionalDependencies:
+ typescript: 5.7.2
+ valibot: 1.0.0-rc.1([email protected])
+ zod: 3.24.2
+
dependencies:
@@ -19317,7 +19365,7 @@ snapshots:
'@testing-library/[email protected]':
dependencies:
'@babel/code-frame': 7.24.7
- '@babel/runtime': 7.27.1
+ '@babel/runtime': 7.25.6
'@types/aria-query': 5.0.4
aria-query: 5.3.0
chalk: 4.1.2
@@ -19356,11 +19404,21 @@ snapshots:
'@total-typescript/[email protected]': {}
+ optionalDependencies:
+ '@types/node': 20.16.9
+ zod: 3.24.2
+
optionalDependencies:
'@types/node': 20.16.9
zod: 3.24.3
+ optionalDependencies:
+ '@types/node': 22.12.0
+ zod: 3.24.2
+
optionalDependencies:
'@types/node': 22.12.0
@@ -20031,9 +20089,9 @@ snapshots:
loupe: 3.1.3
tinyrainbow: 1.2.0
dependencies:
jose: 5.6.3
pluralize: 8.0.0
transitivePeerDependencies:
@@ -20741,8 +20799,6 @@ snapshots:
-
dependencies:
custom-media-element: 1.4.2
@@ -21033,8 +21089,6 @@ snapshots:
-
@@ -21368,9 +21422,9 @@ snapshots:
'@planetscale/database': 1.19.0
mysql2: 3.11.3
dependencies:
- zod: 3.24.3
+ zod: 3.24.2
dependencies:
@@ -22659,9 +22713,9 @@ snapshots:
dependencies:
dependencies:
@@ -23249,7 +23303,7 @@ snapshots:
dependencies:
'@peculiar/webcrypto': 1.5.0
'@types/cookie': 0.5.4
@@ -23260,7 +23314,7 @@ snapshots:
iron-webcrypto: 0.2.8
optionalDependencies:
express: 5.0.1
dependencies:
@@ -24464,7 +24518,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.27.1
+ '@babel/runtime': 7.25.6
'@esbuild-plugins/node-resolve': 0.2.2([email protected])
'@fal-works/esbuild-plugin-global-externals': 2.1.2
'@mdx-js/esbuild': 3.1.0([email protected])([email protected])
@@ -25218,8 +25272,6 @@ snapshots:
-
@@ -25228,29 +25280,46 @@ snapshots:
+ dependencies:
+ '@babel/runtime': 7.25.6
+ '@panva/hkdf': 1.2.1
+ cookie: 0.5.0
+ jose: 4.15.9
+ oauth: 0.9.15
+ openid-client: 5.7.0
+ preact: 10.24.1
+ preact-render-to-string: 5.2.6([email protected])
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+ uuid: 8.3.2
+ optionalDependencies:
+ nodemailer: 6.9.15
+
dependencies:
- '@babel/runtime': 7.27.1
+ '@babel/runtime': 7.25.6
'@panva/hkdf': 1.2.1
- cookie: 0.7.2
+ cookie: 0.5.0
jose: 4.15.9
oauth: 0.9.15
- openid-client: 5.7.1
- preact: 10.26.5
- preact-render-to-string: 5.2.6([email protected])
+ openid-client: 5.7.0
+ preact: 10.24.1
+ preact-render-to-string: 5.2.6([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
uuid: 8.3.2
optionalDependencies:
nodemailer: 6.9.15
dependencies:
'@contentlayer2/core': 0.5.3([email protected])([email protected])
'@contentlayer2/utils': 0.5.3
contentlayer2: 0.5.3([email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
transitivePeerDependencies:
@@ -25271,36 +25340,62 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@next/env': 14.2.3
+ '@swc/helpers': 0.5.5
+ busboy: 1.6.0
+ caniuse-lite: 1.0.30001664
+ graceful-fs: 4.2.11
+ postcss: 8.4.31
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+ styled-jsx: 5.1.1(@babel/[email protected])([email protected])
+ optionalDependencies:
+ '@next/swc-darwin-arm64': 14.2.3
+ '@next/swc-darwin-x64': 14.2.3
+ '@next/swc-linux-arm64-gnu': 14.2.3
+ '@next/swc-linux-arm64-musl': 14.2.3
+ '@next/swc-linux-x64-gnu': 14.2.3
+ '@next/swc-linux-x64-musl': 14.2.3
+ '@next/swc-win32-arm64-msvc': 14.2.3
+ '@next/swc-win32-ia32-msvc': 14.2.3
+ '@next/swc-win32-x64-msvc': 14.2.3
+ '@opentelemetry/api': 1.9.0
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+
dependencies:
- '@next/env': 14.2.28
+ '@next/env': 14.2.9
'@swc/helpers': 0.5.5
busboy: 1.6.0
- caniuse-lite: 1.0.30001716
+ caniuse-lite: 1.0.30001664
graceful-fs: 4.2.11
postcss: 8.4.31
react: 18.3.1
react-dom: 18.3.1([email protected])
styled-jsx: 5.1.1(@babel/[email protected])([email protected])
optionalDependencies:
- '@next/swc-darwin-arm64': 14.2.28
- '@next/swc-darwin-x64': 14.2.28
- '@next/swc-linux-arm64-gnu': 14.2.28
- '@next/swc-linux-arm64-musl': 14.2.28
- '@next/swc-linux-x64-gnu': 14.2.28
- '@next/swc-linux-x64-musl': 14.2.28
- '@next/swc-win32-arm64-msvc': 14.2.28
- '@next/swc-win32-ia32-msvc': 14.2.28
- '@next/swc-win32-x64-msvc': 14.2.28
+ '@next/swc-darwin-arm64': 14.2.9
+ '@next/swc-darwin-x64': 14.2.9
+ '@next/swc-linux-arm64-gnu': 14.2.9
+ '@next/swc-linux-arm64-musl': 14.2.9
+ '@next/swc-linux-x64-gnu': 14.2.9
+ '@next/swc-linux-x64-musl': 14.2.9
+ '@next/swc-win32-arm64-msvc': 14.2.9
+ '@next/swc-win32-ia32-msvc': 14.2.9
+ '@next/swc-win32-x64-msvc': 14.2.9
'@opentelemetry/api': 1.9.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dependencies:
cors: 2.8.5
dependencies:
@@ -25625,8 +25720,6 @@ snapshots:
-
dependencies:
ee-first: 1.1.1
@@ -25680,12 +25773,12 @@ snapshots:
object-hash: 2.2.0
oidc-token-hash: 5.0.3
dependencies:
jose: 4.15.9
lru-cache: 6.0.0
object-hash: 2.2.0
- oidc-token-hash: 5.1.0
+ oidc-token-hash: 5.0.3
dependencies:
@@ -25969,8 +26062,8 @@ snapshots:
dependencies:
- nanoid: 3.3.11
- picocolors: 1.1.1
+ nanoid: 3.3.7
+ picocolors: 1.1.0
source-map-js: 1.2.1
@@ -25998,15 +26091,13 @@ snapshots:
transitivePeerDependencies:
- debug
dependencies:
- preact: 10.26.5
+ preact: 10.24.1
pretty-format: 3.8.0
-
@@ -28317,7 +28408,7 @@ snapshots:
unenv: 1.10.0
- zod: 3.24.3
+ zod: 3.24.2
transitivePeerDependencies:
- '@azure/app-configuration'
- '@azure/cosmos'
@@ -28754,8 +28845,14 @@ snapshots:
dependencies:
zod: 3.24.2
+ dependencies:
+ zod: 3.24.3
+
+
diff --git a/tsconfig.json b/tsconfig.json
index 48d23e3f2..adc2259a6 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,7 +4,6 @@
{ "path": "./packages/ui" },
{ "path": "./packages/ui-solid" },
{ "path": "./packages/utils" },
- { "path": "./apps/desktop" },
- { "path": "./apps/web" }
+ { "path": "./apps/desktop" }
]
}