webssh2-server
Version:
A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2
10 lines (9 loc) • 317 B
TypeScript
/**
* Metadata state reducer
*/
import type { SessionMetadata } from '../types.js';
import type { SessionAction } from '../actions.js';
/**
* Metadata reducer - handles session metadata state transitions
*/
export declare const metadataReducer: (state: SessionMetadata, action: SessionAction) => SessionMetadata;