Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

no ts errors + some more accurate types (#503)

Brendan Allan6d35014b2101
diff --git a/apps/web/actions/organization/check-domain.ts b/apps/web/actions/organization/check-domain.ts
index 345a501a3..bf7aa423e 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 db005ec11..f188d0dbb 100644
--- a/apps/web/app/dashboard/shared-caps/SharedCaps.tsx
+++ b/apps/web/app/dashboard/shared-caps/SharedCaps.tsx
@@ -22,11 +22,9 @@ 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 a052f6f4c..9a385b7fc 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 !== null && user.id.toString() === data.ownerId;
+ const isOwner = user?.id?.toString() === data.ownerId;
const { webUrl } = usePublicEnv();
@@ -157,12 +157,8 @@ export const ShareHeader = ({
<h1
className="text-xl sm:text-2xl"
onClick={() => {
- if (
- user !== null &&
- user.id.toString() === data.ownerId
- ) {
+ if (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 a2d651692..0e734258f 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: ToolPageContent = {
+ const pageContent = {
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 af372ecd0..e87651c01 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 ff5efea08..4dc0e789b 100644
--- a/apps/web/components/tools/content.ts
+++ b/apps/web/components/tools/content.ts
@@ -1,13 +1,9 @@
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: {
@@ -78,13 +74,9 @@ 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: {
@@ -155,14 +147,16 @@ 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.",
- publishedAt: "2023-11-20",
- category: "Tool",
- author: "Cap",
- tags: ["video speed control", "speed up video", "slow motion", "free", "online"],
+ tags: [
+ "video speed control",
+ "speed up video",
+ "slow motion",
+ "free",
+ "online",
+ ],
cta: {
title: "Need advanced screen recording with effects?",
@@ -232,35 +226,36 @@ 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",
@@ -268,14 +263,16 @@ 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?",
@@ -283,11 +280,13 @@ 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 a834b9143..7b075511d 100644
--- a/apps/web/components/tools/types.ts
+++ b/apps/web/components/tools/types.ts
@@ -1,11 +1,7 @@
export interface ToolPageContent {
- slug: string;
title: string;
description: string;
- publishedAt: string;
- category: string;
- author: string;
- tags: string[];
+ tags?: string[];
cta: {
title: string;
diff --git a/apps/web/package.json b/apps/web/package.json
index 93ead0f08..2a59950f8 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.3",
- "next-auth": "^4.24.5",
+ "next": "^14.2.28",
+ "next-auth": "^4.24.11",
"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.2"
+ "zod": "^3.24.3"
},
"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 95571bbc7..6905a6d68 100644
--- a/apps/web/tsconfig.json
+++ b/apps/web/tsconfig.json
@@ -2,11 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
- "lib": [
- "DOM",
- "DOM.Iterable",
- "ESNext"
- ],
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
@@ -21,40 +17,21 @@
"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"
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
+ "exclude": ["node_modules"],
+ "references": [
+ { "path": "../../packages/database" },
+ { "path": "../../packages/web-api-contract" }
]
}
diff --git a/apps/web/tsconfig.node.json b/apps/web/tsconfig.node.json
deleted file mode 100644
index 42872c59f..000000000
--- a/apps/web/tsconfig.node.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "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
new file mode 100644
index 000000000..910ac2329
--- /dev/null
+++ b/apps/web/types/index.d.ts
@@ -0,0 +1 @@
+/// <reference types="@cap/database/types/next-auth.d.ts" />
diff --git a/apps/web/utils/blog.ts b/apps/web/utils/blog.ts
index cfbfafad7..91c0191df 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 | DocMetadata;
+ metadata: PostMetadata;
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: Partial<PostMetadata | DocMetadata> = {};
+ let metadata: Record<string, any> = {};
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() as keyof (PostMetadata | DocMetadata)] = value;
+ metadata[key.trim()] = value;
});
return {
- metadata: metadata as PostMetadata | DocMetadata,
+ metadata: metadata as any,
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 8012a4e43..96ff6a09e 100644
--- a/apps/web/utils/changelog.ts
+++ b/apps/web/utils/changelog.ts
@@ -14,13 +14,14 @@ 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 d3650b1c9..aa0334a1e 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 { useContext, useState } from "react";
+import { useState } from "react";
import { usePublicEnv } from "./public-env";
diff --git a/packages/config/base.tsconfig.json b/packages/config/base.tsconfig.json
index 1b1236d7f..d54f48c47 100644
--- a/packages/config/base.tsconfig.json
+++ b/packages/config/base.tsconfig.json
@@ -1,23 +1,21 @@
{
"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
- },
- "references": [{ "path": "./tsconfig.node.json" }]
+ "declaration": true,
+ "emitDeclarationOnly": true
+ }
}
diff --git a/packages/database/package.json b/packages/database/package.json
index 17770104e..d5e2f1e46 100644
--- a/packages/database/package.json
+++ b/packages/database/package.json
@@ -1,8 +1,14 @@
{
"name": "@cap/database",
"private": true,
- "types": "./index.ts",
- "main": "index.js",
+ "exports": {
+ ".": "./src/index.ts",
+ "./*": "./src/*.ts",
+ "./types": "./src/types/index.ts",
+ "./types/*": "./src/types/*",
+ "./emails/*": "./src/emails/*.tsx",
+ "./emails/config": "./src/emails/config.ts"
+ },
"scripts": {
"db:generate": "drizzle-kit generate --config=drizzle.config.ts",
"db:push": "drizzle-kit push --config=drizzle.config.ts",
@@ -20,8 +26,8 @@
"@react-email/render": "0.0.11",
"drizzle-orm": "0.43.1",
"nanoid": "^5.0.4",
- "next": "14.2.9",
- "next-auth": "^4.24.5",
+ "next": "^14.2.28",
+ "next-auth": "^4.24.11",
"react-email": "^1.10.1",
"resend": "4.1.2"
},
diff --git a/packages/database/auth/auth-options.ts b/packages/database/src/auth/auth-options.ts
similarity index 98%
rename from packages/database/auth/auth-options.ts
rename to packages/database/src/auth/auth-options.ts
index 3ed529711..5b6c28c70 100644
--- a/packages/database/auth/auth-options.ts
+++ b/packages/database/src/auth/auth-options.ts
@@ -100,23 +100,23 @@ export const authOptions = (): NextAuthOptions => {
},
},
events: {
- async signIn({ user, account, isNewUser }) {
+ async signIn({ user, 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/auth/drizzle-adapter.ts b/packages/database/src/auth/drizzle-adapter.ts
similarity index 100%
rename from packages/database/auth/drizzle-adapter.ts
rename to packages/database/src/auth/drizzle-adapter.ts
diff --git a/packages/database/auth/session.ts b/packages/database/src/auth/session.ts
similarity index 100%
rename from packages/database/auth/session.ts
rename to packages/database/src/auth/session.ts
diff --git a/packages/database/crypto.ts b/packages/database/src/crypto.ts
similarity index 100%
rename from packages/database/crypto.ts
rename to packages/database/src/crypto.ts
diff --git a/packages/database/emails/components/Footer.tsx b/packages/database/src/emails/components/Footer.tsx
similarity index 100%
rename from packages/database/emails/components/Footer.tsx
rename to packages/database/src/emails/components/Footer.tsx
diff --git a/packages/database/emails/config.ts b/packages/database/src/emails/config.ts
similarity index 100%
rename from packages/database/emails/config.ts
rename to packages/database/src/emails/config.ts
diff --git a/packages/database/emails/first-shareable-link.tsx b/packages/database/src/emails/first-shareable-link.tsx
similarity index 100%
rename from packages/database/emails/first-shareable-link.tsx
rename to packages/database/src/emails/first-shareable-link.tsx
diff --git a/packages/database/emails/login-link.tsx b/packages/database/src/emails/login-link.tsx
similarity index 100%
rename from packages/database/emails/login-link.tsx
rename to packages/database/src/emails/login-link.tsx
diff --git a/packages/database/emails/new-comment.tsx b/packages/database/src/emails/new-comment.tsx
similarity index 100%
rename from packages/database/emails/new-comment.tsx
rename to packages/database/src/emails/new-comment.tsx
diff --git a/packages/database/emails/organization-invite.tsx b/packages/database/src/emails/organization-invite.tsx
similarity index 100%
rename from packages/database/emails/organization-invite.tsx
rename to packages/database/src/emails/organization-invite.tsx
diff --git a/packages/database/helpers.ts b/packages/database/src/helpers.ts
similarity index 100%
rename from packages/database/helpers.ts
rename to packages/database/src/helpers.ts
diff --git a/packages/database/index.ts b/packages/database/src/index.ts
similarity index 100%
rename from packages/database/index.ts
rename to packages/database/src/index.ts
diff --git a/packages/database/schema.ts b/packages/database/src/schema.ts
similarity index 100%
rename from packages/database/schema.ts
rename to packages/database/src/schema.ts
diff --git a/packages/database/types/index.ts b/packages/database/src/types/index.ts
similarity index 100%
rename from packages/database/types/index.ts
rename to packages/database/src/types/index.ts
diff --git a/packages/database/types/metadata.ts b/packages/database/src/types/metadata.ts
similarity index 100%
rename from packages/database/types/metadata.ts
rename to packages/database/src/types/metadata.ts
diff --git a/packages/database/types/next-auth.d.ts b/packages/database/src/types/next-auth.d.ts
similarity index 100%
rename from packages/database/types/next-auth.d.ts
rename to packages/database/src/types/next-auth.d.ts
diff --git a/packages/database/tsconfig.json b/packages/database/tsconfig.json
index 0c2367d79..3b9c4aeda 100644
--- a/packages/database/tsconfig.json
+++ b/packages/database/tsconfig.json
@@ -1,12 +1,14 @@
{
"extends": "../config/base.tsconfig.json",
"exclude": ["node_modules"],
- "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
+ "include": ["src/**/*.ts*", "src/**/*.d.ts"],
"compilerOptions": {
"baseUrl": ".",
"moduleResolution": "bundler",
"paths": {
"@/emails/*": ["./emails/*"]
- }
+ },
+ "outDir": "dist",
+ "rootDir": "src"
}
}
diff --git a/packages/env/package.json b/packages/env/package.json
index d10976715..1829164c2 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.2"
+ "zod": "^3.24.3"
},
"devDependencies": {
"@types/node": "^22.12.0"
diff --git a/packages/env/server.ts b/packages/env/server.ts
index e385d0116..b9c0c406c 100644
--- a/packages/env/server.ts
+++ b/packages/env/server.ts
@@ -56,10 +56,9 @@ function createServerEnv() {
});
}
-let _cached = undefined;
+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
new file mode 100644
index 000000000..afe9811fa
--- /dev/null
+++ b/packages/ui/src/components/Button.d.ts
@@ -0,0 +1,14 @@
+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
new file mode 100644
index 000000000..a70e525f3
--- /dev/null
+++ b/packages/ui/src/components/Card.d.ts
@@ -0,0 +1,8 @@
+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
new file mode 100644
index 000000000..331361d12
--- /dev/null
+++ b/packages/ui/src/components/Cmdk.d.ts
@@ -0,0 +1,50 @@
+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
new file mode 100644
index 000000000..384221bba
--- /dev/null
+++ b/packages/ui/src/components/Dialog.d.ts
@@ -0,0 +1,16 @@
+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
new file mode 100644
index 000000000..96cd29877
--- /dev/null
+++ b/packages/ui/src/components/Dropdown.d.ts
@@ -0,0 +1,27 @@
+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
new file mode 100644
index 000000000..07d882683
--- /dev/null
+++ b/packages/ui/src/components/LogoSpinner.d.ts
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 000000000..600aed574
--- /dev/null
+++ b/packages/ui/src/components/NavigationMenu.d.ts
@@ -0,0 +1,15 @@
+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
new file mode 100644
index 000000000..795812d24
--- /dev/null
+++ b/packages/ui/src/components/Pagination.d.ts
@@ -0,0 +1,28 @@
+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
new file mode 100644
index 000000000..4308bc16d
--- /dev/null
+++ b/packages/ui/src/components/Popover.d.ts
@@ -0,0 +1,6 @@
+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
new file mode 100644
index 000000000..6e4cfa0dd
--- /dev/null
+++ b/packages/ui/src/components/SkeletonPage.d.ts
@@ -0,0 +1,7 @@
+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
new file mode 100644
index 000000000..e2c717944
--- /dev/null
+++ b/packages/ui/src/components/SkeletonRows.d.ts
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 000000000..1d17f0c9d
--- /dev/null
+++ b/packages/ui/src/components/Switch.d.ts
@@ -0,0 +1,4 @@
+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
new file mode 100644
index 000000000..08ac9c065
--- /dev/null
+++ b/packages/ui/src/components/Table.d.ts
@@ -0,0 +1,10 @@
+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
new file mode 100644
index 000000000..fcf97a237
--- /dev/null
+++ b/packages/ui/src/components/icons/Logo.d.ts
@@ -0,0 +1,7 @@
+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
new file mode 100644
index 000000000..2797a218d
--- /dev/null
+++ b/packages/ui/src/components/icons/LogoBadge.d.ts
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 000000000..17c21da53
--- /dev/null
+++ b/packages/ui/src/components/input/Form.d.ts
@@ -0,0 +1,23 @@
+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
new file mode 100644
index 000000000..b239b6354
--- /dev/null
+++ b/packages/ui/src/components/input/Input.d.ts
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 000000000..c01b67992
--- /dev/null
+++ b/packages/ui/src/components/input/Label.d.ts
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 000000000..aee83fad5
--- /dev/null
+++ b/packages/ui/src/index.d.ts
@@ -0,0 +1,19 @@
+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
new file mode 100644
index 000000000..e69de29bb
diff --git a/packages/utils/src/constants/plans.d.ts b/packages/utils/src/constants/plans.d.ts
new file mode 100644
index 000000000..b7bdd063c
--- /dev/null
+++ b/packages/utils/src/constants/plans.d.ts
@@ -0,0 +1,4 @@
+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
new file mode 100644
index 000000000..8ef0ab8b6
--- /dev/null
+++ b/packages/utils/src/constants/s3.d.ts
@@ -0,0 +1 @@
+export declare const S3_BUCKET_URL: string;
diff --git a/packages/utils/src/helpers.d.ts b/packages/utils/src/helpers.d.ts
new file mode 100644
index 000000000..2a7999957
--- /dev/null
+++ b/packages/utils/src/helpers.d.ts
@@ -0,0 +1,10 @@
+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
new file mode 100644
index 000000000..8086d44ee
--- /dev/null
+++ b/packages/utils/src/index.d.ts
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 000000000..229d3bdfa
--- /dev/null
+++ b/packages/utils/src/lib/stripe/stripe.d.ts
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 000000000..13ff09ff1
--- /dev/null
+++ b/packages/utils/src/types/database.d.ts
@@ -0,0 +1,332 @@
+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 425c62d86..78b3908e0 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.2"
+ "zod": "^3.24.3"
}
}
diff --git a/packages/web-api-contract/src/desktop.ts b/packages/web-api-contract/src/desktop.ts
index 1d9204542..b757ec02c 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 { c } from "./util";
+import { initContract } from "@ts-rest/core";
const CHANGELOG = z.object({
metadata: z.object({
@@ -13,7 +13,7 @@ const CHANGELOG = z.object({
slug: z.number(),
});
-const publicContract = c.router({
+const publicContract = initContract().router({
getChangelogPosts: {
method: "GET",
path: "/changelog",
@@ -38,7 +38,7 @@ const publicContract = c.router({
},
});
-const protectedContract = c.router(
+const protectedContract = initContract().router(
{
submitFeedback: {
method: "POST",
diff --git a/packages/web-api-contract/src/index.ts b/packages/web-api-contract/src/index.ts
index bea842a37..3ecba9c32 100644
--- a/packages/web-api-contract/src/index.ts
+++ b/packages/web-api-contract/src/index.ts
@@ -1,15 +1,11 @@
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 = c.router({
+export const contract = initContract().router({
desktop,
- video: c.router({
+ video: initContract().router({
getTranscribeStatus: {
method: "GET",
path: "/video/transcribe/status",
@@ -39,7 +35,7 @@ export const contract = c.router({
}),
});
-export const licenseContract = c.router({
+export const licenseContract = initContract().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
deleted file mode 100644
index ee3c6a64e..000000000
--- a/packages/web-api-contract/src/util.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-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
new file mode 100644
index 000000000..90410a801
--- /dev/null
+++ b/packages/web-api-contract/tsconfig.json
@@ -0,0 +1,14 @@
+{
+ "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 2fb8bf13b..21f17f50a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -49,7 +49,7 @@ importers:
'@cap/web-api-contract':
specifier: workspace:*
- version: file:packages/web-api-contract(@types/[email protected])
+ version: link:../../packages/web-api-contract
'@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.3
+ specifier: ^14.2.28
next-auth:
- specifier: ^4.24.5
+ specifier: ^4.24.11
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.2
- version: 3.24.2
+ specifier: ^3.24.3
+ version: 3.24.3
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.9
+ specifier: ^14.2.28
next-auth:
- specifier: ^4.24.5
+ specifier: ^4.24.11
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.2
- version: 3.24.2
+ specifier: ^3.24.3
+ version: 3.24.3
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.2
- version: 3.24.2
+ specifier: ^3.24.3
+ version: 3.24.3
packages:
@@ -1491,6 +1491,10 @@ 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'}
@@ -3462,11 +3466,8 @@ packages:
resolution: {integrity: sha512-z6okREyK8in0486a22Oro0k+YsuyEjDXJt46FpgeOgXqKJ9ElM8QPll0iuLBkpbH33ENiNbIPLd1cuClRQnhiw==}
engines: {node: '>=18.0.0'}
- resolution: {integrity: sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA==}
-
- resolution: {integrity: sha512-hnDAoDPMii31V0ivibI8p6b023jOF1XblWTVjsDUoZKwnZlaBtJFZKDwFqi22R8r9i6W08dThUWU7Bsh2Rg8Ww==}
+ resolution: {integrity: sha512-PAmWhJfJQlP+kxZwCjrVd9QnR5x0R3u0mTXTiZDgSd4h5LdXmjxCCWbN9kq6hkZBOax8Rm3xDW5HagWyJuT37g==}
resolution: {integrity: sha512-wuGN5qSEjSgcq9fVkH0Y/qIPFjnZtW3ZPwfjJOn7l/rrf6y8J24h/lo61kwqunTyzZJm/ETGfGVU9PUs8cnzEA==}
@@ -3474,110 +3475,56 @@ packages:
resolution: {integrity: sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==}
- resolution: {integrity: sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [darwin]
-
- resolution: {integrity: sha512-/kfQifl3uLYi3DlwFlzCkgxe6fprJNLzzTUFknq3M5wGYicDIbdGlxUl6oHpVLJpBB/CBY3Y//gO6alz/K4NWA==}
+ resolution: {integrity: sha512-kzGChl9setxYWpk3H6fTZXXPFFjg7urptLq5o5ZgYezCrqlemKttwMT5iFyx/p1e/JeglTwDFRtb923gTJ3R1w==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==}
+ resolution: {integrity: sha512-z6FXYHDJlFOzVEOiiJ/4NG8aLCeayZdcRSMjPDysW297Up6r22xw6Ea9AOwQqbNsth8JNgIK8EkWz2IDwaLQcw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
- 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==}
+ resolution: {integrity: sha512-9ARHLEQXhAilNJ7rgQX8xs9aH3yJSj888ssSjJLeldiZKR4D7N08MfMqljk77fAwZsWwsrp8ohHsMvurvv9liQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==}
+ resolution: {integrity: sha512-p6gvatI1nX41KCizEe6JkF0FS/cEEF0u23vKDpl+WhPe/fCTBeGkEBh7iW2cUM0rvquPVwPWdiUR6Ebr/kQWxQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- 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==}
+ resolution: {integrity: sha512-nsiSnz2wO6GwMAX2o0iucONlVL7dNgKUqt/mDTATGO2NY59EO/ZKnKEr80BJFhuA5UC1KZOMblJHWZoqIJddpA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-hhVFViPHLAVUJRNtwwm609p9ozWajOmRvzOZzzKXgiVGwx/CALxlMUeh+M+e0Zj6orENhWLZeilOPHpptuENsA==}
+ resolution: {integrity: sha512-+IuGQKoI3abrXFqx7GtlvNOpeExUH1mTIqCrh1LGFf8DnlUcTmOOCApEnPJUSLrSbzOdsF2ho2KhnQoO0I1RDw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==}
+ resolution: {integrity: sha512-l61WZ3nevt4BAnGksUVFKy2uJP5DPz2E0Ma/Oklvo3sGj9sw3q7vBWONFRgz+ICiHpW5mV+mBrkB3XEubMrKaA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
- 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==}
+ resolution: {integrity: sha512-+Kcp1T3jHZnJ9v9VTJ/yf1t/xmtFAc/Sge4v7mVc1z+NYfYzisi8kJ9AsY8itbgq+WgEwMtOpiLLJsUy2qnXZw==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
- resolution: {integrity: sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [win32]
-
- resolution: {integrity: sha512-gcbpoXyWZdVOBgNa5BRzynrL5UR1nb2ZT38yKgnphYU9UHjeecnylMHntrQiMg/QtONDcJPFC/PmsS47xIRYoA==}
+ resolution: {integrity: sha512-1gCmpvyhz7DkB1srRItJTnmR2UwQPAUXXIg9r0/56g3O8etGmwlX68skKXJOp9EejW3hhv7nSQUJ2raFiz4MoA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -7157,6 +7104,9 @@ packages:
resolution: {integrity: sha512-AmE7k4dXiNKQipgn7a2xg558IRqPN3jMQY/rOsbxDhrd0tyChwbITBfiwtnqz8bi2M5mIWbxAYBvk7W7QBUS2g==}
+ resolution: {integrity: sha512-49/c1+x3Kwz7ZIWt+4DvK3aMJy9oYXXG6/97JKsnjdCk/6n9vVyWL8NAwVt95Lwt9eigI10Hl782kDfZUUlRXw==}
+
resolution: {integrity: sha512-EBQJ04ShZFi1CGKXhBui6UYFJf+6C6wNIa12J2/NSu+ca/XeF5gkXUwHQ8uSKVCpvFYS2RRRB2zf29R0OYz8Iw==}
@@ -7471,6 +7421,10 @@ 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'}
@@ -10521,6 +10475,11 @@ 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==}
@@ -10535,14 +10494,14 @@ packages:
resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-SLt3+8UCtklsotnz2p+nB4aN3IHNmpsQFAZ24VLxGotWGzSxkBh192zxNhm/J5wgkcrDWVp0bwqvW0HksK/Lcw==}
+ resolution: {integrity: sha512-pCFXzIDQX7xmHFs4KVH4luCjaCbuPRtZ9oBUjUhOk84mZ9WVPf94n87TxYI4rSRf9HmfHEF8Yep3JrYDVOo3Cw==}
peerDependencies:
'@auth/core': 0.34.2
- next: ^12.2.5 || ^13 || ^14
+ next: ^12.2.5 || ^13 || ^14 || ^15
nodemailer: ^6.6.5
- react: ^17.0.2 || ^18
- react-dom: ^17.0.2 || ^18
+ react: ^17.0.2 || ^18 || ^19
+ react-dom: ^17.0.2 || ^18 || ^19
peerDependenciesMeta:
'@auth/core':
optional: true
@@ -10564,26 +10523,8 @@ packages:
react: '>=16.x <=18.x'
react-dom: '>=16.x <=18.x'
- 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==}
+ resolution: {integrity: sha512-QLEIP/kYXynIxtcKB6vNjtWLVs3Y4Sb+EClTC/CSVzdLD1gIuItccpu/n1lhmduffI32iPGEK2cLLxxt28qgYA==}
engines: {node: '>=18.17.0'}
hasBin: true
peerDependencies:
@@ -10812,6 +10753,10 @@ 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'}
@@ -10853,8 +10798,8 @@ packages:
resolution: {integrity: sha512-T1h3B10BRPKfcObdBklX639tVz+xh34O7GjofqrqiAQdm7eHsQ00ih18x6wuJ/E6FxdtS2u3FmUGPDeEcMwzNA==}
- resolution: {integrity: sha512-4GCCGZt1i2kTHpwvaC/sCpTpQqDnBzDzuJcJMbH+y1Q5qI8U8RBvoSh28svarXszZHR5BAMXbJPX1PGPRE3VOA==}
+ resolution: {integrity: sha512-jDBPgSVfTnkIh71Hg9pRvtJc6wTwqjRkN88+gCFtYWrlP4Yx2Dsrow8uPi3qLr/aeymPF3o2+dS+wOpglK04ew==}
resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
@@ -11150,6 +11095,9 @@ 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'}
@@ -13467,9 +13415,6 @@ packages:
resolution: {integrity: sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==}
- resolution: {integrity: sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==}
-
resolution: {integrity: sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==}
@@ -14413,6 +14358,8 @@ snapshots:
dependencies:
regenerator-runtime: 0.14.1
+ '@babel/[email protected]': {}
+
dependencies:
'@babel/code-frame': 7.24.7
@@ -14471,9 +14418,64 @@ 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.0.7
+ 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
react-email: 1.10.1([email protected])
transitivePeerDependencies:
@@ -14608,13 +14610,6 @@ 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
@@ -14658,7 +14653,7 @@ snapshots:
semver: 7.6.3
wrangler: 3.109.1(@cloudflare/[email protected])
- zod: 3.24.1
+ zod: 3.24.3
transitivePeerDependencies:
- '@cloudflare/workers-types'
- bufferutil
@@ -15623,10 +15618,10 @@ snapshots:
hono: 4.7.1
valibot: 1.0.0-rc.1([email protected])
dependencies:
hono: 4.7.1
- zod: 3.24.2
+ zod: 3.24.3
dependencies:
@@ -16145,8 +16140,8 @@ snapshots:
express-rate-limit: 7.5.0([email protected])
pkce-challenge: 4.1.0
raw-body: 3.0.0
- zod: 3.24.3
- zod-to-json-schema: 3.24.3([email protected])
+ zod: 3.24.2
+ zod-to-json-schema: 3.24.3([email protected])
transitivePeerDependencies:
- supports-color
@@ -16202,9 +16197,7 @@ snapshots:
'@netlify/[email protected]': {}
- '@next/[email protected]': {}
-
- '@next/[email protected]': {}
+ '@next/[email protected]': {}
dependencies:
@@ -16214,58 +16207,31 @@ 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]': {}
@@ -17156,7 +17122,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.25.6
+ '@babel/runtime': 7.27.1
react: 18.3.1
optionalDependencies:
'@types/react': 18.3.9
@@ -17769,7 +17735,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.25.6
+ '@babel/runtime': 7.27.1
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
react: 18.3.1
optionalDependencies:
@@ -19081,32 +19047,18 @@ snapshots:
dependencies:
'@swc/counter': 0.1.3
- tslib: 2.8.0
+ tslib: 2.8.1
'@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:
@@ -19365,7 +19317,7 @@ snapshots:
'@testing-library/[email protected]':
dependencies:
'@babel/code-frame': 7.24.7
- '@babel/runtime': 7.25.6
+ '@babel/runtime': 7.27.1
'@types/aria-query': 5.0.4
aria-query: 5.3.0
chalk: 4.1.2
@@ -19404,21 +19356,11 @@ 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
@@ -20089,9 +20031,9 @@ snapshots:
loupe: 3.1.3
tinyrainbow: 1.2.0
dependencies:
jose: 5.6.3
pluralize: 8.0.0
transitivePeerDependencies:
@@ -20799,6 +20741,8 @@ snapshots:
+
dependencies:
custom-media-element: 1.4.2
@@ -21089,6 +21033,8 @@ snapshots:
+
@@ -21422,9 +21368,9 @@ snapshots:
'@planetscale/database': 1.19.0
mysql2: 3.11.3
dependencies:
- zod: 3.24.2
+ zod: 3.24.3
dependencies:
@@ -22713,9 +22659,9 @@ snapshots:
dependencies:
dependencies:
@@ -23303,7 +23249,7 @@ snapshots:
dependencies:
'@peculiar/webcrypto': 1.5.0
'@types/cookie': 0.5.4
@@ -23314,7 +23260,7 @@ snapshots:
iron-webcrypto: 0.2.8
optionalDependencies:
express: 5.0.1
dependencies:
@@ -24518,7 +24464,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.25.6
+ '@babel/runtime': 7.27.1
'@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])
@@ -25272,6 +25218,8 @@ snapshots:
+
@@ -25280,46 +25228,29 @@ 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.25.6
+ '@babel/runtime': 7.27.1
'@panva/hkdf': 1.2.1
- cookie: 0.5.0
+ cookie: 0.7.2
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])
+ openid-client: 5.7.1
+ preact: 10.26.5
+ 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:
@@ -25340,62 +25271,36 @@ 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.9
+ '@next/env': 14.2.28
'@swc/helpers': 0.5.5
busboy: 1.6.0
- caniuse-lite: 1.0.30001664
+ caniuse-lite: 1.0.30001716
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.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
+ '@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
'@opentelemetry/api': 1.9.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dependencies:
cors: 2.8.5
dependencies:
@@ -25720,6 +25625,8 @@ snapshots:
+
dependencies:
ee-first: 1.1.1
@@ -25773,12 +25680,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.0.3
+ oidc-token-hash: 5.1.0
dependencies:
@@ -26062,8 +25969,8 @@ snapshots:
dependencies:
- nanoid: 3.3.7
- picocolors: 1.1.0
+ nanoid: 3.3.11
+ picocolors: 1.1.1
source-map-js: 1.2.1
@@ -26091,13 +25998,15 @@ snapshots:
transitivePeerDependencies:
- debug
dependencies:
- preact: 10.24.1
+ preact: 10.26.5
pretty-format: 3.8.0
+
@@ -28408,7 +28317,7 @@ snapshots:
unenv: 1.10.0
- zod: 3.24.2
+ zod: 3.24.3
transitivePeerDependencies:
- '@azure/app-configuration'
- '@azure/cosmos'
@@ -28845,14 +28754,8 @@ snapshots:
dependencies:
zod: 3.24.2
- dependencies:
- zod: 3.24.3
-
-
diff --git a/tsconfig.json b/tsconfig.json
index adc2259a6..48d23e3f2 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,6 +4,7 @@
{ "path": "./packages/ui" },
{ "path": "./packages/ui-solid" },
{ "path": "./packages/utils" },
- { "path": "./apps/desktop" }
+ { "path": "./apps/desktop" },
+ { "path": "./apps/web" }
]
}