UNPKG

@joshfarrant/shortcuts-js

Version:
25 lines 793 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Variable_1 = require("./interfaces/Variable"); const askWhenRun = new Variable_1.default({ Type: 'Ask', }); exports.askWhenRun = askWhenRun; const clipboard = new Variable_1.default({ Type: 'Clipboard', }); exports.clipboard = clipboard; const currentDate = new Variable_1.default({ Type: 'CurrentDate', }); exports.currentDate = currentDate; const shortcutInput = new Variable_1.default({ Type: 'ExtensionInput', }); exports.shortcutInput = shortcutInput; const repeatIndex = (level) => new Variable_1.default({ VariableName: level && level !== 1 ? `Repeat Index ${level}` : 'Repeat Index', Type: 'Variable', }); exports.repeatIndex = repeatIndex; //# sourceMappingURL=variables.js.map