fn generate_node_delete_endpoint(t: &Type) -> Property {
    let mut arguments = HashMap::new();
    arguments.insert(
        "input".to_string(),
        Argument::new(
            "input".to_string(),
            ArgumentKind::Required,
            fmt_node_delete_input_name(t),
        ),
    );
    arguments.insert(
        "partitionKey".to_string(),
        Argument::new(
            "partitionKey".to_string(),
            ArgumentKind::Optional,
            "String".to_string(),
        ),
    );

    Property::new(
        fmt_node_delete_endpoint_name(t),
        PropertyKind::NodeDeleteMutation {
            label: fmt_node_object_name(t),
        },
        "Int".to_string(),
    )
    .with_arguments(arguments)
}
/// Takes a WG type and returns a NodeType representing a GqlNodeDeleteEndpoint
///
/// Format:
/// GqlNodeDeleteEndpoint (input: <GqlNodeQueryInput>): Int
///
/// Ex:
/// ProjectDelete (input: <ProjectQueryInput>): Int
Takes a WG type and returns a NodeType representing a GqlNodeDeleteEndpoint
Format:
GqlNodeDeleteEndpoint (input: ): Int

ProjectDelete (input: ): Int
Takes a WG type and returns a NodeType representing a GqlNodeDeleteEndpoint Format : GqlNodeDeleteEndpoint ( input : ) : Int ProjectDelete ( input : ) : Int
fn generate_node_delete_endpoint(t: &Type) -> Property {
    let mut arguments = HashMap::new();
    arguments.insert(
        "input".to_string(),
        Argument::new(
            "input".to_string(),
            ArgumentKind::Required,
            fmt_node_delete_input_name(t),
        ),
    );
    arguments.insert(
        "partitionKey".to_string(),
        Argument::new(
            "partitionKey".to_string(),
            ArgumentKind::Optional,
            "String".to_string(),
        ),
    );
    Property::new(
        fmt_node_delete_endpoint_name(t),
        PropertyKind::NodeDeleteMutation {
            label: fmt_node_object_name(t),
        },
        "Int".to_string(),
    )
    .with_arguments(arguments)
}
fn generate_node_delete_endpoint ( t : & Type ) -> Property { let mut arguments = HashMap :: new ( ) ; arguments . insert ( " " . to_string ( ) , Argument :: new ( " " . to_string ( ) , ArgumentKind :: Required , fmt_node_delete_input_name ( t ) , ) , ) ; arguments . insert ( " " . to_string ( ) , Argument :: new ( " " . to_string ( ) , ArgumentKind :: Optional , " " . to_string ( ) , ) , ) ; Property :: new ( fmt_node_delete_endpoint_name ( t ) , PropertyKind :: NodeDeleteMutation { label : fmt_node_object_name ( t ) , } , " " . to_string ( ) , ) . with_arguments ( arguments ) }
Takes a WG type and returns a NodeType representing a GqlNodeDeleteEndpoint
Format:
GqlNodeDeleteEndpoint (input: <GqlNodeQueryInput>): Int
Takes a WG type and returns a NodeType representing a GqlNodeDeleteEndpoint Format : GqlNodeDeleteEndpoint ( input : <GqlNodeQueryInput > ) : Int
t
&Type
t
&Type