Skip to content

Instantly share code, notes, and snippets.

View myfancypants's full-sized avatar

Shanan Sussman myfancypants

View GitHub Profile
@myfancypants
myfancypants / NextJsReceiever.ts
Created February 25, 2025 18:44
Draft Slack Bolt Next.js Receiever
import querystring from "node:querystring";
import { ConsoleLogger, LogLevel, type Logger } from "@slack/logger";
import type App from "../App";
import { ReceiverMultipleAckError } from "../errors";
import type { Receiver, ReceiverEvent } from "../types/receiver";
import type { StringIndexed } from "../types/utilities";
import { isValidSlackRequest } from "./verify-request";
export interface NextJsReceiverOptions {
/**