UNPKG

nest-gitlab

Version:

A gitbeaker wrapper for NestJS framework

15 lines (14 loc) 642 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const node_1 = require("@gitbeaker/node"); var BundleType; (function (BundleType) { BundleType["Groups"] = "GroupsBundle"; BundleType["Users"] = "UsersBundle"; BundleType["Projects"] = "ProjectsBundle"; })(BundleType = exports.BundleType || (exports.BundleType = {})); const option = { host: 'http://example.com', token: '123456' }; const groupsBundle = new node_1.GroupsBundle(option); const usersBundle = new node_1.UsersBundle(option); const projectsBundle = new node_1.ProjectsBundle(option); const gitlab = new node_1.Gitlab(option);