relution-sdk
Version:
Relution Software Development Kit for TypeScript and JavaScript
32 lines (31 loc) • 602 B
TypeScript
import { Model } from './Model';
/**
* used to persist last message timestamp data.
*
* @module Relution.livedata.LiveDataTimestamp
*
* @type {*}
*/
export interface LiveDataTimestamp {
/**
* channel the timestamp belongs to.
*/
channel: string;
/**
* value stored.
*/
timestamp: number;
}
/**
* timestamp packed into a Model.
*
* @module Relution.livedata.LiveDataTimestamp
*
* @type {*}
*/
export declare class LiveDataTimestampModel extends Model {
/**
* redefined to concrete type of attributes.
*/
attributes: LiveDataTimestamp;
}