UNPKG

@mediarithmics/plugins-nodejs-sdk

Version:

This is the mediarithmics nodejs to help plugin developers bootstrapping their plugin without having to deal with most of the plugin boilerplate

18 lines (14 loc) 334 B
export type StatusCode = 'ok' | 'error'; export interface SimpleResponse { status: StatusCode; } export interface DataResponse<T> extends SimpleResponse { data: T; } export interface DataListResponse<T> extends SimpleResponse { data: T[]; count: number; first_result?: number; max_results?: number; total?: number; }