CloudFunctionAction

Defines some fields such as action, cmd and schema.

Description

The CloudFunctionAction defines some fields such as action, cmd and schema.

Fields

action

Action to be executed

public action: (req: Request, res: Response) => Promise<any>

cmd

Command to call the action

public cmd: string

schema

Schema to validate action parameters

public schema: Schema