@vicinae/api
    Preparing search index...

    Type Alias LaunchProps<T>

    type LaunchProps<
        T extends
            {
                arguments?: Arguments;
                draftValues?: Form.Values;
                launchContext?: LaunchContext;
            } = {
            arguments: Arguments;
            draftValues: Form.Values;
            launchContext?: LaunchContext;
        },
    > = {
        arguments: T["arguments"];
        draftValues?: T["draftValues"];
        fallbackText?: string;
        launchContext?: T["launchContext"];
        launchType: LaunchType;
    }

    Type Parameters

    Index

    Properties

    arguments: T["arguments"]

    Use these values to populate the initial state for your command.

    draftValues?: T["draftValues"]

    When a user enters the command via a draft, this object will contain the user inputs that were saved as a draft. Use its values to populate the initial state for your Form.

    fallbackText?: string

    When the command is launched as a fallback command, this string contains the text of the root search.

    launchContext?: T["launchContext"]

    When the command is launched programmatically via launchCommand, this object contains the value passed to context.

    launchType: LaunchType

    The type of launch for the command (user initiated or background).