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