@mbakgun/n8n-nodes-slack-socket-mode
Version:
Slack Socket Mode Node for n8n that allows you to use +100 Slack events in your n8n instance with proxy mode
21 lines • 766 B
TypeScript
import { type Logger } from '@slack/logger';
import type { InstallURLOptions } from '../install-url-options';
import type { StateStore } from './interface';
export interface FileStateStoreArgs {
stateExpirationSeconds?: number;
baseDir?: string;
logger?: Logger;
}
export declare class FileStateStore implements StateStore {
private baseDir;
private stateExpirationSeconds;
private logger;
constructor(args: FileStateStoreArgs);
generateStateParam(installOptions: InstallURLOptions, now: Date): Promise<string>;
verifyStateParam(now: Date, state: string): Promise<InstallURLOptions>;
private alreadyExists;
private writeToFile;
private readFile;
private deleteFile;
}
//# sourceMappingURL=file-state-store.d.ts.map