From c9154d42dac81311cf1957f0d75f806737849b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Thu, 27 Jul 2023 15:04:24 +0200 Subject: [PATCH] GitlabRoutes => Add some routes --- types/Gitlab/GitlabRoutes.ts | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/types/Gitlab/GitlabRoutes.ts b/types/Gitlab/GitlabRoutes.ts index d427e78..abd4c61 100644 --- a/types/Gitlab/GitlabRoutes.ts +++ b/types/Gitlab/GitlabRoutes.ts @@ -1,12 +1,14 @@ enum GitlabRoutes { - NOTIFICATION_SETTINGS = '/notification_settings', - USERS_GET = '/users', - REPOSITORY_GET = '/projects/{{id}}', - REPOSITORY_CREATE = '/projects', - REPOSITORY_EDIT = '/projects/{{id}}', - REPOSITORY_FORK = '/projects/{{id}}/fork', - REPOSITORY_MEMBER_ADD = '/projects/{{id}}/members', - REPOSITORY_MEMBERS_GET = '/projects/{{id}}/members/all' + NOTIFICATION_SETTINGS = '/notification_settings', + USERS_GET = '/users', + REPOSITORY_GET = '/projects/{{id}}', + REPOSITORY_CREATE = '/projects', + REPOSITORY_EDIT = '/projects/{{id}}', + REPOSITORY_FORK = '/projects/{{id}}/fork', + 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' } -- GitLab