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 19 20 21 | 1x 1x 1x 1x 1x | // Package: com.lightningkite.lightningdb
// Generated by Khrysalis - this file will be overwritten.
import { EntryChange } from './EntryChange'
import { ReifiedType, setUpDataClass } from '@lightningkite/khrysalis-runtime'
//! Declares com.lightningkite.lightningdb.ListChange
export class ListChange<T extends any> {
public constructor(public readonly wholeList: (Array<T> | null) = null, public readonly old: (T | null) = null, public readonly _new: (T | null) = null) {
}
public static properties = ["wholeList", "old", "_new"]
public static propertyTypes(T: ReifiedType) { return {wholeList: [Array, T], old: T, _new: T} }
copy: (values: Partial<ListChange<T>>) => this;
equals: (other: any) => boolean;
hashCode: () => number;
}
setUpDataClass(ListChange)
//! Declares com.lightningkite.lightningdb.listChange>com.lightningkite.lightningdb.EntryChangecom.lightningkite.lightningdb.listChange.T
export function xEntryChangeListChange<T extends any>(this_: EntryChange<T>): ListChange<T> {
return new ListChange<T>(undefined, this_.old, this_._new);
} |