Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DataSourceRestriction

import type { DataSourceRestriction } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";

Restriction on Datasource.

interface DataSourceRestriction {
filterOptions?: FilterOptions[];
source?: Source;
}

§Properties

§
filterOptions?: FilterOptions[]
[src]

Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively. The maximum number of elements is 20. NOTE: Suggest API supports only few filters at the moment: "objecttype", "type" and "mimetype". For now, schema specific filters cannot be used to filter suggestions.

§
source?: Source
[src]

The source of restriction.