OptionalfilterGROQ filter expression to match specific documents (e.g., "_type == 'post'")
OptionalincludeInclude all versions of documents, not just the current version
OptionalincludeInclude draft documents in addition to published documents
OptionalonEvent types that trigger the function
OptionalprojectionGROQ projection to specify which fields to include (e.g., "{_id, title, slug}")
OptionalresourceOptional dataset resource scoping for the function
Event configuration for document functions