telefunc
Version:
Remote functions. Instead of API.
13 lines (12 loc) • 384 B
TypeScript
export { applyShield };
import type { Telefunction } from '../types.js';
import type { ConfigResolved } from '../serverConfig.js';
declare function applyShield(runContext: {
telefunction: Telefunction;
telefunctionName: string;
telefuncFilePath: string;
telefunctionArgs: unknown[];
serverConfig: Pick<ConfigResolved, 'log'>;
}): {
isValidRequest: boolean;
};