Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITrackable

Interface for data objects that can track their changes, including logical deletion.

see

IChangeable

Example

export class MyData implements IStringIdentifiable, ITrackable {
    public id: string;
    public field1: string;
    public field2: number;
    ...
    public change_time: Date;
    public create_time: Date;
    public deleted: boolean;
}

Hierarchy

Index

Properties

change_time

change_time: Date

The UTC time at which the object was last changed (created, updated, or deleted).

create_time

create_time: Date

The UTC time at which the object was created.

Optional deleted

deleted: boolean

The logical deletion flag. True when object is deleted and null or false otherwise

Generated using TypeDoc