New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lanurite

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lanurite - npm Package Compare versions

Comparing version 1.0.47 to 1.0.48

docs/interfaces/_interfaces_imodels_.imodels.html

2

docs/assets/js/search.js
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"interfaces/IModel\"","url":"modules/_interfaces_imodel_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"IModel","url":"interfaces/_interfaces_imodel_.imodel.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IModel\""},{"id":2,"kind":2048,"name":"get","url":"interfaces/_interfaces_imodel_.imodel.html#get","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":3,"kind":2048,"name":"set","url":"interfaces/_interfaces_imodel_.imodel.html#set","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":4,"kind":2048,"name":"has","url":"interfaces/_interfaces_imodel_.imodel.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":5,"kind":2048,"name":"drop","url":"interfaces/_interfaces_imodel_.imodel.html#drop","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":6,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_imodel_.imodel.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":7,"kind":2048,"name":"reset","url":"interfaces/_interfaces_imodel_.imodel.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":8,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_imodel_.imodel.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":9,"kind":1,"name":"\"interfaces/IPredicate\"","url":"modules/_interfaces_ipredicate_.html","classes":"tsd-kind-external-module"},{"id":10,"kind":4194304,"name":"IPredicate","url":"modules/_interfaces_ipredicate_.html#ipredicate","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"interfaces/IPredicate\""},{"id":11,"kind":65536,"name":"__type","url":"modules/_interfaces_ipredicate_.html#ipredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"interfaces/IPredicate\".IPredicate"},{"id":12,"kind":1,"name":"\"interfaces/ICollection\"","url":"modules/_interfaces_icollection_.html","classes":"tsd-kind-external-module"},{"id":13,"kind":256,"name":"ICollection","url":"interfaces/_interfaces_icollection_.icollection.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"interfaces/ICollection\""},{"id":14,"kind":2048,"name":"add","url":"interfaces/_interfaces_icollection_.icollection.html#add","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":15,"kind":2048,"name":"remove","url":"interfaces/_interfaces_icollection_.icollection.html#remove","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":16,"kind":2048,"name":"clear","url":"interfaces/_interfaces_icollection_.icollection.html#clear","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":17,"kind":2048,"name":"has","url":"interfaces/_interfaces_icollection_.icollection.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":18,"kind":2048,"name":"getAll","url":"interfaces/_interfaces_icollection_.icollection.html#getall","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":19,"kind":2048,"name":"merge","url":"interfaces/_interfaces_icollection_.icollection.html#merge","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":20,"kind":2048,"name":"filter","url":"interfaces/_interfaces_icollection_.icollection.html#filter","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":21,"kind":2048,"name":"map","url":"interfaces/_interfaces_icollection_.icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":22,"kind":2048,"name":"reduce","url":"interfaces/_interfaces_icollection_.icollection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":23,"kind":2048,"name":"getById","url":"interfaces/_interfaces_icollection_.icollection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":24,"kind":2048,"name":"find","url":"interfaces/_interfaces_icollection_.icollection.html#find","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":25,"kind":2048,"name":"reset","url":"interfaces/_interfaces_icollection_.icollection.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":26,"kind":2048,"name":"getLength","url":"interfaces/_interfaces_icollection_.icollection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":27,"kind":2048,"name":"each","url":"interfaces/_interfaces_icollection_.icollection.html#each","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":28,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_icollection_.icollection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":29,"kind":2048,"name":"sortBy","url":"interfaces/_interfaces_icollection_.icollection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":30,"kind":2048,"name":"toArray","url":"interfaces/_interfaces_icollection_.icollection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":31,"kind":2048,"name":"chunk","url":"interfaces/_interfaces_icollection_.icollection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":32,"kind":2048,"name":"countBy","url":"interfaces/_interfaces_icollection_.icollection.html#countby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":33,"kind":2048,"name":"groupBy","url":"interfaces/_interfaces_icollection_.icollection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":34,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_icollection_.icollection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":35,"kind":1,"name":"\"interfaces/IHandler\"","url":"modules/_interfaces_ihandler_.html","classes":"tsd-kind-external-module"},{"id":36,"kind":256,"name":"IHandler","url":"interfaces/_interfaces_ihandler_.ihandler.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IHandler\""},{"id":37,"kind":1024,"name":"name","url":"interfaces/_interfaces_ihandler_.ihandler.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces/IHandler\".IHandler"},{"id":38,"kind":1,"name":"\"interfaces/IEvent\"","url":"modules/_interfaces_ievent_.html","classes":"tsd-kind-external-module"},{"id":39,"kind":256,"name":"IEvent","url":"interfaces/_interfaces_ievent_.ievent.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IEvent\""},{"id":40,"kind":2048,"name":"on","url":"interfaces/_interfaces_ievent_.ievent.html#on","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":41,"kind":2048,"name":"trigger","url":"interfaces/_interfaces_ievent_.ievent.html#trigger","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":42,"kind":2048,"name":"off","url":"interfaces/_interfaces_ievent_.ievent.html#off","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":43,"kind":1,"name":"\"classes/Event\"","url":"modules/_classes_event_.html","classes":"tsd-kind-external-module"},{"id":44,"kind":128,"name":"Event","url":"classes/_classes_event_.event.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"classes/Event\""},{"id":45,"kind":1024,"name":"_events","url":"classes/_classes_event_.event.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":46,"kind":65536,"name":"__type","url":"classes/_classes_event_.event.html#_events.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Event\".Event._events"},{"id":47,"kind":2048,"name":"on","url":"classes/_classes_event_.event.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":48,"kind":2048,"name":"_createEvent","url":"classes/_classes_event_.event.html#_createevent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":49,"kind":2048,"name":"off","url":"classes/_classes_event_.event.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":50,"kind":2048,"name":"trigger","url":"classes/_classes_event_.event.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":51,"kind":2048,"name":"_offAllListener","url":"classes/_classes_event_.event.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":52,"kind":2048,"name":"_isUndefined","url":"classes/_classes_event_.event.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":53,"kind":1,"name":"\"classes/Model\"","url":"modules/_classes_model_.html","classes":"tsd-kind-external-module"},{"id":54,"kind":128,"name":"Model","url":"classes/_classes_model_.model.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"classes/Model\""},{"id":55,"kind":1024,"name":"_model","url":"classes/_classes_model_.model.html#_model","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":56,"kind":65536,"name":"__type","url":"classes/_classes_model_.model.html#_model.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Model\".Model._model"},{"id":57,"kind":512,"name":"constructor","url":"classes/_classes_model_.model.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":58,"kind":2048,"name":"get","url":"classes/_classes_model_.model.html#get","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":59,"kind":2048,"name":"set","url":"classes/_classes_model_.model.html#set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":60,"kind":2048,"name":"has","url":"classes/_classes_model_.model.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":61,"kind":2048,"name":"toJSON","url":"classes/_classes_model_.model.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":62,"kind":2048,"name":"drop","url":"classes/_classes_model_.model.html#drop","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":63,"kind":2048,"name":"reset","url":"classes/_classes_model_.model.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":64,"kind":2048,"name":"destroy","url":"classes/_classes_model_.model.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":65,"kind":2048,"name":"_destroyModel","url":"classes/_classes_model_.model.html#_destroymodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":66,"kind":2048,"name":"isModel","url":"classes/_classes_model_.model.html#ismodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":67,"kind":1024,"name":"_events","url":"classes/_classes_model_.model.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":68,"kind":65536,"name":"__type","url":"classes/_classes_model_.model.html#_events.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Model\".Model._events"},{"id":69,"kind":2048,"name":"on","url":"classes/_classes_model_.model.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":70,"kind":2048,"name":"off","url":"classes/_classes_model_.model.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":71,"kind":2048,"name":"trigger","url":"classes/_classes_model_.model.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":72,"kind":2048,"name":"_offAllListener","url":"classes/_classes_model_.model.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":73,"kind":2048,"name":"_isUndefined","url":"classes/_classes_model_.model.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":74,"kind":1,"name":"\"classes/Collection\"","url":"modules/_classes_collection_.html","classes":"tsd-kind-external-module"},{"id":75,"kind":128,"name":"Collection","url":"classes/_classes_collection_.collection.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-not-exported","parent":"\"classes/Collection\""},{"id":76,"kind":1024,"name":"Type","url":"classes/_classes_collection_.collection.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":77,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#type.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection.Type"},{"id":78,"kind":1024,"name":"_models","url":"classes/_classes_collection_.collection.html#_models","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":79,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#_models.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection._models"},{"id":80,"kind":512,"name":"constructor","url":"classes/_classes_collection_.collection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":81,"kind":2048,"name":"_init","url":"classes/_classes_collection_.collection.html#_init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":82,"kind":2048,"name":"_clearCollection","url":"classes/_classes_collection_.collection.html#_clearcollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":83,"kind":2048,"name":"add","url":"classes/_classes_collection_.collection.html#add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":84,"kind":2048,"name":"remove","url":"classes/_classes_collection_.collection.html#remove","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":85,"kind":2048,"name":"has","url":"classes/_classes_collection_.collection.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":86,"kind":2048,"name":"clear","url":"classes/_classes_collection_.collection.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":87,"kind":2048,"name":"filter","url":"classes/_classes_collection_.collection.html#filter","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":88,"kind":2048,"name":"map","url":"classes/_classes_collection_.collection.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":89,"kind":2048,"name":"getById","url":"classes/_classes_collection_.collection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":90,"kind":2048,"name":"find","url":"classes/_classes_collection_.collection.html#find","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":91,"kind":2048,"name":"reduce","url":"classes/_classes_collection_.collection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":92,"kind":2048,"name":"getAll","url":"classes/_classes_collection_.collection.html#getall","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":93,"kind":2048,"name":"each","url":"classes/_classes_collection_.collection.html#each","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":94,"kind":2048,"name":"merge","url":"classes/_classes_collection_.collection.html#merge","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":95,"kind":2048,"name":"reset","url":"classes/_classes_collection_.collection.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":96,"kind":2048,"name":"getLength","url":"classes/_classes_collection_.collection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":97,"kind":2048,"name":"toJSON","url":"classes/_classes_collection_.collection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":98,"kind":2048,"name":"sortBy","url":"classes/_classes_collection_.collection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":99,"kind":2048,"name":"toArray","url":"classes/_classes_collection_.collection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":100,"kind":2048,"name":"chunk","url":"classes/_classes_collection_.collection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":101,"kind":2048,"name":"countBy","url":"classes/_classes_collection_.collection.html#countby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":102,"kind":2048,"name":"groupBy","url":"classes/_classes_collection_.collection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":103,"kind":2048,"name":"destroy","url":"classes/_classes_collection_.collection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":104,"kind":2048,"name":"_destroyCollection","url":"classes/_classes_collection_.collection.html#_destroycollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":105,"kind":1024,"name":"_events","url":"classes/_classes_collection_.collection.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":106,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#_events.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection._events"},{"id":107,"kind":2048,"name":"on","url":"classes/_classes_collection_.collection.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":108,"kind":2048,"name":"off","url":"classes/_classes_collection_.collection.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":109,"kind":2048,"name":"trigger","url":"classes/_classes_collection_.collection.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":110,"kind":2048,"name":"_offAllListener","url":"classes/_classes_collection_.collection.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":111,"kind":2048,"name":"_isUndefined","url":"classes/_classes_collection_.collection.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":112,"kind":1,"name":"\"lanurite\"","url":"modules/_lanurite_.html","classes":"tsd-kind-external-module"},{"id":113,"kind":32,"name":"___VERSION__","url":"modules/_lanurite_.html#___version__","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"lanurite\""}]};
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"interfaces/IModel\"","url":"modules/_interfaces_imodel_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"IModel","url":"interfaces/_interfaces_imodel_.imodel.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IModel\""},{"id":2,"kind":2048,"name":"get","url":"interfaces/_interfaces_imodel_.imodel.html#get","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":3,"kind":2048,"name":"set","url":"interfaces/_interfaces_imodel_.imodel.html#set","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":4,"kind":2048,"name":"has","url":"interfaces/_interfaces_imodel_.imodel.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":5,"kind":2048,"name":"drop","url":"interfaces/_interfaces_imodel_.imodel.html#drop","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":6,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_imodel_.imodel.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":7,"kind":2048,"name":"reset","url":"interfaces/_interfaces_imodel_.imodel.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":8,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_imodel_.imodel.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IModel\".IModel"},{"id":9,"kind":1,"name":"\"interfaces/IPredicate\"","url":"modules/_interfaces_ipredicate_.html","classes":"tsd-kind-external-module"},{"id":10,"kind":4194304,"name":"IPredicate","url":"modules/_interfaces_ipredicate_.html#ipredicate","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"interfaces/IPredicate\""},{"id":11,"kind":65536,"name":"__type","url":"modules/_interfaces_ipredicate_.html#ipredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"interfaces/IPredicate\".IPredicate"},{"id":12,"kind":1,"name":"\"interfaces/ICollection\"","url":"modules/_interfaces_icollection_.html","classes":"tsd-kind-external-module"},{"id":13,"kind":256,"name":"ICollection","url":"interfaces/_interfaces_icollection_.icollection.html","classes":"tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"interfaces/ICollection\""},{"id":14,"kind":2048,"name":"add","url":"interfaces/_interfaces_icollection_.icollection.html#add","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":15,"kind":2048,"name":"remove","url":"interfaces/_interfaces_icollection_.icollection.html#remove","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":16,"kind":2048,"name":"clear","url":"interfaces/_interfaces_icollection_.icollection.html#clear","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":17,"kind":2048,"name":"has","url":"interfaces/_interfaces_icollection_.icollection.html#has","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":18,"kind":2048,"name":"getAll","url":"interfaces/_interfaces_icollection_.icollection.html#getall","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":19,"kind":2048,"name":"merge","url":"interfaces/_interfaces_icollection_.icollection.html#merge","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":20,"kind":2048,"name":"filter","url":"interfaces/_interfaces_icollection_.icollection.html#filter","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":21,"kind":2048,"name":"map","url":"interfaces/_interfaces_icollection_.icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":22,"kind":2048,"name":"reduce","url":"interfaces/_interfaces_icollection_.icollection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":23,"kind":2048,"name":"getById","url":"interfaces/_interfaces_icollection_.icollection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":24,"kind":2048,"name":"find","url":"interfaces/_interfaces_icollection_.icollection.html#find","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":25,"kind":2048,"name":"reset","url":"interfaces/_interfaces_icollection_.icollection.html#reset","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":26,"kind":2048,"name":"getLength","url":"interfaces/_interfaces_icollection_.icollection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":27,"kind":2048,"name":"each","url":"interfaces/_interfaces_icollection_.icollection.html#each","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":28,"kind":2048,"name":"toJSON","url":"interfaces/_interfaces_icollection_.icollection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":29,"kind":2048,"name":"sortBy","url":"interfaces/_interfaces_icollection_.icollection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":30,"kind":2048,"name":"toArray","url":"interfaces/_interfaces_icollection_.icollection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":31,"kind":2048,"name":"chunk","url":"interfaces/_interfaces_icollection_.icollection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":32,"kind":2048,"name":"countBy","url":"interfaces/_interfaces_icollection_.icollection.html#countby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":33,"kind":2048,"name":"groupBy","url":"interfaces/_interfaces_icollection_.icollection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":34,"kind":2048,"name":"destroy","url":"interfaces/_interfaces_icollection_.icollection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/ICollection\".ICollection"},{"id":35,"kind":1,"name":"\"interfaces/IHandler\"","url":"modules/_interfaces_ihandler_.html","classes":"tsd-kind-external-module"},{"id":36,"kind":256,"name":"IHandler","url":"interfaces/_interfaces_ihandler_.ihandler.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IHandler\""},{"id":37,"kind":1024,"name":"name","url":"interfaces/_interfaces_ihandler_.ihandler.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"interfaces/IHandler\".IHandler"},{"id":38,"kind":1,"name":"\"interfaces/IEvent\"","url":"modules/_interfaces_ievent_.html","classes":"tsd-kind-external-module"},{"id":39,"kind":256,"name":"IEvent","url":"interfaces/_interfaces_ievent_.ievent.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IEvent\""},{"id":40,"kind":2048,"name":"on","url":"interfaces/_interfaces_ievent_.ievent.html#on","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":41,"kind":2048,"name":"trigger","url":"interfaces/_interfaces_ievent_.ievent.html#trigger","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":42,"kind":2048,"name":"off","url":"interfaces/_interfaces_ievent_.ievent.html#off","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"interfaces/IEvent\".IEvent"},{"id":43,"kind":1,"name":"\"classes/Event\"","url":"modules/_classes_event_.html","classes":"tsd-kind-external-module"},{"id":44,"kind":128,"name":"Event","url":"classes/_classes_event_.event.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"classes/Event\""},{"id":45,"kind":1024,"name":"_events","url":"classes/_classes_event_.event.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":46,"kind":65536,"name":"__type","url":"classes/_classes_event_.event.html#_events.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Event\".Event._events"},{"id":47,"kind":2048,"name":"on","url":"classes/_classes_event_.event.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":48,"kind":2048,"name":"_createEvent","url":"classes/_classes_event_.event.html#_createevent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":49,"kind":2048,"name":"off","url":"classes/_classes_event_.event.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":50,"kind":2048,"name":"trigger","url":"classes/_classes_event_.event.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":51,"kind":2048,"name":"_offAllListener","url":"classes/_classes_event_.event.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":52,"kind":2048,"name":"_isUndefined","url":"classes/_classes_event_.event.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Event\".Event"},{"id":53,"kind":1,"name":"\"interfaces/IModels\"","url":"modules/_interfaces_imodels_.html","classes":"tsd-kind-external-module"},{"id":54,"kind":256,"name":"IModels","url":"interfaces/_interfaces_imodels_.imodels.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"interfaces/IModels\""},{"id":55,"kind":1,"name":"\"classes/Model\"","url":"modules/_classes_model_.html","classes":"tsd-kind-external-module"},{"id":56,"kind":128,"name":"Model","url":"classes/_classes_model_.model.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-not-exported","parent":"\"classes/Model\""},{"id":57,"kind":1024,"name":"_model","url":"classes/_classes_model_.model.html#_model","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":58,"kind":512,"name":"constructor","url":"classes/_classes_model_.model.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":59,"kind":2048,"name":"getModels","url":"classes/_classes_model_.model.html#getmodels","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":60,"kind":2048,"name":"get","url":"classes/_classes_model_.model.html#get","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":61,"kind":2048,"name":"set","url":"classes/_classes_model_.model.html#set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":62,"kind":2048,"name":"has","url":"classes/_classes_model_.model.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":63,"kind":2048,"name":"toJSON","url":"classes/_classes_model_.model.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":64,"kind":2048,"name":"drop","url":"classes/_classes_model_.model.html#drop","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":65,"kind":2048,"name":"reset","url":"classes/_classes_model_.model.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":66,"kind":2048,"name":"destroy","url":"classes/_classes_model_.model.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":67,"kind":2048,"name":"_destroyModel","url":"classes/_classes_model_.model.html#_destroymodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":68,"kind":2048,"name":"isModel","url":"classes/_classes_model_.model.html#ismodel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":69,"kind":1024,"name":"_events","url":"classes/_classes_model_.model.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":70,"kind":65536,"name":"__type","url":"classes/_classes_model_.model.html#_events.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Model\".Model._events"},{"id":71,"kind":2048,"name":"on","url":"classes/_classes_model_.model.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":72,"kind":2048,"name":"off","url":"classes/_classes_model_.model.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":73,"kind":2048,"name":"trigger","url":"classes/_classes_model_.model.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":74,"kind":2048,"name":"_offAllListener","url":"classes/_classes_model_.model.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":75,"kind":2048,"name":"_isUndefined","url":"classes/_classes_model_.model.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Model\".Model"},{"id":76,"kind":1,"name":"\"classes/Collection\"","url":"modules/_classes_collection_.html","classes":"tsd-kind-external-module"},{"id":77,"kind":128,"name":"Collection","url":"classes/_classes_collection_.collection.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter tsd-is-not-exported","parent":"\"classes/Collection\""},{"id":78,"kind":1024,"name":"_models","url":"classes/_classes_collection_.collection.html#_models","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":79,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#_models.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection._models"},{"id":80,"kind":1024,"name":"_uniqhash","url":"classes/_classes_collection_.collection.html#_uniqhash","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":81,"kind":512,"name":"constructor","url":"classes/_classes_collection_.collection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":82,"kind":2048,"name":"_init","url":"classes/_classes_collection_.collection.html#_init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":83,"kind":2048,"name":"_clearCollection","url":"classes/_classes_collection_.collection.html#_clearcollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":84,"kind":2048,"name":"add","url":"classes/_classes_collection_.collection.html#add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":85,"kind":2048,"name":"remove","url":"classes/_classes_collection_.collection.html#remove","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":86,"kind":2048,"name":"has","url":"classes/_classes_collection_.collection.html#has","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":87,"kind":2048,"name":"clear","url":"classes/_classes_collection_.collection.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":88,"kind":2048,"name":"filter","url":"classes/_classes_collection_.collection.html#filter","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":89,"kind":2048,"name":"map","url":"classes/_classes_collection_.collection.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":90,"kind":2048,"name":"getById","url":"classes/_classes_collection_.collection.html#getbyid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":91,"kind":2048,"name":"find","url":"classes/_classes_collection_.collection.html#find","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":92,"kind":2048,"name":"reduce","url":"classes/_classes_collection_.collection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":93,"kind":2048,"name":"getAll","url":"classes/_classes_collection_.collection.html#getall","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":94,"kind":2048,"name":"each","url":"classes/_classes_collection_.collection.html#each","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":95,"kind":2048,"name":"merge","url":"classes/_classes_collection_.collection.html#merge","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":96,"kind":2048,"name":"reset","url":"classes/_classes_collection_.collection.html#reset","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":97,"kind":2048,"name":"getLength","url":"classes/_classes_collection_.collection.html#getlength","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":98,"kind":2048,"name":"toJSON","url":"classes/_classes_collection_.collection.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":99,"kind":2048,"name":"sortBy","url":"classes/_classes_collection_.collection.html#sortby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":100,"kind":2048,"name":"toArray","url":"classes/_classes_collection_.collection.html#toarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":101,"kind":2048,"name":"chunk","url":"classes/_classes_collection_.collection.html#chunk","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":102,"kind":2048,"name":"countBy","url":"classes/_classes_collection_.collection.html#countby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":103,"kind":2048,"name":"groupBy","url":"classes/_classes_collection_.collection.html#groupby","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":104,"kind":2048,"name":"destroy","url":"classes/_classes_collection_.collection.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":105,"kind":2048,"name":"_destroyCollection","url":"classes/_classes_collection_.collection.html#_destroycollection","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":106,"kind":1024,"name":"_events","url":"classes/_classes_collection_.collection.html#_events","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":107,"kind":65536,"name":"__type","url":"classes/_classes_collection_.collection.html#_events.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"classes/Collection\".Collection._events"},{"id":108,"kind":2048,"name":"on","url":"classes/_classes_collection_.collection.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":109,"kind":2048,"name":"off","url":"classes/_classes_collection_.collection.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":110,"kind":2048,"name":"trigger","url":"classes/_classes_collection_.collection.html#trigger","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":111,"kind":2048,"name":"_offAllListener","url":"classes/_classes_collection_.collection.html#_offalllistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":112,"kind":2048,"name":"_isUndefined","url":"classes/_classes_collection_.collection.html#_isundefined","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected tsd-is-static tsd-is-not-exported","parent":"\"classes/Collection\".Collection"},{"id":113,"kind":1,"name":"\"lanurite\"","url":"modules/_lanurite_.html","classes":"tsd-kind-external-module"},{"id":114,"kind":32,"name":"___VERSION__","url":"modules/_lanurite_.html#___version__","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"lanurite\""}]};

@@ -40,3 +40,3 @@ {

"typings": "source/lanurite.d.ts",
"version": "1.0.47",
"version": "1.0.48",
"license": "MIT",

@@ -43,0 +43,0 @@ "repository": {

@@ -6,5 +6,5 @@ import { ICollection } from "../interfaces/ICollection";

declare class Collection<T extends IModel> extends Event implements ICollection<T> {
private Type;
private _models;
constructor(array?: any[] | T[]);
private _uniqhash;
constructor(array?: any[] | T[], hashParam?: string);
private _init(array);

@@ -17,3 +17,3 @@ private _clearCollection();

*/
add(model: T | IModel): boolean;
add(model: T | IModel, needReset?: boolean): boolean;
/**

@@ -20,0 +20,0 @@ * Remove Model from Collection

@@ -18,6 +18,9 @@ "use strict";

__extends(Collection, _super);
function Collection(array) {
function Collection(array, hashParam) {
if (array === void 0) { array = []; }
if (hashParam === void 0) { hashParam = "l_id"; }
var _this = _super.call(this) || this;
_this._models = {};
_this._uniqhash = "l_id";
_this._uniqhash = hashParam;
_this._init(array);

@@ -30,12 +33,7 @@ return _this;

if (Model_1.Model.isModel(object)) {
_this._models[object.get("l_id")] = object;
_this._models[object.get(_this._uniqhash)] = object;
return;
}
if (_.isFunction(_this.Type)) {
var typedModel = new _this.Type(object);
_this._models[typedModel.get("l_id")] = typedModel;
return;
}
var model = new Model_1.Model(object);
_this._models[model.get("l_id")] = model;
_this._models[model.get(_this._uniqhash)] = model;
});

@@ -54,9 +52,15 @@ };

*/
Collection.prototype.add = function (model) {
Collection.prototype.add = function (model, needReset) {
if (needReset === void 0) { needReset = false; }
if (Model_1.Model.isModel(model)) {
if (Event_1.Event._isUndefined(this._models[model.get("l_id")])) {
this._models[model.get("l_id")] = model;
if (Event_1.Event._isUndefined(this._models[model.get(this._uniqhash)])) {
this._models[model.get(this._uniqhash)] = model;
this.trigger("add", model);
return true;
}
else {
if (needReset) {
this.getById(this._uniqhash).reset(model);
}
}
}

@@ -72,4 +76,4 @@ return false;

if (Model_1.Model.isModel(model)) {
if (!Event_1.Event._isUndefined(this._models[model.get("l_id")])) {
delete this._models[model.get("l_id")];
if (!Event_1.Event._isUndefined(this._models[model.get(this._uniqhash)])) {
delete this._models[model.get(this._uniqhash)];
this.trigger("remove", model);

@@ -87,3 +91,3 @@ return true;

Collection.prototype.has = function (model) {
return !Event_1.Event._isUndefined(this._models[model.get("l_id")]);
return !Event_1.Event._isUndefined(this._models[model.get(this._uniqhash)]);
};

@@ -171,13 +175,8 @@ /**

}
if (_.isFunction(_this.Type)) {
var typedModel = new _this.Type(object);
_this.add(typedModel);
return;
}
var model = new Model_1.Model(object);
_this.add(model);
_this.add(model, true);
});
}
_.each(collection.getAll(), function (model) {
_this.add(model);
_this.add(model, true);
});

@@ -184,0 +183,0 @@ };

@@ -9,9 +9,11 @@ import * as _ from "lodash"

class Collection<T extends IModel> extends Event implements ICollection<T> {
private Type: new (param: any) => T
private _models: { [key: string]: T | IModel } = {}
private _uniqhash: string = "l_id"
constructor(array: any[] | T[] = []) {
constructor(array: any[] | T[] = [], hashParam: string = "l_id") {
super()
this._uniqhash = hashParam
this._init(array)
}

@@ -22,12 +24,7 @@

if (Model.isModel(object)) {
this._models[object.get("l_id")] = object
this._models[object.get(this._uniqhash)] = object
return
}
if (_.isFunction(this.Type)) {
const typedModel = new this.Type(object)
this._models[typedModel.get("l_id")] = typedModel
return
}
const model = new Model(object)
this._models[model.get("l_id")] = model
const model = new Model<T>(object)
this._models[model.get(this._uniqhash)] = model
})

@@ -47,8 +44,12 @@ }

*/
public add(model: T | IModel) {
public add(model: T | IModel, needReset = false) {
if (Model.isModel(model)) {
if (Event._isUndefined(this._models[model.get("l_id")])) {
this._models[model.get("l_id")] = model
if (Event._isUndefined(this._models[model.get(this._uniqhash)])) {
this._models[model.get(this._uniqhash)] = model
this.trigger("add", model)
return true
} else {
if (needReset) {
this.getById(this._uniqhash).reset(model)
}
}

@@ -66,4 +67,4 @@ }

if (Model.isModel(model)) {
if (!Event._isUndefined(this._models[model.get("l_id")])) {
delete this._models[model.get("l_id")]
if (!Event._isUndefined(this._models[model.get(this._uniqhash)])) {
delete this._models[model.get(this._uniqhash)]
this.trigger("remove", model)

@@ -82,3 +83,3 @@ return true

public has(model: T | IModel) {
return !Event._isUndefined(this._models[model.get("l_id")])
return !Event._isUndefined(this._models[model.get(this._uniqhash)])
}

@@ -172,13 +173,8 @@

}
if (_.isFunction(this.Type)) {
const typedModel = new this.Type(object)
this.add(typedModel)
return
}
const model = new Model(object)
this.add(model)
const model = new Model<T>(object)
this.add(model, true)
})
}
_.each(collection.getAll(), (model) => {
this.add(model)
this.add(model, true)
})

@@ -185,0 +181,0 @@

import { IModel } from "../interfaces/IModel";
import { IModels } from "../interfaces/IModels";
import { Event } from "./Event";
declare class Model extends Event implements IModel {
declare class Model<T extends IModels> extends Event implements IModel {
private _model;
constructor(obj?: {
[key: string]: any;
});
constructor(obj?: T);
/**
* Return private models
* @returns {{[p: string]: any}}
*/
getModels(): T;
/**
* Get value by key

@@ -41,5 +45,3 @@ * @param key

*/
reset(object: {
[key: string]: any;
}): void;
reset(object: T): void;
/**

@@ -46,0 +48,0 @@ * Destroy Model

@@ -25,2 +25,9 @@ "use strict";

/**
* Return private models
* @returns {{[p: string]: any}}
*/
Model.prototype.getModels = function () {
return this._model;
};
/**
* Get value by key

@@ -27,0 +34,0 @@ * @param key

import * as _ from "lodash"
import {IModel} from "../interfaces/IModel"
import {IModels} from "../interfaces/IModels"
import {Event} from "./Event"
class Model extends Event implements IModel {
class Model<T extends IModels> extends Event implements IModel {
private _model: { [key: string]: any } = {}
private _model: T = {} as T
constructor(obj: { [key: string]: any } = {}) {
constructor(obj: T = {} as T) {
super()

@@ -14,2 +15,10 @@ this._model = _.assign({}, {l_id: _.uniqueId("lr_")}, obj)

/**
* Return private models
* @returns {{[p: string]: any}}
*/
public getModels(): T {
return this._model
}
/**
* Get value by key

@@ -73,3 +82,3 @@ * @param key

*/
public reset(object: { [key: string]: any }): void {
public reset(object: T): void {
const oldValue = this.toJSON()

@@ -76,0 +85,0 @@ if (Model.isModel(object)) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc