update lib
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -80,12 +80,12 @@ export type PrismaVersion = {
|
||||
}
|
||||
|
||||
/**
|
||||
* Prisma Client JS version: 7.7.0
|
||||
* Query Engine version: 75cbdc1eb7150937890ad5465d861175c6624711
|
||||
* Prisma Client JS version: 7.8.0
|
||||
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
|
||||
*/
|
||||
export const prismaVersion: PrismaVersion = {
|
||||
client: "7.7.0",
|
||||
engine: "75cbdc1eb7150937890ad5465d861175c6624711"
|
||||
client: "7.8.0",
|
||||
engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a"
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1313,6 +1313,21 @@ export type PrismaClientOptions = ({
|
||||
* ```
|
||||
*/
|
||||
comments?: runtime.SqlCommenterPlugin[]
|
||||
/**
|
||||
* Optional maximum size for the query plan cache. If not provided, a default size will be used.
|
||||
* A value of `0` can be used to disable the cache entirely. A higher cache size can improve
|
||||
* performance for applications that execute a large number of unique queries, while a smaller
|
||||
* cache size can reduce memory usage.
|
||||
*
|
||||
* @example
|
||||
* ```
|
||||
* const prisma = new PrismaClient({
|
||||
* adapter,
|
||||
* queryPlanCacheMaxSize: 100,
|
||||
* })
|
||||
* ```
|
||||
*/
|
||||
queryPlanCacheMaxSize?: number
|
||||
}
|
||||
export type GlobalOmitConfig = {
|
||||
user?: Prisma.UserOmit
|
||||
|
||||
@@ -44,10 +44,10 @@ export default async function ProfilePage() {
|
||||
alt=""
|
||||
width={72}
|
||||
height={72}
|
||||
className="h-[72px] w-[72px] rounded-full object-cover"
|
||||
className="h-18 w-18 rounded-full object-cover"
|
||||
/>
|
||||
) : (
|
||||
<div className="flex h-[72px] w-[72px] shrink-0 items-center justify-center rounded-full bg-primary-600 text-2xl font-bold text-white">
|
||||
<div className="flex h-18 w-18 shrink-0 items-center justify-center rounded-full bg-primary-600 text-2xl font-bold text-white">
|
||||
{user.name.charAt(0).toUpperCase()}
|
||||
</div>
|
||||
)}
|
||||
@@ -55,7 +55,9 @@ export default async function ProfilePage() {
|
||||
<h1 className="text-xl font-bold text-neutral-800 sm:text-2xl">
|
||||
{user.name}
|
||||
</h1>
|
||||
<p className="mt-0.5 truncate text-sm text-neutral-500">{user.email}</p>
|
||||
<p className="mt-0.5 truncate text-sm text-neutral-500">
|
||||
{user.email}
|
||||
</p>
|
||||
<p className="mt-1 text-xs text-neutral-400">
|
||||
Anggota sejak {memberSince}
|
||||
</p>
|
||||
@@ -131,7 +133,10 @@ export default async function ProfilePage() {
|
||||
{organizedTrips.length === 0 ? (
|
||||
<p className="rounded-xl border border-dashed border-neutral-200 bg-neutral-50 px-4 py-6 text-center text-sm text-neutral-500">
|
||||
Belum ada trip.{" "}
|
||||
<Link href="/create-trip" className="font-semibold text-primary-600">
|
||||
<Link
|
||||
href="/create-trip"
|
||||
className="font-semibold text-primary-600"
|
||||
>
|
||||
Buat trip pertama
|
||||
</Link>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user