derby
Version:
MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.
48 lines (47 loc) • 1.63 kB
TypeScript
declare class RefOutMap {
}
declare class RefChildrenMap {
}
declare class BindingsMap {
}
declare class ItemContextsMap {
}
export declare class EventModel {
array: any;
arrayByReference: any;
bindings: BindingsMap | null;
dependancies: any;
id: number;
itemContexts: ItemContextsMap | null;
object: any;
refChildren: RefChildrenMap | null;
refOut: RefOutMap | null;
constructor();
refChild(ref: any): any;
arrayLookup(model: any, segmentsBefore: any, segmentsInside: any): any;
child(segment: any): any;
at(segments: any): this;
isEmpty(): boolean;
_addItemContext(context: any): void;
_removeItemContext(context: any): void;
_addBinding(binding: any): void;
addBinding(segments: any, binding: any): void;
addItemContext(segments: any, context: any): void;
removeBinding(binding: any): void;
_each(segments: any, pos: any, fn: any): void;
localUpdate(previous: any, pass: any): void;
update(previous: any, pass: any): void;
_updateChildItemContexts(from: any, to?: any): void;
_updateArray(from: any, to?: any): void;
_updateObject(): void;
_set(previous: any, pass: any): void;
_insert(index: any, howMany: any): void;
_remove(index: any, howMany: any): void;
_move(from: any, to: any, howMany: any): void;
mutate(segments: any, fn: any): void;
set(segments: any, previous: any, pass: any): void;
insert(segments: any, index: any, howMany: any): void;
remove(segments: any, index: any, howMany: any): void;
move(segments: any, from: any, to: any, howMany: any): void;
}
export {};