@unito/integration-debugger
Version:
The Unito Integration Debugger
17 lines (16 loc) • 695 B
TypeScript
import * as CrawlerDriver from '../crawlerDriver';
/**
* Check: Filter Items in a collection based on their fields.
*
* We filter on every field types except Objects and References.
*
* For example, if the item "foo" (collection at "/foos") with a string field and a date field
* the following step is produced:
*
* GetCollection /foos?filter=bar=expectedValue,createdDate>=2023-11-31
*
* The result of this step must be sucessful and have a valid shape, but no additional validation is done since
* its a **best effort** type of thing, integration may still return items that do not correspond to the filter.
*/
declare const check: CrawlerDriver.StepCheck;
export default check;