mini-effect
    Preparing search index...

    Interface LazySchema<TWrapped$1>

    Lazy schema interface.

    interface LazySchema<
        TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>,
    > {
        "~run": (
            dataset: UnknownDataset,
            config: Config<BaseIssue<unknown>>,
        ) => OutputDataset<InferOutput<TWrapped$1>, InferIssue<TWrapped$1>>;
        "~standard": StandardProps<InferInput<TWrapped$1>, InferOutput<TWrapped$1>>;
        "~types"?: { input: InferInput; issue: InferIssue; output: InferOutput };
        async: false;
        expects: "unknown";
        getter: (input: unknown) => TWrapped$1;
        kind: "schema";
        reference: <
            const TWrapped$1 extends
                BaseSchema<unknown, unknown, BaseIssue<unknown>>,
        >(
            getter: (input: unknown) => TWrapped$1,
        ) => LazySchema<TWrapped$1>;
        type: "lazy";
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    "~run": (
        dataset: UnknownDataset,
        config: Config<BaseIssue<unknown>>,
    ) => OutputDataset<InferOutput<TWrapped$1>, InferIssue<TWrapped$1>>

    Parses unknown input values.

    Type Declaration

    The Standard Schema properties.

    "~types"?: { input: InferInput; issue: InferIssue; output: InferOutput }

    The input, output and issue type.

    async: false

    Whether it's async.

    expects: "unknown"

    The expected property.

    getter: (input: unknown) => TWrapped$1

    The schema getter.

    kind: "schema"

    The object kind.

    reference: <
        const TWrapped$1 extends
            BaseSchema<unknown, unknown, BaseIssue<unknown>>,
    >(
        getter: (input: unknown) => TWrapped$1,
    ) => LazySchema<TWrapped$1>

    The schema reference.

    Type Declaration

      • <const TWrapped$1 extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(
            getter: (input: unknown) => TWrapped$1,
        ): LazySchema<TWrapped$1>
      • Creates a lazy schema.

        Type Parameters

        Parameters

        • getter: (input: unknown) => TWrapped$1

          The schema getter.

        Returns LazySchema<TWrapped$1>

        A lazy schema.

    type: "lazy"

    The schema type.