1 | /** @module data */
|
2 | /**
|
3 | * Interface for data objects that contain their latest change time.
|
4 | *
|
5 | * ### Example ###
|
6 | *
|
7 | * export class MyData implements IStringIdentifiable, IChangeable {
|
8 | * public id: string;
|
9 | * public field1: string;
|
10 | * public field2: number;
|
11 | * public change_time: Date;
|
12 | * ...
|
13 | * }
|
14 | */
|
15 | export interface IChangeable {
|
16 | /** The UTC time at which the object was last changed (created or updated). */
|
17 | change_time: Date;
|
18 | }
|