UNPKG

@smithy/types

Version:

[![NPM version](https://img.shields.io/npm/v/@smithy/types/latest.svg)](https://www.npmjs.com/package/@smithy/types) [![NPM downloads](https://img.shields.io/npm/dm/@smithy/types.svg)](https://www.npmjs.com/package/@smithy/types)

28 lines (27 loc) 620 B
import { EndpointObjectProperty } from "../endpoint"; import { ConditionObject, Expression } from "./shared"; /** * @public */ export type EndpointObjectProperties = Record<string, EndpointObjectProperty>; /** * @public */ export type EndpointObjectHeaders = Record<string, Expression[]>; /** * @public */ export type EndpointObject = { url: Expression; properties?: EndpointObjectProperties; headers?: EndpointObjectHeaders; }; /** * @public */ export type EndpointRuleObject = { type: "endpoint"; conditions?: ConditionObject[]; endpoint: EndpointObject; documentation?: string; };