Skip to main content

github.listrepositoriesforauthenticateduserprops.affiliation

Home > @runlightyear/github > ListRepositoriesForAuthenticatedUserProps > affiliation

ListRepositoriesForAuthenticatedUserProps.affiliation property

Array of values. Can include:

owner: Repositories that are owned by the authenticated user. collaborator: Repositories that the user has been added to as a collaborator. organization_member: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.

Default: owner,collaborator,organization_member

Signature:
affiliation?: Array<"owner" | "collaborator" | "organization_member">;