You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: authorization.rs
    path of file: ./repos/grafbase/engine/crates/graphql-extensions/src
    
    the code of the file until where you have to start completion: //! ----------------------------------------------------------------------------
//! The Auth is going to be injected inside engine instead of just living as an
//! Extension as it's adding complexity without much gain.
//! ----------------------------------------------------------------------------
use std::sync::Arc;

use common_types::auth::{ExecutionAuth, Operations};
use engine::{
    extensio
    
fn guess_batch_operation_type_name(info: &ResolveInfo<'_>, required_op: Operations) -> Option<NamedType<'static>> {
    let suffix = match required_op {
        Operations::CREATE => "CreateManyPayload",
        Operations::UPDATE => "UpdateManyPayload",
        Operations::DELETE => "DeleteManyPayload",
        _ => panic!("unexpected operation"),
    };
    info.return_type
        .named_type()
        .as_str()
        .strip_suffix(suffix)
        .map(|name| name.to_owned().into())
}