import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
const __document = "mutation userAppPinsUnpinApp($appId: ID!) {\n  userAppPins {\n    unpinApp(appId: $appId) {\n      __typename\n    }\n  }\n}";
// Input Schema (GraphQL variables)
export const UserAppPinsUnpinAppInput = Schema.Struct({
    appId: Schema.String,
}).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
    query: __document,
    operationName: "userAppPinsUnpinApp",
    type: "mutation",
}));
// Output Schema (GraphQL selection set)
export const UserAppPinsUnpinAppOutput = Schema.NullOr(Schema.String).pipe(T.ResponsePath("userAppPins.unpinApp"));
export const userAppPinsUnpinApp = API.make(() => ({
    inputSchema: UserAppPinsUnpinAppInput,
    outputSchema: UserAppPinsUnpinAppOutput,
}));
//# sourceMappingURL=userAppPinsUnpinApp.js.map