@unito/integration-debugger
Version:
The Unito Integration Debugger
18 lines (17 loc) • 694 B
TypeScript
import { FieldSchema, FieldValueType, Semantic } from '@unito/integration-api';
/**
* Returns the URLSearchParams for a given path
*
* @param path Relative path from which we extract the URLSearchParams
* @returns URLSearchParams
*/
export declare function extractQueryParams(path: string): URLSearchParams;
export declare function createInvalidItem(fields: FieldSchema[]): Record<string, unknown>;
/**
* Returns the field types supported by a given semantic
*
* @param semantic Semantic for which we want to get the supported field types
* @returns Supported field types
*
*/
export declare function getSemanticSupportedFieldTypes(semantic: Semantic): FieldValueType[] | undefined;