import { EndpointObjectProperty } from "../endpoint"; import { ConditionObject, Expression } from "./shared"; export type EndpointObjectProperties = Record; export type EndpointObjectHeaders = Record; export type EndpointObject = { url: Expression; properties?: EndpointObjectProperties; headers?: EndpointObjectHeaders; }; export type EndpointRuleObject = { type: "endpoint"; conditions?: ConditionObject[]; endpoint: EndpointObject; documentation?: string; };