query GetFilesOnRoot($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { object(expression: "HEAD:") { ... on Tree { entries { name type } } } } }