UNPKG

@smj0x/homebridge-shortcuts-buttons

Version:

Run any Apple Shortcut with just the tap of a button, and execute a custom unix command (or another shortcut!) after completion to handle its success/failure, using x-callback-url.

20 lines 690 B
/** * @module server */ import { HSBConfig } from '../config.js'; import { HSBXCallbackUrlSearchParams } from './params.js'; import { HSBUtils } from '../utils.js'; export declare class HSBXCallbackUrlServerCommand { private readonly config; private readonly utils; private readonly environment; constructor(searchParams: HSBXCallbackUrlSearchParams, config: HSBConfig, utils: HSBUtils); run(): Promise<void>; private ensureValidCustomCommand; private throwRunError; private executeCommand; private runShortcut; private get callbackDefaultCommand(); private readonly defaultCommandExecutableAbsolutePath; } //# sourceMappingURL=command.d.ts.map