From 5c073c308eb9d9d3774ad4cfb4bd7ba346fb5d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Mon, 31 Jul 2023 23:38:42 +0200 Subject: [PATCH] GitlabRoutes => Add some routes --- types/Gitlab/GitlabRoutes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/Gitlab/GitlabRoutes.ts b/types/Gitlab/GitlabRoutes.ts index abd4c61..0094be0 100644 --- a/types/Gitlab/GitlabRoutes.ts +++ b/types/Gitlab/GitlabRoutes.ts @@ -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}}', } -- GitLab