CustomHandlerInput: {
    dataSource?: string | RefType<any>;
    entry: string;
}

Type declaration

  • Optional dataSource?: string | RefType<any>

    The data source used by the function. Can reference a model in the schema with a.ref('ModelName') or any string data source name configured in your API

    Defaults to 'NONE_DS'

  • entry: string

    The path to the file that contains the function entry point. If this is a relative path, it is computed relative to the file where this handler is defined