Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • jw_sonar
  • jw_sonar_backup
  • main
  • move-to-esm-only
  • open_tool_for_self_hosting
  • v5.0
  • v4.1
  • v4.2
8 results

Target

Select target project
  • dojo_project/projects/shared/nodesharedcode
1 result
Select Git revision
  • jw_sonar
  • jw_sonar_backup
  • main
  • move-to-esm-only
  • open_tool_for_self_hosting
  • v5.0
  • v4.1
  • v4.2
8 results
Show changes
Commits on Source (7)
......@@ -13,5 +13,5 @@ These packages are needed :
By adding this repo as submodule
```bash
git submodule add ssh://git@ssh.hesge.ch:10572/isc/projects/dojo/projects/shared/nodesharedcode.git shared
git submodule add ../../shared/nodesharedcode.git shared
```
\ No newline at end of file
File moved
import ImmutableFileDescriptor from './ImmutableFileDescriptor';
interface EnonceFile {
dojoEnonceVersion: number,
version: number,
immutable: Array<ImmutableFileDescriptor>
result: {
container: string, volume: string
}
}
export default EnonceFile;
\ No newline at end of file
interface ImmutableFileDescriptor {
description: string,
path: string,
isDirectory: boolean,
}
export default ImmutableFileDescriptor;
\ No newline at end of file
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
......@@ -2,10 +2,10 @@ import GitlabUser from './GitlabUser';
interface GitlabMember extends GitlabUser {
'access_level': number,
'created_at': string,
'created_by': GitlabUser,
'expires_at': string | null
access_level: number,
created_at: string,
created_by: GitlabUser,
expires_at: string | null
}
......
......@@ -8,7 +8,9 @@ enum GitlabRoutes {
REPOSITORY_MEMBER_ADD = '/projects/{{id}}/members',
REPOSITORY_MEMBERS_GET = '/projects/{{id}}/members/all',
REPOSITORY_VARIABLES_ADD = '/projects/{{id}}/variables',
REPOSITORY_BRANCHES_PROTECT = '/projects/{{id}}/protected_branches'
REPOSITORY_BRANCHES_PROTECT = '/projects/{{id}}/protected_branches',
REPOSITORY_TREE = '/projects/{{id}}/repository/tree',
REPOSITORY_FILE = '/projects/{{id}}/repository/files/{{filePath}}',
}
......
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;