@icebro/actionhero
Version:
The reusable, scalable, and quick node.js API server for stateless and stateful applications
22 lines (21 loc) • 448 B
TypeScript
import { Action } from "./../index";
export declare class ValidationTest extends Action {
name: string;
description: string;
inputs: {
string: {
required: boolean;
validator: (param: string) => boolean;
};
};
outputExample: {
string: string;
};
run({ params }: {
params: {
string: string;
};
}): Promise<{
string: string;
}>;
}