Applied server side call to parse and save recipe (#5022)
This commit is contained in:
@@ -274,9 +274,6 @@ export const startTetrateSetup = <ThrowOnError extends boolean = false>(options?
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a Recipe configuration from the current session
|
||||
*/
|
||||
export const createRecipe = <ThrowOnError extends boolean = false>(options: Options<CreateRecipeData, ThrowOnError>) => {
|
||||
return (options.client ?? _heyApiClient).post<CreateRecipeResponses, CreateRecipeErrors, ThrowOnError>({
|
||||
url: '/recipes/create',
|
||||
|
||||
@@ -571,7 +571,6 @@ export type Recipe = {
|
||||
export type RecipeManifestResponse = {
|
||||
id: string;
|
||||
lastModified: string;
|
||||
name: string;
|
||||
recipe: Recipe;
|
||||
};
|
||||
|
||||
@@ -650,7 +649,6 @@ export type RunNowResponse = {
|
||||
|
||||
export type SaveRecipeRequest = {
|
||||
id?: string | null;
|
||||
is_global?: boolean | null;
|
||||
recipe: Recipe;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user