/** * GitHub Node - Version 1 * Discriminator: resource=repository, operation=getProfile */ interface Credentials { githubApi: CredentialReference; githubOAuth2Api: CredentialReference; } /** Get the community profile of a repository with metrics, health score, description, license, etc */ export type GithubV1RepositoryGetProfileParams = { resource: 'repository'; operation: 'getProfile'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Repository Owner * @displayOptions.hide { operation: ["invite", "getUserIssues"] } * @default {"mode":"list","value":""} */ owner?: { __rl: true; mode: 'list' | 'url' | 'name'; value: string; cachedResultName?: string }; /** * Repository Name * @displayOptions.hide { resource: ["user", "organization"], operation: ["getRepositories"] } * @default {"mode":"list","value":""} */ repository?: { __rl: true; mode: 'list' | 'url' | 'name'; value: string; cachedResultName?: string }; }; export type GithubV1RepositoryGetProfileNode = { type: 'n8n-nodes-base.github'; version: 1; credentials?: Credentials; config: NodeConfig; };