@selfcommunity/api-services
Version:
Client api for SelfCommunity.
23 lines (22 loc) • 405 B
TypeScript
/**
* BaseGetParams interface
*/
export interface BaseGetParams {
/**
* Number of results to return per page.
*/
limit?: number;
/**
* The initial index from which to return the results.
*/
offset?: number;
}
/**
* BaseSearchParams interface
*/
export interface BaseSearchParams extends BaseGetParams {
/**
* A search term.
*/
search?: string;
}