Skip to content
Snippets Groups Projects
Commit 9d75dd1f authored by michael.minelli's avatar michael.minelli
Browse files

Add some Gitlab types

parent fb436ff8
No related branches found
No related tags found
No related merge requests found
interface GitlabFile {
file_name: string,
file_path: string,
size: number,
encoding: string,
content_sha256: string,
ref: string,
blob_id: string,
commit_id: string,
last_commit_id: string,
execute_filemode: boolean,
content: string,
}
export default GitlabFile;
\ No newline at end of file
import GitlabTreeFileType from './GitlabTreeFileType';
interface GitlabTreeFile {
id: number,
name: string,
type: GitlabTreeFileType,
path: string,
mode: string
}
export default GitlabTreeFile;
\ No newline at end of file
enum GitlabTreeFileType {
TREE = 'tree',
BLOB = 'blob',
COMMIT = 'commit'
}
export default GitlabTreeFileType;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment