Sanity Library Reference Docs
    Preparing search index...

    Variable vercelStegaCleanAllConst Alpha

    vercelStegaCleanAll: <Result = unknown>(result: Result) => StegaCleaned<Result> = stegaClean

    Can take a result JSON from a const {result} = client.fetch(query, params, {filterResponse: false}) and remove all stega-encoded data from it.

    Type declaration

      • <Result = unknown>(result: Result): StegaCleaned<Result>
      • Can take a result JSON from a const {result} = client.fetch(query, params, {filterResponse: false}) and remove all stega-encoded data from it. If the result type has strings branded as StegaString (by ClientReturnStega or stegaBrand()), the brand is stripped and the original string type is restored.

        Type Parameters

        • Result = unknown

        Parameters

        Returns StegaCleaned<Result>

    Use stegaClean instead