NestedTypes
NestedTypes copied to clipboard
BackboneJS compatibility layer for Type-R data framework.
- it must support iteration through its option - it must perform type casts on assignments. - it must support display names, symbolic shortcuts, and serialization ids. - syntax must...
Ad-hoc events triggering complicates code dependencies analysis. It would be beneficial to enforce declarations of event names. ``` triggers : { 'myEvent' : [ Model, Boolean ] } this.trigger.myEvent( this,...
While defining the store, provide direct reference to the parent store object. In Store.define(), extract parent store type, and mix in its attributes. This logic (singleton mixins) can be done...
Model.id would be used as a key. We won't touch sync, just override fetch, save, and delete. Would be useful as a base class for ViewModels. And this is enough...
Model knows it, so why collection shouldn't? `collection.changed` - array of changed models. `collection.added` - same for added models `collection.removed` - same for removed models. This feature will allow complete...
Some way to compare models tree, and generate JSON difference. Has numerous potential applications, such as smart `save` protocols based on updates rather than complete objects overwrite. Usage examples: `const...
Sometimes only a few attributes needs to be serialized. Usually happens in models representing UI state. Thus, model spec becomes too clumsy. Support following Model.toJSON option: ``` toJSON : false,...
With the current implementation, maps are not easily supported. A traditional javascript object or backbone object easily implements the map model. However, nestedTypes cannot handle a typed map, where the...
Model is 'changed' in case it's modified with 'set' after 'save' and 'fetch'. Flag will be cleared upon save/fetch call.
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...