Documentation / @warp-drive/core / reactive / CAUTION_MEGA_DANGER_ZONE_Extension
Interface: CAUTION_MEGA_DANGER_ZONE_Extension
Defined in: warp-drive-packages/core/src/reactive/-private/schema.ts:80
Extensions allow providing non-schema driven behaviors to reactive resources and arrays.
Properties
features
features:
| Function
| Record<string | symbol, unknown>;
Defined in: warp-drive-packages/core/src/reactive/-private/schema.ts:101
An object with iterable keys whose values are the getters or methods to expose on the object or array.
or
A constructable such as a Function or Class whose prototype will be iterated with getOwnPropertyNames.
kind
kind: "object" | "array";
Defined in: warp-drive-packages/core/src/reactive/-private/schema.ts:85
Whether this extension extends the behaviors of objects or of arrays.
name
name: string;
Defined in: warp-drive-packages/core/src/reactive/-private/schema.ts:90
The name of the extension, to be used when specifying either objectExtensions
or arrayExtensions