From aa038f29e4595c631084935ea5e3e4846ceea1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Mon, 3 Jul 2023 16:45:01 +0200 Subject: [PATCH] Add GitlabRoutes enum --- types/Gitlab/GitlabRoutes.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 types/Gitlab/GitlabRoutes.ts diff --git a/types/Gitlab/GitlabRoutes.ts b/types/Gitlab/GitlabRoutes.ts new file mode 100644 index 0000000..805af9f --- /dev/null +++ b/types/Gitlab/GitlabRoutes.ts @@ -0,0 +1,12 @@ +enum GitlabRoutes { + NOTIFICATION_SETTINGS = '/notification_settings', + USERS_GET = '/users', + REPOSITORY_GET = '/projects/{{id}}', + REPOSITORY_CREATE = '/projects', + REPOSITORY_FORK = '/projects/{{id}}/fork', + REPOSITORY_MEMBER_ADD = '/projects/{{id}}/members', + REPOSITORY_MEMBERS_GET = '/projects/{{id}}/members/all' +} + + +export default GitlabRoutes; \ No newline at end of file -- GitLab