import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
const __document = "mutation githubUser {\n  githubUser {\n    generateGitHubUserAccessToken\n  }\n}";
// Input Schema (GraphQL variables)
export const GithubUserInput = Schema.Struct({}).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
    query: __document,
    operationName: "githubUser",
    type: "mutation",
}));
// Output Schema (GraphQL selection set)
export const GithubUserOutput = Schema.Struct({
    generateGitHubUserAccessToken: Schema.NullOr(Schema.String),
}).pipe(T.ResponsePath("githubUser"));
/**
 * Mutations for GitHub users
 */
export const githubUser = API.make(() => ({
    inputSchema: GithubUserInput,
    outputSchema: GithubUserOutput,
}));
//# sourceMappingURL=githubUser.js.map