From ccad32cbac8e60051285967432bdcb5ab564f76c Mon Sep 17 00:00:00 2001 From: pedrobonamin Date: Wed, 21 Aug 2024 10:10:35 +0200 Subject: [PATCH] chore(structure): add DocumentListBuilder.filter JSdoc details --- packages/sanity/src/structure/structureBuilder/DocumentList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity/src/structure/structureBuilder/DocumentList.ts b/packages/sanity/src/structure/structureBuilder/DocumentList.ts index 598142d65c5..9a2703cba1f 100644 --- a/packages/sanity/src/structure/structureBuilder/DocumentList.ts +++ b/packages/sanity/src/structure/structureBuilder/DocumentList.ts @@ -142,7 +142,7 @@ export class DocumentListBuilder extends GenericListBuilder< } /** Set Document list filter - * @param filter - filter + * @param filter - GROQ-filter used to determine which documents to display. Do not support joins, since they operate on individual documents, and will ignore order-clauses and projections. See https://www.sanity.io/docs/realtime-updates * @returns document list builder based on the options and filter provided. See {@link DocumentListBuilder} */ filter(filter: string): DocumentListBuilder {