@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
24 lines • 639 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../utils");
/**
* @action Get Latest Videos
* @section Content Types > Photos & Video > Photos
* @icon Photos
*
* Gets the most recent videos from the camera roll.
*
* ```js
* getLatestVideos({
* count: 1,
* });
* ```
*/
const getLatestVideos = ({ count = 1, }) => ({
WFWorkflowActionIdentifier: 'is.workflow.actions.getlastvideo',
WFWorkflowActionParameters: {
WFGetLatestPhotoCount: count,
},
});
exports.default = utils_1.withActionOutput(getLatestVideos);
//# sourceMappingURL=getLatestVideos.js.map