export class Activity { constructor ( public userId , public text , public before , public after , public itemType , public itemId , public timestamp ) { } } export class ActivitySimple { constructor ( public text , public timestamp ) { } }