UNPKG

@broadcom/endevor-bridge-for-git-rest-api

Version:

Endevor Bridge for Git Rest client

15 lines (14 loc) 536 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateMapping = void 0; const MappingAction_1 = require("./MappingAction"); const AbstractRequest_1 = require("../../AbstractRequest"); class UpdateMapping extends MappingAction_1.MappingAction { constructor(payload) { super(payload.context, payload.repository); this.customPath = "/update"; this.method = AbstractRequest_1.RequestMethod.POST; this.payload = payload; } } exports.UpdateMapping = UpdateMapping;