import { IApiRequest } from "../../models" ; import { Requests } from "../Requests" ; export class GetSearchPostsCallback { constructor ( public hashes ) { } } export class Search implements IApiRequest < GetSearchPostsCallback > { public static getURL : string = Requests . SEARCH ; public URL : string = Search . getURL ; constructor ( query , studyNr ) { this . URL += `?query=${ query }&studyNr=${ studyNr }` ; } }