UNPKG

@joshfarrant/shortcuts-js

Version:
24 lines 639 B
"use strict"; 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