UNPKG

@v4fire/client

Version:

V4Fire client core library

37 lines (30 loc) 768 B
/*! * V4Fire Client Core * https://github.com/V4Fire/Client * * Released under the MIT license * https://github.com/V4Fire/Client/blob/master/LICENSE */ import type Async from 'core/async'; import type { ComponentInterface, PropertyInfo, WatchObject } from 'core/component/interface'; export type DynamicHandlers = WeakMap< ComponentInterface, Dictionary<Set<Function>> >; export interface BindRemoteWatchersParams<A extends object = ComponentInterface> { /** * Link to an instance of Async */ async?: Async<A>; /** * Dictionary of watchers */ watchers?: Dictionary<WatchObject[]>; /** * Information object about a property to watch */ info?: PropertyInfo; } export interface ImplementComponentWatchAPIOptions { tieFields?: boolean; }