Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get_movies: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.movies, { recordId: id }).perform();
},
},
get_customers: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.customers, { recordId: id }).perform();
},
},
get_products: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.products, { recordId: id }).perform();
},
},
get_chefs: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.chefs, { recordId: id }).perform();
},
},
get_genres_movies: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.genres_movies, { recordId: id }).perform();
},
},
get_countries_movies: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.countries_movies, { recordId: id }).perform();
},
},
get_orders: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.orders, { recordId: id }).perform();
},
},
get_actors: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.actors, { recordId: id }).perform();
},
},
get_orders_products: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.orders_products, { recordId: id }).perform();
},
},
get_comments: async (obj, { id }, context, info) => {
return await new Liana.ResourceGetter(models.comments, { recordId: id }).perform();
},
},