mini-effect
    Preparing search index...

    Interface IntersectSchemaAsync<TOptions$1, TMessage>

    Intersect schema async interface.

    interface IntersectSchemaAsync<
        TOptions$1 extends IntersectOptionsAsync,
        TMessage extends ErrorMessage<IntersectIssue> | undefined,
    > {
        "~run": (
            dataset: UnknownDataset,
            config: Config<BaseIssue<unknown>>,
        ) => Promise<
            OutputDataset<
                InferIntersectOutput<TOptions$1>,
                IntersectIssue | InferIssue<TOptions$1[number]>,
            >,
        >;
        "~standard": StandardProps<
            InferIntersectInput<TOptions$1>,
            InferIntersectOutput<TOptions$1>,
        >;
        "~types"?: {
            input: InferIntersectInput;
            issue: IntersectIssue | InferIssue<TOptions$1[number]>;
            output: InferIntersectOutput;
        };
        async: true;
        expects: string;
        kind: "schema";
        message: TMessage;
        options: TOptions$1;
        reference: | {
            <const TOptions$1 extends IntersectOptions>(
                options: TOptions$1,
            ): IntersectSchema<TOptions$1, undefined>;
            <
                const TOptions$1 extends IntersectOptions,
                const TMessage extends ErrorMessage<IntersectIssue> | undefined,
            >(
                options: TOptions$1,
                message: TMessage,
            ): IntersectSchema<TOptions$1, TMessage>;
        }
        | {
            <const TOptions$1 extends IntersectOptionsAsync>(
                options: TOptions$1,
            ): IntersectSchemaAsync<TOptions$1, undefined>;
            <
                const TOptions$1 extends IntersectOptionsAsync,
                const TMessage extends ErrorMessage<IntersectIssue> | undefined,
            >(
                options: TOptions$1,
                message: TMessage,
            ): IntersectSchemaAsync<TOptions$1, TMessage>;
        };
        type: "intersect";
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    "~run": (
        dataset: UnknownDataset,
        config: Config<BaseIssue<unknown>>,
    ) => Promise<
        OutputDataset<
            InferIntersectOutput<TOptions$1>,
            IntersectIssue | InferIssue<TOptions$1[number]>,
        >,
    >

    Parses unknown input values.

    Type Declaration

    "~standard": StandardProps<
        InferIntersectInput<TOptions$1>,
        InferIntersectOutput<TOptions$1>,
    >

    The Standard Schema properties.

    "~types"?: {
        input: InferIntersectInput;
        issue: IntersectIssue | InferIssue<TOptions$1[number]>;
        output: InferIntersectOutput;
    }

    The input, output and issue type.

    async: true

    Whether it's async.

    expects: string

    The expected property.

    kind: "schema"

    The object kind.

    message: TMessage

    The error message.

    options: TOptions$1

    The intersect options.

    reference:
        | {
            <const TOptions$1 extends IntersectOptions>(
                options: TOptions$1,
            ): IntersectSchema<TOptions$1, undefined>;
            <
                const TOptions$1 extends IntersectOptions,
                const TMessage extends ErrorMessage<IntersectIssue> | undefined,
            >(
                options: TOptions$1,
                message: TMessage,
            ): IntersectSchema<TOptions$1, TMessage>;
        }
        | {
            <const TOptions$1 extends IntersectOptionsAsync>(
                options: TOptions$1,
            ): IntersectSchemaAsync<TOptions$1, undefined>;
            <
                const TOptions$1 extends IntersectOptionsAsync,
                const TMessage extends ErrorMessage<IntersectIssue> | undefined,
            >(
                options: TOptions$1,
                message: TMessage,
            ): IntersectSchemaAsync<TOptions$1, TMessage>;
        }

    The schema reference.

    Type Declaration

    type: "intersect"

    The schema type.