Skip to content

Instantly share code, notes, and snippets.

@myeongjae-kim
Created October 25, 2022 07:04
Show Gist options
  • Save myeongjae-kim/e3ba5ec4debc2ad55130bbd1519f3c33 to your computer and use it in GitHub Desktop.
Save myeongjae-kim/e3ba5ec4debc2ad55130bbd1519f3c33 to your computer and use it in GitHub Desktop.
gitSource?:
| {
type: "github"
repoId: string | number
ref?: string | null
sha?: string
prId?: number | null
}
| {
type: "github"
org: string
repo: string
ref?: string | null
sha?: string
prId?: number | null
}
| {
type: "gitlab"
projectId: string | number
ref?: string | null
sha?: string
prId?: number | null
}
| {
type: "bitbucket"
workspaceUuid?: string
repoUuid: string
ref?: string | null
sha?: string
prId?: number | null
}
| {
type: "bitbucket"
owner: string
slug: string
ref?: string | null
sha?: string
prId?: number | null
}
| {
type: "custom"
ref: string
sha: string
gitUrl: string
}
| {
type: "github"
ref: string
sha: string
repoId: number
org?: string
repo?: string
}
| {
type: "gitlab"
ref: string
sha: string
projectId: number
}
| {
type: "bitbucket"
ref: string
sha: string
owner?: string
slug?: string
workspaceUuid: string
repoUuid: string
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment