@oap75/api
Version:
JavaScript API for Subsocial blockchain.
11 lines (10 loc) • 319 B
TypeScript
export declare type HttpRequestMethod = 'post' | 'get';
export declare type UseServerProps = {
httpRequestMethod: HttpRequestMethod;
};
export declare type SubsocialContext = {
useServer?: UseServerProps;
};
declare type CidAsStr = string;
export declare type ContentResult<T> = Record<CidAsStr, T>;
export {};