All files / src EntryChange.ts

57.14% Statements 4/7
0% Branches 0/2
0% Functions 0/2
66.66% Lines 4/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15    1x     1x     1x           1x
// Package: com.lightningkite.lightningdb
// Generated by Khrysalis - this file will be overwritten.
import { ReifiedType, setUpDataClass } from '@lightningkite/khrysalis-runtime'
 
//! Declares com.lightningkite.lightningdb.EntryChange
export class EntryChange<T extends any> {
    public constructor(public readonly old: (T | null) = null, public readonly _new: (T | null) = null) {
    }
    public static properties = ["old", "_new"]
    public static propertyTypes(T: ReifiedType) { return {old: T, _new: T} }
    copy: (values: Partial<EntryChange<T>>) => this;
    equals: (other: any) => boolean;
    hashCode: () => number;
}
setUpDataClass(EntryChange)