UNPKG

@joshfarrant/shortcuts-js

Version:
24 lines 649 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Get Latest Bursts * @section Content Types > Photos & Video > Photos * @icon Bursts * * Gets the most recent burst photos from the camera roll. * * ```js * getLatestBursts({ * count: 20, * }); * ``` */ const getLatestBursts = ({ count = 1, }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.getlatestbursts', WFWorkflowActionParameters: { WFGetLatestPhotoCount: count, }, }); exports.default = utils_1.withActionOutput(getLatestBursts); //# sourceMappingURL=getLatestBursts.js.map