@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
20 lines • 577 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../utils");
/**
* @action Scan QR/BarCode
* @section Content Types > Text >
* @icon QRCode
*
* Scans a QR code or bar code using the camera, and returns the text/URL that is found.
*
* ```js
* scanQROrBarcode();
* ```
*/
const scanQROrBarcode = () => ({
WFWorkflowActionIdentifier: 'is.workflow.actions.scanbarcode',
WFWorkflowActionParameters: {},
});
exports.default = utils_1.withActionOutput(scanQROrBarcode);
//# sourceMappingURL=scanQROrBarcode.js.map