users – How to target the initial revision of a node?

How to target the initial revision of a node?

This gives me a list of node IDs in which the latest revision of the node is of author $user->id():

$query = Drupal::entityQuery('node');
$query->condition('uid', $user->id());
$author_nids = $query->execute();

I would like the same but for nodes in which the initial revision was created by $user->id().