@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
19 lines (18 loc) • 713 B
TypeScript
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction';
/** @ignore */
declare type Value = (string | number | boolean | [] | {});
declare const _default: (options: {
/** The headers to attach to the request */
headers?: {
[x: string]: Value;
} | undefined;
/** The HTTP method to use */
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
/** The request body type */
requestBodyType?: "File" | "JSON" | "Form" | undefined;
/** The request body */
requestBody?: {
[x: string]: Value;
} | undefined;
}, output?: import("../interfaces/Variable").default | undefined) => WFWorkflowAction | WFWorkflowAction[];
export default _default;