mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Preparing the repository
This commit is contained in:
+2
-14
@@ -15,31 +15,19 @@ export default async function Layout({children}: { children: React.ReactNode })
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
if(userInfo && userInfo.authMethod){
|
if(userInfo && userInfo.authMethod){
|
||||||
redirect('/dashboard')
|
redirect('/')
|
||||||
|
// redirect('/dashboard')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<LayoutAdmin>
|
<LayoutAdmin>
|
||||||
<div
|
<div
|
||||||
// className="w-full h-full lg:grid lg:min-h-[600px] lg:grid-cols-2 xl:min-h-[800px]"
|
|
||||||
className="w-full h-full grid "
|
className="w-full h-full grid "
|
||||||
>
|
>
|
||||||
<div className="flex items-center justify-center py-12">
|
<div className="flex items-center justify-center py-12">
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
{/*<div className="hidden bg-muted lg:block ">*/}
|
|
||||||
{/* <img*/}
|
|
||||||
{/* src="/background.jpg"*/}
|
|
||||||
{/* alt="Image"*/}
|
|
||||||
{/* width="1920"*/}
|
|
||||||
{/* height="1080"*/}
|
|
||||||
{/* className="h-full w-full object-cover dark:brightness-[0.5] dark:grayscale"*/}
|
|
||||||
{/* />*/}
|
|
||||||
{/* <div className="absolute bottom-6 right-6 z-10">*/}
|
|
||||||
{/* <Image src="/logo-inverse-title-white.png" alt="Logo Portabase" width={250} height={250}/>*/}
|
|
||||||
{/* </div>*/}
|
|
||||||
{/*</div>*/}
|
|
||||||
</div>
|
</div>
|
||||||
</LayoutAdmin>
|
</LayoutAdmin>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ export default async function Layout({children}: { children: React.ReactNode })
|
|||||||
return (
|
return (
|
||||||
// <HydrationZustand>
|
// <HydrationZustand>
|
||||||
// <GlobalStoreProvider>
|
// <GlobalStoreProvider>
|
||||||
|
<>
|
||||||
|
|
||||||
<SidebarProvider>
|
<SidebarProvider>
|
||||||
<div className="flex flex-col lg:flex-row w-full">
|
<div className="flex flex-col lg:flex-row w-full">
|
||||||
<AppSidebar/>
|
<AppSidebar/>
|
||||||
@@ -36,6 +38,7 @@ export default async function Layout({children}: { children: React.ReactNode })
|
|||||||
</SidebarInset>
|
</SidebarInset>
|
||||||
</div>
|
</div>
|
||||||
</SidebarProvider>
|
</SidebarProvider>
|
||||||
|
</>
|
||||||
// </GlobalStoreProvider>
|
// </GlobalStoreProvider>
|
||||||
// </HydrationZustand>
|
// </HydrationZustand>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
import {PageParams} from "@/types/next";
|
|
||||||
import {redirect} from "next/navigation";
|
|
||||||
import {getCurrentOrganizationSlug, setCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
|
||||||
|
|
||||||
export default async function RoutePage(props: PageParams<{}>) {
|
|
||||||
|
|
||||||
const currentOrganizationSlug = await getCurrentOrganizationSlug()
|
|
||||||
if (currentOrganizationSlug == "") {
|
|
||||||
redirect(`/dashboard/default/projects`)
|
|
||||||
}
|
|
||||||
redirect(`/dashboard/${currentOrganizationSlug}/projects`)
|
|
||||||
}
|
|
||||||
@@ -1,11 +1,14 @@
|
|||||||
import {redirect} from "next/navigation";
|
import {redirect} from "next/navigation";
|
||||||
import {currentUser} from "@/auth/current-user";
|
import {currentUser} from "@/auth/current-user";
|
||||||
|
import {getCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
||||||
|
|
||||||
|
|
||||||
export default async function Index() {
|
export default async function Index() {
|
||||||
const user = await currentUser()
|
const user = await currentUser()
|
||||||
if (user) {
|
if (user) {
|
||||||
redirect("/dashboard")
|
const currentOrganizationSlug = await getCurrentOrganizationSlug()
|
||||||
|
|
||||||
|
redirect(`/dashboard/${currentOrganizationSlug}/projects`)
|
||||||
}
|
}
|
||||||
redirect("/login")
|
redirect("/login")
|
||||||
//Do not delete
|
//Do not delete
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ export default function RootLayout({
|
|||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en" suppressHydrationWarning>
|
||||||
<body className={cn(inter.className, "h-full")}>
|
<body className={cn(inter.className, "h-full")}>
|
||||||
<Providers>
|
<Providers>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
"use client"
|
||||||
|
import {useRouter} from "next/navigation";
|
||||||
|
import {useEffect} from "react";
|
||||||
|
|
||||||
|
export default function NotFound() {
|
||||||
|
|
||||||
|
const router = useRouter();
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
router.push('/');
|
||||||
|
}, [router]);
|
||||||
|
|
||||||
|
return null; // You can return null or a loading spinner while the redirect happens
|
||||||
|
}
|
||||||
@@ -10,10 +10,6 @@ import {SessionProvider} from "next-auth/react";
|
|||||||
export type ProviderProps = PropsWithChildren<{}>;
|
export type ProviderProps = PropsWithChildren<{}>;
|
||||||
const queryClient = new QueryClient()
|
const queryClient = new QueryClient()
|
||||||
|
|
||||||
// import dynamic from 'next/dynamic';
|
|
||||||
|
|
||||||
// const ThemeProvider = dynamic(() => import('@/features/theme/theme-provider'), {ssr: false});
|
|
||||||
|
|
||||||
export const Providers = (props: ProviderProps) => {
|
export const Providers = (props: ProviderProps) => {
|
||||||
return (
|
return (
|
||||||
<SessionProvider>
|
<SessionProvider>
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
FROM node:20.1.0-alpine AS base
|
FROM node:23.5.0-alpine AS base
|
||||||
|
|
||||||
#ENV YARN_VERSION=4.2.2
|
#ENV YARN_VERSION=4.2.2
|
||||||
ENV YARN_VERSION=4.5.3
|
ENV YARN_VERSION=4.5.3
|
||||||
|
|
||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat
|
||||||
|
RUN apk add --no-cache openssl
|
||||||
|
|
||||||
# install and use yarn 4.x
|
# install and use yarn 4.x
|
||||||
RUN corepack enable && corepack prepare yarn@${YARN_VERSION}
|
RUN corepack enable && corepack prepare yarn@${YARN_VERSION}
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
npm install -g npm@11.0.0
|
||||||
|
npm -v
|
||||||
|
|
||||||
|
|
||||||
current_date=$(date +"%Y-%m-%d")
|
current_date=$(date +"%Y-%m-%d")
|
||||||
npx zenstack generate
|
npx zenstack generate
|
||||||
npx prisma migrate dev --name $current_date
|
npx prisma migrate dev --name $current_date
|
||||||
|
|||||||
+4
-4
@@ -46,7 +46,7 @@
|
|||||||
"@tanstack/react-query": "^5.59.18",
|
"@tanstack/react-query": "^5.59.18",
|
||||||
"@tanstack/react-table": "^8.20.5",
|
"@tanstack/react-table": "^8.20.5",
|
||||||
"@types/ws": "^8.5.13",
|
"@types/ws": "^8.5.13",
|
||||||
"@zenstackhq/runtime": "2.10.1",
|
"@zenstackhq/runtime": "2.10.2",
|
||||||
"argon2": "^0.41.1",
|
"argon2": "^0.41.1",
|
||||||
"bcrypt": "^5.1.1",
|
"bcrypt": "^5.1.1",
|
||||||
"class-variance-authority": "^0.7.0",
|
"class-variance-authority": "^0.7.0",
|
||||||
@@ -89,8 +89,8 @@
|
|||||||
"@types/node": "^20",
|
"@types/node": "^20",
|
||||||
"@types/react": "npm:types-react@19.0.0-rc.1",
|
"@types/react": "npm:types-react@19.0.0-rc.1",
|
||||||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
|
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
|
||||||
"@zenstackhq/openapi": "^2.10.1",
|
"@zenstackhq/openapi": "^2.10.2",
|
||||||
"@zenstackhq/tanstack-query": "^2.10.1",
|
"@zenstackhq/tanstack-query": "^2.10.2",
|
||||||
"eslint": "^8",
|
"eslint": "^8",
|
||||||
"eslint-config-next": "15.0.3",
|
"eslint-config-next": "15.0.3",
|
||||||
"eslint-plugin-tailwindcss": "^3.17.5",
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
"prisma": "^5.22.0",
|
"prisma": "^5.22.0",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"typescript": "^5",
|
"typescript": "^5",
|
||||||
"zenstack": "2.10.1"
|
"zenstack": "2.10.2"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@types/react": "npm:types-react@19.0.0-rc.1",
|
"@types/react": "npm:types-react@19.0.0-rc.1",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import {redirect} from "next/navigation";
|
import {redirect} from "next/navigation";
|
||||||
import {signIn, signOut} from "@/auth/auth";
|
import {signIn, signOut} from "@/auth/auth";
|
||||||
import {getServerUrl} from "@/utils/get-server-url";
|
import {getServerUrl} from "@/utils/get-server-url";
|
||||||
import {deleteOrganizationCookie} from "@/features/dashboard/organization-cookie";
|
import {deleteOrganizationCookie, setCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
||||||
//
|
//
|
||||||
// const baseUrl = getServerUrl();
|
// const baseUrl = getServerUrl();
|
||||||
// async function fetchCsrfToken() {
|
// async function fetchCsrfToken() {
|
||||||
@@ -37,7 +37,7 @@ import {deleteOrganizationCookie} from "@/features/dashboard/organization-cookie
|
|||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
export const signOutAction = async () => {
|
export const signOutAction = async () => {
|
||||||
const deleteCookieResponse = await deleteOrganizationCookie();
|
const deleteCookieResponse = await setCurrentOrganizationSlug("");
|
||||||
await signOut({ redirectTo: '/', redirect: true });
|
await signOut({ redirectTo: '/', redirect: true });
|
||||||
|
|
||||||
if (typeof window !== 'undefined') {
|
if (typeof window !== 'undefined') {
|
||||||
@@ -55,9 +55,12 @@ export const signOutAction = async () => {
|
|||||||
// }
|
// }
|
||||||
export const signInAction = async (type: string, formData?: any) => {
|
export const signInAction = async (type: string, formData?: any) => {
|
||||||
if (type === "google") {
|
if (type === "google") {
|
||||||
|
await setCurrentOrganizationSlug("default");
|
||||||
await signIn(type, {redirectTo: '/dashboard'})
|
await signIn(type, {redirectTo: '/dashboard'})
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
await setCurrentOrganizationSlug("default");
|
||||||
|
|
||||||
await signIn(type, {
|
await signIn(type, {
|
||||||
redirect: false,
|
redirect: false,
|
||||||
password: formData.password,
|
password: formData.password,
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
import {PrismaClient} from '@prisma/client'
|
import {PrismaClient} from '@prisma/client'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const prismaClientSingleton = () => {
|
const prismaClientSingleton = () => {
|
||||||
return new PrismaClient()
|
return new PrismaClient()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import {prisma} from "@/prisma";
|
import {prisma} from "@/prisma";
|
||||||
import {Settings} from "@prisma/client";
|
|
||||||
import {env} from "@/env.mjs";
|
import {env} from "@/env.mjs";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1159,13 +1159,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/debug@npm:6.0.1":
|
|
||||||
version: 6.0.1
|
|
||||||
resolution: "@prisma/debug@npm:6.0.1"
|
|
||||||
checksum: 10c0/72cb26a09f2e4d3c3f57f19d20d59acac42d35513f3ec4c141a54c07759399255b5952a47c9b870818ee278b74715483c3454685c2b919567f545cd75d9de15a
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/debug@npm:6.1.0":
|
"@prisma/debug@npm:6.1.0":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "@prisma/debug@npm:6.1.0"
|
resolution: "@prisma/debug@npm:6.1.0"
|
||||||
@@ -1180,13 +1173,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/engines-version@npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e":
|
|
||||||
version: 5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e
|
|
||||||
resolution: "@prisma/engines-version@npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e"
|
|
||||||
checksum: 10c0/73151c2546e93b095fc42751896bfa8378bfc5db41b0bcbdf4925484d6fdb8be784bf1911081abf8e4e2f39543db34f9a7a130f533b4aaab6b344ba942c0cf97
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/engines-version@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959":
|
"@prisma/engines-version@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959":
|
||||||
version: 6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959
|
version: 6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959
|
||||||
resolution: "@prisma/engines-version@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959"
|
resolution: "@prisma/engines-version@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959"
|
||||||
@@ -1206,18 +1192,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/engines@npm:6.0.1":
|
|
||||||
version: 6.0.1
|
|
||||||
resolution: "@prisma/engines@npm:6.0.1"
|
|
||||||
dependencies:
|
|
||||||
"@prisma/debug": "npm:6.0.1"
|
|
||||||
"@prisma/engines-version": "npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e"
|
|
||||||
"@prisma/fetch-engine": "npm:6.0.1"
|
|
||||||
"@prisma/get-platform": "npm:6.0.1"
|
|
||||||
checksum: 10c0/f44f1768505ed0e7f3c392dfcc9f2b81b9c4d3375bea47635789751f64dc4df35d0e31a19181ef79aa495688faa82ea4867015e6f32ea16c9f88c2aaaab370be
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/engines@npm:6.1.0":
|
"@prisma/engines@npm:6.1.0":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "@prisma/engines@npm:6.1.0"
|
resolution: "@prisma/engines@npm:6.1.0"
|
||||||
@@ -1241,17 +1215,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/fetch-engine@npm:6.0.1":
|
|
||||||
version: 6.0.1
|
|
||||||
resolution: "@prisma/fetch-engine@npm:6.0.1"
|
|
||||||
dependencies:
|
|
||||||
"@prisma/debug": "npm:6.0.1"
|
|
||||||
"@prisma/engines-version": "npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e"
|
|
||||||
"@prisma/get-platform": "npm:6.0.1"
|
|
||||||
checksum: 10c0/9a31760b617041bb5cf0d08624f94c730b391b602f12db481e5abf1bc544c02d5220efe1c7ba1c2e1c46c3f45e8fa799953658f59dbb1a20251009a7030427bf
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/fetch-engine@npm:6.1.0":
|
"@prisma/fetch-engine@npm:6.1.0":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "@prisma/fetch-engine@npm:6.1.0"
|
resolution: "@prisma/fetch-engine@npm:6.1.0"
|
||||||
@@ -1263,15 +1226,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/generator-helper@npm:6.0.1, @prisma/generator-helper@npm:6.0.x":
|
|
||||||
version: 6.0.1
|
|
||||||
resolution: "@prisma/generator-helper@npm:6.0.1"
|
|
||||||
dependencies:
|
|
||||||
"@prisma/debug": "npm:6.0.1"
|
|
||||||
checksum: 10c0/b7c3c2c9f90727bdd9795f2c7bb9f62e552e392271dde28a1b4df139af8489761c22cf8632dbd2fd69f8b243c0b278ec221c833b8acbe9f82bb8af8742851719
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/generator-helper@npm:6.1.0, @prisma/generator-helper@npm:6.1.x":
|
"@prisma/generator-helper@npm:6.1.0, @prisma/generator-helper@npm:6.1.x":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "@prisma/generator-helper@npm:6.1.0"
|
resolution: "@prisma/generator-helper@npm:6.1.0"
|
||||||
@@ -1290,15 +1244,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/get-platform@npm:6.0.1":
|
|
||||||
version: 6.0.1
|
|
||||||
resolution: "@prisma/get-platform@npm:6.0.1"
|
|
||||||
dependencies:
|
|
||||||
"@prisma/debug": "npm:6.0.1"
|
|
||||||
checksum: 10c0/78bc774e13d1e8179ff117b63006e8af882c38d2f7b654392ecd53f34f3d4c620f2ca661c135ae6d86c28df9d56733b04d2a900906b19e3933035b5be42aad87
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/get-platform@npm:6.1.0":
|
"@prisma/get-platform@npm:6.1.0":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "@prisma/get-platform@npm:6.1.0"
|
resolution: "@prisma/get-platform@npm:6.1.0"
|
||||||
@@ -1308,23 +1253,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/internals@npm:6.0.x":
|
|
||||||
version: 6.0.1
|
|
||||||
resolution: "@prisma/internals@npm:6.0.1"
|
|
||||||
dependencies:
|
|
||||||
"@prisma/debug": "npm:6.0.1"
|
|
||||||
"@prisma/engines": "npm:6.0.1"
|
|
||||||
"@prisma/fetch-engine": "npm:6.0.1"
|
|
||||||
"@prisma/generator-helper": "npm:6.0.1"
|
|
||||||
"@prisma/get-platform": "npm:6.0.1"
|
|
||||||
"@prisma/prisma-schema-wasm": "npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e"
|
|
||||||
"@prisma/schema-files-loader": "npm:6.0.1"
|
|
||||||
arg: "npm:5.0.2"
|
|
||||||
prompts: "npm:2.4.2"
|
|
||||||
checksum: 10c0/4d465c58cefdbed0f3914e3ce7b2c21edec9d803cf1a827d27426fa44dafdbbd23251780bd7dcb7dce2e1776d9f5c848b791348ddb24d07af6d8705799e1b462
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/internals@npm:6.1.x":
|
"@prisma/internals@npm:6.1.x":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "@prisma/internals@npm:6.1.0"
|
resolution: "@prisma/internals@npm:6.1.0"
|
||||||
@@ -1342,13 +1270,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/prisma-schema-wasm@npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e":
|
|
||||||
version: 5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e
|
|
||||||
resolution: "@prisma/prisma-schema-wasm@npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e"
|
|
||||||
checksum: 10c0/c005e3b6bbfeb68b595e61ee4e40484358f87a9899df363b7bab6b6b957c3f28674d048d6507a0792f3c561fa481daf011d1346752abe5ce73e315c419ae14f6
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/prisma-schema-wasm@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959":
|
"@prisma/prisma-schema-wasm@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959":
|
||||||
version: 6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959
|
version: 6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959
|
||||||
resolution: "@prisma/prisma-schema-wasm@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959"
|
resolution: "@prisma/prisma-schema-wasm@npm:6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959"
|
||||||
@@ -1356,16 +1277,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@prisma/schema-files-loader@npm:6.0.1":
|
|
||||||
version: 6.0.1
|
|
||||||
resolution: "@prisma/schema-files-loader@npm:6.0.1"
|
|
||||||
dependencies:
|
|
||||||
"@prisma/prisma-schema-wasm": "npm:5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e"
|
|
||||||
fs-extra: "npm:11.1.1"
|
|
||||||
checksum: 10c0/f414fde1cab2080521edbd0c9faf5e0025dff8b0af1db9c41b7465e8b820259dc330520947959d940173edb5bf4589a9b988873aca4d44f9c55af98e03925b27
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@prisma/schema-files-loader@npm:6.1.0":
|
"@prisma/schema-files-loader@npm:6.1.0":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "@prisma/schema-files-loader@npm:6.1.0"
|
resolution: "@prisma/schema-files-loader@npm:6.1.0"
|
||||||
@@ -3000,20 +2911,20 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/node@npm:*, @types/node@npm:>=10.0.0":
|
"@types/node@npm:*, @types/node@npm:>=10.0.0":
|
||||||
version: 22.10.2
|
version: 22.10.3
|
||||||
resolution: "@types/node@npm:22.10.2"
|
resolution: "@types/node@npm:22.10.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: "npm:~6.20.0"
|
undici-types: "npm:~6.20.0"
|
||||||
checksum: 10c0/2c7b71a040f1ef5320938eca8ebc946e6905caa9bbf3d5665d9b3774a8d15ea9fab1582b849a6d28c7fc80756a62c5666bc66b69f42f4d5dafd1ccb193cdb4ac
|
checksum: 10c0/0471a73c8672c803b1f2b912c2c466d00a217186933e8ff38ec7779b4a3f88a0eea3b513a59f2abf9de17cc8bbca688a3c6643c6513ac8dd1c3e45d25fab93b1
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/node@npm:^20, @types/node@npm:^20.12.7":
|
"@types/node@npm:^20, @types/node@npm:^20.12.7":
|
||||||
version: 20.17.10
|
version: 20.17.11
|
||||||
resolution: "@types/node@npm:20.17.10"
|
resolution: "@types/node@npm:20.17.11"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: "npm:~6.19.2"
|
undici-types: "npm:~6.19.2"
|
||||||
checksum: 10c0/458ec725319e57d4692cbb56d81f1a90f9074cef9ec185c59e6f6c557a3d2ded57c5e443b1e82eba923d53dda4db18797fb131ee6e46fdb3d7d2f54d54aaebe3
|
checksum: 10c0/16cb9c63d5b8903a6ee05b2948af3379e34b438682cb219f7877521fb24cf3ec5dbd7016dc95a156ae60821a936dea0018f460a7016cc3228b7f572d862bad68
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -3172,15 +3083,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@zenstackhq/language@npm:2.10.1":
|
|
||||||
version: 2.10.1
|
|
||||||
resolution: "@zenstackhq/language@npm:2.10.1"
|
|
||||||
dependencies:
|
|
||||||
langium: "npm:1.3.1"
|
|
||||||
checksum: 10c0/8a8c1b5e8344e0e8f26132f4e595668aca1991b7865054a2f85870a7aab7180dfd64c8bc6418a8d7eecae726e209ae6a47a49af16b2fa3e1f813bfd47ea97b3a
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@zenstackhq/language@npm:2.10.2":
|
"@zenstackhq/language@npm:2.10.2":
|
||||||
version: 2.10.2
|
version: 2.10.2
|
||||||
resolution: "@zenstackhq/language@npm:2.10.2"
|
resolution: "@zenstackhq/language@npm:2.10.2"
|
||||||
@@ -3190,7 +3092,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@zenstackhq/openapi@npm:^2.10.1":
|
"@zenstackhq/openapi@npm:^2.10.2":
|
||||||
version: 2.10.2
|
version: 2.10.2
|
||||||
resolution: "@zenstackhq/openapi@npm:2.10.2"
|
resolution: "@zenstackhq/openapi@npm:2.10.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3210,36 +3112,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@zenstackhq/runtime@npm:2.10.1":
|
|
||||||
version: 2.10.1
|
|
||||||
resolution: "@zenstackhq/runtime@npm:2.10.1"
|
|
||||||
dependencies:
|
|
||||||
bcryptjs: "npm:^2.4.3"
|
|
||||||
buffer: "npm:^6.0.3"
|
|
||||||
change-case: "npm:^4.1.2"
|
|
||||||
decimal.js-light: "npm:^2.5.1"
|
|
||||||
deepmerge: "npm:^4.3.1"
|
|
||||||
is-plain-object: "npm:^5.0.0"
|
|
||||||
logic-solver: "npm:^2.0.1"
|
|
||||||
lower-case-first: "npm:^2.0.2"
|
|
||||||
pluralize: "npm:^8.0.0"
|
|
||||||
safe-json-stringify: "npm:^1.2.0"
|
|
||||||
semver: "npm:^7.5.2"
|
|
||||||
superjson: "npm:^1.13.0"
|
|
||||||
tiny-invariant: "npm:^1.3.1"
|
|
||||||
traverse: "npm:^0.6.10"
|
|
||||||
ts-pattern: "npm:^4.3.0"
|
|
||||||
tslib: "npm:^2.4.1"
|
|
||||||
upper-case-first: "npm:^2.0.2"
|
|
||||||
uuid: "npm:^9.0.0"
|
|
||||||
zod: "npm:^3.22.4"
|
|
||||||
zod-validation-error: "npm:^1.5.0"
|
|
||||||
peerDependencies:
|
|
||||||
"@prisma/client": 5.0.0 - 6.0.x
|
|
||||||
checksum: 10c0/65374ee6443502b1ca2cce4e592fad0cfcc8ebc5287f6cb86412f9da799df22114d50c7d63adae4e3e6ed218af0b897b6c865989129f4484a6cd292dc204343c
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@zenstackhq/runtime@npm:2.10.2":
|
"@zenstackhq/runtime@npm:2.10.2":
|
||||||
version: 2.10.2
|
version: 2.10.2
|
||||||
resolution: "@zenstackhq/runtime@npm:2.10.2"
|
resolution: "@zenstackhq/runtime@npm:2.10.2"
|
||||||
@@ -3270,24 +3142,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@zenstackhq/sdk@npm:2.10.1":
|
|
||||||
version: 2.10.1
|
|
||||||
resolution: "@zenstackhq/sdk@npm:2.10.1"
|
|
||||||
dependencies:
|
|
||||||
"@prisma/generator-helper": "npm:6.0.x"
|
|
||||||
"@prisma/internals": "npm:6.0.x"
|
|
||||||
"@zenstackhq/language": "npm:2.10.1"
|
|
||||||
"@zenstackhq/runtime": "npm:2.10.1"
|
|
||||||
langium: "npm:1.3.1"
|
|
||||||
lower-case-first: "npm:^2.0.2"
|
|
||||||
semver: "npm:^7.5.2"
|
|
||||||
ts-morph: "npm:^16.0.0"
|
|
||||||
ts-pattern: "npm:^4.3.0"
|
|
||||||
upper-case-first: "npm:^2.0.2"
|
|
||||||
checksum: 10c0/8a17705274d6e992ab1c61eb3f6a59cc080435255738ef84dca8d8fae2057e5d050bc2961b52591397722f656e21c4373f597f2e035658607eab0e30d35a46e0
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@zenstackhq/sdk@npm:2.10.2":
|
"@zenstackhq/sdk@npm:2.10.2":
|
||||||
version: 2.10.2
|
version: 2.10.2
|
||||||
resolution: "@zenstackhq/sdk@npm:2.10.2"
|
resolution: "@zenstackhq/sdk@npm:2.10.2"
|
||||||
@@ -3306,7 +3160,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@zenstackhq/tanstack-query@npm:^2.10.1":
|
"@zenstackhq/tanstack-query@npm:^2.10.2":
|
||||||
version: 2.10.2
|
version: 2.10.2
|
||||||
resolution: "@zenstackhq/tanstack-query@npm:2.10.2"
|
resolution: "@zenstackhq/tanstack-query@npm:2.10.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -7855,9 +7709,9 @@ __metadata:
|
|||||||
"@types/react": "npm:types-react@19.0.0-rc.1"
|
"@types/react": "npm:types-react@19.0.0-rc.1"
|
||||||
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
|
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
|
||||||
"@types/ws": "npm:^8.5.13"
|
"@types/ws": "npm:^8.5.13"
|
||||||
"@zenstackhq/openapi": "npm:^2.10.1"
|
"@zenstackhq/openapi": "npm:^2.10.2"
|
||||||
"@zenstackhq/runtime": "npm:2.10.1"
|
"@zenstackhq/runtime": "npm:2.10.2"
|
||||||
"@zenstackhq/tanstack-query": "npm:^2.10.1"
|
"@zenstackhq/tanstack-query": "npm:^2.10.2"
|
||||||
argon2: "npm:^0.41.1"
|
argon2: "npm:^0.41.1"
|
||||||
bcrypt: "npm:^5.1.1"
|
bcrypt: "npm:^5.1.1"
|
||||||
class-variance-authority: "npm:^0.7.0"
|
class-variance-authority: "npm:^0.7.0"
|
||||||
@@ -7899,7 +7753,7 @@ __metadata:
|
|||||||
uuid: "npm:^11.0.3"
|
uuid: "npm:^11.0.3"
|
||||||
vaul: "npm:^1.1.1"
|
vaul: "npm:^1.1.1"
|
||||||
ws: "npm:^8.18.0"
|
ws: "npm:^8.18.0"
|
||||||
zenstack: "npm:2.10.1"
|
zenstack: "npm:2.10.2"
|
||||||
zod: "npm:^3.23.8"
|
zod: "npm:^3.23.8"
|
||||||
zustand: "npm:^5.0.2"
|
zustand: "npm:^5.0.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
@@ -10260,14 +10114,14 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"zenstack@npm:2.10.1":
|
"zenstack@npm:2.10.2":
|
||||||
version: 2.10.1
|
version: 2.10.2
|
||||||
resolution: "zenstack@npm:2.10.1"
|
resolution: "zenstack@npm:2.10.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@paralleldrive/cuid2": "npm:^2.2.0"
|
"@paralleldrive/cuid2": "npm:^2.2.0"
|
||||||
"@types/node": "npm:^20.12.7"
|
"@types/node": "npm:^20.12.7"
|
||||||
"@zenstackhq/language": "npm:2.10.1"
|
"@zenstackhq/language": "npm:2.10.2"
|
||||||
"@zenstackhq/sdk": "npm:2.10.1"
|
"@zenstackhq/sdk": "npm:2.10.2"
|
||||||
async-exit-hook: "npm:^2.0.1"
|
async-exit-hook: "npm:^2.0.1"
|
||||||
change-case: "npm:^4.1.2"
|
change-case: "npm:^4.1.2"
|
||||||
colors: "npm:1.4.0"
|
colors: "npm:1.4.0"
|
||||||
@@ -10296,10 +10150,10 @@ __metadata:
|
|||||||
zod: "npm:^3.22.4"
|
zod: "npm:^3.22.4"
|
||||||
zod-validation-error: "npm:^1.5.0"
|
zod-validation-error: "npm:^1.5.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
prisma: 5.0.0 - 6.0.x
|
prisma: 5.0.0 - 6.1.x
|
||||||
bin:
|
bin:
|
||||||
zenstack: bin/cli
|
zenstack: bin/cli
|
||||||
checksum: 10c0/fb13079dc265450c0725c3530212c5716c3ef54535daa4ea02847c02bf5d2bc2b655adc3d810449f0dc9f3b13002d6517ed5e7a3dd1efea3854210516a58b783
|
checksum: 10c0/1310dbf39d818d6cdef3d6b0520d3d581514663d2fc18219f6563bc2b3cccedddf368e7341763e5660eeb89cb796b3e6018fb5b5ff5d8e8c377f11ed10c94d1e
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user