mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
* feat: add chat visibility controls and improve quote reader permissions (#6102) * feat: add chat visibility controls and improve quote reader permissions * fix test * zod * fix * test & openapi * frontend filter * update name * fix * fix * rename variables * fix * test * fix build * fix * fix --------- Co-authored-by: archer <545436317@qq.com> * app update time * recent app * fix * type * fix * context * perf: update app usingtime code * fix: ts * update parent * doc * perf: code per * unauth refresh --------- Co-authored-by: archer <545436317@qq.com>
13 lines
441 B
TypeScript
13 lines
441 B
TypeScript
import { ObjectIdSchema } from '../../../common/type/mongo';
|
|
import z from 'zod';
|
|
|
|
/* Recently Used Apps */
|
|
export const GetRecentlyUsedAppsResponseSchema = z.array(
|
|
z.object({
|
|
appId: ObjectIdSchema.describe('应用ID'),
|
|
name: z.string().min(1).describe('应用名称'),
|
|
avatar: z.string().min(1).describe('应用头像')
|
|
})
|
|
);
|
|
export type GetRecentlyUsedAppsResponseType = z.infer<typeof GetRecentlyUsedAppsResponseSchema>;
|