UNPKG

inngest-setup-redwoodjs

Version:

Setup Inngest in RedwoodJS

26 lines (25 loc) 1.13 kB
import { Listr } from 'listr2'; import type { ForceOptions } from './command'; export interface SetupPluginTasksOptions extends ForceOptions { } export declare const tasks: (options: SetupPluginTasksOptions) => Listr<any, "default", "simple">; export declare const addScriptToPackageJsonTask: ({ commandPaths, }: { commandPaths: Record<string, string>; }) => void; export declare const configureInngestTask: ({ commandPaths, existingFiles, }: { commandPaths: Record<string, string>; existingFiles: 'OVERWRITE' | 'FAIL'; }) => void; export declare const addInngestGraphQLPluginTask: ({ commandPaths, existingFiles, }: { commandPaths: Record<string, string>; existingFiles: 'OVERWRITE' | 'FAIL'; }) => void; export declare const addInngestHelloWorldExampleTask: ({ commandPaths, existingFiles, }: { commandPaths: Record<string, string>; existingFiles: 'OVERWRITE' | 'FAIL'; }) => void; export declare const modifyGraphQLHandlerTask: ({ commandPaths, dry, }: { commandPaths: Record<string, string>; dry?: number | undefined; }) => Promise<void>; export declare const updateTomlConfig: () => void;