UNPKG

telefunc

Version:

Remote functions. Instead of API.

13 lines (12 loc) 384 B
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; };