import { IApiRequest } from "../../../models" ; import { Requests } from "../../Requests" ; export class WIPPostsCallBack { constructor ( public postHashes ) { } } export class WIPPosts implements IApiRequest < WIPPostsCallBack > { public static getURL : string = Requests . WIPPOSTS ; public static readonly studyQueryParam = "studyNr" ; public URL : string = WIPPosts . getURL ; public params : { [ key ] : string ; } = { } ; constructor ( study ) { this . params [ WIPPosts . studyQueryParam ] = study . toString ( 10 ) ; } }