Compare commits
4 Commits
6f4fed1611
...
f727dd4558
Author | SHA1 | Date | |
---|---|---|---|
|
f727dd4558 | ||
231be64e45 | |||
658b94a2dc | |||
96655bf62b |
@ -5,6 +5,7 @@ import { getCsrfToken, getSlug } from '@/app/lib/utils';
|
||||
|
||||
export interface Api<T extends Entity> {
|
||||
getAll(serializable: Serializable<T> ,callback: (objets: T[]) => void): void;
|
||||
get(serializable: Serializable<T>, id: string, callback: (object: T) => void): void;
|
||||
create(serializable: Serializable<T>, object: T, callback: () => void): void;
|
||||
update(serializable: Serializable<T>, object: T, callback: () => void): void;
|
||||
destroy(serializable: Serializable<T>, object: T, callback: () => void): void;
|
||||
@ -29,6 +30,16 @@ export class AbstractApi<T extends Entity> implements Api<T> {
|
||||
});
|
||||
}
|
||||
|
||||
get(serializable: Serializable<T>, id: string, callback: (object: T) => void): void {
|
||||
fetch(`/api/${getSlug()}/${serializable.apiPath()}/${id}`)
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
callback(serializable.fromJson(data));
|
||||
}, (error) => {
|
||||
return [];
|
||||
});
|
||||
}
|
||||
|
||||
update(serializable: Serializable<T>, object: T, callback: () => void): void {
|
||||
fetch(`/api/${getSlug()}/${serializable.apiPath()}/${object.id}`, {
|
||||
method: 'PUT',
|
||||
|
@ -15,17 +15,6 @@ export type TableArrangement = {
|
||||
discomfort?: number
|
||||
}
|
||||
|
||||
export type guestsTable = {
|
||||
id: string;
|
||||
customer_id: string;
|
||||
name: string;
|
||||
email: string;
|
||||
image_url: string;
|
||||
date: string;
|
||||
amount: number;
|
||||
status: 'pending' | 'paid';
|
||||
};
|
||||
|
||||
export type User = {
|
||||
id: string;
|
||||
email: string;
|
||||
|
71
app/lib/tableSimulation.tsx
Normal file
71
app/lib/tableSimulation.tsx
Normal file
@ -0,0 +1,71 @@
|
||||
/* Copyright (C) 2024 Manuel Bustillo*/
|
||||
|
||||
import { Serializable } from "../api/abstract-api";
|
||||
import { Entity } from "./definitions";
|
||||
import { Guest } from "./guest";
|
||||
|
||||
export type Discomfort = {
|
||||
discomfort: number;
|
||||
breakdown: {
|
||||
tableSizePenalty: number;
|
||||
cohesionPenalty: number;
|
||||
}
|
||||
}
|
||||
|
||||
export type Table = {
|
||||
number: number;
|
||||
guests: Guest[];
|
||||
discomfort: Discomfort;
|
||||
}
|
||||
|
||||
export class TableSimulation implements Entity {
|
||||
id: string;
|
||||
tables: Table[];
|
||||
|
||||
constructor(id: string, tables: Table[]) {
|
||||
this.id = id;
|
||||
this.tables = tables;
|
||||
}
|
||||
}
|
||||
|
||||
export class TableSimulationSerializer implements Serializable<TableSimulation> {
|
||||
fromJson(data: any): TableSimulation {
|
||||
return new TableSimulation(data.id, data.tables.map((table: any) => {
|
||||
return {
|
||||
number: table.number,
|
||||
guests: table.guests.map((guest: any) => new Guest(guest.id, guest.name, guest.group?.name, guest.group?.id, guest.color)),
|
||||
discomfort: {
|
||||
discomfort: table.discomfort.discomfort,
|
||||
breakdown: {
|
||||
tableSizePenalty: table.discomfort.breakdown.table_size_penalty,
|
||||
cohesionPenalty: table.discomfort.breakdown.cohesion_penalty,
|
||||
}
|
||||
},
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
toJson(simulation: TableSimulation): string {
|
||||
return JSON.stringify({ simulation: { tables: simulation.tables.map((table) => {
|
||||
return {
|
||||
number: table.number,
|
||||
guests: table.guests.map((guest) => {
|
||||
return {
|
||||
id: guest.id,
|
||||
name: guest.name,
|
||||
group_id: guest.groupId,
|
||||
color: guest.color,
|
||||
status: guest.status,
|
||||
children: guest.children,
|
||||
}
|
||||
}),
|
||||
discomfort: table.discomfort,
|
||||
}
|
||||
}) } });
|
||||
}
|
||||
|
||||
apiPath(): string {
|
||||
return 'tables_arrangements';
|
||||
}
|
||||
}
|
||||
|
@ -2,40 +2,33 @@
|
||||
|
||||
'use client';
|
||||
|
||||
import React, { useState } from 'react';
|
||||
import { AbstractApi } from '@/app/api/abstract-api';
|
||||
import { TableArrangement } from '@/app/lib/definitions';
|
||||
import { lusitana } from '@/app/ui/fonts';
|
||||
import { Table } from '@/app/ui/components/table';
|
||||
import { TableSimulation, TableSimulationSerializer } from '@/app/lib/tableSimulation';
|
||||
import { getSlug } from '@/app/lib/utils';
|
||||
import { Table } from '@/app/ui/components/table';
|
||||
import { lusitana } from '@/app/ui/fonts';
|
||||
import { useState, useEffect } from 'react';
|
||||
|
||||
export default function Arrangement({ id }: { id: string }) {
|
||||
|
||||
const [tables, setTables] = useState<Array<TableArrangement>>([]);
|
||||
const [simulation, setSimulation] = useState<TableSimulation | undefined>(undefined);
|
||||
|
||||
function loadTables() {
|
||||
fetch(`/api/${getSlug()}/tables_arrangements/${id}`)
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
setTables(data.map((record: any) => {
|
||||
return ({
|
||||
id: record.number,
|
||||
guests: record.guests
|
||||
});
|
||||
}));
|
||||
}, (error) => {
|
||||
return [];
|
||||
function loadSimulation() {
|
||||
new AbstractApi<TableSimulation>().get(new TableSimulationSerializer(), id, (object: TableSimulation) => {
|
||||
setSimulation(object);
|
||||
});
|
||||
}
|
||||
|
||||
tables.length === 0 && loadTables();
|
||||
useEffect(loadSimulation, []);
|
||||
|
||||
return (
|
||||
<div className="w-full">
|
||||
<div className="w-full items-center justify-between">
|
||||
<h1 className={`${lusitana.className} text-2xl my-5`}>Table distributions</h1>
|
||||
<div className="flex flex-row flex-wrap justify-around">
|
||||
{tables.map((table) => (
|
||||
<Table key={table.number} guests={table.guests || []} style="rounded" />
|
||||
{simulation && simulation.tables.map((table) => (
|
||||
<Table key={table.number} table={table} style="rounded" />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,6 +1,11 @@
|
||||
/* Copyright (C) 2024 Manuel Bustillo*/
|
||||
|
||||
import { Guest } from "@/app/lib/guest";
|
||||
import { Table as TableType } from "@/app/lib/tableSimulation";
|
||||
import { RectangleGroupIcon, UserGroupIcon } from "@heroicons/react/24/outline";
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { Tooltip } from "primereact/tooltip";
|
||||
import clsx from "clsx";
|
||||
|
||||
|
||||
function Dish({ guest, rotation }: { guest: Guest, rotation?: number }) {
|
||||
@ -15,7 +20,6 @@ function Dish({ guest, rotation }: { guest: Guest, rotation?: number }) {
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
function GuestRow({ guests }: { guests: Guest[] }) {
|
||||
return (
|
||||
<div className="justify-around flex flex-row">
|
||||
@ -24,7 +28,8 @@ function GuestRow({ guests }: { guests: Guest[] }) {
|
||||
)
|
||||
}
|
||||
|
||||
function RectangularTable({ guests }: { guests: Guest[] }) {
|
||||
function RectangularTable({ table }: { table: TableType }) {
|
||||
const guests = table.guests;
|
||||
const halfwayThrough = Math.floor(guests.length / 2)
|
||||
const arrayFirstHalf = guests.slice(0, halfwayThrough);
|
||||
const arraySecondHalf = guests.slice(halfwayThrough, guests.length);
|
||||
@ -37,11 +42,24 @@ function RectangularTable({ guests }: { guests: Guest[] }) {
|
||||
)
|
||||
}
|
||||
|
||||
function RoundedTable({ guests }: { guests: Guest[] }) {
|
||||
function RoundedTable({ table }: { table: TableType }) {
|
||||
const guests = table.guests;
|
||||
const size = 500
|
||||
const rotation = 360 / guests.length
|
||||
|
||||
const className = (penalty: number) => {
|
||||
return clsx("px-2 tooltip-cohesion", {
|
||||
"hidden": penalty === 0,
|
||||
"text-orange-300": penalty <= 5,
|
||||
"text-orange-500": penalty > 5 && penalty <= 10,
|
||||
"text-orange-700": penalty > 10,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
return (
|
||||
<div className={`m-12 rounded-full bg-cyan-800 relative z-0`} style={{ width: `${size}px`, height: `${size}px` }}>
|
||||
<div className={`m-12 rounded-full bg-cyan-800 relative z-0 grid flex items-center justify-items-center`} style={{ width: `${size}px`, height: `${size}px` }}>
|
||||
|
||||
{
|
||||
guests.map((guest, index) => {
|
||||
return (
|
||||
@ -55,15 +73,35 @@ function RoundedTable({ guests }: { guests: Guest[] }) {
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
<div className="bg-zinc-200 w-48 h-12 p-3 flex flex-row rounded z-10">
|
||||
<div className="px-2 text-slate-800">{`Table #${table.number}`}</div>
|
||||
|
||||
|
||||
<Tooltip target=".tooltip-cohesion" />
|
||||
<Tooltip target=".tooltip-size" />
|
||||
|
||||
<RectangleGroupIcon
|
||||
className={className(table.discomfort.breakdown.cohesionPenalty)}
|
||||
data-pr-tooltip={`Cohesion penalty: ${Math.round(table.discomfort.breakdown.cohesionPenalty)}`}
|
||||
data-pr-position="top"
|
||||
/>
|
||||
|
||||
<UserGroupIcon
|
||||
className={className(table.discomfort.breakdown.tableSizePenalty)}
|
||||
data-pr-tooltip={`Table size penalty: ${Math.round(table.discomfort.breakdown.tableSizePenalty)}`}
|
||||
data-pr-position="top"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export function Table({ guests, style }: { guests: Guest[], style: "rectangular" | "rounded" }) {
|
||||
export function Table({ table, style }: { table: TableType, style: "rectangular" | "rounded" }) {
|
||||
return (
|
||||
<>
|
||||
{style === "rectangular" && <RectangularTable guests={guests} />}
|
||||
{style === "rounded" && <RoundedTable guests={guests} />}
|
||||
{style === "rectangular" && <RectangularTable table={table} />}
|
||||
{style === "rounded" && <RoundedTable table={table} />}
|
||||
</>
|
||||
)
|
||||
}
|
@ -11,7 +11,7 @@
|
||||
"autoprefixer": "10.4.20",
|
||||
"bcrypt": "^5.1.1",
|
||||
"clsx": "^2.1.1",
|
||||
"next": "15.0.3",
|
||||
"next": "15.1.0",
|
||||
"next-auth": "5.0.0-beta.25",
|
||||
"postcss": "8.4.49",
|
||||
"primeicons": "^7.0.0",
|
||||
@ -21,6 +21,7 @@
|
||||
"tailwindcss": "3.4.16",
|
||||
"typescript": "5.7.2",
|
||||
"use-debounce": "^10.0.1",
|
||||
"uuid": "11.0.3",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
119
pnpm-lock.yaml
generated
119
pnpm-lock.yaml
generated
@ -24,11 +24,11 @@ importers:
|
||||
specifier: ^2.1.1
|
||||
version: 2.1.1
|
||||
next:
|
||||
specifier: 15.0.3
|
||||
version: 15.0.3(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
|
||||
specifier: 15.1.0
|
||||
version: 15.1.0(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
|
||||
next-auth:
|
||||
specifier: 5.0.0-beta.25
|
||||
version: 5.0.0-beta.25(next@15.0.3(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
|
||||
version: 5.0.0-beta.25(next@15.1.0(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
|
||||
postcss:
|
||||
specifier: 8.4.49
|
||||
version: 8.4.49
|
||||
@ -53,6 +53,9 @@ importers:
|
||||
use-debounce:
|
||||
specifier: ^10.0.1
|
||||
version: 10.0.4(react@19.0.0-rc-f38c22b244-20240704)
|
||||
uuid:
|
||||
specifier: 11.0.3
|
||||
version: 11.0.3
|
||||
zod:
|
||||
specifier: ^3.23.8
|
||||
version: 3.24.1
|
||||
@ -236,53 +239,53 @@ packages:
|
||||
resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==}
|
||||
hasBin: true
|
||||
|
||||
'@next/env@15.0.3':
|
||||
resolution: {integrity: sha512-t9Xy32pjNOvVn2AS+Utt6VmyrshbpfUMhIjFO60gI58deSo/KgLOp31XZ4O+kY/Is8WAGYwA5gR7kOb1eORDBA==}
|
||||
'@next/env@15.1.0':
|
||||
resolution: {integrity: sha512-UcCO481cROsqJuszPPXJnb7GGuLq617ve4xuAyyNG4VSSocJNtMU5Fsx+Lp6mlN8c7W58aZLc5y6D/2xNmaK+w==}
|
||||
|
||||
'@next/swc-darwin-arm64@15.0.3':
|
||||
resolution: {integrity: sha512-s3Q/NOorCsLYdCKvQlWU+a+GeAd3C8Rb3L1YnetsgwXzhc3UTWrtQpB/3eCjFOdGUj5QmXfRak12uocd1ZiiQw==}
|
||||
'@next/swc-darwin-arm64@15.1.0':
|
||||
resolution: {integrity: sha512-ZU8d7xxpX14uIaFC3nsr4L++5ZS/AkWDm1PzPO6gD9xWhFkOj2hzSbSIxoncsnlJXB1CbLOfGVN4Zk9tg83PUw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@next/swc-darwin-x64@15.0.3':
|
||||
resolution: {integrity: sha512-Zxl/TwyXVZPCFSf0u2BNj5sE0F2uR6iSKxWpq4Wlk/Sv9Ob6YCKByQTkV2y6BCic+fkabp9190hyrDdPA/dNrw==}
|
||||
'@next/swc-darwin-x64@15.1.0':
|
||||
resolution: {integrity: sha512-DQ3RiUoW2XC9FcSM4ffpfndq1EsLV0fj0/UY33i7eklW5akPUCo6OX2qkcLXZ3jyPdo4sf2flwAED3AAq3Om2Q==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@next/swc-linux-arm64-gnu@15.0.3':
|
||||
resolution: {integrity: sha512-T5+gg2EwpsY3OoaLxUIofmMb7ohAUlcNZW0fPQ6YAutaWJaxt1Z1h+8zdl4FRIOr5ABAAhXtBcpkZNwUcKI2fw==}
|
||||
'@next/swc-linux-arm64-gnu@15.1.0':
|
||||
resolution: {integrity: sha512-M+vhTovRS2F//LMx9KtxbkWk627l5Q7AqXWWWrfIzNIaUFiz2/NkOFkxCFyNyGACi5YbA8aekzCLtbDyfF/v5Q==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@next/swc-linux-arm64-musl@15.0.3':
|
||||
resolution: {integrity: sha512-WkAk6R60mwDjH4lG/JBpb2xHl2/0Vj0ZRu1TIzWuOYfQ9tt9NFsIinI1Epma77JVgy81F32X/AeD+B2cBu/YQA==}
|
||||
'@next/swc-linux-arm64-musl@15.1.0':
|
||||
resolution: {integrity: sha512-Qn6vOuwaTCx3pNwygpSGtdIu0TfS1KiaYLYXLH5zq1scoTXdwYfdZtwvJTpB1WrLgiQE2Ne2kt8MZok3HlFqmg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@next/swc-linux-x64-gnu@15.0.3':
|
||||
resolution: {integrity: sha512-gWL/Cta1aPVqIGgDb6nxkqy06DkwJ9gAnKORdHWX1QBbSZZB+biFYPFti8aKIQL7otCE1pjyPaXpFzGeG2OS2w==}
|
||||
'@next/swc-linux-x64-gnu@15.1.0':
|
||||
resolution: {integrity: sha512-yeNh9ofMqzOZ5yTOk+2rwncBzucc6a1lyqtg8xZv0rH5znyjxHOWsoUtSq4cUTeeBIiXXX51QOOe+VoCjdXJRw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@next/swc-linux-x64-musl@15.0.3':
|
||||
resolution: {integrity: sha512-QQEMwFd8r7C0GxQS62Zcdy6GKx999I/rTO2ubdXEe+MlZk9ZiinsrjwoiBL5/57tfyjikgh6GOU2WRQVUej3UA==}
|
||||
'@next/swc-linux-x64-musl@15.1.0':
|
||||
resolution: {integrity: sha512-t9IfNkHQs/uKgPoyEtU912MG6a1j7Had37cSUyLTKx9MnUpjj+ZDKw9OyqTI9OwIIv0wmkr1pkZy+3T5pxhJPg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@next/swc-win32-arm64-msvc@15.0.3':
|
||||
resolution: {integrity: sha512-9TEp47AAd/ms9fPNgtgnT7F3M1Hf7koIYYWCMQ9neOwjbVWJsHZxrFbI3iEDJ8rf1TDGpmHbKxXf2IFpAvheIQ==}
|
||||
'@next/swc-win32-arm64-msvc@15.1.0':
|
||||
resolution: {integrity: sha512-WEAoHyG14t5sTavZa1c6BnOIEukll9iqFRTavqRVPfYmfegOAd5MaZfXgOGG6kGo1RduyGdTHD4+YZQSdsNZXg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@next/swc-win32-x64-msvc@15.0.3':
|
||||
resolution: {integrity: sha512-VNAz+HN4OGgvZs6MOoVfnn41kBzT+M+tB+OK4cww6DNyWS6wKaDpaAm/qLeOUbnMh0oVx1+mg0uoYARF69dJyA==}
|
||||
'@next/swc-win32-x64-msvc@15.1.0':
|
||||
resolution: {integrity: sha512-J1YdKuJv9xcixzXR24Dv+4SaDKc2jj31IVUEMdO5xJivMTXuE6MAdIi4qPjSymHuFG8O5wbfWKnhJUcHHpj5CA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
@ -314,8 +317,8 @@ packages:
|
||||
'@swc/counter@0.1.3':
|
||||
resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
|
||||
|
||||
'@swc/helpers@0.5.13':
|
||||
resolution: {integrity: sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==}
|
||||
'@swc/helpers@0.5.15':
|
||||
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
|
||||
|
||||
'@tailwindcss/forms@0.5.9':
|
||||
resolution: {integrity: sha512-tM4XVr2+UVTxXJzey9Twx48c1gcxFStqn1pQz0tRsX8o3DvxhN5oY5pvyAbUx7VTaZxpej4Zzvc6h+1RJBzpIg==}
|
||||
@ -737,16 +740,16 @@ packages:
|
||||
nodemailer:
|
||||
optional: true
|
||||
|
||||
next@15.0.3:
|
||||
resolution: {integrity: sha512-ontCbCRKJUIoivAdGB34yCaOcPgYXr9AAkV/IwqFfWWTXEPUgLYkSkqBhIk9KK7gGmgjc64B+RdoeIDM13Irnw==}
|
||||
next@15.1.0:
|
||||
resolution: {integrity: sha512-QKhzt6Y8rgLNlj30izdMbxAwjHMFANnLwDwZ+WQh5sMhyt4lEBqDK9QpvWHtIM4rINKPoJ8aiRZKg5ULSybVHw==}
|
||||
engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@opentelemetry/api': ^1.1.0
|
||||
'@playwright/test': ^1.41.2
|
||||
babel-plugin-react-compiler: '*'
|
||||
react: ^18.2.0 || 19.0.0-rc-66855b96-20241106
|
||||
react-dom: ^18.2.0 || 19.0.0-rc-66855b96-20241106
|
||||
react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
|
||||
react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
|
||||
sass: ^1.3.0
|
||||
peerDependenciesMeta:
|
||||
'@opentelemetry/api':
|
||||
@ -1094,6 +1097,9 @@ packages:
|
||||
tslib@2.6.3:
|
||||
resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==}
|
||||
|
||||
tslib@2.8.1:
|
||||
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
|
||||
|
||||
typescript@5.7.2:
|
||||
resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==}
|
||||
engines: {node: '>=14.17'}
|
||||
@ -1117,6 +1123,10 @@ packages:
|
||||
util-deprecate@1.0.2:
|
||||
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
|
||||
|
||||
uuid@11.0.3:
|
||||
resolution: {integrity: sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==}
|
||||
hasBin: true
|
||||
|
||||
webidl-conversions@3.0.1:
|
||||
resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
|
||||
|
||||
@ -1296,30 +1306,30 @@ snapshots:
|
||||
- encoding
|
||||
- supports-color
|
||||
|
||||
'@next/env@15.0.3': {}
|
||||
'@next/env@15.1.0': {}
|
||||
|
||||
'@next/swc-darwin-arm64@15.0.3':
|
||||
'@next/swc-darwin-arm64@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@next/swc-darwin-x64@15.0.3':
|
||||
'@next/swc-darwin-x64@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@next/swc-linux-arm64-gnu@15.0.3':
|
||||
'@next/swc-linux-arm64-gnu@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@next/swc-linux-arm64-musl@15.0.3':
|
||||
'@next/swc-linux-arm64-musl@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@next/swc-linux-x64-gnu@15.0.3':
|
||||
'@next/swc-linux-x64-gnu@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@next/swc-linux-x64-musl@15.0.3':
|
||||
'@next/swc-linux-x64-musl@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@next/swc-win32-arm64-msvc@15.0.3':
|
||||
'@next/swc-win32-arm64-msvc@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@next/swc-win32-x64-msvc@15.0.3':
|
||||
'@next/swc-win32-x64-msvc@15.1.0':
|
||||
optional: true
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
@ -1345,9 +1355,9 @@ snapshots:
|
||||
|
||||
'@swc/counter@0.1.3': {}
|
||||
|
||||
'@swc/helpers@0.5.13':
|
||||
'@swc/helpers@0.5.15':
|
||||
dependencies:
|
||||
tslib: 2.6.3
|
||||
tslib: 2.8.1
|
||||
|
||||
'@tailwindcss/forms@0.5.9(tailwindcss@3.4.16)':
|
||||
dependencies:
|
||||
@ -1731,17 +1741,17 @@ snapshots:
|
||||
|
||||
nanoid@3.3.7: {}
|
||||
|
||||
next-auth@5.0.0-beta.25(next@15.0.3(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
|
||||
next-auth@5.0.0-beta.25(next@15.1.0(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
|
||||
dependencies:
|
||||
'@auth/core': 0.37.2
|
||||
next: 15.0.3(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
|
||||
next: 15.1.0(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)
|
||||
react: 19.0.0-rc-f38c22b244-20240704
|
||||
|
||||
next@15.0.3(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
|
||||
next@15.1.0(@playwright/test@1.49.1)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704):
|
||||
dependencies:
|
||||
'@next/env': 15.0.3
|
||||
'@next/env': 15.1.0
|
||||
'@swc/counter': 0.1.3
|
||||
'@swc/helpers': 0.5.13
|
||||
'@swc/helpers': 0.5.15
|
||||
busboy: 1.6.0
|
||||
caniuse-lite: 1.0.30001651
|
||||
postcss: 8.4.31
|
||||
@ -1749,14 +1759,14 @@ snapshots:
|
||||
react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704)
|
||||
styled-jsx: 5.1.6(react@19.0.0-rc-f38c22b244-20240704)
|
||||
optionalDependencies:
|
||||
'@next/swc-darwin-arm64': 15.0.3
|
||||
'@next/swc-darwin-x64': 15.0.3
|
||||
'@next/swc-linux-arm64-gnu': 15.0.3
|
||||
'@next/swc-linux-arm64-musl': 15.0.3
|
||||
'@next/swc-linux-x64-gnu': 15.0.3
|
||||
'@next/swc-linux-x64-musl': 15.0.3
|
||||
'@next/swc-win32-arm64-msvc': 15.0.3
|
||||
'@next/swc-win32-x64-msvc': 15.0.3
|
||||
'@next/swc-darwin-arm64': 15.1.0
|
||||
'@next/swc-darwin-x64': 15.1.0
|
||||
'@next/swc-linux-arm64-gnu': 15.1.0
|
||||
'@next/swc-linux-arm64-musl': 15.1.0
|
||||
'@next/swc-linux-x64-gnu': 15.1.0
|
||||
'@next/swc-linux-x64-musl': 15.1.0
|
||||
'@next/swc-win32-arm64-msvc': 15.1.0
|
||||
'@next/swc-win32-x64-msvc': 15.1.0
|
||||
'@playwright/test': 1.49.1
|
||||
sharp: 0.33.5
|
||||
transitivePeerDependencies:
|
||||
@ -2098,7 +2108,10 @@ snapshots:
|
||||
|
||||
ts-interface-checker@0.1.13: {}
|
||||
|
||||
tslib@2.6.3: {}
|
||||
tslib@2.6.3:
|
||||
optional: true
|
||||
|
||||
tslib@2.8.1: {}
|
||||
|
||||
typescript@5.7.2: {}
|
||||
|
||||
@ -2116,6 +2129,8 @@ snapshots:
|
||||
|
||||
util-deprecate@1.0.2: {}
|
||||
|
||||
uuid@11.0.3: {}
|
||||
|
||||
webidl-conversions@3.0.1: {}
|
||||
|
||||
whatwg-url@5.0.0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user