feat(web): add GitLab API client wrapper and types

This commit is contained in:
2026-08-16 15:42:26 +00:00
parent f16a5bab6b
commit b5ddb6f3a1
4 changed files with 474 additions and 0 deletions
+2
View File
@@ -15,6 +15,7 @@ import { createWebNotificationsAPI } from './notifications';
import { createWebToolsAPI } from './tools';
import { createWebPushAPI } from './push';
import { createWebGitHubAPI } from './github';
import { createWebGitLabAPI } from './gitlab';
import { createWebClientAuthAPI } from './clientAuth';
export interface WebAPIsOptions {
@@ -45,6 +46,7 @@ export const createWebAPIs = (options: WebAPIsOptions = {}): RuntimeAPIs => {
permissions: createWebPermissionsAPI(),
notifications: createWebNotificationsAPI(),
github: createWebGitHubAPI({ urls: activeUrls }),
gitlab: createWebGitLabAPI({ urls: activeUrls }),
push: createWebPushAPI(),
clientAuth: createWebClientAuthAPI(),
tools: createWebToolsAPI(),