shared
    Preparing search index...

    Function listSchema

    • Type Parameters

      • T

      Parameters

      • schema: ZodType<T>

      Returns ZodObject<
          { list: ZodArray<ZodType<T, ZodTypeDef, T>, "many">; total: ZodNumber },
          "strip",
          ZodTypeAny,
          { list: T[]; total: number },
          { list: T[]; total: number },
      >