The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Feat/new project creation experiment (#31237)
Saxon Fletcherd633ced97d52
diff --git a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsxindex f3f9597eabe..f60cc72a3d9 100644--- a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx+++ b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx@@ -1,8 +1,8 @@-import { DiamondIcon, ExternalLink, Fingerprint, Hash, Key, Link2, Table2 } from 'lucide-react'-import { Handle, NodeProps } from 'reactflow'+import { DiamondIcon, ExternalLink, Fingerprint, Hash, Key, Table2 } from 'lucide-react'import Link from 'next/link'+import { Handle, NodeProps } from 'reactflow'-import { Button, cn, Tooltip_Shadcn_, TooltipContent_Shadcn_, TooltipTrigger_Shadcn_ } from 'ui'+import { Button, cn } from 'ui'// ReactFlow is scaling everything by the factor of 2const TABLE_NODE_WIDTH = 320@@ -24,7 +24,12 @@ export type TableNodeData = {}[]}-const TableNode = ({ data, targetPosition, sourcePosition }: NodeProps<TableNodeData>) => {+const TableNode = ({+ data,+ targetPosition,+ sourcePosition,+ placeholder,+}: NodeProps<TableNodeData> & { placeholder?: boolean }) => {// Important styles is a nasty hack to use Handles (required for edges calculations), but do not show them in the UI.// ref: https://github.com/wbkd/react-flow/discussions/2698const hiddenNodeConnector = '!h-px !w-px !min-w-0 !min-h-0 !cursor-grab !border-0 !opacity-0'@@ -60,7 +65,7 @@ const TableNode = ({ data, targetPosition, sourcePosition }: NodeProps<TableNode<Table2 strokeWidth={1} size={12} className="text-light" />{data.name}</div>- {data.id && (+ {data.id && !placeholder && (<Button asChild type="text" className="px-0 w-[16px] h-[16px] rounded"><Link href={`/project/${data.ref}/editor/${data.id}`}><ExternalLink size={10} className="text-foreground-light" />diff --git a/apps/studio/components/interfaces/Database/Schemas/Schemas.utils.ts b/apps/studio/components/interfaces/Database/Schemas/Schemas.utils.tsindex f3d557f9129..89d02f304ea 100644--- a/apps/studio/components/interfaces/Database/Schemas/Schemas.utils.ts+++ b/apps/studio/components/interfaces/Database/Schemas/Schemas.utils.ts@@ -12,14 +12,14 @@ const NODE_SEP = 25const RANK_SEP = 50export async function getGraphDataFromTables(- ref: string,- schema: PostgresSchema,- tables: PostgresTable[]+ ref?: string,+ schema?: PostgresSchema,+ tables?: PostgresTable[]): Promise<{nodes: Node<TableNodeData>[]edges: Edge[]}> {- if (!tables.length) {+ if (!tables?.length) {return { nodes: [], edges: [] }}@@ -121,7 +121,7 @@ export async function getGraphDataFromTables(}const savedPositionsLocalStorage = localStorage.getItem(- LOCAL_STORAGE_KEYS.SCHEMA_VISUALIZER_POSITIONS(ref, schema.id)+ LOCAL_STORAGE_KEYS.SCHEMA_VISUALIZER_POSITIONS(ref ?? 'project', schema?.id ?? 0))const savedPositions = tryParseJson(savedPositionsLocalStorage)return !!savedPositionsdiff --git a/apps/studio/components/interfaces/HomePageActions.tsx b/apps/studio/components/interfaces/HomePageActions.tsxindex 2bda86c5e22..05a35690955 100644--- a/apps/studio/components/interfaces/HomePageActions.tsx+++ b/apps/studio/components/interfaces/HomePageActions.tsx@@ -21,6 +21,7 @@ import {PopoverTrigger_Shadcn_,Popover_Shadcn_,} from 'ui'+import { useFlag } from 'hooks/ui/useFlag'interface HomePageActionsProps {organizations: { name: string; slug: string }[]@@ -42,6 +43,9 @@ const HomePageActions = ({const organizationCreationEnabled = useIsFeatureEnabled('organizations:create')const { isSuccess: orgsLoaded } = useOrganizationsQuery()+ const projectCreationExperimentGroup = useFlag<string>('projectCreationExperimentGroup')+ const newProjectPath = projectCreationExperimentGroup === 'group-b' ? '/new/v2' : '/new'+return (<div className="flex flex-col gap-2 md:gap-3 md:flex-row"><DropdownMenu>@@ -56,7 +60,10 @@ const HomePageActions = ({{organizations.sort((a, b) => a.name.localeCompare(b.name)).map((x) => (- <DropdownMenuItem key={x.slug} onClick={() => router.push(`/new/${x.slug}`)}>+ <DropdownMenuItem+ key={x.slug}+ onClick={() => router.push(`${newProjectPath}/${x.slug}`)}+ >{x.name}</DropdownMenuItem>))}diff --git a/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx b/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsxindex 058cd56017f..070aec49dcd 100644--- a/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx+++ b/apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx@@ -21,106 +21,117 @@ import { DocsButton } from 'components/ui/DocsButton'interface AdvancedConfigurationProps {form: UseFormReturn<CreateProjectForm>+ layout?: 'vertical' | 'horizontal'+ collapsible?: boolean}-export const AdvancedConfiguration = ({ form }: AdvancedConfigurationProps) => {- return (- <Panel.Content>- <Collapsible_Shadcn_>- <CollapsibleTrigger_Shadcn_ className="group/advanced-trigger font-mono uppercase tracking-widest text-xs flex items-center gap-1 text-foreground-lighter/75 hover:text-foreground-light transition data-[state=open]:text-foreground-light">- Advanced Configuration- <ChevronRight- size={16}- strokeWidth={1}- className="mr-2 group-data-[state=open]/advanced-trigger:rotate-90 group-hover/advanced-trigger:text-foreground-light transition"- />- </CollapsibleTrigger_Shadcn_>- <CollapsibleContent_Shadcn_- className={cn(- 'pt-5 data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'- )}- >- <FormField_Shadcn_- name="useOrioleDb"- control={form.control}- render={({ field }) => (- <>- <FormItemLayout- layout="horizontal"- label="Postgres Type"- className="[&>div>label]:!break-normal"+export const AdvancedConfiguration = ({+ form,+ layout = 'horizontal',+ collapsible = true,+}: AdvancedConfigurationProps) => {+ const content = (+ <>+ <FormField_Shadcn_+ name="useOrioleDb"+ control={form.control}+ render={({ field }) => (+ <>+ <FormItemLayout+ layout={layout}+ label="Postgres Type"+ className="[&>div>label]:!break-normal"+ >+ <FormControl_Shadcn_>+ <RadioGroupStacked+ // Due to radio group not supporting boolean values+ // value is converted to boolean+ onValueChange={(value) => field.onChange(value === 'true')}+ defaultValue={field.value.toString()}>- <FormControl_Shadcn_>- <RadioGroupStacked- // Due to radio group not supporting boolean values- // value is converted to boolean- onValueChange={(value) => field.onChange(value === 'true')}- defaultValue={field.value.toString()}- >- <FormItem_Shadcn_ asChild>- <FormControl_Shadcn_>- <RadioGroupStackedItem- value="false"- // @ts-ignore- label={- <>- Postgres- <Badge color="scale" className="ml-2">- Default- </Badge>- </>- }- description="Recommended for production workloads"- className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"- />- </FormControl_Shadcn_>- </FormItem_Shadcn_>- <FormItem_Shadcn_ asChild>- <FormControl_Shadcn_>- <RadioGroupStackedItem- value="true"- // @ts-ignore- label={- <>- Postgres with OrioleDB- <Badge color="warning" className="ml-2">- Alpha- </Badge>- </>- }- description="Not recommended for production workloads"- className={cn(- '[&>div>div>p]:text-left [&>div>div>p]:text-xs',- form.getValues('useOrioleDb') ? '!rounded-b-none' : ''- )}- />- </FormControl_Shadcn_>- </FormItem_Shadcn_>- </RadioGroupStacked>- </FormControl_Shadcn_>- {form.getValues('useOrioleDb') && (- <Admonition- type="warning"- className="rounded-t-none [&>div]:text-xs"- title="OrioleDB is not production ready"- description="Postgres with OrioleDB extension is currently in Public Alpha and not recommended for production usage yet."- >- <DocsButton- className="mt-2"- href="https://supabase.com/docs/guides/database/orioledb"+ <FormItem_Shadcn_ asChild>+ <FormControl_Shadcn_>+ <RadioGroupStackedItem+ value="false"+ // @ts-ignore+ label={+ <>+ Postgres+ <Badge color="scale" className="ml-2">+ Default+ </Badge>+ </>+ }+ description="Recommended for production workloads"+ className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"/>- </Admonition>- )}- </FormItemLayout>- </>- )}- />+ </FormControl_Shadcn_>+ </FormItem_Shadcn_>+ <FormItem_Shadcn_ asChild>+ <FormControl_Shadcn_>+ <RadioGroupStackedItem+ value="true"+ // @ts-ignore+ label={+ <>+ Postgres with OrioleDB+ <Badge color="warning" className="ml-2">+ Alpha+ </Badge>+ </>+ }+ description="Not recommended for production workloads"+ className={cn(+ '[&>div>div>p]:text-left [&>div>div>p]:text-xs',+ form.getValues('useOrioleDb') ? '!rounded-b-none' : ''+ )}+ />+ </FormControl_Shadcn_>+ </FormItem_Shadcn_>+ </RadioGroupStacked>+ </FormControl_Shadcn_>+ {form.getValues('useOrioleDb') && (+ <Admonition+ type="warning"+ className="rounded-t-none [&>div]:text-xs"+ title="OrioleDB is not production ready"+ description="Postgres with OrioleDB extension is currently in Public Alpha and not recommended for production usage yet."+ >+ <DocsButton+ className="mt-2"+ href="https://supabase.com/docs/guides/database/orioledb"+ />+ </Admonition>+ )}+ </FormItemLayout>+ </>+ )}+ />+ <p className="text-xs text-foreground-lighter mt-3">+ These settings cannot be changed after the project is created+ </p>+ </>+ )- <p className="text-xs text-foreground-lighter text-right mt-3">- These settings cannot be changed after the project is created- </p>- </CollapsibleContent_Shadcn_>- </Collapsible_Shadcn_>- </Panel.Content>+ const collapsibleContent = (+ <Collapsible_Shadcn_>+ <CollapsibleTrigger_Shadcn_ className="group/advanced-trigger font-mono uppercase tracking-widest text-xs flex items-center gap-1 text-foreground-lighter/75 hover:text-foreground-light transition data-[state=open]:text-foreground-light">+ Advanced Configuration+ <ChevronRight+ size={16}+ strokeWidth={1}+ className="mr-2 group-data-[state=open]/advanced-trigger:rotate-90 group-hover/advanced-trigger:text-foreground-light transition"+ />+ </CollapsibleTrigger_Shadcn_>+ <CollapsibleContent_Shadcn_+ className={cn(+ 'pt-5 data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'+ )}+ >+ {content}+ </CollapsibleContent_Shadcn_>+ </Collapsible_Shadcn_>)++ return <Panel.Content>{collapsible ? collapsibleContent : content}</Panel.Content>}diff --git a/apps/studio/components/interfaces/ProjectCreation/InitialStep.tsx b/apps/studio/components/interfaces/ProjectCreation/InitialStep.tsxnew file mode 100644index 00000000000..4c13387d69d--- /dev/null+++ b/apps/studio/components/interfaces/ProjectCreation/InitialStep.tsx@@ -0,0 +1,82 @@+import { Database, Import } from 'lucide-react'++import { cn } from 'ui'+import { SchemaGenerator } from './SchemaGenerator'++interface SupabaseService {+ name: 'Auth' | 'Storage' | 'Database' | 'Edge Function' | 'Cron' | 'Queues' | 'Vector'+ reason: string+}++export const InitialStep = ({+ onSubmit,+ onStartBlank,+ onMigrate,+ onSqlGenerated,+ onServicesUpdated,+ onTitleUpdated,+}: {+ onSubmit: (value: string) => void+ onStartBlank: () => void+ onMigrate: () => void+ onSqlGenerated: (sql: string) => void+ onServicesUpdated: (services: SupabaseService[]) => void+ onTitleUpdated: (title: string) => void+}) => {+ return (+ <div className="w-full">+ <h3>What are you building?</h3>+ <p className="text-sm text-foreground-lighter mb-4">+ We can generate a schema for you to kick start your project.+ </p>+ <SchemaGenerator+ isOneOff+ step="initial"+ onSqlGenerated={(sql) => {+ onSqlGenerated(sql)+ onSubmit(sql)+ }}+ onServicesUpdated={onServicesUpdated}+ onTitleUpdated={onTitleUpdated}+ />+ <div+ className={cn(+ 'relative text-center text-sm text-foreground-lighter my-4 before:absolute before:inset-y-1/2 before:left-0 before:w-[calc(50%-24px)]',+ 'before:h-px before:bg-border after:absolute after:inset-y-1/2 after:right-0 after:w-[calc(50%-24px)] after:h-px after:bg-border'+ )}+ >+ or+ </div>+ <div className="grid grid-cols-2 gap-4">+ <div+ className="p-4 h-auto block border rounded-md cursor text-sm border-strong hover:border-foreground-muted cursor-pointer flex items-center gap-4"+ role="button"+ onClick={onStartBlank}+ >+ <Database strokeWidth={1.5} size={16} className="text-foreground-lighter shrink-0" />+ <div>+ <span className="block">Start blank</span>+ <span className="text-foreground-lighter">Configure a database and dive right in</span>+ </div>+ </div>+ <div+ className="p-4 h-auto block border rounded-md cursor text-sm border-strong hover:border-foreground-muted cursor-pointer flex items-center gap-4"+ role="button"+ onClick={onMigrate}+ >+ <Import+ strokeWidth={1.5}+ size={16}+ className="text-foreground-lighter mx-auto shrink-0"+ />+ <div>+ <span className="mb-1 block">Migrate</span>+ <span className="text-foreground-lighter">+ Import your database from another provider+ </span>+ </div>+ </div>+ </div>+ </div>+ )+}diff --git a/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx b/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsxindex c0b550643b3..04ca3bcf2e0 100644--- a/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx+++ b/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx@@ -32,6 +32,7 @@ interface PostgresVersionSelectorProps {organizationSlug: string | undefinedfield: ControllerRenderProps<any, 'postgresVersionSelection'>form: UseFormReturn<any>+ layout?: 'vertical' | 'horizontal'}const formatValue = ({ postgres_engine, release_channel }: ProjectCreationPostgresVersion) => {@@ -53,6 +54,7 @@ export const PostgresVersionSelector = ({organizationSlug,field,form,+ layout = 'horizontal',}: PostgresVersionSelectorProps) => {const {data,@@ -73,7 +75,7 @@ export const PostgresVersionSelector = ({}, [isSuccess, form])return (- <FormItemLayout layout="horizontal" label="Postgres Version">+ <FormItemLayout label="Postgres Version" layout={layout}><Select_Shadcn_value={field.value}onValueChange={field.onChange}diff --git a/apps/studio/components/interfaces/ProjectCreation/ProjectVisual.tsx b/apps/studio/components/interfaces/ProjectCreation/ProjectVisual.tsxnew file mode 100644index 00000000000..4a331a6f5cd--- /dev/null+++ b/apps/studio/components/interfaces/ProjectCreation/ProjectVisual.tsx@@ -0,0 +1,231 @@+import { memo } from 'react'+import { AnimatePresence, motion } from 'framer-motion'+import { Box, Clock, Database, File, ListOrdered, User2, Zap } from 'lucide-react'++import { SchemaVisualizer } from 'components/interfaces/SchemaVisualizer'+import Globe from 'components/ui/Globe'+import { BASE_PATH } from 'lib/constants'+import { AWS_REGIONS, FLY_REGIONS } from 'shared-data'+import {+ Tooltip_Shadcn_,+ TooltipContent_Shadcn_,+ TooltipProvider_Shadcn_,+ TooltipTrigger_Shadcn_,+} from 'ui'++interface SupabaseService {+ name: 'Auth' | 'Storage' | 'Database' | 'Edge Function' | 'Cron' | 'Queues' | 'Vector'+ reason: string+}++interface ProjectVisualProps {+ sqlStatements: string[]+ showInfo: boolean+ services: SupabaseService[]+ selectedRegion: {+ name: string+ location: { latitude: number; longitude: number }+ code: string+ displayName: string+ } | null+ projectDetails: {+ dbRegion: string+ cloudProvider: string+ postgresVersion: string+ }+}++const arePropsEqual = (prevProps: ProjectVisualProps, nextProps: ProjectVisualProps) => {+ return (+ prevProps.sqlStatements.length === nextProps.sqlStatements.length &&+ prevProps.showInfo === nextProps.showInfo &&+ prevProps.services.length === nextProps.services.length &&+ prevProps.selectedRegion?.name === nextProps.selectedRegion?.name &&+ prevProps.projectDetails.dbRegion === nextProps.projectDetails.dbRegion &&+ prevProps.projectDetails.cloudProvider === nextProps.projectDetails.cloudProvider &&+ prevProps.projectDetails.postgresVersion === nextProps.projectDetails.postgresVersion+ )+}++export const ProjectVisual = memo(+ ({+ sqlStatements,+ showInfo = true,+ services,+ selectedRegion,+ projectDetails,+ }: ProjectVisualProps) => {+ const variants = {+ center: {+ scale: 1,+ opacity: 1,+ top: '50%',+ right: '50%',+ x: '50%',+ y: '-70%',+ },+ corner: {+ scale: 1,+ opacity: 1,+ top: '3%',+ right: '3%',+ x: '0%',+ y: '0%',+ },+ }++ const currentVariant = showInfo ? (sqlStatements.length > 0 ? 'corner' : 'center') : 'hidden'+ return (+ <div className="flex h-full flex-1">+ <div className="flex-1 h-full relative">+ {showInfo && (+ <motion.div+ key="info"+ variants={variants}+ transition={{+ duration: 1.25,+ ease: 'easeInOut',+ }}+ className={`hidden lg:block absolute z-30 p-4 bg-surface-100 min-w-80 rounded-lg border shadow-lg`}+ initial={{+ scale: 0.99,+ opacity: 0,+ top: '50%',+ right: '50%',+ x: '50%',+ y: '-70%',+ }}+ animate={currentVariant}+ >+ <div className="flex items-start justify-between w-80">+ <div className="flex gap-x-3">+ <div className="flex flex-col gap-y-0.5">+ <p className="text-sm">Primary Database</p>+ <p className="flex items-center gap-x-1">+ <span className="text-sm text-foreground-light">+ {projectDetails.dbRegion}+ </span>+ </p>+ <p className="flex items-center gap-x-1">+ <span className="text-sm text-foreground-light">+ {projectDetails.cloudProvider}+ </span>+ <span className="text-sm text-foreground-light">•</span>+ <span className="text-sm text-foreground-light">+ {projectDetails.postgresVersion}+ </span>+ </p>+ </div>+ </div>+ {selectedRegion && (+ <img+ alt="region icon"+ className="w-8 rounded-sm mt-0.5"+ src={`${BASE_PATH}/img/regions/${selectedRegion.name}.svg`}+ />+ )}+ </div>++ <TooltipProvider_Shadcn_>+ <div className="flex gap-2 mt-4">+ {[+ { name: 'Auth', icon: User2 },+ { name: 'Storage', icon: File },+ { name: 'Database', icon: Database },+ { name: 'Edge Function', icon: Zap },+ { name: 'Cron', icon: Clock },+ { name: 'Queues', icon: ListOrdered },+ { name: 'Vector', icon: Box },+ ].map((service) => {+ const enabledService = services.find((s) => s.name === service.name)+ const isEnabled = !!enabledService+ return (+ <Tooltip_Shadcn_ key={service.name} delayDuration={100}>+ <TooltipTrigger_Shadcn_ asChild>+ <div+ className={`+ flex items-center justify-center w-10 h-10 border rounded cursor-help+ ${isEnabled ? 'border-brand-600 text-brand-600' : 'text-foreground-lighter'}+ `}+ >+ <service.icon size={16} strokeWidth={2} />+ </div>+ </TooltipTrigger_Shadcn_>+ <TooltipContent_Shadcn_>+ {isEnabled ? `${service.name}: ${enabledService.reason}` : service.name}+ </TooltipContent_Shadcn_>+ </Tooltip_Shadcn_>+ )+ })}+ </div>+ </TooltipProvider_Shadcn_>+ </motion.div>+ )}+ <motion.div+ layout+ layoutId="globe"+ className="hidden lg:block absolute z-10 pointer-events-none aspect-square right-0"+ initial={{+ scale: showInfo ? '100%' : '95%',+ x: showInfo ? '0%' : '10%',+ opacity: showInfo ? 1 : 0.3,+ width: sqlStatements.length > 0 ? '60%' : '100%',+ top: sqlStatements.length > 0 ? '0' : '50%',+ y: sqlStatements.length > 0 ? '-35%' : '-50%',+ }}+ animate={{+ scale: showInfo ? '100%' : '90%',+ x: showInfo ? (sqlStatements.length > 0 ? '20%' : '0%') : '10%',+ opacity: showInfo ? 1 : 0.3,+ width: sqlStatements.length > 0 ? '50%' : '100%',+ top: sqlStatements.length > 0 ? '0' : '50%',+ y: sqlStatements.length > 0 ? '-35%' : '-50%',+ }}+ transition={{+ duration: 1.25,+ ease: 'easeInOut',+ }}+ >+ <div className="absolute inset-[10%] bg-background-200 rounded-full" />+ <div+ className="absolute inset-0"+ style={{ maskImage: 'linear-gradient(to top right, black, transparent 50%)' }}+ >+ <Globe+ currentLocation={+ showInfo && selectedRegion?.location+ ? [selectedRegion.location.latitude, selectedRegion.location.longitude]+ : undefined+ }+ markers={[+ ...Object.values(AWS_REGIONS).map(+ (region) => region.location as [number, number]+ ),+ ...Object.values(FLY_REGIONS).map(+ (region) => region.location as [number, number]+ ),+ ]}+ />+ </div>+ </motion.div>++ <AnimatePresence>+ {sqlStatements.length > 0 && (+ <motion.div+ initial={{ opacity: 0, scale: 1.05 }}+ animate={{ opacity: 1, scale: 1, transition: { delay: 1 } }}+ exit={{ opacity: 0 }}+ className="h-full z-20"+ >+ <SchemaVisualizer sqlStatements={sqlStatements} className="h-full z-20" />+ </motion.div>+ )}+ </AnimatePresence>+ </div>+ </div>+ )+ },+ arePropsEqual+)++ProjectVisual.displayName = 'ProjectVisual'diff --git a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsxindex aac54d4c2f4..815081d4923 100644--- a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx+++ b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx@@ -19,13 +19,18 @@ interface RegionSelectorProps {cloudProvider: CloudProviderfield: ControllerRenderProps<any, 'dbRegion'>form: UseFormReturn<any>+ layout?: 'vertical' | 'horizontal'}// [Joshen] Let's use a library to maintain the flag SVGs in the future// I tried using https://flagpack.xyz/docs/development/react/ but couldn't get it to render// ^ can try again next time-export const RegionSelector = ({ cloudProvider, field }: RegionSelectorProps) => {+export const RegionSelector = ({+ cloudProvider,+ field,+ layout = 'horizontal',+}: RegionSelectorProps) => {const router = useRouter()const showNonProdFields =@@ -41,7 +46,7 @@ export const RegionSelector = ({ cloudProvider, field }: RegionSelectorProps) =>return (<FormItemLayout- layout="horizontal"+ layout={layout}label="Region"description={<>diff --git a/apps/studio/components/interfaces/ProjectCreation/SchemaFlow.tsx b/apps/studio/components/interfaces/ProjectCreation/SchemaFlow.tsxnew file mode 100644index 00000000000..67f65b416af--- /dev/null+++ b/apps/studio/components/interfaces/ProjectCreation/SchemaFlow.tsx@@ -0,0 +1,86 @@+import { useCallback, useEffect, useMemo } from 'react'+import {+ applyNodeChanges,+ Background,+ BackgroundVariant,+ Edge,+ Node,+ NodeChange,+ NodeProps,+ ReactFlow,+ useEdgesState,+ useNodesState,+ useReactFlow,+} from 'reactflow'++import { TableNode, TableNodeData } from '../Database/Schemas/SchemaTableNode'++export const TABLE_NODE_WIDTH = 640+export const TABLE_NODE_ROW_HEIGHT = 80++interface SchemaFlowProps {+ nodes: Node[]+ edges: Edge[]+}++export const SchemaFlow = ({ nodes: initialNodes, edges: initialEdges }: SchemaFlowProps) => {+ const [nodes, setNodes] = useNodesState(initialNodes)+ const [edges, setEdges] = useEdgesState(initialEdges)+ const nodeTypes = useMemo(+ () => ({ table: (props: NodeProps<TableNodeData>) => <TableNode {...props} placeholder /> }),+ []+ )+ const reactFlowInstance = useReactFlow<TableNodeData>()++ useEffect(() => {+ setNodes(initialNodes)+ setEdges(initialEdges)+ }, [initialNodes, initialEdges, setNodes, setEdges])++ useEffect(() => {+ reactFlowInstance.fitView()+ }, [reactFlowInstance, nodes, edges])++ const onNodesChange = useCallback(+ (changes: NodeChange[]) => {+ setNodes((nds) => applyNodeChanges(changes, nds))+ },+ [setNodes]+ )++ return (+ <div+ style={{ maskImage: 'linear-gradient(to right, transparent 2%, black 13%)' }}+ className="absolute inset-0"+ >+ <ReactFlow+ nodes={nodes}+ edges={edges}+ nodeTypes={nodeTypes}+ onNodesChange={onNodesChange}+ defaultEdgeOptions={{+ type: 'smoothstep',+ animated: true,+ deletable: false,+ style: {+ stroke: 'hsl(var(--border-stronger))',+ strokeWidth: 0.5,+ },+ }}+ fitView+ minZoom={0.8}+ maxZoom={1.8}+ proOptions={{ hideAttribution: true }}+ panOnScroll+ panOnScrollSpeed={1}+ >+ <Background+ gap={16}+ className="[&>*]:stroke-foreground-muted opacity-[25%]"+ variant={BackgroundVariant.Dots}+ color={'inherit'}+ />+ </ReactFlow>+ </div>+ )+}diff --git a/apps/studio/components/interfaces/ProjectCreation/SchemaGenerator.tsx b/apps/studio/components/interfaces/ProjectCreation/SchemaGenerator.tsxnew file mode 100644index 00000000000..476f81a4cc4--- /dev/null+++ b/apps/studio/components/interfaces/ProjectCreation/SchemaGenerator.tsx@@ -0,0 +1,214 @@+import { useChat } from 'ai/react'+import { useEffect, useState } from 'react'++import { Markdown } from 'components/interfaces/Markdown'+import { useSendEventMutation } from 'data/telemetry/send-event-mutation'+import { BASE_PATH } from 'lib/constants'+import { TelemetryActions } from 'lib/constants/telemetry'+import { AiIconAnimation, Button, Label_Shadcn_, Textarea } from 'ui'++interface SupabaseService {+ name: 'Auth' | 'Storage' | 'Database' | 'Edge Function' | 'Cron' | 'Queues' | 'Vector'+ reason: string+}++interface SchemaGeneratorProps {+ step: 'initial' | 'second'+ onSqlGenerated: (sql: string) => void+ onReset?: () => void+ onServicesUpdated: (services: SupabaseService[]) => void+ onTitleUpdated: (title: string) => void+ isOneOff?: boolean+}++export const SchemaGenerator = ({+ step,+ onSqlGenerated,+ onServicesUpdated,+ onTitleUpdated,+ onReset,+ isOneOff = false,+}: SchemaGeneratorProps) => {+ const [input, setInput] = useState('')+ const [hasSql, setHasSql] = useState(false)++ const [promptIntendSent, setPromptIntendSent] = useState(false)+ const { mutate: sendEvent } = useSendEventMutation()++ const {+ messages,+ setMessages,+ handleInputChange,+ append,+ isLoading: isMessagesLoading,+ } = useChat({+ api: `${BASE_PATH}/api/ai/onboarding/design`,+ id: 'schema-generator',+ maxSteps: 7,+ onFinish: () => {+ setInput('')+ },+ async onToolCall({ toolCall }) {+ if (toolCall.toolName === 'executeSql') {+ try {+ const sql = (toolCall.args as { sql: string }).sql+ setHasSql(true)+ onSqlGenerated(sql)+ return {+ success: true,+ message: 'Database successfully updated. Respond with next steps.',+ }+ } catch (error) {+ console.error('Failed to execute SQL:', error)+ return {+ success: false,+ error: `SQL execution failed: ${error instanceof Error ? error.message : String(error)}`,+ }+ }+ }++ if (toolCall.toolName === 'reset') {+ try {+ setHasSql(false)+ onSqlGenerated('')+ if (onReset) {+ onReset()+ }+ return {+ success: true,+ message: 'Database successfully reset',+ }+ } catch (error) {+ console.error('Failed to reset the database', error)+ return {+ success: false,+ error: `Resetting the database failed: ${error instanceof Error ? error.message : String(error)}`,+ }+ }+ }++ if (toolCall.toolName === 'setServices') {+ const newServices = (toolCall.args as { services: SupabaseService[] }).services+ onServicesUpdated(newServices)+ return 'Services updated successfully'+ }++ if (toolCall.toolName === 'setTitle') {+ const newTitle = (toolCall.args as { title: string }).title+ onTitleUpdated(newTitle)+ return 'Title updated successfully'+ }+ },+ })++ useEffect(() => {+ if (isOneOff) {+ setMessages([])+ setInput('')+ }+ }, [isOneOff, setMessages, setInput])++ return (+ <div>+ {!isOneOff && (+ <div className="flex justify-between w-full block items-center mb-4">+ <Label_Shadcn_ className="text-foreground-light flex-1">+ Generate a starting schema+ </Label_Shadcn_>+ {messages?.length > 0 && (+ <Button+ type="outline"+ size="tiny"+ onClick={() => {+ setInput('Reset the database, services and start over')+ append({+ role: 'user',+ content: 'Reset the database, services and start over',+ })+ }}+ >+ Reset+ </Button>+ )}+ </div>+ )}+ <div className="rounded-md border bg-surface-100">+ {messages.length > 0 &&+ messages[messages.length - 1].role === 'assistant' &&+ messages[messages.length - 1].content.length > 0 &&+ ((isOneOff && !hasSql) || !isOneOff) && (+ <div className="px-4 py-3 border-b space-y-1">+ <p>+ <Markdown+ className="text-foreground-light"+ content={+ messages.filter((m) => m.role === 'assistant').slice(-1)[0]?.content || ''+ }+ />+ </p>+ </div>+ )}+ <div className="w-full relative text-sm border-none block bg-muted mb-0 text-foreground-light placeholder:text-foreground-lighter">+ <Textarea+ id="input"+ name="prompt"+ autoComplete="off"+ className="text-sm w-full bg-transparent border-none resize-none px-4 pt-3 pb-8"+ value={input}+ disabled={isMessagesLoading}+ onChange={(e) => {+ handleInputChange(e)+ setInput(e.target.value)+ }}+ placeholder={messages.length > 0 ? 'Make an edit...' : 'Describe your application...'}+ rows={Math.max(3, Math.min(input.split('\n').length, 10))}+ onKeyDown={(e) => {+ if (!(e.target instanceof HTMLTextAreaElement)) {+ return+ }+ if (!promptIntendSent && e.target.value.length > 5) {+ // distinguish between a new prompt or an edit+ const isNewPrompt = messages.length == 0+ // distinguish between initial step or second step+ if (step === 'initial') {+ sendEvent({+ action: TelemetryActions.PROJECT_CREATION_INITIAL_STEP_PROMPT_INTENDED,+ properties: {+ isNewPrompt,+ },+ })+ } else {+ sendEvent({+ action: TelemetryActions.PROJECT_CREATION_SECOND_STEP_PROMPT_INTENDED,+ properties: {+ isNewPrompt,+ },+ })+ }+ setPromptIntendSent(true)+ }+ if (e.key === 'Enter' && !e.shiftKey && !e.nativeEvent.isComposing) {+ e.preventDefault()+ setHasSql(false)+ append({ role: 'user', content: input })+ }+ }}+ />+ <Button+ onClick={(e) => {+ e.preventDefault()+ setHasSql(false)+ append({ role: 'user', content: input })+ }}+ disabled={isMessagesLoading}+ loading={isMessagesLoading}+ icon={<AiIconAnimation size={16} />}+ className="absolute bottom-2 right-2"+ >+ Generate+ </Button>+ </div>+ </div>+ </div>+ )+}diff --git a/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx b/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsxindex 2e31f73e0fa..90ffe223822 100644--- a/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx+++ b/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx@@ -20,150 +20,161 @@ import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'interface SecurityOptionsProps {form: UseFormReturn<CreateProjectForm>+ layout?: 'vertical' | 'horizontal'+ collapsible?: boolean}-export const SecurityOptions = ({ form }: SecurityOptionsProps) => {- return (- <Panel.Content>- <Collapsible_Shadcn_>- <CollapsibleTrigger_Shadcn_ className="group/advanced-trigger font-mono uppercase tracking-widest text-xs flex items-center gap-1 text-foreground-lighter/75 hover:text-foreground-light transition data-[state=open]:text-foreground-light">- Security options- <ChevronRight- size={16}- strokeWidth={1}- className="mr-2 group-data-[state=open]/advanced-trigger:rotate-90 group-hover/advanced-trigger:text-foreground-light transition"- />- </CollapsibleTrigger_Shadcn_>- <CollapsibleContent_Shadcn_- className={cn(- 'pt-5 data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'- )}- >- <FormField_Shadcn_- name="dataApi"- control={form.control}- render={({ field }) => (- <>- <FormItemLayout- layout="horizontal"- className="[&>div>label]:!break-normal"- label="What connections do you plan to use?"+export const SecurityOptions = ({+ form,+ layout = 'horizontal',+ collapsible = true,+}: SecurityOptionsProps) => {+ const content = (+ <>+ <FormField_Shadcn_+ name="dataApi"+ control={form.control}+ render={({ field }) => (+ <>+ <FormItemLayout+ layout={layout}+ className="[&>div>label]:!break-normal"+ label="What connections do you plan to use?"+ >+ <FormControl_Shadcn_>+ <RadioGroupStacked+ // Due to radio group not supporting boolean values+ // value is converted to boolean+ onValueChange={(value) => field.onChange(value === 'true')}+ defaultValue={field.value.toString()}>- <FormControl_Shadcn_>- <RadioGroupStacked- // Due to radio group not supporting boolean values- // value is converted to boolean- onValueChange={(value) => field.onChange(value === 'true')}- defaultValue={field.value.toString()}- >- <FormItem_Shadcn_ asChild>- <FormControl_Shadcn_>- <RadioGroupStackedItem- value="true"- className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"- label="Data API + Connection String"- description="Connect to Postgres via autogenerated HTTP APIs or the Postgres protocol"- />- </FormControl_Shadcn_>- </FormItem_Shadcn_>- <FormItem_Shadcn_ asChild>- <FormControl_Shadcn_>- <RadioGroupStackedItem- label="Only Connection String"- value="false"- description="Use Postgres without the autogenerated APIs"- className={cn(- !form.getValues('dataApi') && '!rounded-b-none',- '[&>div>div>p]:text-left [&>div>div>p]:text-xs'- )}- onClick={() => form.setValue('useApiSchema', false)}- />- </FormControl_Shadcn_>- </FormItem_Shadcn_>- </RadioGroupStacked>- </FormControl_Shadcn_>- {!form.getValues('dataApi') && (- <Admonition- className="rounded-t-none"- type="warning"- title="Data API will effectively be disabled"- >- PostgREST which powers the Data API will have no schemas available to it.- </Admonition>- )}- </FormItemLayout>- </>- )}- />-- {form.getValues('dataApi') && (- <FormField_Shadcn_- name="useApiSchema"- control={form.control}- render={({ field }) => (- <>- <FormItemLayout- className="mt-6"- layout="horizontal"- label="Data API Configuration"- >+ <FormItem_Shadcn_ asChild><FormControl_Shadcn_>- <RadioGroupStacked- defaultValue={field.value.toString()}- onValueChange={(value) => field.onChange(value === 'true')}- >- <FormItem_Shadcn_ asChild>- <FormControl_Shadcn_>- <RadioGroupStackedItem- value="false"- // @ts-ignore- label={- <>- Use public schema for Data API- <Badge color="scale" className="ml-2">- Default- </Badge>- </>- }- // @ts-ignore- description={- <>- Query all tables in the <code className="text-xs">public</code>{' '}- schema- </>- }- className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"- />- </FormControl_Shadcn_>- </FormItem_Shadcn_>- <FormItem_Shadcn_ asChild>- <FormControl_Shadcn_>- <RadioGroupStackedItem- value="true"- label="Use dedicated API schema for Data API"- // @ts-ignore- description={- <>- Query allowlisted tables in a dedicated{' '}- <code className="text-xs">api</code> schema- </>- }- className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"- />- </FormControl_Shadcn_>- </FormItem_Shadcn_>- </RadioGroupStacked>+ <RadioGroupStackedItem+ value="true"+ className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"+ label="Data API + Connection String"+ description="Connect to Postgres via autogenerated HTTP APIs or the Postgres protocol"+ /></FormControl_Shadcn_>- </FormItemLayout>- </>+ </FormItem_Shadcn_>+ <FormItem_Shadcn_ asChild>+ <FormControl_Shadcn_>+ <RadioGroupStackedItem+ label="Only Connection String"+ value="false"+ description="Use Postgres without the autogenerated APIs"+ className={cn(+ !form.getValues('dataApi') && '!rounded-b-none',+ '[&>div>div>p]:text-left [&>div>div>p]:text-xs'+ )}+ onClick={() => form.setValue('useApiSchema', false)}+ />+ </FormControl_Shadcn_>+ </FormItem_Shadcn_>+ </RadioGroupStacked>+ </FormControl_Shadcn_>+ {!form.getValues('dataApi') && (+ <Admonition+ className="rounded-t-none"+ type="warning"+ title="Data API will effectively be disabled"+ >+ PostgREST which powers the Data API will have no schemas available to it.+ </Admonition>)}- />+ </FormItemLayout>+ </>+ )}+ />++ {form.getValues('dataApi') && (+ <FormField_Shadcn_+ name="useApiSchema"+ control={form.control}+ render={({ field }) => (+ <>+ <FormItemLayout className="mt-6" layout={layout} label="Data API Configuration">+ <FormControl_Shadcn_>+ <RadioGroupStacked+ defaultValue={field.value.toString()}+ onValueChange={(value) => field.onChange(value === 'true')}+ >+ <FormItem_Shadcn_ asChild>+ <FormControl_Shadcn_>+ <RadioGroupStackedItem+ value="false"+ // @ts-ignore+ label={+ <>+ Use public schema for Data API+ <Badge color="scale" className="ml-2">+ Default+ </Badge>+ </>+ }+ // @ts-ignore+ description={+ <>+ Query all tables in the <code className="text-xs">public</code> schema+ </>+ }+ className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"+ />+ </FormControl_Shadcn_>+ </FormItem_Shadcn_>+ <FormItem_Shadcn_ asChild>+ <FormControl_Shadcn_>+ <RadioGroupStackedItem+ value="true"+ label="Use dedicated API schema for Data API"+ // @ts-ignore+ description={+ <>+ Query allowlisted tables in a dedicated{' '}+ <code className="text-xs">api</code> schema+ </>+ }+ className="[&>div>div>p]:text-left [&>div>div>p]:text-xs"+ />+ </FormControl_Shadcn_>+ </FormItem_Shadcn_>+ </RadioGroupStacked>+ </FormControl_Shadcn_>+ </FormItemLayout>+ </>)}- <p className="text-xs text-foreground-lighter text-right mt-3">- These settings can be changed after the project is created via the project's settings- </p>- </CollapsibleContent_Shadcn_>- </Collapsible_Shadcn_>+ />+ )}+ <p className="text-xs text-foreground-lighter mt-3">+ These settings can be changed after the project is created via the project's settings+ </p>+ </>+ )++ const collapsibleContent = (+ <Collapsible_Shadcn_>+ <CollapsibleTrigger_Shadcn_ className="group/advanced-trigger font-mono uppercase tracking-widest text-xs flex items-center gap-1 text-foreground-lighter/75 hover:text-foreground-light transition data-[state=open]:text-foreground-light">+ Security options+ <ChevronRight+ size={16}+ strokeWidth={1}+ className="mr-2 group-data-[state=open]/advanced-trigger:rotate-90 group-hover/advanced-trigger:text-foreground-light transition"+ />+ </CollapsibleTrigger_Shadcn_>+ <CollapsibleContent_Shadcn_+ className={cn(+ 'pt-5 data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down'+ )}+ >+ {content}+ </CollapsibleContent_Shadcn_>+ </Collapsible_Shadcn_>+ )++ return (+ <Panel.Content className={!collapsible ? 'p-0' : ''}>+ {collapsible ? collapsibleContent : content}</Panel.Content>)}diff --git a/apps/studio/components/interfaces/SchemaVisualizer/index.tsx b/apps/studio/components/interfaces/SchemaVisualizer/index.tsxnew file mode 100644index 00000000000..4e14e3bc8d9--- /dev/null+++ b/apps/studio/components/interfaces/SchemaVisualizer/index.tsx@@ -0,0 +1,139 @@+import { PGlite } from '@electric-sql/pglite'+import { PostgresMetaBase, wrapError, wrapResult } from '@gregnr/postgres-meta/base'+import { useEffect, useRef, useState } from 'react'+import { Edge, Node, ReactFlowProvider } from 'reactflow'++import { SchemaFlow } from 'components/interfaces/ProjectCreation/SchemaFlow'+import { getGraphDataFromTables } from '../Database/Schemas/Schemas.utils'+import { TableNodeData } from '../Database/Schemas/SchemaTableNode'++export const TABLE_NODE_WIDTH = 640+export const TABLE_NODE_ROW_HEIGHT = 80++interface SchemaVisualizerProps {+ sqlStatements: string[]+ className?: string+}++const AUTH_SCHEMA_SQL = `+CREATE SCHEMA auth;+CREATE TABLE auth.users (+ instance_id uuid,+ id uuid NOT NULL,+ aud character varying(255),+ role character varying(255),+ email character varying(255),+ encrypted_password character varying(255),+ confirmed_at timestamp with time zone,+ invited_at timestamp with time zone,+ confirmation_token character varying(255),+ confirmation_sent_at timestamp with time zone,+ recovery_token character varying(255),+ recovery_sent_at timestamp with time zone,+ email_change_token character varying(255),+ email_change character varying(255),+ email_change_sent_at timestamp with time zone,+ last_sign_in_at timestamp with time zone,+ raw_app_meta_data jsonb,+ raw_user_meta_data jsonb,+ is_super_admin boolean,+ created_at timestamp with time zone,+ updated_at timestamp with time zone+);+ALTER TABLE ONLY auth.users+ADD CONSTRAINT users_email_key UNIQUE (email);+ALTER TABLE ONLY auth.users+ADD CONSTRAINT users_pkey PRIMARY KEY (id);+`.trim()++export const SchemaVisualizer = ({ sqlStatements, className }: SchemaVisualizerProps) => {+ const [nodes, setNodes] = useState<Node<TableNodeData>[]>([])+ const [edges, setEdges] = useState<Edge[]>([])+ const db = useRef<PGlite>()+ const executedStatements = useRef<Set<string>>(new Set())++ // Initialize database once+ useEffect(() => {+ db.current = new PGlite()++ // Execute initial auth schema setup+ db.current.exec(AUTH_SCHEMA_SQL)+ }, [])++ // Execute new SQL statements and update schema+ useEffect(() => {+ const updateSchema = async () => {+ if (!db.current) return++ // Reset if statements is empty+ if (sqlStatements.length === 0) {+ setNodes([])+ setEdges([])+ executedStatements.current.clear()+ // Reset database+ db.current = new PGlite()+ // Re-run initial auth schema setup+ db.current.exec(AUTH_SCHEMA_SQL)+ return+ }++ // Execute only new statements+ const newStatements = sqlStatements.filter((sql) => !executedStatements.current.has(sql))++ if (newStatements.length === 0) return++ try {+ for (const sql of newStatements) {+ await db.current.exec(sql)+ executedStatements.current.add(sql)+ }++ const pgMeta = new PostgresMetaBase({+ query: async (sql: string) => {+ try {+ const res = await db.current?.query(sql)+ if (!res) throw new Error('No response from database')+ return wrapResult<any[]>(res.rows)+ } catch (error) {+ console.error('Query failed:', error)+ return wrapError(error, sql)+ }+ },+ end: async () => {},+ })++ const { data: tables, error } = await pgMeta.tables.list({+ includedSchemas: ['public'],+ includeColumns: true,+ })++ if (error) {+ console.error('Failed to get tables:', error)+ return+ }++ if (tables) {+ const { nodes, edges } = await getGraphDataFromTables(+ 'onboarding',+ { id: 1, name: 'public', owner: 'admin' },+ tables+ )+ setNodes(nodes)+ setEdges(edges)+ }+ } catch (error) {+ console.error('Failed to execute SQL:', error)+ }+ }++ updateSchema()+ }, [sqlStatements])++ return (+ <div className={className}>+ <ReactFlowProvider>+ <SchemaFlow nodes={nodes} edges={edges} />+ </ReactFlowProvider>+ </div>+ )+}diff --git a/apps/studio/components/ui/Globe.tsx b/apps/studio/components/ui/Globe.tsxnew file mode 100644index 00000000000..e2a3b7a0635--- /dev/null+++ b/apps/studio/components/ui/Globe.tsx@@ -0,0 +1,103 @@+import createGlobe from 'cobe'+import { debounce } from 'lodash'+import { useTheme } from 'next-themes'+import { useEffect, useRef } from 'react'++interface GlobeProps {+ readonly markers?: [number, number][]+ readonly currentLocation?: [number, number]+}++const Globe = ({ markers, currentLocation }: GlobeProps) => {+ const { resolvedTheme } = useTheme()+ const canvasRef = useRef<any>()+ const locationToAngles = (lat: number, long: number) => {+ return [Math.PI - ((long * Math.PI) / 180 - Math.PI / 2), (lat * Math.PI) / 180 + 0.2]+ }+ const currentPhiRef = useRef(0)+ const currentThetaRef = useRef(0.3)+ const targetPhiRef = useRef(0)+ const targetThetaRef = useRef(0.3)++ useEffect(() => {+ if (currentLocation) {+ const [lat, long] = currentLocation+ const [targetPhi, targetTheta] = locationToAngles(lat, long)+ targetPhiRef.current = targetPhi+ targetThetaRef.current = targetTheta+ }+ }, [currentLocation])++ useEffect(() => {+ let width = 0++ const onResize = () => {+ if (canvasRef.current) {+ width = canvasRef.current.offsetWidth+ }+ }+ const debouncedResize = debounce(onResize, 10)+ window.addEventListener('resize', debouncedResize)+ onResize()++ const cobe = createGlobe(canvasRef.current, {+ devicePixelRatio: 2,+ width: width * 2,+ height: width * 2,+ phi: 0,+ theta: 0.3,+ dark: resolvedTheme?.includes('dark') ? 1 : 0,+ diffuse: 2,+ scale: 1,+ opacity: 1,+ mapSamples: 20000,+ mapBrightness: 4,+ baseColor: [255 / 255, 255 / 255, 255 / 255],+ markerColor: [62 / 255, 207 / 255, 142 / 255],+ glowColor: [150 / 255, 150 / 255, 150 / 255],+ markers:+ markers?.map((coords) => ({+ location: coords,+ size:+ currentLocation && coords[0] === currentLocation[0] && coords[1] === currentLocation[1]+ ? 0.1+ : 0.03,+ })) || [],+ onRender: (state) => {+ if (currentLocation) {+ const distPhiPositive =+ (targetPhiRef.current - currentPhiRef.current + Math.PI * 2) % (Math.PI * 2)+ const distPhiNegative =+ (currentPhiRef.current - targetPhiRef.current + Math.PI * 2) % (Math.PI * 2)++ if (distPhiPositive < distPhiNegative) {+ currentPhiRef.current += distPhiPositive * 0.03+ } else {+ currentPhiRef.current -= distPhiNegative * 0.03+ }++ currentThetaRef.current += (targetThetaRef.current - currentThetaRef.current) * 0.03++ state.phi = currentPhiRef.current+ state.theta = currentThetaRef.current+ } else {+ currentPhiRef.current += 0.002+ state.phi = currentPhiRef.current+ state.theta = currentThetaRef.current+ }++ state.width = width * 2+ state.height = width * 2+ },+ })++ return () => {+ window.removeEventListener('resize', debouncedResize)+ cobe.destroy()+ }+ }, [resolvedTheme, markers, currentLocation])++ return <canvas ref={canvasRef} className="absolute inset-0 w-full h-full" />+}++export default Globediff --git a/apps/studio/components/ui/ScrollGradient.tsx b/apps/studio/components/ui/ScrollGradient.tsxnew file mode 100644index 00000000000..1a6c708201a--- /dev/null+++ b/apps/studio/components/ui/ScrollGradient.tsx@@ -0,0 +1,44 @@+import { AnimatePresence, motion } from 'framer-motion'+import { RefObject, useCallback, useEffect, useState } from 'react'++interface ScrollGradientProps {+ scrollRef: RefObject<HTMLElement>+ className?: string+ offset?: number // Pixels to offset from bottom before showing gradient+}++export const ScrollGradient = ({ scrollRef, className = '', offset = 0 }: ScrollGradientProps) => {+ const [showGradient, setShowGradient] = useState(false)++ const handleScroll = useCallback(() => {+ if (!scrollRef.current) return++ const { scrollTop, scrollHeight, clientHeight } = scrollRef.current+ const isAtBottom = Math.ceil(scrollTop + clientHeight + offset) >= scrollHeight+ setShowGradient(!isAtBottom)+ }, [scrollRef, offset])++ useEffect(() => {+ const container = scrollRef.current+ if (!container) return++ container.addEventListener('scroll', handleScroll)+ handleScroll() // Check initial position++ return () => container.removeEventListener('scroll', handleScroll)+ }, [handleScroll])++ return (+ <AnimatePresence>+ {showGradient && (+ <motion.div+ initial={{ opacity: 0 }}+ animate={{ opacity: 1 }}+ exit={{ opacity: 0 }}+ transition={{ duration: 0.2 }}+ className={`absolute -top-24 left-0 right-0 h-24 bg-gradient-to-b from-transparent to-background-200 pointer-events-none ${className}`}+ />+ )}+ </AnimatePresence>+ )+}diff --git a/apps/studio/data/telemetry/send-event-mutation.ts b/apps/studio/data/telemetry/send-event-mutation.tsindex cdf9bcf2b95..c75ed581a45 100644--- a/apps/studio/data/telemetry/send-event-mutation.ts+++ b/apps/studio/data/telemetry/send-event-mutation.ts@@ -29,6 +29,10 @@ import {RealtimeInspectorCopyMessageClickedEvent,RealtimeInspectorFiltersAppliedEvent,RealtimeInspectorDatabaseRoleUpdatedEvent,+ ProjectCreationInitialStepPromptIntendedEvent,+ ProjectCreationInitialStepSubmittedEvent,+ ProjectCreationSecondStepPromptIntendedEvent,+ ProjectCreationSecondStepSubmittedEvent,AssistantPromptSubmittedEvent,AssistantDebugSubmittedEvent,AssistantSuggestionRunQueryClickedEvent,@@ -52,6 +56,10 @@ export type SendEventVariables =| FeaturePreviewsClickedEvent| FeaturePreviewEnabledEvent| FeaturePreviewDisabledEvent+ | ProjectCreationInitialStepPromptIntendedEvent+ | ProjectCreationInitialStepSubmittedEvent+ | ProjectCreationSecondStepPromptIntendedEvent+ | ProjectCreationSecondStepSubmittedEvent| RealtimeInspectorListenChannelClickedEvent| RealtimeInspectorBroadcastSentEvent| RealtimeInspectorMessageClickedEventdiff --git a/apps/studio/lib/constants/telemetry.ts b/apps/studio/lib/constants/telemetry.tsindex a1c0bc0e0ac..031464fbd50 100644--- a/apps/studio/lib/constants/telemetry.ts+++ b/apps/studio/lib/constants/telemetry.ts@@ -24,6 +24,11 @@ export enum TelemetryActions {FEATURE_PREVIEW_ENABLED = 'feature_preview_enabled',FEATURE_PREVIEW_DISABLED = 'feature_preview_disabled',+ PROJECT_CREATION_INITIAL_STEP_PROMPT_INTENDED = 'project_creation_initial_step_prompt_intended',+ PROJECT_CREATION_INITIAL_STEP_SUBMITTED = 'project_creation_initial_step_submitted',+ PROJECT_CREATION_SECOND_STEP_PROMPT_INTENDED = 'project_creation_second_step_prompt_intended',+ PROJECT_CREATION_SECOND_STEP_SUBMITTED = 'project_creation_second_step_submitted',+REALTIME_INSPECTOR_LISTEN_CHANNEL_CLICKED = 'realtime_inspector_listen_channel_clicked',REALTIME_INSPECTOR_BROADCAST_SENT = 'realtime_inspector_broadcast_sent',REALTIME_INSPECTOR_MESSAGE_CLICKED = 'realtime_inspector_message_clicked',@@ -238,6 +243,72 @@ export interface FeaturePreviewDisabledEvent {}}+/**+ * On the InitialStep.tsx screen, where user can chose to prompt, start blank or migrate, at least 5 characters were typed+ * in the prompt textarea indicating an intention to use the prompt.+ *+ * @group Events+ * @source studio+ * @page new/v2/{slug}+ */+export interface ProjectCreationInitialStepPromptIntendedEvent {+ action: TelemetryActions.PROJECT_CREATION_INITIAL_STEP_PROMPT_INTENDED+ /**+ * Is this a new prompt (e.g. when following the start blank route where no prompt has been filled in the InitialStep). In other+ * words, was this not just an edit. In this case, it should always be true.+ */+ properties: {+ isNewPrompt: boolean+ }+}++/**+ * First step of project creation was submitted, where the user writes a prompt or select to start blank or to migrate.+ *+ * @group Events+ * @source studio+ * @page new/v2/{slug}+ */+export interface ProjectCreationInitialStepSubmittedEvent {+ action: TelemetryActions.PROJECT_CREATION_INITIAL_STEP_SUBMITTED+ properties: {+ /**+ * Records what the user selected in the first step of project creation.+ */+ onboardingPath: 'use_prompt' | 'start_blank' | 'migrate'+ }+}++/**+ * After the InitialStep screen, at least 5 characters were typed in the prompt textarea indicating an intention to use the prompt.+ *+ * @group Events+ * @source studio+ * @page new/v2/{slug}+ */+export interface ProjectCreationSecondStepPromptIntendedEvent {+ action: TelemetryActions.PROJECT_CREATION_SECOND_STEP_PROMPT_INTENDED+ properties: {+ /**+ * Is this a new prompt (e.g. when following the start blank route where no prompt has been filled in the InitialStep). In other+ * words, was this not just an edit.+ */+ isNewPrompt: boolean+ }+}++/**+ * Second and final step of project creation was submitted. More precisely, right after the user clicks on "Create Project". To check,+ * if the project creation was successful, please refer to project_created event.+ *+ * @group Events+ * @source studio+ * @page new/v2/{slug}+ */+export interface ProjectCreationSecondStepSubmittedEvent {+ action: TelemetryActions.PROJECT_CREATION_SECOND_STEP_SUBMITTED+}+/*** After selecting channel, either "Listening to channel" or "Start listening" button was clicked.*diff --git a/apps/studio/middleware.ts b/apps/studio/middleware.tsindex b5179623c3f..b3ae6f5214d 100644--- a/apps/studio/middleware.ts+++ b/apps/studio/middleware.ts@@ -10,6 +10,7 @@ const HOSTED_SUPPORTED_API_URLS = ['/ai/sql/suggest','/ai/sql/generate-v2','/ai/sql/generate-v3',+ '/ai/onboarding/design','/ai/sql/complete','/ai/sql/title','/ai/sql/debug',diff --git a/apps/studio/package.json b/apps/studio/package.jsonindex 9803a11ce32..58b9c9637ba 100644--- a/apps/studio/package.json+++ b/apps/studio/package.json@@ -23,8 +23,10 @@"dependencies": {"@ai-sdk/openai": "^0.0.72","@dagrejs/dagre": "^1.0.4",+ "@electric-sql/pglite": "^0.2.15","@graphiql/react": "^0.19.4","@graphiql/toolkit": "^0.9.1",+ "@gregnr/postgres-meta": "^0.82.0-dev.2","@hcaptcha/react-hcaptcha": "^1.11.1","@headlessui/react": "^1.7.17","@heroicons/react": "^2.1.3",@@ -53,6 +55,7 @@"ai": "^3.4.33","ai-commands": "workspace:*","awesome-debounce-promise": "^2.1.0",+ "cobe": "^0.6.3","common": "workspace:*","common-tags": "^1.8.2","config": "workspace:*",diff --git a/apps/studio/pages/api/ai/onboarding/design.ts b/apps/studio/pages/api/ai/onboarding/design.tsnew file mode 100644index 00000000000..b39dbe88c8f--- /dev/null+++ b/apps/studio/pages/api/ai/onboarding/design.ts@@ -0,0 +1,99 @@+import { openai } from '@ai-sdk/openai'+import { streamText } from 'ai'+import { NextApiRequest, NextApiResponse } from 'next'+import { tool } from 'ai'+import { z } from 'zod'++const openAiKey = process.env.OPENAI_API_KEY++export const maxDuration = 30++const ServiceSchema = z.object({+ name: z.enum(['Auth', 'Storage', 'Database', 'Edge Function', 'Cron', 'Queues', 'Vector']),+ reason: z.string().describe("The reason why this service is needed for the user's use case"),+})++const getTools = () => {+ return {+ executeSql: tool({+ description: 'Save the generated database schema definition',+ parameters: z.object({+ sql: z.string().describe('The SQL schema definition'),+ }),+ }),++ reset: tool({+ description: 'Reset the database, services and start over',+ parameters: z.object({}),+ }),++ setServices: tool({+ description:+ 'Set the entire list of Supabase services needed for the project. Always include the full list',+ parameters: z.object({+ services: z+ .array(ServiceSchema)+ .describe('Array of services with reasons why they are needed'),+ }),+ }),++ setTitle: tool({+ description: "Set the project title based on the user's description",+ parameters: z.object({+ title: z.string().describe('The project title'),+ }),+ }),+ }+}++export default async function handler(req: NextApiRequest, res: NextApiResponse) {+ if (!openAiKey) {+ return res.status(400).json({+ error: 'No OPENAI_API_KEY set. Create this environment variable to use AI features.',+ })+ }++ const { method } = req++ switch (method) {+ case 'POST':+ return handlePost(req, res)+ default:+ res.setHeader('Allow', ['POST'])+ res.status(405).json({ data: null, error: { message: `Method ${method} Not Allowed` } })+ }+}++async function handlePost(req: NextApiRequest, res: NextApiResponse) {+ const { messages } = req.body++ const result = await streamText({+ model: openai('gpt-4o-mini'),+ maxSteps: 7,+ system: `+ You are a Supabase expert who helps people set up their Supabase project. You specializes in database schema design. You are to help the user design a database schema for their application but also suggest Supabase services they should use.++ When designing database schemas, follow these rules:+ - Generate the entire schema+ - For primary keys, always use "id bigint primary key generated always as identity" (not serial)+ - Prefer creating foreign key references in the create statement+ - Prefer 'text' over 'varchar'+ - Prefer 'timestamp with time zone' over 'date'+ - In Supabase, the auth schema already has a users table which is used to store users+ - Create a profiles table in the public schema where the primary id is uuid and references the auth.users schema instead of creating a users table+ - Always include appropriate indexes and foreign key constraints.++ Follow these rules:+ 1. Generate a database schema that meets the user's requirements by calling the executeSql tool. Make your best guess without needing to ask for more.+ 2. Set the services required for the user's use case by calling the setServices tool.+ 3. Set the project title by calling the setTitle tool.+ 4. Always respond with a short single paragraph of less than 80 words of what you changed and the current state of the schema.++ If user requests to reset the database, call the reset tool.+ `,+ messages,+ tools: getTools(),+ })++ result.pipeDataStreamToResponse(res)+}diff --git a/apps/studio/pages/new/[slug].tsx b/apps/studio/pages/new/[slug].tsxindex 8a66b06d515..95ec252499b 100644--- a/apps/studio/pages/new/[slug].tsx+++ b/apps/studio/pages/new/[slug].tsx@@ -147,6 +147,14 @@ const Wizard: NextPageWithLayout = () => {const { data: organizations, isSuccess: isOrganizationsSuccess } = useOrganizationsQuery()const currentOrg = organizations?.find((o: any) => o.slug === slug)+ // TODO: Remove this after project creation experiment+ const projectCreationExperimentGroup = useFlag<string>('projectCreationExperimentGroup')+ useEffect(() => {+ if (currentOrg && projectCreationExperimentGroup === 'group-b') {+ router.replace(`/new/v2/${currentOrg.slug}`)+ }+ }, [currentOrg, projectCreationExperimentGroup, router])+const { data: orgSubscription } = useOrgSubscriptionQuery({ orgSlug: slug })const isNotOnTeamOrEnterprisePlan = useMemo(@@ -370,6 +378,15 @@ const Wizard: NextPageWithLayout = () => {const additionalMonthlySpend =instanceSizeSpecs[instanceSize as DbInstanceSize]!.priceMonthly - availableComputeCredits+ // TODO: Remove this after project creation experiment as it delays rendering+ if (+ !currentOrg ||+ !projectCreationExperimentGroup ||+ projectCreationExperimentGroup === 'group-b'+ ) {+ return null+ }+return (<Form_Shadcn_ {...form}><form onSubmit={form.handleSubmit(onSubmit)}>diff --git a/apps/studio/pages/new/v2/[slug].tsx b/apps/studio/pages/new/v2/[slug].tsxnew file mode 100644index 00000000000..515c7a476b0--- /dev/null+++ b/apps/studio/pages/new/v2/[slug].tsx@@ -0,0 +1,1267 @@+import { zodResolver } from '@hookform/resolvers/zod'+import { PermissionAction } from '@supabase/shared-types/out/constants'+import { components } from 'api-types'+import { useParams } from 'common'+import { AnimatePresence, motion } from 'framer-motion'+import { debounce } from 'lodash'+import { ChevronRight, ExternalLink, Settings } from 'lucide-react'+import Link from 'next/link'+import { useRouter } from 'next/router'+import { useEffect, useMemo, useRef, useState } from 'react'+import { useForm } from 'react-hook-form'+import 'reactflow/dist/style.css'+import { toast } from 'sonner'+import { z } from 'zod'++import { PopoverSeparator } from '@ui/components/shadcn/ui/popover'+import {+ FreeProjectLimitWarning,+ NotOrganizationOwnerWarning,+} from 'components/interfaces/Organization/NewProject'+import { AdvancedConfiguration } from 'components/interfaces/ProjectCreation/AdvancedConfiguration'+import { InitialStep } from 'components/interfaces/ProjectCreation/InitialStep'+import {+ PostgresVersionSelector,+ extractPostgresVersionDetails,+} from 'components/interfaces/ProjectCreation/PostgresVersionSelector'+import { ProjectVisual } from 'components/interfaces/ProjectCreation/ProjectVisual'+import { RegionSelector } from 'components/interfaces/ProjectCreation/RegionSelector'+import { SchemaGenerator } from 'components/interfaces/ProjectCreation/SchemaGenerator'+import { SecurityOptions } from 'components/interfaces/ProjectCreation/SecurityOptions'+import { FeedbackDropdown } from 'components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown'+import HelpPopover from 'components/layouts/ProjectLayout/LayoutHeader/HelpPopover'+import DisabledWarningDueToIncident from 'components/ui/DisabledWarningDueToIncident'+import PartnerManagedResource from 'components/ui/PartnerManagedResource'+import PasswordStrengthBar from 'components/ui/PasswordStrengthBar'+import { ScrollGradient } from 'components/ui/ScrollGradient'+import { useAvailableOrioleImageVersion } from 'data/config/project-creation-postgres-versions-query'+import { useOverdueInvoicesQuery } from 'data/invoices/invoices-overdue-query'+import { useDefaultRegionQuery } from 'data/misc/get-default-region-query'+import { useFreeProjectLimitCheckQuery } from 'data/organizations/free-project-limit-check-query'+import { useOrganizationsQuery } from 'data/organizations/organizations-query'+import { instanceSizeSpecs } from 'data/projects/new-project.constants'+import {+ DbInstanceSize,+ ProjectCreateVariables,+ useProjectCreateMutation,+} from 'data/projects/project-create-mutation'+import { useProjectsQuery } from 'data/projects/projects-query'+import { useOrgSubscriptionQuery } from 'data/subscriptions/org-subscription-query'+import { useSendEventMutation } from 'data/telemetry/send-event-mutation'+import { useCheckPermissions } from 'hooks/misc/useCheckPermissions'+import { withAuth } from 'hooks/misc/withAuth'+import { useFlag } from 'hooks/ui/useFlag'+import { getCloudProviderArchitecture } from 'lib/cloudprovider-utils'+import {+ AWS_REGIONS_DEFAULT,+ BASE_PATH,+ DEFAULT_MINIMUM_PASSWORD_STRENGTH,+ DEFAULT_PROVIDER,+ FLY_REGIONS_DEFAULT,+ PROJECT_STATUS,+ PROVIDERS,+} from 'lib/constants'+import { TelemetryActions } from 'lib/constants/telemetry'+import passwordStrength from 'lib/password-strength'+import { generateStrongPassword } from 'lib/project'+import type { CloudProvider } from 'shared-data'+import { AWS_REGIONS, FLY_REGIONS } from 'shared-data'+import type { NextPageWithLayout } from 'types'+import {+ Badge,+ Button,+ FormControl_Shadcn_,+ FormField_Shadcn_,+ Form_Shadcn_,+ Input_Shadcn_,+ SelectContent_Shadcn_,+ SelectGroup_Shadcn_,+ SelectItem_Shadcn_,+ SelectTrigger_Shadcn_,+ SelectValue_Shadcn_,+ Select_Shadcn_,+ Table,+ TableBody,+ TableCell,+ TableHead,+ TableHeader,+ TableRow,+ cn,+} from 'ui'+import { Admonition } from 'ui-patterns/admonition'+import { Input } from 'ui-patterns/DataInputs/Input'+import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'+import { InfoTooltip } from 'ui-patterns/info-tooltip'++type DesiredInstanceSize = components['schemas']['DesiredInstanceSize']++const sizes: DesiredInstanceSize[] = [+ 'micro',+ 'small',+ 'medium',+ 'large',+ 'xlarge',+ '2xlarge',+ '4xlarge',+ '8xlarge',+ '12xlarge',+ '16xlarge',+]++const FormSchema = z.object({+ organization: z.string({+ required_error: 'Please select an organization',+ }),+ projectName: z+ .string()+ .min(1, 'Please enter a project name.') // Required field check+ .min(3, 'Project name must be at least 3 characters long.') // Minimum length check+ .max(64, 'Project name must be no longer than 64 characters.'), // Maximum length check+ postgresVersion: z.string({+ required_error: 'Please enter a Postgres version.',+ }),+ dbRegion: z.string({+ required_error: 'Please select a region.',+ }),+ cloudProvider: z.string({+ required_error: 'Please select a cloud provider.',+ }),+ dbPassStrength: z.number(),+ dbPass: z+ .string({+ required_error: 'Please enter a database password.',+ })+ .min(1, 'Password is required.'),+ instanceSize: z.string(),+ dataApi: z.boolean(),+ useApiSchema: z.boolean(),+ postgresVersionSelection: z.string(),+ useOrioleDb: z.boolean(),+ sql: z.string().optional(),+})++export type CreateProjectForm = z.infer<typeof FormSchema>++export const TABLE_NODE_WIDTH = 640+export const TABLE_NODE_ROW_HEIGHT = 80++interface SupabaseService {+ name: 'Auth' | 'Storage' | 'Database' | 'Edge Function' | 'Cron' | 'Queues' | 'Vector'+ reason: string+}++const WizardForm = () => {+ const router = useRouter()+ const { slug, projectName } = useParams()++ const [showAdvanced, setShowAdvanced] = useState<Boolean>(false)+ const [services, setServices] = useState<SupabaseService[]>([])+ const [sqlStatements, setSqlStatements] = useState<string[]>([])+ const [showVisual, setShowVisual] = useState(false)++ const [step, setStep] = useState(1)+ const [aiDescription, setAiDescription] = useState('')+ const [formTitle, setFormTitle] = useState('Create a new project')+ const [formDescription, setFormDescription] = useState(+ 'Get started by choosing how you want to create your project'+ )++ const projectCreationDisabled = useFlag('disableProjectCreationAndUpdate')+ const projectVersionSelectionDisabled = useFlag('disableProjectVersionSelection')+ const cloudProviderEnabled = useFlag('enableFlyCloudProvider')+ const allowOrioleDB = useFlag('allowOrioleDb')+ const { data: membersExceededLimit } = useFreeProjectLimitCheckQuery({ slug })++ const [passwordStrengthMessage, setPasswordStrengthMessage] = useState('')+ const [passwordStrengthWarning, setPasswordStrengthWarning] = useState('')++ const { data: organizations, isSuccess: isOrganizationsSuccess } = useOrganizationsQuery()+ const currentOrg = organizations?.find((o: any) => o.slug === slug)++ const { data: orgSubscription } = useOrgSubscriptionQuery({ orgSlug: slug })++ const { data: allOverdueInvoices } = useOverdueInvoicesQuery({+ enabled:+ orgSubscription !== undefined &&+ !['team', 'enterprise'].includes(orgSubscription?.plan.id ?? ''),+ })+ const overdueInvoices = (allOverdueInvoices ?? []).filter(+ (x) => x.organization_id === currentOrg?.id+ )+ const hasOutstandingInvoices = overdueInvoices.length > 0++ const { data: allProjects } = useProjectsQuery({})+ const organizationProjects =+ allProjects?.filter(+ (project) =>+ project.organization_id === currentOrg?.id && project.status !== PROJECT_STATUS.INACTIVE+ ) ?? []+ const { data: defaultRegion, error: defaultRegionError } = useDefaultRegionQuery(+ {+ cloudProvider: PROVIDERS[DEFAULT_PROVIDER].id,+ },+ {+ refetchOnMount: false,+ refetchOnWindowFocus: false,+ refetchInterval: false,+ }+ )++ const {+ mutate: createProject,+ isLoading: isCreatingNewProject,+ isSuccess: isSuccessNewProject,+ } = useProjectCreateMutation({+ onSuccess: (res) => {+ router.push(`/project/${res.ref}/building`)+ },+ })++ const { mutate: sendEvent } = useSendEventMutation()++ const isAdmin = useCheckPermissions(PermissionAction.CREATE, 'projects')+ const isInvalidSlug = isOrganizationsSuccess && currentOrg === undefined+ const isEmptyOrganizations = (organizations?.length ?? 0) <= 0 && isOrganizationsSuccess+ const hasMembersExceedingFreeTierLimit = (membersExceededLimit || []).length > 0++ const showNonProdFields = process.env.NEXT_PUBLIC_ENVIRONMENT !== 'prod'++ const freePlanWithExceedingLimits =+ orgSubscription?.plan?.id === 'free' && hasMembersExceedingFreeTierLimit++ const isManagedByVercel = currentOrg?.managed_by === 'vercel-marketplace'++ const canCreateProject =+ isAdmin && !freePlanWithExceedingLimits && !isManagedByVercel && !hasOutstandingInvoices++ const delayedCheckPasswordStrength = useRef(+ debounce((value) => checkPasswordStrength(value), 300)+ ).current++ async function checkPasswordStrength(value: any) {+ const { message, warning, strength } = await passwordStrength(value)++ form.setValue('dbPassStrength', strength)+ form.trigger('dbPassStrength')+ form.trigger('dbPass')++ setPasswordStrengthWarning(warning)+ setPasswordStrengthMessage(message)+ }++ FormSchema.superRefine(({ dbPassStrength }, refinementContext) => {+ if (dbPassStrength < DEFAULT_MINIMUM_PASSWORD_STRENGTH) {+ refinementContext.addIssue({+ code: z.ZodIssueCode.custom,+ path: ['dbPass'],+ message: passwordStrengthWarning || 'Password not secure enough',+ })+ }+ })++ const form = useForm<z.infer<typeof FormSchema>>({+ resolver: zodResolver(FormSchema),+ mode: 'onChange',+ defaultValues: {+ organization: slug,+ projectName: projectName || '',+ postgresVersion: '',+ cloudProvider: PROVIDERS[DEFAULT_PROVIDER].id,+ dbPass: '',+ dbPassStrength: 0,+ dbRegion: defaultRegion || undefined,+ instanceSize: sizes[0],+ dataApi: true,+ useApiSchema: false,+ postgresVersionSelection: '',+ useOrioleDb: false,+ sql: '',+ },+ })++ const { instanceSize, cloudProvider, dbRegion, organization } = form.watch()++ const availableOrioleVersion = useAvailableOrioleImageVersion({+ cloudProvider: cloudProvider as CloudProvider,+ dbRegion,+ organizationSlug: organization,+ })++ // [kevin] This will eventually all be provided by a new API endpoint to preview and validate project creation, this is just for kaizen now+ const monthlyComputeCosts =+ // current project costs+ organizationProjects.reduce(+ (prev, acc) => prev + monthlyInstancePrice(acc.infra_compute_size),+ 0+ ) ++ // selected compute size+ monthlyInstancePrice(instanceSize) -+ // compute credits+ 10++ // [Refactor] DB Password could be a common component used in multiple pages with repeated logic+ function generatePassword() {+ const password = generateStrongPassword()+ form.setValue('dbPass', password)+ delayedCheckPasswordStrength(password)+ }++ const onSubmit = async (values: z.infer<typeof FormSchema>) => {+ // too important to cause disruption here, make sure to catch and skip any errors+ try {+ sendEvent({+ action: TelemetryActions.PROJECT_CREATION_SECOND_STEP_SUBMITTED,+ })+ } catch (error) {}++ if (!currentOrg) return console.error('Unable to retrieve current organization')++ const {+ cloudProvider,+ projectName,+ dbPass,+ dbRegion,+ postgresVersion,+ instanceSize,+ dataApi,+ useApiSchema,+ postgresVersionSelection,+ useOrioleDb,+ sql,+ } = values++ if (useOrioleDb && !availableOrioleVersion) {+ return toast.error('No available OrioleDB image found, only Postgres is available')+ }++ const { postgresEngine, releaseChannel } =+ extractPostgresVersionDetails(postgresVersionSelection)++ const data: ProjectCreateVariables = {+ cloudProvider: cloudProvider,+ organizationId: currentOrg.id,+ name: projectName,+ dbPass: dbPass,+ dbRegion: dbRegion,+ // gets ignored due to org billing subscription anyway+ dbPricingTierId: 'tier_free',+ dbSql: sql,+ // only set the compute size on pro+ plans. Free plans always use micro (nano in the future) size.+ dbInstanceSize:+ orgSubscription?.plan.id === 'free' ? undefined : (instanceSize as DesiredInstanceSize),+ dataApiExposedSchemas: !dataApi ? [] : undefined,+ dataApiUseApiSchema: !dataApi ? false : useApiSchema,+ postgresEngine: useOrioleDb ? availableOrioleVersion?.postgres_engine : postgresEngine,+ releaseChannel: useOrioleDb ? availableOrioleVersion?.release_channel : releaseChannel,+ }++ if (postgresVersion) {+ if (!postgresVersion.match(/1[2-9]\..*/)) {+ toast.error(+ `Invalid Postgres version, should start with a number between 12-19, a dot and additional characters, i.e. 15.2 or 15.2.0-3`+ )+ }++ data['customSupabaseRequest'] = {+ ami: { search_tags: { 'tag:postgresVersion': postgresVersion } },+ }+ }++ createProject(data)+ }++ useEffect(() => {+ // Handle no org: redirect to new org route+ if (isEmptyOrganizations) {+ router.push(`/new`)+ }+ }, [isEmptyOrganizations, router])++ useEffect(() => {+ // [Joshen] Cause slug depends on router which doesnt load immediately on render+ // While the form data does load immediately+ if (slug) form.setValue('organization', slug)+ if (projectName) form.setValue('projectName', projectName || '')+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [slug])++ useEffect(() => {+ // Redirect to first org if the slug doesn't match an org slug+ // this is mainly to capture the /new/new-project url, which is redirected from database.new+ if (isInvalidSlug && isOrganizationsSuccess && (organizations?.length ?? 0) > 0) {+ router.push(`/new/${organizations?.[0].slug}`)+ }+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [isInvalidSlug, isOrganizationsSuccess, organizations])++ useEffect(() => {+ if (form.getValues('dbRegion') === undefined && defaultRegion) {+ form.setValue('dbRegion', defaultRegion)+ }+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [defaultRegion])++ useEffect(() => {+ if (defaultRegionError) {+ form.setValue('dbRegion', PROVIDERS[DEFAULT_PROVIDER].default_region.displayName)+ }+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [defaultRegionError])++ useEffect(() => {+ if (step === 1) {+ handleReset()+ }+ }, [step])++ const handleReset = () => {+ setSqlStatements([])+ setServices([])+ }++ const availableComputeCredits = organizationProjects.length === 0 ? 10 : 0++ const additionalMonthlySpend =+ instanceSizeSpecs[instanceSize as DbInstanceSize]!.priceMonthly - availableComputeCredits++ const selectedRegionObject = useMemo((): {+ name: string+ location: { latitude: number; longitude: number }+ code: string+ displayName: string+ } | null => {+ const dbRegion = form.getValues('dbRegion')+ const awsRegion = Object.entries(AWS_REGIONS).find(+ ([_, region]) => region.displayName === dbRegion+ )+ const flyRegion = Object.entries(FLY_REGIONS).find(+ ([_, region]) => region.displayName === dbRegion+ )++ const region = awsRegion || flyRegion+ if (region) {+ const [name, details] = region+ return {+ name,+ location: {+ latitude: details.location[0],+ longitude: details.location[1],+ },+ code: details.code,+ displayName: details.displayName,+ }+ }++ return null+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [form.getValues('dbRegion')])++ const projectCreateBlocked =+ projectCreationDisabled ||+ !isAdmin ||+ freePlanWithExceedingLimits ||+ isManagedByVercel ||+ hasOutstandingInvoices++ // set sql fields anytime the sqlStatements array changes+ useEffect(() => {+ form.setValue('sql', sqlStatements.join('\n\n'))+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [sqlStatements])++ const scrollRef = useRef<HTMLDivElement>(null)++ return (+ <div className="flex flex-col h-screen overflow-hidden">+ <div className="border-b p-3 border-default flex-0">+ <div className="Breadcrumbs flex justify-between">+ <div className="flex items-center text-sm">+ <div className="flex items-center space-x-2">+ <Link href="/projects">+ <img+ src={`${BASE_PATH}/img/supabase-logo.svg`}+ alt="Supabase"+ className="rounded border p-1 hover:border-white border-default"+ style={{ height: 24 }}+ />+ </Link>+ <ChevronRight size="18" className="text-foreground-light" strokeWidth={1} />+ <Button+ type="text"+ onClick={() => {+ handleReset()+ setStep(1)+ }}+ className={`text-sm ${step === 1 ? 'text-foreground' : 'text-foreground-light'}`}+ >+ Create a new project+ </Button>+ <ChevronRight size="18" className="text-foreground-light" strokeWidth={1} />+ <p className={`text-sm ${step !== 2 ? 'text-foreground-light' : ''}`}>+ Configure your database+ </p>+ </div>+ </div>+ <div className="flex">{/* The End */}</div>+ <div className="flex items-center space-x-2">+ <HelpPopover />+ <FeedbackDropdown />+ </div>+ </div>+ </div>+ <div+ ref={scrollRef}+ className="flex flex-1 lg:flex-row flex-col items-start w-full overflow-auto"+ >+ <div className="w-full min-h-full lg:max-w-[600px] relative p-16 lg:p-24 lg:pr-0 lg:flex lg:items-center">+ <AnimatePresence mode="wait">+ <motion.div+ key={step}+ initial={{ opacity: 0, scale: 1.02 }}+ animate={{ opacity: 1, scale: 1 }}+ exit={{ opacity: 0, scale: 0.98 }}+ transition={{ duration: 0.3 }}+ >+ {step === 1 ? (+ <InitialStep+ onSqlGenerated={(sql) => {+ setSqlStatements((prev) => [...prev, sql])+ }}+ onServicesUpdated={setServices}+ onTitleUpdated={(title) => {+ if (!form.getValues('projectName')) {+ form.setValue('projectName', title)+ }+ }}+ onSubmit={(value) => {+ setAiDescription(value)+ setFormTitle('Create a project')+ setFormDescription(+ 'We have generated a starting schema for you based on your description'+ )+ sendEvent({+ action: TelemetryActions.PROJECT_CREATION_INITIAL_STEP_SUBMITTED,+ properties: { onboardingPath: 'use_prompt' },+ })+ setStep(2)+ }}+ onStartBlank={() => {+ setFormTitle('Start from Scratch')+ setFormDescription('Configure your new blank project')+ sendEvent({+ action: TelemetryActions.PROJECT_CREATION_INITIAL_STEP_SUBMITTED,+ properties: { onboardingPath: 'start_blank' },+ })+ setStep(2)+ }}+ onMigrate={() => {+ setFormTitle('Migrate Existing Database')+ setFormDescription(+ 'First we need to create a new project to migrate your database to'+ )+ sendEvent({+ action: TelemetryActions.PROJECT_CREATION_INITIAL_STEP_SUBMITTED,+ properties: { onboardingPath: 'migrate' },+ })+ setStep(2)+ }}+ />+ ) : (+ <Form_Shadcn_ {...form}>+ <form+ id="project-create-form"+ onSubmit={form.handleSubmit(onSubmit)}+ className="w-full"+ >+ <section className="relative">+ <div>+ <div className="mb-2">+ <h3>{formTitle}</h3>+ <p className="text-sm text-foreground-lighter">{formDescription}</p>+ </div>+ <>+ <div className="">+ <div className="">+ <div className="py-5 grid grid-cols-2 gap-2">+ <FormField_Shadcn_+ control={form.control}+ name="organization"+ render={({ field }) => (+ <FormItemLayout label="Organization">+ {(organizations?.length ?? 0) > 0 && (+ <Select_Shadcn_+ onValueChange={(slug) => {+ field.onChange(slug)+ router.push(`/new/v2/${slug}`)+ }}+ defaultValue={field.value}+ >+ <FormControl_Shadcn_>+ <SelectTrigger_Shadcn_>+ <SelectValue_Shadcn_ placeholder="Select an organization" />+ </SelectTrigger_Shadcn_>+ </FormControl_Shadcn_>+ <SelectContent_Shadcn_>+ <SelectGroup_Shadcn_>+ {organizations?.map((x: any) => (+ <SelectItem_Shadcn_ key={x.id} value={x.slug}>+ {x.name}+ </SelectItem_Shadcn_>+ ))}+ </SelectGroup_Shadcn_>+ </SelectContent_Shadcn_>+ </Select_Shadcn_>+ )}+ </FormItemLayout>+ )}+ />+ <div>+ <FormField_Shadcn_+ control={form.control}+ name="projectName"+ render={({ field }) => (+ <FormItemLayout label="Project name">+ <FormControl_Shadcn_>+ <Input_Shadcn_+ autoFocus+ placeholder="Project name"+ {...field}+ onChange={(event) => {+ field.onChange(event.target.value.replace(/\./g, ''))+ }}+ />+ </FormControl_Shadcn_>+ </FormItemLayout>+ )}+ />+ </div>+ </div>+ {projectCreationDisabled ? (+ <div className="pb-8">+ <DisabledWarningDueToIncident title="Project creation is currently disabled" />+ </div>+ ) : !isAdmin ? (+ <div className="pb-5 -mt-5">+ <NotOrganizationOwnerWarning />+ </div>+ ) : freePlanWithExceedingLimits ? (+ isAdmin &&+ slug && (+ <div className="py-5 -mt-5">+ <FreeProjectLimitWarning+ membersExceededLimit={membersExceededLimit || []}+ orgSlug={slug}+ />+ </div>+ )+ ) : isManagedByVercel ? (+ <div className="py-5 -mt-5">+ <PartnerManagedResource+ partner="vercel-marketplace"+ resource="Projects"+ cta={{+ installationId: currentOrg?.partner_id,+ message: 'Visit Vercel to create a project',+ }}+ />+ </div>+ ) : (+ hasOutstandingInvoices && (+ <div className="py-5 -mt-5">+ <Admonition+ type="default"+ title="Your organization has overdue invoices"+ description={+ <div className="space-y-3">+ <p className="text-sm leading-normal">+ Please resolve all outstanding invoices first before+ creating a new project+ </p>++ <div>+ <Button asChild type="default">+ <Link href={`/org/${slug}/invoices`}>+ View invoices+ </Link>+ </Button>+ </div>+ </div>+ }+ />+ </div>+ )+ )}+ <div+ className={+ projectCreateBlocked ? 'opacity-25 pointer-events-none' : ''+ }+ >+ <div className="py-5 border-b border-t">+ <FormField_Shadcn_+ control={form.control}+ name="dbRegion"+ render={({ field }) => (+ <RegionSelector+ layout="vertical"+ field={field}+ form={form}+ cloudProvider={+ form.getValues('cloudProvider') as CloudProvider+ }+ />+ )}+ />+ </div>+ <div className="py-5">+ <FormField_Shadcn_+ control={form.control}+ name="dbPass"+ render={({ field }) => (+ <FormItemLayout+ label="Database Password"+ description={+ <PasswordStrengthBar+ passwordStrengthScore={form.getValues('dbPassStrength')}+ password={field.value}+ passwordStrengthMessage={passwordStrengthMessage}+ generateStrongPassword={generatePassword}+ />+ }+ >+ <FormControl_Shadcn_>+ <Input+ copy={field.value.length > 0}+ type="password"+ placeholder="Type in a strong password"+ {...field}+ autoComplete="off"+ onChange={async (event) => {+ field.onChange(event)+ form.trigger('dbPassStrength')+ const value = event.target.value+ if (event.target.value === '') {+ await form.setValue('dbPassStrength', 0)+ await form.trigger('dbPass')+ } else {+ await delayedCheckPasswordStrength(value)+ }+ }}+ />+ </FormControl_Shadcn_>+ </FormItemLayout>+ )}+ />+ </div>+ <div className="py-5 border-t border-b">+ <FormItemLayout>+ <SchemaGenerator+ step="second"+ onReset={handleReset}+ onSqlGenerated={(sql) => {+ setSqlStatements((prev) => [...prev, sql])+ }}+ onServicesUpdated={setServices}+ onTitleUpdated={(title) => {+ if (!form.getValues('projectName')) {+ form.setValue('projectName', title)+ }+ }}+ />+ </FormItemLayout>+ {sqlStatements.length > 0 && (+ <Button+ type="default"+ className="w-full mt-2 lg:hidden"+ onClick={() => setShowVisual(!showVisual)}+ >+ View the schema+ </Button>+ )}+ </div>+ {orgSubscription?.plan && orgSubscription?.plan.id !== 'free' && (+ <div className="py-5 border-b">+ <FormField_Shadcn_+ control={form.control}+ name="instanceSize"+ render={({ field }) => (+ <FormItemLayout+ label={+ <div className="flex gap-4 w-full justify-between group:block">+ <span className="flex-1">Compute Size</span>+ </div>+ }+ description={+ <div className="flex flex gap-2">+ <Link+ target="_blank"+ rel="noopener noreferrer"+ href="https://supabase.com/docs/guides/platform/compute-add-ons"+ >+ <div className="flex items-center space-x-2 opacity-75 hover:opacity-100 transition">+ <p className="text-sm m-0">Compute Add-Ons</p>+ <ExternalLink size={16} strokeWidth={1.5} />+ </div>+ </Link>+ <Link+ target="_blank"+ rel="noopener noreferrer"+ href="https://supabase.com/docs/guides/platform/org-based-billing#billing-for-compute-compute-hours"+ >+ <div className="flex items-center space-x-2 opacity-75 hover:opacity-100 transition">+ <p className="text-sm m-0">Compute Billing</p>+ <ExternalLink size={16} strokeWidth={1.5} />+ </div>+ </Link>+ </div>+ }+ >+ <Select_Shadcn_+ value={field.value}+ onValueChange={(value) => field.onChange(value)}+ >+ <SelectTrigger_Shadcn_ className="[&_.instance-details]:hidden">+ <SelectValue_Shadcn_ placeholder="Select a compute size" />+ </SelectTrigger_Shadcn_>+ <SelectContent_Shadcn_>+ <SelectGroup_Shadcn_>+ {sizes+ .filter((option) =>+ instanceSizeSpecs[+ option+ ].cloud_providers.includes(+ form.getValues(+ 'cloudProvider'+ ) as CloudProvider+ )+ )+ .map((option) => {+ return (+ <SelectItem_Shadcn_+ key={option}+ value={option}+ >+ <div className="flex flex-row i gap-2">+ <div className="text-center w-[80px]">+ <Badge+ variant={+ option === 'micro'+ ? 'default'+ : 'brand'+ }+ className="rounded-md w-16 text-center flex justify-center font-mono uppercase"+ >+ {instanceSizeSpecs[option].label}+ </Badge>+ </div>+ <div className="text-sm">+ <span className="text-foreground">+ {instanceSizeSpecs[option].ram} RAM /{' '}+ {instanceSizeSpecs[option].cpu}{' '}+ {getCloudProviderArchitecture(+ form.getValues(+ 'cloudProvider'+ ) as CloudProvider+ )}{' '}+ CPU+ </span>+ <p className="text-xs text-muted instance-details">+ $+ {+ instanceSizeSpecs[option]+ .priceHourly+ }+ /hour (~$+ {+ instanceSizeSpecs[option]+ .priceMonthly+ }+ /month)+ </p>+ </div>+ </div>+ </SelectItem_Shadcn_>+ )+ })}+ </SelectGroup_Shadcn_>+ </SelectContent_Shadcn_>+ </Select_Shadcn_>+ </FormItemLayout>+ )}+ />++ <FormItemLayout>+ <div className="flex justify-between mr-2 mt-4">+ <span>Additional Monthly Compute Costs</span>+ <div className="text-brand flex gap-1 items-center">+ {organizationProjects.length > 0 ? (+ <>+ <span>${additionalMonthlySpend}</span>+ </>+ ) : (+ <>+ <span className="text-foreground-lighter line-through">+ $+ {+ instanceSizeSpecs[instanceSize as DbInstanceSize]!+ .priceMonthly+ }+ </span>+ <span>${additionalMonthlySpend}</span>+ </>+ )}+ <InfoTooltip side="top" className="max-w-[450px] p-0">+ <Table className="mt-2">+ <TableHeader className="[&_th]:h-7">+ <TableRow className="py-2">+ <TableHead className="w-[170px]">+ Project+ </TableHead>+ <TableHead>Compute Size</TableHead>+ <TableHead className="text-right">+ Monthly Costs+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody className="[&_td]:py-2">+ {organizationProjects.map((project) => (+ <TableRow+ key={project.ref}+ className="text-foreground-light"+ >+ <TableCell className="w-[170px] truncate">+ {project.name}+ </TableCell>+ <TableCell className="text-center">+ {instanceLabel(project.infra_compute_size)}+ </TableCell>+ <TableCell className="text-right">+ $+ {monthlyInstancePrice(+ project.infra_compute_size+ )}+ </TableCell>+ </TableRow>+ ))}++ <TableRow>+ <TableCell className="w-[170px] flex gap-2">+ <span className="truncate">+ {form.getValues('projectName')+ ? form.getValues('projectName')+ : 'New project'}+ </span>+ <Badge size={'small'} variant={'default'}>+ NEW+ </Badge>+ </TableCell>+ <TableCell className="text-center">+ {instanceLabel(instanceSize)}+ </TableCell>+ <TableCell className="text-right">+ ${monthlyInstancePrice(instanceSize)}+ </TableCell>+ </TableRow>+ </TableBody>+ </Table>+ <PopoverSeparator />+ <Table>+ <TableHeader className="[&_th]:h-7">+ <TableRow>+ <TableHead colSpan={2}>Compute Credits</TableHead>+ <TableHead colSpan={1} className="text-right">+ -$10+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody className="[&_td]:py-2">+ <TableRow className="text-foreground">+ <TableCell colSpan={2}>+ Total Monthly Compute Costs+ {/**+ * API currently doesnt output replica information on the projects list endpoint. Until then, we cannot correctly calculate the costs including RRs.+ *+ * Will be adjusted in the future [kevin]+ */}+ {organizationProjects.length > 0 && (+ <p className="text-xs text-foreground-lighter">+ Excluding Read replicas+ </p>+ )}+ </TableCell>+ <TableCell colSpan={1} className="text-right">+ ${monthlyComputeCosts}+ </TableCell>+ </TableRow>+ </TableBody>+ </Table>++ <div className="p-4 text-xs text-foreground-light space-y-1">+ <p>+ Compute is charged usage-based whenever your billing+ cycle resets. Given compute charges are hourly, your+ invoice will contain "Compute Hours" for each hour a+ project ran on a specific compute size.+ </p>+ {monthlyComputeCosts > 0 && (+ <p>+ Compute costs are applied on top of your+ subscription plan costs.+ </p>+ )}+ </div>+ </InfoTooltip>+ </div>+ </div>++ <div className="mt-2 text-foreground-lighter space-y-1">+ {additionalMonthlySpend > 0 &&+ availableComputeCredits === 0 ? (+ <p>+ Your monthly spend will increase, and can be more than+ above if you exceed your plan's usage quota. Your+ organization includes $10/month of compute credits,+ which you already exceed with your existing projects.+ </p>+ ) : additionalMonthlySpend > 0 &&+ availableComputeCredits > 0 ? (+ <p>+ Your monthly spend will increase, and can be more than+ above if you exceed your plan's usage quota. Your+ organization includes $10/month of compute credits,+ which you exceed with the selected compute size.+ </p>+ ) : (+ <p>+ Your monthly spend won't increase, unless you exceed+ your plan's usage quota. Your organization includes+ $10/month of compute credits, which cover this project.+ </p>+ )}+ </div>+ </FormItemLayout>+ </div>+ )}+ <div>+ {!showAdvanced && (+ <Button+ onClick={() => setShowAdvanced(true)}+ icon={<Settings size={16} />}+ type="outline"+ className="w-full mb-2 mt-4"+ >+ Advanced Configuration+ </Button>+ )}+ <div className={cn(showAdvanced ? 'block' : 'hidden')}>+ {cloudProviderEnabled && showNonProdFields && (+ <div className="py-5 border-b">+ <FormField_Shadcn_+ control={form.control}+ name="cloudProvider"+ render={({ field }) => (+ <FormItemLayout label="Cloud provider">+ <Select_Shadcn_+ onValueChange={(value) => {+ field.onChange(value)+ form.setValue(+ 'dbRegion',+ value === 'FLY'+ ? FLY_REGIONS_DEFAULT.displayName+ : AWS_REGIONS_DEFAULT.displayName+ )+ }}+ defaultValue={field.value}+ >+ <FormControl_Shadcn_>+ <SelectTrigger_Shadcn_>+ <SelectValue_Shadcn_ placeholder="Select a cloud provider" />+ </SelectTrigger_Shadcn_>+ </FormControl_Shadcn_>+ <SelectContent_Shadcn_>+ <SelectGroup_Shadcn_>+ {Object.values(PROVIDERS).map((providerObj) => {+ const label = providerObj['name']+ const value = providerObj['id']+ return (+ <SelectItem_Shadcn_+ key={value}+ value={value}+ >+ {label}+ </SelectItem_Shadcn_>+ )+ })}+ </SelectGroup_Shadcn_>+ </SelectContent_Shadcn_>+ </Select_Shadcn_>+ </FormItemLayout>+ )}+ />+ </div>+ )}++ {!projectVersionSelectionDisabled && (+ <div className="py-5 border-b">+ <FormField_Shadcn_+ control={form.control}+ name="postgresVersionSelection"+ render={({ field }) => (+ <PostgresVersionSelector+ layout="vertical"+ field={field}+ form={form}+ cloudProvider={+ form.getValues('cloudProvider') as CloudProvider+ }+ organizationSlug={slug}+ dbRegion={form.getValues('dbRegion')}+ />+ )}+ />+ </div>+ )}++ {showNonProdFields && (+ <div className="py-5 border-b">+ <FormField_Shadcn_+ control={form.control}+ name="postgresVersion"+ render={({ field }) => (+ <FormItemLayout+ label="Custom Postgres version"+ description="Specify a custom version of Postgres (Defaults to the latest). This is only applicable for local/staging projects"+ >+ <FormControl_Shadcn_>+ <Input_Shadcn_+ placeholder="Postgres version"+ {...field}+ autoComplete="off"+ />+ </FormControl_Shadcn_>+ </FormItemLayout>+ )}+ />+ </div>+ )}+ <div className="py-4 border-b mb-4">+ <SecurityOptions+ layout="vertical"+ collapsible={false}+ form={form}+ />+ </div>+ {allowOrioleDB && !!availableOrioleVersion && (+ <div className="py-4 border-b mb-4">+ <AdvancedConfiguration+ layout="vertical"+ collapsible={false}+ form={form}+ />+ </div>+ )}+ </div>+ </div>+ </div>+ <div className="sticky bottom-0 z-20 bg-background-200 pb-6">+ <ScrollGradient offset={60} scrollRef={scrollRef} />+ <Button+ form="project-create-form"+ htmlType="submit"+ size="large"+ loading={isCreatingNewProject}+ disabled={isCreatingNewProject || projectCreateBlocked}+ className="w-full"+ >+ {isCreatingNewProject ? 'Creating project...' : 'Create project'}+ </Button>+ </div>+ </div>+ </div>+ </>+ </div>+ </section>+ </form>+ </Form_Shadcn_>+ )}+ </motion.div>+ </AnimatePresence>+ </div>++ <section+ className={cn(+ 'bg-background-200 lg:bg-transparent lg:z-10 lg:flex-1 flex-0 shrink-0 w-full overflow-hidden h-full',+ // Mobile styles+ 'lg:sticky lg:top-0', // Always relative on desktop+ showVisual ? 'fixed inset-0 z-40' : 'hidden lg:block' // Toggle visibility on mobile+ )}+ >+ <ProjectVisual+ showInfo={step === 2}+ sqlStatements={sqlStatements}+ services={services}+ selectedRegion={selectedRegionObject}+ projectDetails={{+ dbRegion: form.getValues('dbRegion'),+ cloudProvider: form.getValues('cloudProvider'),+ postgresVersion: form.getValues('postgresVersionSelection'),+ }}+ />++ {/* Add close button when showing visual on mobile */}+ {showVisual && (+ <Button+ type="default"+ className="absolute top-4 left-4 lg:hidden"+ onClick={() => setShowVisual(false)}+ >+ Back+ </Button>+ )}+ </section>+ </div>+ </div>+ )+}++/**+ * When launching new projects, they only get assigned a compute size once successfully launched,+ * this might assume wrong compute size, but only for projects being rapidly launched after one another on non-default compute sizes.+ *+ * Needs to be in the API in the future [kevin]+ */+const monthlyInstancePrice = (instance: string | undefined): number => {+ return instanceSizeSpecs[instance as DbInstanceSize]?.priceMonthly || 10+}++const instanceLabel = (instance: string | undefined): string => {+ return instanceSizeSpecs[instance as DbInstanceSize]?.label || 'Micro'+}++const Wizard: NextPageWithLayout = () => {+ const { slug, projectName } = useParams()++ const { data: organizations, isSuccess: isOrganizationsSuccess } = useOrganizationsQuery()+ const currentOrg = organizations?.find((o: any) => o.slug === slug)++ const { data: membersExceededLimit, isLoading: isLoadingFreeProjectLimitCheck } =+ useFreeProjectLimitCheckQuery({ slug })++ if (!isOrganizationsSuccess || isLoadingFreeProjectLimitCheck) return null++ return (+ <>+ <AnimatePresence mode="wait">+ <motion.div+ initial={{ opacity: 0, scale: 1.02 }}+ animate={{ opacity: 1, scale: 1 }}+ exit={{ opacity: 0, scale: 0.98 }}+ transition={{ duration: 0.3 }}+ >+ <WizardForm />+ </motion.div>+ </AnimatePresence>+ </>+ )+}++export default withAuth(Wizard)diff --git a/apps/studio/tsconfig.json b/apps/studio/tsconfig.jsonindex 0d0e034b0da..d0e7c0c40fc 100644--- a/apps/studio/tsconfig.json+++ b/apps/studio/tsconfig.json@@ -9,7 +9,7 @@"noEmit": true,"esModuleInterop": true,"module": "esnext",- "moduleResolution": "node",+ "moduleResolution": "bundler","resolveJsonModule": true,"isolatedModules": true,"jsx": "preserve",diff --git a/packages/shared-data/regions.ts b/packages/shared-data/regions.tsindex 06f6b0fe27a..f92b7afa5fe 100644--- a/packages/shared-data/regions.ts+++ b/packages/shared-data/regions.ts@@ -2,26 +2,78 @@ export type CloudProvider = 'FLY' | 'AWS'export type Region = typeof AWS_REGIONS | typeof FLY_REGIONSexport const AWS_REGIONS = {- WEST_US: { code: 'us-west-1', displayName: 'West US (North California)' },- EAST_US: { code: 'us-east-1', displayName: 'East US (North Virginia)' },- EAST_US_2: { code: 'us-east-2', displayName: 'East US (Ohio)' },- CENTRAL_CANADA: { code: 'ca-central-1', displayName: 'Canada (Central)' },- WEST_EU: { code: 'eu-west-1', displayName: 'West EU (Ireland)' },- WEST_EU_2: { code: 'eu-west-2', displayName: 'West Europe (London)' },- WEST_EU_3: { code: 'eu-west-3', displayName: 'West EU (Paris)' },- CENTRAL_EU: { code: 'eu-central-1', displayName: 'Central EU (Frankfurt)' },- CENTRAL_EU_2: { code: 'eu-central-2', displayName: 'Central Europe (Zurich)' },- NORTH_EU: { code: 'eu-north-1', displayName: 'North EU (Stockholm)' },- SOUTH_ASIA: { code: 'ap-south-1', displayName: 'South Asia (Mumbai)' },- SOUTHEAST_ASIA: { code: 'ap-southeast-1', displayName: 'Southeast Asia (Singapore)' },- NORTHEAST_ASIA: { code: 'ap-northeast-1', displayName: 'Northeast Asia (Tokyo)' },- NORTHEAST_ASIA_2: { code: 'ap-northeast-2', displayName: 'Northeast Asia (Seoul)' },- OCEANIA: { code: 'ap-southeast-2', displayName: 'Oceania (Sydney)' },- SOUTH_AMERICA: { code: 'sa-east-1', displayName: 'South America (São Paulo)' },+ WEST_US: {+ code: 'us-west-1',+ displayName: 'West US (North California)',+ location: [37.774929, -122.419418],+ },+ EAST_US: {+ code: 'us-east-1',+ displayName: 'East US (North Virginia)',+ location: [37.926868, -78.024902],+ },+ EAST_US_2: { code: 'us-east-2', displayName: 'East US (Ohio)', location: [39.9612, -82.9988] },+ CENTRAL_CANADA: {+ code: 'ca-central-1',+ displayName: 'Canada (Central)',+ location: [56.130367, -106.346771],+ },+ WEST_EU: { code: 'eu-west-1', displayName: 'West EU (Ireland)', location: [53.3498, -6.2603] },+ WEST_EU_2: {+ code: 'eu-west-2',+ displayName: 'West Europe (London)',+ location: [51.507351, -0.127758],+ },+ WEST_EU_3: { code: 'eu-west-3', displayName: 'West EU (Paris)', location: [2.352222, 48.856613] },+ CENTRAL_EU: {+ code: 'eu-central-1',+ displayName: 'Central EU (Frankfurt)',+ location: [50.110924, 8.682127],+ },+ CENTRAL_EU_2: {+ code: 'eu-central-2',+ displayName: 'Central Europe (Zurich)',+ location: [47.3744489, 8.5410422],+ },+ NORTH_EU: {+ code: 'eu-north-1',+ displayName: 'North EU (Stockholm)',+ location: [59.3251172, 18.0710935],+ },+ SOUTH_ASIA: {+ code: 'ap-south-1',+ displayName: 'South Asia (Mumbai)',+ location: [18.9733536, 72.8281049],+ },+ SOUTHEAST_ASIA: {+ code: 'ap-southeast-1',+ displayName: 'Southeast Asia (Singapore)',+ location: [1.357107, 103.8194992],+ },+ NORTHEAST_ASIA: {+ code: 'ap-northeast-1',+ displayName: 'Northeast Asia (Tokyo)',+ location: [35.6895, 139.6917],+ },+ NORTHEAST_ASIA_2: {+ code: 'ap-northeast-2',+ displayName: 'Northeast Asia (Seoul)',+ location: [37.5665, 126.978],+ },+ OCEANIA: {+ code: 'ap-southeast-2',+ displayName: 'Oceania (Sydney)',+ location: [-33.8688, 151.2093],+ },+ SOUTH_AMERICA: {+ code: 'sa-east-1',+ displayName: 'South America (São Paulo)',+ location: [-1.2043218, -47.1583944],+ },} as constexport type AWS_REGIONS_KEYS = keyof typeof AWS_REGIONSexport const FLY_REGIONS = {- SOUTHEAST_ASIA: { code: 'sin', displayName: 'Singapore' },+ SOUTHEAST_ASIA: { code: 'sin', displayName: 'Singapore', location: [1.3521, 103.8198] },} as constdiff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 9d4957b36be..4f986f58a21 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -55,7 +55,7 @@ importers:version: 3.3.1([email protected]([email protected]))contentlayer2:specifier: 0.4.6eslint-config-supabase:specifier: workspace:*version: link:../../packages/eslint-config-supabase@@ -79,7 +79,7 @@ importers:version: 14.2.21(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])next-contentlayer2:specifier: 0.4.6- version: 0.4.6([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 0.4.6([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])next-themes:specifier: ^0.3.0@@ -173,7 +173,7 @@ importers:version: 1.6.0tailwindcss:specifier: ^3.3.0- version: 3.4.1tsconfig:specifier: workspace:*version: link:../../packages/tsconfig@@ -230,7 +230,7 @@ importers:version: 2.44.3'@tailwindcss/container-queries':specifier: ^0.1.1- version: 0.1.1([email protected])'@tanstack/react-query':specifier: ^5.13.4version: 5.13.4([email protected])@@ -514,12 +514,18 @@ importers:'@dagrejs/dagre':specifier: ^1.0.4version: 1.0.4+ '@electric-sql/pglite':+ specifier: ^0.2.15+ version: 0.2.15'@graphiql/react':specifier: ^0.19.4version: 0.19.4(@codemirror/[email protected])(@types/[email protected])(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])'@graphiql/toolkit':specifier: ^0.9.1+ '@gregnr/postgres-meta':+ specifier: ^0.82.0-dev.2+ version: 0.82.0-dev.2([email protected])([email protected])'@hcaptcha/react-hcaptcha':specifier: ^1.11.1@@ -591,19 +597,22 @@ importers:version: 2.6.0([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])'@vitejs/plugin-react':specifier: ^4.2.1- version: 4.2.1([email protected])([email protected](@types/[email protected])([email protected])([email protected]))+ version: 4.2.1([email protected])([email protected](@types/[email protected])([email protected])([email protected]))'@zip.js/zip.js':specifier: ^2.7.29version: 2.7.30ai:specifier: ^3.4.33- version: 3.4.33([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 3.4.33([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])ai-commands:specifier: workspace:*version: link:../../packages/ai-commandsawesome-debounce-promise:specifier: ^2.1.0version: 2.1.0+ cobe:+ specifier: ^0.6.3+ version: 0.6.3common:specifier: workspace:*version: link:../../packages/common@@ -816,7 +825,7 @@ importers:version: 1.12.0(@types/[email protected])([email protected])vite-tsconfig-paths:specifier: ^4.3.2- version: 4.3.2([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected]))+ version: 4.3.2([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected]))vitest:specifier: ^1.6.0version: 1.6.0(@types/[email protected])(@vitest/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])@@ -850,7 +859,7 @@ importers:version: 9.3.4'@testing-library/jest-dom':specifier: ^6.4.6- version: 6.4.6(@jest/[email protected]([email protected]))(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])(@vitest/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))+ version: 6.4.6(@jest/[email protected]([email protected]))(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])))([email protected](@types/[email protected])(@vitest/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))'@testing-library/react':specifier: ^14.0.0@@ -967,7 +976,7 @@ importers:version: 3.2.4tailwindcss:specifier: ^3.4.1- version: 3.4.1typescript:specifier: ~5.5.0version: 5.5.2@@ -988,7 +997,7 @@ importers:version: 14.2.3'@next/mdx':specifier: ^14.2.3- version: 14.2.3(@mdx-js/[email protected]([email protected])([email protected]([email protected])))(@mdx-js/[email protected]([email protected]))+ version: 14.2.3(@mdx-js/[email protected]([email protected])([email protected]([email protected])))(@mdx-js/[email protected]([email protected]))'@octokit/auth-app':specifier: ^6.0.3version: 6.0.3@@ -1039,7 +1048,7 @@ importers:version: link:../../packages/configcontentlayer2:specifier: 0.5.3dayjs:specifier: ^1.11.12version: 1.11.13@@ -1072,7 +1081,7 @@ importers:version: 14.2.21(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])next-contentlayer2:specifier: 0.5.3- version: 0.5.3([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 0.5.3([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])next-mdx-remote:specifier: ^4.4.1@@ -1232,7 +1241,7 @@ importers:version: 2.44.3ai:specifier: ^3.4.33- version: 3.4.33([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])+ version: 3.4.33([email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])common-tags:specifier: ^1.8.2version: 1.8.2@@ -1375,16 +1384,16 @@ importers:dependencies:'@mertasan/tailwindcss-variables':specifier: ^2.2.3'@radix-ui/colors':specifier: ^0.1.8version: 0.1.9'@tailwindcss/forms':specifier: ^0.5.0- version: 0.5.6([email protected])'@tailwindcss/typography':specifier: ^0.5.9- version: 0.5.10([email protected])+ version: 0.5.10([email protected]([email protected](@types/[email protected])([email protected])))deepmerge:specifier: ^4.2.2version: 4.3.1@@ -1397,10 +1406,10 @@ importers:devDependencies:tailwindcss:specifier: ^3.4.1- version: 3.4.1tailwindcss-animate:specifier: ^1.0.6- version: 1.0.7([email protected])packages/eslint-config-supabase:dependencies:@@ -1562,10 +1571,10 @@ importers:version: 1.0.7(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@tailwindcss/forms':specifier: ^0.5.0- version: 0.5.6([email protected])'@tailwindcss/typography':specifier: ^0.5.9- version: 0.5.10([email protected])+ version: 0.5.10([email protected]([email protected](@types/[email protected])([email protected])))autoprefixer:specifier: ^10.4.14version: 10.4.16([email protected])@@ -1688,10 +1697,10 @@ importers:version: 1.14.0tailwindcss:specifier: ^3.4.1- version: 3.4.1tailwindcss-animate:specifier: ^1.0.6- version: 1.0.7([email protected])tailwindcss-radix:specifier: ^2.0.0version: 2.8.0@@ -2182,10 +2191,18 @@ packages:resolution: {integrity: sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==}engines: {node: '>=6.9.0'}@@ -2203,6 +2220,11 @@ packages:engines: {node: '>=6.0.0'}hasBin: true+ '@babel/[email protected]':+ resolution: {integrity: sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==}+ engines: {node: '>=6.0.0'}+ hasBin: true+'@babel/[email protected]':resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==}peerDependencies:@@ -2304,6 +2326,10 @@ packages:resolution: {integrity: sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==}+ engines: {node: '>=6.9.0'}+'@bcoe/[email protected]':resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}@@ -2395,6 +2421,10 @@ packages:'@effect-ts/otel-node':optional: true+ '@cspotcode/[email protected]':+ resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}+ engines: {node: '>=12'}+'@ctrl/[email protected]':resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==}engines: {node: '>=10'}@@ -2433,6 +2463,9 @@ packages:'@effect-ts/[email protected]':resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==}+ '@electric-sql/[email protected]':+ resolution: {integrity: sha512-Jiq31Dnk+rg8rMhcSxs4lQvHTyizNo5b269c1gCC3ldQ0sCLrNVPGzy+KnmonKy1ZArTUuXZf23/UamzFMKVaA==}+'@emnapi/[email protected]':resolution: {integrity: sha512-Q5sMc4Z4gsD4tlmlyFu+MpNAwpR7Gv2errDhVJ+SOhNjWcx8UTqy+hswb8L31RfC8jBvDgcnT87l3xI2w08rAg==}@@ -2468,6 +2501,12 @@ packages:cpu: [ppc64]os: [aix]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==}+ engines: {node: '>=12'}+ cpu: [ppc64]+ os: [aix]+'@esbuild/[email protected]':resolution: {integrity: sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==}engines: {node: '>=12'}@@ -2480,6 +2519,12 @@ packages:cpu: [arm64]os: [android]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [android]+'@esbuild/[email protected]':resolution: {integrity: sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==}engines: {node: '>=12'}@@ -2492,6 +2537,12 @@ packages:cpu: [arm]os: [android]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==}+ engines: {node: '>=12'}+ cpu: [arm]+ os: [android]+'@esbuild/[email protected]':resolution: {integrity: sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==}engines: {node: '>=12'}@@ -2504,6 +2555,12 @@ packages:cpu: [x64]os: [android]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [android]+'@esbuild/[email protected]':resolution: {integrity: sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==}engines: {node: '>=12'}@@ -2516,6 +2573,12 @@ packages:cpu: [arm64]os: [darwin]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [darwin]+'@esbuild/[email protected]':resolution: {integrity: sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==}engines: {node: '>=12'}@@ -2528,6 +2591,12 @@ packages:cpu: [x64]os: [darwin]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [darwin]+'@esbuild/[email protected]':resolution: {integrity: sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==}engines: {node: '>=12'}@@ -2540,6 +2609,12 @@ packages:cpu: [arm64]os: [freebsd]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [freebsd]+'@esbuild/[email protected]':resolution: {integrity: sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==}engines: {node: '>=12'}@@ -2552,6 +2627,12 @@ packages:cpu: [x64]os: [freebsd]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [freebsd]+'@esbuild/[email protected]':resolution: {integrity: sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==}engines: {node: '>=12'}@@ -2564,6 +2645,12 @@ packages:cpu: [arm64]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==}engines: {node: '>=12'}@@ -2576,6 +2663,12 @@ packages:cpu: [arm]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==}+ engines: {node: '>=12'}+ cpu: [arm]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==}engines: {node: '>=12'}@@ -2588,6 +2681,12 @@ packages:cpu: [ia32]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==}+ engines: {node: '>=12'}+ cpu: [ia32]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==}engines: {node: '>=12'}@@ -2600,6 +2699,12 @@ packages:cpu: [loong64]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==}+ engines: {node: '>=12'}+ cpu: [loong64]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==}engines: {node: '>=12'}@@ -2612,6 +2717,12 @@ packages:cpu: [mips64el]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==}+ engines: {node: '>=12'}+ cpu: [mips64el]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==}engines: {node: '>=12'}@@ -2624,6 +2735,12 @@ packages:cpu: [ppc64]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==}+ engines: {node: '>=12'}+ cpu: [ppc64]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==}engines: {node: '>=12'}@@ -2636,6 +2753,12 @@ packages:cpu: [riscv64]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==}+ engines: {node: '>=12'}+ cpu: [riscv64]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==}engines: {node: '>=12'}@@ -2648,6 +2771,12 @@ packages:cpu: [s390x]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==}+ engines: {node: '>=12'}+ cpu: [s390x]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==}engines: {node: '>=12'}@@ -2660,6 +2789,12 @@ packages:cpu: [x64]os: [linux]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [linux]+'@esbuild/[email protected]':resolution: {integrity: sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==}engines: {node: '>=12'}@@ -2672,6 +2807,12 @@ packages:cpu: [x64]os: [netbsd]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [netbsd]+'@esbuild/[email protected]':resolution: {integrity: sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==}engines: {node: '>=12'}@@ -2684,6 +2825,12 @@ packages:cpu: [x64]os: [openbsd]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [openbsd]+'@esbuild/[email protected]':resolution: {integrity: sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==}engines: {node: '>=12'}@@ -2696,6 +2843,12 @@ packages:cpu: [x64]os: [sunos]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [sunos]+'@esbuild/[email protected]':resolution: {integrity: sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==}engines: {node: '>=12'}@@ -2708,6 +2861,12 @@ packages:cpu: [arm64]os: [win32]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [win32]+'@esbuild/[email protected]':resolution: {integrity: sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==}engines: {node: '>=12'}@@ -2720,6 +2879,12 @@ packages:cpu: [ia32]os: [win32]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==}+ engines: {node: '>=12'}+ cpu: [ia32]+ os: [win32]+'@esbuild/[email protected]':resolution: {integrity: sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==}engines: {node: '>=12'}@@ -2732,6 +2897,12 @@ packages:cpu: [x64]os: [win32]+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [win32]+'@eslint-community/[email protected]':resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -2756,10 +2927,33 @@ packages:'@fal-works/[email protected]':resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==}+ '@fastify/[email protected]':+ resolution: {integrity: sha512-LwdXQJjmMD+GwLOkP7TVC68qa+pSSogeWWmznRJ/coyTcfe9qA05AHFSe1eZFwK6q+xVRpChnvFUkf1iYaSZsQ==}+'@fastify/[email protected]':resolution: {integrity: sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==}engines: {node: '>=14'}+ '@fastify/[email protected]':+ resolution: {integrity: sha512-YY9Ho3ovI+QHIL2hW+9X4XqQjXLjJqsU+sMV/xFsxZkE8p3GNnYVFpoOxF7SsP5ZL76gwvbo3V9L+FIekBGU4Q==}++ '@fastify/[email protected]':+ resolution: {integrity: sha512-wWSvph+29GR783IhmvdwWnN4bUxTD01Vm5Xad4i7i1VuAOItLvbPAb69sb0IQ2N57yprvhNIwAP5B6xfKTmjmQ==}++ '@fastify/[email protected]':+ resolution: {integrity: sha512-aZAXGYo6m22Fk1zZzEUKBvut/CIIQe/BapEORnxiD5Qr0kPHqqI69NtEMCme74h+at72sPhbkb4ZrLd1W3KRLA==}++ '@fastify/[email protected]':+ resolution: {integrity: sha512-fERDVz7topgNjtXsJTTW1JKLy0rhuLRcquYqNR9rF7OcVpCa2OVW49ZPDIhaRRCaUuvVxI+N416xUoF76HNSXA==}++ '@fastify/[email protected]':+ resolution: {integrity: sha512-zy+HEEKFqPMS2sFUsQU5X0MHplhKJvWeohBwTCkBAJA/GDYGLGUWQaETEhptiqxK7Hs0fQB9B4MDb3pbwIiCwA==}++ '@fastify/[email protected]':+ resolution: {integrity: sha512-HTeOLvirfGg0u1KGao3iXn5rZpYNqlrOmyDnXSXAbWVPa+mDQTTBNs/x5uZzOB6vFAqr0Xcf7x1lxOamNSYKjw==}+ peerDependencies:+ '@sinclair/typebox': '>=0.26 <=0.32'+'@floating-ui/[email protected]':resolution: {integrity: sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==}@@ -2794,6 +2988,10 @@ packages:graphql-ws:optional: true+ '@gregnr/[email protected]':+ resolution: {integrity: sha512-RLCMcshNBZi1FBA60PfQTLCvfuYmNXVzRe147j5mlOIXvq+o9K/pJgm49GOEBBYfvH+bwcs3w/mBRCh7BNveng==}+ engines: {node: '>=20', npm: '>=9'}+'@grpc/[email protected]':resolution: {integrity: sha512-5tcgUctCG0qoNyfChZifz2tJqbRbXVO9J7X6duFcOjY3HUNCxg5D0ZCK7EP9vIcZ0zRpLU9bWkyCqVCLZ46IbQ==}engines: {node: '>=12.10.0'}@@ -2972,6 +3170,9 @@ packages:'@jridgewell/[email protected]':resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}+ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}+'@js-sdsl/[email protected]':resolution: {integrity: sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==}@@ -4723,6 +4924,9 @@ packages:'@sinclair/[email protected]':resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}+ '@sinclair/[email protected]':+ resolution: {integrity: sha512-/s55Jujywdw/Jpan+vsy6JZs1z2ZTGxTmbZTPiuSL2wz9mfzA2gN1zzaqmvfi4pq+uOt7Du85fkiwv5ymW84aQ==}+'@sinonjs/[email protected]':resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==}@@ -5102,6 +5306,18 @@ packages:'@ts-morph/[email protected]':resolution: {integrity: sha512-m7Lllj9n/S6sOkCkRftpM7L24uvmfXQFedlW/4hENcuJH1HHm9u5EgxZb9uVjQSCGrbBWBkOGgcTxNg36r6ywA==}+ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==}++ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==}++ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==}++ '@tsconfig/[email protected]':+ resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==}+'@tweenjs/[email protected]':resolution: {integrity: sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==}@@ -5646,37 +5862,34 @@ packages:'@vitest/[email protected]':resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==}- '@vue/[email protected]':- resolution: {integrity: sha512-+/Lf68Vr/nFBA6ol4xOtJrW+BQWv3QWKfRwGSm70jtXwfhZNF4R/eRgyVJYoxFRhdCTk/F6g99BP0ffPgZihfQ==}-- '@vue/[email protected]':- resolution: {integrity: sha512-nfWubTtLXuT4iBeDSZ5J3m218MjOy42Vp2pmKVuBKo2/BLcrFUX8nCSr/bKRFiJ32R8qbdnnnBgRn9AdU5v0Sg==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==}- '@vue/[email protected]':- resolution: {integrity: sha512-wy0CNc8z4ihoDzjASCOCsQuzW0A/HP27+0MDSSICMjVIFzk/rFViezkR3dzH+miS2NDEz8ywMdbjO5ylhOLI2A==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==}- '@vue/[email protected]':- resolution: {integrity: sha512-NO5oobAw78R0G4SODY5A502MGnDNiDjf6qvhn7zD7TJGc8XDeIEw4fg6JU705jZ/YhuokBKz0A5a/FL/XZU73g==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==}- '@vue/[email protected]':- resolution: {integrity: sha512-HnUFm7Ry6dFa4Lp63DAxTixUp8opMtQr6RxQCpDI1vlh12rkGIeYqMvJtK+IKyEfEOa2I9oCkD1mmsPdaGpdVg==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==}- '@vue/[email protected]':- resolution: {integrity: sha512-VmpIqlNp+aYDg2X0xQhJqHx9YguOmz2UxuUJDckBdQCNkipJvfk9yA75woLWElCa0Jtyec3lAAt49GO0izsphw==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg==}- '@vue/[email protected]':- resolution: {integrity: sha512-xxaG9KvPm3GTRuM4ZyU8Tc+pMVzcu6eeoSRQJ9IE7NmCcClW6z4B3Ij6L4EDl80sxe/arTtQ6YmgiO4UZqRc+w==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw==}- '@vue/[email protected]':- resolution: {integrity: sha512-e7LIfcxYSWbV6BK1wQv9qJyxprC75EvSqF/kQKe6bdZEDNValzeRXEVgiX7AHI6hZ59HA4h7WT5CGvm69vzJTQ==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog==}- '@vue/[email protected]':- resolution: {integrity: sha512-w0zT/s5l3Oa3ZjtLW88eO4uV6AQFqU8X5GOgzq7SkQQu6vVr+8tfm+OI2kDBplS/W/XgCBuFXiPw6T5EdwXP0A==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==}peerDependencies:- vue: 3.3.9+ vue: 3.5.13- '@vue/[email protected]':- resolution: {integrity: sha512-ZE0VTIR0LmYgeyhurPTpy4KzKsuDyQbMSdM49eKkMnT5X4VfFBLysMzjIZhLEFQYjjOVVfbvUDHckwjDFiO2eA==}+ '@vue/[email protected]':+ resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==}'@webassemblyjs/[email protected]':resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==}@@ -5754,6 +5967,9 @@ packages:resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}engines: {node: '>=6.5'}+ resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==}+resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==}@@ -5826,6 +6042,14 @@ packages:ajv:optional: true+ resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}+ peerDependencies:+ ajv: ^8.0.0+ peerDependenciesMeta:+ ajv:+ optional: true+resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}peerDependencies:@@ -5900,6 +6124,9 @@ packages:engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}deprecated: This package is no longer supported.+ resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}+resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}@@ -5985,6 +6212,10 @@ packages:resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}+ resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==}+ engines: {node: '>=8.0.0'}+resolution: {integrity: sha512-zQAFO1Dlsn69eXaO6+7YZc+v84aquQKbwpzCE3L0stj56ERn9hutFxPopViLjo9G+rWwjozRhgS5KJ25Xy19cQ==}@@ -5999,6 +6230,9 @@ packages:resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-CDSwaxINFy59iNwhYnkvALBwZiTydGkOecZyPkqBpABYR1KqGEsET0VOOYDwtleZSUIdeY36DC2bSZ24CO1igA==}+resolution: {integrity: sha512-0Dv4j2wKk5BrNZh4jgV2HUdznaeVgEK/WTvcHhZWUElhmQ1RR+iURRoLEwICFyR0S/5VtxfcvY6gR+qSe95jNg==}engines: {node: '>=8', npm: '>=5'}@@ -6078,6 +6312,9 @@ packages:resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}engines: {node: '>=8'}+ resolution: {integrity: sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==}+resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}@@ -6289,6 +6526,9 @@ packages:resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}engines: {node: '>=12'}+ resolution: {integrity: sha512-lvm0rmLIR5bNz4CRKW6YvCfn9Wg5Wb9A8PJ3Bb+hjyikgC1RO1W3J4z9rBXQYw97mAte7dNSQI8BmUsxdlXQyw==}+resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==}engines: {node: '>=6'}@@ -6484,6 +6724,9 @@ packages:engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}hasBin: true+ resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}+resolution: {integrity: sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q==}engines: {node: '>=12.0.0'}@@ -6500,6 +6743,9 @@ packages:resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}+resolution: {integrity: sha512-2EZLisiZQ+7m4wwur/qiYJRniHX4K5Tc9w93MT3AS0WS1u5kaZ4FKXlOTBhOjc+CgEgPiGY+fX1yWD8UwpEqUA==}@@ -6563,6 +6809,9 @@ packages:resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}+ resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}+resolution: {integrity: sha512-p6JFxJc3M4OTD2li2qaHkDCw9SfMw82Ldr6OC9Je1aXiGfhx2W8p3GaoeaGrPJTUN9NirTM/KTxHWMUdR1rsUg==}@@ -6793,6 +7042,10 @@ packages:resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==}engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}+ resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==}+ engines: {node: '>=0.3.1'}+resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==}engines: {node: '>=0.3.1'}@@ -6980,6 +7233,11 @@ packages:engines: {node: '>=12'}hasBin: true+ resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==}+ engines: {node: '>=12'}+ hasBin: true+resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==}engines: {node: '>=6'}@@ -7325,6 +7583,12 @@ packages:resolution: {integrity: sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA==}engines: {'0': node >=0.6.0}+ resolution: {integrity: sha512-fBHHqSTFLVnR61C+gltJuE5GkVQMV0S2nqUO8TJ+5Z3qAKG8vAx4FKai1s5jq/inV1+sREynIWSuQ6HgoSXpDQ==}++ resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==}+resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}@@ -7342,18 +7606,31 @@ packages:resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}+ resolution: {integrity: sha512-KAdnLvy1yu/XrRtP+LJnxbBGrhN+xXu+gt3EUvZhYGKCr3lFHq/7UFJHHFgmJKoqlh6B40bZLEv7w46B0mqn1g==}+resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}resolution: {integrity: sha512-8dbd3XWoKCTms18ize6JmQF1SFnnfj5s0B7rRry22EofgMu7B6LKHVh+XfFqFGsqnbH54xgeO83PzpKI+ODhlg==}+ resolution: {integrity: sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==}++ resolution: {integrity: sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==}resolution: {integrity: sha512-HPtaa38cPgWvaCFmRNhlc6NG7pv6NUHqjPgVAkWGoB9mQMwYB27/K0CvOM5Czy+qpT3e8XJ6Q4aPAnzpNpzNaw==}+ resolution: {integrity: sha512-ypuAmmMKInk5q7XcepxlnUWDLWv4GFtaJqAzWKqn62IpQ3pejtr5dTVbt3vwqVaMKmkNR55sTT+CqUKIaT21BA==}+resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==}hasBin: true@@ -7361,9 +7638,23 @@ packages:resolution: {integrity: sha512-bijHueCGd0LqqNK9b5oCMHc0MluJAx0cwqASgbWMvkO01lCYgIhacVRLcaDz3QnyYIRNJRDwMb41VuT6pHJ91Q==}+ resolution: {integrity: sha512-QIPncCnwBOEObMn+VaRhsBC1ox8qEsaiYF2sV/A1UbXj7ic70W8/HNn/hlEC2W8JQbBeZMx++o1um2fPfhsFDQ==}+ peerDependencies:+ fastify: '>=4'++ resolution: {integrity: sha512-stRHYGeuqpEZTL1Ef0Ovr2ltazUT9g844X5z/zEBFLG8RYlpDiOCIG+ATvYEp+/zmc7sN29mcIMp8gvYplYPIQ==}++ resolution: {integrity: sha512-MaaUHUGcCgC8fXQDsDtioaCcag1fmPJ9j64vAKunqZF4aSub040ZGi/ag8NGE2714yREPOKZuHCfpPzuUD3UQQ==}+resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==}+ resolution: {integrity: sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==}+resolution: {integrity: sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==}@@ -7401,6 +7692,10 @@ packages:resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}engines: {node: '>=8'}+ resolution: {integrity: sha512-Dobi7gcTEq8yszimcfp/R7+owiT4WncAJ7VTTgFH1jYJ5GaG1FbhjwDG820hptN0QDFvzVY3RfCzdInvGPGzjA==}+ engines: {node: '>=14'}+resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}engines: {node: '>=8'}@@ -7454,6 +7749,10 @@ packages:peerDependencies:react: '>=16.8.0'+ resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}+ engines: {node: '>= 0.6'}+resolution: {integrity: sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==}@@ -7979,6 +8278,10 @@ packages:resolution: {integrity: sha512-QziFxgxq3mjIf5CuwlzXFYscHxgLqdEdJKRo2UJ5GurL5zrSRMzT/O+nK0ABimoFH8MWF8YwIiwECYsHc1LpUQ==}+ resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==}@@ -8482,6 +8785,13 @@ packages:resolution: {integrity: sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw==}+ resolution: {integrity: sha512-EJAj1pgHc1hxF6vo2Z3s69fMjO1INq6eGHXZ8Z6wCQeldCuwxGK9Sxf4/cScGn3FZubCVUehfWtcDM/PLteCQw==}++ resolution: {integrity: sha512-pJ4XLQP4Q9HTxl6RVDLJ8Cyh1uitSs0CzDBAz1uoJ4sRD/Bk7cFSXL1FUXDW3zJ7YnfliJx6eu8Jn283bpZ4Yg==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}@@ -8525,6 +8835,10 @@ packages:resolution: {integrity: sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==}engines: {node: '>=12', npm: '>=6'}+ resolution: {integrity: sha512-9Ag50tKhpTwS6r5wh3MJSAvpSof0UBr39Pto8OnzFT32Z/pAbxAsKHzyvsyMEHVslELvHyO/4/jaQELHk8wDcw==}+ hasBin: true+resolution: {integrity: sha512-BtRwVKS+5dsgPpAtzJcpo5OoWjSs1/zllSBG0+8o8/aV0Ki76m6iZwHnwnsqoTdhfFZDN1XIdcaZr5ZkP+H2gg==}@@ -8586,6 +8900,9 @@ packages:resolution: {integrity: sha512-fBi14tsU3/ahtfU0C+/tvmtlt0EJM6kXe0Dl4/cSbiNmJ3IwLIuk3lawwiK5ByXU4sXwyAzbkvSl26jVXzYuaA==}+ resolution: {integrity: sha512-aORPWntbpH5esaYpGOOmri0OHDOe3wC5M2MQxZ9dvMLZm6DnaAn0kJlcbU9hwsQgLzmZyReKwFwwPkR+nHu5kA==}+resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}engines: {node: '>=10'}@@ -8769,6 +9086,9 @@ packages:resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==}engines: {node: '>=10'}+ resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}+resolution: {integrity: sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA==}engines: {node: ^16.14.0 || >=18.0.0}@@ -9326,6 +9646,9 @@ packages:resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==}+ resolution: {integrity: sha512-A/0v5Z59y63US00cRSLiloEIw3t5G+MiKz4BhX21FI+YBJXBOGW0ohFxTxO08dsOYlzxo87T7vGfZKYp2bcAWA==}+resolution: {integrity: sha512-NkJREyFTSUXR772Qaai51BnE1voWx56LOL80xG7qkZr6vo8vEaLF3sz1JNUVh+rxmUzxYaqOhfuxTfqUh0FXUg==}peerDependencies:@@ -9683,6 +10006,13 @@ packages:resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==}++ resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==}+ engines: {node: '>=14.0.0'}+resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}@@ -9942,6 +10272,9 @@ packages:resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==}+ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}+resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}engines: {node: '>=8.6'}@@ -9959,6 +10292,26 @@ packages:resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==}engines: {node: '>=4'}+ resolution: {integrity: sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==}++ resolution: {integrity: sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==}++ resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==}++ resolution: {integrity: sha512-e906FRY0+tV27iq4juKzSYPbUj2do2X2JX4EzSca1631EB2QJQUqGbDuERal7LCtOpxl6x3+nvo9NPZcmjkiFA==}++ resolution: {integrity: sha512-ip4qdzjkAyDDZklUaZkcRFb2iA118H9SgRh8yzTkSQK8HilsOJF7rSY8HoW5+I0M46AZgX/pxbprf2vvzQCE0Q==}+ hasBin: true++ resolution: {integrity: sha512-i85pKRCt4qMjZ1+L7sy2Ag4t1atFcdbEt76+7iRJn1g2BvsnRMGu9p8pivl9fs63M2kF/A0OacFZhTub+m/qMg==}+ hasBin: true+resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}engines: {node: '>= 6'}@@ -10051,6 +10404,10 @@ packages:resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==}engines: {node: ^10 || ^12 || >=14}+ resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==}+ engines: {node: ^10 || ^12 || >=14}+resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==}engines: {node: '>=4'}@@ -10084,6 +10441,12 @@ packages:peerDependencies:prettier: ^2.0.0+ resolution: {integrity: sha512-CR9UpTkUSC/f69AV597hnYcBo77iUhsBPkUER7BUa4YHRRtRUJGfL5LDoHAlUHWGTZNiJdHHELlzK6I3R9XuAw==}+ engines: {node: ^14.18.0 || >=16.0.0}+ peerDependencies:+ prettier: ^3.0.3+resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}engines: {node: '>=10.13.0'}@@ -10131,10 +10494,24 @@ packages:resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}+ resolution: {integrity: sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==}++ resolution: {integrity: sha512-/MyYDxttz7DfGMMHiysAsFE4qF+pQYAA8ziO/3NcRVrQ5fSk+Mns4QZA/oRPFzvcqNoVJXQNWNAsdwBXLUkQKw==}++ resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==}+ engines: {node: '>= 0.6.0'}+resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}engines: {node: '>=0.4.0'}+ resolution: {integrity: sha512-sF308EhTenb/pDRPakm+WgiN+VdM/T1RaHj1x+MvAuT8UiQP8JmOEbxVqtkbfR4LrvOg5n7ic01kRBDGXjYikA==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==}peerDependencies:@@ -10170,6 +10547,10 @@ packages:resolution: {integrity: sha512-YWD03n3shzV9ImZRX3ccbjqLxj7NokGN0V/ESiBV5xWqrommYHYiihuIyavq03pWSGqlyvYUFmfoMKd+1rPA/g==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-FD8KmQUQD6Mfpd0hywCOzcon/dbkFP8XBd9F1ycbKtvVsfv6TsFUKJ2eC0Iz2y+KzlkdT1Z8SY6ZSgm07zOyqg==}@@ -10195,6 +10576,9 @@ packages:resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+ resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==}+resolution: {integrity: sha512-tQkJl2GRWh83ui2DiPTJz9wEiMN20syf+5oKfB03yYP7ioZcJwsIK8FjrtLwH1m7C7e+Tt2yYBlrOpdT+dyeIQ==}@@ -10569,10 +10953,18 @@ packages:resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-cbAdYt0VcnpN2Bekq7PU+k363ZRsPwJoEEJOEtSJQlJXzwaxt3FIo/uL+KeDSGIjJqtkwyge4KQgD2S2kd+CQw==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}engines: {node: '>=8.10.0'}+ resolution: {integrity: sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==}+ engines: {node: '>= 12.13.0'}+resolution: {integrity: sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==}@@ -10771,6 +11163,10 @@ packages:resolution: {integrity: sha512-M0b3YWQs7R3Z917WRQy1HHA7Ba7D8hvZg6UE5mLykJxQVE2ju0IXbGlaHPPlkY+WN7wFP+wUMXmBFA0aV6vYGQ==}engines: {node: '>=4'}+ resolution: {integrity: sha512-0f4Memo5QP7WQyUEAYUO3esD/XjOc3Zjjg5CPsAq1p8sIu0XPeMbHJemKA0BO7tV0X7+A0FoEpbmHXWxPyD3wQ==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==}engines: {node: '>= 4'}@@ -10779,6 +11175,9 @@ packages:resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}engines: {iojs: '>=1.0.0', node: '>=0.10.0'}+ resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}+resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}deprecated: Rimraf versions prior to v4 are no longer supported@@ -10828,6 +11227,13 @@ packages:resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-RAAZAGbap2kBfbVhvmnTFv73NWLMvDGOITFYTZBAaY8eR+Ir4ef7Up/e7amo+y1+AH+3PtLkrt9mvcTsG9LXug==}++ resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}@@ -10887,6 +11293,9 @@ packages:resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}+ resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==}+resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}engines: {node: '>= 0.4'}@@ -11022,6 +11431,12 @@ packages:resolution: {integrity: sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==}engines: {node: '>= 10.0.0', npm: '>= 3.0.0'}+ resolution: {integrity: sha512-y4Z8LCDBuum+PBP3lSV7RHrXscqksve/bi0as7mhwVnBW+/wUqKT/2Kb7um8yqcFy0duYbbPxzt89Zy2nOCaxg==}++ resolution: {integrity: sha512-INb7TM37/mAcsGmc9hyyI6+QR3rR1zVRu36B0NeGXKnOOLiZOfER5SA+N7X7k3yUYRzLWafduTDvJAfDswwEww==}+resolution: {integrity: sha512-FBjhG/gnnbN6FY0jaNnqZOMmB73R+5IiyYAw8yBj7L54ER7HB3fOSE5OFiQiE2iXWxeXKvg6fIP4LtVppHEdJA==}peerDependencies:@@ -11036,6 +11451,10 @@ packages:resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==}@@ -11094,6 +11513,10 @@ packages:resolution: {integrity: sha512-/nZQXuN7KzipFNM20ko+dHY4kOr9rymSfZLUDED8rhx3m8OK5y74jcyN+y1L51ZqHqiB0kp40VdpZP99uWvQdA==}hasBin: true+ resolution: {integrity: sha512-VcHYMRvZqg3RNjjxNB/puT9O1hR5QLXTvgTaBtxXcvmRQwSnH9M+oW2Ti+uFuVVU8HoNlOjU2uKHv8c0FQNsdQ==}+ hasBin: true+resolution: {integrity: sha512-L/dqan+Hrt0PpPdCbHcI9bdfOvqaQZR7v5c5SWMJ3bUGQSezK09Mm9q2I3B4iObjaq7FyoldIM+fDSmfzGRXCA==}hasBin: true@@ -11398,6 +11821,9 @@ packages:resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==}engines: {node: '>=10'}+ resolution: {integrity: sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==}+resolution: {integrity: sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==}engines: {node: '>= 10.13.0'}@@ -11439,6 +11865,12 @@ packages:peerDependencies:tslib: ^2+ resolution: {integrity: sha512-qQiRWsU/wvNolI6tbbCKd9iKaTnCXsTwVxhhKM6nctPdujTyztjlbUkUTUymidWcMnZ5pWR0ej4a0tjsW021vw==}++ resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==}+resolution: {integrity: sha512-FQK+LEpYc0fBD+J8g6oSEyyNzjp+Q7Ks1C568WWaoMRLW+TkNNWmenWeGgJjV105Gd+p/2ql1ZcjYvNiPZBhuQ==}@@ -11515,6 +11947,10 @@ packages:resolution: {integrity: sha512-BxX8EkCxOAZe+D/ToHdDsJcVI4HqQfmw0tCkp31zf3dNP/XWIAjU4CmeuSwsSoOzOTqHPOL0KUzyZqJplkD0Qw==}+ resolution: {integrity: sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==}@@ -11573,6 +12009,20 @@ packages:resolution: {integrity: sha512-M9MqFGZREyeb5fTl6gNHKZLqBQA0TjA1lea+CR48R8EBTDuWrNqW6ccC5QvjNR4s6wDumD3LTCjOFSp9iwlzaw==}+ resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}+ hasBin: true+ peerDependencies:+ '@swc/core': '>=1.2.50'+ '@swc/wasm': '>=1.2.50'+ '@types/node': '*'+ typescript: '>=2.7'+ peerDependenciesMeta:+ '@swc/core':+ optional: true+ '@swc/wasm':+ optional: true+resolution: {integrity: sha512-i+owkHr5RYdQxj8olUgRrqpiWH9x27PuWVfXwDmJ/n/CoF/SAa7WW1i2oUpPDMQpJ4U+bGRUcZkVq7i1m3zFCg==}@@ -11932,6 +12382,9 @@ packages:engines: {node: '>=8'}hasBin: true+ resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}+resolution: {integrity: sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==}engines: {node: '>=10.12.0'}@@ -12037,6 +12490,37 @@ packages:terser:optional: true+ resolution: {integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==}+ engines: {node: ^18.0.0 || >=20.0.0}+ hasBin: true+ peerDependencies:+ '@types/node': ^18.0.0 || >=20.0.0+ less: '*'+ lightningcss: ^1.21.0+ sass: '*'+ sass-embedded: '*'+ stylus: '*'+ sugarss: '*'+ terser: ^5.4.0+ peerDependenciesMeta:+ '@types/node':+ optional: true+ less:+ optional: true+ lightningcss:+ optional: true+ sass:+ optional: true+ sass-embedded:+ optional: true+ stylus:+ optional: true+ sugarss:+ optional: true+ terser:+ optional: true+resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==}engines: {node: ^18.0.0 || >=20.0.0}@@ -12090,8 +12574,8 @@ packages:resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==}- resolution: {integrity: sha512-sy5sLCTR8m6tvUk1/ijri3Yqzgpdsmxgj6n6yl7GXXCXqVbmW2RCXe9atE4cEI6Iv7L89v5f35fZRRr5dChP9w==}+ resolution: {integrity: sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==}peerDependencies:typescript: '*'peerDependenciesMeta:@@ -12315,6 +12799,10 @@ packages:resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}engines: {node: '>=12'}+ resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}engines: {node: '>=10'}@@ -12445,13 +12933,13 @@ snapshots:optionalDependencies:zod: 3.23.8dependencies:'@ai-sdk/provider-utils': 1.0.22([email protected])'@ai-sdk/ui-utils': 0.0.50([email protected])- swrv: 1.0.4([email protected]([email protected]))+ swrv: 1.0.4([email protected]([email protected]))optionalDependencies:- vue: 3.3.9([email protected])+ vue: 3.5.13([email protected])transitivePeerDependencies:- zod@@ -12916,8 +13404,12 @@ snapshots:'@babel/[email protected]': {}+ '@babel/[email protected]': {}+'@babel/[email protected]': {}+ '@babel/[email protected]': {}+'@babel/[email protected]': {}'@babel/[email protected]':@@ -12930,12 +13422,16 @@ snapshots:'@babel/helper-validator-identifier': 7.24.7chalk: 2.4.2js-tokens: 4.0.0- picocolors: 1.0.1+ picocolors: 1.1.1'@babel/[email protected]':dependencies:'@babel/types': 7.24.7+ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.26.3+dependencies:'@babel/core': 7.24.7([email protected])@@ -13061,6 +13557,11 @@ snapshots:'@babel/helper-validator-identifier': 7.24.7to-fast-properties: 2.0.0+ '@babel/[email protected]':+ dependencies:+ '@babel/helper-string-parser': 7.25.9+ '@babel/helper-validator-identifier': 7.25.9+'@bcoe/[email protected]':optional: true@@ -13104,9 +13605,9 @@ snapshots:style-mod: 4.1.0w3c-keyname: 2.2.8dependencies:'@contentlayer2/utils': 0.4.3clipanion: 3.2.1([email protected])typanion: 3.14.0@@ -13116,9 +13617,9 @@ snapshots:- markdown-wasm- supports-colordependencies:'@contentlayer2/utils': 0.5.3clipanion: 3.2.1([email protected])typanion: 3.14.0@@ -13128,31 +13629,31 @@ snapshots:- markdown-wasm- supports-colordependencies:transitivePeerDependencies:- '@effect-ts/otel-node'- esbuild- markdown-wasm- supports-colordependencies:transitivePeerDependencies:- '@effect-ts/otel-node'- esbuild- markdown-wasm- supports-colordependencies:'@contentlayer2/utils': 0.4.3camel-case: 4.1.2comment-json: 4.2.3gray-matter: 4.0.3- mdx-bundler: 10.0.2([email protected])([email protected])+ mdx-bundler: 10.0.2([email protected])([email protected])rehype-stringify: 10.0.0remark-frontmatter: 5.0.0([email protected])remark-parse: 11.0.0([email protected])@@ -13161,19 +13662,19 @@ snapshots:type-fest: 4.30.0unified: 11.0.5optionalDependencies:- esbuild: 0.20.2+ esbuild: 0.21.5markdown-wasm: 1.2.0transitivePeerDependencies:- '@effect-ts/otel-node'- supports-colordependencies:'@contentlayer2/utils': 0.5.3camel-case: 4.1.2comment-json: 4.2.3gray-matter: 4.0.3- mdx-bundler: 10.0.2([email protected])([email protected])+ mdx-bundler: 10.0.2([email protected])([email protected])rehype-stringify: 10.0.0remark-frontmatter: 5.0.0([email protected])remark-parse: 11.0.0([email protected])@@ -13182,15 +13683,15 @@ snapshots:type-fest: 4.30.0unified: 11.0.5optionalDependencies:- esbuild: 0.20.2+ esbuild: 0.21.5markdown-wasm: 1.2.0transitivePeerDependencies:- '@effect-ts/otel-node'- supports-colordependencies:'@contentlayer2/utils': 0.4.3chokidar: 3.5.3fast-glob: 3.3.2@@ -13207,9 +13708,9 @@ snapshots:- markdown-wasm- supports-colordependencies:'@contentlayer2/utils': 0.5.3chokidar: 3.5.3fast-glob: 3.3.2@@ -13226,10 +13727,10 @@ snapshots:- markdown-wasm- supports-colordependencies:'@contentlayer2/utils': 0.4.3transitivePeerDependencies:- '@effect-ts/otel-node'@@ -13237,10 +13738,10 @@ snapshots:- markdown-wasm- supports-colordependencies:'@contentlayer2/utils': 0.5.3transitivePeerDependencies:- '@effect-ts/otel-node'@@ -13290,6 +13791,11 @@ snapshots:ts-pattern: 5.1.1type-fest: 4.30.0+ '@cspotcode/[email protected]':+ dependencies:+ '@jridgewell/trace-mapping': 0.3.9+ optional: true+'@ctrl/[email protected]': {}'@dagrejs/[email protected]':@@ -13322,6 +13828,8 @@ snapshots:'@effect-ts/[email protected]': {}+ '@electric-sql/[email protected]': {}+'@emnapi/[email protected]':dependencies:tslib: 2.6.2@@ -13342,11 +13850,11 @@ snapshots:'@emotion/[email protected]': {}dependencies:'@types/resolve': 1.20.6debug: 4.3.7([email protected])- esbuild: 0.20.2+ esbuild: 0.21.5escape-string-regexp: 4.0.0resolve: 1.22.8transitivePeerDependencies:@@ -13358,138 +13866,207 @@ snapshots:'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+'@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true+ '@esbuild/[email protected]':+ optional: true+dependencies:eslint: 8.57.0([email protected])@@ -13517,8 +14094,43 @@ snapshots:'@fal-works/[email protected]': {}+ '@fastify/[email protected]':+ dependencies:+ ajv: 8.12.0+ ajv-formats: 2.1.1([email protected])+ fast-uri: 2.4.0+'@fastify/[email protected]': {}+ '@fastify/[email protected]':+ dependencies:+ fastify-plugin: 4.5.1+ mnemonist: 0.39.6++ '@fastify/[email protected]': {}++ '@fastify/[email protected]':+ dependencies:+ fast-json-stringify: 5.16.1++ '@fastify/[email protected]':+ dependencies:+ fast-deep-equal: 3.1.3++ '@fastify/[email protected]([email protected])':+ dependencies:+ fastify-plugin: 4.5.1+ json-schema-resolver: 2.0.0([email protected])+ openapi-types: 12.1.3+ rfdc: 1.4.1+ yaml: 2.4.5+ transitivePeerDependencies:+ - supports-color++ '@fastify/[email protected](@sinclair/[email protected])':+ dependencies:+ '@sinclair/typebox': 0.31.28+'@floating-ui/[email protected]':dependencies:'@floating-ui/utils': 0.1.6@@ -13575,6 +14187,31 @@ snapshots:transitivePeerDependencies:- '@types/node'+ dependencies:+ '@fastify/cors': 9.0.1+ '@fastify/swagger': 8.15.0([email protected])+ '@fastify/type-provider-typebox': 3.6.0(@sinclair/[email protected])+ '@sinclair/typebox': 0.31.28+ close-with-grace: 1.3.0+ crypto-js: 4.2.0+ fastify: 4.29.0+ fastify-metrics: 10.6.0([email protected])+ pg: 8.11.3+ pg-connection-string: 2.6.2+ pg-format: 1.0.4+ pg-protocol: 1.6.0+ pgsql-parser: 13.5.0([email protected])([email protected])+ pino: 8.21.0+ postgres-array: 3.0.2+ prettier: 3.2.5+ prettier-plugin-sql: 0.17.1([email protected])+ transitivePeerDependencies:+ - bluebird+ - encoding+ - pg-native+ - supports-color+'@grpc/[email protected]':dependencies:'@grpc/proto-loader': 0.7.13@@ -13700,7 +14337,7 @@ snapshots:slash: 3.0.0optional: true- '@jest/[email protected]([email protected])':+ '@jest/[email protected]([email protected])([email protected](@types/[email protected])([email protected]))':dependencies:'@jest/console': 29.7.0'@jest/reporters': 29.7.0([email protected])@@ -13714,7 +14351,7 @@ snapshots:exit: 0.1.2graceful-fs: 4.2.11jest-changed-files: 29.7.0- jest-config: 29.7.0(@types/[email protected])([email protected])+ jest-config: 29.7.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))jest-haste-map: 29.7.0jest-message-util: 29.7.0jest-regex-util: 29.6.3@@ -13887,6 +14524,12 @@ snapshots:'@jridgewell/resolve-uri': 3.1.1'@jridgewell/sourcemap-codec': 1.5.0+ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/resolve-uri': 3.1.1+ '@jridgewell/sourcemap-codec': 1.5.0+ optional: true+'@js-sdsl/[email protected]': {}'@js-temporal/[email protected]':@@ -13943,21 +14586,21 @@ snapshots:- encoding- supports-colordependencies:'@mdx-js/mdx': 3.0.1([email protected])'@types/unist': 3.0.3- esbuild: 0.20.2+ esbuild: 0.21.5vfile: 6.0.3vfile-message: 4.0.2transitivePeerDependencies:- supports-colordependencies:'@mdx-js/mdx': 2.3.0([email protected])source-map: 0.7.4- webpack: 5.94.0([email protected])+ webpack: 5.94.0([email protected])transitivePeerDependencies:- supports-coloroptional: true@@ -14032,6 +14675,12 @@ snapshots:lodash: 4.17.21postcss: 8.4.38+ dependencies:+ autoprefixer: 10.4.16([email protected])+ lodash: 4.17.21+ postcss: 8.4.49+'@monaco-editor/[email protected]([email protected])':dependencies:monaco-editor: 0.33.0@@ -14103,11 +14752,11 @@ snapshots:dependencies:glob: 10.3.10- '@next/[email protected](@mdx-js/[email protected]([email protected])([email protected]([email protected])))(@mdx-js/[email protected]([email protected]))':+ '@next/[email protected](@mdx-js/[email protected]([email protected])([email protected]([email protected])))(@mdx-js/[email protected]([email protected]))':dependencies:source-map: 0.7.4optionalDependencies:'@mdx-js/react': 2.3.0([email protected])'@next/[email protected](@mdx-js/[email protected]([email protected])([email protected]))(@mdx-js/[email protected]([email protected]))':@@ -15997,6 +16646,8 @@ snapshots:'@sinclair/[email protected]': {}+ '@sinclair/[email protected]': {}+'@sinonjs/[email protected]':dependencies:type-detect: 4.0.8@@ -16366,22 +17017,35 @@ snapshots:'@swc/counter': 0.1.3tslib: 2.6.2- '@tailwindcss/[email protected]([email protected])':+ '@tailwindcss/[email protected]([email protected]([email protected](@types/[email protected])([email protected])))':+ dependencies:++ '@tailwindcss/[email protected]([email protected]([email protected](@types/[email protected])([email protected])))':dependencies:- tailwindcss: 3.4.1+ mini-svg-data-uri: 1.4.4- '@tailwindcss/[email protected]([email protected])':+ '@tailwindcss/[email protected]([email protected]([email protected](@types/[email protected])([email protected])))':dependencies:mini-svg-data-uri: 1.4.4- tailwindcss: 3.4.1- '@tailwindcss/[email protected]([email protected])':+ '@tailwindcss/[email protected]([email protected]([email protected](@types/[email protected])([email protected])))':dependencies:lodash.castarray: 4.4.0lodash.isplainobject: 4.0.6lodash.merge: 4.6.2postcss-selector-parser: 6.0.10- tailwindcss: 3.4.1++ '@tailwindcss/[email protected]([email protected]([email protected](@types/[email protected])([email protected])))':+ dependencies:+ lodash.castarray: 4.4.0+ lodash.isplainobject: 4.0.6+ lodash.merge: 4.6.2+ postcss-selector-parser: 6.0.10'@tanstack/[email protected]':dependencies:@@ -16435,7 +17099,7 @@ snapshots:lz-string: 1.5.0pretty-format: 27.5.1- '@testing-library/[email protected](@jest/[email protected]([email protected]))(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])(@vitest/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))':+ '@testing-library/[email protected](@jest/[email protected]([email protected]))(@types/[email protected])([email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])))([email protected](@types/[email protected])(@vitest/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))':dependencies:'@adobe/css-tools': 4.4.0'@babel/runtime': 7.24.7@@ -16448,7 +17112,7 @@ snapshots:optionalDependencies:'@jest/globals': 29.7.0([email protected])'@types/jest': 29.5.5- jest: 29.7.0(@types/[email protected])([email protected])+ jest: 29.7.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))vitest: 1.6.0(@types/[email protected])(@vitest/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])'@testing-library/[email protected](@jest/[email protected]([email protected]))(@types/[email protected])([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))':@@ -16464,7 +17128,7 @@ snapshots:optionalDependencies:'@jest/globals': 29.7.0([email protected])'@types/jest': 29.5.5- jest: 29.7.0(@types/[email protected])([email protected])+ jest: 29.7.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))vitest: 2.1.8(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])@@ -16522,6 +17186,18 @@ snapshots:mkdirp: 3.0.1path-browserify: 1.0.1+ '@tsconfig/[email protected]':+ optional: true++ '@tsconfig/[email protected]':+ optional: true++ '@tsconfig/[email protected]':+ optional: true++ '@tsconfig/[email protected]':+ optional: true+'@tweenjs/[email protected]': {}'@types/[email protected]':@@ -16579,7 +17255,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5'@types/[email protected]': {}@@ -16796,7 +17472,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5'@types/[email protected]': {}@@ -16832,15 +17508,15 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5form-data: 4.0.0'@types/[email protected]': {}@@ -16859,7 +17535,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5'@types/[email protected]': {}@@ -16869,7 +17545,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5pg-protocol: 1.6.0pg-types: 2.2.0@@ -16881,7 +17557,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5'@types/[email protected]':dependencies:@@ -17000,7 +17676,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 20.12.11+ '@types/node': 22.7.5'@types/[email protected]':optional: true@@ -17080,14 +17756,14 @@ snapshots:satori: 0.10.9yoga-wasm-web: 0.3.3- '@vitejs/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected]))':+ '@vitejs/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected]))':dependencies:'@babel/core': 7.24.7([email protected])'@babel/plugin-transform-react-jsx-self': 7.24.5(@babel/[email protected]([email protected]))'@babel/plugin-transform-react-jsx-source': 7.24.1(@babel/[email protected]([email protected]))'@types/babel__core': 7.20.5react-refresh: 0.14.2transitivePeerDependencies:- supports-color@@ -17172,66 +17848,59 @@ snapshots:loupe: 3.1.2tinyrainbow: 1.2.0- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@babel/parser': 7.24.7- '@vue/shared': 3.3.9+ '@babel/parser': 7.26.3+ '@vue/shared': 3.5.13+ entities: 4.5.0estree-walker: 2.0.2- source-map-js: 1.2.0+ source-map-js: 1.2.1- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/compiler-core': 3.3.9- '@vue/shared': 3.3.9+ '@vue/compiler-core': 3.5.13+ '@vue/shared': 3.5.13- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@babel/parser': 7.24.7- '@vue/compiler-core': 3.3.9- '@vue/compiler-dom': 3.3.9- '@vue/compiler-ssr': 3.3.9- '@vue/reactivity-transform': 3.3.9- '@vue/shared': 3.3.9+ '@babel/parser': 7.26.3+ '@vue/compiler-core': 3.5.13+ '@vue/compiler-dom': 3.5.13+ '@vue/compiler-ssr': 3.5.13+ '@vue/shared': 3.5.13estree-walker: 2.0.2magic-string: 0.30.12- postcss: 8.4.38- source-map-js: 1.2.0-- '@vue/[email protected]':- dependencies:- '@vue/compiler-dom': 3.3.9- '@vue/shared': 3.3.9+ postcss: 8.4.49+ source-map-js: 1.2.1- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@babel/parser': 7.24.7- '@vue/compiler-core': 3.3.9- '@vue/shared': 3.3.9- estree-walker: 2.0.2- magic-string: 0.30.12+ '@vue/compiler-dom': 3.5.13+ '@vue/shared': 3.5.13- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/shared': 3.3.9+ '@vue/shared': 3.5.13- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/reactivity': 3.3.9- '@vue/shared': 3.3.9+ '@vue/reactivity': 3.5.13+ '@vue/shared': 3.5.13- '@vue/[email protected]':+ '@vue/[email protected]':dependencies:- '@vue/runtime-core': 3.3.9- '@vue/shared': 3.3.9- csstype: 3.1.2+ '@vue/reactivity': 3.5.13+ '@vue/runtime-core': 3.5.13+ '@vue/shared': 3.5.13+ csstype: 3.1.3dependencies:- '@vue/compiler-ssr': 3.3.9- '@vue/shared': 3.3.9- vue: 3.3.9([email protected])+ '@vue/compiler-ssr': 3.5.13+ '@vue/shared': 3.5.13+ vue: 3.5.13([email protected])- '@vue/[email protected]': {}+ '@vue/[email protected]': {}'@webassemblyjs/[email protected]':dependencies:@@ -17330,6 +17999,8 @@ snapshots:dependencies:event-target-shim: 5.0.1+ [email protected]: {}+dependencies:acorn: 8.11.3@@ -17373,7 +18044,7 @@ snapshots:clean-stack: 2.2.0indent-string: 4.0.0- [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])([email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected]):dependencies:'@ai-sdk/provider': 0.0.26'@ai-sdk/provider-utils': 1.0.22([email protected])@@ -17381,7 +18052,7 @@ snapshots:'@ai-sdk/solid': 0.0.54([email protected])'@ai-sdk/svelte': 0.0.57([email protected])([email protected])'@ai-sdk/ui-utils': 0.0.50([email protected])'@opentelemetry/api': 1.9.0eventsource-parser: 1.1.2json-schema: 0.4.0@@ -17402,6 +18073,10 @@ snapshots:optionalDependencies:ajv: 8.12.0+ optionalDependencies:+ ajv: 8.12.0+dependencies:ajv: 6.12.6@@ -17469,6 +18144,9 @@ snapshots:delegates: 1.0.0readable-stream: 3.6.2+ optional: true+@@ -17579,6 +18257,8 @@ snapshots:+ [email protected]: {}+dependencies:gulp-header: 1.8.12@@ -17593,10 +18273,25 @@ snapshots:postcss: 8.4.38postcss-value-parser: 4.2.0+ dependencies:+ browserslist: 4.23.3+ caniuse-lite: 1.0.30001651+ fraction.js: 4.3.6+ normalize-range: 0.1.2+ picocolors: 1.0.1+ postcss: 8.4.49+ postcss-value-parser: 4.2.0+dependencies:possible-typed-array-names: 1.0.0+ dependencies:+ '@fastify/error': 3.4.1+ fastq: 1.18.0+dependencies:'@types/debounce-promise': 3.1.7@@ -17646,7 +18341,7 @@ snapshots:dependencies:'@babel/template': 7.24.7- '@babel/types': 7.24.7+ '@babel/types': 7.26.3'@types/babel__core': 7.20.5'@types/babel__traverse': 7.20.2optional: true@@ -17698,6 +18393,8 @@ snapshots:+ [email protected]: {}+@@ -17965,6 +18662,8 @@ snapshots:strip-ansi: 6.0.1wrap-ansi: 7.0.0+ [email protected]: {}+@@ -18110,13 +18809,13 @@ snapshots:tslib: 2.6.2upper-case: 2.0.2dependencies:- '@contentlayer2/source-remote-files': 0.4.3([email protected])([email protected])([email protected])+ '@contentlayer2/source-remote-files': 0.4.3([email protected])([email protected])([email protected])'@contentlayer2/utils': 0.4.3transitivePeerDependencies:- '@effect-ts/otel-node'@@ -18124,13 +18823,13 @@ snapshots:- markdown-wasm- supports-colordependencies:- '@contentlayer2/source-remote-files': 0.5.3([email protected])([email protected])([email protected])+ '@contentlayer2/source-remote-files': 0.5.3([email protected])([email protected])([email protected])'@contentlayer2/utils': 0.5.3transitivePeerDependencies:- '@effect-ts/otel-node'@@ -18169,13 +18868,13 @@ snapshots:+ [email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])):dependencies:'@jest/types': 29.6.3chalk: 4.1.2exit: 0.1.2graceful-fs: 4.2.11- jest-config: 29.7.0(@types/[email protected])([email protected])+ jest-config: 29.7.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))jest-util: 29.7.0prompts: 2.4.2transitivePeerDependencies:@@ -18185,6 +18884,9 @@ snapshots:- ts-nodeoptional: true+ optional: true+dependencies:luxon: 3.5.0@@ -18205,6 +18907,8 @@ snapshots:shebang-command: 2.0.0which: 2.0.2+ [email protected]: {}+@@ -18241,12 +18945,12 @@ snapshots:dependencies:mdn-data: 2.0.28- source-map-js: 1.2.0+ source-map-js: 1.2.1dependencies:mdn-data: 2.0.30- source-map-js: 1.2.0+ source-map-js: 1.2.1@@ -18271,6 +18975,8 @@ snapshots:+ [email protected]: {}+@@ -18489,6 +19195,9 @@ snapshots:+ optional: true+@@ -18773,6 +19482,32 @@ snapshots:'@esbuild/win32-ia32': 0.20.2'@esbuild/win32-x64': 0.20.2+ optionalDependencies:+ '@esbuild/aix-ppc64': 0.21.5+ '@esbuild/android-arm': 0.21.5+ '@esbuild/android-arm64': 0.21.5+ '@esbuild/android-x64': 0.21.5+ '@esbuild/darwin-arm64': 0.21.5+ '@esbuild/darwin-x64': 0.21.5+ '@esbuild/freebsd-arm64': 0.21.5+ '@esbuild/freebsd-x64': 0.21.5+ '@esbuild/linux-arm': 0.21.5+ '@esbuild/linux-arm64': 0.21.5+ '@esbuild/linux-ia32': 0.21.5+ '@esbuild/linux-loong64': 0.21.5+ '@esbuild/linux-mips64el': 0.21.5+ '@esbuild/linux-ppc64': 0.21.5+ '@esbuild/linux-riscv64': 0.21.5+ '@esbuild/linux-s390x': 0.21.5+ '@esbuild/linux-x64': 0.21.5+ '@esbuild/netbsd-x64': 0.21.5+ '@esbuild/openbsd-x64': 0.21.5+ '@esbuild/sunos-x64': 0.21.5+ '@esbuild/win32-arm64': 0.21.5+ '@esbuild/win32-ia32': 0.21.5+ '@esbuild/win32-x64': 0.21.5+@@ -19197,6 +19932,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -19213,24 +19952,73 @@ snapshots:+ dependencies:+ '@fastify/merge-json-schemas': 0.1.1+ ajv: 8.12.0+ ajv-formats: 3.0.1([email protected])+ fast-deep-equal: 3.1.3+ fast-uri: 2.4.0+ json-schema-ref-resolver: 1.0.1+ rfdc: 1.4.1++ dependencies:+ fast-decode-uri-component: 1.0.1++ [email protected]: {}++ [email protected]: {}+dependencies:strnum: 1.0.5+ dependencies:+ fastify: 4.29.0+ fastify-plugin: 4.5.1+ prom-client: 14.2.0++ [email protected]: {}++ dependencies:+ '@fastify/ajv-compiler': 3.6.0+ '@fastify/error': 3.4.1+ '@fastify/fast-json-stringify-compiler': 4.3.0+ abstract-logging: 2.0.1+ avvio: 8.4.0+ fast-content-type-parse: 1.1.0+ fast-json-stringify: 5.16.1+ find-my-way: 8.2.2+ light-my-request: 5.14.0+ pino: 9.6.0+ process-warning: 3.0.0+ proxy-addr: 2.0.7+ rfdc: 1.4.1+ secure-json-parse: 2.7.0+ semver: 7.6.3+ toad-cache: 3.7.0+dependencies:reusify: 1.0.4+ dependencies:+ reusify: 1.0.4+dependencies:format: 0.2.2@@ -19275,6 +20063,12 @@ snapshots:dependencies:to-regex-range: 5.0.1+ dependencies:+ fast-deep-equal: 3.1.3+ fast-querystring: 1.1.2+ safe-regex2: 3.1.0+dependencies:locate-path: 5.0.0@@ -19338,6 +20132,8 @@ snapshots:tiny-warning: 1.0.3tslib: 2.6.2+ [email protected]: {}+[email protected](@emotion/[email protected])([email protected]([email protected]))([email protected]):@@ -20027,6 +20823,8 @@ snapshots:+ [email protected]: {}+@@ -20234,7 +21032,7 @@ snapshots:dependencies:'@babel/core': 7.24.7([email protected])- '@babel/parser': 7.24.7+ '@babel/parser': 7.26.3'@istanbuljs/schema': 0.1.3istanbul-lib-coverage: 3.2.0semver: 6.3.1@@ -20245,7 +21043,7 @@ snapshots:dependencies:'@babel/core': 7.24.7([email protected])- '@babel/parser': 7.24.7+ '@babel/parser': 7.26.3'@istanbuljs/schema': 0.1.3istanbul-lib-coverage: 3.2.0semver: 7.6.3@@ -20340,16 +21138,16 @@ snapshots:- supports-coloroptional: true+ [email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])):dependencies:- '@jest/core': 29.7.0([email protected])+ '@jest/core': 29.7.0([email protected])([email protected](@types/[email protected])([email protected]))'@jest/test-result': 29.7.0'@jest/types': 29.6.3chalk: 4.1.2- create-jest: 29.7.0(@types/[email protected])([email protected])+ create-jest: 29.7.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))exit: 0.1.2import-local: 3.1.0- jest-config: 29.7.0(@types/[email protected])([email protected])+ jest-config: 29.7.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))jest-util: 29.7.0jest-validate: 29.7.0yargs: 17.7.2@@ -20360,7 +21158,7 @@ snapshots:- ts-nodeoptional: true+ [email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])):dependencies:'@babel/core': 7.24.7([email protected])'@jest/test-sequencer': 29.7.0@@ -20386,12 +21184,13 @@ snapshots:strip-json-comments: 3.1.1optionalDependencies:'@types/node': 20.12.11+ ts-node: 10.9.2(@types/[email protected])([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-coloroptional: true+ [email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])):dependencies:'@babel/core': 7.24.7([email protected])'@jest/test-sequencer': 29.7.0@@ -20417,6 +21216,7 @@ snapshots:strip-json-comments: 3.1.1optionalDependencies:'@types/node': 22.7.5+ ts-node: 10.9.2(@types/[email protected])([email protected])transitivePeerDependencies:- babel-plugin-macros- supports-color@@ -20598,7 +21398,7 @@ snapshots:'@babel/generator': 7.24.7'@babel/plugin-syntax-jsx': 7.24.7(@babel/[email protected]([email protected]))'@babel/plugin-syntax-typescript': 7.24.7(@babel/[email protected]([email protected]))- '@babel/types': 7.24.7+ '@babel/types': 7.26.3'@jest/expect-utils': 29.7.0'@jest/transform': 29.7.0([email protected])'@jest/types': 29.6.3@@ -20664,12 +21464,12 @@ snapshots:supports-color: 8.1.1optional: true+ [email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected])):dependencies:- '@jest/core': 29.7.0([email protected])+ '@jest/core': 29.7.0([email protected])([email protected](@types/[email protected])([email protected]))'@jest/types': 29.6.3import-local: 3.1.0- jest-cli: 29.7.0(@types/[email protected])([email protected])+ jest-cli: 29.7.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))transitivePeerDependencies:- '@types/node'- babel-plugin-macros@@ -20767,6 +21567,18 @@ snapshots:dependencies:foreach: 2.0.6+ dependencies:+ fast-deep-equal: 3.1.3++ dependencies:+ debug: 4.3.7([email protected])+ rfdc: 1.4.1+ uri-js: 4.4.1+ transitivePeerDependencies:+ - supports-color+@@ -20812,6 +21624,8 @@ snapshots:ms: 2.1.3semver: 7.6.3+ [email protected]: {}+@@ -20890,6 +21704,12 @@ snapshots:- encoding- supports-color+ dependencies:+ cookie: 0.7.2+ process-warning: 3.0.0+ set-cookie-parser: 2.7.1+@@ -21066,6 +21886,9 @@ snapshots:semver: 7.6.3optional: true+ optional: true+dependencies:'@npmcli/agent': 2.2.2([email protected])@@ -21511,13 +22334,13 @@ snapshots:dependencies:'@babel/runtime': 7.24.7- '@esbuild-plugins/node-resolve': 0.2.2([email protected])([email protected])+ '@esbuild-plugins/node-resolve': 0.2.2([email protected])([email protected])'@fal-works/esbuild-plugin-global-externals': 2.1.2- '@mdx-js/esbuild': 3.0.1([email protected])([email protected])- esbuild: 0.20.2+ '@mdx-js/esbuild': 3.0.1([email protected])([email protected])+ esbuild: 0.21.5gray-matter: 4.0.3remark-frontmatter: 5.0.0([email protected])remark-mdx-frontmatter: 4.0.0@@ -22209,6 +23032,10 @@ snapshots:pkg-types: 1.2.0ufo: 1.5.4+ dependencies:+ obliterator: 2.0.4+dependencies:mobx: 6.11.0@@ -22304,11 +23131,11 @@ snapshots:- [email protected]([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[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]))([email protected])([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):dependencies:'@contentlayer2/utils': 0.4.3next: 14.2.21(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])@@ -22318,11 +23145,11 @@ snapshots:- markdown-wasm- supports-color- [email protected]([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[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]))([email protected])([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):dependencies:'@contentlayer2/utils': 0.5.3next: 14.2.21(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])@@ -22631,6 +23458,10 @@ snapshots:define-properties: 1.2.1es-object-atoms: 1.0.0+ [email protected]: {}++ [email protected]: {}+dependencies:wrappy: 1.0.2@@ -22919,6 +23750,8 @@ snapshots:+ [email protected]: {}+@@ -22927,6 +23760,47 @@ snapshots:+ dependencies:+ readable-stream: 4.6.0+ split2: 4.2.0++ dependencies:+ split2: 4.2.0++ [email protected]: {}++ [email protected]: {}++ dependencies:+ atomic-sleep: 1.0.0+ fast-redact: 3.5.0+ on-exit-leak-free: 2.1.2+ pino-abstract-transport: 1.2.0+ pino-std-serializers: 6.2.2+ process-warning: 3.0.0+ quick-format-unescaped: 4.0.4+ real-require: 0.2.0+ safe-stable-stringify: 2.5.0+ sonic-boom: 3.8.1+ thread-stream: 2.7.0++ dependencies:+ atomic-sleep: 1.0.0+ fast-redact: 3.5.0+ on-exit-leak-free: 2.1.2+ pino-abstract-transport: 2.0.0+ pino-std-serializers: 7.0.0+ process-warning: 4.0.0+ quick-format-unescaped: 4.0.4+ real-require: 0.2.0+ safe-stable-stringify: 2.5.0+ sonic-boom: 4.2.0+ thread-stream: 3.1.0+@@ -22979,12 +23853,21 @@ snapshots:camelcase-css: 2.0.1postcss: 8.4.38+ [email protected]([email protected])([email protected](@types/[email protected])([email protected])):+ dependencies:+ lilconfig: 2.1.0+ yaml: 2.4.5+ optionalDependencies:+ postcss: 8.4.38+ ts-node: 10.9.2(@types/[email protected])([email protected])++ [email protected]([email protected])([email protected](@types/[email protected])([email protected])):dependencies:lilconfig: 2.1.0yaml: 2.4.5optionalDependencies:postcss: 8.4.38+ ts-node: 10.9.2(@types/[email protected])([email protected])dependencies:@@ -23008,8 +23891,8 @@ snapshots:dependencies:nanoid: 3.3.8- picocolors: 1.0.1- source-map-js: 1.2.0+ picocolors: 1.1.1+ source-map-js: 1.2.1dependencies:@@ -23017,6 +23900,12 @@ snapshots:picocolors: 1.0.1source-map-js: 1.2.0+ dependencies:+ nanoid: 3.3.8+ picocolors: 1.1.1+ source-map-js: 1.2.1+@@ -23043,6 +23932,14 @@ snapshots:sql-formatter: 11.0.2tslib: 2.6.2+ dependencies:+ jsox: 1.2.121+ node-sql-parser: 4.18.0+ prettier: 3.2.5+ sql-formatter: 14.0.0+ tslib: 2.6.2+@@ -23077,8 +23974,18 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ tdigest: 0.1.2+@@ -23124,9 +24031,14 @@ snapshots:'@protobufjs/path': 1.1.2'@protobufjs/pool': 1.1.0'@protobufjs/utf8': 1.1.0- '@types/node': 20.12.11+ '@types/node': 22.7.5long: 5.2.3+ dependencies:+ forwarded: 0.2.0+ ipaddr.js: 1.9.1+@@ -23144,6 +24056,8 @@ snapshots:+ [email protected]: {}+@@ -23600,10 +24514,20 @@ snapshots:string_decoder: 1.3.0util-deprecate: 1.0.2+ dependencies:+ abort-controller: 3.0.0+ buffer: 6.0.3+ events: 3.3.0+ process: 0.11.10+ string_decoder: 1.3.0+dependencies:picomatch: 2.3.1+ [email protected]: {}+dependencies:decimal.js-light: 2.5.1@@ -23944,10 +24868,14 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:glob: 7.2.3@@ -24016,6 +24944,12 @@ snapshots:es-errors: 1.3.0is-regex: 1.1.4+ dependencies:+ ret: 0.4.3++ [email protected]: {}+optional: true@@ -24082,6 +25016,8 @@ snapshots:+ [email protected]: {}+dependencies:define-data-property: 1.1.4@@ -24241,6 +25177,14 @@ snapshots:ip-address: 9.0.5smart-buffer: 4.2.0+ dependencies:+ atomic-sleep: 1.0.0++ dependencies:+ atomic-sleep: 1.0.0+dependencies:react: 18.2.0@@ -24252,6 +25196,8 @@ snapshots:+ [email protected]: {}+dependencies:buffer-from: 1.1.2@@ -24309,6 +25255,12 @@ snapshots:get-stdin: 8.0.0nearley: 2.20.1+ dependencies:+ argparse: 2.0.1+ get-stdin: 8.0.0+ nearley: 2.20.1+dependencies:argparse: 2.0.1@@ -24638,22 +25590,53 @@ snapshots:dependencies:- vue: 3.3.9([email protected])+ vue: 3.5.13([email protected])optional: true+ [email protected]([email protected]([email protected](@types/[email protected])([email protected]))):+ dependencies:++ [email protected]([email protected]([email protected](@types/[email protected])([email protected]))):dependencies:- tailwindcss: 3.4.1+ dependencies:+ '@alloc/quick-lru': 5.2.0+ arg: 5.0.2+ chokidar: 3.5.3+ didyoumean: 1.2.2+ dlv: 1.1.3+ fast-glob: 3.3.2+ glob-parent: 6.0.2+ is-glob: 4.0.3+ jiti: 1.20.0+ lilconfig: 2.1.0+ micromatch: 4.0.8+ normalize-path: 3.0.0+ object-hash: 3.0.0+ picocolors: 1.0.1+ postcss: 8.4.38+ postcss-import: 15.1.0([email protected])+ postcss-js: 4.0.1([email protected])+ postcss-load-config: 4.0.1([email protected])([email protected](@types/[email protected])([email protected]))+ postcss-nested: 6.0.1([email protected])+ postcss-selector-parser: 6.0.13+ resolve: 1.22.8+ sucrase: 3.34.0+ transitivePeerDependencies:+ - ts-node+dependencies:'@alloc/quick-lru': 5.2.0arg: 5.0.2@@ -24672,7 +25655,7 @@ snapshots:postcss: 8.4.38postcss-import: 15.1.0([email protected])postcss-js: 4.0.1([email protected])- postcss-load-config: 4.0.1([email protected])+ postcss-load-config: 4.0.1([email protected])([email protected](@types/[email protected])([email protected]))postcss-nested: 6.0.1([email protected])postcss-selector-parser: 6.0.13resolve: 1.22.8@@ -24691,16 +25674,20 @@ snapshots:mkdirp: 1.0.4yallist: 4.0.0+ dependencies:+ bintrees: 1.0.2+dependencies:'@jridgewell/trace-mapping': 0.3.25jest-worker: 27.5.1schema-utils: 3.3.0serialize-javascript: 6.0.2terser: 5.32.0- webpack: 5.94.0([email protected])+ webpack: 5.94.0([email protected])optionalDependencies:- esbuild: 0.20.2+ esbuild: 0.21.5optional: true@@ -24740,6 +25727,14 @@ snapshots:dependencies:tslib: 2.6.2+ dependencies:+ real-require: 0.2.0++ dependencies:+ real-require: 0.2.0+@@ -24797,6 +25792,8 @@ snapshots:is-buffer: 2.0.5vfile: 4.2.1+ [email protected]: {}+@@ -24846,6 +25843,44 @@ snapshots:'@ts-morph/common': 0.23.0code-block-writer: 13.0.1+ dependencies:+ '@cspotcode/source-map-support': 0.8.1+ '@tsconfig/node10': 1.0.11+ '@tsconfig/node12': 1.0.11+ '@tsconfig/node14': 1.0.3+ '@tsconfig/node16': 1.0.4+ '@types/node': 20.12.11+ acorn: 8.11.3+ acorn-walk: 8.3.2+ arg: 4.1.3+ create-require: 1.1.1+ diff: 4.0.2+ make-error: 1.3.6+ typescript: 5.5.2+ v8-compile-cache-lib: 3.0.1+ yn: 3.1.1+ optional: true++ dependencies:+ '@cspotcode/source-map-support': 0.8.1+ '@tsconfig/node10': 1.0.11+ '@tsconfig/node12': 1.0.11+ '@tsconfig/node14': 1.0.3+ '@tsconfig/node16': 1.0.4+ '@types/node': 22.7.5+ acorn: 8.11.3+ acorn-walk: 8.3.2+ arg: 4.1.3+ create-require: 1.1.1+ diff: 4.0.2+ make-error: 1.3.6+ typescript: 5.5.2+ v8-compile-cache-lib: 3.0.1+ yn: 3.1.1+ optional: true+@@ -25157,7 +26192,7 @@ snapshots:dependencies:browserslist: 4.23.3escalade: 3.1.2- picocolors: 1.0.1+ picocolors: 1.1.1dependencies:@@ -25227,6 +26262,9 @@ snapshots:kleur: 4.1.5sade: 1.8.1+ optional: true+dependencies:'@jridgewell/trace-mapping': 0.3.25@@ -25372,6 +26410,17 @@ snapshots:- supports-color- typescript+ [email protected]([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])):+ dependencies:+ debug: 4.3.7([email protected])+ globrex: 0.1.2+ tsconfck: 3.0.3([email protected])+ optionalDependencies:+ transitivePeerDependencies:+ - supports-color+ - typescript+dependencies:esbuild: 0.20.2@@ -25383,6 +26432,17 @@ snapshots:sass: 1.72.0terser: 5.32.0+ dependencies:+ esbuild: 0.21.5+ postcss: 8.4.49+ rollup: 4.22.4+ optionalDependencies:+ '@types/node': 20.12.11+ fsevents: 2.3.3+ sass: 1.72.0+ terser: 5.32.0+[email protected](@types/[email protected])(@vitest/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]):dependencies:'@vitest/expect': 1.6.0@@ -25455,13 +26515,13 @@ snapshots:dependencies:- '@vue/compiler-dom': 3.3.9- '@vue/compiler-sfc': 3.3.9- '@vue/runtime-dom': 3.3.9- '@vue/server-renderer': 3.3.9([email protected]([email protected]))- '@vue/shared': 3.3.9+ '@vue/compiler-dom': 3.5.13+ '@vue/compiler-sfc': 3.5.13+ '@vue/runtime-dom': 3.5.13+ '@vue/server-renderer': 3.5.13([email protected]([email protected]))+ '@vue/shared': 3.5.13optionalDependencies:typescript: 5.5.2@@ -25550,7 +26610,7 @@ snapshots:- esbuild- uglify-jsdependencies:'@types/estree': 1.0.5'@webassemblyjs/ast': 1.12.1@@ -25572,7 +26632,7 @@ snapshots:neo-async: 2.6.2schema-utils: 3.3.0tapable: 2.2.1watchpack: 2.4.2webpack-sources: 3.2.3transitivePeerDependencies:@@ -25759,6 +26819,9 @@ snapshots:y18n: 5.0.8yargs-parser: 21.1.1+ optional: true+