Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
delete_menus: async (obj, params) => {
return await new Liana.ResourceRemover(models.menus, { recordId: params.id }).perform();
},
}
delete_movies: async (obj, params) => {
return await new Liana.ResourceRemover(models.movies, { recordId: params.id }).perform();
},
}
delete_countries: async (obj, params) => {
return await new Liana.ResourceRemover(models.countries, { recordId: params.id }).perform();
},
}
delete_chef_availabilities: async (obj, params) => {
return await new Liana.ResourceRemover(models.chef_availabilities, { recordId: params.id }).perform();
},
}
delete_actor_images: async (obj, params) => {
return await new Liana.ResourceRemover(models.actor_images, { recordId: params.id }).perform();
},
}
delete_orders_products: async (obj, params) => {
return await new Liana.ResourceRemover(models.orders_products, { recordId: params.id }).perform();
},
}
delete_genres_movies: async (obj, params) => {
return await new Liana.ResourceRemover(models.genres_movies, { recordId: params.id }).perform();
},
}
delete_menus_products: async (obj, params) => {
return await new Liana.ResourceRemover(models.menus_products, { recordId: params.id }).perform();
},
}
delete_comments: async (obj, params) => {
return await new Liana.ResourceRemover(models.comments, { recordId: params.id }).perform();
},
}
delete_delivery_men: async (obj, params) => {
return await new Liana.ResourceRemover(models.delivery_men, { recordId: params.id }).perform();
},
}