From f5dab8defbb7843ccf1ef9c309c532e0d5dfaed7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Thu, 19 Oct 2023 17:26:51 +0200
Subject: [PATCH] Add GitlabProfile interface

---
 types/Gitlab/GitlabProfile.ts | 40 +++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 types/Gitlab/GitlabProfile.ts

diff --git a/types/Gitlab/GitlabProfile.ts b/types/Gitlab/GitlabProfile.ts
new file mode 100644
index 0000000..aa7506d
--- /dev/null
+++ b/types/Gitlab/GitlabProfile.ts
@@ -0,0 +1,40 @@
+import GitlabUser from './GitlabUser';
+
+
+interface GitlabProfile extends GitlabUser {
+    created_at: string,
+    bio: string,
+    location: string,
+    public_email: string,
+    skype: string,
+    linkedin: string,
+    twitter: string,
+    discord: string,
+    website_url: string,
+    organization: string,
+    job_title: string,
+    pronouns: string,
+    bot: boolean,
+    work_information: string,
+    local_time: string,
+    last_sign_in_at: string,
+    confirmed_at: string,
+    last_activity_on: string,
+    email: string,
+    theme_id: number,
+    color_scheme_id: number,
+    projects_limit: number,
+    current_sign_in_at: string,
+    identities: Array<{
+        provider: string, extern_uid: string
+    }>,
+    can_create_group: boolean,
+    can_create_project: boolean,
+    two_factor_enabled: boolean,
+    external: boolean,
+    private_profile: boolean,
+    commit_email: string
+}
+
+
+export default GitlabProfile;
\ No newline at end of file
-- 
GitLab