Skip to content

Commit 445384d

Browse files
chore(structure): add DocumentListBuilder.filter JSdoc details (#7402)
* chore(structure): add DocumentListBuilder.filter JSdoc details * fix(structure): Use @link to create the doc link Co-authored-by: Binoy Patel <[email protected]> --------- Co-authored-by: Binoy Patel <[email protected]>
1 parent c83021e commit 445384d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sanity/src/structure/structureBuilder/DocumentList.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class DocumentListBuilder extends GenericListBuilder<
142142
}
143143

144144
/** Set Document list filter
145-
* @param filter - filter
145+
* @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 {@link https://www.sanity.io/docs/realtime-updates}
146146
* @returns document list builder based on the options and filter provided. See {@link DocumentListBuilder}
147147
*/
148148
filter(filter: string): DocumentListBuilder {

0 commit comments

Comments
 (0)