Skip to content

Commit 3563fb4

Browse files
committed
v0.9.0: MD prompt + converter, mobile AI FAB, open module system, prev/next nav
1 parent 1c891f1 commit 3563fb4

6 files changed

Lines changed: 838 additions & 295 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "iface",
33
"private": true,
4-
"version": "0.8.1",
4+
"version": "0.9.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src/data/schema.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
import { z } from "zod";
22

3-
export const ModuleSchema = z.enum([
4-
"JS基础",
5-
"React",
6-
"性能优化",
7-
"网络",
8-
"CSS",
9-
"TypeScript",
10-
"手写题",
11-
"项目深挖",
12-
]);
3+
// Accept any non-empty string so users can import custom topics (Golang, Java, etc.)
4+
export const ModuleSchema = z.string().min(1);
135

146
export const DifficultySchema = z.union([
157
z.literal(1),

0 commit comments

Comments
 (0)