UNPKG

@joshfarrant/shortcuts-js

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