All files / src MassModification.ts

66.66% Statements 6/9
100% Branches 0/0
0% Functions 0/2
75% Lines 6/8

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 17 18    1x 1x 1x     1x     1x           1x  
// Package: com.lightningkite.lightningdb
// Generated by Khrysalis - this file will be overwritten.
import { Condition } from './Condition'
import { Modification } from './Modification'
import { ReifiedType, setUpDataClass } from '@lightningkite/khrysalis-runtime'
 
//! Declares com.lightningkite.lightningdb.MassModification
export class MassModification<T extends any> {
    public constructor(public readonly condition: Condition<T>, public readonly modification: Modification<T>) {
    }
    public static properties = ["condition", "modification"]
    public static propertyTypes(T: ReifiedType) { return {condition: [Condition, T], modification: [Modification, T]} }
    copy: (values: Partial<MassModification<T>>) => this;
    equals: (other: any) => boolean;
    hashCode: () => number;
}
setUpDataClass(MassModification)