Filter viewer results

Hi,
I am using below query to get users repositories.

{
viewer {
repositories(first: 100, orderBy: {field: , UPDATED_AT direction: DESC}, affiliations: [OWNER, COLLABORATOR, ORGANIZATION_MEMBER], ownerAffiliations: [OWNER, COLLABORATOR, ORGANIZATION_MEMBER]) {
totalCount
pageInfo {
startCursor
endCursor
hasPreviousPage
hasNextPage
}
edges {
node {
nameWithOwner
}
}
}
}
}

This returns all repositories the user has access.
How can I also filter these repositories using nameWithOwner field?
Lets say, I want to get all repositories where the users has access, where repository name contains “foo” .

Regards,
Sina.