mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
19 lines
345 B
TypeScript
19 lines
345 B
TypeScript
type MetaData = {
|
|
userName: string
|
|
repoName: string
|
|
branchName: string
|
|
defaultBranchName?: string
|
|
repoUrl?: string
|
|
userUrl?: string
|
|
type?: 'tree' | 'blob' | string
|
|
}
|
|
|
|
type TreeNode = {
|
|
name: string
|
|
contents?: TreeNode[]
|
|
path: string
|
|
type: 'tree' | 'blob' | 'commit'
|
|
url?: string
|
|
sha?: string
|
|
accessDenied?: boolean
|
|
}
|