Demo for query storing
Change-Id: I947bcac841992c3f6cfd01ab337c265b0d01cb70
diff --git a/node_modules/make-iterator/LICENSE b/node_modules/make-iterator/LICENSE
new file mode 100644
index 0000000..d32ab44
--- /dev/null
+++ b/node_modules/make-iterator/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2018, Jon Schlinkert.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/node_modules/make-iterator/README.md b/node_modules/make-iterator/README.md
new file mode 100644
index 0000000..6eb2a5d
--- /dev/null
+++ b/node_modules/make-iterator/README.md
@@ -0,0 +1,102 @@
+# make-iterator [](https://www.npmjs.com/package/make-iterator) [](https://npmjs.org/package/make-iterator) [](https://npmjs.org/package/make-iterator) [](https://travis-ci.org/jonschlinkert/make-iterator)
+
+> Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
+
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save make-iterator
+```
+
+Copyright (c) 2012, 2013 moutjs team and contributors (http://moutjs.com)
+
+## Usage
+
+```js
+var iterator = require('make-iterator');
+```
+
+**Regex**
+
+```js
+var arr = ['a', 'b', 'c', 'd', 'e', 'f'];
+var fn = iterator(/[a-c]/);
+console.log(arr.filter(fn));
+//=> ['a', 'b', 'c'];
+```
+
+**Objects**
+
+```js
+var fn = iterator({ a: 1, b: { c: 2 } });
+
+console.log(fn({ a: 1, b: { c: 2, d: 3 } }));
+//=> true
+console.log(fn({ a: 1, b: { c: 3 } }));
+//=> false
+```
+
+## About
+
+<details>
+<summary><strong>Contributing</strong></summary>
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+</details>
+
+<details>
+<summary><strong>Running Tests</strong></summary>
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+</details>
+
+<details>
+<summary><strong>Building docs</strong></summary>
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+</details>
+
+### Related projects
+
+You might also be interested in these projects:
+
+* [any](https://www.npmjs.com/package/any): Returns `true` if a value exists in the given string, array or object. | [homepage](https://github.com/jonschlinkert/any "Returns `true` if a value exists in the given string, array or object.")
+* [arr-filter](https://www.npmjs.com/package/arr-filter): Faster alternative to javascript's native filter method. | [homepage](https://github.com/jonschlinkert/arr-filter "Faster alternative to javascript's native filter method.")
+* [arr-map](https://www.npmjs.com/package/arr-map): Faster, node.js focused alternative to JavaScript's native array map. | [homepage](https://github.com/jonschlinkert/arr-map "Faster, node.js focused alternative to JavaScript's native array map.")
+* [array-every](https://www.npmjs.com/package/array-every): Returns true if the callback returns truthy for all elements in the given array. | [homepage](https://github.com/jonschlinkert/array-every "Returns true if the callback returns truthy for all elements in the given array.")
+* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map "Returns an array of mapped values from an array or object.")
+* [utils](https://www.npmjs.com/package/utils): Fast, generic JavaScript/node.js utility functions. | [homepage](https://github.com/jonschlinkert/utils "Fast, generic JavaScript/node.js utility functions.")
+
+### Author
+
+**Jon Schlinkert**
+
+* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
+* [GitHub Profile](https://github.com/jonschlinkert)
+* [Twitter Profile](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on April 08, 2018._
\ No newline at end of file
diff --git a/node_modules/make-iterator/index.js b/node_modules/make-iterator/index.js
new file mode 100644
index 0000000..15a00d0
--- /dev/null
+++ b/node_modules/make-iterator/index.js
@@ -0,0 +1,99 @@
+/*!
+ * make-iterator <https://github.com/jonschlinkert/make-iterator>
+ *
+ * Copyright (c) 2014-2018, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+'use strict';
+
+var typeOf = require('kind-of');
+
+module.exports = function makeIterator(target, thisArg) {
+ switch (typeOf(target)) {
+ case 'undefined':
+ case 'null':
+ return noop;
+ case 'function':
+ // function is the first to improve perf (most common case)
+ // also avoid using `Function#call` if not needed, which boosts
+ // perf a lot in some cases
+ return (typeof thisArg !== 'undefined') ? function(val, i, arr) {
+ return target.call(thisArg, val, i, arr);
+ } : target;
+ case 'object':
+ return function(val) {
+ return deepMatches(val, target);
+ };
+ case 'regexp':
+ return function(str) {
+ return target.test(str);
+ };
+ case 'string':
+ case 'number':
+ default: {
+ return prop(target);
+ }
+ }
+};
+
+function containsMatch(array, value) {
+ var len = array.length;
+ var i = -1;
+
+ while (++i < len) {
+ if (deepMatches(array[i], value)) {
+ return true;
+ }
+ }
+ return false;
+}
+
+function matchArray(arr, value) {
+ var len = value.length;
+ var i = -1;
+
+ while (++i < len) {
+ if (!containsMatch(arr, value[i])) {
+ return false;
+ }
+ }
+ return true;
+}
+
+function matchObject(obj, value) {
+ for (var key in value) {
+ if (value.hasOwnProperty(key)) {
+ if (deepMatches(obj[key], value[key]) === false) {
+ return false;
+ }
+ }
+ }
+ return true;
+}
+
+/**
+ * Recursively compare objects
+ */
+
+function deepMatches(val, value) {
+ if (typeOf(val) === 'object') {
+ if (Array.isArray(val) && Array.isArray(value)) {
+ return matchArray(val, value);
+ } else {
+ return matchObject(val, value);
+ }
+ } else {
+ return val === value;
+ }
+}
+
+function prop(name) {
+ return function(obj) {
+ return obj[name];
+ };
+}
+
+function noop(val) {
+ return val;
+}
diff --git a/node_modules/make-iterator/package.json b/node_modules/make-iterator/package.json
new file mode 100644
index 0000000..b05671e
--- /dev/null
+++ b/node_modules/make-iterator/package.json
@@ -0,0 +1,99 @@
+{
+ "_from": "make-iterator@^1.0.0",
+ "_id": "make-iterator@1.0.1",
+ "_inBundle": false,
+ "_integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==",
+ "_location": "/make-iterator",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "make-iterator@^1.0.0",
+ "name": "make-iterator",
+ "escapedName": "make-iterator",
+ "rawSpec": "^1.0.0",
+ "saveSpec": null,
+ "fetchSpec": "^1.0.0"
+ },
+ "_requiredBy": [
+ "/object.map"
+ ],
+ "_resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz",
+ "_shasum": "29b33f312aa8f547c4a5e490f56afcec99133ad6",
+ "_spec": "make-iterator@^1.0.0",
+ "_where": "C:\\Users\\marcr\\Desktop\\KorAp\\Git\\Kalamar\\node_modules\\object.map",
+ "author": {
+ "name": "Jon Schlinkert",
+ "url": "https://github.com/jonschlinkert"
+ },
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/make-iterator/issues"
+ },
+ "bundleDependencies": false,
+ "dependencies": {
+ "kind-of": "^6.0.2"
+ },
+ "deprecated": false,
+ "description": "Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.",
+ "devDependencies": {
+ "gulp-format-md": "^1.0.0",
+ "mocha": "^3.5.3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "files": [
+ "index.js"
+ ],
+ "homepage": "https://github.com/jonschlinkert/make-iterator",
+ "keywords": [
+ "arr",
+ "array",
+ "contains",
+ "for-own",
+ "forown",
+ "forOwn",
+ "function",
+ "iterate",
+ "iterator",
+ "make"
+ ],
+ "license": "MIT",
+ "main": "index.js",
+ "name": "make-iterator",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/jonschlinkert/make-iterator.git"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "verb": {
+ "related": {
+ "list": [
+ "any",
+ "arr-filter",
+ "arr-map",
+ "array-every",
+ "collection-map",
+ "utils"
+ ]
+ },
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ },
+ "reflinks": [
+ "verb",
+ "verb-readme-generator"
+ ]
+ },
+ "version": "1.0.1"
+}