semantic-network
Version:
A utility library for manipulating a list of links that form a semantic interface to a network of resources.
5 lines (4 loc) • 368 B
TypeScript
import { LinkType, RelationshipType } from 'semantic-link';
import { AxiosRequestConfig, AxiosResponse } from 'axios';
import { DocumentRepresentation } from '../interfaces/document';
export declare function defaultPostFactory<T>(link: LinkType, rel: RelationshipType, document: T | DocumentRepresentation<T>, options?: AxiosRequestConfig): Promise<AxiosResponse<T>>;