chore: removed create recipe from session modal and rest api (#9916)

This commit is contained in:
Lifei Zhou
2026-06-22 10:49:55 +10:00
committed by GitHub
parent 2712c066bc
commit b893b5f24e
18 changed files with 3 additions and 1507 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-46
View File
@@ -42,11 +42,6 @@ export type Author = {
metadata?: string | null;
};
export type AuthorRequest = {
contact?: string | null;
metadata?: string | null;
};
export type CallToolRequest = {
arguments: unknown;
name: string;
@@ -178,16 +173,6 @@ export type CreateCustomProviderResponse = {
provider_name: string;
};
export type CreateRecipeRequest = {
author?: AuthorRequest | null;
session_id: string;
};
export type CreateRecipeResponse = {
error?: string | null;
recipe?: Recipe | null;
};
export type CreateScheduleRequest = {
cron: string;
id: string;
@@ -3645,37 +3630,6 @@ export type McpUiProxyResponses = {
200: unknown;
};
export type CreateRecipeData = {
body: CreateRecipeRequest;
path?: never;
query?: never;
url: '/recipes/create';
};
export type CreateRecipeErrors = {
/**
* Bad request
*/
400: unknown;
/**
* Precondition failed - Agent not available
*/
412: unknown;
/**
* Internal server error
*/
500: unknown;
};
export type CreateRecipeResponses = {
/**
* Recipe created successfully
*/
200: CreateRecipeResponse;
};
export type CreateRecipeResponse2 = CreateRecipeResponses[keyof CreateRecipeResponses];
export type DecodeRecipeData = {
body: DecodeRecipeRequest;
path?: never;