rest-vir - v1.2.6
    Preparing search index...

    Variable endpointInitShapeConst

    endpointInitShape: Shape<
        {
            bypassResponseValidation: Shape<
                TOptional<TUnion<(TUndefined | TBoolean | TNull)[]>>,
            >;
            customProps: Shape<
                TOptional<TUnion<(TUndefined | TUnsafe<Record<never, unknown>>)[]>>,
            >;
            methods: TUnsafe<Partial<Record<HttpMethod, boolean>>>;
            requestDataShape: Shape<TUnsafe<unknown>>;
            requiredClientOrigin: Shape<
                TOptional<
                    TUnion<
                        (
                            | TUndefined
                            | TUnsafe<{ anyOrigin: boolean }>
                            | TUnsafe<RegExp>
                            | TString
                            | TUnsafe<() => void>
                            | TArray<TUnion<((...) | (...) | (...) | (...))[]>>
                        )[],
                    >,
                >,
            >;
            responseDataShape: Shape<TUnsafe<unknown>>;
            searchParamsShape: Shape<TUnsafe<unknown>>;
        },
    > = ...

    Used to validate EndpointInit inside of defineService.