mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 15:49:29 +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
|
type: AgentType
|
||||||
}
|
}
|
||||||
|
|
||||||
export type CreateAgentResponse = AgentEntity
|
|
||||||
|
|
||||||
export const CreateAgentResponseSchema = AgentEntitySchema
|
export const CreateAgentResponseSchema = AgentEntitySchema
|
||||||
|
|
||||||
|
export type CreateAgentResponse = AgentEntity
|
||||||
|
|
||||||
export interface UpdateAgentRequest extends Partial<AgentBase> {}
|
export interface UpdateAgentRequest extends Partial<AgentBase> {}
|
||||||
|
|
||||||
export const GetAgentResponseSchema = AgentEntitySchema.extend({
|
export const GetAgentResponseSchema = AgentEntitySchema.extend({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user