import { SmartAPISpec, SmartAPIRegistryRecordObject } from "./parser/types"; export interface SmartAPIQueryResult { hits: SmartAPISpec[]; } export interface apiListObject { id: string; name: string; } export interface BuilderOptions { tag?: string; teamName?: string; smartAPIID?: string; component?: string; apiList?: apiListObject[]; } interface PredicatesQueryOperationInterface { path: string; server: string; method: string; } interface PredicatesAssociationInterface { api_name: string; smartapi: SmartAPIRegistryRecordObject; "x-translator": any; } export interface PredicatesMetadata { association: PredicatesAssociationInterface; tags: string[]; query_operation: PredicatesQueryOperationInterface; predicates: ReasonerPredicatesResponse; } interface ReasonerSubjectAndPredicate { [propName: string]: string[]; } export interface ReasonerPredicatesResponse { [propName: string]: ReasonerSubjectAndPredicate; } export interface FilterCriteria { input_type?: undefined | string | string[]; output_type?: undefined | string | string[]; predicate?: undefined | string | string[]; api_name?: undefined | string | string[]; source?: undefined | string | string[]; [propName: string]: undefined | string | string[]; } export interface ObjectWithValueAsSet { [propName: string]: Set; } export {};