/** * GitHub Node - Version 1 * Discriminator: resource=repository, operation=get */ interface Credentials { githubApi: CredentialReference; githubOAuth2Api: CredentialReference; } /** Get the data of a single issue */ export type GithubV1RepositoryGetParams = { resource: 'repository'; operation: 'get'; 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 GithubV1RepositoryGetOutput = { allow_auto_merge?: boolean; allow_forking?: boolean; allow_merge_commit?: boolean; allow_rebase_merge?: boolean; allow_squash_merge?: boolean; allow_update_branch?: boolean; archive_url?: string; archived?: boolean; assignees_url?: string; blobs_url?: string; branches_url?: string; clone_url?: string; collaborators_url?: string; comments_url?: string; commits_url?: string; compare_url?: string; contents_url?: string; contributors_url?: string; created_at?: string; default_branch?: string; delete_branch_on_merge?: boolean; deployments_url?: string; disabled?: boolean; downloads_url?: string; events_url?: string; fork?: boolean; forks?: number; forks_count?: number; forks_url?: string; full_name?: string; git_commits_url?: string; git_refs_url?: string; git_tags_url?: string; git_url?: string; has_discussions?: boolean; has_downloads?: boolean; has_issues?: boolean; has_pages?: boolean; has_projects?: boolean; has_wiki?: boolean; hooks_url?: string; html_url?: string; id?: number; is_template?: boolean; issue_comment_url?: string; issue_events_url?: string; issues_url?: string; keys_url?: string; labels_url?: string; languages_url?: string; merge_commit_message?: string; merge_commit_title?: string; merges_url?: string; milestones_url?: string; mirror_url?: null; name?: string; network_count?: number; node_id?: string; notifications_url?: string; open_issues?: number; open_issues_count?: number; owner?: { avatar_url?: string; events_url?: string; followers_url?: string; following_url?: string; gists_url?: string; gravatar_id?: string; html_url?: string; id?: number; login?: string; node_id?: string; organizations_url?: string; received_events_url?: string; repos_url?: string; site_admin?: boolean; starred_url?: string; subscriptions_url?: string; type?: string; url?: string; user_view_type?: string; }; permissions?: { admin?: boolean; maintain?: boolean; pull?: boolean; push?: boolean; triage?: boolean; }; private?: boolean; pulls_url?: string; pushed_at?: string; releases_url?: string; size?: number; squash_merge_commit_message?: string; squash_merge_commit_title?: string; ssh_url?: string; stargazers_count?: number; stargazers_url?: string; statuses_url?: string; subscribers_count?: number; subscribers_url?: string; subscription_url?: string; svn_url?: string; tags_url?: string; teams_url?: string; temp_clone_token?: string; topics?: Array; trees_url?: string; updated_at?: string; url?: string; use_squash_pr_title_as_default?: boolean; visibility?: string; watchers?: number; watchers_count?: number; web_commit_signoff_required?: boolean; }; export type GithubV1RepositoryGetNode = { type: 'n8n-nodes-base.github'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };