8base functions types

Types helpful for implementing handlers in the 8base custom function.