GSI - Employe Self Service Mobile
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
514 B

2 months ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.deletePackage = exports.API_VERSION = void 0;
  4. const apiv2_1 = require("../apiv2");
  5. const api_1 = require("../api");
  6. exports.API_VERSION = "v1beta2";
  7. const client = new apiv2_1.Client({
  8. urlPrefix: api_1.artifactRegistryDomain,
  9. auth: true,
  10. apiVersion: exports.API_VERSION,
  11. });
  12. async function deletePackage(name) {
  13. const res = await client.delete(name);
  14. return res.body;
  15. }
  16. exports.deletePackage = deletePackage;