refactor(types): reorder CreateAgentResponse and its schema

Place schema definition before type alias for better readability and consistency
This commit is contained in:
icarus 2025-09-18 13:00:41 +08:00
parent 0a82955e91
commit 71a1daddef

View File

@ -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({