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.48 to 1.0.49

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":"\"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\""}]};
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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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","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.48",
"version": "1.0.49",
"license": "MIT",

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

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

import { Event } from "./Event";
declare class Collection<T extends IModel> extends Event implements ICollection<T> {
export declare class Collection<T extends IModel> extends Event implements ICollection<T> {
private _models;
private _uniqhash;
constructor(array?: any[] | T[], hashParam?: string);
constructor(array?: Array<T | any>, hashParam?: string);
private _init(array);

@@ -15,2 +15,3 @@ private _clearCollection();

* @param model
* @param needReset
* @returns {boolean}

@@ -38,11 +39,11 @@ */

* @param predicate
* @returns {S[]}
* @returns {Array}
*/
filter(predicate: IPredicate): T[];
filter(predicate: IPredicate): Array<T>;
/**
* Create new Array from Collection
* @param predicate
* @returns {TResult[]}
* @returns {Array}
*/
map(predicate: IPredicate): any[];
map(predicate: IPredicate): Array<any>;
/**

@@ -67,20 +68,18 @@ * Get Model by Id

*/
reduce(predicate: IPredicate, accum?: any): any;
reduce(predicate: IPredicate, accum?: any): {} | undefined | null;
/**
* Get Array from Collection
* @returns {T[]}
* @returns {Array}
*/
getAll(): T[];
getAll(): Array<T>;
/**
* Iterate collection by predicate
* @param predicate
* @returns {any}
*/
each(predicate: IPredicate): T[];
each(predicate: IPredicate): void;
/**
* Merge collection with array or another collection
* @param collection
* @returns {any}
*/
merge(collection: T[] | ICollection<T> | any[]): any[] | T[];
merge(collection: Array<T | any> | ICollection<T>): void;
/**

@@ -90,3 +89,3 @@ * Reset Collection with new Array of Model or JSON

*/
reset(array?: any[] | T[]): void;
reset(array?: Array<T | any>): void;
/**

@@ -99,5 +98,5 @@ * Get Collection length

* Return JSOn from Collection
* @returns {any[]}
* @returns {Array}
*/
toJSON(): any;
toJSON(): Array<any>;
/**

@@ -110,11 +109,11 @@ * Sort element with predicate

* Get Array from Collection
* @returns {T[]}
* @returns {Array}
*/
toArray(): T[];
toArray(): Array<T>;
/**
* Chunk Array on size
* @param size
* @returns {T[][]}
* @returns {Array<Array>}
*/
chunk(size?: number): T[][];
chunk(size?: number): Array<Array<T>>;
/**

@@ -134,3 +133,3 @@ * Count element by predicate

groupBy(predicate: IPredicate): {
[key: string]: T[];
[key: string]: Array<T>;
};

@@ -143,2 +142,1 @@ /**

}
export { Collection };

@@ -13,6 +13,15 @@ "use strict";

exports.__esModule = true;
var _ = require("lodash");
var chunk = require("lodash/chunk");
var countBy = require("lodash/countBy");
var each = require("lodash/each");
var filter = require("lodash/filter");
var find = require("lodash/find");
var groupBy = require("lodash/groupBy");
var isArray = require("lodash/isArray");
var map = require("lodash/map");
var reduce = require("lodash/reduce");
var values = require("lodash/values");
var Event_1 = require("./Event");
var Model_1 = require("./Model");
var Collection = (function (_super) {
var Collection = /** @class */ (function (_super) {
__extends(Collection, _super);

@@ -31,3 +40,3 @@ function Collection(array, hashParam) {

var _this = this;
_.each(array, function (object) {
each(array, function (object) {
if (Model_1.Model.isModel(object)) {

@@ -43,3 +52,3 @@ _this._models[object.get(_this._uniqhash)] = object;

var _this = this;
Object.keys(this._models).forEach(function (key) {
each(Object.keys(this._models), function (key) {
delete _this._models[key];

@@ -51,2 +60,3 @@ });

* @param model
* @param needReset
* @returns {boolean}

@@ -103,6 +113,6 @@ */

* @param predicate
* @returns {S[]}
* @returns {Array}
*/
Collection.prototype.filter = function (predicate) {
return _.filter(this.getAll(), predicate);
return filter(this.getAll(), predicate);
};

@@ -112,6 +122,6 @@ /**

* @param predicate
* @returns {TResult[]}
* @returns {Array}
*/
Collection.prototype.map = function (predicate) {
return _.map(this.getAll(), predicate);
return map(this.getAll(), predicate);
};

@@ -137,3 +147,3 @@ /**

if (startIndex === void 0) { startIndex = 0; }
return _.find(this.getAll(), predicate, startIndex);
return find(this.getAll(), predicate, startIndex);
};

@@ -148,10 +158,10 @@ /**

if (accum === void 0) { accum = 0; }
return _.reduce(this.getAll(), predicate, accum);
return reduce(this.getAll(), predicate, accum);
};
/**
* Get Array from Collection
* @returns {T[]}
* @returns {Array}
*/
Collection.prototype.getAll = function () {
return _.values(this._models);
return values(this._models);
};

@@ -161,6 +171,5 @@ /**

* @param predicate
* @returns {any}
*/
Collection.prototype.each = function (predicate) {
return _.each(this.getAll(), predicate);
each(this.getAll(), predicate);
};

@@ -170,8 +179,7 @@ /**

* @param collection
* @returns {any}
*/
Collection.prototype.merge = function (collection) {
var _this = this;
if (_.isArray(collection)) {
return _.each(collection, function (object) {
if (isArray(collection)) {
each(collection, function (object) {
if (Model_1.Model.isModel(object)) {

@@ -183,4 +191,5 @@ return _this.add(object);

});
return;
}
_.each(collection.getAll(), function (model) {
each(collection.getAll(), function (model) {
_this.add(model, true);

@@ -208,6 +217,6 @@ });

* Return JSOn from Collection
* @returns {any[]}
* @returns {Array}
*/
Collection.prototype.toJSON = function () {
return _.map(this.getAll(), function (el) {
return map(this.getAll(), function (el) {
return el.toJSON();

@@ -225,3 +234,3 @@ });

* Get Array from Collection
* @returns {T[]}
* @returns {Array}
*/

@@ -234,7 +243,7 @@ Collection.prototype.toArray = function () {

* @param size
* @returns {T[][]}
* @returns {Array<Array>}
*/
Collection.prototype.chunk = function (size) {
if (size === void 0) { size = 1; }
return _.chunk(this.getAll(), size);
return chunk(this.getAll(), size);
};

@@ -247,3 +256,3 @@ /**

Collection.prototype.countBy = function (predicate) {
return _.countBy(this.getAll(), predicate);
return countBy(this.getAll(), predicate);
};

@@ -256,3 +265,3 @@ /**

Collection.prototype.groupBy = function (predicate) {
return _.groupBy(this.getAll(), predicate);
return groupBy(this.getAll(), predicate);
};

@@ -259,0 +268,0 @@ /**

@@ -1,9 +0,18 @@

import * as _ from "lodash"
import {ICollection} from "../interfaces/ICollection"
import {IModel} from "../interfaces/IModel"
import {IPredicate} from "../interfaces/IPredicate"
import {Event} from "./Event"
import {Model} from "./Model"
import chunk = require("lodash/chunk")
import countBy = require("lodash/countBy")
import each = require("lodash/each")
import filter = require("lodash/filter")
import find = require("lodash/find")
import groupBy = require("lodash/groupBy")
import isArray = require("lodash/isArray")
import map = require("lodash/map")
import reduce = require("lodash/reduce")
import values = require("lodash/values")
import { ICollection } from "../interfaces/ICollection"
import { IModel } from "../interfaces/IModel"
import { IPredicate } from "../interfaces/IPredicate"
import { Event } from "./Event"
import { Model } from "./Model"
class Collection<T extends IModel> extends Event implements ICollection<T> {
export class Collection<T extends IModel> extends Event implements ICollection<T> {

@@ -13,3 +22,3 @@ private _models: { [key: string]: T | IModel } = {}

constructor(array: any[] | T[] = [], hashParam: string = "l_id") {
constructor(array: Array<T | any> = [], hashParam: string = "l_id") {
super()

@@ -21,4 +30,4 @@ this._uniqhash = hashParam

private _init(array: T[] | any[]) {
_.each(array, (object) => {
private _init(array: Array<T | any>): void {
each(array, (object) => {
if (Model.isModel(object)) {

@@ -33,4 +42,4 @@ this._models[object.get(this._uniqhash)] = object

private _clearCollection() {
Object.keys(this._models).forEach((key) => {
private _clearCollection(): void {
each(Object.keys(this._models), (key) => {
delete this._models[key]

@@ -43,5 +52,6 @@ })

* @param model
* @param needReset
* @returns {boolean}
*/
public add(model: T | IModel, needReset = false) {
public add(model: T | IModel, needReset = false): boolean {
if (Model.isModel(model)) {

@@ -66,3 +76,3 @@ if (Event._isUndefined(this._models[model.get(this._uniqhash)])) {

*/
public remove(model: T | IModel) {
public remove(model: T | IModel): boolean {
if (Model.isModel(model)) {

@@ -83,3 +93,3 @@ if (!Event._isUndefined(this._models[model.get(this._uniqhash)])) {

*/
public has(model: T | IModel) {
public has(model: T | IModel): boolean {
return !Event._isUndefined(this._models[model.get(this._uniqhash)])

@@ -91,3 +101,3 @@ }

*/
public clear() {
public clear(): void {
this._clearCollection()

@@ -100,6 +110,6 @@ this.trigger("clear")

* @param predicate
* @returns {S[]}
* @returns {Array}
*/
public filter(predicate: IPredicate): T[] {
return _.filter<T>(this.getAll(), predicate)
public filter(predicate: IPredicate): Array<T> {
return filter<T>(this.getAll(), predicate)
}

@@ -110,6 +120,6 @@

* @param predicate
* @returns {TResult[]}
* @returns {Array}
*/
public map(predicate: IPredicate): any[] {
return _.map(this.getAll(), predicate)
public map(predicate: IPredicate): Array<any> {
return map(this.getAll(), predicate)
}

@@ -136,3 +146,3 @@

public find(predicate: IPredicate, startIndex: number = 0): T | undefined {
return _.find<T>(this.getAll(), predicate, startIndex)
return find<T>(this.getAll(), predicate, startIndex)
}

@@ -146,4 +156,4 @@

*/
public reduce(predicate: IPredicate, accum: any = 0): any {
return _.reduce(this.getAll(), predicate, accum)
public reduce(predicate: IPredicate, accum: any = 0): {} | undefined | null {
return reduce(this.getAll(), predicate, accum)
}

@@ -153,6 +163,6 @@

* Get Array from Collection
* @returns {T[]}
* @returns {Array}
*/
public getAll(): T[] {
return _.values<T>(this._models)
public getAll(): Array<T> {
return values<T>(this._models)
}

@@ -163,6 +173,5 @@

* @param predicate
* @returns {any}
*/
public each(predicate: IPredicate) {
return _.each(this.getAll(), predicate)
public each(predicate: IPredicate): void {
each(this.getAll(), predicate)
}

@@ -173,7 +182,6 @@

* @param collection
* @returns {any}
*/
public merge(collection: T[] | ICollection<T> | any[]) {
if (_.isArray(collection)) {
return _.each(collection, (object) => {
public merge(collection: Array<T | any>| ICollection<T>): void {
if (isArray(collection)) {
each(collection, (object) => {
if (Model.isModel(object)) {

@@ -185,4 +193,5 @@ return this.add(object)

})
return
}
_.each(collection.getAll(), (model) => {
each(collection.getAll(), (model) => {
this.add(model, true)

@@ -197,3 +206,3 @@ })

*/
public reset(array: any[] | T[] = []) {
public reset(array: Array<T | any> = []): void {
this._clearCollection()

@@ -214,6 +223,6 @@ this._init(array)

* Return JSOn from Collection
* @returns {any[]}
* @returns {Array}
*/
public toJSON(): any {
return _.map(this.getAll(), (el) => {
public toJSON(): Array<any> {
return map(this.getAll(), (el) => {
return el.toJSON()

@@ -233,5 +242,5 @@ })

* Get Array from Collection
* @returns {T[]}
* @returns {Array}
*/
public toArray(): T[] {
public toArray(): Array<T> {
return this.getAll()

@@ -243,6 +252,6 @@ }

* @param size
* @returns {T[][]}
* @returns {Array<Array>}
*/
public chunk(size: number = 1): T[][] {
return _.chunk(this.getAll(), size)
public chunk(size: number = 1): Array<Array<T>> {
return chunk(this.getAll(), size)
}

@@ -256,3 +265,3 @@

public countBy(predicate: IPredicate): { [key: string]: number } {
return _.countBy(this.getAll(), predicate)
return countBy(this.getAll(), predicate)
}

@@ -265,4 +274,4 @@

*/
public groupBy(predicate: IPredicate): { [key: string]: T[] } {
return _.groupBy<T>(this.getAll(), predicate)
public groupBy(predicate: IPredicate): { [key: string]: Array<T> } {
return groupBy<T>(this.getAll(), predicate)
}

@@ -279,3 +288,3 @@

private _destroyCollection() {
private _destroyCollection(): void {
delete this._models

@@ -285,3 +294,1 @@ }

}
export {Collection}
import { IEvent } from "../interfaces/IEvent";
import { IHandler } from "../interfaces/IHandler";
declare class Event implements IEvent {
export declare class Event implements IEvent {
protected _events: {
[event: string]: IHandler[];
[event: string]: Array<IHandler>;
};

@@ -12,3 +12,3 @@ /**

*/
on(eventsName: string | string[], handler: IHandler): void;
on(eventsName: string | Array<string>, handler: IHandler): void;
private _createEvent(event, handler);

@@ -30,2 +30,1 @@ /**

}
export { Event };
"use strict";
exports.__esModule = true;
var Event = (function () {
var Event = /** @class */ (function () {
function Event() {

@@ -5,0 +5,0 @@ this._events = {};

@@ -1,6 +0,6 @@

import {IEvent} from "../interfaces/IEvent"
import {IHandler} from "../interfaces/IHandler"
class Event implements IEvent {
import { IEvent } from "../interfaces/IEvent"
import { IHandler } from "../interfaces/IHandler"
export class Event implements IEvent {
protected _events: { [event: string]: IHandler[] } = {}
protected _events: { [event: string]: Array<IHandler> } = {}

@@ -12,3 +12,3 @@ /**

*/
public on(eventsName: string | string[], handler: IHandler): void {
public on(eventsName: string | Array<string>, handler: IHandler): void {
if (Array.isArray(eventsName)) {

@@ -66,3 +66,1 @@ return eventsName.forEach((event) => {

}
export {Event}
import { IModel } from "../interfaces/IModel";
import { IModels } from "../interfaces/IModels";
import { Event } from "./Event";
declare class Model<T extends IModels> extends Event implements IModel {
export declare class Model<T extends IModels> extends Event implements IModel {
private _model;

@@ -53,2 +53,1 @@ constructor(obj?: T);

}
export { Model };

@@ -13,5 +13,7 @@ "use strict";

exports.__esModule = true;
var _ = require("lodash");
var assign = require("lodash/assign");
var clone = require("lodash/clone");
var uniqueId = require("lodash/uniqueId");
var Event_1 = require("./Event");
var Model = (function (_super) {
var Model = /** @class */ (function (_super) {
__extends(Model, _super);

@@ -22,3 +24,3 @@ function Model(obj) {

_this._model = {};
_this._model = _.assign({}, { l_id: _.uniqueId("lr_") }, obj);
_this._model = assign({}, { l_id: uniqueId("lr_") }, obj);
return _this;

@@ -70,3 +72,3 @@ }

Model.prototype.toJSON = function () {
return _.clone(this._model);
return clone(this._model);
};

@@ -94,3 +96,3 @@ /**

}
this._model = _.assign({}, object, { l_id: oldValue.l_id });
this._model = assign({}, object, { l_id: oldValue.l_id });
this.trigger("reset", { value: this.toJSON(), oldValue: oldValue });

@@ -97,0 +99,0 @@ };

@@ -1,7 +0,10 @@

import * as _ from "lodash"
import {IModel} from "../interfaces/IModel"
import {IModels} from "../interfaces/IModels"
import {Event} from "./Event"
class Model<T extends IModels> extends Event implements IModel {
import assign = require("lodash/assign")
import clone = require("lodash/clone")
import uniqueId = require("lodash/uniqueId")
import { IModel } from "../interfaces/IModel"
import { IModels } from "../interfaces/IModels"
import { Event } from "./Event"
export class Model<T extends IModels> extends Event implements IModel {
private _model: T = {} as T

@@ -11,3 +14,3 @@

super()
this._model = _.assign({}, {l_id: _.uniqueId("lr_")}, obj)
this._model = assign({}, {l_id: uniqueId("lr_")}, obj)
}

@@ -62,3 +65,3 @@

public toJSON(): any {
return _.clone(this._model)
return clone(this._model)
}

@@ -88,3 +91,3 @@

}
this._model = _.assign({}, object, {l_id: oldValue.l_id})
this._model = assign({}, object, {l_id: oldValue.l_id})
this.trigger("reset", {value: this.toJSON(), oldValue})

@@ -111,2 +114,1 @@ }

}
export {Model}

@@ -8,10 +8,10 @@ import { IModel } from "./IModel";

has(model: T | IModel): boolean;
getAll(): T[];
merge(collection: T[] | ICollection<T> | any[]): void;
filter(predicate: IPredicate): T[];
map(predicate: IPredicate): any[];
getAll(): Array<T>;
merge(collection: Array<T> | ICollection<T> | Array<any>): void;
filter(predicate: IPredicate): Array<T>;
map(predicate: IPredicate): Array<any>;
reduce(predicate: IPredicate, accum: any): any;
getById(id: string): T | IModel | null;
find(predicate: IPredicate, start: number): T | undefined;
reset(array: any[] | T[]): void;
reset(array: Array<any> | Array<T>): void;
getLength(): number;

@@ -21,4 +21,4 @@ each(predicate: IPredicate): void;

sortBy(predicate: IPredicate): void;
toArray(): T[];
chunk(size: number): T[][];
toArray(): Array<T>;
chunk(size: number): Array<Array<T>>;
countBy(predicate: IPredicate): {

@@ -28,5 +28,5 @@ [key: string]: number;

groupBy(predicate: IPredicate): {
[key: string]: T[];
[key: string]: Array<T>;
};
destroy(): void;
}

@@ -1,3 +0,3 @@

import {IModel} from "./IModel"
import {IPredicate} from "./IPredicate"
import { IModel } from "./IModel"
import { IPredicate } from "./IPredicate"

@@ -9,10 +9,10 @@ export interface ICollection<T extends IModel> {

has(model: T | IModel): boolean
getAll(): T[]
merge(collection: T[] | ICollection<T> | any[]): void
filter(predicate: IPredicate): T[]
map(predicate: IPredicate): any[]
getAll(): Array<T>
merge(collection: Array<T> | ICollection<T> | Array<any>): void
filter(predicate: IPredicate): Array<T>
map(predicate: IPredicate): Array<any>
reduce(predicate: IPredicate, accum: any): any
getById(id: string): T | IModel | null
find(predicate: IPredicate, start: number): T | undefined
reset(array: any[] | T[]): void
reset(array: Array<any> | Array<T>): void
getLength(): number

@@ -22,7 +22,7 @@ each(predicate: IPredicate): void

sortBy(predicate: IPredicate): void
toArray(): T[]
chunk(size: number): T[][]
toArray(): Array<T>
chunk(size: number): Array<Array<T>>
countBy(predicate: IPredicate): { [key: string]: number }
groupBy(predicate: IPredicate): { [key: string]: T[] }
groupBy(predicate: IPredicate): { [key: string]: Array<T> }
destroy(): void
}
import { IHandler } from "./IHandler";
export interface IEvent {
on(event: string | string[], handler: IHandler): void;
on(event: string | Array<string>, handler: IHandler): void;
trigger(eventName: string, eventParam: {} | undefined | null): void;
off(event: string): void;
}

@@ -1,6 +0,6 @@

import {IHandler} from "./IHandler"
import { IHandler } from "./IHandler"
export interface IEvent {
on(event: string | string[], handler: IHandler): void
on(event: string | Array<string>, handler: IHandler): void
trigger(eventName: string, eventParam: {} | undefined | null): void
off(event: string): void
}

@@ -1,3 +0,3 @@

import {Collection} from "./classes/Collection"
import {Model} from "./classes/Model"
import { Collection } from "./classes/Collection"
import { Model } from "./classes/Model"

@@ -4,0 +4,0 @@ declare const __VERSION__: string

@@ -41,4 +41,5 @@ {

"ban-keywords"
]
],
"array-type": [true, "generic"]
}
}

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

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