mini-effect
    Preparing search index...

    Interface NormalizeAction<TForm>

    Normalize action interface.

    interface NormalizeAction<TForm extends NormalizeForm | undefined> {
        "~run": (
            dataset: SuccessDataset<string>,
            config: Config<BaseIssue<unknown>>,
        ) => OutputDataset<string, BaseIssue<unknown>>;
        "~types"?: { input: string; issue: never; output: string };
        async: false;
        form: TForm;
        kind: "transformation";
        reference: {
            (): NormalizeAction<undefined>;
            <TForm extends NormalizeForm | undefined>(
                form: TForm,
            ): NormalizeAction<TForm>;
        };
        type: "normalize";
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    "~run": (
        dataset: SuccessDataset<string>,
        config: Config<BaseIssue<unknown>>,
    ) => OutputDataset<string, BaseIssue<unknown>>

    Transforms known input values.

    Type Declaration

    "~types"?: { input: string; issue: never; output: string }

    The input, output and issue type.

    async: false

    Whether it's async.

    form: TForm

    The normalization form.

    kind: "transformation"

    The object kind.

    reference: {
        (): NormalizeAction<undefined>;
        <TForm extends NormalizeForm | undefined>(
            form: TForm,
        ): NormalizeAction<TForm>;
    }

    The action reference.

    Type Declaration

    type: "normalize"

    The action type.