mirror of https://github.com/BRAVO68WEB/shx.git
Added Metadata to Gist API routes
This commit is contained in:
parent
42cbc2e6ec
commit
bdbca19eba
|
@ -29,7 +29,7 @@ export interface IGistService {
|
|||
searchString: string,
|
||||
pageNo: number,
|
||||
pageSize: number
|
||||
): Promise<Gists[]>;
|
||||
): Promise<IListGists>;
|
||||
}
|
||||
|
||||
export interface IPrivate {
|
||||
|
@ -40,3 +40,13 @@ export interface IPrivate {
|
|||
export interface GistRep extends Gists {
|
||||
gist_url?: string;
|
||||
}
|
||||
|
||||
export interface IListGists {
|
||||
data: Gists[];
|
||||
meta: {
|
||||
total: number;
|
||||
pageNo: number;
|
||||
pageSize: number;
|
||||
totalPages: number;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue