Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Loom importer backend (#1034)
Brendan Allan64bf989387b0
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex ebeaf0d13..cfc69739b 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -5,7 +5,7 @@"dev": "pnpm -w cap-setup && dotenv -e ../../.env -- pnpm run preparescript && dotenv -e ../../.env -- pnpm tauri dev","build:tauri": "dotenv -e ../../.env -- pnpm run preparescript && dotenv -e ../../.env -- pnpm tauri build","preparescript": "node scripts/prepare.js",- "localdev": "dotenv -e ../../.env -- vinxi dev --port 3001",+ "localdev": "dotenv -e ../../.env -- vinxi dev --port 3002","build": "vinxi build","tauri": "tauri"},@@ -54,7 +54,7 @@"@ts-rest/core": "^3.52.1","@types/react-tooltip": "^4.2.4","cva": "npm:class-variance-authority@^0.7.0",- "effect": "^3.17.7",+ "effect": "^3.17.13","mp4box": "^0.5.2","posthog-js": "^1.215.3","solid-js": "^1.9.3",diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.jsonindex 214c68a74..5f2a676eb 100644--- a/apps/desktop/src-tauri/tauri.conf.json+++ b/apps/desktop/src-tauri/tauri.conf.json@@ -5,7 +5,7 @@"mainBinaryName": "Cap - Development","build": {"beforeDevCommand": "pnpm localdev",- "devUrl": "http://localhost:3001",+ "devUrl": "http://localhost:3002","beforeBuildCommand": "pnpm turbo build --filter @cap/desktop","frontendDist": "../.output/public"},diff --git a/apps/discord-bot/package.json b/apps/discord-bot/package.jsonindex 96ddf0e7b..f2b68587c 100644--- a/apps/discord-bot/package.json+++ b/apps/discord-bot/package.json@@ -3,7 +3,7 @@"private": true,"scripts": {"deploy": "wrangler deploy",- "dev": "wrangler dev",+ "bot-dev": "wrangler dev","start": "wrangler dev","test": "vitest","cf-typegen": "wrangler types"diff --git a/apps/tasks/package.json b/apps/tasks/package.jsonindex 30ee20f4d..2010d3489 100644--- a/apps/tasks/package.json+++ b/apps/tasks/package.json@@ -5,7 +5,6 @@"main": "src/index.ts","scripts": {"start": "node dist/src/index.js",- "dev": "ts-node src/index.ts","build": "tsc","start:dist": "node dist/src/index.js","test": "jest",diff --git a/apps/web/actions/caps/share.ts b/apps/web/actions/caps/share.tsindex c85d0dedf..de025712d 100644--- a/apps/web/actions/caps/share.ts+++ b/apps/web/actions/caps/share.ts@@ -11,11 +11,12 @@ import {spaceVideos,videos,} from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { and, eq, inArray } from "drizzle-orm";import { revalidatePath } from "next/cache";interface ShareCapParams {- capId: string;+ capId: Video.VideoId;spaceIds: string[];public?: boolean;}diff --git a/apps/web/actions/folders/moveVideoToFolder.ts b/apps/web/actions/folders/moveVideoToFolder.tsindex 469dc43e0..86a88fbbd 100644--- a/apps/web/actions/folders/moveVideoToFolder.ts+++ b/apps/web/actions/folders/moveVideoToFolder.ts@@ -3,6 +3,7 @@import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { folders, spaceVideos, videos } from "@cap/database/schema";+import type { Folder, Video } from "@cap/web-domain";import { and, eq } from "drizzle-orm";import { revalidatePath } from "next/cache";@@ -11,8 +12,8 @@ export async function moveVideoToFolder({folderId,spaceId,}: {- videoId: string;- folderId: string | null;+ videoId: Video.VideoId;+ folderId: Folder.FolderId | null;spaceId?: string | null;}) {const user = await getCurrentUser();@@ -23,7 +24,7 @@ export async function moveVideoToFolder({// Get the current video to know its original folderconst [currentVideo] = await db()- .select({ folderId: videos.folderId })+ .select({ folderId: videos.folderId, id: videos.id }).from(videos).where(eq(videos.id, videoId));diff --git a/apps/web/actions/folders/updateFolder.ts b/apps/web/actions/folders/updateFolder.tsindex c5ad958fb..ff1548f57 100644--- a/apps/web/actions/folders/updateFolder.ts+++ b/apps/web/actions/folders/updateFolder.ts@@ -3,6 +3,7 @@import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { folders } from "@cap/database/schema";+import type { Folder } from "@cap/web-domain";import { and, eq } from "drizzle-orm";import { revalidatePath } from "next/cache";@@ -12,10 +13,10 @@ export async function updateFolder({color,parentId,}: {- folderId: string;+ folderId: Folder.FolderId;name?: string;color?: "normal" | "blue" | "red" | "yellow";- parentId?: string | null;+ parentId?: Folder.FolderId | null;}) {const user = await getCurrentUser();if (!user || !user.activeOrganizationId)diff --git a/apps/web/actions/organizations/add-videos.ts b/apps/web/actions/organizations/add-videos.tsindex 080a4ea1e..357123808 100644--- a/apps/web/actions/organizations/add-videos.ts+++ b/apps/web/actions/organizations/add-videos.ts@@ -9,12 +9,13 @@ import {sharedVideos,videos,} from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { and, eq, inArray } from "drizzle-orm";import { revalidatePath } from "next/cache";export async function addVideosToOrganization(organizationId: string,- videoIds: string[],+ videoIds: Video.VideoId[],) {try {const user = await getCurrentUser();diff --git a/apps/web/actions/organizations/remove-videos.ts b/apps/web/actions/organizations/remove-videos.tsindex bfebb3e9c..307384fc3 100644--- a/apps/web/actions/organizations/remove-videos.ts+++ b/apps/web/actions/organizations/remove-videos.ts@@ -9,12 +9,13 @@ import {sharedVideos,videos,} from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { and, eq, inArray } from "drizzle-orm";import { revalidatePath } from "next/cache";export async function removeVideosFromOrganization(organizationId: string,- videoIds: string[],+ videoIds: Video.VideoId[],) {try {const user = await getCurrentUser();diff --git a/apps/web/actions/screenshots/get-screenshot.ts b/apps/web/actions/screenshots/get-screenshot.tsdeleted file mode 100644index b6bc3f345..000000000--- a/apps/web/actions/screenshots/get-screenshot.ts+++ /dev/null@@ -1,67 +0,0 @@-import { db } from "@cap/database";-import { getCurrentUser } from "@cap/database/auth/session";-import { s3Buckets, videos } from "@cap/database/schema";-import { buildEnv, serverEnv } from "@cap/env";-import { S3_BUCKET_URL } from "@cap/utils";-import { eq } from "drizzle-orm";-import { createBucketProvider } from "@/utils/s3";--export async function getScreenshot(userId: string, screenshotId: string) {- if (!userId || !screenshotId) {- throw new Error("userId or screenshotId not supplied");- }-- const query = await db()- .select({ video: videos, bucket: s3Buckets })- .from(videos)- .leftJoin(s3Buckets, eq(videos.bucket, s3Buckets.id))- .where(eq(videos.id, screenshotId));-- if (query.length === 0) {- throw new Error("Video does not exist");- }-- const result = query[0];- if (!result?.video) {- throw new Error("Video not found");- }-- const { video, bucket } = result;-- if (video.public === false) {- const user = await getCurrentUser();-- if (!user || user.id !== video.ownerId) {- throw new Error("Video is not public");- }- }-- const bucketProvider = await createBucketProvider(bucket);- const screenshotPrefix = `${userId}/${screenshotId}/`;-- try {- const objects = await bucketProvider.listObjects({- prefix: screenshotPrefix,- });-- const screenshot = objects.Contents?.find((object) =>- object.Key?.endsWith(".png"),- );-- if (!screenshot) {- throw new Error("Screenshot not found");- }-- let screenshotUrl: string;-- if (video.awsBucket !== serverEnv().CAP_AWS_BUCKET) {- screenshotUrl = await bucketProvider.getSignedObjectUrl(screenshot.Key!);- } else {- screenshotUrl = `${S3_BUCKET_URL}/${screenshot.Key}`;- }-- return { url: screenshotUrl };- } catch (error) {- throw new Error(`Error generating screenshot URL: ${error}`);- }-}diff --git a/apps/web/actions/spaces/add-videos.ts b/apps/web/actions/spaces/add-videos.tsindex 651d88cdb..0e5e77aec 100644--- a/apps/web/actions/spaces/add-videos.ts+++ b/apps/web/actions/spaces/add-videos.ts@@ -4,10 +4,14 @@ import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { nanoId } from "@cap/database/helpers";import { spaces, spaceVideos, videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { and, eq, inArray } from "drizzle-orm";import { revalidatePath } from "next/cache";-export async function addVideosToSpace(spaceId: string, videoIds: string[]) {+export async function addVideosToSpace(+ spaceId: string,+ videoIds: Video.VideoId[],+) {try {const user = await getCurrentUser();diff --git a/apps/web/actions/spaces/remove-videos.ts b/apps/web/actions/spaces/remove-videos.tsindex 27454f3b8..0f252bfc9 100644--- a/apps/web/actions/spaces/remove-videos.ts+++ b/apps/web/actions/spaces/remove-videos.ts@@ -3,12 +3,13 @@import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { folders, spaceVideos, videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { and, eq, inArray } from "drizzle-orm";import { revalidatePath } from "next/cache";export async function removeVideosFromSpace(spaceId: string,- videoIds: string[],+ videoIds: Video.VideoId[],) {try {const user = await getCurrentUser();diff --git a/apps/web/actions/video/upload.ts b/apps/web/actions/video/upload.tsindex c77820242..6ab1a3c11 100644--- a/apps/web/actions/video/upload.ts+++ b/apps/web/actions/video/upload.ts@@ -10,6 +10,7 @@ import { nanoId } from "@cap/database/helpers";import { s3Buckets, videos, videoUploads } from "@cap/database/schema";import { buildEnv, NODE_ENV, serverEnv } from "@cap/env";import { userIsPro } from "@cap/utils";+import { type Folder, Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { revalidatePath } from "next/cache";import { dub } from "@/utils/dub";@@ -156,14 +157,14 @@ export async function createVideoAndGetUploadUrl({isUpload = false,folderId,}: {- videoId?: string;+ videoId?: Video.VideoId;duration?: number;resolution?: string;videoCodec?: string;audioCodec?: string;isScreenshot?: boolean;isUpload?: boolean;- folderId?: string;+ folderId?: Folder.FolderId;}) {const user = await getCurrentUser();@@ -211,7 +212,7 @@ export async function createVideoAndGetUploadUrl({}}- const idToUse = videoId || nanoId();+ const idToUse = Video.VideoId.make(videoId || nanoId());const bucket = await createBucketProvider(customBucket);diff --git a/apps/web/actions/videos/download.ts b/apps/web/actions/videos/download.tsindex a32ae5afd..173c8a222 100644--- a/apps/web/actions/videos/download.ts+++ b/apps/web/actions/videos/download.ts@@ -3,10 +3,11 @@import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { createBucketProvider } from "@/utils/s3";-export async function downloadVideo(videoId: string) {+export async function downloadVideo(videoId: Video.VideoId) {const user = await getCurrentUser();if (!user || !videoId) {diff --git a/apps/web/actions/videos/edit-date.ts b/apps/web/actions/videos/edit-date.tsindex d0ebbfae7..1d3565cb6 100644--- a/apps/web/actions/videos/edit-date.ts+++ b/apps/web/actions/videos/edit-date.ts@@ -4,10 +4,11 @@ import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { videos } from "@cap/database/schema";import type { VideoMetadata } from "@cap/database/types";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { revalidatePath } from "next/cache";-export async function editDate(videoId: string, date: string) {+export async function editDate(videoId: Video.VideoId, date: string) {const user = await getCurrentUser();if (!user || !date || !videoId) {diff --git a/apps/web/actions/videos/edit-title.ts b/apps/web/actions/videos/edit-title.tsindex 7760ebac3..d88a267d5 100644--- a/apps/web/actions/videos/edit-title.ts+++ b/apps/web/actions/videos/edit-title.ts@@ -3,10 +3,11 @@import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { revalidatePath } from "next/cache";-export async function editTitle(videoId: string, title: string) {+export async function editTitle(videoId: Video.VideoId, title: string) {const user = await getCurrentUser();if (!user || !title || !videoId) {diff --git a/apps/web/actions/videos/edit-transcript.ts b/apps/web/actions/videos/edit-transcript.tsindex 038363824..48e2d857b 100644--- a/apps/web/actions/videos/edit-transcript.ts+++ b/apps/web/actions/videos/edit-transcript.ts@@ -1,15 +1,15 @@"use server";-import { GetObjectCommand, PutObjectCommand } from "@aws-sdk/client-s3";import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { s3Buckets, videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { revalidatePath } from "next/cache";import { createBucketProvider } from "@/utils/s3";export async function editTranscriptEntry(- videoId: string,+ videoId: Video.VideoId,entryId: number,newText: string,): Promise<{ success: boolean; message: string }> {diff --git a/apps/web/actions/videos/get-og-image.tsx b/apps/web/actions/videos/get-og-image.tsxindex 0eafb0aa8..9f6b7c391 100644--- a/apps/web/actions/videos/get-og-image.tsx+++ b/apps/web/actions/videos/get-og-image.tsx@@ -1,10 +1,11 @@import { db } from "@cap/database";import { s3Buckets, videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { ImageResponse } from "next/og";import { createBucketProvider } from "@/utils/s3";-export async function generateVideoOgImage(videoId: string) {+export async function generateVideoOgImage(videoId: Video.VideoId) {const videoData = await getData(videoId);if (!videoData) {@@ -145,7 +146,7 @@ export async function generateVideoOgImage(videoId: string) {);}-async function getData(videoId: string) {+async function getData(videoId: Video.VideoId) {const query = await db().select({video: videos,diff --git a/apps/web/actions/videos/get-transcript.ts b/apps/web/actions/videos/get-transcript.tsindex ca94aea1a..3726bb3ad 100644--- a/apps/web/actions/videos/get-transcript.ts+++ b/apps/web/actions/videos/get-transcript.ts@@ -3,11 +3,12 @@import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { s3Buckets, videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { createBucketProvider } from "@/utils/s3";export async function getTranscript(- videoId: string,+ videoId: Video.VideoId,): Promise<{ success: boolean; content?: string; message: string }> {const user = await getCurrentUser();diff --git a/apps/web/actions/videos/new-comment.ts b/apps/web/actions/videos/new-comment.tsindex ea0e0b63a..b20d6128c 100644--- a/apps/web/actions/videos/new-comment.ts+++ b/apps/web/actions/videos/new-comment.ts@@ -4,12 +4,13 @@ import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { nanoId } from "@cap/database/helpers";import { comments } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { revalidatePath } from "next/cache";import { createNotification } from "@/lib/Notification";export async function newComment(data: {content: string;- videoId: string;+ videoId: Video.VideoId;type: "text" | "emoji";parentCommentId: string;}) {diff --git a/apps/web/actions/videos/password.ts b/apps/web/actions/videos/password.tsindex 3396a242c..d50d8ea01 100644--- a/apps/web/actions/videos/password.ts+++ b/apps/web/actions/videos/password.ts@@ -4,11 +4,15 @@ import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { encrypt, hashPassword, verifyPassword } from "@cap/database/crypto";import { videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { revalidatePath } from "next/cache";import { cookies } from "next/headers";-export async function setVideoPassword(videoId: string, password: string) {+export async function setVideoPassword(+ videoId: Video.VideoId,+ password: string,+) {try {const user = await getCurrentUser();@@ -42,7 +46,7 @@ export async function setVideoPassword(videoId: string, password: string) {}}-export async function removeVideoPassword(videoId: string) {+export async function removeVideoPassword(videoId: Video.VideoId) {try {const user = await getCurrentUser();@@ -75,7 +79,10 @@ export async function removeVideoPassword(videoId: string) {}}-export async function verifyVideoPassword(videoId: string, password: string) {+export async function verifyVideoPassword(+ videoId: Video.VideoId,+ password: string,+) {try {if (!videoId || typeof password !== "string")throw new Error("Missing data");diff --git a/apps/web/app/(org)/dashboard/admin/AdminDashboardClient.tsx b/apps/web/app/(org)/dashboard/admin/AdminDashboardClient.tsxdeleted file mode 100644index 1cbc88253..000000000--- a/apps/web/app/(org)/dashboard/admin/AdminDashboardClient.tsx+++ /dev/null@@ -1,110 +0,0 @@-"use client";--import { useEffect, useState } from "react";-import { getPaidUsersStatsInRange, getUsersCreatedInRange } from "./actions";-import type { DateRange } from "./dateRangeUtils";-import UserLookup from "./UserLookup";--type Stats = {- newUsers: number | null;- paidUsersStats: {- totalPaidUsers: number;- usersWhoCreatedVideoFirst: number;- percentage: number;- } | null;-};--export default function AdminDashboardClient() {- const [dateRange, setDateRange] = useState<DateRange>("today");- const [stats, setStats] = useState<Stats>({- newUsers: null,- paidUsersStats: null,- });- const [loading, setLoading] = useState(true);-- useEffect(() => {- const fetchStats = async () => {- setLoading(true);- const [newUsers, paidUsersStats] = await Promise.all([- getUsersCreatedInRange(dateRange),- getPaidUsersStatsInRange(dateRange),- ]);- setStats({ newUsers, paidUsersStats });- setLoading(false);- };-- fetchStats();- }, [dateRange]);-- return (- <div className="max-w-7xl mx-auto p-6">- <div className="flex items-center justify-between mb-8">- <h1 className="text-2xl font-medium">Admin Dashboard</h1>- <select- value={dateRange}- onChange={(e) => setDateRange(e.target.value as DateRange)}- className="px-4 py-2 border border-gray-300 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500"- >- <option value="today">Today</option>- <option value="yesterday">Yesterday</option>- <option value="last7days">Last 7 days</option>- <option value="thisMonth">This month</option>- <option value="allTime">All time</option>- </select>- </div>-- <div className="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">- <div className="bg-white rounded-lg shadow p-6">- <h2 className="text-sm font-medium text-gray-600 mb-2">New Users</h2>- {loading ? (- <div className="h-9 bg-gray-200 rounded animate-pulse"></div>- ) : (- <p className="text-3xl font-medium text-gray-900">- {stats.newUsers || 0}- </p>- )}- </div>-- <div className="bg-white rounded-lg shadow p-6">- <h2 className="text-sm font-medium text-gray-600 mb-2">- New Paid Users- </h2>- {loading ? (- <div className="h-9 bg-gray-200 rounded animate-pulse"></div>- ) : (- <p className="text-3xl font-medium text-gray-900">- {stats.paidUsersStats?.totalPaidUsers || 0}- </p>- )}- </div>-- <div className="bg-white rounded-lg shadow p-6">- <h2 className="text-sm font-medium text-gray-600 mb-2">- Created Video Before Paying- </h2>- {loading ? (- <div>- <div className="h-9 bg-gray-200 rounded animate-pulse mb-2"></div>- <div className="h-4 bg-gray-200 rounded animate-pulse w-3/4"></div>- </div>- ) : (- <>- <p className="text-3xl font-medium text-gray-900">- {stats.paidUsersStats?.percentage || 0}%- </p>- <p className="text-xs text-gray-500 mt-1">- {stats.paidUsersStats?.usersWhoCreatedVideoFirst || 0} of{" "}- {stats.paidUsersStats?.totalPaidUsers || 0} users- </p>- </>- )}- </div>- </div>-- <div className="bg-white rounded-lg shadow p-6">- <h2 className="text-lg font-medium mb-4">User Lookup</h2>- <UserLookup />- </div>- </div>- );-}diff --git a/apps/web/app/(org)/dashboard/admin/UserLookup.tsx b/apps/web/app/(org)/dashboard/admin/UserLookup.tsxdeleted file mode 100644index 2f92a0f2b..000000000--- a/apps/web/app/(org)/dashboard/admin/UserLookup.tsx+++ /dev/null@@ -1,64 +0,0 @@-"use client";--import { useState } from "react";-import { lookupUserById } from "./actions";--export default function UserLookup() {- const [data, setData] = useState<any>(null);- const [loading, setLoading] = useState(false);-- const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => {- e.preventDefault();- setLoading(true);- try {- const formData = new FormData(e.currentTarget);- const result = await lookupUserById(formData);- setData(result);- } catch (error) {- console.error("Error looking up user:", error);- } finally {- setLoading(false);- }- };-- return (- <div>- <form onSubmit={handleSubmit} className="space-y-4">- <div>- <label- htmlFor="userId"- className="block text-sm font-medium text-gray-700 mb-1"- >- Lookup user by ID- </label>- <div className="flex gap-2">- <input- type="text"- name="id"- id="userId"- className="flex-1 px-3 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"- placeholder="Enter user ID"- required- />- <button- type="submit"- disabled={loading}- className="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"- >- {loading ? "Loading..." : "Lookup"}- </button>- </div>- </div>- </form>-- {data && (- <div className="mt-6 p-4 bg-gray-50 rounded-md">- <h3 className="text-sm font-medium text-gray-700 mb-2">User Data:</h3>- <pre className="text-xs text-gray-600 overflow-x-auto">- {JSON.stringify(data, null, 2)}- </pre>- </div>- )}- </div>- );-}diff --git a/apps/web/app/(org)/dashboard/admin/actions.ts b/apps/web/app/(org)/dashboard/admin/actions.tsdeleted file mode 100644index 6fcdb0eba..000000000--- a/apps/web/app/(org)/dashboard/admin/actions.ts+++ /dev/null@@ -1,301 +0,0 @@-"use server";--import { db } from "@cap/database";-import { getCurrentUser } from "@cap/database/auth/session";-import { users, videos } from "@cap/database/schema";-import { stripe } from "@cap/utils";-import { and, eq, gte, isNotNull, lte, or, sql } from "drizzle-orm";-import { type DateRange, getDateRangeFilter } from "./dateRangeUtils";--export async function lookupUserById(data: FormData) {- const currentUser = await getCurrentUser();- if (currentUser?.email !== "[email protected]") return;-- const [user] = await db()- .select()- .from(users)- .where(eq(users.id, data.get("id") as string));-- return user;-}--export async function getUsersCreatedToday() {- const currentUser = await getCurrentUser();- if (currentUser?.email !== "[email protected]") return null;-- const startOfToday = new Date();- startOfToday.setHours(0, 0, 0, 0);-- const result = await db()- .select({ count: sql<number>`count(*)` })- .from(users)- .where(gte(users.created_at, startOfToday));-- return result[0]?.count || 0;-}--export async function getUsersCreatedInRange(dateRange: DateRange) {- const currentUser = await getCurrentUser();- if (currentUser?.email !== "[email protected]") return null;-- const { start, end } = getDateRangeFilter(dateRange);-- const result = await db()- .select({ count: sql<number>`count(*)` })- .from(users)- .where(and(gte(users.created_at, start), lte(users.created_at, end)));-- return result[0]?.count || 0;-}--export async function getPaidUsersStats() {- const currentUser = await getCurrentUser();- if (currentUser?.email !== "[email protected]") return null;-- // Get all users with active subscriptions (including third-party)- const paidUsers = await db()- .select({- id: users.id,- email: users.email,- stripeCustomerId: users.stripeCustomerId,- stripeSubscriptionStatus: users.stripeSubscriptionStatus,- stripeSubscriptionId: users.stripeSubscriptionId,- thirdPartyStripeSubscriptionId: users.thirdPartyStripeSubscriptionId,- created_at: users.created_at,- })- .from(users)- .where(- or(- and(- isNotNull(users.stripeSubscriptionId),- or(- eq(users.stripeSubscriptionStatus, "active"),- eq(users.stripeSubscriptionStatus, "trialing"),- ),- ),- isNotNull(users.thirdPartyStripeSubscriptionId),- ),- );-- // For each paid user, check if they created videos before subscribing- const paidUsersWithVideoCheck = await Promise.all(- paidUsers.map(async (user) => {- // Get subscription start date from Stripe- let subscriptionStartDate: Date | null = null;-- if (- user.stripeCustomerId &&- user.stripeSubscriptionId &&- !user.thirdPartyStripeSubscriptionId- ) {- try {- const subscription = await stripe().subscriptions.retrieve(- user.stripeSubscriptionId,- );- subscriptionStartDate = new Date(subscription.created * 1000);- } catch (error) {- console.error(- `Failed to fetch subscription for user ${user.id}:`,- error,- );- // For third-party subscriptions or errors, assume they subscribed when first video was created- const firstVideo = await db()- .select({ createdAt: videos.createdAt })- .from(videos)- .where(eq(videos.ownerId, user.id))- .orderBy(videos.createdAt)- .limit(1);-- if (firstVideo[0]) {- // Add 1 day to first video as a conservative estimate- subscriptionStartDate = new Date(firstVideo[0].createdAt);- subscriptionStartDate.setDate(subscriptionStartDate.getDate() + 1);- }- }- } else if (user.thirdPartyStripeSubscriptionId) {- // For third-party subscriptions, we can't get the exact date from Stripe- // So we'll use a conservative approach: assume they subscribed after their first video- const firstVideo = await db()- .select({ createdAt: videos.createdAt })- .from(videos)- .where(eq(videos.ownerId, user.id))- .orderBy(videos.createdAt)- .limit(1);-- if (firstVideo[0]) {- // Add 1 day to first video as a conservative estimate- subscriptionStartDate = new Date(firstVideo[0].createdAt);- subscriptionStartDate.setDate(subscriptionStartDate.getDate() + 1);- }- }-- // Check if user created videos before subscription- let createdVideoBeforeSubscription = false;- if (subscriptionStartDate) {- const videosBeforeSubscription = await db()- .select({ count: sql<number>`count(*)` })- .from(videos)- .where(- and(- eq(videos.ownerId, user.id),- sql`${videos.createdAt} < ${subscriptionStartDate}`,- ),- );-- createdVideoBeforeSubscription =- (videosBeforeSubscription[0]?.count || 0) > 0;- }-- return {- ...user,- subscriptionStartDate,- createdVideoBeforeSubscription,- };- }),- );-- const totalPaidUsers = paidUsersWithVideoCheck.length;- const usersWhoCreatedVideoFirst = paidUsersWithVideoCheck.filter(- (user) => user.createdVideoBeforeSubscription,- ).length;-- const percentage =- totalPaidUsers > 0- ? Math.round((usersWhoCreatedVideoFirst / totalPaidUsers) * 100)- : 0;-- return {- totalPaidUsers,- usersWhoCreatedVideoFirst,- percentage,- };-}--export async function getPaidUsersStatsInRange(dateRange: DateRange) {- const currentUser = await getCurrentUser();- if (currentUser?.email !== "[email protected]") return null;-- const { start, end } = getDateRangeFilter(dateRange);-- // Get paid users who joined within the date range- const paidUsers = await db()- .select({- id: users.id,- email: users.email,- stripeCustomerId: users.stripeCustomerId,- stripeSubscriptionStatus: users.stripeSubscriptionStatus,- stripeSubscriptionId: users.stripeSubscriptionId,- thirdPartyStripeSubscriptionId: users.thirdPartyStripeSubscriptionId,- created_at: users.created_at,- })- .from(users)- .where(- and(- or(- and(- isNotNull(users.stripeSubscriptionId),- or(- eq(users.stripeSubscriptionStatus, "active"),- eq(users.stripeSubscriptionStatus, "trialing"),- ),- ),- isNotNull(users.thirdPartyStripeSubscriptionId),- ),- gte(users.created_at, start),- lte(users.created_at, end),- ),- );-- // For each paid user, check if they created videos before subscribing- const paidUsersWithVideoCheck = await Promise.all(- paidUsers.map(async (user) => {- // Get subscription start date from Stripe- let subscriptionStartDate: Date | null = null;-- if (- user.stripeCustomerId &&- user.stripeSubscriptionId &&- !user.thirdPartyStripeSubscriptionId- ) {- try {- const subscription = await stripe().subscriptions.retrieve(- user.stripeSubscriptionId,- );- subscriptionStartDate = new Date(subscription.created * 1000);- } catch (error) {- console.error(- `Failed to fetch subscription for user ${user.id}:`,- error,- );- // For third-party subscriptions or errors, assume they subscribed when first video was created- const firstVideo = await db()- .select({ createdAt: videos.createdAt })- .from(videos)- .where(eq(videos.ownerId, user.id))- .orderBy(videos.createdAt)- .limit(1);-- if (firstVideo[0]) {- // Add 1 day to first video as a conservative estimate- subscriptionStartDate = new Date(firstVideo[0].createdAt);- subscriptionStartDate.setDate(subscriptionStartDate.getDate() + 1);- }- }- } else if (user.thirdPartyStripeSubscriptionId) {- // For third-party subscriptions, we can't get the exact date from Stripe- // So we'll use a conservative approach: assume they subscribed after their first video- const firstVideo = await db()- .select({ createdAt: videos.createdAt })- .from(videos)- .where(eq(videos.ownerId, user.id))- .orderBy(videos.createdAt)- .limit(1);-- if (firstVideo[0]) {- // Add 1 day to first video as a conservative estimate- subscriptionStartDate = new Date(firstVideo[0].createdAt);- subscriptionStartDate.setDate(subscriptionStartDate.getDate() + 1);- }- }-- // Check if user created videos before subscription- let createdVideoBeforeSubscription = false;- if (subscriptionStartDate) {- const videosBeforeSubscription = await db()- .select({ count: sql<number>`count(*)` })- .from(videos)- .where(- and(- eq(videos.ownerId, user.id),- sql`${videos.createdAt} < ${subscriptionStartDate}`,- ),- );-- createdVideoBeforeSubscription =- (videosBeforeSubscription[0]?.count || 0) > 0;- }-- return {- ...user,- subscriptionStartDate,- createdVideoBeforeSubscription,- };- }),- );-- const totalPaidUsers = paidUsersWithVideoCheck.length;- const usersWhoCreatedVideoFirst = paidUsersWithVideoCheck.filter(- (user) => user.createdVideoBeforeSubscription,- ).length;-- const percentage =- totalPaidUsers > 0- ? Math.round((usersWhoCreatedVideoFirst / totalPaidUsers) * 100)- : 0;-- return {- totalPaidUsers,- usersWhoCreatedVideoFirst,- percentage,- };-}diff --git a/apps/web/app/(org)/dashboard/admin/dateRangeUtils.ts b/apps/web/app/(org)/dashboard/admin/dateRangeUtils.tsdeleted file mode 100644index 47c897e2e..000000000--- a/apps/web/app/(org)/dashboard/admin/dateRangeUtils.ts+++ /dev/null@@ -1,51 +0,0 @@-export type DateRange =- | "today"- | "yesterday"- | "last7days"- | "thisMonth"- | "allTime";--export function getDateRangeFilter(range: DateRange): {- start: Date;- end: Date;-} {- const now = new Date();- const today = new Date(now.getFullYear(), now.getMonth(), now.getDate());-- switch (range) {- case "today":- return {- start: today,- end: new Date(today.getTime() + 24 * 60 * 60 * 1000),- };- case "yesterday": {- const yesterday = new Date(today);- yesterday.setDate(yesterday.getDate() - 1);- return {- start: yesterday,- end: today,- };- }- case "last7days": {- const last7Days = new Date(today);- last7Days.setDate(last7Days.getDate() - 7);- return {- start: last7Days,- end: new Date(today.getTime() + 24 * 60 * 60 * 1000),- };- }- case "thisMonth": {- const monthStart = new Date(now.getFullYear(), now.getMonth(), 1);- const monthEnd = new Date(now.getFullYear(), now.getMonth() + 1, 1);- return {- start: monthStart,- end: monthEnd,- };- }- case "allTime":- return {- start: new Date(0),- end: new Date(),- };- }-}diff --git a/apps/web/app/(org)/dashboard/admin/loading.tsx b/apps/web/app/(org)/dashboard/admin/loading.tsxdeleted file mode 100644index 55e7cd314..000000000--- a/apps/web/app/(org)/dashboard/admin/loading.tsx+++ /dev/null@@ -1,40 +0,0 @@-export default function AdminDashboardLoading() {- return (- <div className="max-w-7xl mx-auto p-6">- <h1 className="text-2xl font-medium mb-8">Admin Dashboard</h1>-- <div className="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">- <div className="bg-white rounded-lg shadow p-6">- <div className="animate-pulse">- <div className="h-4 bg-gray-200 rounded w-3/4 mb-2"></div>- <div className="h-8 bg-gray-300 rounded w-1/2"></div>- </div>- </div>-- <div className="bg-white rounded-lg shadow p-6">- <div className="animate-pulse">- <div className="h-4 bg-gray-200 rounded w-3/4 mb-2"></div>- <div className="h-8 bg-gray-300 rounded w-1/2"></div>- </div>- </div>-- <div className="bg-white rounded-lg shadow p-6">- <div className="animate-pulse">- <div className="h-4 bg-gray-200 rounded w-3/4 mb-2"></div>- <div className="h-8 bg-gray-300 rounded w-1/2"></div>- </div>- </div>- </div>-- <div className="bg-white rounded-lg shadow p-6">- <div className="animate-pulse">- <div className="h-5 bg-gray-200 rounded w-1/4 mb-4"></div>- <div className="space-y-2">- <div className="h-4 bg-gray-100 rounded w-full"></div>- <div className="h-4 bg-gray-100 rounded w-full"></div>- </div>- </div>- </div>- </div>- );-}diff --git a/apps/web/app/(org)/dashboard/admin/page.tsx b/apps/web/app/(org)/dashboard/admin/page.tsxdeleted file mode 100644index 1ba406285..000000000--- a/apps/web/app/(org)/dashboard/admin/page.tsx+++ /dev/null@@ -1,13 +0,0 @@-import { getCurrentUser } from "@cap/database/auth/session";-import { redirect } from "next/navigation";-import AdminDashboardClient from "./AdminDashboardClient";--export default async function AdminDashboard() {- const currentUser = await getCurrentUser();-- if (currentUser?.email !== "[email protected]") {- redirect("/dashboard");- }-- return <AdminDashboardClient />;-}diff --git a/apps/web/app/(org)/dashboard/caps/components/PasswordDialog.tsx b/apps/web/app/(org)/dashboard/caps/components/PasswordDialog.tsxindex 747717b7a..b8d24cc37 100644--- a/apps/web/app/(org)/dashboard/caps/components/PasswordDialog.tsx+++ b/apps/web/app/(org)/dashboard/caps/components/PasswordDialog.tsx@@ -9,6 +9,7 @@ import {DialogTitle,Input,} from "@cap/ui";+import type { Video } from "@cap/web-domain";import { faLock } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { useMutation } from "@tanstack/react-query";@@ -22,7 +23,7 @@ import {interface PasswordDialogProps {isOpen: boolean;onClose: () => void;- videoId: string;+ videoId: Video.VideoId;hasPassword: boolean;onPasswordUpdated: (protectedStatus: boolean) => void;}diff --git a/apps/web/app/(org)/dashboard/caps/components/SharingDialog.tsx b/apps/web/app/(org)/dashboard/caps/components/SharingDialog.tsxindex ebf3fc183..4eb32644f 100644--- a/apps/web/app/(org)/dashboard/caps/components/SharingDialog.tsx+++ b/apps/web/app/(org)/dashboard/caps/components/SharingDialog.tsx@@ -9,6 +9,7 @@ import {Input,Switch,} from "@cap/ui";+import type { Video } from "@cap/web-domain";import { faCopy, faShareNodes } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { useMutation } from "@tanstack/react-query";@@ -22,12 +23,11 @@ import { shareCap } from "@/actions/caps/share";import { useDashboardContext } from "@/app/(org)/dashboard/Contexts";import type { Spaces } from "@/app/(org)/dashboard/dashboard-data";import { Tooltip } from "@/components/Tooltip";-import { usePublicEnv } from "@/utils/public-env";interface SharingDialogProps {isOpen: boolean;onClose: () => void;- capId: string;+ capId: Video.VideoId;capName: string;sharedSpaces: {id: string;@@ -68,7 +68,7 @@ export const SharingDialog: React.FC<SharingDialogProps> = ({spaceIds,public: isPublic,}: {- capId: string;+ capId: Video.VideoId;spaceIds: string[];public: boolean;}) => {diff --git a/apps/web/app/(org)/dashboard/caps/components/UploadCapButton.tsx b/apps/web/app/(org)/dashboard/caps/components/UploadCapButton.tsxindex d94a0427e..5ca9cc12f 100644--- a/apps/web/app/(org)/dashboard/caps/components/UploadCapButton.tsx+++ b/apps/web/app/(org)/dashboard/caps/components/UploadCapButton.tsx@@ -2,6 +2,7 @@import { Button } from "@cap/ui";import { userIsPro } from "@cap/utils";+import type { Folder } from "@cap/web-domain";import { faUpload } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { useRouter } from "next/navigation";@@ -21,7 +22,7 @@ export const UploadCapButton = ({}: {size?: "sm" | "lg" | "md";grey?: boolean;- folderId?: string;+ folderId?: Folder.FolderId;}) => {const { user } = useDashboardContext();const inputRef = useRef<HTMLInputElement>(null);@@ -83,7 +84,7 @@ export const UploadCapButton = ({async function legacyUploadCap(file: File,- folderId: string | undefined,+ folderId: Folder.FolderId | undefined,setUploadStatus: (state: UploadStatus | undefined) => void,) {const parser = await import("@remotion/media-parser");diff --git a/apps/web/app/(org)/dashboard/caps/page.tsx b/apps/web/app/(org)/dashboard/caps/page.tsxindex 0304cc857..376aa4c1d 100644--- a/apps/web/app/(org)/dashboard/caps/page.tsx+++ b/apps/web/app/(org)/dashboard/caps/page.tsx@@ -23,7 +23,7 @@ export const metadata: Metadata = {};// Helper function to fetch shared spaces data for videos-async function getSharedSpacesForVideos(videoIds: string[]) {+async function getSharedSpacesForVideos(videoIds: Video.VideoId[]) {if (videoIds.length === 0) return {};// Fetch space-level sharingdiff --git a/apps/web/app/(org)/dashboard/folder/[id]/components/BreadcrumbItem.tsx b/apps/web/app/(org)/dashboard/folder/[id]/components/BreadcrumbItem.tsxindex f8b8aa398..30f486272 100644--- a/apps/web/app/(org)/dashboard/folder/[id]/components/BreadcrumbItem.tsx+++ b/apps/web/app/(org)/dashboard/folder/[id]/components/BreadcrumbItem.tsx@@ -1,16 +1,18 @@"use client";+import type { Folder } from "@cap/web-domain";import clsx from "clsx";import Link from "next/link";import { useRouter } from "next/navigation";import { useState } from "react";import { toast } from "sonner";+import { moveVideoToFolder } from "@/actions/folders/moveVideoToFolder";import { useDashboardContext } from "../../../Contexts";import { AllFolders } from "../../../caps/components/Folders";interface BreadcrumbItemProps {- id: string;+ id: Folder.FolderId;name: string;color: "normal" | "blue" | "red" | "yellow";isLast: boolean;diff --git a/apps/web/app/(org)/dashboard/folder/[id]/components/ClientMyCapsLink.tsx b/apps/web/app/(org)/dashboard/folder/[id]/components/ClientMyCapsLink.tsxindex 689fd053b..70ed6af15 100644--- a/apps/web/app/(org)/dashboard/folder/[id]/components/ClientMyCapsLink.tsx+++ b/apps/web/app/(org)/dashboard/folder/[id]/components/ClientMyCapsLink.tsx@@ -1,6 +1,7 @@"use client";import { Avatar } from "@cap/ui";+import type { Video } from "@cap/web-domain";import clsx from "clsx";import Image from "next/image";import Link from "next/link";@@ -48,7 +49,7 @@ export function ClientMyCapsLink() {};const handleDrop = async (- e: React.DragEvent<HTMLAnchorElement> | { id: string; name: string },+ e: React.DragEvent<HTMLAnchorElement> | { id: Video.VideoId; name: string },) => {if ("preventDefault" in e) {e.preventDefault();@@ -74,7 +75,7 @@ export function ClientMyCapsLink() {};// Common function to process the drop for both desktop and mobile- const processDrop = async (capData: { id: string; name: string }) => {+ const processDrop = async (capData: { id: Video.VideoId; name: string }) => {setIsDragOver(false);try {diff --git a/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/AddVideosDialogBase.tsx b/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/AddVideosDialogBase.tsxindex 8ee0fd446..cb3d7a013 100644--- a/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/AddVideosDialogBase.tsx+++ b/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/AddVideosDialogBase.tsx@@ -9,6 +9,7 @@ import {Input,LoadingSpinner,} from "@cap/ui";+import type { Video } from "@cap/web-domain";import { faVideo } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { zodResolver } from "@hookform/resolvers/zod";@@ -28,14 +29,14 @@ interface AddVideosDialogBaseProps {entityId: string;entityName: string;onVideosAdded?: () => void;- addVideos: (entityId: string, videoIds: string[]) => Promise<any>;- removeVideos: (entityId: string, videoIds: string[]) => Promise<any>;+ addVideos: (entityId: string, videoIds: Video.VideoId[]) => Promise<any>;+ removeVideos: (entityId: string, videoIds: Video.VideoId[]) => Promise<any>;getVideos: (limit?: number) => Promise<any>;getEntityVideoIds: (entityId: string) => Promise<any>;}-export interface Video {- id: string;+export interface VideoData {+ id: Video.VideoId;ownerId: string;name: string;createdAt: Date;@@ -62,7 +63,7 @@ const AddVideosDialogBase: React.FC<AddVideosDialogBaseProps> = ({getVideos,getEntityVideoIds,}) => {- const [selectedVideos, setSelectedVideos] = useState<string[]>([]);+ const [selectedVideos, setSelectedVideos] = useState<Video.VideoId[]>([]);const [searchTerm, setSearchTerm] = useState("");const filterTabs = ["all", "added", "notAdded"];@@ -75,7 +76,7 @@ const AddVideosDialogBase: React.FC<AddVideosDialogBaseProps> = ({},});- const { data: videosData, isLoading } = useQuery<Video[]>({+ const { data: videosData, isLoading } = useQuery<VideoData[]>({queryKey: ["user-videos"],queryFn: async () => {const result = await getVideos();@@ -89,7 +90,7 @@ const AddVideosDialogBase: React.FC<AddVideosDialogBaseProps> = ({gcTime: 1000 * 60 * 5,});- const { data: entityVideoIds } = useQuery<string[]>({+ const { data: entityVideoIds } = useQuery<Video.VideoId[]>({queryKey: ["entity-video-ids", entityId],queryFn: async () => {const result = await getEntityVideoIds(entityId);@@ -108,8 +109,8 @@ const AddVideosDialogBase: React.FC<AddVideosDialogBaseProps> = ({toAdd,toRemove,}: {- toAdd: string[];- toRemove: string[];+ toAdd: Video.VideoId[];+ toRemove: Video.VideoId[];}) => {let addResult = { success: true, message: "", error: "" };let removeResult = { success: true, message: "", error: "" };@@ -153,21 +154,25 @@ const AddVideosDialogBase: React.FC<AddVideosDialogBaseProps> = ({const [videoTab, setVideoTab] = useState<(typeof filterTabs)[number]>("all");// Memoize filtered videos for stable reference- const filteredVideos: Video[] = useMemo(() => {+ const filteredVideos: VideoData[] = useMemo(() => {let vids =- videosData?.filter((video: Video) =>+ videosData?.filter((video: VideoData) =>video.name.toLowerCase().includes(searchTerm.toLowerCase()),) || [];if (videoTab === "added") {- vids = vids.filter((video: Video) => entityVideoIds?.includes(video.id));+ vids = vids.filter((video: VideoData) =>+ entityVideoIds?.includes(video.id),+ );} else if (videoTab === "notAdded") {- vids = vids.filter((video: Video) => !entityVideoIds?.includes(video.id));+ vids = vids.filter(+ (video: VideoData) => !entityVideoIds?.includes(video.id),+ );}return vids;}, [videosData, searchTerm, videoTab, entityVideoIds]);// Memoize handleVideoToggle for stable reference- const handleVideoToggle = useCallback((videoId: string) => {+ const handleVideoToggle = useCallback((videoId: Video.VideoId) => {setSelectedVideos((prev) =>prev.includes(videoId)? prev.filter((id) => id !== videoId)diff --git a/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VideoCard.tsx b/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VideoCard.tsxindex a3eaf2806..b1fe3b05b 100644--- a/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VideoCard.tsx+++ b/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VideoCard.tsx@@ -6,10 +6,10 @@ import type React from "react";import { memo } from "react";import { Tooltip } from "@/components/Tooltip";import { VideoThumbnail } from "@/components/VideoThumbnail";-import type { Video } from "./AddVideosDialogBase";+import type { VideoData } from "./AddVideosDialogBase";interface VideoCardProps {- video: Video;+ video: VideoData;isSelected: boolean;onToggle: () => void;isAlreadyInEntity: boolean;diff --git a/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VirtualizedVideoGrid.tsx b/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VirtualizedVideoGrid.tsxindex 1a8a90572..50237a561 100644--- a/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VirtualizedVideoGrid.tsx+++ b/apps/web/app/(org)/dashboard/spaces/[spaceId]/components/VirtualizedVideoGrid.tsx@@ -1,13 +1,14 @@+import type { Video } from "@cap/web-domain";import { Grid, useGrid } from "@virtual-grid/react";import React, { useEffect, useRef, useState } from "react";-import type { Video } from "./AddVideosDialogBase";+import type { VideoData } from "./AddVideosDialogBase";import VideoCard from "./VideoCard";interface VirtualizedVideoGridProps {- videos: Video[];+ videos: VideoData[];selectedVideos: string[];- handleVideoToggle: (id: string) => void;- entityVideoIds: string[];+ handleVideoToggle: (id: Video.VideoId) => void;+ entityVideoIds: Video.VideoId[];height?: number;columnCount?: number;rowHeight?: number;diff --git a/apps/web/app/(org)/verify-otp/form.tsx b/apps/web/app/(org)/verify-otp/form.tsxindex f2effe76c..e40cdf902 100644--- a/apps/web/app/(org)/verify-otp/form.tsx+++ b/apps/web/app/(org)/verify-otp/form.tsx@@ -78,6 +78,7 @@ export function VerifyOTPForm({// shoutout https://github.com/buoyad/Tally/pull/14const res = await fetch(`/api/auth/callback/email?email=${encodeURIComponent(email)}&token=${encodeURIComponent(otpCode)}&callbackUrl=${encodeURIComponent("/login-success")}`,+ { redirect: "manual" },);if (!res.url.includes("/login-success")) {diff --git a/apps/web/app/api/desktop/[...route]/session.ts b/apps/web/app/api/desktop/[...route]/session.tsindex 72b99f8ff..9082d8b66 100644--- a/apps/web/app/api/desktop/[...route]/session.ts+++ b/apps/web/app/api/desktop/[...route]/session.ts@@ -1,12 +1,10 @@import { db } from "@cap/database";-import { authOptions } from "@cap/database/auth/auth-options";import { getCurrentUser } from "@cap/database/auth/session";import { authApiKeys } from "@cap/database/schema";import { serverEnv } from "@cap/env";import { zValidator } from "@hono/zod-validator";import { Hono } from "hono";import { getCookie } from "hono/cookie";-import { getServerSession } from "next-auth";import { decode } from "next-auth/jwt";import { z } from "zod";diff --git a/apps/web/app/api/desktop/[...route]/video.ts b/apps/web/app/api/desktop/[...route]/video.tsindex 725a2282e..06d6dae44 100644--- a/apps/web/app/api/desktop/[...route]/video.ts+++ b/apps/web/app/api/desktop/[...route]/video.ts@@ -83,7 +83,7 @@ app.get(const [video] = await db().select().from(videos)- .where(eq(videos.id, videoId));+ .where(eq(videos.id, Video.VideoId.make(videoId)));if (video) {return c.json({@@ -96,7 +96,7 @@ app.get(}}- const idToUse = nanoId();+ const idToUse = Video.VideoId.make(nanoId());const videoName =name ??@@ -203,7 +203,7 @@ app.delete("/delete",zValidator("query", z.object({ videoId: z.string() })),async (c) => {- const { videoId } = c.req.valid("query");+ const videoId = Video.VideoId.make(c.req.valid("query").videoId);const user = c.get("user");try {diff --git a/apps/web/app/api/playlist/route.ts b/apps/web/app/api/playlist/route.tsindex 6a8ea869a..3d706f1c4 100644--- a/apps/web/app/api/playlist/route.ts+++ b/apps/web/app/api/playlist/route.ts@@ -61,7 +61,7 @@ const ApiLive = HttpApiBuilder.api(Api).pipe();const [S3ProviderLayer, customBucket] =- yield* s3Buckets.getProviderLayer(video.bucketId);+ yield* s3Buckets.getProviderForBucket(video.bucketId);return yield* getPlaylistResponse(video,diff --git a/apps/web/app/api/screenshot/route.ts b/apps/web/app/api/screenshot/route.tsdeleted file mode 100644index 00e1d0bda..000000000--- a/apps/web/app/api/screenshot/route.ts+++ /dev/null@@ -1,106 +0,0 @@-import { db } from "@cap/database";-import { getCurrentUser } from "@cap/database/auth/session";-import { s3Buckets, videos } from "@cap/database/schema";-import { eq } from "drizzle-orm";-import type { NextRequest } from "next/server";-import { getHeaders } from "@/utils/helpers";-import { createBucketProvider } from "@/utils/s3";--export const revalidate = 0;--export async function OPTIONS(request: NextRequest) {- const origin = request.headers.get("origin") as string;-- return new Response(null, {- status: 200,- headers: getHeaders(origin),- });-}--export async function GET(request: NextRequest) {- const searchParams = request.nextUrl.searchParams;- const userId = searchParams.get("userId") || "";- const videoId = searchParams.get("screenshotId") || "";- const origin = request.headers.get("origin") as string;-- if (!userId || !videoId) {- return new Response(- JSON.stringify({- error: true,- message: "userId or videoId not supplied",- }),- { status: 401, headers: getHeaders(origin) },- );- }-- const query = await db()- .select({ video: videos, bucket: s3Buckets })- .from(videos)- .leftJoin(s3Buckets, eq(videos.bucket, s3Buckets.id))- .where(eq(videos.id, videoId));-- if (query.length === 0) {- return new Response(- JSON.stringify({ error: true, message: "Video does not exist" }),- { status: 401, headers: getHeaders(origin) },- );- }-- const result = query[0];- if (!result?.video) {- return new Response(- JSON.stringify({ error: true, message: "Video not found" }),- { status: 401, headers: getHeaders(origin) },- );- }-- const { video, bucket } = result;-- if (video.public === false) {- const user = await getCurrentUser();-- if (!user || user.id !== video.ownerId) {- return new Response(- JSON.stringify({ error: true, message: "Video is not public" }),- { status: 401, headers: getHeaders(origin) },- );- }- }-- const bucketProvider = await createBucketProvider(bucket);- const screenshotPrefix = `${userId}/${videoId}/`;-- try {- const objects = await bucketProvider.listObjects({- prefix: screenshotPrefix,- });-- const screenshot = objects.Contents?.find((object) =>- object.Key?.endsWith(".png"),- );-- if (!screenshot) {- return new Response(- JSON.stringify({ error: true, message: "Screenshot not found" }),- { status: 404, headers: getHeaders(origin) },- );- }-- let screenshotUrl: string;-- screenshotUrl = await bucketProvider.getSignedObjectUrl(screenshot.Key!);-- return new Response(JSON.stringify({ url: screenshotUrl }), {- status: 200,- headers: getHeaders(origin),- });- } catch (error) {- return new Response(- JSON.stringify({- error: error,- message: "Error generating screenshot URL",- }),- { status: 500, headers: getHeaders(origin) },- );- }-}diff --git a/apps/web/app/api/thumbnail/route.ts b/apps/web/app/api/thumbnail/route.tsindex 8f33bded1..fa645c74b 100644--- a/apps/web/app/api/thumbnail/route.ts+++ b/apps/web/app/api/thumbnail/route.ts@@ -1,5 +1,6 @@import { db } from "@cap/database";import { s3Buckets, videos } from "@cap/database/schema";+import { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import type { NextRequest } from "next/server";import { getHeaders } from "@/utils/helpers";@@ -33,7 +34,7 @@ export async function GET(request: NextRequest) {}).from(videos).leftJoin(s3Buckets, eq(videos.bucket, s3Buckets.id))- .where(eq(videos.id, videoId));+ .where(eq(videos.id, Video.VideoId.make(videoId)));if (query.length === 0) {return new Response(diff --git a/apps/web/app/api/upload/[...route]/multipart.ts b/apps/web/app/api/upload/[...route]/multipart.tsindex 12999a322..b6783ee46 100644--- a/apps/web/app/api/upload/[...route]/multipart.ts+++ b/apps/web/app/api/upload/[...route]/multipart.ts@@ -2,6 +2,7 @@ import { db, updateIfDefined } from "@cap/database";import { s3Buckets, videos, videoUploads } from "@cap/database/schema";import type { VideoMetadata } from "@cap/database/types";import { serverEnv } from "@cap/env";+import { Video } from "@cap/web-domain";import { zValidator } from "@hono/zod-validator";import { and, eq } from "drizzle-orm";import { Hono } from "hono";@@ -286,7 +287,12 @@ app.post(height: updateIfDefined(body.height, videos.height),fps: updateIfDefined(body.fps, videos.fps),})- .where(and(eq(videos.id, videoId), eq(videos.ownerId, user.id)));+ .where(+ and(+ eq(videos.id, Video.VideoId.make(videoId)),+ eq(videos.ownerId, user.id),+ ),+ );// This proves authenticationif (result.rowsAffected > 0)diff --git a/apps/web/app/api/upload/[...route]/signed.ts b/apps/web/app/api/upload/[...route]/signed.tsindex 06e8b132e..6975c5c6b 100644--- a/apps/web/app/api/upload/[...route]/signed.ts+++ b/apps/web/app/api/upload/[...route]/signed.ts@@ -4,10 +4,10 @@ import {} from "@aws-sdk/client-cloudfront";import { db, updateIfDefined } from "@cap/database";import { s3Buckets, videos } from "@cap/database/schema";-import type { VideoMetadata } from "@cap/database/types";import { serverEnv } from "@cap/env";+import { Video } from "@cap/web-domain";import { zValidator } from "@hono/zod-validator";-import { and, eq, sql } from "drizzle-orm";+import { and, eq } from "drizzle-orm";import { Hono } from "hono";import { z } from "zod";import { createBucketProvider } from "@/utils/s3";@@ -154,7 +154,12 @@ app.post(height: updateIfDefined(height, videos.height),fps: updateIfDefined(fps, videos.fps),})- .where(and(eq(videos.id, videoIdToUse), eq(videos.ownerId, user.id)));+ .where(+ and(+ eq(videos.id, Video.VideoId.make(videoIdToUse)),+ eq(videos.ownerId, user.id),+ ),+ );if (videoIdFromKey) {try {diff --git a/apps/web/app/api/video/delete/route.ts b/apps/web/app/api/video/delete/route.tsindex b2bde7d11..0797e9f03 100644--- a/apps/web/app/api/video/delete/route.ts+++ b/apps/web/app/api/video/delete/route.ts@@ -39,10 +39,6 @@ const ApiLive = HttpApiBuilder.api(Api).pipe(Effect.logError(e).pipe(Effect.andThen(() => new HttpApiError.InternalServerError()),),- UnknownException: (e) =>- Effect.logError(e).pipe(- Effect.andThen(() => new HttpApiError.InternalServerError()),- ),}),),);diff --git a/apps/web/app/api/video/domain-info/route.ts b/apps/web/app/api/video/domain-info/route.tsindex 0d6e13d29..dd6d2e83a 100644--- a/apps/web/app/api/video/domain-info/route.ts+++ b/apps/web/app/api/video/domain-info/route.ts@@ -1,5 +1,6 @@import { db } from "@cap/database";import { organizations, sharedVideos, videos } from "@cap/database/schema";+import { Video } from "@cap/web-domain";import { and, eq } from "drizzle-orm";import type { NextRequest } from "next/server";@@ -13,21 +14,20 @@ export async function GET(request: NextRequest) {try {// First, get the video to find the owner or shared space- const video = await db()+ const [video] = await db().select({id: videos.id,ownerId: videos.ownerId,}).from(videos)- .where(eq(videos.id, videoId))+ .where(eq(videos.id, Video.VideoId.make(videoId))).limit(1);- if (video.length === 0) {+ if (!video) {return Response.json({ error: "Video not found" }, { status: 404 });}- const videoData = video[0];- if (!videoData || !videoData.ownerId) {+ if (!video.ownerId) {return Response.json({ error: "Invalid video data" }, { status: 500 });}@@ -37,7 +37,7 @@ export async function GET(request: NextRequest) {organizationId: sharedVideos.organizationId,}).from(sharedVideos)- .where(eq(sharedVideos.videoId, videoId))+ .where(eq(sharedVideos.videoId, Video.VideoId.make(videoId))).limit(1);let organizationId = null;@@ -77,7 +77,7 @@ export async function GET(request: NextRequest) {domainVerified: organizations.domainVerified,}).from(organizations)- .where(eq(organizations.ownerId, videoData.ownerId))+ .where(eq(organizations.ownerId, video.ownerId)).limit(1);if (diff --git a/apps/web/app/api/video/og/route.tsx b/apps/web/app/api/video/og/route.tsxindex 386a6b6a9..5223a23ae 100644--- a/apps/web/app/api/video/og/route.tsx+++ b/apps/web/app/api/video/og/route.tsx@@ -1,7 +1,8 @@+import { Video } from "@cap/web-domain";import type { NextRequest } from "next/server";import { generateVideoOgImage } from "@/actions/videos/get-og-image";export async function GET(req: NextRequest) {const videoId = req.nextUrl.searchParams.get("videoId") as string;- return generateVideoOgImage(videoId);+ return generateVideoOgImage(Video.VideoId.make(videoId));}diff --git a/apps/web/app/api/videos/[videoId]/retry-transcription/route.ts b/apps/web/app/api/videos/[videoId]/retry-transcription/route.tsindex 8f84a0af6..93e0eaffc 100644--- a/apps/web/app/api/videos/[videoId]/retry-transcription/route.ts+++ b/apps/web/app/api/videos/[videoId]/retry-transcription/route.ts@@ -1,12 +1,13 @@import { db } from "@cap/database";import { getCurrentUser } from "@cap/database/auth/session";import { videos } from "@cap/database/schema";+import type { Video } from "@cap/web-domain";import { eq } from "drizzle-orm";import { revalidatePath } from "next/cache";export async function POST(_request: Request,- { params }: { params: { videoId: string } },+ { params }: { params: { videoId: Video.VideoId } },) {try {const user = await getCurrentUser();diff --git a/apps/web/app/embed/[videoId]/_components/PasswordOverlay.tsx b/apps/web/app/embed/[videoId]/_components/PasswordOverlay.tsxindex 58ee3fe29..91606fbae 100644--- a/apps/web/app/embed/[videoId]/_components/PasswordOverlay.tsx+++ b/apps/web/app/embed/[videoId]/_components/PasswordOverlay.tsx@@ -1,6 +1,7 @@"use client";import { Button, Dialog, DialogContent, Input, Logo } from "@cap/ui";+import type { Video } from "@cap/web-domain";import { useMutation } from "@tanstack/react-query";import { useRouter } from "next/navigation";import { useState } from "react";@@ -9,7 +10,7 @@ import { verifyVideoPassword } from "@/actions/videos/password";interface PasswordOverlayProps {isOpen: boolean;- videoId: string;+ videoId: Video.VideoId;}export const PasswordOverlay: React.FC<PasswordOverlayProps> = ({diff --git a/apps/web/app/embed/[videoId]/page.tsx b/apps/web/app/embed/[videoId]/page.tsxindex 95c672f8d..b12f2432f 100644--- a/apps/web/app/embed/[videoId]/page.tsx+++ b/apps/web/app/embed/[videoId]/page.tsx@@ -126,6 +126,7 @@ export default async function EmbedVideoPage(props: Props) {id: videos.id,name: videos.name,ownerId: videos.ownerId,+ orgId: videos.orgId,createdAt: videos.createdAt,updatedAt: videos.updatedAt,awsRegion: videos.awsRegion,diff --git a/apps/web/app/s/[videoId]/_components/PasswordOverlay.tsx b/apps/web/app/s/[videoId]/_components/PasswordOverlay.tsxindex 58ee3fe29..91606fbae 100644--- a/apps/web/app/s/[videoId]/_components/PasswordOverlay.tsx+++ b/apps/web/app/s/[videoId]/_components/PasswordOverlay.tsx@@ -1,6 +1,7 @@"use client";import { Button, Dialog, DialogContent, Input, Logo } from "@cap/ui";+import type { Video } from "@cap/web-domain";import { useMutation } from "@tanstack/react-query";import { useRouter } from "next/navigation";import { useState } from "react";@@ -9,7 +10,7 @@ import { verifyVideoPassword } from "@/actions/videos/password";interface PasswordOverlayProps {isOpen: boolean;- videoId: string;+ videoId: Video.VideoId;}export const PasswordOverlay: React.FC<PasswordOverlayProps> = ({diff --git a/apps/web/app/s/[videoId]/_components/Sidebar.tsx b/apps/web/app/s/[videoId]/_components/Sidebar.tsxindex 5896b1374..bb806ff7b 100644--- a/apps/web/app/s/[videoId]/_components/Sidebar.tsx+++ b/apps/web/app/s/[videoId]/_components/Sidebar.tsx@@ -1,6 +1,7 @@import type { userSelectProps } from "@cap/database/auth/session";import type { comments as commentsSchema, videos } from "@cap/database/schema";import { classNames } from "@cap/utils";+import type { Video } from "@cap/web-domain";import { AnimatePresence, motion } from "framer-motion";import { forwardRef, Suspense, useState } from "react";import { Activity } from "./tabs/Activity";@@ -29,7 +30,7 @@ interface SidebarProps {setCommentsData: React.Dispatch<React.SetStateAction<CommentType[]>>;views: MaybePromise<number>;onSeek?: (time: number) => void;- videoId: string;+ videoId: Video.VideoId;aiData?: {title?: string | null;summary?: string | null;diff --git a/apps/web/app/s/[videoId]/_components/tabs/Activity/Comments.tsx b/apps/web/app/s/[videoId]/_components/tabs/Activity/Comments.tsxindex 94b33da2b..499cd5015 100644--- a/apps/web/app/s/[videoId]/_components/tabs/Activity/Comments.tsx+++ b/apps/web/app/s/[videoId]/_components/tabs/Activity/Comments.tsx@@ -1,5 +1,6 @@import type { userSelectProps } from "@cap/database/auth/session";import { Button } from "@cap/ui";+import type { Video } from "@cap/web-domain";import { useSearchParams } from "next/navigation";import type React from "react";import {@@ -24,7 +25,7 @@ export const Comments = Object.assign({setComments: React.Dispatch<React.SetStateAction<CommentType[]>>;user: typeof userSelectProps | null;- videoId: string;+ videoId: Video.VideoId;optimisticComments: CommentType[];setOptimisticComments: (newComment: CommentType) => void;handleCommentSuccess: (comment: CommentType) => void;@@ -63,13 +64,7 @@ export const Comments = Object.assign(}};- useImperativeHandle(- ref,- () => ({- scrollToBottom,- }),- [],- );+ useImperativeHandle(ref, () => ({ scrollToBottom }), []);const rootComments = optimisticComments.filter((comment) => !comment.parentCommentId || comment.parentCommentId === "",diff --git a/apps/web/app/s/[videoId]/_components/tabs/Activity/index.tsx b/apps/web/app/s/[videoId]/_components/tabs/Activity/index.tsxindex 96e03eb70..baf5b795a 100644--- a/apps/web/app/s/[videoId]/_components/tabs/Activity/index.tsx+++ b/apps/web/app/s/[videoId]/_components/tabs/Activity/index.tsx@@ -1,6 +1,7 @@"use client";import type { userSelectProps } from "@cap/database/auth/session";+import type { Video } from "@cap/web-domain";import type React from "react";import { forwardRef, Suspense, useState } from "react";import { CapCardAnalytics } from "@/app/(org)/dashboard/caps/components/CapCard/CapCardAnalytics";@@ -16,7 +17,7 @@ interface ActivityProps {user: typeof userSelectProps | null;onSeek?: (time: number) => void;handleCommentSuccess: (comment: CommentType) => void;- videoId: string;+ videoId: Video.VideoId;optimisticComments: CommentType[];setOptimisticComments: (newComment: CommentType) => void;isOwnerOrMember: boolean;diff --git a/apps/web/app/s/[videoId]/page.tsx b/apps/web/app/s/[videoId]/page.tsxindex 61f652c74..64d176dd2 100644--- a/apps/web/app/s/[videoId]/page.tsx+++ b/apps/web/app/s/[videoId]/page.tsx@@ -39,7 +39,7 @@ export const dynamicParams = true;export const revalidate = 30;// Helper function to fetch shared spaces data for a video-async function getSharedSpacesForVideo(videoId: string) {+async function getSharedSpacesForVideo(videoId: Video.VideoId) {// Fetch space-level sharingconst spaceSharing = await db().select({@@ -266,6 +266,7 @@ export default async function ShareVideoPage(props: Props) {id: videos.id,name: videos.name,ownerId: videos.ownerId,+ orgId: videos.orgId,createdAt: videos.createdAt,updatedAt: videos.updatedAt,awsRegion: videos.awsRegion,diff --git a/apps/web/hooks/use-transcript.ts b/apps/web/hooks/use-transcript.tsindex e5731f98f..c8d6dab95 100644--- a/apps/web/hooks/use-transcript.ts+++ b/apps/web/hooks/use-transcript.ts@@ -1,8 +1,9 @@+import type { Video } from "@cap/web-domain";import { useQuery, useQueryClient } from "@tanstack/react-query";import { getTranscript } from "@/actions/videos/get-transcript";export const useTranscript = (- videoId: string,+ videoId: Video.VideoId,transcriptionStatus?: string | null,) => {return useQuery({diff --git a/apps/web/lib/Notification.ts b/apps/web/lib/Notification.tsindex 4bded917b..626d0a179 100644--- a/apps/web/lib/Notification.ts+++ b/apps/web/lib/Notification.ts@@ -5,6 +5,7 @@ import { db } from "@cap/database";import { nanoId } from "@cap/database/helpers";import { comments, notifications, users, videos } from "@cap/database/schema";import type { Notification, NotificationBase } from "@cap/web-api-contract";+import { Video } from "@cap/web-domain";import { and, eq, sql } from "drizzle-orm";import { revalidatePath } from "next/cache";import type { UserPreferences } from "@/app/(org)/dashboard/dashboard-data";@@ -41,7 +42,7 @@ export async function createNotification(}).from(videos).innerJoin(users, eq(users.id, videos.ownerId))- .where(eq(videos.id, notification.videoId))+ .where(eq(videos.id, Video.VideoId.make(notification.videoId))).limit(1);if (!videoResult) {diff --git a/apps/web/lib/folder.ts b/apps/web/lib/folder.tsindex 94099c36d..126b35386 100644--- a/apps/web/lib/folder.ts+++ b/apps/web/lib/folder.ts@@ -33,9 +33,9 @@ export async function getFolderById(folderId: string | undefined) {return folder;}-export async function getFolderBreadcrumb(folderId: string) {+export async function getFolderBreadcrumb(folderId: Folder.FolderId) {const breadcrumb: Array<{- id: string;+ id: Folder.FolderId;name: string;color: "normal" | "blue" | "red" | "yellow";}> = [];@@ -60,7 +60,7 @@ export async function getFolderBreadcrumb(folderId: string) {}// Helper function to fetch shared spaces data for videos-async function getSharedSpacesForVideos(videoIds: string[]) {+async function getSharedSpacesForVideos(videoIds: Video.VideoId[]) {if (videoIds.length === 0) return {};// Fetch space-level sharing@@ -142,7 +142,7 @@ async function getSharedSpacesForVideos(videoIds: string[]) {return sharedSpacesMap;}-export async function getVideosByFolderId(folderId: string) {+export async function getVideosByFolderId(folderId: Folder.FolderId) {if (!folderId) throw new Error("Folder ID is required");const videoData = await db()diff --git a/apps/web/lib/server.ts b/apps/web/lib/server.tsindex db5ad9e77..57f409d46 100644--- a/apps/web/lib/server.ts+++ b/apps/web/lib/server.ts@@ -1,10 +1,8 @@import "server-only";-import { db } from "@cap/database";import { decrypt } from "@cap/database/crypto";import {Database,- DatabaseError,Folders,HttpAuthMiddlewareLive,S3Buckets,@@ -14,6 +12,7 @@ import {import { type HttpAuthMiddleware, Video } from "@cap/web-domain";import * as NodeSdk from "@effect/opentelemetry/NodeSdk";import {+ FetchHttpClient,type HttpApi,HttpApiBuilder,HttpMiddleware,@@ -25,15 +24,7 @@ import { cookies } from "next/headers";import { allowedOrigins } from "@/utils/cors";import { getTracingConfig } from "./tracing";-const DatabaseLive = Layer.sync(Database, () => ({- execute: (cb) =>- Effect.tryPromise({- try: () => cb(db()),- catch: (error) => new DatabaseError({ message: String(error) }),- }),-}));--const TracingLayer = NodeSdk.layer(getTracingConfig);+export const TracingLayer = NodeSdk.layer(getTracingConfig);const CookiePasswordAttachmentLive = Layer.effect(Video.VideoPasswordAttachment,@@ -53,8 +44,8 @@ export const Dependencies = Layer.mergeAll(Videos.Default,VideosPolicy.Default,Folders.Default,- TracingLayer,-).pipe(Layer.provideMerge(DatabaseLive));+ Database.Default,+).pipe(Layer.provideMerge(Layer.mergeAll(TracingLayer, FetchHttpClient.layer)));// purposefully not exposedconst EffectRuntime = ManagedRuntime.make(Dependencies);diff --git a/apps/web/lib/tracing-server.ts b/apps/web/lib/tracing-server.tsnew file mode 100644index 000000000..53b062d27--- /dev/null+++ b/apps/web/lib/tracing-server.ts@@ -0,0 +1,5 @@+import * as NodeSdk from "@effect/opentelemetry/NodeSdk";++import { getTracingConfig } from "./tracing";++export const TracingLayer = NodeSdk.layer(getTracingConfig);diff --git a/apps/web/lib/tracing.ts b/apps/web/lib/tracing.tsindex 3a75e2e1e..71b016f57 100644--- a/apps/web/lib/tracing.ts+++ b/apps/web/lib/tracing.ts@@ -22,7 +22,7 @@ export const getTracingConfig = Effect.gen(function* () {return {resource: { serviceName: "cap-web" },spanProcessor: Option.match(axiomProcessor, {- onNone: () => [],+ onNone: () => [new BatchSpanProcessor(new OTLPTraceExporter({}))],onSome: (processor) => [processor],}),};diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjsindex 0a30c0e48..0c3133bb7 100644--- a/apps/web/next.config.mjs+++ b/apps/web/next.config.mjs@@ -52,7 +52,7 @@ const nextConfig = {process.env.NODE_ENV === "development" && {protocol: "http",hostname: "localhost",- port: "3902",+ port: "9000",pathname: "**",},].filter(Boolean),@@ -110,6 +110,25 @@ const nextConfig = {// If the DOCKER_BUILD environment variable is set to true, we are output nextjs to standalone ready for docker deploymentoutput:process.env.NEXT_PUBLIC_DOCKER_BUILD === "true" ? "standalone" : undefined,+ // webpack: (config) => {+ // config.module.rules.push({+ // test: /\.(?:js|ts)$/,+ // use: [+ // {+ // loader: "babel-loader",+ // options: {+ // presets: ["next/babel"],+ // plugins: [+ // "@babel/plugin-transform-private-property-in-object",+ // "@babel/plugin-transform-private-methods",+ // ],+ // },+ // },+ // ],+ // });++ // return config;+ // },};export default nextConfig;diff --git a/apps/web/package.json b/apps/web/package.jsonindex b00cb0f0a..e61110c48 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -27,9 +27,13 @@"@cap/web-domain": "workspace:*","@deepgram/sdk": "^3.3.4","@dub/analytics": "^0.0.27",+ "@effect/cluster": "^0.48.6","@effect/opentelemetry": "^0.56.1","@effect/platform": "^0.90.1",- "@effect/rpc": "^0.68.3",+ "@effect/platform-node": "^0.96.1",+ "@effect/rpc": "^0.69.2",+ "@effect/sql-mysql2": "^0.45.1",+ "@effect/workflow": "^0.9.5","@fortawesome/free-brands-svg-icons": "^6.7.2","@fortawesome/free-solid-svg-icons": "^6.7.2","@fortawesome/react-fontawesome": "^0.2.2",@@ -74,9 +78,9 @@"date-fns": "^4.1.0","dompurify": "^3.2.6","dotenv": "^16.3.1",- "drizzle-orm": "0.43.1",+ "drizzle-orm": "0.44.5","dub": "^0.64.0",- "effect": "^3.17.7",+ "effect": "^3.17.13","file-saver": "^2.0.5","framer-motion": "^11.13.1","geist": "^1.3.1",@@ -92,7 +96,7 @@"media-chrome": "^4.12.0","moment": "^2.30.1","motion": "^12.18.1",- "next": "14.2.3",+ "next": "^14","next-auth": "^4.24.5","next-contentlayer2": "^0.5.3","next-mdx-remote": "^5.0.0",@@ -119,6 +123,8 @@"zod": "^3.25.76"},"devDependencies": {+ "@babel/plugin-transform-private-methods": "^7.27.1",+ "@babel/plugin-transform-private-property-in-object": "^7.27.1","@smithy/types": "^4.3.1","@types/canvas-confetti": "^1.9.0","@types/file-saver": "^2.0.7",@@ -131,6 +137,7 @@"@types/react-responsive-masonry": "^2.6.0","@types/uuid": "^9.0.8","autoprefixer": "^10.4.14",+ "babel-loader": "^10.0.0","eslint": "^9.30.1","eslint-config-next": "14.1.0","postcss": "^8.4.23",diff --git a/apps/workflow-manager/package.json b/apps/workflow-manager/package.jsonnew file mode 100644index 000000000..9671eb4c4--- /dev/null+++ b/apps/workflow-manager/package.json@@ -0,0 +1,15 @@+{+ "name": "@cap/workflow-manager",+ "type": "module",+ "scripts": {+ "dev": "dotenv -e ../../.env -- deno --allow-all --watch src/index.ts"+ },+ "dependencies": {+ "@effect/platform-node": "^0.96.1",+ "@effect/sql-mysql2": "^0.45.1",+ "effect": "^3.17.13"+ },+ "devDependencies": {+ "dotenv-cli": "^10.0.0"+ }+}diff --git a/apps/workflow-manager/src/index.ts b/apps/workflow-manager/src/index.tsnew file mode 100644index 000000000..1d337c744--- /dev/null+++ b/apps/workflow-manager/src/index.ts@@ -0,0 +1,23 @@+import {+ NodeClusterShardManagerSocket,+ NodeRuntime,+} from "@effect/platform-node";+import { MysqlClient } from "@effect/sql-mysql2";+import { Config, Effect, Layer, Logger, Redacted } from "effect";++const DatabaseLive = Layer.unwrapEffect(+ Effect.gen(function* () {+ const url = Redacted.make(yield* Config.string("DATABASE_URL"));++ return MysqlClient.layer({ url });+ }),+);++NodeClusterShardManagerSocket.layer({+ storage: "sql",+}).pipe(+ Layer.provide(DatabaseLive),+ Layer.provide(Logger.pretty),+ Layer.launch,+ NodeRuntime.runMain,+);diff --git a/apps/workflow-runner/package.json b/apps/workflow-runner/package.jsonnew file mode 100644index 000000000..7583d910b--- /dev/null+++ b/apps/workflow-runner/package.json@@ -0,0 +1,23 @@+{+ "name": "@cap/workflow-runner",+ "type": "module",+ "scripts": {+ "dev": "pnpm dotenv -e ../../.env -- deno run --allow-all --watch ./src/index.ts"+ },+ "dependencies": {+ "@cap/web-backend": "workspace:*",+ "@cap/web-domain": "workspace:*",+ "@effect/cluster": "^0.48.6",+ "@effect/opentelemetry": "^0.56.1",+ "@effect/platform": "^0.90.1",+ "@effect/platform-node": "^0.96.1",+ "@effect/sql-mysql2": "^0.45.1",+ "@effect/workflow": "^0.9.5",+ "@opentelemetry/exporter-trace-otlp-http": "^0.203.0",+ "@opentelemetry/sdk-trace-base": "^2.0.1",+ "effect": "^3.17.13"+ },+ "devDependencies": {+ "dotenv-cli": "^10.0.0"+ }+}diff --git a/apps/workflow-runner/src/index.ts b/apps/workflow-runner/src/index.tsnew file mode 100644index 000000000..2a4a8e112--- /dev/null+++ b/apps/workflow-runner/src/index.ts@@ -0,0 +1,66 @@+import { createServer } from "node:http";+import { Database, S3Buckets, Videos, Workflows } from "@cap/web-backend";+import { ClusterWorkflowEngine, RunnerAddress } from "@effect/cluster";+import * as NodeSdk from "@effect/opentelemetry/NodeSdk";+import { FetchHttpClient, HttpApiBuilder, HttpServer } from "@effect/platform";+import {+ NodeClusterRunnerSocket,+ NodeHttpServer,+ NodeRuntime,+} from "@effect/platform-node";+import { MysqlClient } from "@effect/sql-mysql2";+import { WorkflowProxyServer } from "@effect/workflow";+import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";+import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base";+import { Config, Effect, Layer, Option } from "effect";++const SqlLayer = Layer.unwrapEffect(+ Effect.gen(function* () {+ const url = yield* Config.string("DATABASE_URL").pipe((v) =>+ Config.redacted(v),+ );+ return MysqlClient.layer({ url });+ }),+);++const ClusterWorkflowLive = ClusterWorkflowEngine.layer.pipe(+ Layer.provide(+ NodeClusterRunnerSocket.layer({+ storage: "sql",+ shardingConfig: {+ runnerAddress: Option.some(RunnerAddress.make("localhost", 42069)),+ },+ }),+ ),+ Layer.provide(SqlLayer),+);++const WorkflowApiLive = HttpApiBuilder.api(Workflows.Api).pipe(+ Layer.provide(+ WorkflowProxyServer.layerHttpApi(+ Workflows.Api,+ "workflows",+ Workflows.Workflows,+ ),+ ),+ Layer.provide(Workflows.WorkflowsLayer),+ Layer.provide(ClusterWorkflowLive),+ HttpServer.withLogAddress,+);++const TracingLayer = NodeSdk.layer(() => ({+ resource: { serviceName: "cap-workflow-runner" },+ spanProcessor: [new BatchSpanProcessor(new OTLPTraceExporter({}))],+}));++HttpApiBuilder.serve().pipe(+ Layer.provide(WorkflowApiLive),+ Layer.provide(NodeHttpServer.layer(createServer, { port: 42169 })),+ Layer.provide(Videos.Default),+ Layer.provide(S3Buckets.Default),+ Layer.provide(Database.Default),+ Layer.provide(FetchHttpClient.layer),+ Layer.provide(TracingLayer),+ Layer.launch,+ NodeRuntime.runMain,+);diff --git a/biome.json b/biome.jsonindex f2a353d51..621aba760 100644--- a/biome.json+++ b/biome.json@@ -20,7 +20,10 @@"linter": {"enabled": true,"rules": {- "recommended": true+ "recommended": true,+ "suspicious": {+ "noShadowRestrictedNames": "off"+ }}},"javascript": {diff --git a/package.json b/package.jsonindex bee43acc5..7eb90c241 100644--- a/package.json+++ b/package.json@@ -37,5 +37,10 @@"name": "cap","engines": {"node": "20"+ },+ "pnpm": {+ "overrides": {+ "undici": "5.28.4"+ }}}diff --git a/packages/database/auth/auth-options.tsx b/packages/database/auth/auth-options.tssimilarity index 95%rename from packages/database/auth/auth-options.tsxrename to packages/database/auth/auth-options.tsindex 31f797e93..92b4fb817 100644--- a/packages/database/auth/auth-options.tsx+++ b/packages/database/auth/auth-options.ts@@ -1,7 +1,6 @@+import crypto from "node:crypto";import { serverEnv } from "@cap/env";-import crypto from "crypto";import { eq } from "drizzle-orm";-import { cookies } from "next/headers";import type { NextAuthOptions } from "next-auth";import { getServerSession as _getServerSession } from "next-auth";import type { Adapter } from "next-auth/adapters";@@ -9,13 +8,14 @@ import EmailProvider from "next-auth/providers/email";import GoogleProvider from "next-auth/providers/google";import type { Provider } from "next-auth/providers/index";import WorkOSProvider from "next-auth/providers/workos";-import { db } from "../";-import { dub } from "../dub";-import { sendEmail } from "../emails/config";-import { nanoId } from "../helpers";-import { organizationMembers, organizations, users } from "../schema";-import { isEmailAllowedForSignup } from "./domain-utils";-import { DrizzleAdapter } from "./drizzle-adapter";++import { dub } from "../dub.ts";+import { sendEmail } from "../emails/config.ts";+import { nanoId } from "../helpers.ts";+import { db } from "../index.ts";+import { organizationMembers, organizations, users } from "../schema.ts";+import { isEmailAllowedForSignup } from "./domain-utils.ts";+import { DrizzleAdapter } from "./drizzle-adapter.ts";export const config = {maxDuration: 120,@@ -136,6 +136,7 @@ export const authOptions = (): NextAuthOptions => {dbUser.activeOrganizationId === "";if (needsOrganizationSetup) {+ const { cookies } = await import("next/headers");const dubId = cookies().get("dub_id")?.value;const dubPartnerData = cookies().get("dub_partner_data")?.value;diff --git a/packages/database/auth/drizzle-adapter.ts b/packages/database/auth/drizzle-adapter.tsindex 14d61270a..94a196a02 100644--- a/packages/database/auth/drizzle-adapter.ts+++ b/packages/database/auth/drizzle-adapter.ts@@ -3,8 +3,9 @@ import { and, eq } from "drizzle-orm";import type { PlanetScaleDatabase } from "drizzle-orm/planetscale-serverless";import type { Adapter } from "next-auth/adapters";import type Stripe from "stripe";-import { nanoId } from "../helpers";-import { accounts, sessions, users, verificationTokens } from "../schema";++import { nanoId } from "../helpers.ts";+import { accounts, sessions, users, verificationTokens } from "../schema.ts";export function DrizzleAdapter(db: PlanetScaleDatabase): Adapter {return {diff --git a/packages/database/index.ts b/packages/database/index.tsindex b29c14dfd..921de496f 100644--- a/packages/database/index.ts+++ b/packages/database/index.ts@@ -1,11 +1,10 @@-import { serverEnv } from "@cap/env";import { Client, type Config } from "@planetscale/database";import { sql } from "drizzle-orm";import type { AnyMySqlColumn } from "drizzle-orm/mysql-core";import { drizzle } from "drizzle-orm/planetscale-serverless";function createDrizzle() {- const URL = serverEnv().DATABASE_URL;+ const URL = process.env.DATABASE_URL!;let fetchHandler: Promise<Config["fetch"]> | undefined;diff --git a/packages/database/package.json b/packages/database/package.jsonindex 5484a796d..609e272e5 100644--- a/packages/database/package.json+++ b/packages/database/package.json@@ -1,6 +1,7 @@{"name": "@cap/database","private": true,+ "type": "module","types": "./index.ts","main": "index.js","scripts": {@@ -16,16 +17,18 @@"dependencies": {"@cap/env": "workspace:*","@cap/web-domain": "workspace:*",+ "@effect/sql-mysql2": "^0.45.1","@mattrax/mysql-planetscale": "^0.0.3","@paralleldrive/cuid2": "^2.2.2","@planetscale/database": "^1.13.0","@react-email/components": "^0.1.0","@react-email/render": "1.1.2","@react-email/tailwind": "^1.0.5",- "drizzle-orm": "0.43.1",+ "drizzle-orm": "0.44.5","dub": "^0.64.0",+ "effect": "^3.17.13","nanoid": "^5.0.4",- "next": "14.2.9",+ "next": "^14","next-auth": "^4.24.5","react-email": "^4.0.16","resend": "4.6.0",@@ -48,5 +51,16 @@},"engines": {"node": "20"+ },+ "exports": {+ ".": "./index.ts",+ "./auth/auth-options": "./auth/auth-options.ts",+ "./auth/session": "./auth/session.ts",+ "./emails/config": "./emails/config.ts",+ "./emails/*": "./emails/*.tsx",+ "./schema": "./schema.ts",+ "./crypto": "./crypto.ts",+ "./helpers": "./helpers.ts",+ "./types": "./types/index.ts"}}diff --git a/packages/database/schema.ts b/packages/database/schema.tsindex fdb8beb8b..7bc232434 100644--- a/packages/database/schema.ts+++ b/packages/database/schema.ts@@ -8,6 +8,7 @@ import {int,json,mysqlTable,+ primaryKey,text,timestamp,tinyint,@@ -15,8 +16,9 @@ import {varchar,} from "drizzle-orm/mysql-core";import { relations } from "drizzle-orm/relations";-import { nanoIdLength } from "./helpers";-import type { VideoMetadata } from "./types";++import { nanoIdLength } from "./helpers.ts";+import type { VideoMetadata } from "./types/index.ts";const nanoId = customType<{ data: string; notNull: true }>({dataType() {@@ -240,6 +242,8 @@ export const videos = mysqlTable({id: nanoId("id").notNull().primaryKey().unique().$type<Video.VideoId>(),ownerId: nanoId("ownerId").notNull(),+ // TODO: make this non-null+ orgId: nanoIdNullable("orgId"),name: varchar("name", { length: 255 }).notNull().default("My Video"),bucket: nanoIdNullable("bucket"),// in seconds@@ -258,7 +262,7 @@ export const videos = mysqlTable(>().notNull().default({ type: "MediaConvert" }),- folderId: nanoIdNullable("folderId"),+ folderId: nanoIdNullable("folderId").$type<Folder.FolderId>(),createdAt: timestamp("createdAt").notNull().defaultNow(),updatedAt: timestamp("updatedAt").notNull().defaultNow().onUpdateNow(),// PRIVATE@@ -275,19 +279,19 @@ export const videos = mysqlTable(jobStatus: varchar("jobStatus", { length: 255 }),skipProcessing: boolean("skipProcessing").notNull().default(false),},- (table) => ({- idIndex: index("id_idx").on(table.id),- ownerIdIndex: index("owner_id_idx").on(table.ownerId),- publicIndex: index("is_public_idx").on(table.public),- folderIdIndex: index("folder_id_idx").on(table.folderId),- }),+ (table) => [+ index("id_idx").on(table.id),+ index("owner_id_idx").on(table.ownerId),+ index("is_public_idx").on(table.public),+ index("folder_id_idx").on(table.folderId),+ ],);export const sharedVideos = mysqlTable("shared_videos",{id: nanoId("id").notNull().primaryKey().unique(),- videoId: nanoId("videoId").notNull(),+ videoId: nanoId("videoId").notNull().$type<Video.VideoId>(),organizationId: nanoId("organizationId").notNull(),sharedByUserId: nanoId("sharedByUserId").notNull(),sharedAt: timestamp("sharedAt").notNull().defaultNow(),@@ -313,7 +317,7 @@ export const comments = mysqlTable(content: text("content").notNull(),timestamp: float("timestamp"),authorId: nanoId("authorId").notNull(),- videoId: nanoId("videoId").notNull(),+ videoId: nanoId("videoId").notNull().$type<Video.VideoId>(),createdAt: timestamp("createdAt").notNull().defaultNow(),updatedAt: timestamp("updatedAt").notNull().defaultNow().onUpdateNow(),parentCommentId: nanoId("parentCommentId"),@@ -648,3 +652,16 @@ export const videoUploads = mysqlTable("video_uploads", {startedAt: timestamp("started_at").notNull().defaultNow(),updatedAt: timestamp("updated_at").notNull().defaultNow(),});++export const importedVideos = mysqlTable(+ "imported_videos",+ {+ id: nanoId("id").notNull(),+ orgId: nanoIdNullable("orgId").notNull(),+ source: varchar("source", { length: 255, enum: ["loom"] }).notNull(),+ sourceId: varchar("source_id", { length: 255 }).notNull(),+ },+ (table) => [+ primaryKey({ columns: [table.orgId, table.source, table.sourceId] }),+ ],+);diff --git a/packages/database/types/index.ts b/packages/database/types/index.tsindex e6c55b6c9..599d032aa 100644--- a/packages/database/types/index.ts+++ b/packages/database/types/index.ts@@ -1 +1,3 @@export * from "./metadata";++import "./next-auth";diff --git a/packages/env/index.ts b/packages/env/index.tsindex 51282f4fb..815f62a2e 100644--- a/packages/env/index.ts+++ b/packages/env/index.ts@@ -1,2 +1,2 @@-export { buildEnv, NODE_ENV } from "./build";-export { serverEnv } from "./server";+export { buildEnv, NODE_ENV } from "./build.ts";+export { serverEnv } from "./server.ts";diff --git a/packages/env/package.json b/packages/env/package.jsonindex 7fe3a31fa..67a2d7089 100644--- a/packages/env/package.json+++ b/packages/env/package.json@@ -1,6 +1,7 @@{"name": "@cap/env","private": true,+ "type": "module","main": "./index.ts","types": "./index.ts","dependencies": {diff --git a/packages/env/server.ts b/packages/env/server.tsindex 678825bc5..32f671735 100644--- a/packages/env/server.ts+++ b/packages/env/server.ts@@ -65,6 +65,8 @@ function createServerEnv() {CLOUDFRONT_KEYPAIR_PRIVATE_KEY: z.string().optional(),S3_PUBLIC_ENDPOINT: z.string().optional(),S3_INTERNAL_ENDPOINT: z.string().optional(),+ REMOTE_WORKFLOW_URL: z.string().optional(),+ REMOTE_WORKFLOW_SECRET: z.string().optional(),},experimental__runtimeEnv: {...process.env,diff --git a/packages/local-docker/docker-compose.yml b/packages/local-docker/docker-compose.ymlindex a6b1d01f9..fe095e118 100644--- a/packages/local-docker/docker-compose.yml+++ b/packages/local-docker/docker-compose.yml@@ -23,19 +23,17 @@ services:# Local S3 Strorageminio:container_name: minio-storage- image: "bitnami/minio:latest"+ image: "minio/minio:latest"restart: unless-stoppedports:- - "3902:3902"- - "3903:3903"+ - "9000:9000"+ - "9001:9001"environment:- - MINIO_ROOT_USER=capS3root- - MINIO_ROOT_PASSWORD=capS3root- - MINIO_API_PORT_NUMBER=3902- - MINIO_CONSOLE_PORT_NUMBER=3903+ MINIO_ROOT_USER: capS3root+ MINIO_ROOT_PASSWORD: capS3rootvolumes:- - minio-data:/bitnami/minio/data- - minio-certs:/certs+ - ~/minio/data:/data+ command: server /data --console-address ":9001"createbuckets:container_name: minio-bucket-creation@@ -45,7 +43,7 @@ services:entrypoint: >/bin/sh -c "sleep 10;- /usr/bin/mc alias set myminio http://minio:3902 capS3root capS3root;+ /usr/bin/mc alias set myminio http://minio:9000 capS3root capS3root;/usr/bin/mc mb myminio/capso;echo '{\"Version\": \"2012-10-17\",\"Statement\": [{\"Effect\": \"Allow\",\"Principal\": {\"AWS\": [\"*\"]},\"Action\": [\"s3:GetObject\"],\"Resource\": [\"arn:aws:s3:::capso/*\"]}]}' > /tmp/policy.json;/usr/bin/mc anonymous set-json /tmp/policy.json myminio/capso;diff --git a/packages/utils/package.json b/packages/utils/package.jsonindex fbd9dcb12..082b364a0 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -1,10 +1,10 @@{"name": "@cap/utils",- "version": "0.0.0",- "main": "./src/index.tsx",- "types": "./src/index.tsx",+ "type": "module",+ "main": "./src/index.ts",+ "types": "./src/index.ts","exports": {- ".": "./src/index.tsx"+ ".": "./src/index.ts"},"scripts": {"typecheck": "tsc -b"diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.tsnew file mode 100644index 000000000..72c80b23d--- /dev/null+++ b/packages/utils/src/index.ts@@ -0,0 +1,5 @@+export * from "./constants/plans.ts";+export * from "./constants/s3.ts";+export * from "./helpers.ts";+export * from "./lib/stripe/stripe.ts";+export * from "./types/database.ts";diff --git a/packages/utils/src/index.tsx b/packages/utils/src/index.tsxdeleted file mode 100644index 5e82387dc..000000000--- a/packages/utils/src/index.tsx+++ /dev/null@@ -1,5 +0,0 @@-export * from "./constants/plans";-export * from "./constants/s3";-export * from "./helpers";-export * from "./lib/stripe/stripe";-export * from "./types/database";diff --git a/packages/web-api-contract-effect/package.json b/packages/web-api-contract-effect/package.jsonindex 603541edd..012b335bb 100644--- a/packages/web-api-contract-effect/package.json+++ b/packages/web-api-contract-effect/package.json@@ -6,6 +6,6 @@"type": "module","dependencies": {"@effect/platform": "^0.90.1",- "effect": "^3.17.7"+ "effect": "^3.17.13"}}diff --git a/packages/web-backend/package.json b/packages/web-backend/package.jsonindex a34b8b7fd..21fb14a50 100644--- a/packages/web-backend/package.json+++ b/packages/web-backend/package.json@@ -12,12 +12,14 @@"@cap/database": "workspace:*","@cap/utils": "workspace:*","@cap/web-domain": "workspace:*",+ "@effect/cluster": "^0.48.6","@effect/platform": "^0.90.1",- "@effect/rpc": "^0.68.3",+ "@effect/rpc": "^0.69.2",+ "@effect/workflow": "^0.9.5","@smithy/types": "^4.3.1",- "drizzle-orm": "0.43.1",- "effect": "^3.17.7",- "server-only": "^0.0.1",- "next": "14.2.3"+ "drizzle-orm": "0.44.5",+ "effect": "^3.17.13",+ "next": "^14",+ "server-only": "^0.0.1"}}diff --git a/packages/web-backend/src/Auth.ts b/packages/web-backend/src/Auth.tsindex 757776c45..46e0b39ba 100644--- a/packages/web-backend/src/Auth.ts+++ b/packages/web-backend/src/Auth.ts@@ -1,11 +1,11 @@import { getServerSession } from "@cap/database/auth/auth-options";import * as Db from "@cap/database/schema";import { CurrentUser, HttpAuthMiddleware } from "@cap/web-domain";-import { HttpApiError, type HttpApp } from "@effect/platform";+import { HttpApiError, HttpServerRequest } from "@effect/platform";import * as Dz from "drizzle-orm";-import { type Cause, Effect, Layer, Option } from "effect";+import { type Cause, Effect, Layer, Option, Schema } from "effect";-import { Database, type DatabaseError } from "./Database";+import { Database, type DatabaseError } from "./Database.ts";export const getCurrentUser = Effect.gen(function* () {const db = yield* Database;@@ -37,24 +37,47 @@ export const HttpAuthMiddlewareLive = Layer.effect(return HttpAuthMiddleware.of(Effect.gen(function* () {- const user = yield* getCurrentUser.pipe(- Effect.flatten,+ const headers = yield* HttpServerRequest.schemaHeaders(+ Schema.Struct({ authorization: Schema.optional(Schema.String) }),+ );+ const authHeader = headers.authorization?.split(" ")[1];++ let user;++ if (authHeader?.length === 36) {+ user = yield* database+ .execute((db) =>+ db+ .select()+ .from(Db.users)+ .leftJoin(+ Db.authApiKeys,+ Dz.eq(Db.users.id, Db.authApiKeys.userId),+ )+ .where(Dz.eq(Db.authApiKeys.id, authHeader)),+ )+ .pipe(Effect.map(([entry]) => Option.fromNullable(entry?.users)));+ } else {+ user = yield* getCurrentUser;+ }++ return yield* user.pipe(+ Option.map((user) => ({+ id: user.id,+ email: user.email,+ activeOrgId: user.activeOrganizationId,+ })),Effect.catchTag("NoSuchElementException",() => new HttpApiError.Unauthorized(),),);-- return {- id: user.id,- email: user.email,- activeOrgId: user.activeOrganizationId,- };}).pipe(Effect.provideService(Database, database),Effect.catchTags({UnknownException: () => new HttpApiError.InternalServerError(),DatabaseError: () => new HttpApiError.InternalServerError(),+ ParseError: () => new HttpApiError.BadRequest(),}),),);diff --git a/packages/web-backend/src/Database.ts b/packages/web-backend/src/Database.tsindex 1bc6a516b..16e6eb01c 100644--- a/packages/web-backend/src/Database.ts+++ b/packages/web-backend/src/Database.ts@@ -1,15 +1,19 @@-import type { db } from "@cap/database";-import { Context, Data, type Effect } from "effect";+import { db } from "@cap/database";+import { Effect, Schema } from "effect";-export class Database extends Context.Tag("Database")<- Database,- {- execute<T>(- callback: (_: ReturnType<typeof db>) => Promise<T>,- ): Effect.Effect<T, DatabaseError>;- }->() {}+export class DatabaseError extends Schema.TaggedError<DatabaseError>()(+ "DatabaseError",+ { cause: Schema.Unknown },+) {}-export class DatabaseError extends Data.TaggedError("DatabaseError")<{- message: string;-}> {}+export class Database extends Effect.Service<Database>()("Database", {+ effect: Effect.gen(function* () {+ return {+ execute: <T>(cb: (_: ReturnType<typeof db>) => Promise<T>) =>+ Effect.tryPromise({+ try: () => cb(db()),+ catch: (cause) => new DatabaseError({ cause }),+ }),+ };+ }),+}) {}diff --git a/packages/web-backend/src/Folders/FoldersPolicy.ts b/packages/web-backend/src/Folders/FoldersPolicy.tsindex 7b0f0e47b..42b677ec6 100644--- a/packages/web-backend/src/Folders/FoldersPolicy.ts+++ b/packages/web-backend/src/Folders/FoldersPolicy.ts@@ -2,7 +2,8 @@ import * as Db from "@cap/database/schema";import { type Folder, Policy } from "@cap/web-domain";import * as Dz from "drizzle-orm";import { Effect } from "effect";-import { Database } from "../Database";++import { Database } from "../Database.ts";export class FoldersPolicy extends Effect.Service<FoldersPolicy>()("FoldersPolicy",@@ -41,5 +42,6 @@ export class FoldersPolicy extends Effect.Service<FoldersPolicy>()(return { canEdit };}),+ dependencies: [Database.Default],},) {}diff --git a/packages/web-backend/src/Folders/FoldersRpcs.ts b/packages/web-backend/src/Folders/FoldersRpcs.tsindex afc1a72be..078d6f10f 100644--- a/packages/web-backend/src/Folders/FoldersRpcs.ts+++ b/packages/web-backend/src/Folders/FoldersRpcs.ts@@ -1,7 +1,7 @@import { Folder, InternalError } from "@cap/web-domain";import { Effect } from "effect";-import { Folders } from ".";+import { Folders } from "./index.ts";export const FolderRpcsLive = Folder.FolderRpcs.toLayer(Effect.gen(function* () {diff --git a/packages/web-backend/src/Folders/index.ts b/packages/web-backend/src/Folders/index.tsindex b620072a5..bf4b2c10f 100644--- a/packages/web-backend/src/Folders/index.ts+++ b/packages/web-backend/src/Folders/index.ts@@ -3,9 +3,10 @@ import * as Db from "@cap/database/schema";import { CurrentUser, Folder, Policy } from "@cap/web-domain";import * as Dz from "drizzle-orm";import { Effect, Option } from "effect";-import { Database, type DatabaseError } from "../Database";-import { FoldersPolicy } from "./FoldersPolicy";+import { Database, type DatabaseError } from "../Database.ts";+import { FoldersPolicy } from "./FoldersPolicy.ts";+// @effect-diagnostics-next-line leakingRequirements:offexport class Folders extends Effect.Service<Folders>()("Folders", {effect: Effect.gen(function* () {const db = yield* Database;@@ -123,5 +124,5 @@ export class Folders extends Effect.Service<Folders>()("Folders", {}),};}),- dependencies: [FoldersPolicy.Default],+ dependencies: [FoldersPolicy.Default, Database.Default],}) {}diff --git a/packages/web-backend/src/Loom/ImportVideo.ts b/packages/web-backend/src/Loom/ImportVideo.tsnew file mode 100644index 000000000..021f1d16e--- /dev/null+++ b/packages/web-backend/src/Loom/ImportVideo.ts@@ -0,0 +1,161 @@+import { S3Bucket, Video } from "@cap/web-domain";+import { Headers, HttpClient } from "@effect/platform";+import { Activity, Workflow } from "@effect/workflow";+import { Effect, Option, Schedule, Schema, Stream } from "effect";++import { DatabaseError } from "../Database.ts";+import { S3Buckets } from "../S3Buckets/index.ts";+import { S3BucketAccess, S3Error } from "../S3Buckets/S3BucketAccess.ts";+import { Videos } from "../Videos/index.ts";++export class LoomApiError extends Schema.TaggedError<LoomApiError>(+ "LoomApiError",+)("LoomApiError", { cause: Schema.Unknown }) {}++export const LoomImportVideoError = Schema.Union(+ DatabaseError,+ Video.NotFoundError,+ S3Error,+ LoomApiError,+);++export const LoomImportVideo = Workflow.make({+ name: "LoomImportVideo",+ payload: {+ cap: Schema.Struct({+ userId: Schema.String,+ orgId: Schema.String,+ }),+ loom: Schema.Struct({+ userId: Schema.String,+ orgId: Schema.String,+ video: Schema.Struct({+ id: Schema.String,+ name: Schema.String,+ downloadUrl: Schema.String,+ width: Schema.OptionFromNullOr(Schema.Number),+ height: Schema.OptionFromNullOr(Schema.Number),+ fps: Schema.OptionFromNullOr(Schema.Number),+ durationSecs: Schema.OptionFromNullOr(Schema.Number),+ }),+ }),+ attempt: Schema.optional(Schema.Number),+ },+ error: LoomImportVideoError,+ idempotencyKey: (p) =>+ `${p.cap.userId}-${p.loom.orgId}-${p.loom.video.id}-${p.attempt ?? 0}`,+});++export const LoomImportVideoLive = LoomImportVideo.toLayer(+ Effect.fn(function* (payload) {+ const videos = yield* Videos;+ const s3Buckets = yield* S3Buckets;+ const http = yield* HttpClient.HttpClient;++ const { videoId, customBucketId } = yield* Activity.make({+ name: "CreateVideoRecord",+ error: LoomImportVideoError,+ success: Schema.Struct({+ videoId: Video.VideoId,+ customBucketId: Schema.Option(S3Bucket.S3BucketId),+ }),+ execute: Effect.gen(function* () {+ const loomVideo = payload.loom.video;++ const [_, customBucket] = yield* s3Buckets+ .getProviderForUser(payload.cap.userId)+ .pipe(Effect.catchAll(() => Effect.die(null)));++ const customBucketId = Option.map(customBucket, (b) => b.id);++ const videoId = yield* videos.create({+ ownerId: payload.cap.userId,+ orgId: Option.some(payload.cap.orgId),+ bucketId: customBucketId,+ source: { type: "desktopMP4" as const },+ name: payload.loom.video.name,+ duration: loomVideo.durationSecs,+ width: loomVideo.width,+ height: loomVideo.height,+ public: true,+ metadata: Option.none(),+ folderId: Option.none(),+ transcriptionStatus: Option.none(),+ importSource: new Video.ImportSource({+ source: "loom",+ id: loomVideo.id,+ }),+ });++ return { videoId, customBucketId };+ }),+ });++ const source = new Video.Mp4Source({+ videoId: videoId,+ ownerId: payload.cap.userId,+ });++ const { fileKey } = yield* Activity.make({+ name: "DownloadVideo",+ error: LoomImportVideoError,+ success: Schema.Struct({ fileKey: Schema.String }),+ execute: Effect.gen(function* () {+ const [bucketProvider] =+ yield* s3Buckets.getProviderForBucket(customBucketId);++ return yield* Effect.gen(function* () {+ const s3Bucket = yield* S3BucketAccess;++ const resp = yield* http+ .get(payload.loom.video.downloadUrl)+ .pipe(Effect.catchAll((cause) => new LoomApiError({ cause })));+ const contentLength = Headers.get(+ resp.headers,+ "content-length",+ ).pipe(+ Option.map((v) => Number(v)),+ Option.getOrUndefined,+ );+ yield* Effect.log(`Downloading ${contentLength} bytes`);++ let downloadedBytes = 0;++ const key = source.getFileKey();++ yield* s3Bucket+ .putObject(+ key,+ resp.stream.pipe(+ Stream.tap((bytes) => {+ downloadedBytes += bytes.length;+ return Effect.void;+ }),+ ),+ { contentLength },+ )+ .pipe(+ Effect.race(+ // TODO: Connect this with upload progress+ Effect.repeat(+ Effect.gen(function* () {+ const bytes = yield* Effect.succeed(downloadedBytes);+ yield* Effect.log(`Downloaded ${bytes} bytes`);+ }),+ Schedule.forever.pipe(Schedule.delayed(() => "2 seconds")),+ ).pipe(Effect.delay("100 millis")),+ ),+ );++ yield* Effect.log(+ `Uploaded video for user '${payload.cap.userId}' at key '${key}'`,+ );++ return { fileKey: key };+ }).pipe(Effect.provide(bucketProvider));+ }),+ });++ return { fileKey, videoId };+ }),+);diff --git a/packages/web-backend/src/Loom/index.ts b/packages/web-backend/src/Loom/index.tsnew file mode 100644index 000000000..3610e7138--- /dev/null+++ b/packages/web-backend/src/Loom/index.ts@@ -0,0 +1 @@+export { LoomImportVideo, LoomImportVideoLive } from "./ImportVideo.ts";diff --git a/packages/web-backend/src/Organisations/OrganisationsRepo.ts b/packages/web-backend/src/Organisations/OrganisationsRepo.tsindex 314b46d3a..73a8c02fe 100644--- a/packages/web-backend/src/Organisations/OrganisationsRepo.ts+++ b/packages/web-backend/src/Organisations/OrganisationsRepo.ts@@ -3,7 +3,7 @@ import type { Video } from "@cap/web-domain";import * as Dz from "drizzle-orm";import { Effect } from "effect";-import { Database } from "../Database";+import { Database } from "../Database.ts";export class OrganisationsRepo extends Effect.Service<OrganisationsRepo>()("OrganisationsRepo",@@ -33,5 +33,6 @@ export class OrganisationsRepo extends Effect.Service<OrganisationsRepo>()(),};}),+ dependencies: [Database.Default],},) {}diff --git a/packages/web-backend/src/Rpcs.ts b/packages/web-backend/src/Rpcs.tsindex 54ded2158..0cced04ca 100644--- a/packages/web-backend/src/Rpcs.ts+++ b/packages/web-backend/src/Rpcs.ts@@ -5,10 +5,10 @@ import {} from "@cap/web-domain";import { Effect, Layer, Option } from "effect";-import { getCurrentUser } from "./Auth";-import { Database } from "./Database";-import { FolderRpcsLive } from "./Folders/FoldersRpcs";-import { VideosRpcsLive } from "./Videos/VideosRpcs";+import { getCurrentUser } from "./Auth.ts";+import { Database } from "./Database.ts";+import { FolderRpcsLive } from "./Folders/FoldersRpcs.ts";+import { VideosRpcsLive } from "./Videos/VideosRpcs.ts";export const RpcsLive = Layer.mergeAll(VideosRpcsLive, FolderRpcsLive);diff --git a/packages/web-backend/src/S3Buckets/S3BucketAccess.ts b/packages/web-backend/src/S3Buckets/S3BucketAccess.tsindex 02573f105..4254a7b2e 100644--- a/packages/web-backend/src/S3Buckets/S3BucketAccess.ts+++ b/packages/web-backend/src/S3Buckets/S3BucketAccess.ts@@ -1,23 +1,24 @@+import { Readable } from "node:stream";import * as S3 from "@aws-sdk/client-s3";import {createPresignedPost,type PresignedPostOptions,} from "@aws-sdk/s3-presigned-post";import * as S3Presigner from "@aws-sdk/s3-request-presigner";-import type {- RequestPresigningArguments,- StreamingBlobPayloadInputTypes,-} from "@smithy/types";-import { type Cause, Data, Effect, Option } from "effect";-import { S3BucketClientProvider } from "./S3BucketClientProvider";+import type { RequestPresigningArguments } from "@smithy/types";+import { type Cause, Effect, Option, Schema, Stream } from "effect";-export class S3Error extends Data.TaggedError("S3Error")<{ message: string }> {}+import { S3BucketClientProvider } from "./S3BucketClientProvider.ts";++export class S3Error extends Schema.TaggedError<S3Error>()("S3Error", {+ cause: Schema.Unknown,+}) {}const wrapS3Promise = <T>(callback: (provider: S3BucketClientProvider["Type"],) => Promise<T> | Effect.Effect<Promise<T>, Cause.UnknownException>,-): Effect.Effect<T, Cause.UnknownException | S3Error, S3BucketClientProvider> =>+): Effect.Effect<T, S3Error, S3BucketClientProvider> =>Effect.gen(function* () {const provider = yield* S3BucketClientProvider;@@ -26,7 +27,7 @@ const wrapS3Promise = <T>(if (cbResult instanceof Promise) {return yield* Effect.tryPromise({try: () => cbResult,- catch: (e) => new S3Error({ message: String(e) }),+ catch: (cause) => new S3Error({ cause }),});}@@ -34,11 +35,13 @@ const wrapS3Promise = <T>(Effect.flatMap((cbResult) =>Effect.tryPromise({try: () => cbResult,- catch: (e) => new S3Error({ message: String(e) }),+ catch: (cause) => new S3Error({ cause }),}),),);- });+ }).pipe(+ Effect.catchTag("UnknownException", (cause) => new S3Error({ cause })),+ );// @effect-diagnostics-next-line leakingRequirements:offexport class S3BucketAccess extends Effect.Service<S3BucketAccess>()(@@ -105,24 +108,42 @@ export class S3BucketAccess extends Effect.Service<S3BucketAccess>()(),),),- putObject: (+ putObject: <E>(key: string,- body: StreamingBlobPayloadInputTypes,- fields?: { contentType?: string },+ body: string | Uint8Array | ArrayBuffer | Stream.Stream<Uint8Array, E>,+ fields?: { contentType?: string; contentLength?: number },) =>wrapS3Promise((provider) =>provider.getInternal.pipe(- Effect.map((client) =>- client.send(- new S3.PutObjectCommand({- Bucket: provider.bucket,- Key: key,- Body: body,- ContentType: fields?.contentType,- }),- ),+ Effect.flatMap((client) =>+ Effect.gen(function* () {+ let _body;++ if (typeof body === "string" || body instanceof Uint8Array) {+ _body = body;+ } else if (body instanceof ArrayBuffer) {+ _body = new Uint8Array(body);+ } else {+ _body = body.pipe(+ Stream.toReadableStreamRuntime(yield* Effect.runtime()),+ (s) => Readable.fromWeb(s as any),+ );+ }++ return client.send(+ new S3.PutObjectCommand({+ Bucket: provider.bucket,+ Key: key,+ Body: _body,+ ContentType: fields?.contentType,+ ContentLength: fields?.contentLength,+ }),+ );+ }),),),+ ).pipe(+ Effect.withSpan("S3BucketAccess.putObject", { attributes: { key } }),),/** Copy an object within the same bucket */copyObject: (diff --git a/packages/web-backend/src/S3Buckets/S3BucketsRepo.ts b/packages/web-backend/src/S3Buckets/S3BucketsRepo.tsindex 4c483ae51..3a6fb3365 100644--- a/packages/web-backend/src/S3Buckets/S3BucketsRepo.ts+++ b/packages/web-backend/src/S3Buckets/S3BucketsRepo.ts@@ -3,7 +3,7 @@ import { S3Bucket, type Video } from "@cap/web-domain";import * as Dz from "drizzle-orm";import { Effect, Option } from "effect";-import { Database } from "../Database";+import { Database } from "../Database.ts";export class S3BucketsRepo extends Effect.Service<S3BucketsRepo>()("S3BucketsRepo",@@ -48,7 +48,26 @@ export class S3BucketsRepo extends Effect.Service<S3BucketsRepo>()(}),);- return { getForVideo, getById };+ const getForUser = Effect.fn("S3BucketsRepo.getForUser")(+ (userId: string) =>+ Effect.gen(function* () {+ const [res] = yield* db.execute((db) =>+ db+ .select({ bucket: Db.s3Buckets })+ .from(Db.s3Buckets)+ .where(Dz.eq(Db.s3Buckets.ownerId, userId)),+ );++ return Option.fromNullable(res).pipe(+ Option.map((v) =>+ S3Bucket.decodeSync({ ...v.bucket, name: v.bucket.bucketName }),+ ),+ );+ }),+ );++ return { getForVideo, getById, getForUser };}),+ dependencies: [Database.Default],},) {}diff --git a/packages/web-backend/src/S3Buckets/index.ts b/packages/web-backend/src/S3Buckets/index.tsindex 0d4507d8e..1cbf14085 100644--- a/packages/web-backend/src/S3Buckets/index.ts+++ b/packages/web-backend/src/S3Buckets/index.ts@@ -4,9 +4,11 @@ import { decrypt } from "@cap/database/crypto";import { S3_BUCKET_URL } from "@cap/utils";import type { S3Bucket } from "@cap/web-domain";import { Config, Context, Effect, Layer, Option } from "effect";-import { S3BucketAccess } from "./S3BucketAccess";-import { S3BucketClientProvider } from "./S3BucketClientProvider";-import { S3BucketsRepo } from "./S3BucketsRepo";++import { Database } from "../Database.ts";+import { S3BucketAccess } from "./S3BucketAccess.ts";+import { S3BucketClientProvider } from "./S3BucketClientProvider.ts";+import { S3BucketsRepo } from "./S3BucketsRepo.ts";export class S3Buckets extends Effect.Service<S3Buckets>()("S3Buckets", {effect: Effect.gen(function* () {@@ -133,8 +135,45 @@ export class S3Buckets extends Effect.Service<S3Buckets>()("S3Buckets", {),);+ const getProvider = Effect.fn("S3Buckets.getProviderLayer")(function* (+ customBucket: Option.Option<S3Bucket.S3Bucket>,+ ) {+ const layer = yield* Option.match(customBucket, {+ onNone: () => {+ const provider = Layer.succeed(S3BucketClientProvider, {+ getInternal: Effect.succeed(createDefaultClient(true)),+ getPublic: Effect.succeed(createDefaultClient(false)),+ bucket: defaultConfigs.bucket,+ });++ return Option.match(cloudfrontBucketAccess, {+ onSome: (access) => access,+ onNone: () => defaultBucketAccess,+ }).pipe(Layer.merge(provider), Effect.succeed);+ },+ onSome: (customBucket) =>+ Effect.gen(function* () {+ const bucket = yield* Effect.promise(() =>+ decrypt(customBucket.name),+ );++ const provider = Layer.succeed(S3BucketClientProvider, {+ getInternal: Effect.promise(() =>+ createBucketClient(customBucket),+ ),+ getPublic: Effect.promise(() => createBucketClient(customBucket)),+ bucket,+ });++ return Layer.merge(defaultBucketAccess, provider);+ }),+ });++ return [layer, customBucket] as const;+ });+return {- getProviderLayer: Effect.fn("S3Buckets.getProviderLayer")(function* (+ getProviderForBucket: Effect.fn("S3Buckets.getProviderById")(function* (bucketId: Option.Option<S3Bucket.S3BucketId>,) {const customBucket = yield* bucketId.pipe(@@ -143,40 +182,18 @@ export class S3Buckets extends Effect.Service<S3Buckets>()("S3Buckets", {Effect.map(Option.flatten),);- let layer;-- if (Option.isNone(customBucket)) {- const provider = Layer.succeed(S3BucketClientProvider, {- getInternal: Effect.succeed(createDefaultClient(true)),- getPublic: Effect.succeed(createDefaultClient(false)),- bucket: defaultConfigs.bucket,- });+ return yield* getProvider(customBucket);+ }),+ getProviderForUser: Effect.fn("S3Buckets.getProviderForUser")(function* (+ userId: string,+ ) {+ const customBucket = yield* repo+ .getForUser(userId)+ .pipe(Effect.option, Effect.map(Option.flatten));- layer = Option.match(cloudfrontBucketAccess, {- onSome: (access) => access,- onNone: () => defaultBucketAccess,- }).pipe(Layer.merge(provider));- } else {- layer = defaultBucketAccess.pipe(- Layer.merge(- Layer.succeed(S3BucketClientProvider, {- getInternal: Effect.promise(() =>- createBucketClient(customBucket.value),- ),- getPublic: Effect.promise(() =>- createBucketClient(customBucket.value),- ),- bucket: yield* Effect.promise(() =>- decrypt(customBucket.value.name),- ),- }),- ),- );- }-- return [layer, customBucket] as const;+ return yield* getProvider(customBucket);}),};}),- dependencies: [S3BucketsRepo.Default],+ dependencies: [S3BucketsRepo.Default, Database.Default],}) {}diff --git a/packages/web-backend/src/Spaces/SpacesRepo.ts b/packages/web-backend/src/Spaces/SpacesRepo.tsindex 0797026ac..bb77e42f5 100644--- a/packages/web-backend/src/Spaces/SpacesRepo.ts+++ b/packages/web-backend/src/Spaces/SpacesRepo.ts@@ -3,7 +3,7 @@ import type { Video } from "@cap/web-domain";import * as Dz from "drizzle-orm";import { Effect } from "effect";-import { Database } from "../Database";+import { Database } from "../Database.ts";export class SpacesRepo extends Effect.Service<SpacesRepo>()("SpacesRepo", {effect: Effect.gen(function* () {@@ -28,4 +28,5 @@ export class SpacesRepo extends Effect.Service<SpacesRepo>()("SpacesRepo", {),};}),+ dependencies: [Database.Default],}) {}diff --git a/packages/web-backend/src/Videos/VideosPolicy.ts b/packages/web-backend/src/Videos/VideosPolicy.tsindex c6cb0ea30..9e3aa6f6f 100644--- a/packages/web-backend/src/Videos/VideosPolicy.ts+++ b/packages/web-backend/src/Videos/VideosPolicy.ts@@ -1,9 +1,10 @@import { Policy, Video } from "@cap/web-domain";import { Array, Effect, Option } from "effect";-import { OrganisationsRepo } from "../Organisations/OrganisationsRepo";-import { SpacesRepo } from "../Spaces/SpacesRepo";-import { VideosRepo } from "./VideosRepo";+import { Database } from "../Database.ts";+import { OrganisationsRepo } from "../Organisations/OrganisationsRepo.ts";+import { SpacesRepo } from "../Spaces/SpacesRepo.ts";+import { VideosRepo } from "./VideosRepo.ts";export class VideosPolicy extends Effect.Service<VideosPolicy>()("VideosPolicy",@@ -91,6 +92,7 @@ export class VideosPolicy extends Effect.Service<VideosPolicy>()(VideosRepo.Default,OrganisationsRepo.Default,SpacesRepo.Default,+ Database.Default,],},) {}diff --git a/packages/web-backend/src/Videos/VideosRepo.ts b/packages/web-backend/src/Videos/VideosRepo.tsindex 2f3b66c56..daa597ff6 100644--- a/packages/web-backend/src/Videos/VideosRepo.ts+++ b/packages/web-backend/src/Videos/VideosRepo.ts@@ -2,76 +2,96 @@ import { nanoId } from "@cap/database/helpers";import * as Db from "@cap/database/schema";import { Video } from "@cap/web-domain";import * as Dz from "drizzle-orm";+import type { MySqlInsertBase } from "drizzle-orm/mysql-core";import { Effect, Option } from "effect";-import { Database } from "../Database";+import type { Schema } from "effect/Schema";+import { Database } from "../Database.ts";++export type CreateVideoInput = Omit<+ Schema.Type<typeof Video.Video>,+ "id" | "createdAt" | "updatedAt"+> & { password?: string; importSource?: Video.ImportSource };export class VideosRepo extends Effect.Service<VideosRepo>()("VideosRepo", {effect: Effect.gen(function* () {const db = yield* Database;- return {- /**- * Gets a `Video` and its accompanying password if available.- *- * The password is returned separately as the `Video` class is client-safe- */- getById: (id: Video.VideoId) =>- Effect.gen(function* () {- const [video] = yield* db.execute((db) =>- db.select().from(Db.videos).where(Dz.eq(Db.videos.id, id)),- );+ /**+ * Gets a `Video` and its accompanying password if available.+ *+ * The password is returned separately as the `Video` class is client-safe+ */+ const getById = (id: Video.VideoId) =>+ Effect.gen(function* () {+ const [video] = yield* db.execute((db) =>+ db.select().from(Db.videos).where(Dz.eq(Db.videos.id, id)),+ );++ return Option.fromNullable(video).pipe(+ Option.map(+ (v) =>+ [+ Video.Video.decodeSync({+ ...v,+ bucketId: v.bucket,+ createdAt: v.createdAt.toISOString(),+ updatedAt: v.updatedAt.toISOString(),+ metadata: v.metadata as any,+ }),+ Option.fromNullable(video?.password),+ ] as const,+ ),+ );+ });++ const delete_ = (id: Video.VideoId) =>+ db.execute((db) => db.delete(Db.videos).where(Dz.eq(Db.videos.id, id)));- return Option.fromNullable(video).pipe(- Option.map(- (v) =>- [- Video.Video.decodeSync({- ...v,- bucketId: v.bucket,- createdAt: v.createdAt.toISOString(),- updatedAt: v.updatedAt.toISOString(),- metadata: v.metadata as any,- }),- Option.fromNullable(video?.password),- ] as const,- ),- );- }),- delete: (id: Video.VideoId) =>- db.execute((db) => db.delete(Db.videos).where(Dz.eq(Db.videos.id, id))),- create: (- data: Pick<- (typeof Video.Video)["Encoded"],- | "ownerId"- | "name"- | "bucketId"- | "metadata"- | "public"- | "transcriptionStatus"- | "source"- | "folderId"- > & { password?: string },- ) => {- const id = nanoId();+ const create = (data: CreateVideoInput) =>+ Effect.gen(function* () {+ const id = Video.VideoId.make(nanoId());- return db.execute((db) =>- db- .insert(Db.videos)- .values({- id,- ownerId: data.ownerId,- name: data.name,- bucket: data.bucketId,- metadata: data.metadata,- public: data.public,- transcriptionStatus: data.transcriptionStatus,- source: data.source,- folderId: data.folderId,- password: data.password,- })- .then(() => Video.VideoId.make(id)),+ yield* db.execute((db) =>+ db.transaction(async (db) => {+ const promises: MySqlInsertBase<any, any, any>[] = [+ db.insert(Db.videos).values([+ {+ ...data,+ id,+ orgId: Option.getOrNull(data.orgId ?? Option.none()),+ bucket: Option.getOrNull(data.bucketId ?? Option.none()),+ metadata: Option.getOrNull(data.metadata ?? Option.none()),+ transcriptionStatus: Option.getOrNull(+ data.transcriptionStatus ?? Option.none(),+ ),+ folderId: Option.getOrNull(data.folderId ?? Option.none()),+ width: Option.getOrNull(data.width ?? Option.none()),+ height: Option.getOrNull(data.height ?? Option.none()),+ duration: Option.getOrNull(data.duration ?? Option.none()),+ },+ ]),+ ];++ if (data.importSource && Option.isSome(data.orgId))+ promises.push(+ db.insert(Db.importedVideos).values([+ {+ id,+ orgId: data.orgId.value,+ source: data.importSource.source,+ sourceId: data.importSource.id,+ },+ ]),+ );++ await Promise.all(promises);+ }),);- },- };++ return id;+ });++ return { getById, delete: delete_, create };}),+ dependencies: [Database.Default],}) {}diff --git a/packages/web-backend/src/Videos/VideosRpcs.ts b/packages/web-backend/src/Videos/VideosRpcs.tsindex c04de7f1d..5f2e12d23 100644--- a/packages/web-backend/src/Videos/VideosRpcs.ts+++ b/packages/web-backend/src/Videos/VideosRpcs.ts@@ -1,7 +1,8 @@import { InternalError, Video } from "@cap/web-domain";import { Effect } from "effect";-import { provideOptionalAuth } from "../Auth";-import { Videos } from ".";++import { provideOptionalAuth } from "../Auth.ts";+import { Videos } from "./index.ts";export const VideosRpcsLive = Video.VideoRpcs.toLayer(Effect.gen(function* () {@@ -13,7 +14,6 @@ export const VideosRpcsLive = Video.VideoRpcs.toLayer(Effect.catchTags({DatabaseError: () => new InternalError({ type: "database" }),S3Error: () => new InternalError({ type: "s3" }),- UnknownException: () => new InternalError({ type: "unknown" }),}),),VideoDuplicate: (videoId) =>@@ -21,13 +21,11 @@ export const VideosRpcsLive = Video.VideoRpcs.toLayer(Effect.catchTags({DatabaseError: () => new InternalError({ type: "database" }),S3Error: () => new InternalError({ type: "s3" }),- UnknownException: () => new InternalError({ type: "unknown" }),}),),GetUploadProgress: (videoId) =>videos.getUploadProgress(videoId).pipe(provideOptionalAuth,- (v) => v,Effect.catchTags({DatabaseError: () => new InternalError({ type: "database" }),UnknownException: () => new InternalError({ type: "unknown" }),diff --git a/packages/web-backend/src/Videos/index.ts b/packages/web-backend/src/Videos/index.tsindex 720e77df5..49d08d6cc 100644--- a/packages/web-backend/src/Videos/index.ts+++ b/packages/web-backend/src/Videos/index.ts@@ -2,11 +2,12 @@ import * as Db from "@cap/database/schema";import { CurrentUser, Policy, Video } from "@cap/web-domain";import * as Dz from "drizzle-orm";import { Array, Effect, Option, pipe } from "effect";-import { Database } from "../Database";-import { S3Buckets } from "../S3Buckets";-import { S3BucketAccess } from "../S3Buckets/S3BucketAccess";-import { VideosPolicy } from "./VideosPolicy";-import { VideosRepo } from "./VideosRepo";++import { Database } from "../Database.ts";+import { S3Buckets } from "../S3Buckets/index.ts";+import { S3BucketAccess } from "../S3Buckets/S3BucketAccess.ts";+import { VideosPolicy } from "./VideosPolicy.ts";+import { VideosRepo } from "./VideosRepo.ts";export class Videos extends Effect.Service<Videos>()("Videos", {effect: Effect.gen(function* () {@@ -38,7 +39,7 @@ export class Videos extends Effect.Service<Videos>()("Videos", {Effect.flatMap(Effect.catchAll(() => new Video.NotFoundError())),);- const [S3ProviderLayer] = yield* s3Buckets.getProviderLayer(+ const [S3ProviderLayer] = yield* s3Buckets.getProviderForBucket(video.bucketId,);@@ -78,12 +79,12 @@ export class Videos extends Effect.Service<Videos>()("Videos", {Policy.withPolicy(policy.isOwner(videoId)),);- const [S3ProviderLayer] = yield* s3Buckets.getProviderLayer(+ const [S3ProviderLayer] = yield* s3Buckets.getProviderForBucket(video.bucketId,);// Don't duplicate password or sharing data- const newVideoId = yield* repo.create(yield* video.toJS());+ const newVideoId = yield* repo.create(video);yield* Effect.gen(function* () {const s3 = yield* S3BucketAccess;@@ -135,7 +136,14 @@ export class Videos extends Effect.Service<Videos>()("Videos", {Option.map((r) => new Video.UploadProgress(r)),);}),++ create: Effect.fn("Videos.create")(repo.create),};}),- dependencies: [VideosPolicy.Default, VideosRepo.Default, S3Buckets.Default],+ dependencies: [+ VideosPolicy.Default,+ VideosRepo.Default,+ Database.Default,+ S3Buckets.Default,+ ],}) {}diff --git a/packages/web-backend/src/Workflows.ts b/packages/web-backend/src/Workflows.tsnew file mode 100644index 000000000..33b6c8313--- /dev/null+++ b/packages/web-backend/src/Workflows.ts@@ -0,0 +1,31 @@+import { HttpApi, type HttpApiClient } from "@effect/platform";+import * as Rpc from "@effect/rpc";+import { WorkflowProxy, WorkflowProxyServer } from "@effect/workflow";+import { Context, Layer } from "effect";++import { LoomImportVideo, LoomImportVideoLive } from "./Loom/index.ts";++export const Workflows = [LoomImportVideo] as const;+export const RpcGroup = WorkflowProxy.toRpcGroup(Workflows);+export const RpcSerialization = Rpc.RpcSerialization.layerJson;++export class RpcClient extends Context.Tag("Workflows/RpcClient")<+ RpcClient,+ Rpc.RpcClient.RpcClient<+ Rpc.RpcGroup.Rpcs<typeof RpcGroup>,+ Rpc.RpcClientError.RpcClientError+ >+>() {}++const ApiGroup = WorkflowProxy.toHttpApiGroup("workflows", Workflows);+export const Api = HttpApi.make("workflow-api").add(ApiGroup);++export class HttpClient extends Context.Tag("Workflows/HttpClient")<+ HttpClient,+ HttpApiClient.Client<typeof ApiGroup, never, never>+>() {}++export const WorkflowsLayer = Layer.mergeAll(LoomImportVideoLive);++export const WorkflowsRpcLayer =+ WorkflowProxyServer.layerRpcHandlers(Workflows);diff --git a/packages/web-backend/src/index.ts b/packages/web-backend/src/index.tsindex dde8f5b34..ebf421ec8 100644--- a/packages/web-backend/src/index.ts+++ b/packages/web-backend/src/index.ts@@ -1,10 +1,10 @@-import "server-only";--export * from "./Auth";-export * from "./Database";-export { Folders } from "./Folders";-export * from "./Rpcs";-export { S3Buckets } from "./S3Buckets";-export { S3BucketAccess } from "./S3Buckets/S3BucketAccess";-export { Videos } from "./Videos";-export { VideosPolicy } from "./Videos/VideosPolicy";+export * from "./Auth.ts";+export * from "./Database.ts";+export { Folders } from "./Folders/index.ts";+export * from "./Loom/index.ts";+export * from "./Rpcs.ts";+export { S3Buckets } from "./S3Buckets/index.ts";+export { S3BucketAccess } from "./S3Buckets/S3BucketAccess.ts";+export { Videos } from "./Videos/index.ts";+export { VideosPolicy } from "./Videos/VideosPolicy.ts";+export * as Workflows from "./Workflows.ts";diff --git a/packages/web-backend/tsconfig.json b/packages/web-backend/tsconfig.jsonindex 38b814f6d..00c6c9934 100644--- a/packages/web-backend/tsconfig.json+++ b/packages/web-backend/tsconfig.json@@ -7,9 +7,6 @@"composite": true,"outDir": "dist","noEmit": false,- "emitDeclarationOnly": true,- "strict": true,- "noUncheckedIndexedAccess": true- },- "references": [{ "path": "../web-domain" }, { "path": "../database" }]+ "emitDeclarationOnly": true+ }}diff --git a/packages/web-domain/package.json b/packages/web-domain/package.jsonindex 49ba61d0e..6c768bc6b 100644--- a/packages/web-domain/package.json+++ b/packages/web-domain/package.json@@ -6,7 +6,8 @@"type": "module","dependencies": {"@effect/platform": "^0.90.1",- "@effect/rpc": "^0.68.3",- "effect": "^3.17.7"+ "@effect/rpc": "^0.69.2",+ "@effect/workflow": "^0.9.5",+ "effect": "^3.17.13"}}diff --git a/packages/web-domain/src/Authentication.ts b/packages/web-domain/src/Authentication.tsindex db92b874a..b4ef466d3 100644--- a/packages/web-domain/src/Authentication.ts+++ b/packages/web-domain/src/Authentication.ts@@ -2,7 +2,7 @@ import { HttpApiError, HttpApiMiddleware } from "@effect/platform";import { RpcMiddleware } from "@effect/rpc";import { Context, Schema } from "effect";-import { InternalError } from "./Errors";+import { InternalError } from "./Errors.ts";export class CurrentUser extends Context.Tag("CurrentUser")<CurrentUser,@@ -16,6 +16,7 @@ export class HttpAuthMiddleware extends HttpApiMiddleware.Tag<HttpAuthMiddlewarefailure: Schema.Union(HttpApiError.Unauthorized,HttpApiError.InternalServerError,+ HttpApiError.BadRequest,),},) {}diff --git a/packages/web-domain/src/Folder.ts b/packages/web-domain/src/Folder.tsindex 18f9d2471..3a1e34b65 100644--- a/packages/web-domain/src/Folder.ts+++ b/packages/web-domain/src/Folder.ts@@ -1,8 +1,9 @@import { Rpc, RpcGroup } from "@effect/rpc";import { Schema } from "effect";-import { RpcAuthMiddleware } from "./Authentication";-import { InternalError } from "./Errors";-import { PolicyDeniedError } from "./Policy";++import { RpcAuthMiddleware } from "./Authentication.ts";+import { InternalError } from "./Errors.ts";+import { PolicyDeniedError } from "./Policy.ts";export const FolderId = Schema.String.pipe(Schema.brand("FolderId"));export type FolderId = typeof FolderId.Type;diff --git a/packages/web-domain/src/Loom.ts b/packages/web-domain/src/Loom.tsnew file mode 100644index 000000000..8f1c0776a--- /dev/null+++ b/packages/web-domain/src/Loom.ts@@ -0,0 +1,43 @@+import { Workflow } from "@effect/workflow";+import { Schema } from "effect";++import * as Video from "./Video.ts";++class LoomApiError extends Schema.TaggedError<LoomApiError>("LoomApiError")(+ "LoomApiError",+ { cause: Schema.Unknown },+) {}++const LoomImportVideoError = Schema.Union(+ // DatabaseError,+ Video.NotFoundError,+ // S3Error,+ LoomApiError,+);++export const LoomImportVideo = Workflow.make({+ name: "LoomImportVideo",+ payload: {+ cap: Schema.Struct({+ userId: Schema.String,+ orgId: Schema.String,+ }),+ loom: Schema.Struct({+ userId: Schema.String,+ orgId: Schema.String,+ video: Schema.Struct({+ id: Schema.String,+ name: Schema.String,+ downloadUrl: Schema.String,+ width: Schema.OptionFromNullOr(Schema.Number),+ height: Schema.OptionFromNullOr(Schema.Number),+ fps: Schema.OptionFromNullOr(Schema.Number),+ durationSecs: Schema.OptionFromNullOr(Schema.Number),+ }),+ }),+ attempt: Schema.optional(Schema.Number),+ },+ error: LoomImportVideoError,+ idempotencyKey: (p) =>+ `${p.cap.userId}-${p.loom.orgId}-${p.loom.video.id}-${p.attempt ?? 0}`,+});diff --git a/packages/web-domain/src/Policy.ts b/packages/web-domain/src/Policy.tsindex 750e0d751..d159eafd1 100644--- a/packages/web-domain/src/Policy.ts+++ b/packages/web-domain/src/Policy.ts@@ -1,7 +1,8 @@// shoutout https://lucas-barake.github.io/building-a-composable-policy-system/import { Context, Data, Effect, type Option, Schema } from "effect";-import { CurrentUser } from "./Authentication";++import { CurrentUser } from "./Authentication.ts";export type Policy<E = never, R = never> = Effect.Effect<void,diff --git a/packages/web-domain/src/Rpcs.ts b/packages/web-domain/src/Rpcs.tsindex 747359980..6cb50ece2 100644--- a/packages/web-domain/src/Rpcs.ts+++ b/packages/web-domain/src/Rpcs.ts@@ -1,4 +1,6 @@-import { FolderRpcs } from "./Folder";-import { VideoRpcs } from "./Video";+import { RpcGroup } from "@effect/rpc";-export const Rpcs = VideoRpcs.merge(FolderRpcs);+import { FolderRpcs } from "./Folder.ts";+import { VideoRpcs } from "./Video.ts";++export const Rpcs = RpcGroup.make().merge(VideoRpcs, FolderRpcs);diff --git a/packages/web-domain/src/S3Bucket.ts b/packages/web-domain/src/S3Bucket.tsindex e332f349b..327826e88 100644--- a/packages/web-domain/src/S3Bucket.ts+++ b/packages/web-domain/src/S3Bucket.ts@@ -4,7 +4,7 @@ export const S3BucketId = Schema.String.pipe(Schema.brand("S3BucketId"));export type S3BucketId = typeof S3BucketId.Type;export class S3Bucket extends Schema.Class<S3Bucket>("S3Bucket")({- id: Schema.String,+ id: S3BucketId,ownerId: Schema.String,region: Schema.String,endpoint: Schema.OptionFromNullOr(Schema.String),@@ -13,4 +13,6 @@ export class S3Bucket extends Schema.Class<S3Bucket>("S3Bucket")({secretAccessKey: Schema.String,}) {}+export const Workflows = [S3Bucket] as const;+export const decodeSync = Schema.decodeSync(S3Bucket);diff --git a/packages/web-domain/src/Video.ts b/packages/web-domain/src/Video.tsindex b04317fe0..3c0f68845 100644--- a/packages/web-domain/src/Video.ts+++ b/packages/web-domain/src/Video.ts@@ -1,10 +1,11 @@import { Rpc, RpcGroup } from "@effect/rpc";import { Context, Effect, Option, Schema } from "effect";-import { RpcAuthMiddleware } from "./Authentication";-import { InternalError } from "./Errors";-import { FolderId } from "./Folder";-import { PolicyDeniedError } from "./Policy";-import { S3BucketId } from "./S3Bucket";++import { RpcAuthMiddleware } from "./Authentication.ts";+import { InternalError } from "./Errors.ts";+import { FolderId } from "./Folder.ts";+import { PolicyDeniedError } from "./Policy.ts";+import { S3BucketId } from "./S3Bucket.ts";export const VideoId = Schema.String.pipe(Schema.brand("VideoId"));export type VideoId = typeof VideoId.Type;@@ -13,25 +14,48 @@ export type VideoId = typeof VideoId.Type;export class Video extends Schema.Class<Video>("Video")({id: VideoId,ownerId: Schema.String,+ orgId: Schema.OptionFromNullOr(Schema.String),name: Schema.String,public: Schema.Boolean,- metadata: Schema.OptionFromNullOr(- Schema.Record({ key: Schema.String, value: Schema.Any }),- ),source: Schema.Struct({type: Schema.Literal("MediaConvert", "local", "desktopMP4"),}),+ metadata: Schema.OptionFromNullOr(+ Schema.Record({ key: Schema.String, value: Schema.Any }),+ ),bucketId: Schema.OptionFromNullOr(S3BucketId),folderId: Schema.OptionFromNullOr(FolderId),transcriptionStatus: Schema.OptionFromNullOr(Schema.Literal("PROCESSING", "COMPLETE", "ERROR"),),+ width: Schema.OptionFromNullOr(Schema.Number),+ height: Schema.OptionFromNullOr(Schema.Number),+ duration: Schema.OptionFromNullOr(Schema.Number),createdAt: Schema.Date,updatedAt: Schema.Date,}) {static decodeSync = Schema.decodeSync(Video);- toJS = () => Schema.encode(Video)(this).pipe(Effect.orDie);+ static toJS = (self: Video) => Schema.encode(Video)(self).pipe(Effect.orDie);++ static getSource(self: Video) {+ if (self.source.type === "MediaConvert")+ return new M3U8Source({+ videoId: self.id,+ ownerId: self.ownerId,+ subpath: "output/video_recording_000.m3u8",+ });++ if (self.source.type === "local")+ return new M3U8Source({+ videoId: self.id,+ ownerId: self.ownerId,+ subpath: "combined-source/stream.m3u8",+ });++ if (self.source.type === "desktopMP4")+ return new Mp4Source({ videoId: self.id, ownerId: self.ownerId });+ }}export class UploadProgress extends Schema.Class<UploadProgress>(@@ -43,7 +67,31 @@ export class UploadProgress extends Schema.Class<UploadProgress>(updatedAt: Schema.Date,}) {}-/**+export class ImportSource extends Schema.Class<ImportSource>("ImportSource")({+ source: Schema.Literal("loom"),+ id: Schema.String,+}) {}++export class Mp4Source extends Schema.TaggedClass<Mp4Source>()("Mp4Source", {+ videoId: Schema.String,+ ownerId: Schema.String,+}) {+ getFileKey() {+ return `${this.ownerId}/${this.videoId}/result.mp4`;+ }+}++export class M3U8Source extends Schema.TaggedClass<M3U8Source>()("M3U8Source", {+ videoId: Schema.String,+ ownerId: Schema.String,+ subpath: Schema.String,+}) {+ getPlaylistFileKey() {+ return `${this.ownerId}/${this.videoId}/${this.subpath}`;+ }+}++/** Used to specify a video password provided by a user,* whether via cookies in the case of the website,* or via query params for the API.diff --git a/packages/web-domain/src/index.ts b/packages/web-domain/src/index.tsindex 0295b50cc..ff44d08fa 100644--- a/packages/web-domain/src/index.ts+++ b/packages/web-domain/src/index.ts@@ -1,8 +1,8 @@-export * from "./Authentication";-export * from "./Errors";-export * as Folder from "./Folder";-export * from "./Organisation";-export * as Policy from "./Policy";-export { Rpcs } from "./Rpcs";-export * as S3Bucket from "./S3Bucket";-export * as Video from "./Video";+export * from "./Authentication.ts";+export * from "./Errors.ts";+export * as Folder from "./Folder.ts";+export * from "./Organisation.ts";+export * as Policy from "./Policy.ts";+export { Rpcs } from "./Rpcs.ts";+export * as S3Bucket from "./S3Bucket.ts";+export * as Video from "./Video.ts";diff --git a/packages/web-domain/src/utils.ts b/packages/web-domain/src/utils.tsnew file mode 100644index 000000000..7c4b41c9e--- /dev/null+++ b/packages/web-domain/src/utils.ts@@ -0,0 +1,5 @@+import { Schema } from "effect";++export const optional = <Value extends Schema.Schema<any, any, any>>(+ s: Value,+) => Schema.optional(Schema.OptionFromNullishOr(s, null));diff --git a/packages/web-domain/tsconfig.json b/packages/web-domain/tsconfig.jsonindex bf9eb6f62..5b71fafb5 100644--- a/packages/web-domain/tsconfig.json+++ b/packages/web-domain/tsconfig.json@@ -1,9 +1,8 @@{"extends": "../config/base.tsconfig.json","exclude": ["node_modules", "dist"],- "include": ["**/*.ts", "**/*.tsx"],+ "include": ["src/**/*.ts", "src/**/*.tsx"],"compilerOptions": {- "baseUrl": ".","moduleResolution": "bundler","composite": true,"outDir": "dist",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex db3514f84..aa8217d19 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -4,6 +4,9 @@ settings:autoInstallPeers: trueexcludeLinksFromLockfile: false+overrides:+ undici: 5.28.4+importers:.:@@ -109,7 +112,7 @@ importers:version: 0.14.10([email protected])'@solidjs/start':specifier: ^1.1.3- version: 1.1.3(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 1.1.3(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected])'@tanstack/solid-query':specifier: ^5.51.21version: 5.75.4([email protected])@@ -162,8 +165,8 @@ importers:specifier: npm:class-variance-authority@^0.7.0version: [email protected]effect:- specifier: ^3.17.7- version: 3.17.7+ specifier: ^3.17.13+ version: 3.17.13mp4box:specifier: ^0.5.2version: 0.5.4@@ -196,7 +199,7 @@ importers:version: 9.0.1vinxi:specifier: ^0.5.6- version: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])webcodecs:specifier: ^0.1.0version: 0.1.0@@ -230,13 +233,13 @@ importers:version: 5.8.3vite:specifier: ^6.3.5vite-tsconfig-paths:specifier: ^5.0.1- version: 5.1.4([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 5.1.4([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))vitest:specifier: ~2.1.9apps/discord-bot:dependencies:@@ -267,7 +270,7 @@ importers:devDependencies:'@cloudflare/vitest-pool-workers':specifier: ^0.6.4- version: 0.6.16(@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected](@types/[email protected])([email protected])([email protected]))+ version: 0.6.16(@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected](@types/[email protected])([email protected])([email protected]))'@cloudflare/workers-types':specifier: ^4.20250214.0version: 4.20250507.0@@ -276,7 +279,7 @@ importers:version: 5.8.3vitest:specifier: ~2.1.9wrangler:specifier: ^3.109.1version: 3.114.8(@cloudflare/[email protected])@@ -325,16 +328,16 @@ importers:version: 1.0.0-beta.7(@storybook/[email protected]([email protected]([email protected])))([email protected])([email protected]([email protected]))storybook-solidjs-vite:specifier: ^1.0.0-beta.2- version: 1.0.0-beta.7(@storybook/[email protected]([email protected]([email protected])))([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected](@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 1.0.0-beta.7(@storybook/[email protected]([email protected]([email protected])))([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected](@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))typescript:specifier: ^5.8.3version: 5.8.3vite:specifier: ^6.3.5vite-plugin-solid:specifier: ^2.10.2- version: 2.11.6(@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 2.11.6(@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))apps/tasks:dependencies:@@ -468,15 +471,27 @@ importers:'@dub/analytics':specifier: ^0.0.27version: 0.0.27+ '@effect/cluster':+ specifier: ^0.48.6+ version: 0.48.6(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected])'@effect/opentelemetry':specifier: ^0.56.1- version: 0.56.1(@effect/[email protected]([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])([email protected])+ version: 0.56.1(@effect/[email protected]([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])([email protected])'@effect/platform':specifier: ^0.90.1- version: 0.90.2([email protected])+ version: 0.90.2([email protected])+ '@effect/platform-node':+ specifier: ^0.96.1+ version: 0.96.1(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])'@effect/rpc':- specifier: ^0.68.3+ specifier: ^0.69.2+ '@effect/sql-mysql2':+ specifier: ^0.45.1+ version: 0.45.1(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])+ '@effect/workflow':+ specifier: ^0.9.5+ version: 0.9.5(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected])'@fortawesome/free-brands-svg-icons':specifier: ^6.7.2version: 6.7.2@@ -584,7 +599,7 @@ importers:'@workos-inc/node':specifier: ^7.34.0- version: 7.50.0([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))+ version: 7.50.0([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))aws-sdk:specifier: ^2.1530.0version: 2.1692.0@@ -610,14 +625,14 @@ importers:specifier: ^16.3.1version: 16.5.0drizzle-orm:- specifier: 0.43.1- version: 0.43.1(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])+ specifier: 0.44.5+ version: 0.44.5(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])dub:specifier: ^0.64.0version: 0.64.0(@modelcontextprotocol/[email protected])([email protected])effect:- specifier: ^3.17.7- version: 3.17.7+ specifier: ^3.17.13+ version: 3.17.13file-saver:specifier: ^2.0.5version: 2.0.5@@ -626,7 +641,7 @@ importers:geist:specifier: ^1.3.1- version: 1.4.2([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))+ version: 1.4.2([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))gif.js:specifier: 0.2.0version: 0.2.0@@ -664,20 +679,20 @@ importers:specifier: ^12.18.1next:- specifier: 14.2.3- version: 14.2.3(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ specifier: ^14+ version: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^4.24.5- version: 4.24.11([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 4.24.11([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])next-contentlayer2:specifier: ^0.5.3- version: 0.5.8([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 0.5.8([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])next-mdx-remote:specifier: ^5.0.0nextjs-cors:specifier: ^2.2.0- version: 2.2.0([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))+ version: 2.2.0([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))posthog-js:specifier: ^1.215.3version: 1.240.0@@ -692,7 +707,7 @@ importers:version: 19.1.0([email protected])react-email:specifier: ^4.0.16- version: 4.0.16(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ version: 4.0.16(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])react-hls-player:specifier: ^3.0.7@@ -739,6 +754,12 @@ importers:specifier: ^3.25.76version: 3.25.76devDependencies:+ '@babel/plugin-transform-private-methods':+ specifier: ^7.27.1+ version: 7.27.1(@babel/[email protected])+ '@babel/plugin-transform-private-property-in-object':+ specifier: ^7.27.1+ version: 7.27.1(@babel/[email protected])'@smithy/types':specifier: ^4.3.1version: 4.3.1@@ -775,6 +796,9 @@ importers:autoprefixer:specifier: ^10.4.14version: 10.4.21([email protected])+ babel-loader:+ specifier: ^10.0.0eslint:specifier: ^9.30.1version: 9.30.1([email protected])@@ -791,6 +815,62 @@ importers:specifier: ^5.8.3version: 5.8.3+ apps/workflow-manager:+ dependencies:+ '@effect/platform-node':+ specifier: ^0.96.1+ version: 0.96.1(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])+ '@effect/sql-mysql2':+ specifier: ^0.45.1+ version: 0.45.1(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])+ effect:+ specifier: ^3.17.13+ version: 3.17.13+ devDependencies:+ dotenv-cli:+ specifier: ^10.0.0+ version: 10.0.0++ apps/workflow-runner:+ dependencies:+ '@cap/web-backend':+ specifier: workspace:*+ version: link:../../packages/web-backend+ '@cap/web-domain':+ specifier: workspace:*+ version: link:../../packages/web-domain+ '@effect/cluster':+ specifier: ^0.48.6+ version: 0.48.6(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected])+ '@effect/opentelemetry':+ specifier: ^0.56.1+ version: 0.56.1(@effect/[email protected]([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])([email protected])+ '@effect/platform':+ specifier: ^0.90.1+ version: 0.90.2([email protected])+ '@effect/platform-node':+ specifier: ^0.96.1+ version: 0.96.1(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])+ '@effect/sql-mysql2':+ specifier: ^0.45.1+ version: 0.45.1(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])+ '@effect/workflow':+ specifier: ^0.9.5+ version: 0.9.5(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected])+ '@opentelemetry/exporter-trace-otlp-http':+ specifier: ^0.203.0+ version: 0.203.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-trace-base':+ specifier: ^2.0.1+ version: 2.0.1(@opentelemetry/[email protected])+ effect:+ specifier: ^3.17.13+ version: 3.17.13+ devDependencies:+ dotenv-cli:+ specifier: ^10.0.0+ version: 10.0.0+infra:dependencies:'@pulumi/github':@@ -811,13 +891,13 @@ importers:dependencies:'@vitejs/plugin-react':specifier: ^4.0.3- version: 4.4.1([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.4.1([email protected](@types/[email protected])([email protected])([email protected])([email protected]))vite:specifier: ^6.3.5vite-tsconfig-paths:specifier: ^4.2.0- version: 4.3.2([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.2([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))zod:specifier: ^3version: 3.25.76@@ -867,6 +947,9 @@ importers:'@cap/web-domain':specifier: workspace:*version: link:../web-domain+ '@effect/sql-mysql2':+ specifier: ^0.45.1+ version: 0.45.1(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])'@mattrax/mysql-planetscale':specifier: ^0.0.3version: 0.0.3@@ -886,23 +969,26 @@ importers:specifier: ^1.0.5version: 1.0.5([email protected])drizzle-orm:- specifier: 0.43.1- version: 0.43.1(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])+ specifier: 0.44.5+ version: 0.44.5(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])dub:specifier: ^0.64.0version: 0.64.0(@modelcontextprotocol/[email protected])([email protected])+ effect:+ specifier: ^3.17.13+ version: 3.17.13nanoid:specifier: ^5.0.4version: 5.1.5next:- specifier: 14.2.9- version: 14.2.9(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ specifier: ^14+ version: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^4.24.5- version: 4.24.11([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 4.24.11([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])react-email:specifier: ^4.0.16- version: 4.0.16(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ version: 4.0.16(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])resend:specifier: 4.6.0@@ -1038,7 +1124,7 @@ importers:version: 19.1.9(@types/[email protected])'@vitejs/plugin-react':specifier: ^4.0.3- version: 4.4.1([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.4.1([email protected](@types/[email protected])([email protected])([email protected])([email protected]))autoprefixer:specifier: ^10.4.16version: 10.4.21([email protected])@@ -1080,10 +1166,10 @@ importers:version: 5.8.3vite:specifier: ^6.3.5vite-tsconfig-paths:specifier: ^4.2.1- version: 4.3.2([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.2([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))packages/ui-solid:dependencies:@@ -1135,7 +1221,7 @@ importers:version: 0.18.6([email protected])unplugin-fonts:specifier: ^1.1.1- version: 1.3.1([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 1.3.1([email protected](@types/[email protected])([email protected])([email protected])([email protected]))unplugin-icons:specifier: ^0.19.2version: 0.19.3@@ -1190,10 +1276,10 @@ importers:dependencies:'@effect/platform':specifier: ^0.90.1- version: 0.90.2([email protected])+ version: 0.90.2([email protected])effect:- specifier: ^3.17.7- version: 3.17.7+ specifier: ^3.17.13+ version: 3.17.13packages/web-backend:dependencies:@@ -1218,24 +1304,30 @@ importers:'@cap/web-domain':specifier: workspace:*version: link:../web-domain+ '@effect/cluster':+ specifier: ^0.48.6+ version: 0.48.6(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected])'@effect/platform':specifier: ^0.90.1- version: 0.90.2([email protected])+ version: 0.90.2([email protected])'@effect/rpc':- specifier: ^0.68.3+ specifier: ^0.69.2+ '@effect/workflow':+ specifier: ^0.9.5+ version: 0.9.5(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected])'@smithy/types':specifier: ^4.3.1version: 4.3.1drizzle-orm:- specifier: 0.43.1- version: 0.43.1(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])+ specifier: 0.44.5+ version: 0.44.5(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])effect:- specifier: ^3.17.7- version: 3.17.7+ specifier: ^3.17.13+ version: 3.17.13next:- specifier: 14.2.3- version: 14.2.3(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ specifier: ^14+ version: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])server-only:specifier: ^0.0.1version: 0.0.1@@ -1244,13 +1336,16 @@ importers:dependencies:'@effect/platform':specifier: ^0.90.1- version: 0.90.2([email protected])+ version: 0.90.2([email protected])'@effect/rpc':- specifier: ^0.68.3+ specifier: ^0.69.2+ '@effect/workflow':+ specifier: ^0.9.5+ version: 0.9.5(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected])effect:- specifier: ^3.17.7- version: 3.17.7+ specifier: ^3.17.13+ version: 3.17.13packages:@@ -1485,10 +1580,32 @@ packages:resolution: {integrity: sha512-ZGhA37l0e/g2s1Cnzdix0O3aLYm66eF8aufiVteOgnwxgnRP8GoyMj7VWsgWnQbVKXyge7hqrFh2K2TQM6t1Hw==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==}+ engines: {node: '>=6.9.0'}++ '@babel/[email protected]':+ resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-V9f6ZFIYSLNEbuGA/92uOvYsGCJNsuA8ESZ4ldc09bWk/j8H8TKiPw8Mk1eG6olpnO0ALHJmYfZvF4MEE4gajg==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0++ '@babel/[email protected]':+ resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}+ engines: {node: '>=6.9.0'}++ '@babel/[email protected]':+ resolution: {integrity: sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==}engines: {node: '>=6.9.0'}@@ -1503,10 +1620,24 @@ packages:peerDependencies:'@babel/core': ^7.0.0+ '@babel/[email protected]':+ resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0++ '@babel/[email protected]':+ resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}engines: {node: '>=6.9.0'}@@ -1537,6 +1668,11 @@ packages:engines: {node: '>=6.0.0'}hasBin: true+ '@babel/[email protected]':+ resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==}+ engines: {node: '>=6.0.0'}+ hasBin: true+'@babel/[email protected]':resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==}peerDependencies:@@ -1628,6 +1764,18 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0+ '@babel/[email protected]':+ resolution: {integrity: sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0++ '@babel/[email protected]':+ resolution: {integrity: sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0+'@babel/[email protected]':resolution: {integrity: sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==}engines: {node: '>=6.9.0'}@@ -1660,6 +1808,10 @@ packages:resolution: {integrity: sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==}engines: {node: '>=6.9.0'}@@ -1668,6 +1820,10 @@ packages:resolution: {integrity: sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}+ engines: {node: '>=6.9.0'}+'@bcoe/[email protected]':resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}@@ -1948,6 +2104,28 @@ packages:'@effect-ts/[email protected]':resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==}+ '@effect/[email protected]':+ resolution: {integrity: sha512-ZrFOdAZhEiNRr0R6H+yP17aoQ5kWqU6MR8awV074GLGKd6Hyocn+9GNPGU0qvbP48Iad1j707J7b/nfvhVF8TA==}+ peerDependencies:+ '@effect/platform': ^0.90.9+ '@effect/rpc': ^0.69.2+ '@effect/sql': ^0.44.2+ '@effect/workflow': ^0.9.5+ effect: ^3.17.13++ '@effect/[email protected]':+ resolution: {integrity: sha512-UqHMvCQmrZT6kUVoUC0lqyno4Yad+j9hBGCdUjW84zkLwAq08tPqySiZUKRwY+Ae5B2Ab8rISYJH7nQvct9DMQ==}+ peerDependencies:+ '@effect/platform': ^0.90.2+ effect: ^3.17.7+ ioredis: ^5+ lmdb: ^3+ peerDependenciesMeta:+ ioredis:+ optional: true+ lmdb:+ optional: true+'@effect/[email protected]':resolution: {integrity: sha512-gweg1jchswd0zN6FmLR08e5IkSTdW1jNZn2VMdyxuSPhMGNHgM14KvFcVm0N4c6a0GxyKZ00KE/9EkkzZZn7eQ==}hasBin: true@@ -1981,23 +2159,66 @@ packages:'@opentelemetry/sdk-trace-web':optional: true+ '@effect/[email protected]':+ resolution: {integrity: sha512-equU2iDott0MgXEADzmBQySBeYysZFyxVqxo58ped9U/6f519SHlTnu5mHpGeQTE/Bz0DOqD8/I+om5DvFxjIw==}+ peerDependencies:+ '@effect/cluster': ^0.48.4+ '@effect/platform': ^0.90.8+ '@effect/rpc': ^0.69.2+ '@effect/sql': ^0.44.2+ effect: ^3.17.13++ '@effect/[email protected]':+ resolution: {integrity: sha512-4nfB/XRJJ246MCdI7klTE/aVvA9txfI83RnymS7pNyoG4CXUKELi87JrkrWFTtOlewzt5UMWpmqsFmm2qHxx3A==}+ peerDependencies:+ '@effect/cluster': ^0.48.2+ '@effect/platform': ^0.90.6+ '@effect/rpc': ^0.69.1+ '@effect/sql': ^0.44.2+ effect: ^3.17.10+'@effect/[email protected]':resolution: {integrity: sha512-xf8odJ7vsHITlOJIragdwqu14jla9+FLefPIHbtwAXt+8ZEknbNmo8YXvmudLjLgK4mewqNuwPd6ktjBboaNXQ==}peerDependencies:effect: ^3.17.7- '@effect/[email protected]':- resolution: {integrity: sha512-iFGqBtZjjatNWwgDCCajYZvQSHc55XyZEdmHGqrKS6UfdRsV7qUSPgnplMf++tIIyGme7IbAjD/3VJdbHI5Gzg==}+ '@effect/[email protected]':+ resolution: {integrity: sha512-h6+e3JsIz5rmEZfldxNiNoXyQgMTB7VjDuoF8LPsOxobQZDKPgGE9BMnEQYqiVWRA2bTORkXK14rFZXzU1yyPg==}peerDependencies:- '@effect/platform': ^0.90.2+ '@effect/platform': ^0.90.6+ effect: ^3.17.11++ '@effect/[email protected]':+ resolution: {integrity: sha512-17VxXiqPyttGASQSMN5sfBVHLltJMdkYYJ6btIvq2cLerCnzvj4D5qAREFOHJFc7FM/J5ocQyL8en7UtXLroCQ==}+ peerDependencies:+ '@effect/experimental': ^0.54.6+ '@effect/platform': ^0.90.4+ '@effect/sql': ^0.44.2+ effect: ^3.17.7++ '@effect/[email protected]':+ resolution: {integrity: sha512-DEcvriHvj88zu7keruH9NcHQzam7yQzLNLJO6ucDXMCAwWzYZSJOsmkxBznRFv8ylFtccSclKH2fuj+wRKPjCQ==}+ peerDependencies:+ '@effect/experimental': ^0.54.6+ '@effect/platform': ^0.90.4effect: ^3.17.7+ '@effect/[email protected]':+ resolution: {integrity: sha512-4039fgsa+kI7NePZ4v0qT8lzN5cxXXK+8lgHMjScngabQYdSKlk0I3YpqzktVrHAYS3bKUSeU/W7p4Ww/ub4hg==}+ peerDependencies:+ '@effect/platform': ^0.90.8+ '@effect/rpc': ^0.69.2+ effect: ^3.17.13+'@emnapi/[email protected]':resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==}'@emnapi/[email protected]':resolution: {integrity: sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==}+ '@emnapi/[email protected]':+ resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==}+'@emnapi/[email protected]':resolution: {integrity: sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA==}@@ -3060,14 +3281,18 @@ packages:'@iconify/[email protected]':resolution: {integrity: sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==}+ engines: {node: '>=18'}+'@img/[email protected]':resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-OfXHZPppddivUJnqyKoi5YVeHRkkNE2zUFT2gbpKxp/JZCFYEYubnMg+gOp6lWfasPrTS+KPosKqdI+ELYVDtg==}+ '@img/[email protected]':+ resolution: {integrity: sha512-sitdlPzDVyvmINUdJle3TNHl+AG9QcwiAMsXmccqsCOMZNIdW2/7S26w0LyU8euiLVzFBL3dXPwVCq/ODnf2vA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [darwin]@@ -3078,8 +3303,8 @@ packages:cpu: [x64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-dYvWqmjU9VxqXmjEtjmvHnGqF8GrVjM2Epj9rJ6BUIXvk8slvNDJbhGFvIoXzkDhrJC2jUxNLz/GUjjvSzfw+g==}+ '@img/[email protected]':+ resolution: {integrity: sha512-rZheupWIoa3+SOdF/IcUe1ah4ZDpKBGWcsPX6MT0lYniH9micvIU7HQkYTfrx5Xi8u+YqwLtxC/3vl8TQN6rMg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [darwin]@@ -3089,8 +3314,8 @@ packages:cpu: [arm64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-HZ/JUmPwrJSoM4DIQPv/BfNh9yrOA8tlBbqbLz4JZ5uew2+o22Ik+tHQJcih7QJuSa0zo5coHTfD5J8inqj9DA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-QzWAKo7kpHxbuHqUC28DZ9pIKpSi2ts2OJnoIGI26+HMgq92ZZ4vk8iJd4XsxN+tYfNJxzH6W62X5eTcsBymHw==}cpu: [arm64]os: [darwin]@@ -3099,8 +3324,8 @@ packages:cpu: [x64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-Xzc2ToEmHN+hfvsl9wja0RlnXEgpKNmftriQp6XzY/RaSfwD9th+MSh0WQKzUreLKKINb3afirxW7A0fz2YWuQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-Ju+g2xn1E2AKO6YBhxjj+ACcsPQRHT0bhpglxcEf+3uyPY+/gL8veniKoo96335ZaPo03bdDXMv0t+BBFAbmRA==}cpu: [x64]os: [darwin]@@ -3109,8 +3334,8 @@ packages:cpu: [arm64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-IVfGJa7gjChDET1dK9SekxFFdflarnUB8PwW8aGwEoF3oAsSDuNUTYS+SKDOyOJxQyDC1aPFMuRYLoDInyV9Ew==}+ '@img/[email protected]':+ resolution: {integrity: sha512-I4RxkXU90cpufazhGPyVujYwfIm9Nk1QDEmiIsaPwdnm013F7RIceaCc87kAH+oUB1ezqEvC6ga4m7MSlqsJvQ==}cpu: [arm64]os: [linux]@@ -3119,13 +3344,13 @@ packages:cpu: [arm]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-s8BAd0lwUIvYCJyRdFqvsj+BJIpDBSxs6ivrOPm/R7piTs5UIwY5OjXrP2bqXC9/moGsyRa37eYWYCOGVXxVrA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-x1uE93lyP6wEwGvgAIV0gP6zmaL/a0tGzJs/BIDDG0zeBhMnuUPm7ptxGhUbcGs4okDJrk4nxgrmxpib9g6HpA==}cpu: [arm]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-tiXxFZFbhnkWE2LA8oQj7KYR+bWBkiV2nilRldT7bqoEZ4HiDOcePr9wVDAZPi/Id5fT1oY9iGnDq20cwUz8lQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-Y2T7IsQvJLMCBM+pmPbM3bKT/yYJvVtLJGfCs4Sp95SjvnFIjynbjzsa7dY1fRJX45FTSfDksbTp6AGWudiyCg==}cpu: [ppc64]os: [linux]@@ -3134,8 +3359,8 @@ packages:cpu: [s390x]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-xukSwvhguw7COyzvmjydRb3x/09+21HykyapcZchiCUkTThEQEOMtBj9UhkaBRLuBrgLFzQ2wbxdeCCJW/jgJA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-RgWrs/gVU7f+K7P+KeHFaBAJlNkD1nIZuVXdQv6S+fNA6syCcoboNjsV2Pou7zNlVdNQoQUpQTk8SWDHUA3y/w==}cpu: [s390x]os: [linux]@@ -3144,8 +3369,8 @@ packages:cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-yRj2+reB8iMg9W5sULM3S74jVS7zqSzHG3Ol/twnAAkAhnGQnpjj6e4ayUz7V+FpKypwgs82xbRdYtchTTUB+Q==}+ '@img/[email protected]':+ resolution: {integrity: sha512-3JU7LmR85K6bBiRzSUc/Ff9JBVIFVvq6bomKE0e63UXGeRw2HPVEjoJke1Yx+iU4rL7/7kUjES4dZ/81Qjhyxg==}cpu: [x64]os: [linux]@@ -3154,8 +3379,8 @@ packages:cpu: [arm64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-jYZdG+whg0MDK+q2COKbYidaqW/WTz0cc1E+tMAusiDygrM4ypmSCjOJPmFTvHHJ8j/6cAGyeDWZOsK06tP33w==}+ '@img/[email protected]':+ resolution: {integrity: sha512-F9q83RZ8yaCwENw1GieztSfj5msz7GGykG/BA+MOUefvER69K/ubgFHNeSyUu64amHIYKGDs4sRCMzXVj8sEyw==}cpu: [arm64]os: [linux]@@ -3164,8 +3389,8 @@ packages:cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-wK7SBdwrAiycjXdkPnGCPLjYb9lD4l6Ze2gSdAGVZrEL05AOUJESWU2lhlC+Ffn5/G+VKuSm6zzbQSzFX/P65A==}+ '@img/[email protected]':+ resolution: {integrity: sha512-U5PUY5jbc45ANM6tSJpsgqmBF/VsL6LnxJmIf11kB7J5DctHgqm0SkuXzVWtIY90GnJxKnC/JT251TDnk1fu/g==}cpu: [x64]os: [linux]@@ -3175,8 +3400,8 @@ packages:cpu: [arm64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-D8n8wgWmPDakc83LORcfJepdOSN6MvWNzzz2ux0MnIbOqdieRZwVYY32zxVx+IFUT8er5KPcyU3XXsn+GzG/0Q==}+ '@img/[email protected]':+ resolution: {integrity: sha512-YXU1F/mN/Wu786tl72CyJjP/Ngl8mGHN1hST4BGl+hiW5jhCnV2uRVTNOcaYPs73NeT/H8Upm3y9582JVuZHrQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]@@ -3187,20 +3412,26 @@ packages:cpu: [arm]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-0DZzkvuEOqQUP9mo2kjjKNok5AmnOr1jB2XYjkaoNRwpAYMDzRmAqUIa1nRi58S2WswqSfPOWLNOr0FDT3H5RQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-Xyam4mlqM0KkTHYVSuc6wXRmM7LGN0P12li03jAnZ3EJWZqj83+hi8Y9UxZUbxsgsK1qOEwg7O0Bc0LjqQVtxA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-F4PDtF4Cy8L8hXA2p3TO6s4aDt93v+LKmpcYFLAVdkkD3hSxZzee0rh6/+94FpAynsuMpLX5h+LRsSG3rIciUQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ppc64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [s390x]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-EGZ1xwhBI7dNISwxjChqBGELCWMGDvmxZXKjQRuqMrakhO8QoMgqCrdjnAqJq/CScxfRn+Bb7suXBElKQpPDiw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-qVrZKE9Bsnzy+myf7lFKvng6bQzhNUAYcVORq2P7bDlvmF6u2sCmK2KyEQEBdYk+u3T01pVsPrkj943T1aJAsw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [s390x]os: [linux]@@ -3211,8 +3442,8 @@ packages:cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-sD7J+h5nFLMMmOXYH4DD9UtSNBD05tWSSdWAcEyzqW8Cn5UxXvsHAxmxSesYUsTOBmUnjtxghKDl15EvfqLFbQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-ZfGtcp2xS51iG79c6Vhw9CWqQC8l2Ot8dygxoDoIQPTat/Ov3qAa8qpxSrtAEAJW+UjTXc4yxCjNfxm4h6Xm2A==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]@@ -3223,8 +3454,8 @@ packages:cpu: [arm64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-NEE2vQ6wcxYav1/A22OOxoSOGiKnNmDzCYFOZ949xFmrWZOVII1Bp3NqVVpvj+3UeHMFyN5eP/V5hzViQ5CZNA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-8hDVvW9eu4yHWnjaOOR8kHVrew1iIX+MUgwxSuH2XyYeNRtLUe4VNioSqbNkB7ZYQJj9rUTT4PyRscyk2PXFKA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]@@ -3235,8 +3466,8 @@ packages:cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-DOYMrDm5E6/8bm/yQLCWyuDJwUnlevR8xtF8bs+gjZ7cyUNYXiSf/E8Kp0Ss5xasIaXSHzb888V1BE4i1hFhAA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-lU0aA5L8QTlfKjpDCEFOZsTYGn3AEiO6db8W5aQDxj0nQkVrZWmN3ZP9sYKWJdtq3PWPhUNlqehWyXpYDcI9Sg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]@@ -3246,13 +3477,13 @@ packages:engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [wasm32]- '@img/[email protected]':- resolution: {integrity: sha512-/VI4mdlJ9zkaq53MbIG6rZY+QRN3MLbR6usYlgITEzi4Rpx5S6LFKsycOQjkOGmqTNmkIdLjEvooFKwww6OpdQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-33QL6ZO/qpRyG7woB/HUALz28WnTMI2W1jgX3Nu2bypqLIKx/QKMILLJzJjI+SIbvXdG9fUnmrxR7vbi1sTBeA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [wasm32]- '@img/[email protected]':- resolution: {integrity: sha512-cfP/r9FdS63VA5k0xiqaNaEoGxBg9k7uE+RQGzuK9fHt7jib4zAVVseR9LsE4gJcNWgT6APKMNnCcnyOtmSEUQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-2Q250do/5WXTwxW3zjsEuMSv5sUU4Tq9VThWKlU2EYLm4MB7ZeMwF+SFJutldYODXF6jzc6YEOC+VfX0SZQPqA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [win32]@@ -3263,8 +3494,8 @@ packages:cpu: [ia32]os: [win32]- '@img/[email protected]':- resolution: {integrity: sha512-QLjGGvAbj0X/FXl8n1WbtQ6iVBpWU7JO94u/P2M4a8CFYsvQi4GW2mRy/JqkRx0qpBzaOdKJKw8uc930EX2AHw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-3ZeLue5V82dT92CNL6rsal6I2weKw1cYu+rGKm8fOCCtJTR2gYeUfY3FqUnIJsMUPIH68oS5jmZ0NiJ508YpEw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [ia32]os: [win32]@@ -3275,8 +3506,8 @@ packages:cpu: [x64]os: [win32]- '@img/[email protected]':- resolution: {integrity: sha512-aUdT6zEYtDKCaxkofmmJDJYGCf0+pJg3eU9/oBuqvEeoB9dKI6ZLc/1iLJCTuJQDO4ptntAlkUmHgGjyuobZbw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-xIyj4wpYs8J18sVN3mSQjwrw7fKUqRw+Z5rnHNCy5fYTxigBz81u5mOMPmFumwjcn8+ld1ppptMBCLic1nz6ig==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [win32]@@ -3404,6 +3635,9 @@ packages:resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}engines: {node: '>=6.0.0'}+ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==}+'@jridgewell/[email protected]':resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==}@@ -3593,14 +3827,11 @@ packages:engines: {node: ^14.18.0 || >=16.0.0}hasBin: true- '@next/[email protected]':- resolution: {integrity: sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA==}-- '@next/[email protected]':- resolution: {integrity: sha512-hnDAoDPMii31V0ivibI8p6b023jOF1XblWTVjsDUoZKwnZlaBtJFZKDwFqi22R8r9i6W08dThUWU7Bsh2Rg8Ww==}+ '@next/[email protected]':+ resolution: {integrity: sha512-n9mQdigI6iZ/DF6pCTwMKeWgF2e8lg7qgt5M7HXMLtyhZYMnf/u905M18sSpPmHL9MKp9JHo56C6jrD2EvWxng==}- '@next/[email protected]':- resolution: {integrity: sha512-ZkdYzBseS6UjYzz6ylVKPOK+//zLWvD6Ta+vpoye8cW11AjiQjGYVibF0xuvT4L0iJfAPfZLFidaEzAOywyOAQ==}+ '@next/[email protected]':+ resolution: {integrity: sha512-RSEDTRqyihYXygx/OJXwvVupfr9m04+0vH8vyy0HfZ7keRto6VX9BbEk0J2PUk0VGy6YhklJUSrgForov5F9pw==}'@next/[email protected]':resolution: {integrity: sha512-wuGN5qSEjSgcq9fVkH0Y/qIPFjnZtW3ZPwfjJOn7l/rrf6y8J24h/lo61kwqunTyzZJm/ETGfGVU9PUs8cnzEA==}@@ -3608,158 +3839,104 @@ packages:'@next/[email protected]':resolution: {integrity: sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==}- '@next/[email protected]':- resolution: {integrity: sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==}+ '@next/[email protected]':+ resolution: {integrity: sha512-osHXveM70zC+ilfuFa/2W6a1XQxJTvEhzEycnjUaVE8kpUS09lDpiDDX2YLdyFCzoUbvbo5r0X1Kp4MllIOShw==}engines: {node: '>= 10'}cpu: [arm64]os: [darwin]- '@next/[email protected]':- resolution: {integrity: sha512-/kfQifl3uLYi3DlwFlzCkgxe6fprJNLzzTUFknq3M5wGYicDIbdGlxUl6oHpVLJpBB/CBY3Y//gO6alz/K4NWA==}+ '@next/[email protected]':+ resolution: {integrity: sha512-nzbHQo69+au9wJkGKTU9lP7PXv0d1J5ljFpvb+LnEomLtSbJkbZyEs6sbF3plQmiOB2l9OBtN2tNSvCH1nQ9Jg==}engines: {node: '>= 10'}cpu: [arm64]os: [darwin]- '@next/[email protected]':- resolution: {integrity: sha512-z0qIYTONmPRbwHWvpyrFXJd5F9YWLCsw3Sjrzj2ZvMYy9NPQMPZ1NjOJh4ojr4oQzcGYwgJKfidzehaNa1BpEg==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [darwin]-- '@next/[email protected]':- resolution: {integrity: sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==}- engines: {node: '>= 10'}- cpu: [x64]- os: [darwin]-- '@next/[email protected]':- resolution: {integrity: sha512-tK/RyhCmOCiXQ9IVdFrBbZOf4/1+0RSuJkebXU2uMEsusS51TjIJO4l8ZmEijH9gZa0pJClvmApRHi7JuBqsRw==}+ '@next/[email protected]':+ resolution: {integrity: sha512-P9NpCAJuOiaHHpqtrCNncjqtSBi1f6QUdHK/+dNabBIXB2RUFWL19TY1Hkhu74OvyNQEYEzzMJCMQk5agjw1Qg==}engines: {node: '>= 10'}cpu: [x64]os: [darwin]- '@next/[email protected]':- resolution: {integrity: sha512-Z0FYJM8lritw5Wq+vpHYuCIzIlEMjewG2aRkc3Hi2rcbULknYL/xqfpBL23jQnCSrDUGAo/AEv0Z+s2bff9Zkw==}+ '@next/[email protected]':+ resolution: {integrity: sha512-w83w4SkOOhekJOcA5HBvHyGzgV1W/XvOfpkrxIse4uPWhYTTRwtGEM4v/jiXwNSJvfRvah0H8/uTLBKRXlef8g==}engines: {node: '>= 10'}cpu: [x64]os: [darwin]- '@next/[email protected]':- resolution: {integrity: sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-tS5eqwsp2nO7mzywRUuFYmefNZsUKM/mTG3exK2jIHv9TEVklE1SByB1KMhFkqlit1PxS9YK1tV8BOV90Wpbrw==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-l8ZQOCCg7adwmsnFm8m5q9eIPAHdaB2F3cxhufYtVo84pymwKuWfpYTKcUiFcutJdp9xGHC+F1Uq3xnFU1B/7g==}+ '@next/[email protected]':+ resolution: {integrity: sha512-v7JaO0oXXt6d+cFjrrKqYnR2ubrD+JYP7nQVRZgeo5uNE5hkCpWnHmXm9vy3g6foMO8SPwL0P3MPw1c+BjbAzA==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==}+ '@next/[email protected]':+ resolution: {integrity: sha512-+m7pfIs0/yvgVu26ieaKrifV8C8yiLe7jVp9SpcIzg7XmyyNE7toC1fy5IOQozmr6kWl/JONC51osih2RyoXRw==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-8svpeTFNAMTUMKQbEzE8qRAwl9o7mNBv7LR1bmSkQvo1oy4WrNyZbhWsldOiKrc4mZ5dfQkGYsI9T75mIFMfeA==}+ '@next/[email protected]':+ resolution: {integrity: sha512-tA6sIKShXtSJBTH88i0DRd6I9n3ZTirmwpwAqH5zdJoQF7/wlJXR8DkPmKwYl5mFWhEKr5IIa3LfpMW9RRwKmQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-wFyZ7X470YJQtpKot4xCY3gpdn8lE9nTlldG07/kJYexCUpX1piX+MBfZdvulo+t1yADFVEuzFfVHfklfEx8kw==}+ '@next/[email protected]':+ resolution: {integrity: sha512-u3PEIzuguSenoZviZJahNLgCexGFhso5mxWCrrIMdvpZn6lkME5vc/ADZG8UUk5K1uWRy4hqSFECrON6UKQBbQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==}+ '@next/[email protected]':+ resolution: {integrity: sha512-7S1GY4TdnlGVIdeXXKQdDkfDysoIVFMD0lJuVVMeb3eoVjrknQ0JNN7wFlhCvea0hEk0Sd4D1hedVChDKfV2jw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-0HNulLWpKTB7H5BhHCkEhcRAnWUHeAYCftrrGw3QC18+ZywTdAoPv/zEqKy/0adqt+ks4JDdlgSQ1lNKOKjo0A==}+ '@next/[email protected]':+ resolution: {integrity: sha512-lDtOOScYDZxI2BENN9m0pfVPJDSuUkAD1YXSvlJF0DKwZt0WlA7T7o3wrcEr4Q+iHYGzEaVuZcsIbCps4K27sA==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-gEbH9rv9o7I12qPyvZNVTyP/PWKqOp8clvnoYZQiX800KkqsaJZuOXkWgMa7ANCCh/oEN2ZQheh3yH8/kWPSEg==}+ '@next/[email protected]':+ resolution: {integrity: sha512-OHHC81P4tirVa6Awk6eCQ6RBfWl8HpFsZtfEkMpJ5GjPsJ3nhPe6wKAJUZ/piC8sszUkAgv3fLflgzPStIwfWg==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==}+ '@next/[email protected]':+ resolution: {integrity: sha512-9vWVUnsx9PrY2NwdVRJ4dUURAQ8Su0sLRPqcCCxtX5zIQUBES12eRVHq6b70bbfaVaxIDGJN2afHui0eDm+cLg==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- '@next/[email protected]':- resolution: {integrity: sha512-hhVFViPHLAVUJRNtwwm609p9ozWajOmRvzOZzzKXgiVGwx/CALxlMUeh+M+e0Zj6orENhWLZeilOPHpptuENsA==}- engines: {node: '>= 10'}- cpu: [x64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-Cf8sr0ufuC/nu/yQ76AnarbSAXcwG/wj+1xFPNbyNo8ltA6kw5d5YqO8kQuwVIxk13SBdtgXrNyom3ZosHAy4A==}- engines: {node: '>= 10'}- cpu: [x64]- os: [linux]-- '@next/[email protected]':- resolution: {integrity: sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==}+ '@next/[email protected]':+ resolution: {integrity: sha512-rORQjXsAFeX6TLYJrCG5yoIDj+NKq31Rqwn8Wpn/bkPNy5rTHvOXkW8mLFonItS7QC6M+1JIIcLe+vOCTOYpvg==}engines: {node: '>= 10'}cpu: [arm64]os: [win32]- '@next/[email protected]':- resolution: {integrity: sha512-p/v6XlOdrk06xfN9z4evLNBqftVQUWiyduQczCwSj7hNh8fWTbzdVxsEiNOcajMXJbQiaX/ZzZdFgKVmmJnnGQ==}+ '@next/[email protected]':+ resolution: {integrity: sha512-1CU20FZzY9LFQigRi6jM45oJMU3KziA5/sSG+dXeVaTm661snQP6xu3ykGxxwU5sLG3sh14teO/IOEPVsQMRfA==}engines: {node: '>= 10'}cpu: [arm64]os: [win32]- '@next/[email protected]':- resolution: {integrity: sha512-ay5+qADDN3rwRbRpEhTOreOn1OyJIXS60tg9WMYTWCy3fB6rGoyjLVxc4dR9PYjEdR2iDYsaF5h03NA+XuYPQQ==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [win32]-- '@next/[email protected]':- resolution: {integrity: sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==}- engines: {node: '>= 10'}- cpu: [ia32]- os: [win32]-- '@next/[email protected]':- resolution: {integrity: sha512-IcW9dynWDjMK/0M05E3zopbRen7v0/yEaMZbHFOSS1J/w+8YG3jKywOGZWNp/eCUVtUUXs0PW+7Lpz8uLu+KQA==}+ '@next/[email protected]':+ resolution: {integrity: sha512-jHUeDPVHrgFltqoAqDB6g6OStNnFxnc7Aks3p0KE0FbwAvRg6qWKYF5mSTdCTxA3axoSAUwxYdILzXJfUwlHhA==}engines: {node: '>= 10'}cpu: [ia32]os: [win32]- '@next/[email protected]':- resolution: {integrity: sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==}+ '@next/[email protected]':+ resolution: {integrity: sha512-2N0lSoU4GjfLSO50wvKpMQgKd4HdI2UHEhQPPPnlgfBJlOgJxkjpkYBqzk08f1gItBB6xF/n+ykso2hgxuydsA==}engines: {node: '>= 10'}cpu: [x64]os: [win32]- '@next/[email protected]':- resolution: {integrity: sha512-gcbpoXyWZdVOBgNa5BRzynrL5UR1nb2ZT38yKgnphYU9UHjeecnylMHntrQiMg/QtONDcJPFC/PmsS47xIRYoA==}- engines: {node: '>= 10'}- cpu: [x64]- os: [win32]-- '@next/[email protected]':- resolution: {integrity: sha512-4kDt31Bc9DGyYs41FTL1/kNpDeHyha2TC0j5sRRoKCyrhNcfZ/nRQkAUlF27mETwm8QyHqIjHJitfcza2Iykfg==}+ '@next/[email protected]':+ resolution: {integrity: sha512-JMoLAq3n3y5tKXPQwCK5c+6tmwkuFDa2XAxz8Wm4+IVthdBZdZGh+lmiLUHg9f9IDwIQpUjp+ysd6OkYTyZRZw==}engines: {node: '>= 10'}cpu: [x64]os: [win32]@@ -4193,10 +4370,6 @@ packages:resolution: {integrity: sha512-lp4qAiMTD4sNWW4DbKLBkfiMZ4jbAboJIGOQr5DvciMRI494OapieI9qiODpOt0XBr1LjIDy1xAGAnVs5supTA==}engines: {node: '>=14'}- '@opentelemetry/[email protected]':- resolution: {integrity: sha512-s0OpmpQFSfMrmedAn9Lhg4KWJELHCU6uU9dtIJ28N8UGhf9Y55im5X8fEzwhwDwiSqN+ZPSNrDJF7ivf/AuRPQ==}- engines: {node: '>=14'}-'@opentelemetry/[email protected]':resolution: {integrity: sha512-TtxJSRD8Ohxp6bKkhrm27JRHAxPczQA7idtcTOMYI+wQRRrfgqxHv1cFbCApcSnNjtXkmzFozn6jQtFrOmbjPQ==}engines: {node: '>=14'}@@ -6377,12 +6550,21 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-ba9aF0qARLLQpLihONIRbj8VvAdUxO+5jIxlscVcDAQTcJmq5qVr781+ino5qbQUJUmO21cLP2eLeXYWzao5Vg==}+ '@types/[email protected]':+ resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}+'@types/[email protected]':resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==}'@types/[email protected]':resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==}+ '@types/[email protected]':+ resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}+'@types/[email protected]':resolution: {integrity: sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==}@@ -6485,6 +6667,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-DnDEcDUnVAUYSa7U03QvrXbj1MZj00xoyi/a3lRGkR/c7BFUnqv+OY9EUphMqXUKdZJEOmuzu2mm+LmCisnPow==}+ '@types/[email protected]':+ resolution: {integrity: sha512-gfehUI8N1z92kygssiuWvLiwcbOB3IRktR6hTDgJlXMYh5OvkPSRmgfoBUmfZt+vhwJtX7v1Yw4KvvAf7c5QKQ==}+'@types/[email protected]':resolution: {integrity: sha512-BL1eyu/XWsFGTtDWOYULQEs4KR0qdtYfCxYAUYRoB7JP7h9ETYLgQTww6kH8Sj2C0pFGgrpM0XKv6/kbIzYJ1g==}@@ -6880,6 +7065,51 @@ packages:'@vitest/[email protected]':resolution: {integrity: sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==}+ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==}+'@whatwg-node/[email protected]':resolution: {integrity: sha512-LOtTn+JgJvX8WfBVJtF08TGrdjuFzGJc4mkP8EdDI8ADbvO7kiexYep1o8dwnt0okb0jYclCDXF13xU7Ge4zSw==}engines: {node: '>=18.0.0'}@@ -6904,6 +7134,12 @@ packages:resolution: {integrity: sha512-huYf1Lb9IWJmNdKsq18PRdND+qNLKHUG+SGPrcc4/QupWt4aHiZOd4JucxlcfUekFZqkA/HeuVxovUdrnYy7rQ==}engines: {node: '>=16'}+ '@xtuc/[email protected]':+ resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}++ '@xtuc/[email protected]':+ resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}+resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}@@ -6932,6 +7168,12 @@ packages:peerDependencies:acorn: ^8+ resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==}+ engines: {node: '>=10.13.0'}+ peerDependencies:+ acorn: ^8.14.0+resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}peerDependencies:@@ -6990,6 +7232,19 @@ packages:resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}engines: {node: '>=8'}+ resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}+ peerDependencies:+ ajv: ^8.0.0+ peerDependenciesMeta:+ ajv:+ optional: true++ resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==}+ peerDependencies:+ ajv: ^8.8.2+resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}@@ -7235,6 +7490,13 @@ packages:peerDependencies:'@babel/core': ^7.8.0+ resolution: {integrity: sha512-z8jt+EdS61AMw22nSfoNJAZ0vrtmhPRVi6ghL3rCeRZI8cdNYFiV5xeV3HbE7rlZZNmGH8BVccwWt8/ED0QOHA==}+ engines: {node: ^18.20.0 || ^20.10.0 || >=22.0.0}+ peerDependencies:+ '@babel/core': ^7.12.0+ webpack: '>=5.61.0'+resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==}engines: {node: '>=8'}@@ -7280,6 +7542,10 @@ packages:resolution: {integrity: sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==}engines: {node: ^4.5.0 || >= 5.9}+ resolution: {integrity: sha512-wrH5NNqren/QMtKUEEJf7z86YjfqW/2uw3IL3/xpqZUC95SSVIFXYQeeGjL6FT/X68IROu6RMehZQS5foy2BXw==}+ hasBin: true+resolution: {integrity: sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==}engines: {node: '>= 0.8'}@@ -7353,6 +7619,11 @@ packages:engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}hasBin: true+ resolution: {integrity: sha512-ECFzp6uFOSB+dcZ5BK/IBaGWssbSYBHvuMeMt3MMFyhI0Z8SqGgEkBLARgpRH3hutIgPVsALcMwbDrJqPxQ65A==}+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}+ hasBin: true+resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==}engines: {node: '>= 6'}@@ -7456,8 +7727,8 @@ packages:resolution: {integrity: sha512-auPpttCq6BDEG8ZAuHJIplGw6GODhjw+/11e7IjpnYCxZcW/ONgPs0KVBJ0d1bY3e2+7PRe5RCLyP+PfwVgkYw==}- resolution: {integrity: sha512-1R/elMjtehrFejxwmexeXAtae5UO9iSyFn6G/I806CYC/BLyyBk1EPhrKBkWhy6wM6Xnm47dSJQec+tLJ39WHw==}+ resolution: {integrity: sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw==}resolution: {integrity: sha512-rFfTURMvmVEX1gyXFgn5QMn81bYk70qa0HLzcIOSVEyl57n6o9ItHeBtUSWdvKAPY0xlvBHno4/v3QPrT83q9g==}@@ -7546,6 +7817,10 @@ packages:'@chromatic-com/playwright':optional: true+ resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}+ engines: {node: '>=6.0'}+resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==}engines: {node: '>=8'}@@ -8056,6 +8331,10 @@ packages:resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==}engines: {node: '>=8'}+ resolution: {integrity: sha512-vEtk+OcP7VBRtQZ1EJ3bdgzSfBjgnEalLTp5zjJrS+2Z1w2KZly4SBdac/WDU3hhsNAZ9E8SC96ME4Ey8MZ7cg==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==}engines: {node: '>=8'}@@ -8185,8 +8464,8 @@ packages:resolution: {integrity: sha512-pcKVT+GbfPA+bUovPIilgVOoq+onNBo/YQBG86sf3/GFHkN6lRJPm1l7dKN0IMAk57RQoIm4GUllRrasLlcaSg==}hasBin: true- resolution: {integrity: sha512-dUcDaZtE/zN4RV/xqGrVSMpnEczxd5cIaoDeor7Zst9wOe/HzC/7eAaulywWGYXdDEc9oBPMjayVEDg0ziTLJA==}+ resolution: {integrity: sha512-jBe37K7d8ZSKptdKfakQFdeljtu3P2Cbo7tJoJSVZADzIKOBo9IAJPOmMsH2bZl90bZgh8FQlD8BjxXA/zuBkQ==}peerDependencies:'@aws-sdk/client-rds-data': '>=3''@cloudflare/workers-types': '>=4'@@ -8202,6 +8481,7 @@ packages:'@types/better-sqlite3': '*''@types/pg': '*''@types/sql.js': '*'+ '@upstash/redis': '>=1.34.7''@vercel/postgres': '>=0.8.0''@xata.io/client': '*'better-sqlite3: '>=7'@@ -8245,6 +8525,8 @@ packages:optional: true'@types/sql.js':optional: true+ '@upstash/redis':+ optional: true'@vercel/postgres':optional: true'@xata.io/client':@@ -8297,8 +8579,8 @@ packages:resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}- resolution: {integrity: sha512-dpt0ONUn3zzAuul6k4nC/coTTw27AL5nhkORXgTi6NfMPzqWYa1M05oKmOMTxpVSTKepqXVcW9vIwkuaaqx9zA==}+ resolution: {integrity: sha512-JMz5oBxs/6mu4FP9Csjub4jYMUwMLrp+IzUmSDVIzn2NoeoyOXMl7x1lghfr3dLKWffWrdnv/d8nFFdgrHXPqw==}resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}@@ -8308,6 +8590,9 @@ packages:resolution: {integrity: sha512-rOOkP2ZUMx1yL4fCxXQKDHQ8ZXwisb2OycOQVKHgvB3ZI4CvehOd4y2tfnnLDieJ3Zs1RL1Dlp3cMkyIn7nnXA==}+ resolution: {integrity: sha512-gA7psSwSwQRE60CEoLz6JBCQPIxNeuzB2nL8vE03GK/OHxlvykbLyeiumQy1iH5C2f3YbRAZpGCMT12a/9ih9w==}+resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==}engines: {node: '>=12'}@@ -8349,6 +8634,10 @@ packages:resolution: {integrity: sha512-ZCkIjSYNDyGn0R6ewHDtXgns/Zre/NT6Agvq1/WobF7JXgFff4SeDroKiCO3fNJreU9YG429Sc81o4w5ok/W5g==}engines: {node: '>=10.2.0'}+ resolution: {integrity: sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==}+ engines: {node: '>=10.13.0'}+resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==}engines: {node: '>=8.6'}@@ -9979,6 +10268,10 @@ packages:resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==}engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}+ resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}+ engines: {node: '>= 10.13.0'}+resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==}engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}@@ -10190,6 +10483,10 @@ packages:resolution: {integrity: sha512-I8oW2+QL5KJo8zXNWX046M134WchxsXC7SawLPvRQpogCbkyQIaFxPE89A2HiwR7vAK2Dm2ERBAmyjTYGYEpBg==}hasBin: true+ resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==}+ engines: {node: '>=6.11.5'}+resolution: {integrity: sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==}engines: {node: '>=14'}@@ -10807,6 +11104,9 @@ packages:resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}engines: {node: '>= 0.6'}+ resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}+resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==}@@ -10842,26 +11142,8 @@ packages:peerDependencies:react: '>=16'- 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-fg5g0GZ7/nFc09X8wLe6pNSU8cLWbLRG3TZzPJ1BJvi2s9m7eF991se67wliM9kR5yLHRkyGKU49MMx58s3LJg==}engines: {node: '>=18.17.0'}hasBin: truepeerDependencies:@@ -10878,13 +11160,13 @@ packages:sass:optional: true- resolution: {integrity: sha512-mHKd50C+mCjam/gcnwqL1T1vPx/XQNFlXqFIVdgQdVAFY9iIQtY0IfaVflEYzKiqjeA7B0cYYMaCrmAYFjs4rA==}+ resolution: {integrity: sha512-r/liNAx16SQj4D+XH/oI1dlpv9tdKJ6cONYPwwcCC46f2NjpaRWY+EKCzULfgQYV6YKXjHBchff2IZBSlZmJNw==}engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}hasBin: truepeerDependencies:'@opentelemetry/api': ^1.1.0- '@playwright/test': ^1.41.2+ '@playwright/test': ^1.51.1babel-plugin-react-compiler: '*'react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0@@ -10967,6 +11249,9 @@ packages:resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}+ resolution: {integrity: sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw==}+resolution: {integrity: sha512-jn9vOIK/nfqoFCcpK89/VCVaLg1IHE6UVfDOzvqmANaJ/rWCTEdH8RZ1V278nv2jr36BJdyQXIAavBLXpzdlag==}engines: {node: '>=14'}@@ -12106,6 +12391,10 @@ packages:resolution: {integrity: sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==}+ resolution: {integrity: sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==}+ engines: {node: '>= 10.13.0'}+resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==}@@ -12193,8 +12482,8 @@ packages:resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- resolution: {integrity: sha512-lszvBmB9QURERtyKT2bNmsgxXK0ShJrL/fvqlonCo7e6xBF8nT8xU6pW+PMIbLsz0RxQk3rgH9kd8UmvOzlMJg==}+ resolution: {integrity: sha512-FUH39xp3SBPnxWvd5iib1X8XY7J0K0X7d93sie9CJg2PO8/7gmg89Nve6OjItK53/MlAushNNxteBYfM6DEuoA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}@@ -12647,7 +12936,7 @@ packages:resolution: {integrity: sha512-6WTxW1EB6yCxV5VFOIPQruWGHqc3yI7hEmZK6h+pyk69Lk/Ut7rLUY6W/ONF2MjBuGjvmMiIpsrVJ2vjrHlslA==}engines: {node: '>=6.4.0 <13 || >=14'}- deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net+ deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.netresolution: {integrity: sha512-erY3HFDG0dPnhw4U+udPfrzXa4xhSG+n4rxfRuZWCUvjFWwKl+OxWf/7zk50s84/fAAs7vf5QAb9uRa0cCykxw==}@@ -12704,6 +12993,10 @@ packages:engines: {node: '>=14.0.0'}hasBin: true+ resolution: {integrity: sha512-ZL6DDuAlRlLGghwcfmSn9sK3Hr6ArtyudlSAiCqQ6IfE+b+HHbydbYDIG15IfS5do+7XQQBdBiubF/cV2dnDzg==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==}engines: {node: '>=6'}@@ -12731,11 +13024,32 @@ packages:peerDependencies:solid-js: ^1.8+ resolution: {integrity: sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==}+ engines: {node: '>= 10.13.0'}+ peerDependencies:+ '@swc/core': '*'+ esbuild: '*'+ uglify-js: '*'+ webpack: ^5.1.0+ peerDependenciesMeta:+ '@swc/core':+ optional: true+ esbuild:+ optional: true+ uglify-js:+ optional: true+resolution: {integrity: sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==}engines: {node: '>=10'}hasBin: true+ resolution: {integrity: sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==}+ engines: {node: '>=10'}+ hasBin: true+resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}engines: {node: '>=8'}@@ -13076,8 +13390,8 @@ packages:resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}- resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==}+ resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==}engines: {node: '>=14.0'}@@ -13623,6 +13937,10 @@ packages:resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==}+ resolution: {integrity: sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==}+ engines: {node: '>=10.13.0'}+resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}engines: {node: '>= 8'}@@ -13647,9 +13965,23 @@ packages:resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}engines: {node: '>=12'}+ resolution: {integrity: sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==}+ engines: {node: '>=10.13.0'}+resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==}+ resolution: {integrity: sha512-7b0dTKR3Ed//AD/6kkx/o7duS8H3f1a4w3BYpIriX4BzIhjkn4teo05cptsxvLesHFKK5KObnadmCHBwGc+51A==}+ engines: {node: '>=10.13.0'}+ hasBin: true+ peerDependencies:+ webpack-cli: '*'+ peerDependenciesMeta:+ webpack-cli:+ optional: true+resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==}engines: {node: '>=18'}@@ -14601,7 +14933,7 @@ snapshots:'@babel/[email protected]':dependencies:'@babel/parser': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@jridgewell/gen-mapping': 0.3.8'@jridgewell/trace-mapping': 0.3.25jsesc: 3.1.0@@ -14610,10 +14942,22 @@ snapshots:dependencies:'@babel/parser': 7.27.5'@babel/types': 7.27.6- '@jridgewell/gen-mapping': 0.3.8- '@jridgewell/trace-mapping': 0.3.25+ '@jridgewell/gen-mapping': 0.3.13+ '@jridgewell/trace-mapping': 0.3.31jsesc: 3.1.0+ '@babel/[email protected]':+ dependencies:+ '@babel/parser': 7.28.4+ '@babel/types': 7.28.4+ '@jridgewell/gen-mapping': 0.3.13+ '@jridgewell/trace-mapping': 0.3.31+ jsesc: 3.1.0++ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.27.6+'@babel/[email protected]':dependencies:'@babel/compat-data': 7.27.2@@ -14622,28 +14966,70 @@ snapshots:lru-cache: 5.1.1semver: 6.3.1- '@babel/[email protected]':- dependencies:- '@babel/types': 7.27.1-- '@babel/[email protected]':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/traverse': 7.27.1- '@babel/types': 7.27.1+ '@babel/core': 7.27.1+ '@babel/helper-annotate-as-pure': 7.27.3+ '@babel/helper-member-expression-to-functions': 7.27.1+ '@babel/helper-optimise-call-expression': 7.27.1+ '@babel/helper-replace-supers': 7.27.1(@babel/[email protected])+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1+ '@babel/traverse': 7.28.4+ semver: 6.3.1transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected]': {}++ '@babel/[email protected]':dependencies:- '@babel/core': 7.27.1- '@babel/helper-module-imports': 7.27.1- '@babel/helper-validator-identifier': 7.27.1- '@babel/traverse': 7.27.1+ '@babel/traverse': 7.28.4+ '@babel/types': 7.27.6transitivePeerDependencies:- supports-color+ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.27.6++ '@babel/[email protected]':+ dependencies:+ '@babel/traverse': 7.27.4+ '@babel/types': 7.27.6+ transitivePeerDependencies:+ - supports-color++ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.27.1+ '@babel/helper-module-imports': 7.27.1+ '@babel/helper-validator-identifier': 7.27.1+ '@babel/traverse': 7.27.4+ transitivePeerDependencies:+ - supports-color++ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.27.6+'@babel/[email protected]': {}+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.27.1+ '@babel/helper-member-expression-to-functions': 7.27.1+ '@babel/helper-optimise-call-expression': 7.27.1+ '@babel/traverse': 7.28.4+ transitivePeerDependencies:+ - supports-color++ '@babel/[email protected]':+ dependencies:+ '@babel/traverse': 7.28.4+ '@babel/types': 7.27.6+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]': {}'@babel/[email protected]': {}@@ -14653,7 +15039,7 @@ snapshots:'@babel/[email protected]':dependencies:'@babel/template': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@babel/[email protected]':dependencies:@@ -14664,12 +15050,16 @@ snapshots:'@babel/[email protected]':dependencies:- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@babel/[email protected]':dependencies:'@babel/types': 7.27.6+ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.28.4+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.27.1@@ -14755,6 +15145,23 @@ snapshots:'@babel/core': 7.27.1'@babel/helper-plugin-utils': 7.27.1+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.27.1+ '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])+ '@babel/helper-plugin-utils': 7.27.1+ transitivePeerDependencies:+ - supports-color++ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.27.1+ '@babel/helper-annotate-as-pure': 7.27.3+ '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])+ '@babel/helper-plugin-utils': 7.27.1+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.27.1@@ -14773,7 +15180,7 @@ snapshots:dependencies:'@babel/code-frame': 7.27.1'@babel/parser': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@babel/[email protected]':dependencies:@@ -14781,7 +15188,7 @@ snapshots:'@babel/generator': 7.27.1'@babel/parser': 7.27.2'@babel/template': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6debug: 4.4.1globals: 11.12.0transitivePeerDependencies:@@ -14799,6 +15206,18 @@ snapshots:transitivePeerDependencies:- supports-color+ '@babel/[email protected]':+ dependencies:+ '@babel/code-frame': 7.27.1+ '@babel/generator': 7.28.3+ '@babel/helper-globals': 7.28.0+ '@babel/parser': 7.28.4+ '@babel/template': 7.27.2+ '@babel/types': 7.28.4+ debug: 4.4.1+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]':dependencies:'@babel/helper-string-parser': 7.27.1@@ -14809,6 +15228,11 @@ snapshots:'@babel/helper-string-parser': 7.27.1'@babel/helper-validator-identifier': 7.27.1+ '@babel/[email protected]':+ dependencies:+ '@babel/helper-string-parser': 7.27.1+ '@babel/helper-validator-identifier': 7.27.1+'@bcoe/[email protected]': {}'@biomejs/[email protected]':@@ -14883,7 +15307,7 @@ snapshots:optionalDependencies:workerd: 1.20250408.0- '@cloudflare/[email protected](@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected](@types/[email protected])([email protected])([email protected]))':+ '@cloudflare/[email protected](@cloudflare/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected](@types/[email protected])([email protected])([email protected]))':dependencies:'@vitest/runner': 2.1.9'@vitest/snapshot': 2.1.9@@ -14893,7 +15317,7 @@ snapshots:esbuild: 0.17.19miniflare: 3.20250204.1semver: 7.7.1wrangler: 3.109.1(@cloudflare/[email protected])zod: 3.25.76transitivePeerDependencies:@@ -15023,7 +15447,7 @@ snapshots:'@opentelemetry/resources': 1.30.1(@opentelemetry/[email protected])'@opentelemetry/sdk-trace-base': 1.30.1(@opentelemetry/[email protected])'@opentelemetry/sdk-trace-node': 1.30.1(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.32.0+ '@opentelemetry/semantic-conventions': 1.36.0chokidar: 3.6.0hash-wasm: 4.12.0inflection: 3.0.2@@ -15132,13 +15556,29 @@ snapshots:'@effect-ts/[email protected]': {}+ '@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected])':+ dependencies:+ '@effect/platform': 0.90.2([email protected])+ '@effect/sql': 0.44.2(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected])+ '@effect/workflow': 0.9.5(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected])+ effect: 3.17.13++ '@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected])':+ dependencies:+ '@effect/platform': 0.90.2([email protected])+ effect: 3.17.13+ uuid: 11.1.0+ optionalDependencies:+ ioredis: 5.6.1+'@effect/[email protected]': {}- '@effect/[email protected](@effect/[email protected]([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])([email protected])':+ '@effect/[email protected](@effect/[email protected]([email protected]))(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])([email protected])':dependencies:- '@effect/platform': 0.90.2([email protected])+ '@effect/platform': 0.90.2([email protected])'@opentelemetry/semantic-conventions': 1.36.0- effect: 3.17.7+ effect: 3.17.13optionalDependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/resources': 2.0.1(@opentelemetry/[email protected])@@ -15148,18 +15588,68 @@ snapshots:'@opentelemetry/sdk-trace-node': 2.0.1(@opentelemetry/[email protected])'@opentelemetry/sdk-trace-web': 2.0.1(@opentelemetry/[email protected])- '@effect/[email protected]([email protected])':+ '@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])':+ dependencies:+ '@effect/cluster': 0.48.6(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected])+ '@effect/platform': 0.90.2([email protected])+ '@effect/sql': 0.44.2(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected])+ '@parcel/watcher': 2.5.1+ effect: 3.17.13+ multipasta: 0.2.7+ ws: 8.18.2+ transitivePeerDependencies:+ - bufferutil+ - utf-8-validate++ '@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])':+ dependencies:+ '@effect/cluster': 0.48.6(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected])+ '@effect/platform': 0.90.2([email protected])+ '@effect/platform-node-shared': 0.49.1(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected]))([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])+ '@effect/sql': 0.44.2(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected])+ effect: 3.17.13+ mime: 3.0.0+ undici: 5.28.4+ ws: 8.18.2+ transitivePeerDependencies:+ - bufferutil+ - utf-8-validate++ '@effect/[email protected]([email protected])':dependencies:'@opentelemetry/semantic-conventions': 1.36.0- effect: 3.17.7+ effect: 3.17.13find-my-way-ts: 0.1.6msgpackr: 1.11.4multipasta: 0.2.7+ dependencies:+ '@effect/platform': 0.90.2([email protected])+ effect: 3.17.13++ '@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected]))([email protected])':+ dependencies:+ '@effect/experimental': 0.54.6(@effect/[email protected]([email protected]))([email protected])([email protected])+ '@effect/platform': 0.90.2([email protected])+ '@effect/sql': 0.44.2(@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected])+ effect: 3.17.13+ mysql2: 3.14.1++ '@effect/[email protected](@effect/[email protected](@effect/[email protected]([email protected]))([email protected])([email protected]))(@effect/[email protected]([email protected]))([email protected])':+ dependencies:+ '@effect/experimental': 0.54.6(@effect/[email protected]([email protected]))([email protected])([email protected])+ '@effect/platform': 0.90.2([email protected])+ effect: 3.17.13+ uuid: 11.1.0++ '@effect/[email protected](@effect/[email protected]([email protected]))(@effect/[email protected](@effect/[email protected]([email protected]))([email protected]))([email protected])':dependencies:- '@effect/platform': 0.90.2([email protected])- effect: 3.17.7+ '@effect/platform': 0.90.2([email protected])+ effect: 3.17.13'@emnapi/[email protected]':dependencies:@@ -15172,6 +15662,11 @@ snapshots:tslib: 2.8.1optional: true+ '@emnapi/[email protected]':+ dependencies:+ tslib: 2.8.1+ optional: true+'@emnapi/[email protected]':dependencies:tslib: 2.8.1@@ -15847,14 +16342,17 @@ snapshots:transitivePeerDependencies:- supports-color+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-darwin-arm64': 1.0.4optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-darwin-arm64': 1.1.0+ '@img/sharp-libvips-darwin-arm64': 1.2.3optional: true'@img/[email protected]':@@ -15862,60 +16360,60 @@ snapshots:'@img/sharp-libvips-darwin-x64': 1.0.4optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-darwin-x64': 1.1.0+ '@img/sharp-libvips-darwin-x64': 1.2.3optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':@@ -15923,9 +16421,9 @@ snapshots:'@img/sharp-libvips-linux-arm64': 1.0.4optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-arm64': 1.1.0+ '@img/sharp-libvips-linux-arm64': 1.2.3optional: true'@img/[email protected]':@@ -15933,9 +16431,14 @@ snapshots:'@img/sharp-libvips-linux-arm': 1.0.5optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-arm': 1.1.0+ '@img/sharp-libvips-linux-arm': 1.2.3+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-ppc64': 1.2.3optional: true'@img/[email protected]':@@ -15943,9 +16446,9 @@ snapshots:'@img/sharp-libvips-linux-s390x': 1.0.4optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-s390x': 1.1.0+ '@img/sharp-libvips-linux-s390x': 1.2.3optional: true'@img/[email protected]':@@ -15953,9 +16456,9 @@ snapshots:'@img/sharp-libvips-linux-x64': 1.0.4optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-x64': 1.1.0+ '@img/sharp-libvips-linux-x64': 1.2.3optional: true'@img/[email protected]':@@ -15963,9 +16466,9 @@ snapshots:'@img/sharp-libvips-linuxmusl-arm64': 1.0.4optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linuxmusl-arm64': 1.1.0+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.3optional: true'@img/[email protected]':@@ -15973,9 +16476,9 @@ snapshots:'@img/sharp-libvips-linuxmusl-x64': 1.0.4optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linuxmusl-x64': 1.1.0+ '@img/sharp-libvips-linuxmusl-x64': 1.2.3optional: true'@img/[email protected]':@@ -15983,24 +16486,24 @@ snapshots:'@emnapi/runtime': 1.4.3optional: true- '@img/[email protected]':+ '@img/[email protected]':dependencies:- '@emnapi/runtime': 1.4.3+ '@emnapi/runtime': 1.5.0optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@intercom/[email protected]': {}@@ -16161,7 +16664,7 @@ snapshots:'@jest/[email protected]':dependencies:- '@jridgewell/trace-mapping': 0.3.25+ '@jridgewell/trace-mapping': 0.3.31callsites: 3.1.0graceful-fs: 4.2.11@@ -16228,10 +16731,15 @@ snapshots:'@jridgewell/[email protected]': {}+ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/gen-mapping': 0.3.13+ '@jridgewell/trace-mapping': 0.3.31+'@jridgewell/[email protected]':dependencies:- '@jridgewell/gen-mapping': 0.3.8- '@jridgewell/trace-mapping': 0.3.25+ '@jridgewell/gen-mapping': 0.3.13+ '@jridgewell/trace-mapping': 0.3.31'@jridgewell/[email protected]': {}@@ -16240,7 +16748,7 @@ snapshots:'@jridgewell/[email protected]':dependencies:'@jridgewell/resolve-uri': 3.1.2- '@jridgewell/sourcemap-codec': 1.5.0+ '@jridgewell/sourcemap-codec': 1.5.5'@jridgewell/[email protected]':dependencies:@@ -16319,7 +16827,7 @@ snapshots:nopt: 5.0.0npmlog: 5.0.1rimraf: 3.0.2- semver: 7.7.1+ semver: 7.7.2tar: 6.2.1transitivePeerDependencies:- encoding@@ -16332,7 +16840,7 @@ snapshots:https-proxy-agent: 7.0.6node-fetch: 2.7.0([email protected])nopt: 8.1.0- semver: 7.7.1+ semver: 7.7.2tar: 7.4.3transitivePeerDependencies:- encoding@@ -16528,7 +17036,7 @@ snapshots:dependencies:- '@babel/parser': 7.27.2+ '@babel/parser': 7.27.5'@babel/types': 7.27.1'@netlify/binary-info': 1.0.0'@netlify/serverless-functions-api': 1.41.1@@ -16555,7 +17063,7 @@ snapshots:precinct: 11.0.5require-package-name: 2.0.1resolve: 2.0.0-next.5- semver: 7.7.1+ semver: 7.7.2tmp-promise: 3.0.3toml: 3.0.0unixify: 1.0.0@@ -16567,11 +17075,9 @@ snapshots:- rollup- supports-color- '@next/[email protected]': {}+ '@next/[email protected]': {}- '@next/[email protected]': {}-- '@next/[email protected]': {}+ '@next/[email protected]': {}'@next/[email protected]':dependencies:@@ -16581,82 +17087,55 @@ snapshots:dependencies:glob: 10.3.10- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':- optional: true-- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true- '@next/[email protected]':+ '@next/[email protected]':optional: true'@noble/[email protected]': {}@@ -16718,7 +17197,7 @@ snapshots:promise-all-reject-late: 1.0.1promise-call-limit: 3.0.2read-package-json-fast: 3.0.2- semver: 7.7.1+ semver: 7.7.2ssri: 10.0.6treeverse: 3.0.0walk-up-path: 3.0.1@@ -16728,7 +17207,7 @@ snapshots:'@npmcli/[email protected]':dependencies:- semver: 7.7.1+ semver: 7.7.2'@npmcli/[email protected]':dependencies:@@ -16739,7 +17218,7 @@ snapshots:proc-log: 4.2.0promise-inflight: 1.0.1promise-retry: 2.0.1- semver: 7.7.1+ semver: 7.7.2which: 4.0.0transitivePeerDependencies:- bluebird@@ -16762,7 +17241,7 @@ snapshots:json-parse-even-better-errors: 3.0.2pacote: 18.0.6proc-log: 4.2.0- semver: 7.7.1+ semver: 7.7.2transitivePeerDependencies:- bluebird- supports-color@@ -16779,7 +17258,7 @@ snapshots:json-parse-even-better-errors: 3.0.2normalize-package-data: 6.0.2proc-log: 4.2.0- semver: 7.7.1+ semver: 7.7.2transitivePeerDependencies:- bluebird@@ -17052,7 +17531,7 @@ snapshots:'@opentelemetry/[email protected](@opentelemetry/[email protected])':dependencies:'@opentelemetry/api': 1.9.0- '@opentelemetry/semantic-conventions': 1.32.0+ '@opentelemetry/semantic-conventions': 1.36.0'@opentelemetry/[email protected](@opentelemetry/[email protected])':dependencies:@@ -17097,7 +17576,7 @@ snapshots:'@types/shimmer': 1.2.0import-in-the-middle: 1.13.1require-in-the-middle: 7.5.2- semver: 7.7.1+ semver: 7.7.2shimmer: 1.2.1transitivePeerDependencies:- supports-color@@ -17164,7 +17643,7 @@ snapshots:dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/core': 2.0.1(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.32.0+ '@opentelemetry/semantic-conventions': 1.36.0'@opentelemetry/[email protected](@opentelemetry/[email protected])':dependencies:@@ -17204,7 +17683,7 @@ snapshots:'@opentelemetry/api': 1.9.0'@opentelemetry/core': 2.0.1(@opentelemetry/[email protected])'@opentelemetry/resources': 2.0.1(@opentelemetry/[email protected])- '@opentelemetry/semantic-conventions': 1.32.0+ '@opentelemetry/semantic-conventions': 1.36.0'@opentelemetry/[email protected](@opentelemetry/[email protected])':dependencies:@@ -17214,7 +17693,7 @@ snapshots:'@opentelemetry/propagator-b3': 1.30.1(@opentelemetry/[email protected])'@opentelemetry/propagator-jaeger': 1.30.1(@opentelemetry/[email protected])'@opentelemetry/sdk-trace-base': 1.30.1(@opentelemetry/[email protected])- semver: 7.7.1+ semver: 7.7.2'@opentelemetry/[email protected](@opentelemetry/[email protected])':dependencies:@@ -17233,8 +17712,6 @@ snapshots:'@opentelemetry/[email protected]': {}- '@opentelemetry/[email protected]': {}-'@opentelemetry/[email protected]': {}'@panva/[email protected]': {}@@ -19192,11 +19669,11 @@ snapshots:dependencies:solid-js: 1.9.6- '@solidjs/[email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected])':+ '@solidjs/[email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected])':dependencies:- '@tanstack/server-functions-plugin': 1.119.2(@types/[email protected])([email protected])([email protected])([email protected])- '@vinxi/plugin-directives': 0.5.1([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))- '@vinxi/server-components': 0.5.1([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@tanstack/server-functions-plugin': 1.119.2(@types/[email protected])([email protected])([email protected])([email protected])+ '@vinxi/plugin-directives': 0.5.1([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vinxi/server-components': 0.5.1([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))defu: 6.1.4error-stack-parser: 2.1.4html-to-image: 1.11.13@@ -19207,8 +19684,8 @@ snapshots:source-map-js: 1.2.1terracotta: 1.0.6([email protected])tinyglobby: 0.2.13- vinxi: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- vite-plugin-solid: 2.11.6(@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ vinxi: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vite-plugin-solid: 2.11.6(@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))transitivePeerDependencies:- '@testing-library/jest-dom'- '@types/node'@@ -19335,12 +19812,12 @@ snapshots:react: 19.1.0react-dom: 19.1.0([email protected])- '@storybook/[email protected]([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@storybook/[email protected]([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:- '@storybook/csf-plugin': 10.0.0-beta.6([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ '@storybook/csf-plugin': 10.0.0-beta.6([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))storybook: 8.6.12([email protected])ts-dedent: 2.2.0transitivePeerDependencies:- esbuild- rollup@@ -19367,14 +19844,15 @@ snapshots:- supports-color- utf-8-validate- '@storybook/[email protected]([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@storybook/[email protected]([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:storybook: 8.6.12([email protected])unplugin: 2.3.10optionalDependencies:esbuild: 0.25.4rollup: 4.40.2+ webpack: 5.101.3([email protected])dependencies:@@ -19516,20 +19994,20 @@ snapshots:- csstype- utf-8-validate- '@tanstack/[email protected](@types/[email protected])([email protected])([email protected])([email protected])':+ '@tanstack/[email protected](@types/[email protected])([email protected])([email protected])([email protected])':dependencies:'@babel/code-frame': 7.26.2'@babel/core': 7.27.1'@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])'@babel/plugin-syntax-typescript': 7.27.1(@babel/[email protected])'@babel/template': 7.27.2- '@babel/traverse': 7.27.1- '@babel/types': 7.27.1+ '@babel/traverse': 7.27.4+ '@babel/types': 7.27.6'@tanstack/router-utils': 1.115.0babel-dead-code-elimination: 1.0.10dedent: 1.6.0tiny-invariant: 1.3.3transitivePeerDependencies:- '@types/node'- babel-plugin-macros@@ -19590,12 +20068,12 @@ snapshots:'@tanstack/[email protected]':dependencies:- '@babel/generator': 7.27.1- '@babel/parser': 7.27.2+ '@babel/generator': 7.27.5+ '@babel/parser': 7.27.5ansis: 3.17.0diff: 7.0.0- '@tanstack/[email protected](@types/[email protected])([email protected])([email protected])([email protected])':+ '@tanstack/[email protected](@types/[email protected])([email protected])([email protected])([email protected])':dependencies:'@babel/code-frame': 7.26.2'@babel/core': 7.27.1@@ -19604,7 +20082,7 @@ snapshots:'@babel/template': 7.27.2'@babel/traverse': 7.27.1'@babel/types': 7.27.1- '@tanstack/directive-functions-plugin': 1.119.2(@types/[email protected])([email protected])([email protected])([email protected])+ '@tanstack/directive-functions-plugin': 1.119.2(@types/[email protected])([email protected])([email protected])([email protected])babel-dead-code-elimination: 1.0.10dedent: 1.6.0tiny-invariant: 1.3.3@@ -19872,16 +20350,16 @@ snapshots:'@types/[email protected]':dependencies:- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@types/[email protected]':dependencies:'@babel/parser': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@types/[email protected]':dependencies:- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@types/[email protected]':dependencies:@@ -19932,12 +20410,24 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]':+ dependencies:+ '@types/eslint': 9.6.1+ '@types/estree': 1.0.8++ '@types/[email protected]':+ dependencies:+ '@types/estree': 1.0.8+ '@types/json-schema': 7.0.15+'@types/[email protected]':dependencies:'@types/estree': 1.0.7'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/node': 20.17.43@@ -20059,6 +20549,10 @@ snapshots:dependencies:undici-types: 6.19.8+ '@types/[email protected]':+ dependencies:+ undici-types: 6.21.0+'@types/[email protected]':dependencies:undici-types: 6.21.0@@ -20460,7 +20954,7 @@ snapshots:untun: 0.1.3uqr: 0.1.2- '@vinxi/[email protected]([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vinxi/[email protected]([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@babel/parser': 7.27.2acorn: 8.14.1@@ -20471,18 +20965,18 @@ snapshots:magicast: 0.2.11recast: 0.23.11tslib: 2.8.1- vinxi: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vinxi: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- '@vinxi/[email protected]([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vinxi/[email protected]([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:- '@vinxi/plugin-directives': 0.5.1([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vinxi/plugin-directives': 0.5.1([email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))acorn: 8.14.1acorn-loose: 8.5.0acorn-typescript: 1.4.13([email protected])astring: 1.9.0magicast: 0.2.11recast: 0.23.11- vinxi: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vinxi: 0.5.6(@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])'@virtual-grid/[email protected]': {}@@ -20500,14 +20994,14 @@ snapshots:'@virtual-grid/[email protected]': {}- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':dependencies:'@babel/core': 7.27.1'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])'@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/[email protected])'@types/babel__core': 7.20.5react-refresh: 0.17.0transitivePeerDependencies:- supports-color@@ -20525,13 +21019,13 @@ snapshots:chai: 5.2.0tinyrainbow: 1.2.0dependencies:'@vitest/spy': 2.1.9estree-walker: 3.0.3magic-string: 0.30.17optionalDependencies:- vite: 5.4.19(@types/[email protected])([email protected])+ vite: 5.4.19(@types/[email protected])([email protected])'@vitest/[email protected]':dependencies:@@ -20573,6 +21067,82 @@ snapshots:loupe: 3.1.3tinyrainbow: 1.2.0+ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/helper-numbers': 1.13.2+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/floating-point-hex-parser': 1.13.2+ '@webassemblyjs/helper-api-error': 1.13.2+ '@xtuc/long': 4.2.2++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-buffer': 1.14.1+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/wasm-gen': 1.14.1++ '@webassemblyjs/[email protected]':+ dependencies:+ '@xtuc/ieee754': 1.2.0++ '@webassemblyjs/[email protected]':+ dependencies:+ '@xtuc/long': 4.2.2++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-buffer': 1.14.1+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/helper-wasm-section': 1.14.1+ '@webassemblyjs/wasm-gen': 1.14.1+ '@webassemblyjs/wasm-opt': 1.14.1+ '@webassemblyjs/wasm-parser': 1.14.1+ '@webassemblyjs/wast-printer': 1.14.1++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/ieee754': 1.13.2+ '@webassemblyjs/leb128': 1.13.2+ '@webassemblyjs/utf8': 1.13.2++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-buffer': 1.14.1+ '@webassemblyjs/wasm-gen': 1.14.1+ '@webassemblyjs/wasm-parser': 1.14.1++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-api-error': 1.13.2+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/ieee754': 1.13.2+ '@webassemblyjs/leb128': 1.13.2+ '@webassemblyjs/utf8': 1.13.2++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@xtuc/long': 4.2.2+'@whatwg-node/[email protected]':dependencies:'@whatwg-node/promise-helpers': 1.3.1@@ -20601,9 +21171,9 @@ snapshots:'@whatwg-node/promise-helpers': 1.3.1tslib: 2.8.1- '@workos-inc/[email protected]([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))':+ '@workos-inc/[email protected]([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))':dependencies:- iron-session: 6.3.1([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))+ iron-session: 6.3.1([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))jose: 5.6.3leb: 1.0.0pluralize: 8.0.0@@ -20612,6 +21182,10 @@ snapshots:- koa- next+ '@xtuc/[email protected]': {}++ '@xtuc/[email protected]': {}+@@ -20636,6 +21210,10 @@ snapshots:dependencies:acorn: 8.15.0+ dependencies:+ acorn: 8.15.0+dependencies:acorn: 7.4.1@@ -20687,6 +21265,15 @@ snapshots:clean-stack: 2.2.0indent-string: 4.0.0+ optionalDependencies:+ ajv: 8.17.1++ dependencies:+ ajv: 8.17.1+ fast-deep-equal: 3.1.3+dependencies:fast-deep-equal: 3.1.3@@ -20983,8 +21570,8 @@ snapshots:dependencies:'@babel/core': 7.27.1'@babel/parser': 7.27.2- '@babel/traverse': 7.27.1- '@babel/types': 7.27.1+ '@babel/traverse': 7.27.4+ '@babel/types': 7.27.6transitivePeerDependencies:- supports-color@@ -21001,6 +21588,12 @@ snapshots:transitivePeerDependencies:- supports-color+ dependencies:+ '@babel/core': 7.27.1+ find-up: 5.0.0+ webpack: 5.101.3([email protected])+dependencies:'@babel/helper-plugin-utils': 7.27.1@@ -21014,7 +21607,7 @@ snapshots:dependencies:'@babel/template': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@types/babel__core': 7.20.5'@types/babel__traverse': 7.20.7@@ -21023,7 +21616,7 @@ snapshots:'@babel/core': 7.27.1'@babel/helper-module-imports': 7.18.6'@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])- '@babel/types': 7.27.1+ '@babel/types': 7.27.6html-entities: 2.3.3parse5: 7.3.0validate-html-nesting: 1.2.2@@ -21069,6 +21662,8 @@ snapshots:+ [email protected]: {}+dependencies:safe-buffer: 5.1.2@@ -21174,6 +21769,14 @@ snapshots:node-releases: 2.0.19update-browserslist-db: 1.1.3([email protected])+ dependencies:+ baseline-browser-mapping: 2.8.6+ caniuse-lite: 1.0.30001743+ electron-to-chromium: 1.5.222+ node-releases: 2.0.21+ update-browserslist-db: 1.1.3([email protected])+dependencies:fast-json-stable-stringify: 2.1.0@@ -21294,7 +21897,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}@@ -21372,6 +21975,8 @@ snapshots:+ [email protected]: {}+@@ -21705,9 +22310,9 @@ snapshots:- [email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]):+ [email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]):optionalDependencies:- drizzle-orm: 0.43.1(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])+ drizzle-orm: 0.44.5(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])mysql2: 3.14.1@@ -21815,6 +22420,9 @@ snapshots:+ optional: true+@@ -21951,7 +22559,7 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]):+ [email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]):optionalDependencies:'@cloudflare/workers-types': 4.20250507.0'@opentelemetry/api': 1.9.0@@ -21976,7 +22584,7 @@ snapshots:dependencies:'@standard-schema/spec': 1.0.0fast-check: 3.23.2@@ -21987,6 +22595,8 @@ snapshots:+ [email protected]: {}+@@ -22030,6 +22640,11 @@ snapshots:- supports-color- utf-8-validate+ dependencies:+ graceful-fs: 4.2.11+ tapable: 2.2.3+dependencies:ansi-colors: 4.1.3@@ -23362,9 +23977,9 @@ snapshots:strip-ansi: 6.0.1wide-align: 1.1.5- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected])):+ [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])):dependencies:- next: 14.2.3(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])dependencies:@@ -23905,7 +24520,7 @@ snapshots:- [email protected]([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected])):+ [email protected]([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])):dependencies:'@peculiar/webcrypto': 1.5.0'@types/cookie': 0.5.4@@ -23916,7 +24531,7 @@ snapshots:iron-webcrypto: 0.2.8optionalDependencies:express: 5.1.0- next: 14.2.3(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])dependencies:@@ -24140,7 +24755,7 @@ snapshots:dependencies:'@babel/core': 7.27.1- '@babel/parser': 7.27.2+ '@babel/parser': 7.27.5'@istanbuljs/schema': 0.1.3istanbul-lib-coverage: 3.2.2semver: 6.3.1@@ -24150,10 +24765,10 @@ snapshots:dependencies:'@babel/core': 7.27.1- '@babel/parser': 7.27.2+ '@babel/parser': 7.27.5'@istanbuljs/schema': 0.1.3istanbul-lib-coverage: 3.2.2- semver: 7.7.1+ semver: 7.7.2transitivePeerDependencies:- supports-color@@ -24450,7 +25065,7 @@ snapshots:'@babel/generator': 7.27.1'@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])'@babel/plugin-syntax-typescript': 7.27.1(@babel/[email protected])- '@babel/types': 7.27.1+ '@babel/types': 7.27.6'@jest/expect-utils': 29.7.0'@jest/transform': 29.7.0'@jest/types': 29.6.3@@ -24465,7 +25080,7 @@ snapshots:jest-util: 29.7.0natural-compare: 1.4.0pretty-format: 29.7.0- semver: 7.7.1+ semver: 7.7.2transitivePeerDependencies:- supports-color@@ -24498,6 +25113,12 @@ snapshots:jest-util: 29.7.0string-length: 4.0.2+ dependencies:+ '@types/node': 20.19.17+ merge-stream: 2.0.0+ supports-color: 8.1.1+dependencies:'@types/node': 20.17.43@@ -24705,6 +25326,8 @@ snapshots:untun: 0.1.3uqr: 0.1.2+ [email protected]: {}+dependencies:mlly: 1.7.4@@ -24830,13 +25453,13 @@ snapshots:dependencies:'@babel/parser': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6recast: 0.23.11dependencies:'@babel/parser': 7.27.2- '@babel/types': 7.27.1+ '@babel/types': 7.27.6source-map-js: 1.2.1@@ -24845,7 +25468,7 @@ snapshots:dependencies:- semver: 7.7.1+ semver: 7.7.2@@ -25317,7 +25940,7 @@ snapshots:exit-hook: 2.2.1glob-to-regexp: 0.4.1stoppable: 1.1.0- undici: 5.29.0+ undici: 5.28.4workerd: 1.20250204.0ws: 8.18.0youch: 3.2.3@@ -25334,7 +25957,7 @@ snapshots:exit-hook: 2.2.1glob-to-regexp: 0.4.1stoppable: 1.1.0- undici: 5.29.0+ undici: 5.28.4workerd: 1.20250408.0ws: 8.18.0youch: 3.3.4@@ -25518,6 +26141,8 @@ snapshots:+ [email protected]: {}+@@ -25529,30 +26154,13 @@ snapshots:p-wait-for: 5.0.2qs: 6.14.0- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]):- dependencies:- '@babel/runtime': 7.27.1- '@panva/hkdf': 1.2.1- cookie: 0.7.2- jose: 4.15.9- next: 14.2.3(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])- oauth: 0.9.15- openid-client: 5.7.1- preact: 10.26.6- preact-render-to-string: 5.2.6([email protected])- react: 19.1.0- react-dom: 19.1.0([email protected])- uuid: 8.3.2- optionalDependencies:- nodemailer: 6.10.1-- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]):+ [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected]):dependencies:'@babel/runtime': 7.27.1'@panva/hkdf': 1.2.1cookie: 0.7.2jose: 4.15.9- next: 14.2.9(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])oauth: 0.9.15openid-client: 5.7.1preact: 10.26.6@@ -25563,12 +26171,12 @@ snapshots:optionalDependencies:nodemailer: 6.10.1- [email protected]([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected])([email protected]([email protected])([email protected]))([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:'@contentlayer2/core': 0.5.8([email protected])([email protected])'@contentlayer2/utils': 0.5.8contentlayer2: 0.5.8([email protected])([email protected])- next: 14.2.3(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])react: 19.1.0react-dom: 19.1.0([email protected])transitivePeerDependencies:@@ -25592,90 +26200,62 @@ snapshots:- acorn- supports-color- [email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):dependencies:- '@next/env': 14.2.3+ '@next/env': 14.2.32'@swc/helpers': 0.5.5busboy: 1.6.0- caniuse-lite: 1.0.30001717+ caniuse-lite: 1.0.30001743graceful-fs: 4.2.11postcss: 8.4.31react: 19.1.0react-dom: 19.1.0([email protected])- styled-jsx: 5.1.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+ '@next/swc-darwin-arm64': 14.2.32+ '@next/swc-darwin-x64': 14.2.32+ '@next/swc-linux-arm64-gnu': 14.2.32+ '@next/swc-linux-arm64-musl': 14.2.32+ '@next/swc-linux-x64-gnu': 14.2.32+ '@next/swc-linux-x64-musl': 14.2.32+ '@next/swc-win32-arm64-msvc': 14.2.32+ '@next/swc-win32-ia32-msvc': 14.2.32+ '@next/swc-win32-x64-msvc': 14.2.32'@opentelemetry/api': 1.9.0transitivePeerDependencies:- '@babel/core'- babel-plugin-macros- [email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):dependencies:- '@next/env': 14.2.9- '@swc/helpers': 0.5.5- busboy: 1.6.0- caniuse-lite: 1.0.30001717- graceful-fs: 4.2.11- postcss: 8.4.31- react: 19.1.0- react-dom: 19.1.0([email protected])- styled-jsx: 5.1.1([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- '@opentelemetry/api': 1.9.0- transitivePeerDependencies:- - '@babel/core'- - babel-plugin-macros-- [email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):- dependencies:- '@next/env': 15.3.4- '@swc/counter': 0.1.3+ '@next/env': 15.5.3'@swc/helpers': 0.5.15- busboy: 1.6.0- caniuse-lite: 1.0.30001723+ caniuse-lite: 1.0.30001743postcss: 8.4.31react: 19.1.0react-dom: 19.1.0([email protected])- styled-jsx: 5.1.6([email protected])+ styled-jsx: 5.1.6(@babel/[email protected])([email protected])optionalDependencies:- '@next/swc-darwin-arm64': 15.3.4- '@next/swc-darwin-x64': 15.3.4- '@next/swc-linux-arm64-gnu': 15.3.4- '@next/swc-linux-arm64-musl': 15.3.4- '@next/swc-linux-x64-gnu': 15.3.4- '@next/swc-linux-x64-musl': 15.3.4- '@next/swc-win32-arm64-msvc': 15.3.4- '@next/swc-win32-x64-msvc': 15.3.4+ '@next/swc-darwin-arm64': 15.5.3+ '@next/swc-darwin-x64': 15.5.3+ '@next/swc-linux-arm64-gnu': 15.5.3+ '@next/swc-linux-arm64-musl': 15.5.3+ '@next/swc-linux-x64-gnu': 15.5.3+ '@next/swc-linux-x64-musl': 15.5.3+ '@next/swc-win32-arm64-msvc': 15.5.3+ '@next/swc-win32-x64-msvc': 15.5.3'@opentelemetry/api': 1.9.0- sharp: 0.34.2+ sharp: 0.34.4transitivePeerDependencies:- '@babel/core'- babel-plugin-macros- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected])):+ [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])):dependencies:cors: 2.8.5- next: 14.2.3(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.32(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])- [email protected](@planetscale/[email protected])([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected]):+ [email protected](@planetscale/[email protected])([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected]):dependencies:'@cloudflare/kv-asset-handler': 0.4.0'@netlify/functions': 3.1.5([email protected])([email protected])@@ -25697,7 +26277,7 @@ snapshots:cookie-es: 2.0.0croner: 9.0.0crossws: 0.3.5- db0: 0.3.2([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])+ db0: 0.3.2([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])defu: 6.1.4destr: 2.0.5dot-prop: 9.0.0@@ -25743,7 +26323,7 @@ snapshots:unenv: 2.0.0-rc.15unimport: 5.0.1unplugin-utils: 0.2.4- unstorage: 1.16.0(@planetscale/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected])+ unstorage: 1.16.0(@planetscale/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected])untyped: 2.0.0unwasm: 0.3.9youch: 4.1.0-beta.7@@ -25818,7 +26398,7 @@ snapshots:make-fetch-happen: 13.0.1nopt: 7.2.1proc-log: 4.2.0- semver: 7.7.1+ semver: 7.7.2tar: 6.2.1which: 4.0.0transitivePeerDependencies:@@ -25830,9 +26410,11 @@ snapshots:+ [email protected]: {}+dependencies:- '@babel/parser': 7.27.2+ '@babel/parser': 7.27.5@@ -25864,7 +26446,7 @@ snapshots:dependencies:hosted-git-info: 7.0.2- semver: 7.7.1+ semver: 7.7.2validate-npm-package-license: 3.0.4@@ -25883,7 +26465,7 @@ snapshots:dependencies:- semver: 7.7.1+ semver: 7.7.2@@ -25891,7 +26473,7 @@ snapshots:dependencies:hosted-git-info: 7.0.2proc-log: 4.2.0- semver: 7.7.1+ semver: 7.7.2validate-npm-package-name: 5.0.1@@ -25903,7 +26485,7 @@ snapshots:npm-install-checks: 6.3.0npm-normalize-package-bin: 3.0.1npm-package-arg: 11.0.3- semver: 7.7.1+ semver: 7.7.2dependencies:@@ -26625,7 +27207,7 @@ snapshots:react: 19.1.0react-dom: 19.1.0([email protected])- [email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@babel/parser': 7.27.5'@babel/traverse': 7.27.4@@ -26637,7 +27219,7 @@ snapshots:glob: 11.0.3log-symbols: 7.0.1mime-types: 3.0.1- next: 15.3.4(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 15.5.3(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])normalize-path: 3.0.0ora: 8.2.0socket.io: 4.8.1@@ -27133,6 +27715,13 @@ snapshots:+ dependencies:+ '@types/json-schema': 7.0.15+ ajv: 8.17.1+ ajv-formats: 2.1.1([email protected])+ ajv-keywords: 5.1.0([email protected])+@@ -27148,8 +27737,7 @@ snapshots:- optional: true+ [email protected]: {}dependencies:@@ -27276,33 +27864,34 @@ snapshots:'@img/sharp-win32-x64': 0.33.5optional: truedependencies:- color: 4.2.3- detect-libc: 2.0.4+ '@img/colour': 1.0.0+ detect-libc: 2.1.0semver: 7.7.2optionalDependencies:- '@img/sharp-darwin-arm64': 0.34.2- '@img/sharp-darwin-x64': 0.34.2- '@img/sharp-libvips-darwin-arm64': 1.1.0- '@img/sharp-libvips-darwin-x64': 1.1.0- '@img/sharp-libvips-linux-arm': 1.1.0- '@img/sharp-libvips-linux-arm64': 1.1.0- '@img/sharp-libvips-linux-ppc64': 1.1.0- '@img/sharp-libvips-linux-s390x': 1.1.0- '@img/sharp-libvips-linux-x64': 1.1.0- '@img/sharp-libvips-linuxmusl-arm64': 1.1.0- '@img/sharp-libvips-linuxmusl-x64': 1.1.0- '@img/sharp-linux-arm': 0.34.2- '@img/sharp-linux-arm64': 0.34.2- '@img/sharp-linux-s390x': 0.34.2- '@img/sharp-linux-x64': 0.34.2- '@img/sharp-linuxmusl-arm64': 0.34.2- '@img/sharp-linuxmusl-x64': 0.34.2- '@img/sharp-wasm32': 0.34.2- '@img/sharp-win32-arm64': 0.34.2- '@img/sharp-win32-ia32': 0.34.2- '@img/sharp-win32-x64': 0.34.2+ '@img/sharp-darwin-arm64': 0.34.4+ '@img/sharp-darwin-x64': 0.34.4+ '@img/sharp-libvips-darwin-arm64': 1.2.3+ '@img/sharp-libvips-darwin-x64': 1.2.3+ '@img/sharp-libvips-linux-arm': 1.2.3+ '@img/sharp-libvips-linux-arm64': 1.2.3+ '@img/sharp-libvips-linux-ppc64': 1.2.3+ '@img/sharp-libvips-linux-s390x': 1.2.3+ '@img/sharp-libvips-linux-x64': 1.2.3+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.3+ '@img/sharp-libvips-linuxmusl-x64': 1.2.3+ '@img/sharp-linux-arm': 0.34.4+ '@img/sharp-linux-arm64': 0.34.4+ '@img/sharp-linux-ppc64': 0.34.4+ '@img/sharp-linux-s390x': 0.34.4+ '@img/sharp-linux-x64': 0.34.4+ '@img/sharp-linuxmusl-arm64': 0.34.4+ '@img/sharp-linuxmusl-x64': 0.34.4+ '@img/sharp-wasm32': 0.34.4+ '@img/sharp-win32-arm64': 0.34.4+ '@img/sharp-win32-ia32': 0.34.4+ '@img/sharp-win32-x64': 0.34.4optional: true@@ -27612,16 +28201,16 @@ snapshots:- [email protected](@storybook/[email protected]([email protected]([email protected])))([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected](@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])))([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ [email protected](@storybook/[email protected]([email protected]([email protected])))([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected](@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])):dependencies:- '@storybook/builder-vite': 10.0.0-beta.6([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ '@storybook/builder-vite': 10.0.0-beta.6([email protected])([email protected])([email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))'@storybook/types': 9.0.0-alpha.1([email protected]([email protected]))magic-string: 0.30.17solid-js: 1.9.6storybook: 8.6.12([email protected])storybook-solidjs: 1.0.0-beta.7(@storybook/[email protected]([email protected]([email protected])))([email protected])([email protected]([email protected]))- vite-plugin-solid: 2.11.6(@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ vite-plugin-solid: 2.11.6(@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))transitivePeerDependencies:- '@storybook/test'- esbuild@@ -27798,15 +28387,19 @@ snapshots:dependencies:inline-style-parser: 0.2.4dependencies:client-only: 0.0.1react: 19.1.0+ optionalDependencies:+ '@babel/core': 7.27.1dependencies:client-only: 0.0.1react: 19.1.0+ optionalDependencies:+ '@babel/core': 7.27.1@@ -27942,6 +28535,8 @@ snapshots:transitivePeerDependencies:- ts-node+ [email protected]: {}+dependencies:bl: 4.1.0@@ -27987,6 +28582,29 @@ snapshots:solid-js: 1.9.6solid-use: 0.9.1([email protected])+ dependencies:+ '@jridgewell/trace-mapping': 0.3.31+ jest-worker: 27.5.1+ schema-utils: 4.3.2+ serialize-javascript: 6.0.2+ terser: 5.44.0+ webpack: 5.101.3([email protected])+ optionalDependencies:+ esbuild: 0.25.4+ optional: true++ dependencies:+ '@jridgewell/trace-mapping': 0.3.31+ jest-worker: 27.5.1+ schema-utils: 4.3.2+ serialize-javascript: 6.0.2+ terser: 5.44.0+ webpack: 5.101.3([email protected])+ optionalDependencies:+ esbuild: 0.25.5+dependencies:'@jridgewell/source-map': 0.3.6@@ -27994,6 +28612,13 @@ snapshots:commander: 2.20.3source-map-support: 0.5.21+ dependencies:+ '@jridgewell/source-map': 0.3.11+ acorn: 8.15.0+ commander: 2.20.3+ source-map-support: 0.5.21+dependencies:'@istanbuljs/schema': 0.1.3@@ -28313,7 +28938,7 @@ snapshots:dependencies:'@fastify/busboy': 2.1.1@@ -28482,11 +29107,11 @@ snapshots:transitivePeerDependencies:- rollup- [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])):dependencies:fast-glob: 3.3.3unplugin: 2.0.0-beta.1dependencies:@@ -28550,7 +29175,7 @@ snapshots:'@unrs/resolver-binding-win32-ia32-msvc': 1.7.2'@unrs/resolver-binding-win32-x64-msvc': 1.7.2- [email protected](@planetscale/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected]):+ [email protected](@planetscale/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected]):dependencies:anymatch: 3.1.3chokidar: 4.0.3@@ -28562,7 +29187,7 @@ snapshots:ufo: 1.6.1optionalDependencies:'@planetscale/database': 1.19.0- db0: 0.3.2([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])+ db0: 0.3.2([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])ioredis: 5.6.1@@ -28596,6 +29221,12 @@ snapshots:escalade: 3.2.0picocolors: 1.1.1+ dependencies:+ browserslist: 4.26.2+ escalade: 3.2.0+ picocolors: 1.1.1+@@ -28669,7 +29300,7 @@ snapshots:dependencies:- '@jridgewell/trace-mapping': 0.3.25+ '@jridgewell/trace-mapping': 0.3.31'@types/istanbul-lib-coverage': 2.0.6convert-source-map: 2.0.0@@ -28703,7 +29334,7 @@ snapshots:'@types/unist': 3.0.3vfile-message: 4.0.2- [email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@planetscale/[email protected])(@types/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:'@babel/core': 7.27.1'@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])@@ -28725,7 +29356,7 @@ snapshots:hookable: 5.5.3http-proxy: 1.18.1micromatch: 4.0.8- nitropack: 2.11.11(@planetscale/[email protected])([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])+ nitropack: 2.11.11(@planetscale/[email protected])([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected])([email protected])([email protected])node-fetch-native: 1.6.6path-to-regexp: 6.3.0pathe: 1.1.2@@ -28736,8 +29367,8 @@ snapshots:ufo: 1.6.1unctx: 2.4.1unenv: 1.10.0- unstorage: 1.16.0(@planetscale/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected])+ unstorage: 1.16.0(@planetscale/[email protected])([email protected]([email protected](@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected]))([email protected]))([email protected])zod: 3.25.76transitivePeerDependencies:- '@azure/app-configuration'@@ -28781,13 +29412,13 @@ snapshots:- xml2js- yamldependencies:cac: 6.7.14debug: 4.4.1es-module-lexer: 1.7.0pathe: 1.1.2- vite: 5.4.19(@types/[email protected])([email protected])+ vite: 5.4.19(@types/[email protected])([email protected])transitivePeerDependencies:- '@types/node'- less@@ -28799,7 +29430,7 @@ snapshots:- supports-color- terser- [email protected](@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ [email protected](@testing-library/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):dependencies:'@babel/core': 7.27.1'@types/babel__core': 7.20.5@@ -28807,36 +29438,36 @@ snapshots:merge-anything: 5.1.7solid-js: 1.9.6solid-refresh: 0.6.3([email protected])- vitefu: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ vitefu: 1.0.6([email protected](@types/[email protected])([email protected])([email protected])([email protected]))optionalDependencies:'@testing-library/jest-dom': 6.5.0transitivePeerDependencies:- supports-color- [email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):dependencies:debug: 4.4.0([email protected])globrex: 0.1.2tsconfck: 3.1.5([email protected])optionalDependencies:transitivePeerDependencies:- supports-color- typescript- [email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):dependencies:debug: 4.4.0([email protected])globrex: 0.1.2tsconfck: 3.1.5([email protected])optionalDependencies:transitivePeerDependencies:- supports-color- typescriptdependencies:esbuild: 0.21.5postcss: 8.5.3@@ -28844,9 +29475,9 @@ snapshots:optionalDependencies:'@types/node': 22.15.17fsevents: 2.3.3- terser: 5.39.0+ terser: 5.44.0- [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.24.2postcss: 8.5.3@@ -28855,10 +29486,10 @@ snapshots:'@types/node': 22.15.17fsevents: 2.3.3jiti: 2.4.2- terser: 5.39.0+ terser: 5.44.0yaml: 2.8.1- [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.25.4fdir: 6.4.4([email protected])@@ -28870,10 +29501,10 @@ snapshots:'@types/node': 20.17.43fsevents: 2.3.3jiti: 2.4.2- terser: 5.39.0+ terser: 5.44.0yaml: 2.8.1- [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.25.4fdir: 6.4.4([email protected])@@ -28885,17 +29516,17 @@ snapshots:'@types/node': 22.15.17fsevents: 2.3.3jiti: 2.4.2- terser: 5.39.0+ terser: 5.44.0yaml: 2.8.1- [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])):optionalDependencies:dependencies:'@vitest/expect': 2.1.9'@vitest/pretty-format': 2.1.9'@vitest/runner': 2.1.9'@vitest/snapshot': 2.1.9@@ -28911,8 +29542,8 @@ snapshots:tinyexec: 0.3.2tinypool: 1.0.2tinyrainbow: 1.2.0- vite: 5.4.19(@types/[email protected])([email protected])- vite-node: 2.1.9(@types/[email protected])([email protected])+ vite: 5.4.19(@types/[email protected])([email protected])+ vite-node: 2.1.9(@types/[email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:'@types/node': 22.15.17@@ -28938,6 +29569,11 @@ snapshots:dependencies:makeerror: 1.0.12+ dependencies:+ glob-to-regexp: 0.4.1+ graceful-fs: 4.2.11+@@ -28958,8 +29594,75 @@ snapshots:+ [email protected]: {}++ dependencies:+ '@types/eslint-scope': 3.7.7+ '@types/estree': 1.0.8+ '@types/json-schema': 7.0.15+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/wasm-edit': 1.14.1+ '@webassemblyjs/wasm-parser': 1.14.1+ acorn: 8.15.0+ acorn-import-phases: 1.0.4([email protected])+ browserslist: 4.26.2+ chrome-trace-event: 1.0.4+ enhanced-resolve: 5.18.3+ es-module-lexer: 1.7.0+ eslint-scope: 5.1.1+ events: 3.3.0+ glob-to-regexp: 0.4.1+ graceful-fs: 4.2.11+ json-parse-even-better-errors: 2.3.1+ loader-runner: 4.3.0+ mime-types: 2.1.35+ neo-async: 2.6.2+ schema-utils: 4.3.2+ tapable: 2.2.3+ watchpack: 2.4.4+ webpack-sources: 3.3.3+ transitivePeerDependencies:+ - '@swc/core'+ - esbuild+ - uglify-js+ optional: true++ dependencies:+ '@types/eslint-scope': 3.7.7+ '@types/estree': 1.0.8+ '@types/json-schema': 7.0.15+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/wasm-edit': 1.14.1+ '@webassemblyjs/wasm-parser': 1.14.1+ acorn: 8.15.0+ acorn-import-phases: 1.0.4([email protected])+ browserslist: 4.26.2+ chrome-trace-event: 1.0.4+ enhanced-resolve: 5.18.3+ es-module-lexer: 1.7.0+ eslint-scope: 5.1.1+ events: 3.3.0+ glob-to-regexp: 0.4.1+ graceful-fs: 4.2.11+ json-parse-even-better-errors: 2.3.1+ loader-runner: 4.3.0+ mime-types: 2.1.35+ neo-async: 2.6.2+ schema-utils: 4.3.2+ tapable: 2.2.3+ watchpack: 2.4.4+ webpack-sources: 3.3.3+ transitivePeerDependencies:+ - '@swc/core'+ - esbuild+ - uglify-js+dependencies:iconv-lite: 0.6.3diff --git a/scripts/env-cli.js b/scripts/env-cli.jsindex 57c577d45..d54af8813 100644--- a/scripts/env-cli.js+++ b/scripts/env-cli.js@@ -18,7 +18,7 @@ const DOCKER_S3_ENVS = {secretKey: "capS3root",bucket: "capso",region: "us-east-1",- endpoint: "http://localhost:3902",+ endpoint: "http://localhost:9000",};const DOCKER_DB_ENVS = {