/*! Copyright (c) 2019, XAPPmedia */ import { Duration } from "./Duration"; export interface ActiveWithinable { activeWithin: Duration; } export type ActiveWithin = T & ActiveWithinable; export interface HaveNotSeenWithinable { haveNotSeenWithin: Duration; } export type HaveNotSeenWithin = T & HaveNotSeenWithinable; export interface FirstTimeable { firstTime: boolean; } export type FirstTime = T & FirstTimeable; export type LastActive = FirstTime | HaveNotSeenWithin | ActiveWithin;