mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
refactor(types): reorder CreateAgentResponse and its schema
Place schema definition before type alias for better readability and consistency
This commit is contained in:
parent
0a82955e91
commit
71a1daddef
@ -114,10 +114,10 @@ export interface CreateAgentRequest extends AgentBase {
|
||||
type: AgentType
|
||||
}
|
||||
|
||||
export type CreateAgentResponse = AgentEntity
|
||||
|
||||
export const CreateAgentResponseSchema = AgentEntitySchema
|
||||
|
||||
export type CreateAgentResponse = AgentEntity
|
||||
|
||||
export interface UpdateAgentRequest extends Partial<AgentBase> {}
|
||||
|
||||
export const GetAgentResponseSchema = AgentEntitySchema.extend({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user