UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

19 lines 593 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createVolume = void 0; const createVolume = ({ httpClient, }) => ({ description, filesystem_label, filesystem_type, name, region, size_gigabytes, snapshot_id, tags, }) => { const url = `/volumes`; const body = { description, filesystem_label, filesystem_type, name, region, size_gigabytes, snapshot_id, tags, }; return httpClient.post(url, body); }; exports.createVolume = createVolume; //# sourceMappingURL=create-volume.js.map