mini-effect
    Preparing search index...

    Interface BrandAction<TInput$1, TName>

    Brand action interface.

    interface BrandAction<TInput$1, TName extends BrandName> {
        "~run": (
            dataset: SuccessDataset<TInput$1>,
            config: Config<BaseIssue<unknown>>,
        ) => OutputDataset<TInput$1 & Brand<TName>, BaseIssue<unknown>>;
        "~types"?: {
            input: TInput$1;
            issue: never;
            output: TInput$1 & Brand<TName>;
        };
        async: false;
        kind: "transformation";
        name: TName;
        reference: <TInput$1, TName extends BrandName>(
            name: TName,
        ) => BrandAction<TInput$1, TName>;
        type: "brand";
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    "~run": (
        dataset: SuccessDataset<TInput$1>,
        config: Config<BaseIssue<unknown>>,
    ) => OutputDataset<TInput$1 & Brand<TName>, BaseIssue<unknown>>

    Transforms known input values.

    Type Declaration

    "~types"?: { input: TInput$1; issue: never; output: TInput$1 & Brand<TName> }

    The input, output and issue type.

    async: false

    Whether it's async.

    kind: "transformation"

    The object kind.

    name: TName

    The brand name.

    reference: <TInput$1, TName extends BrandName>(
        name: TName,
    ) => BrandAction<TInput$1, TName>

    The action reference.

    Type Declaration

      • <TInput$1, TName extends BrandName>(name: TName): BrandAction<TInput$1, TName>
      • Creates a brand transformation action.

        Type Parameters

        Parameters

        • name: TName

          The brand name.

        Returns BrandAction<TInput$1, TName>

        A brand action.

    type: "brand"

    The action type.