SqlHandler type

type SqlHandler<T> = (
  changes: SqlChange<T>[],
  context: InvocationContext
) => FunctionResult