Merge master

This commit is contained in:
User
2025-09-08 00:05:41 +02:00
7 changed files with 300 additions and 3032 deletions
+1 -3
View File
@@ -1,4 +1,4 @@
FROM node:24
FROM mcr.microsoft.com/playwright:v1.55.0-noble
WORKDIR /app
@@ -6,8 +6,6 @@ COPY package*.json /app/
RUN npm install
RUN npx -y playwright install --with-deps
COPY ./ /app/
ARG VITE_API_URL=${VITE_API_URL}
+8 -3
View File
@@ -1,16 +1,17 @@
import { defineConfig } from "@hey-api/openapi-ts"
export default defineConfig({
client: "legacy/axios",
input: "./openapi.json",
output: "./src/client",
// exportSchemas: true,
plugins: [
"legacy/axios",
{
name: "@hey-api/sdk",
// NOTE: this doesn't allow tree-shaking
asClass: true,
operationId: true,
classNameBuilder: "{{name}}Service",
methodNameBuilder: (operation) => {
// @ts-ignore
let name: string = operation.name
@@ -24,5 +25,9 @@ export default defineConfig({
return name.charAt(0).toLowerCase() + name.slice(1)
},
},
{
name: "@hey-api/schemas",
type: "json",
},
],
})
})
+256 -3022
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -14,7 +14,7 @@
"@chakra-ui/react": "^3.26.0",
"@emotion/react": "^11.14.0",
"@tanstack/react-query": "^5.28.14",
"@tanstack/react-query-devtools": "^5.74.9",
"@tanstack/react-query-devtools": "^5.87.1",
"@tanstack/react-router": "1.19.1",
"axios": "1.9.0",
"form-data": "4.0.4",
@@ -27,15 +27,15 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@hey-api/openapi-ts": "^0.57.0",
"@playwright/test": "^1.52.0",
"@hey-api/openapi-ts": "0.73.0",
"@playwright/test": "^1.55.0",
"@tanstack/router-devtools": "1.19.1",
"@tanstack/router-vite-plugin": "1.19.0",
"@types/node": "^22.15.3",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"@vitejs/plugin-react-swc": "^3.9.0",
"dotenv": "^16.4.5",
"dotenv": "^17.2.2",
"typescript": "^5.2.2",
"vite": "^6.3.4"
}
+25
View File
@@ -212,6 +212,31 @@ export const NewPasswordSchema = {
title: "NewPassword",
} as const
export const PrivateUserCreateSchema = {
properties: {
email: {
type: "string",
title: "Email",
},
password: {
type: "string",
title: "Password",
},
full_name: {
type: "string",
title: "Full Name",
},
is_verified: {
type: "boolean",
title: "Is Verified",
default: false,
},
},
type: "object",
required: ["email", "password", "full_name"],
title: "PrivateUserCreate",
} as const
export const TokenSchema = {
properties: {
access_token: {