All files / src SignalData.ts

50% Statements 4/8
100% Branches 0/0
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 16      1x     1x     1x           1x
// Package: com.lightningkite.lightningdb
// Generated by Khrysalis - this file will be overwritten.
import { HasId } from './HasId'
import { ReifiedType, setUpDataClass } from '@lightningkite/khrysalis-runtime'
 
//! Declares com.lightningkite.lightningdb.SignalData
export class SignalData<Model extends HasId> {
    public constructor(public readonly item: Model, public readonly created: boolean, public readonly deleted: boolean) {
    }
    public static properties = ["item", "created", "deleted"]
    public static propertyTypes(Model: ReifiedType) { return {item: Model, created: [Boolean], deleted: [Boolean]} }
    copy: (values: Partial<SignalData<Model>>) => this;
    equals: (other: any) => boolean;
    hashCode: () => number;
}
setUpDataClass(SignalData)