feat: new api
This commit is contained in:
1 parent
47341bb385
commit
86375ea6bb
52 files changed
+571
-491
No files matched your search
@@ -11,7 +11,7 @@ const SchemaData = {
|
||||
longNick: { type: 'string' },
|
||||
sex: { type: 'number' }//传Sex值?建议传0
|
||||
},
|
||||
required: ['nick', 'longNick', 'sex',],
|
||||
required: ['nick', 'longNick', 'sex'],
|
||||
} as const satisfies JSONSchema;
|
||||
|
||||
type Payload = FromSchema<typeof SchemaData>;
|
||||
|
||||
Reference in new issue
Block a user