@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
24 lines • 649 B
JavaScript
;
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