feat: migrate quest api to trpc

This commit is contained in:
Justin Lin committed 2025-04-16 16:24:29 +08:00
1 parent 55a41dd3b5
commit ac92950177
14 files changed
+55 -71

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
import { z } from 'zod'
export * from './src/quest.js'
export const passwordPolicy = {
minLength: 8,
minNumbers: 1,
+6
View File
@@ -0,0 +1,6 @@
export interface QuestDetailResponse {
_id: string
title: string
instruction: string
requirements: string[]
}
+3 -1
View File
@@ -2,8 +2,10 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"module": "Node16",
"moduleResolution": "node16",
"outDir": "./dist"
},
"include": ["*.js", "*.ts"],
"include": ["*.js", "*.ts", "src/**/*.ts"],
"exclude": ["node_modules", "dist"]
}