{"_id":"@nnode/core-data","_rev":"49-3c64a052785eabd896d3c00b948b2776","name":"@nnode/core-data","dist-tags":{"canary":"0.1.1-canary.5","latest":"1.5.0","next":"1.4.1-next.0"},"versions":{"0.0.1-canary.71":{"name":"@nnode/core-data","version":"0.0.1-canary.71","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.0.1-canary.71+0b283aa","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"0b283aa32d40e5459da06f48c03a650afb4cceae","_id":"@nnode/core-data@0.0.1-canary.71","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-i0BmFX3MsM0BOj5z8rTLOJUs3o9NCPWvpXaFfp26kqQyqCJiBcGVpW0nlA+pu53rs2XPgM/e83vK7Wd7ryjZDQ==","shasum":"65c77bcec054a9766d912852227ced65affb68fa","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-0.0.1-canary.71.tgz","fileCount":43,"unpackedSize":52875,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewDxKCRA9TVsSAnZWagAAs38P/ibHf7t7RiO4ZXPtl7dw\nMxJOpRn4w9gY56+zBVjm8qod+J5c4iamUHv7lauRCfeMGkOdHylWlZ/G9j/t\no9WC9Eg4wB20uYTFMFE7CBVgaOQP+5bvkGOCQrB6UuFm8ylMxNli9f20+VeG\nXRTUa6an9iJ6SOBm66WKQGZBP4eNVV6a1+5Qdul/Ml2BwcD0LW7185v1pXSN\notwuky7wlhkd68D6CrTUPQyNurxyrKIbdtnUjAlrUVEpiMkPM3a6zlxUke5Q\nqOOT9KkRhGDDNdeL7jNgQHPVkWXIlhoNBVy8D/JXG1t9lgSywG0+BAiv+E7M\nq0Y50UTXXcyImQUh/JKgYlowgeRRylmIb6V2EVJ3tXBAwW/5+cTUpUeZICU7\nHGYbIdFPl3TgKjofCjFNtqJqIYdXvqS6HxiHdxFImCTGmIHGg/A3c4Ih1G8H\nqIeVx89h+KcKdhdsBllGL8JBRKcH7ApvUX9yvVikh0oIKhwIKsWZ7nYbKRyJ\nTuTEmFK7xCHsG9wY79Ma2nzht3rTVfpOrvptdePwfFb6E7i8z8sxCYxdvztk\n1yLnud2pD5qCXDl1xwjILIjYkfo/h2JoWNc1Rpk+0iNXoW2gQdKxKSAzvMVD\nY7D2Dz+ztyiO2zph+vBtdCRJJLkC4KPiextIxu0/2vwbFZcwV7Nn5lG4Liwx\nxqWu\r\n=GwDb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+dghJTY3TZXCG2LEPP7ggjEiFXxPRLBtnP3ZbrR2tuAiAq2H71TjVzNn5Dn1YfpISrrgHq7xrlnSn11AIbZAGkMg=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_0.0.1-canary.71_1589656649674_0.5347071800042607"},"_hasShrinkwrap":false},"0.1.0-next.0":{"name":"@nnode/core-data","version":"0.1.0-next.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"4637bb9c2804cfc38c560330c823a61c14453beb","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@0.1.0-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-P3KQ2qksdxzfmJJb8mX7GhOms6BzcfVhXa0LKw1iVPNxVaN9BfFqS837wZs/HgSHEfiKNYtL94+s/UzPSIlOkg==","shasum":"39bc2a56a050c4a03da8a9e5ab324349045cfa68","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-0.1.0-next.0.tgz","fileCount":43,"unpackedSize":52853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewD3CCRA9TVsSAnZWagAAe9sP/1/s7c+lElc8R7sXbGJy\nI5OojbulwsNjdnW7EDyGElvDpKcMmXBqKRknhqF6lZdSG4ER6OE2sljyh7YE\nr65qQySZHhffhhI/12V3YHAPXrAOslsY0+ovaMuQWNmWNS4AT1uKQcsLxr2e\naZKTRpxY0JBCTnu8EQ/P1XsWcLivV3TDsJgPs/ooIgNguLYCMR35Qq+vnEFa\n483DkSCylKfm8DMdPrOZXDlP7FIYqgsSh5tSgVYjgxtdUVpcCMRfjzdd86m8\nqjzycaOm1lX0usT2et7a7QkM/6V9I+rIdGTvuBRr53hvkwb83+xRayfGlFnk\n4VVvbPdGXKj9Q2cCvkMsB64ygmbL9zfP6POBzmuYWR/te8IkNRQzsMhqPHeG\nYxsEqv+kB68tYAxxijwMBAImb4HVhjQMQJZ1ViowDOzCPBcjvre8Q+W9H4p4\nGHaI3y6C1GuVINfx9U1sVY1Ex/Yd7kOymCy3/1da5cRZZXtpaAu3xEwlVkoj\njteAaRKvdcvN0h76SlAWeDvY/HygWUr1MxFJ+v9O5/Wyg4xy2zPHWg6QjKiB\nTJ3jm/9biNatr2JatehIyxXxZMseLpW6FM5n3sjs46UW1+WpQ+EJlvGZTYpC\ncwXYfmCGoMwHqPlZq1zfSHFJ7rtcRO2yu5btyXeZacZQlpYPujnLFN15icfA\nvdSk\r\n=CAdL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGY+cx32XcmmWqmo9anPOZ76SpFg/BaYqGCc8Wu4OnV6AiABmiOgY6PaWFQp0qGtV8jMsV7V1GeTLKCrfbsfMKdRBg=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_0.1.0-next.0_1589657026453_0.6375637956770595"},"_hasShrinkwrap":false},"0.1.0":{"name":"@nnode/core-data","version":"0.1.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"6a52571b1e24bbce4350cdf1a03ea3659bfa766b","_id":"@nnode/core-data@0.1.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-xwwn4Xg9waF9TI3LWeziqbtXlhNIoMBuKZA2ex0fQkZ25C6B/mckQ2qr/+vrn0LB+vYd3ekdKdz76hbzdzNe1A==","shasum":"8946a2273a06233e33346e032a9dcc825720df24","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-0.1.0.tgz","fileCount":44,"unpackedSize":53191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewEiPCRA9TVsSAnZWagAA9bcQAKRp4giYT4PtvyYeA6Mu\nlc82Xjl2pPSdCHYiLeTuX2sEhd6CLUR/8ppQ+WvPaUx64lXfcq58eZmhrluR\nxKoHBlMip82A/39xNZJ4uh9qo68ZWsr1KlSxn9bkSl5SDGxrYT2lWbB3BgIJ\nX22JWw7RQ61KTUJoKKDPrT4EbyJySAOO3DmSWkdgHOuzOJ1U5YkWXz2ujDgw\n2Qn3ui4A725tlVAc0MIN7xjI84XSTv3UM4x3S1Z2NJNqcXu626wsjnL0F6C0\nlWxxaDgUsZhLi1MXyQ8trlBcr9RwJFLBf2QnaT0qVvKzZWd3WLX2TgP0Lk8P\nIDuFDVcS/WEcxe0tQOdo6zhKkxKnI2XsJt2+qot93dYRZ+4Uz45Z6x0G+t+H\nyjjoIl9ST2mqvRMuAbLqUHW0om3rjoLUJauiKHE+e3DvlRCi5bzz1B0qBX/T\nVXk/6723D9JZPcxWRDRyDwo9CXNl9A0iGFoK1mgyJBrhLwfzRjx+gN9Io6KX\n7D96azFZtSg0rgSzXd7cJLNmow38mleA0sG8OZHitTk9TlX/vKgvXV1ctrb6\nbuxzRfABbqMF09jBQDp6b4ee7JEsr7WxwB2Hn1JxVq/iDZIuL0DrpxPyWvI8\npsh+NtYvNEBYm5mT8Fc2wumX9Dk+2ugX8RAnaZAigYRBNuW9RihIQrrbvliM\n1p8d\r\n=8y5V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCxRj3eTNtQRmav/nzDm9E/YeX+Jf73ZrjwhVI9UUj0gIgRkv77Tigwsyym8cwcTeYOTjVgzzQr0KvdsTnMTuNsr8="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_0.1.0_1589659791038_0.04610855898250166"},"_hasShrinkwrap":false},"0.1.1-canary.0":{"name":"@nnode/core-data","version":"0.1.1-canary.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"c82fb359aae79b53f40f6a83b04ab681e6245464","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@0.1.1-canary.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-VGZHNSQwMWD7vhwYpjYL6IrCSdiHWaz7WSojAZiSkKdAEGNkCZjiJJVRHluPLTr2Dan6G9wOknwylX1Kj9PkKg==","shasum":"c111356f27cc641bca7a026170f1f1890d1814af","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-0.1.1-canary.0.tgz","fileCount":44,"unpackedSize":53192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewMVKCRA9TVsSAnZWagAA8yUQAKTfcrzPrkFWcd/TIhBH\n57TISOXO0IqikX11v0WaV7D94hsvtVFu7tAjxWz2jaTXiHD2VCYjevoqXiN7\nC6+vQiAou7vL8qRYvJJvTREhENLAUh1LMjgBnu0m3QkRz+tcUCpoaWVCJ5N9\nvRDxbJ9qCNqg2v+v/c49s2KSyFOGKKP61nasgBIiJRD6GVY7MYctj3Yo1/B+\noytq3nzY8dB3Of19GwWvB3sJunc7dgu2a8F+VVTw71N39YK5OttYoABbnYjF\nPE84FTNo0SGn8WpmVNNC5nwHS8ILiGJlTS20ZwccK3tu+bRQeJT768GZL0Om\nggG+igSJIVw/GmIBK5OObeMB1dS7troOgflf92na+pfTah2//4Sp3uEcNB0H\n1uGgRAmKoUHLiznZATCRgOLE5FbjJU+nRAlAy6VhGob049sdw/Qpdt3TwUtg\nWw8D2OklWTIF7Z//9dJo5FfQUn4/Gt2dgPSIn6tIHoWIjIlcRVRwt2JG9oFD\n4jvixAkG+nZkomh9yPYoKVwW2ugs9twyPv+QCLCqR4YHSrmv1+qC1HlrcpfB\ni+xre+AGL13XVmI7KTWO1cnTRinQqHVqNPsFLgayvSMdOM1q6a3ZrS/HNNcH\nRDM7R0sF1EJCPX7GVx1a7fVEsqt+pI0wIqfUPAiiY1YqzZa5y/pZGPP1jg42\n9MFC\r\n=WBS6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4pf+KIxvrSzqam4sJNMtzgax68Lftqnr8v8n/XfL7YAiAIJzVgabOfhaYKzIlRJz4by5K0WvHueJvBMyRCXNKNzQ=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_0.1.1-canary.0_1589691721479_0.0006195849364023509"},"_hasShrinkwrap":false},"0.1.1-canary.2":{"name":"@nnode/core-data","version":"0.1.1-canary.2","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"a14c0c491d747f27b4256a3196883ebf539c1c19","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@0.1.1-canary.2","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-ozHH+6xw61iQiRKFJyUYmoTDnsp0QJkN+v+JFGl4YmySMHJiRue0D+H3nvtLFWVvVjqYqt5DZL8GB0kHLv6tIQ==","shasum":"edca52e4b195007b6a3e3f3b3feb1845b28bba97","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-0.1.1-canary.2.tgz","fileCount":44,"unpackedSize":51498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewMrGCRA9TVsSAnZWagAAJqAP/i/PbjoFATLWTFzGRgmi\nXUIzPOms8bbpnKKu3rGE650STGer2e7SlA/Xoz6U6voj4wVZvqhZSVC2nX7g\nswge18MHrNtUgkPaAmODZEHpv3S88mkNLrEBk3PamspEL7K0fsrlUNAUKYSN\njVRCC5I+BfQucCLWBZldQCVlCdqvgIvsMFz6DI7vHLRw1nBtWTtLy1J+vJbt\nHHkcPkDffT94Uy/doOgSEV8rbc2VskTynquumVLGzFBPXs1dx+TKMCfzbFMF\n0O/nUgxEaTg/vOPtkHUKWX3hSV9L4fOHedYMouiZkij8hGK1IuO5YNwQmTS4\nRWnJ7zp4IEJ7dyA9FE/mV4Fm4igjV3gGHLHz7KPb4da+hDM7GOEatkCHEUw+\neYO+KKYqQIyU5A7uYcg5Go+swXTKxIuxBOfn5iCQzOeNklnLWqXJn6LEUQwa\nJsrX4ltD3kII/iqC/R5Hb/7Lk/H4waJ9H9y4dAPBT3Uq2sEoid1jPD6AZOWn\nO4Wm2N+dLIwuzCSPHjITFEBHshnmYe//IujNxRgbxyAKvQXU7TsvzEIkBN7P\nui0Ckwx0joAOXjYUsQWUbrte0NJ78ST04k+a+1ogsE707bC18vEpSzC3FyO7\ndsGrvk187/0XsTeHw9qUMuFSsKIa2M38Vd3pWgyXOYZWUWoOpAYDbYBa7Ixq\nNusu\r\n=S3cd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB1kNERUFNOpTPTDN0RnMI/LbaAH1SN9LYxxAcA+sn4gIgPHpScnqW3nDN4S2Qop+f6Jtm8ldiZvGyjM7UcZTBBXY="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_0.1.1-canary.2_1589693126130_0.7097067764150238"},"_hasShrinkwrap":false},"1.0.0-next.0":{"name":"@nnode/core-data","version":"1.0.0-next.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"6eb0d9b668b3d58f6c70b9c0550ebb1eea2a1927","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.0.0-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-qh+SIy1vTyciL/0/zTYbdrNTJVpRiOTkiLTRDNUKcTDHBZWOneJYQ6rYz25zS/pZXjYrvYtwaf5LlFzTA2MOIA==","shasum":"05fdffe8d3adc6fb25720e13930760da062b0892","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.0.0-next.0.tgz","fileCount":44,"unpackedSize":51488,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewM3yCRA9TVsSAnZWagAA/80QAIb8FoIcNd5AmgIIF7CK\nzxH65XKeZM1PUGGtE61P9fmPDzlNxyUJcqWfnc5LYV2Qek+K0AFfuiOr+BdK\n5TXy+QoI1+uhc/XlqCCJHKSbW/7hPXGoK+4ZWZmNFB8Bgo6WjKX4oO+g7Zhu\nt0lyFXh4ChMYwzx+sVxFQ+IqpV7sfQmFvYExWow/ozsLVd019dG5YIOSCXVY\nlmzIrMraF+jaMsvG7rnHRv7lPxvytdjqMHytczsGBuB/3Lr7YxJg+EyXTbsT\nDk+zbmiOpofPPgRRNjZ9NHm8uYjGFimgOBo6eVfxU7LMFywN8b814H9rU7oR\nlBMRPTF7upv4lNlaThqFaJ2E3+DFwQI0KZ7tkbtV9gqtY7NBXAsl4YuSz3Aq\nzgPLSc5VklsoNovzS490lkglu/o4CVst3kaRphqZAAnOhtCIedfzRFlGPung\nsI4ieiKqEf4Xan5d9HY2v0ew7hpGdKymy9KRTKn+vs42WWeQsNyZ8DzkgZAK\ndPlhD9mTJyxmw9bOX6BiKj391+DC80VvnbutNdsDL0/FF2md7OZY2WnNpcV6\nLILFU/C5lpqM/DwgFIazfGiwdJ1LDvPgDQIa8mnGqBwvkJpEDvbd5mzdkxMP\nCOlzLdY8ga0CXHpKCdSzSejsnZvEGOmqIMeW1KvEWWpJLTfQQ1X3f1ONgUph\nh/Zt\r\n=UKqa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA4SLhRTTxFoZ23TO3YVfHDez1EZqDdmda52EufOsyzqAiBDKlxeVO+dZc2tcgtpjMD4PVICfl2bwOi3cnO+32pTCg=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.0.0-next.0_1589693938341_0.7087430712745839"},"_hasShrinkwrap":false},"0.1.1-canary.5":{"name":"@nnode/core-data","version":"0.1.1-canary.5","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"09d237982121e2d93e0db7bdccc84e733d2ed965","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@0.1.1-canary.5","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-/Iafkhb1TgSsvy0v0Nhl72zy3dOPzNlCICbcTS3JX4tnoXaLnH5xeEpImD6ty7RQVku7u7XMdhuBI/3nRe5Odg==","shasum":"7bda60a0b2d041554efd18df13c4c64311d24d98","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-0.1.1-canary.5.tgz","fileCount":44,"unpackedSize":51513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewM8GCRA9TVsSAnZWagAA3dQP+QHvEFMhf3HaN5Cj3ufh\nC3Qdm22hCYPEAueBRIW/tvLQ1D9ZGcxsaJeW0hiZCfh9wSwteMc4JGoHv4dX\nmtAKMdwkGYfb/4uc7/aU9rHKgSPx7G1rDq6rYlCoONu+brMwfxxTzfk6j+KI\nkD0qjNYQygdL2Fa4CAOyWuWveUGlwU2lFzXsnyQfJZjb5YhuNvSxqBeQuPiN\nGhwDmYwP5usetf0Xy/k3zuPDYJQJtneTO/V4DZAb2feeGKy+EG5NzdNLON1z\ngwUSxF5ioVz7dqJ/bqt1+MyLR+Il+LIxcF5rb089e5tYCFgFlm63XiKD3rkG\n5aDPWWXLh2L8AonODo/YZ9xmn2V545Xt9GX41WTtnMxLw2344YU4WYjZxnoQ\nP7ekIyozQnIl1W2BdV0HFA2Q1/J0VKW3KlBguKM7wuPdslK2ocufjrNXvCh+\niJ1o2Uak0FQNSCw3nm+Bg1iaHmUbz/g4m1Xsovh1ZQkOAan8ZWMgKuUxG4Y2\n3HLqXCM+Px3aZkyPLfU6WijkQYALIo7SevUVIm/BF/fL2musyVntLJHP+PT9\n0TmQZjv1H/RdEFAw4qXx1QOCHtzvoKPsEoVyjvK+xy36hb2Rtrl80tvubPVB\nL7E7ArXZxerrpmzZMjDgZ8TgRcJsFsTSSX/0aPOBETqlsTL7QTmL+nrY3Lxn\nx+/X\r\n=TQ/H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfM/JPb98cM+1WuQtvVVpW1R9iBD7+rQw6uuSj8gt/0wIgEIdC42oIVLU1SRI00NNjLOUhA59MDqnf3J3eHyOJuzc="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_0.1.1-canary.5_1589694214169_0.8146822687379012"},"_hasShrinkwrap":false},"1.0.0-next.1":{"name":"@nnode/core-data","version":"1.0.0-next.1","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"15e19aac9980cc1fda70bba1670c8fb2a132a949","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.0.0-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-VCRQajVIyiHY23VwSNOikVlFPLYCVT8nSeYYz1w8NuQKeJ5Tbxp3eNaDmW/BFphS6CDUn7UET9YO16eukUcaDQ==","shasum":"f8e28cf7b043c8bcac0e2bd78a59744f2a013d59","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.0.0-next.1.tgz","fileCount":44,"unpackedSize":51503,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewM/eCRA9TVsSAnZWagAAY1UP+gI0jpEFQd0hIa2rqYn/\nunTthSc9X/VnwgLphF9JMtc3SeUOUcDPXlDtLKD1PdWy9rTJT+ljLJTVSfDU\nYhOMm4VtMagNM63iHFCqloDxpAgYPvaKSOl8H2wonRBLGIoiEFNWb1vz9TFU\nh0QiHBTVhdkEp9oj01wPIy8SzPxhfBZyIYvWa+0iMJy5YMWkt37Lcg0mhujZ\njxDimElmgxnreMiYco6lt6kc8A2TxIEpaF3zBWejzpEDwtwFgz4V2znFgyB+\nXX48pYmatBcmK1nQZGg/u0PG5c0JuV+pVkX1Vk0z+UT4M5t3B75vLVGu4b0k\nJ61lGABoRrL6KOji70wYlTsgT+M9K51fZx4ofNGZGEIh6VlfvcO3la1DD/3y\nVGeVCUpS9jT37K1lgTm3QbB4Rm0wl4Ik56vGvq3Xxh6xyxb7TNF1ISgSyclZ\nDFJeCWQuJT8+6j+PzeKXN6jbZdpO+5oX1wuQdaLmiRlu0rFHaSQofowdPZpj\nEJ4OXL27LLTtoIPrQSFG+Qg+jKEJiRZ871l39oTb2jgsIaB437sRNOLElw8P\nwyTGMi+I7W6EaaOSwu+HNUk2GZHtm+YYV4gk7vNc1Jd6b9WBWmwiWy+8VTsv\nSCgtNvysKKjStYDFO5mBcvWxWP2Ptf24I6KGb9VmZf4YYlHXHWNjXjBEHZZ0\nNECp\r\n=HYMk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDBDeeAfUQ791mZ93h73AA4tn1woNUHPwteINI3TdIkgIgXRIf9qG5cOSKxDHztF9Zlv6y2fl5ipHF8n7piZCbbQw="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.0.0-next.1_1589694430103_0.7916131689056378"},"_hasShrinkwrap":false},"1.0.0":{"name":"@nnode/core-data","version":"1.0.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"1c990ee05a41add6249d24afe3696d2c72c5da74","_id":"@nnode/core-data@1.0.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-qdUcg6+RtfixvM3mFT8EllFbUixxOC955fWhSlM78grn6VVE1seliQ7uEy1faYfjRkvGMvZfBPfANAyt9LyBzQ==","shasum":"f5e660bfc4aebbff3ae2caf1f669096503ff22c7","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.0.0.tgz","fileCount":44,"unpackedSize":51686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewNExCRA9TVsSAnZWagAA964P/R6zkkFPHw/Ic9FN/Lf8\nWTixqHybgxzOTPEsasZIhKq4csGKc0bYwMYt9u1KxQlU+1UVm65wmPXpj4q8\nHLrYHLUpLZ87EpHrRlTkFV6T6ohphivqa9zDO59CCnh5d2Mxd8mup7fuGMq7\neBX9cUt6YYSfFEVc4SzzJU9w8njLVL5KFNBm/NBKzWVXeqTwSLbrme3in8xs\nCnGETEa0RLJkNFH77OWNz0HHuFll8Jv7w2mwqmXOUUXkWZwivcvpT16vK1B5\n/QCPL4lqelNsLj0xJtf9xWIOHeY+prpeufJPn6yn4Peh0HIISy8ZM4u/uQbR\nQf1XWn1N0Ar2JubpQS9wKFEwAad2DbWN3gktJ1p+38PPLr5J2yAvg40lmkUY\nKGFrKxSowzitEvCG+B2+IMd2Z5MbbKMEzRy9xbdxBlg6Z3JBxjJFAm0WY50p\ndAHHniacvB3zYyGRWEARGAAChQCekmlKbctbOjd60i+FLwWHOLKPoA3HMMM0\nz09KNn5tf8+8jf0Gh2dweRfS1WjXddrwfq00O6T6YDknRT0YERv1XgA2Zvlz\n43s2BgMRE87kYN8zA2SqJwZjpsw6/C0qfo5d7U2TOAgWAzcWzMx/EMANWLXj\n0qJfaWwj83CquQyFa+gDg+9UVbUehrr59h5gKnXPyGMrz4xQIi5DjL2+nbEY\nEyBR\r\n=9I2W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9/9NyEUx2lR5aHXxaSsiH/SLoKakEqRX9YaGUk9pYrQIhAOc9IrJ2hH2eFO26ENRQJxOUe279fJrWipu4XLYLL84p"}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.0.0_1589694769193_0.6603996015160203"},"_hasShrinkwrap":false},"1.0.1-next.0":{"name":"@nnode/core-data","version":"1.0.1-next.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"c9729c194459a98cca817e3330467903b0936ad4","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.0.1-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-jyz2nwBfVUTt0BTWctlKk4RfLlRujtzipo4eklMIRCEqLwLukMlrZL57jJBikNG5wxOE/ZeI9PJjXN8E4FGEOQ==","shasum":"135fe3ec02cdf8ae61465d72e73bb8d84b43024d","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.0.1-next.0.tgz","fileCount":44,"unpackedSize":51693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewNX6CRA9TVsSAnZWagAAU1wQAKUtntEX6MhrVX4QMg7T\nxP07027xfn/iX9iZjNSqT3aH+tewDC9xPYDbByg/LabvngS+ST6E1gywKtZt\n1Ob30SnixWrxL/PKaBob7+i+6+OnX6KdEljMSFS+nKfcpcqt3MeqUpGCGG9w\nZCDPl4ON8INE13krxxHKdzqtNdWi+fWD4/0jiqO9IIzv5EXC8X2dgwjoMbJG\nfJF0EJQpU/U5gNo2et8uoR8f0ANDusFaRYaO6nKTRcGV2IP3ikQLcn1sjnva\ng4WowUgq518dql1eAKtk/psXYRJnsJr6pNDMIAyedwdmsjbwV5KXMHnnwbJ2\nh3o3wphOu28phgrLCaJE5LPOt97Bq+E+6dfMixi06/79r/NyvBJEaIdMzBkF\nuUcnlqC+RDZqylgrzLM/1fApplKQY8h1P2BVIkX+EDAqgxiyTovNhNdJ5ZAH\nu7LUNfMT/0a7cMiH1Nu7ZYlrGHXVUNTMiZ6g2014UNf76+gvF6d5/oBLJwSW\nlkRByrzvkENgBDcBe1glDlyvdgt9kuzj8tpQHMcD/GledgwqJuycHazsAJWS\nmCE+Ij97QO0UTJYWixCOLzpWtnhUcscH/GORV3Z7/SZqnjIO89uEcz9D/t0W\npPZ1pwlcJi4OilFTBlevFxaJrNl5e0D2BKtM7bIh6uy4Rekw78QX+g4256Xq\n4BJ9\r\n=SMVE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1gHB3YtCd8Y4od/3kFJ+HbNEpM1KHeWNe7DjSGlOI/AiEA2DtlG8zXs+eO394KyHycIZ8AAAEI8Eh7Gv9KE00Y9Dk="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.0.1-next.0_1589695994053_0.39725842315275206"},"_hasShrinkwrap":false},"1.1.0":{"name":"@nnode/core-data","version":"1.1.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"44017059ef117e2474c136f7041efde450e9a213","_id":"@nnode/core-data@1.1.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-JCNxTrOrRsDeZsSsDIE8YzLb/92uhszq+N99nvvUwHUZj4IqVyzxab6kIJE/fpHtTpzFxVSznn9X6XtlND/uew==","shasum":"c074c6e5a2d264b9a24804d3296cecffbd146d52","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.1.0.tgz","fileCount":44,"unpackedSize":52077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewNcDCRA9TVsSAnZWagAAOwoP/1pqtk3V+O8BIGjdwrom\nxdvwSeJ5Q3e0KvDs7NofXKjej3w0GIAmOIoPiyPU0dIKDQkOZcw64YnGnCIV\nsL+zom6Cb48YOQRB5y99b2MOnH4InbY8pKAUwqijZPYfXeEIszruvTN1baQm\nd/2ZUWKw9QzZAERY74WS3YynF4NVxLMDHdFFqYpo/WLaI7eTkEWwiWVvaZXp\nEtRLF9KOvQ+Us/H6EH4Isr9HC/sSMgRCJDIvGeeqrrXe1ewrewuZPcpihGSY\n9WgfOCEujkX1utfGasGe5wZhLrFFugujyTaR5aMwvYNupg3idSVCYjDA/nGM\naQQ7x4sBT76KwQAR4DzC1Vy6+NW+N46aZxkSErdbBOG/ePd9Z+E/+EEpiwdv\nVS5lyAyw9UeiBvfJD5FNVV8DtUJoL+UO5PJ5V3b+1R51lGKhHltvLOJzcbik\nhFrMKgJ/JL7lQENhlSCpfqRsgO6fOi2lF05Qs1tK9fOYUDiObQBzIhDsCpfn\nX56wNlCa6OZsKdtC4VoRxt4xZm9K83vkbiOoU6q4FjsZkPdg8kuu/aHxC6n1\nPIZCg/aCVJdrHVXxvpghTJaRiUP3Gm2IX1LfKfigb+m+qRr266G6Mv7ske1t\n4NLNPFFrwUu+TWFnzMEOgbYQGzqDuk2B33/eTupmCD6TP1t1LOlIWdnmQ+V3\nwj3l\r\n=Apxq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcKi2amIrpIt0tEJALRbUK11qS6hT3eFdHqstshRuScAiEA/9WzqSU+Y8YKEgWl9ZCmBR3RcmYGL4D45kl7QY/j1d8="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.1.0_1589696259313_0.07766235492250484"},"_hasShrinkwrap":false},"1.1.1":{"name":"@nnode/core-data","version":"1.1.1","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"02dfbc5bad397883ee09b26a933c142a7f7f9b97","_id":"@nnode/core-data@1.1.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-ST+ShzP7l9WnIV78Suo/9iPYnDa3yQU1NBKIskNySPHCJoBevzt83SALdjzsYBiowg1L2tAyNR5NHsoFav4srg==","shasum":"b3276528d31e8df6d3c837510ffd29714521a631","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.1.1.tgz","fileCount":44,"unpackedSize":52498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewN3gCRA9TVsSAnZWagAAv+wP/R5TBB1R1OQ7yE0VUkCe\nPxaNTN2lWwyblsqovo9LMk05eH5YIc7gHKLUa3RNyLlKpfgM5uZs1qqMJ+p7\nF3f3A6wXLTd8qXyKwVKHd/juxp6iDQWHvDTBSVvF5r+aYjolIu1yZc3UQvRF\nZTqcYK7xXd4EPM8MgURkV1ZPLgjthlzb6n8iIqFxPpsKOR01qviohT8g6/ya\ndt2AEAODF7J1v1vNjlPFrlOnNbvsBS0xRQzB1V2BNqraSgb90l8gFdW0GfTm\nmICC8z29Mjzq6m2AyCXW5TM6KFhidl8r9efK62XejZ7GNqaaWphO06fUBTkl\nfn5OdDS9BWvBwwUTSmw5O9sAhXJZpFnmjJy/U2v+tL82UE8zQBNYiWaDLnlc\nvO6f9/Dg3Q9aQPNUvTPTpKClzmqJOGWT830V3pYvrEwOO0s5fnNxWAwCsGGG\n0s/9umi8gWvOhdktMzouNDwgNSwI49U+4Dp+uXQVT9DD8MJThAkAOYyyr5Ss\nXxkEQU02qSC2AZIH0P1eXzubzWo2SkHFFEST4QX6XtQftGZMTW57m51QU404\nzC9SfECPuGZFrAHxx93w/UbZhSNHCNVGru/haawkgcQrl2+EAoJyFHuV8Iyd\npo5gBkc93UhItf09f0Hbrb8GU0aWz2PDhPBoifdaYhn/w5kRzA6hM+l6zGZY\naMH/\r\n=IOBs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGi9yVh3ImWa5ZNk3ENBCPTuMwuCqW2/ES3/Of01bmBhAiEA2sjoNLd0dDdTMetVu2E6bHLpjBQn8ZHkRK/4JuiBKIk="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.1.1_1589698015878_0.20657142812879448"},"_hasShrinkwrap":false},"1.1.2-next.0":{"name":"@nnode/core-data","version":"1.1.2-next.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.2-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"a1511d615caa4ece436cd49ac8b81b15b65d60a4","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.1.2-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-1vlh+4LqpRLqrvKYST8VJJTZS89gDNKETSosSGwUBJ1BR1EHYpo/EqoCLI5C4MSjgHPh2nSzjink+kalI4A2nw==","shasum":"6f881cee181ea281429bb111551261a21abdd1d3","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.1.2-next.0.tgz","fileCount":44,"unpackedSize":52512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewN7KCRA9TVsSAnZWagAAtgIP/jniENYRtf4tHL0bXWRv\nfDmCjZadraBg4b7DaiKapjUzk1vf+C5xerbVNjG3kCXX60hrX6H9zs/QC788\n9M/ZXDEo8oHHMHFe9JX+L26d4ll57N5spRbJ01gp+HzCqjOiOxsf16rq5TL1\nlFkmSafIhb9ANDa35jVJdZwGSn+84DR+ojXifCJpHm7xSBGKOP8wclrW3qdp\nM+xlhrGnG4Uq5vnwcZOvVAWG4QARRAA8J0zG+w32o7JkNs1I/WPjs9tRa7Ye\nsYUbVZ9VB7n4lWClCq1x8MmdRq2bQ56ROu9rM88OuqPRfjXrqvnE3HtSNnlJ\n80xSee4qo8cHP+dCgpYWdddGWo6U0EYA/3dYH+UfYMlFrHtxGhPcaUpoXjY6\nkItDtdQTvslb9MOydRFpzM+m0ESu+l057EgEUq85KKP+rn1XHHT2ZzonGCNK\nVTvQ7xljT15xvWEG7DvMOdbXn8khDFeSR3sODT+vHRb0A8mEJCJ9V2SAdTO5\nMScDv0NKpv6/ewhQSHGDn3tC5BeGp1nfmi6hdjv2fDhz+iKGnL0BioJbyBwR\nDPkmuO6Fo3iYSuAvorGNnskp/jR7F8X0OdbDUgcly1dMSi0iUXk7ywDNeMkG\nY1oY5xE4GKFw8BPqft0OFV9UkdhCuiXOcaoBwGOUvoUSr+m9RBpbUkC8XAtq\nd6WF\r\n=uSMv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkIVbHiY5Fr/ygRnBHP2MY9QvHvC+IfPWv27us6nlU+AiALiMzVYhTLm6Mgxo3jT+HnR95DKJL7QjNm7DBdVtl9aQ=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.1.2-next.0_1589698250566_0.47680007476043884"},"_hasShrinkwrap":false},"1.1.2-next.1":{"name":"@nnode/core-data","version":"1.1.2-next.1","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.2-next.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"b47ff0beacc2dc7255b8ee4bd9fd710285616c89","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.1.2-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-qKHX9FUZLPpVTCpt/ylMHN1u77dDwmvO7C44HkBVff0OY/xDaHTuK21RAI7PRB3uuY9oHexjv+FfnBkfgheCbg==","shasum":"269694d8b73706d05136e737b7848d2453efad42","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.1.2-next.1.tgz","fileCount":44,"unpackedSize":52512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewOKmCRA9TVsSAnZWagAAMbEQAKLwK4MRreBDEq/zeQH8\nmwXMEepoOvzyZoVxN8kHifJcE8K4AdEm+Lc8Tz/G2RzF6/GVXQWzSDtEy71R\n1/FjoM1jzX8Qf/qm0v9K4ry/KfT+JJGUk+PJA1hD/yfXPfYxlGNOsdg9kTvS\n/7FgQKmoG3KK5trxpG1VJwWs/DVjfPpS2ZpWqiVNcUHP6GjlnoqgnO6J8fiC\n4HA0b7lCTwnU1YJv4EC6NvNiPI99rXlz8IGUeuwDMcsNa5BQ5cav8Oty7aiU\nNkIi96+pHustCrv2pXBUrEnoN937mud8suR5UR51LUdMaMeBMNtwZfGBU//6\nie9huu0WcWPNkjGET+YsEpDlAXMzAyUJodlOdVJxDzaFa9Gqilab22n8Zw1y\nfspMl3xXLl3Dhznxr98gVYDjIDVGUl+Vw1WrSyItwBgUkgrTor8tiP/AzH+Q\nTxoHgg9PsXUh+MuIfK48/GOh84osvxS0aco0bRXzhdclBEVKRqUULDww90w5\n2M/N5rK8kyi589U3L8TtAo4rJLjmLCyrBIjNbNgqbjgDKb4qrWzfKaV6p24R\nnxjomSAPSJIpHn68zU1T5JA1CbgoCrpM3C5hgVBxD1WgIN8GMFy1Tltyy+MV\n2YMbn493oZb3T5p6bpvZW0S3gwuBha1Ada8tVX7F3BvYQd2GL58QRkb1aG6j\n/oM0\r\n=c0ps\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxPJrhzTyYx16WBESIP5Lvl4rfa28Q4nlcyIr39EXkPAiEAxKlcelPPVQWZZnj8EesNNfyi6cXUN/Ed89fS/k5oay4="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.1.2-next.1_1589699237788_0.3080412610648844"},"_hasShrinkwrap":false},"1.1.2-next.2":{"name":"@nnode/core-data","version":"1.1.2-next.2","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.2-next.2","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"328468c5299001b9f1f2ad67d932ce6279f19c60","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.1.2-next.2","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-Sq2cGdxLRki3zBaWLYJ9B8oSSfq8mlP+W0Q6Y3zQRDk2SRgPExdBg0bS6cDpncCi5AvNds8W3ZKsWpUVGHC0Aw==","shasum":"4064767908969a382c78180e5ec047ed0adff9ec","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.1.2-next.2.tgz","fileCount":44,"unpackedSize":52512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewOT2CRA9TVsSAnZWagAAgsQQAIvUag7yQhNXyQLYOky6\nVdhXmWd0QuMhwZd/1mXau2sXV4KbeZZz44ygRLTWjPaKhoILUjzEzY7MyIII\nzDW+faJEY2miPW8FRQpaFINPGeP1ouOFzxsAfFs4WZ6pUNEjGSljFClWDc+d\nTk5DhHcKFJQKLXeHwwHmmOwaEXqn1GHhRez/cNx32TwLwreygRBqy2N+HH+p\nqqYrVW/Gjlr3MKjPZYiVDK70nMS5JU/w7uAKOlgCDDdsbKOlLojfaA3K04t/\nm0f1sOlQYRhlXIdV1qMH9iys1StqaIrMJ8yN2IHCiG6ZjpQ7StL3uqMndblh\nik5FAhQFin0Mof58h9JEA0LbifB/KTwzqsiwufiB5Ir+K21movcSxMeO5mhD\niYrrjMDnDu4tIhzkkzAKftYbypVZQKJBWZ4Z1jNMkI2gjUWn0CwnAehUZogv\nPEFsc7SvB7Z/iyBNqU91eJruSLQ0Qsj6OFbYtGVAzecaO8Yh5rZA6zdH1eP/\ncAR8MCIbJQbcYbXKIDfMu8Ot6p5bjx2TT9sNCLHE8YVxDp9R4d4AW3yIZ7hw\nLEQgLq8nC42w/muOgxt7h7cF3CHUjHNhuc9DWo0gLArN/9XsyS1zbJFFAe9e\nfSNrs5lSGqxcq+5pw/5wlSDAYCy/Ttw6KVIU+wnRZwwgKRmTcfe7onTymRVV\nnphK\r\n=iagz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKV/e5wBBo7dj7GFFOkXtaFzcrKDCJn1oRM4H+TkeqmwIhAKqc5/0n14jCIb6BeASqeVpms4qUww6UuSqpNzVb6kYY"}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.1.2-next.2_1589699829786_0.8378764836755614"},"_hasShrinkwrap":false},"1.1.2":{"name":"@nnode/core-data","version":"1.1.2","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.1.2","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/node":"^14.0.1","@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"7b591416cee352e1fb6d73868d4f1f036406bd3b","_id":"@nnode/core-data@1.1.2","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-NSXYBS9xqKnX2EXZStIADGMO+ZbhI6dSQVCE8CrhSWVnzHEfpG30w9YnhN8BF5E26XD0n0dV2zG3soeXbT3AAg==","shasum":"340ce1d0a4776a5405177afed7246bc390354a18","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.1.2.tgz","fileCount":44,"unpackedSize":52759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewOYzCRA9TVsSAnZWagAA+9YP/iz2fspWeAMqYmR0WSOJ\naF6nEV7/l/UKnoWwOA1g7zyhKz8Z7NrR4xF+7NkWCJPnATf/wFoz3p2hDWyX\neNC3rT1v/gd1B35yVGCeOsv6yhS8m8h/HB2nUvyfcbS89MCT7yqYXTc4Lu3n\nmjXCVLu7RByomG8g6IE/kx/9THNxCc1r5VqzSuaIJCEtI6nz6SdokgVrJc4F\nlal/sbZv4f9zYSzZq0XBVByzBL19la6GHLHNIF6Mpb6jcTPlQTfCfsln3idt\nRh+khpIwncl9P1XlcIChzC6/Mm+wkRltJpSXnN1PVwh2hpusoG9/ulv6DS9f\n6YM5Alc5ySUhPBRv4A07EJ2Kt4Xz4gPxz6Rm72PEFpxzfAZLIUT/Yerkyitk\nuxgWGdcEZUbF/FdSc//k2PXZKNL29HToW+h2EXkLEyhFrRTbxGkhnvgbddm1\npPlH3WmQf8BrB2UCBZESXTHEBafiCFpKedgJEywEN0J2J74GzrIZaBBTu+62\nLBgQbWyZQa/PxqwpzyRJNCvnENE0Kg+S9Zf2Yj75Gnef+RmE4YQFRY1Kfp01\nn67J4GZOLp9W9Si+OQH4fWOlIPMoKJnDjORBzGTYf8DI2w/HahACafiNyuGQ\npZwkICUKSXpcZHo5P8SvUjEj9nlFty8DKNtRWascFhwbtv7H039I4f3HwxrC\nrvXc\r\n=e0N5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQ1bsmDsdEUJhhf7AIPz2JNa7rzQ8NKHqJrYwZvj7gcAiEA4As0+NzkjH+VQZydMVVqrYso11Qa8A8ojJ4WWn+VgBI="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.1.2_1589700147401_0.21363709712194523"},"_hasShrinkwrap":false},"1.2.0":{"name":"@nnode/core-data","version":"1.2.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.2.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"1fcffd1bbb2d085b417e01c6c906369902ed26a8","_id":"@nnode/core-data@1.2.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-NjnU4T10XXsGCOgzPS4MOZHEEoHlKGqwFP4liCk/K6qi/gwYM8EIvaDt3I6y9httYQIyMMUU+/JWM0c6RHqFhg==","shasum":"4189f318f6f6822239e4e62fa77b077c12ec33e9","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.0.tgz","fileCount":44,"unpackedSize":53102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewX1LCRA9TVsSAnZWagAAo1MP+wSytqxDfCbazijH+r48\nGj/HrxC31ENg4p4tkDfX+ND9ISNZxwb/HSmTG308HdV7koWbYE9wOiE4XKYq\nMdQkFLCBaHV9QRotAZJqmY5boILDtApzDH2lp+NlEUgkE9D5c//+J5ijQAT1\ncPP5z0SSUKVHGZDKnGreepjoIpIKUuzVmFLasTHgA/t/vI2xPkqcplIkETN7\nJyGhaLzPYdkF48yxpXSkxPUYFP38rDVc06RTtzyKM1s0wWCPrlMbYGmRbzLB\nRxVSesPcNSpel315/wQQBKL9pxzdq4oNsNos/dSBT0w/ulr0eHSxgIoFa26a\n7o5UaqzLpTasrzDNmIVu1eKvBD3bhdCsiYHjwi4dA4xJVhJxoKDjmmJ3qq3V\nZ7Tew9wPLlWoS6HEGbO87OAym/wNGvy0bAtK4QNd4wHSmIJLdbGIfx6pAwbV\nUxqlgiBSy6ce0hComHIDIoAqWzvHRwSBABnfvpc9JmGmpIZACrsdY3wmRaVE\nhlsQX7g+rE5xuQDDvZTu5NGOA3M+DG8p8+ewN0UfQcdx8E5yGH1e3Q1wVNbs\nQfeOQ+NkfmYFpL1pxtQY/zQUoragaZIS6ssZw/rf2jB5wBFRLAk5llqQT92W\nRg5OKjYWVkU7QEeyWJFdX1FTK1QV1dDLZKzXI8pjDBirVuIot+OkgZXNS0ik\na0LE\r\n=bstB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDodZKa12IdXD8WrajaPGQgRZk3QzgUZrXaH64MCJ/XDQIgEFQPoliuzPC8XKvBs3aztX2H9eL5I3foMUUxzXrleio="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.0_1589738827254_0.5379423310487013"},"_hasShrinkwrap":false},"1.2.1-next.0":{"name":"@nnode/core-data","version":"1.2.1-next.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^0.2.1-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"7963be8c8c9e45ed919c5afdd9042dafb2bdd7cc","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.1-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-5ssUsg4DEqSnb8jXrY/BEQaYCIiwV4gIT4mWqK6xsbkdAowZ02JfXSl3/bGilZvx2TdPN9i2h04LWDBcrNC6pA==","shasum":"2f0c3cedf297f7cd485338a93bb617f59c4e7203","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.1-next.0.tgz","fileCount":44,"unpackedSize":53116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewYCqCRA9TVsSAnZWagAA8dYP/RFQjHwKpxgUUyasIVda\n2FlY2LgxPEcvdsTsLGXR1VLETfdKnVJyWBon0oAQCWP10ndvgz+8qCwJsj5e\nClFf0JqIIQNto0CkTYOlfG0vznPRAelAJ3q3TjoIpCDJYCYNWZbmMDggZF8H\nmvh3Gt58ongh0AYe87RVgSHqGtNXrN7RatkCw2X/MfrRWRQJ6T2hNQr0Jf4d\n3eiv5VdIMhscEVOUnkKiXkuX4mL2OUxraAwlJE0LT+t4DwmEzBC6ieQ6NpQX\nFMtpXkxMuB0RV4kpaJ0NpUZOHGAQez5xAFdS9Hh59IVRQer1uH6hDR4uLWjf\nWHz+7M3xF1x0/GaLq48C0hhtLnoif2Wp1WJlc1A6F45mXkD2Fix91x/N73IR\nNpzM6XqJvPDzX/y3DJU3Rxl1bJXff2CL2ICq1boo50j2DxmgjuEfAH2Wa7OA\nY2YyDghJ/qskkh/r0SEA56YrKCxScfXznG4/X14FbMIhzQfu++1tbb7alpuA\nAJseWSBeIIqJB4ZLqQEBEWbF82KiwFACw/nUAKNh9OHF/d/jQku6wio/Ofby\nT6jOtiahq08W3NlUJaZOO+j3rHk/0vjfiHCeJHvVYc5NDpmJ2XaI2ypky3f0\n1uAkmoct97bXe0SiLbw8QSGITKE+zUN+PAo81W8Md70nbOjQTPfTfH2kP0N5\n2efm\r\n=2GvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcI+J5w3FVtgHeV9mO13TiRUGhunDAFtVlCrfEqmx/jAiBZqU+oogivgTttLzZvBjMF0S5fwyVAJGRRdif8zf66xw=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.1-next.0_1589739690127_0.779064668735356"},"_hasShrinkwrap":false},"1.2.1-next.1":{"name":"@nnode/core-data","version":"1.2.1-next.1","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^1.0.0-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"32e6e46a33036f5b7b47f837363b662fcb2ffaa8","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.1-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-IpcCAqFUwjiv7ANEVdFGw29rQJ+zPmTTiqFasG8Mz7aH4miIcTMW1eTfkSCNf5+ARyDepIwdAdJCoKbVM3buXA==","shasum":"10289527a7f99e9be0adc4e0204c1d1fb76b2b5a","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.1-next.1.tgz","fileCount":44,"unpackedSize":53116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewZ3fCRA9TVsSAnZWagAApGgP/1dKWmlbsYBtN2RZXrml\nlQpEhs+IskXqZ/nU46FM1GeHH14odizurYH86Nzxk/Z+pc8UjQnUtTdWKqzz\nICwbHe8IXPwaUisRBuoaLU4EJh9Bz9aMc7B956gKSnhJfgawDk9tTZh+0M20\npVxmgcqvlMAC+Vr2y4zEIx94BuulmJL4GjG2z7xOjh3Txbv9p+yLhJYb+KQ6\n3iwhW4ZVmv+LA4sJN99yuyixScRDBYvgVj5D91IcbtVR9pQ2Bdrdyw5nBbES\n5c3L2Rq2vp70MHfEY95jkGui4gqtyBFyLHvYmE55DSMDOnQ2V+udd8M02ZTW\n7tu2vXxy+JfSPxk9RuLEz8JBrmHfJVwgBchyHSCOd/8y4hIEAeKFcIK2g09p\nB6mdDHe91oVBlbRTqcK0v93p5z61ChgG7bY5r2SMeDM850DgqP7S/GPUlKMG\n1wTndb2CA9JlA10cZWC6IZXFSC1VngMAsTC+2lW6ttC7qQY+NP3iy9hLHAVL\n0ljxBOVfRQFg2FA9oJ3YIHmhcyKuzO5arYarq2MfM8VSe1YvRw95/rbgygHp\nI0o3RfKllbkGqjAJ3uWcY+SdLKV1MgrltC+FDrTqNnVK5xPbE9T4zJR1CD0n\n1jndNi+/MQrx9MHWt5FfOSlgEfTTkNzUnJCVPGmPdAcT5ddLRl8sUfsVXwJY\n+cRd\r\n=MdB0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCx19TfalpVJaz9sNTQVB9Cc+0DTO45rl84l5wFzHvY2AIgFj748hdspDjAKvkVRUtatU/ZZ6gzIq4YwvfUtNVodKg="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.1-next.1_1589747166876_0.2183831891687278"},"_hasShrinkwrap":false},"1.2.1":{"name":"@nnode/core-data","version":"1.2.1","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^1.0.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"cc59e4275d86cc6f2453fa56ec644d15cff60de1","_id":"@nnode/core-data@1.2.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-8hjE0Ngrr4eqnyjtKKVqirxAeNMC4Vd1IvoBHwkUwMFSeICjtedRpVveFcyxg34qogghefMlkXbdQ0q7sJXBLQ==","shasum":"3e1c7d8a876acf717ffcf825506b0c0711609346","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.1.tgz","fileCount":44,"unpackedSize":53286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewaEMCRA9TVsSAnZWagAA2tYP/0qO4cNZ3bEr1nxBVO9l\nOHbrnBLDrTq86Spb0b48dkgRJRuL+94awlwL+a5Zbk0ZFhp0i3uH3N2Uzvj6\nV5PmQwChKjshiZ9FLKyfNqi2XPEAs2zpeCTLkuYDUwMSC7mkd+v3ImjtY2ax\na+IL4aCZ8J7PKtr87GYMqaETWqnVXEAlpL00YVqEjB4xVoGGqkjAGKi2/epO\n3vxPPHY2B5jk7NS89FCykKuIHT5Ty55SqPVr80k7+3qc1JbdTs5V9xGdp90y\niEAruYd1KyeP7kiFBPpblHQFC7bdePUMFS2RfFgr2njv1VDqHf8NF/MesRTN\nJ5L9k4oOGZhqkNyrogKYqigtXVTxdXKsw4uNrglYMG7lzbsuULqJbusj3e3P\nTS0ZfdeY89Vhen7dRia6tsh0dEJeblvmQqliC8mB/Ng1QiB3zwg6mLCNiYxB\nJxK7XXkiWCHr4VVhELbdyGTi5lH1exGavCJnlH9CmvDU51C+KkfHJpWpFtW+\nnosQd59hnzrouHuta9Jv4O2uWbvHx9SlwLTkf5+wZJBF+52Drt8IM7GmMzcq\nIembL7STDMvpKVwQY+FYgVYN9l9pyEz1bVKi5BNMZ3W5qKOE4qzodIffJsI4\nJwlcwAFQLLq1VFZsKZ8n8mZvaoZ2+qJwXd2NoHuYxE+rzS7BTKyJxEPRZoqR\ni/bL\r\n=snjG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIiaD6nXC0KFcT8Wibya4wNW0+J8rAyYlR/E5r5wya4wIgZaH74b9UJZrte5fha3jebRkFcERBcWmIv2dg1NqFXNI="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.1_1589747980132_0.5168975133895239"},"_hasShrinkwrap":false},"1.2.2-next.0":{"name":"@nnode/core-data","version":"1.2.2-next.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^2.0.0-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"607ed7a5318773f6168e2b34455eb3c42b802750","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.2-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-UvnbW8vDZ4TCpicdNoSNTQF58rDw57i0tqfpV81er+3c5ubGDP94Z5zAKr6GOtfOEsNYol8wLiBzjnKfdcmnGA==","shasum":"fca561b1ba02d48348826e07e1192e1eb38ffd6d","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.2-next.0.tgz","fileCount":44,"unpackedSize":53781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewaajCRA9TVsSAnZWagAA0dEP/jEkem3bWZNeGnYDvApU\ne76Xs9IJGdfMAGcJREdkdq9gU7yHCSpnV+Zil3dvOo5WJ1VgK9lSL1N3cgyQ\n853GcW/H6J7Jjwf2lvB4n8QYmInQwwkwv/FSi2ARB0t7isKNpUmiE9BbtJ2X\nYlW29g7QUhILNkyX2F7uw09wS3gwr7VfM7Z7PxR0h/ntiPZ6JYJipzvtqIgQ\nXUlBIrsZx+XuIoxe8EEagkBT2lDPtnHpD8EdIjHuwCJsw519xfH8VHVueu+J\naZM1euNWzpchaPwC91UvkSW1yRb922nQYai56gcHS71GVuISqAH9QC3xj4uS\n97hB/FueI0OxRaWcXMlUbSCHoyuacmzJqZAfkUP96aK43lVT0Tqq/+zjLuN4\nMsejQDLFHVzFeGDEQETe1v9zYWhz1oLh4cR2UsZrtMtxW0WCCPuwxRnxPODz\nGRVYE6zOx0q12T153hUZov8aW3hf1SaEcu3CVbW7gjRTAFau1B0rc8/brSji\nN2rA91+jSzDw8fFK7NxevSHeYBFRxR04Xs3TkrH4EFL03TUbDtTYbKvXH5tL\nWQ6kQgLcSeQvQmmKpdkmrf6wMr80KeGobsAtXn6NVbTMkyqc6xaIbi2bBHNk\nWNht4ZFu5PNgWL/57yaqr0r/goZggWdHf0PVNPFnFtwZMb8hrJiYOjDAX9ua\nnC9x\r\n=0Pus\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDMHmAwObEFZZ3kSZGmduRyc9WUWdnBekhWs2Tu/5+fAiBDphUq4G0lh/RfO7iJpJKkz99/yBxJtIZZbhqUaU9TaA=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.2-next.0_1589749411051_0.37799505910635967"},"_hasShrinkwrap":false},"1.2.3-next.0":{"name":"@nnode/core-data","version":"1.2.3-next.0","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^2.0.1-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"9eb8829d3994ca21d581a2c6965854b4c8c45a6f","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.3-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-lbUf2/Ac62PIHGNuBBWldDrsLLVfaXO+Lbg8bfMlnRCzc/DA5uAObpucMovqS5ROBqCnR5On4Vz+P6az0nO2Wg==","shasum":"7b11fa8467d9c22e0b348e55404520d23d7e2111","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.3-next.0.tgz","fileCount":44,"unpackedSize":54044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewao1CRA9TVsSAnZWagAADhAQAKJMnQomBxV1GFFRn9ZL\nruN4ZHS7qlDgcboz67Sk64AcSvLaVq9WbUdadGW8kFd+LDnwL0lPr3c7kW+u\n53f/Aur3GeXaivq4sri4Hs7bB84RxomXegoZhVuKCj3aQvjHlOa+bN8xiZdJ\nBC5UfS3kyQvu6Mi8k++yR2MFx+l8CMO1KjqUIgh4mAzwkbhnJkaQfIvrsKey\nrN5rlBa+8b9HILWmN+7NRB/lG2qa5Qy9wHLScQPIqhTuWWuCDrXKbbg7v227\nGNQWIx0a0/Qexxopf1uTtcXqvSkzAvWGfrrLeeMu+YLgJATMLC4Zuvc3g+xp\nB1b3DSlpI2/+HOi2h0Yjn9EIsbPL3OLtJ0oRQrgR1h8SxaeABs150/fCjMpT\nBhWfhcwnxa+UTGx7gWPqfMbX/ilSAt/aFeDBTEOzm2uuynLaDrVFPsjnZwSy\n7Z3HMUwxB9oDO23gBpGUVm7HBxyXhCziD9qDY7kqQrmmAIbkoTDuXMwu34W1\nPjq6XOhlt+bYD5YTVsi61tjE5Y60EkrkXrW/pLLZGMrKftSNmlLuUM3rGXrA\na0P1uu3tEazB+HYxe4tObgdhC4eLWJp59J6Ljrzl/g8WgpcNBcfdGkwuWxsO\nMW+EZTQW3BfMH7Xk/6DAHUiaozEP2l9/nGzpbZDYOcUQel0b2c73Hvs2zVn4\n0KIk\r\n=qIbt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHBgQIPk3PLiOLxyWlR1A/X6r8ojg5x+82jbwC9lBDKZAiEA8aYtODWKypPF8qxfOJ8YMY4vguTpj5nkENLUqISl28s="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.3-next.0_1589750324911_0.10713696199626699"},"_hasShrinkwrap":false},"1.2.3-next.1":{"name":"@nnode/core-data","version":"1.2.3-next.1","description":"SOSUS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["SOSUS"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^2.0.1-next.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"8e1a08efce67e5e42fa4439228cec94071a9c2e8","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.3-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-rPDMA5Jokti5in7plY2Z0bSyBq9fAUtCoP/ixV3nG/Z3k+8NiObk4bwoHWEDaBlmw7gIOH5cITVn+OffF9cxkg==","shasum":"ded57689b22fb98aad760ea9050c461db56ec160","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.3-next.1.tgz","fileCount":44,"unpackedSize":54044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewayYCRA9TVsSAnZWagAAW40P/A1vsHzHy2yPQYRBFESK\ncQa5ylohhdvVM8fCqSZIGo9mcVwKrAVOUAvjDboj558awp8bOtTIFIPdZNMJ\nCVMMFqE5DdMVuk+lsPVIJj/9p+lLbVE8uxj3HhfnXxhO2DLYtbDPKF70xqqZ\nXbWhZ9dKYoplVmm8lgidBSwmmwaAseYxbaF3PNe0aM/pgFUvml0TdXgjtKwt\n580f2JCmVohfhDGqYl6SotsrRwo5LGMimLF4z6ceSXBgfpWFtzrpSOEpaV5Z\nYKmbQT+CnJpxAVbxKaPdhPgpNbftHAR7WGb8QnqzhgdVnzDtRNGNboTIHkCD\nmz8Qj+PT0h1MJL13icYwqwaXFGrHT5ipla1hbRiLinchxDlkHQgj3Y4Ei1+U\n2cluBbjuX7zdxz0PPjFiWmf07rogf4wK6Dfsx3dvHin2cZXNsObP5O4fDoKV\nOAXZrJlngMkqmFZUDnzZg+GkgCTKVzcPIRdcfnRtuGgTJrI3U8xUqNg6or9Z\nf2ap89iRg2Pz/q1xBHfMttbv7rSDiB9U5j6dDoaDkpuMIntIvjoV14JuaLHf\ndhNWOyXyu2KV9/6AeESII7WXkgec4HvBb9aa2rbtOVb+W1f3SZXZHPtWYAfR\nfvPvUqxHWj7QOJ59XZf3v1ONgW9mB83TeF89JF9GzGFyirdZy1PkWZUveb/3\nAUSt\r\n=ejXp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2B/27ZC8CVcpJlE2Q+YeTR6+vP7836fVt38LtYraNowIgCQ3uxxSGATGoP/FblQeA3jfmHiBql/xEVvyDdLPHEb8="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.3-next.1_1589750936087_0.4626529900737164"},"_hasShrinkwrap":false},"1.2.3":{"name":"@nnode/core-data","version":"1.2.3","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^2.0.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"c26b0578f9af6a4fc36acf5e6dd012178a9fcb6d","_id":"@nnode/core-data@1.2.3","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-UCfINlxeaMq030+JL2FBJdgCOpE4JfBPH9SFX5R1Sv4xHEXIsfGrzyQdEsL3g841lbPcjIyri5URjs/ceOINfQ==","shasum":"f25d455d2241c48128ab5cb30ce36063676b5b20","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.3.tgz","fileCount":44,"unpackedSize":54242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewa6NCRA9TVsSAnZWagAAkvwP/0dGyrcb4fiFp1FhP0eL\nW6wCtXv5duvxQfvnIC3yXPr6UtS86wdmwMk2ghsQxCfJDriyZYCVtWub6Ai9\ncDZKhkRGm/vusTDOrSdM4Krz/4dqFoPDXVrFDRd/cWC6+xLCESfAEifvkiT6\n5mQB1P2zJYBBksw8z5cebRwxPUers0//jMuXtS1LvJz3qZfjJdAhE/HKON1D\nKVrkcMp3Nx0jb08FzewcXV20WZI9ueb4xJCT8Cw/B0D+y/EuLjM7MAP4duBy\n5P2YfyuLkdICP7t5h1ibeSqDFY2kiyHMt9wEd/y3OQLzwe2S7Fb3231Jk/+n\n74cTriRGaEywwZd372vx5qCmLEyu4J2l8khoKYxPouHZTR+npMA1kaksHdVZ\nzlm1JHxPvdiOwrkkjqaw8LIKHL9VQnICZGZYXh/jOte10K9eTi/XzCpyXllP\n1x1hvqlmDIlok40ULPNRntp2WpBIdJOeiAS2lwjiXUGWKPJnK8PoZbSLnMI4\noeE4pyNfHeqb5S+Q0kYAegwtQ2TLE42M/k2CQp3mg4oNDsJ90FLPkEIYJbvd\nX0+NoTd7wO1v8F3TiXsgfUmGifPKXFFFFmx6BT8zx0NUQu0pHMqu4g2AwSvl\nr0SikZL9TZMOGmcoFXOtCPviIKB1mhE24LI7SNkSHYY3K3N0RdV/ncdQctEZ\nSbke\r\n=ZUwG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkhv5WrTE5i42SfTz31i5U4XO3KzwR2v+0bGD9BlA6eAiEA3rG9pnriGL7gOT4hSNbSbkzV/zyQ/UPk9vy+IoB/ExI="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.3_1589751436537_0.6396926164264483"},"_hasShrinkwrap":false},"1.2.4-next.0":{"name":"@nnode/core-data","version":"1.2.4-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^2.0.2-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"88c72a2f746cd89d963d47472efec4410d66ba71","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.4-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-mnJy0OGbLk+A0HmLuq+8VwDuAeNaajLzan46C6afRhNQWx2wFSuxUf7Cj7u+5ziD5lI+HUbXKlxAQNIva2V2hA==","shasum":"d2058cfbc529ff7b35fdba2615ad54928eb8f630","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.4-next.0.tgz","fileCount":44,"unpackedSize":54256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewa+OCRA9TVsSAnZWagAAMu4P/0kaTewzR8MUlfR9DD+K\nBmJM48hty0j94Iir4BqYfFUUjva4VaRCjpTz7az9I7dDoCDYFz/Mjof0U7nq\nb9WlwNEcwZM1niqH9VXxJR1aYO+25EHGh1x2mc11OQEnsddoqWTlJXt3T84d\nfrsO/NvyEv1m/tYEI1EUNp0rLneAT98S6xMZPvWzMYeNQaw6iMEph5GBP3+4\nd6gQeP59fB/IW+lsCbOLoh4lFXIixvFQozd03hMuhkDO7mwqedBZZH8EqFbG\nT8SVX77mkuU9vqOeZVxp8r8Su0JLuFO6CHs3aV/kvxYJXgf4yJXEn+9nNIhg\n0mICw4tktXVNMmNaKNaWCDbKnGynedkrMy9cbjfKwLsTNy3Ivu2neYGfufn8\ndgaoOiuHV+BaWptGB23/Y4KftfOUR0MYjZDRknfK/Ppx+UeVuMUHP0eGwUMg\n7NyOJSyTufvtUM6RY8XLv1B8gHQxxaQjB76/s9GvEFsVJokqRrxIFxIeEqYb\n+O59vX1p4AH/SuS9RbyhAkfbq20UTcmRyRE5HLA5s3IIq1PaY/BYDfe6PC7i\nostx87FtcaXRHvduIXwP7t5Q9mSrvsCCJfFIyfB5fyMINSoPq7luIc+AOpwg\nW4CTRI+77mHBRVFn7HT/M7WclEGEjUJE9qDt1YOZ60Rq15oiSj4hvh+J3F5s\nm+s8\r\n=/bkM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQEIIS9JT4Rbqx4119Gd68I/iv+X07OnuIgKL+ckw4YQIgLuQmStzqSZISC++OfkjhhFkQk973sVu5PGLEP8tjh4Y="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.4-next.0_1589751693651_0.2020509039133096"},"_hasShrinkwrap":false},"1.2.4":{"name":"@nnode/core-data","version":"1.2.4","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"da2874d146ecb57e437f166bd379139c07ea5502","_id":"@nnode/core-data@1.2.4","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-lv3kXGakAss7TftOy9qAw03yOztQ3+RGwsdhiR8uHHkv5Ht9l22FAHNIsMO90whB0Vv1/8PiDXsgm0dLp8iobw==","shasum":"b2d33febc542ac94593543b6314b896f2b1d95e7","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.4.tgz","fileCount":44,"unpackedSize":54433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewcHMCRA9TVsSAnZWagAAYAgP/10Q/Teo34m14FsQFFAe\nQO+6rix0CT/Ykqmn+fEkD2flCS8ZRdFyO1MlnsAfgfKnOaK3LVU5A6e4ntD7\nnykU/a58PorAy7YZntTl/8SGSTUGNL+TWgYZaEIrKqi+H0JnC2k2BNO89bYl\nqU37DoKeHZKksrIH1meR1682YB46Hgf0uHZ+Kkioolp9b269QN+Unv9hS5Qm\nBebByRgELD8VbYSFkre6FlHZ2VEdZOYMWQXMDTzxdcJTUDL8jeaoesw3vcR/\n+qcD5HUH6rnjWhfQHR+3zJlYBKM4L6iDlsvyyNUT43CAoV4sLGvHdw/Ff+sy\ngUTTXRZjBx9sQPVPuigU43mRPRa0blDtAp6CwXCZ0x8X6X1NL6Gh4oFGvSL1\ngFl1umXf9dotdljNdYwNHrKmj1r41Zt22pk4CZInHKpWlWkqC1Mn+2zVAOZe\nUHgUtt/5G2Uds+2uDfNvghSkPsTEcWDv1xw+e9lAiVt1hTG6Mscti3CFATql\nqvzq7PE5Qgnrla7rpkmP+HPwDB242xD8xxICHktTfEfGIGNvZxMCcWiwxuoN\nZaWYQ6IA51Ge6Q3ctd7cYSbHD0bRt0TQitanrEcBml1zXMdFtRzmdSOHpWeR\nbcuQTIshqfpUHYHZdDJIUzA+L+vEXhfcgELIK0nPd3WTxaDO9J+JWAE5KS/C\nyjyU\r\n=tGM2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpfxbUsq2vKKVdrYUTsU3ctP0+iou6Ds9TdbJpOJcMMgIgUNNmcyLhqtf+itSEqrO6AKFBBpRcdCz2mF04dK/DeVg="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.4_1589756363809_0.622694001203328"},"_hasShrinkwrap":false},"1.2.5-next.0":{"name":"@nnode/core-data","version":"1.2.5-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.1-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"0429b217555513df8bbe7dba35370d6d72942081","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.5-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-YhGkUl3R6k116gGJ4i31xL7Np9Ldv4BUY/CWHDL4aSw0aPRB/0nv8oF0zbdH1S6Am2X2QyCjjIu152VQUOJspA==","shasum":"961e994210c44de1f4e67449c08292628a1d4914","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.5-next.0.tgz","fileCount":44,"unpackedSize":54447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewcT7CRA9TVsSAnZWagAAaLwP/RhOieifimeUrZOnGVsq\nvK1GnLwUz3QXcBi4wUyo/RKHjnaDkpn42zY2d+T4nXYA5K/GuzCnZZzuWNxG\nkb3cd7rVxqtGkIJenub4GAv6OVe1OqoV+AxdgdroTYOHNnKGcqN9ynz/a4DA\nEYuWGq156WEbeMCUvQCLJV4PzLz84qAwsTRae7fVxOyGqOUVsWbpY/4dft6C\n6AyxgI/ZqUdaVrhj6+25wNoyadl8aafkWosvk6lBm+jzFz+WkcN4YXOpVYGu\nyNOE6xE5gnPexQIy7h9/hLuO6klZxMIY1ZG6bxV0DKDS53T80zR6219HgBtg\nS8i6Jo7o44lvxYcRyVokQfdKzQRG77K7tMDgZCpx/TJpg1pk7C8VWtOf5HPE\nQ2qrB995za04FrcUCCj9HvpNmoeZxIqzfqn9jrZ2xM0MxpMPlUe7UQvMf6sN\npqUq/pCq6Xnc5mnCncFz+mU9D/LCm9MyGzKCmRpEmpfrz9QxOasXCkXNqNET\nq/DnnLo9QtR4yaAPOR3ezajPJkH+KYZqq0FfVkqp0CZRosHgPW92G9SBPBwU\nsYHvPHvjmvSstCVRw2AjKS4AZVLHz0Fc36VjZUwBFhcCxbTeOaB79HwsPFYY\ne1fIuT4cCXkxw4raMsz0lG0QNvXOyN54WAOpqzN/hoAv7xpbZ4Wm57crF94e\nPYd4\r\n=Il+9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUG2FW+EDoTm68q5iBBkwaW0yJUPDzHHWsVow6tHnB6gIgVAnf9lU42ke/2QE7bx6dsXoODZ63cdc73Hy4l+1YcV4="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.5-next.0_1589757179014_0.7179881124741556"},"_hasShrinkwrap":false},"1.2.5-next.1":{"name":"@nnode/core-data","version":"1.2.5-next.1","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.1-next.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"5c4855a0b3d78ab8cf88d3d3132f4af095a6aa4c","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.5-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-3GhspaZzHzYOX2XZ63GW/ZBbmACWpFNH1nkEZQAAbnVHNhkBZ7UWq2pQ59t8NKQBGPGsD1K2cOV8+lUvrz3xdw==","shasum":"02522672543b82a3952da609d3f61db9ab619bd0","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.5-next.1.tgz","fileCount":44,"unpackedSize":54447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewdBPCRA9TVsSAnZWagAAURQP/112tP2TZbSGrKOuerPn\n1ByXm/waEUvNZEnuNOMrEjk41q32wRo120ncj9BZ+9HIMCwKAeK1SzwJxGsT\nLRhn5WPFxk5FbZfMImHNHsemt8Pn6EdDj0p5piK+42sOvf4ioC864XnoHVOl\n4r1Wx0BehUXPZsvF7HR52Ti+fo/XODUO9hqr7v+y3sGJLyCgM8kNfPDu4Hdy\nNzyQ2kQTOvDQaudcP5amiXi34Y3NlfcDrDPbofmi+LPqCSQ0Jv61hoqACT4U\nSLMxj0plVhrfhp3L3fAocD1VZn1tBrdRZDxemffgc2ZxSJFV1Ipm6rSOTg0/\nXSFkeltuLOa2AZuQefkwrhQXzEf6L8YxBY7dK4HRfPuk1jQBjrggAB1E8QBZ\nStFWkIsYS2ZOxuuyak8pLsGV2l9mHb6g/yNFc2kNJKN0Ilji52OSc9jG05Mh\nv1gHM4JrlmOzyp9d58ZGQGg2gmshHyhHUCT0ZKsHemZeYfdJMPpGSXlSRcvP\nmAo6ymNEwGJXyHm+R8bI+MUVpnt1AjRb1YHLNm+LetxNrYRu4dUCBGwRsfDp\nIfbYigZe+7mbK/rQhTBFLZt/jbNz6bSSsY1pfnZ7qB5XmhbVxyLyWqSrl6mU\nImFELPdskpljNEubFczlW/EGKyuZHRrOomWlacxPab/CX+6IkpjHE05nKEU6\n1sBP\r\n=n7K1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7n9efoTcM0XDdhTf4cKl0VlRCWUhkUkjxmONTWU1F6AiBi0g0/7rtTc9Y8GLpbhZ/GyUdFDdYIlt9eeGpZ4jPBOA=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.5-next.1_1589760078681_0.7371321004466589"},"_hasShrinkwrap":false},"1.2.5":{"name":"@nnode/core-data","version":"1.2.5","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"a35e6aaaff8963cc5313c926552b1379dbea7c90","_id":"@nnode/core-data@1.2.5","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-xLbRbpu2WH9pR1PxLfN7boF7fptYEVzpX1XX8Ed9npcwKXjpaKF7D22cZSGG18YrNZ9jjBwz99jqtx5anU/R8Q==","shasum":"0a567ade22017d4d3bca1d3f0db30fd5d425111b","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.5.tgz","fileCount":44,"unpackedSize":54624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewdFCCRA9TVsSAnZWagAAxygP/1VW/BfEFU+VvWlxTK9m\nEQxMk+2VEafD2PhiAKjytXANIoxSugfjG4MQUn5ASu2Q52+Xh7Q9f34vt7Mt\nE5gcXpcBfyF5A3vBkFO4742Gcgw1FEVABukqqvvX9naYtIDqlxNimU6bH9aH\nx5hG2Ciep7ZK0rU/vVIjJ+Dw3oUl3jZQRKQR7p4xLRCVvB4Bm6kAsV7betBK\ndUoGI8s4C6Yoh/7anrCzrT+hAYM0QQ4SX1o9aYacD7J8T0QxyumF0KyKjo2A\n3iYh0DYD4/lcoh40yKa5a5Pqaw4zPBIK7dG0R0pEtPV07NiMdpgUItPrk20I\nMhy3+24qi0o6s4Y4aQsAwZhk/XxlFA4tqyh35r0eIS+qhKX4vPo8DK3+Bfw+\n10qAn1e7tYyd0O9wjfiS9goOex+D40TyoRKU5IJElIzwqtbFotS5BUQw21Pv\nuJlaD0Yk0pZxeYmgqz5Mha8JCg5VznLZy7bcpGqmxSdZJJAPtx9V/U1jlDSV\nbuiqmP3sYUyxOxpP/n5swSUgDEjgo+RdQNzo1AXL3mKQ1bI+3q8MOfovH/7r\nVghtxMXPsi4glk2LWSc1llZjP7wgYrXVlUHhMNOLMwt6SYX82P3l/qWqhxbg\nxfZ/lPPSjly/o6Zi5PKArsBcqHPVXyMp5hgMB4BveFk2R8PvDeENJY0rYqPB\nYCkR\r\n=eYm1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0sfzVOAiRkfhk62BAb+cTNTFqnl89t+9Gm0lTMdvvwAiA1mvhJhaVaK0ePtWMRoFkQOrcinKYQ0jTbdyJ0WbNuLw=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.5_1589760322034_0.12337672135686506"},"_hasShrinkwrap":false},"1.2.6-next.0":{"name":"@nnode/core-data","version":"1.2.6-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.2-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"43ef3a8dca5ced5932193b02e32a9a8a396a7b44","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.6-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-1F2YrFhR/IzulC48sM6OXNGkv+vLJG49spoSBS0DGl/GcUXN4WOl8tE8dMMEdlEqgmiQPIMWuQiYnJCHRRNfQA==","shasum":"d765c5012658a80d55b83a285a827e6651e9d92e","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.6-next.0.tgz","fileCount":44,"unpackedSize":54638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewdIqCRA9TVsSAnZWagAApY4P/0MJnuK1eszOOXvn9ZTX\npBStNuRRVsj8UrRLq47vRwVp4HVY18hAG4LSY1TQ0jujnyWFPen5sSxY7/XM\nTFXQ/f4gsGoic4PMRPivP8zY2R0Qg4PfvHxOqV9hYaacaqfQcjy+NJVxvq3x\neJXm25fOg7VJTn61ZcTo80equN2L7vn3DxqRSkpOXAxb1beKZG4gZcWbs/dr\nimN32tvBiwKBTTBVg/VJcCbOj8V0prEEnUbJT4erzbW+FVsCJOWLOBwQYIXd\n77ngeEGrclJxsOrHC2r3Dq2cm8W03u6k6PaqYvhyoOXC+6d/3OACJnKRSreO\nfxZsvVEF52jauA7VEeHUJYuM7EjKUZsGU8jLjYlWWqSH1BBJ3aZmwPO8chkh\nHHsldzlLmfTKKJIVKavqmiCLX9lD8pflauqkvjSajNSOc4i1ZB3gO/XFwEyu\nq1NLin9hU0E9osAQ4A52UCTMqrAuKJymyWLsPCKSxCzQKqEFPQawr8ppVcMz\nCDhLXxpmezXk/F5WcSyppfdGBqerEieeIT/W//Dl5CkvGjHB+ztacA8O252X\nuqipWu/wC9mKkpQjk4I6KU81H+PEI0iKg1+NBdZn+mIVGsn+c6ooeWuE9eQh\nWXqMU94M+3lIgOr/T7mQx7Qy9It9xhxBM8sS3AsYXPFkABErfFolwhIzDsB/\nTsmO\r\n=mT4J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJdnwqmCK3yG3DSsZMDKGWOxv5gS2ntslOa8I18kGIgAiEAn1YvAB6i7V3P0VAVIRyS3m6zbbt8LTwX+QEYY3EavU4="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.6-next.0_1589760553958_0.20791963983400819"},"_hasShrinkwrap":false},"1.2.6-next.1":{"name":"@nnode/core-data","version":"1.2.6-next.1","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.2-next.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"d8cd9e8c94f5b877b1924be95119d8920df04683","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.6-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-4uyXbTHiqrmpBlJ4tzn3YcYJdffFFd0xIZE8tT9BmUC3oLAQCq/2atRBJenquVkFy/QnOe9HZUuBYRK2uW7UGQ==","shasum":"ebbaa2ec4c7c87782916c982725fe30de4d6a77d","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.6-next.1.tgz","fileCount":44,"unpackedSize":54638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewdLiCRA9TVsSAnZWagAAm5wP/RR40fhSwRJ3diLLG73Y\ne/4NO8SSVxTktrROZKjP74XijgMdf/1/S6L9U8DykIYg/79AOcIkLDkuE50N\n+u1/zBlkNDlTcos9z5iSPiIgIxKVjrjh4EDi6A1mLNDF0q2f9QMFAw5cSIj9\ns4amD7Y+FDhMZsmt1Fbc3Qxd/4H6WTnf1qWagQDds5lnNXdfSRnqyBRHbexL\nPO7QnBIeyeGl6IQrDHF0GiTO2hoGXAuHjg16xeAYfZ83lX9DHSeH3Bv8fvjm\nD0fuPVbHu3jgo4UlWWKdGStysE/xYEDDEcX/NBCWUrnl2Ox+8GNQ2LqHbuTK\nr8IImCLJ2hQ4ciGoHj9j1tUKRRhqm7JCjp6Sg6PRzc0Us8/Fb+EPUa71trWW\nCFjonb2Yrkzu4bgxMh6XC/fDKYdWnGFJ7P1+QOluMqTftgXxOiyq2ZLJIlbJ\nsngVqMXKTiCMtG++7qE4HvIxK212nM/raOz0+RyZPCrS3oYL61SFj4zx4p29\nhpfRIXc3bSIhYFH2p+DLYas9553annVBhO60mcnzY4tnEdwfJrY7+fQ/Dcqc\nQ2Aa57ALdK+ZjErGtuUPTg+CLrwNkl9PZoMu1GvRhGuCcI36krOL8aqdzjs7\nmylDNYmMdVgv6oiX+dhUG8BtP4/nEMS/sUWoIwuMHLA4TGl99gbhpOkkugr2\nXafI\r\n=9XmE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDu7jStf2aP4tOfwcYgGkJ1Uq1SpY2WL+eclvTfsOWFsAiA1+F4eRrzNk70paEOJilmM5JIaXCbZzWuRtWKnY7W2vg=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.6-next.1_1589760737739_0.3565799229800457"},"_hasShrinkwrap":false},"1.2.6":{"name":"@nnode/core-data","version":"1.2.6","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.2","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"31fb26aafaf46675e3c4f82a568e18b28ca4406b","_id":"@nnode/core-data@1.2.6","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-EmOapAABtG8foodT1O0mwqNToiIpKx3CHHKpINNs10auIOmUKigl+ouI1u9Oh6QuIQFUkjY05lPw6jM9JkFcAQ==","shasum":"999b80be098413d2f38588ca03908e49a3b26661","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.6.tgz","fileCount":44,"unpackedSize":54815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewdfRCRA9TVsSAnZWagAAGCcP/iJkVERdcUZimTu6gP0k\n/D20d5M/vnWwwfznDXASD3zppl97bYtKT/Fk5FmnVV/3oqitcVETMEUUAonh\nS/6PoeTqKS84/nIJZ0AcPQ/rfAI6cZxKZGa9eREkhv3mtbIFOKUCmnYYOdWK\n5u9yqLtSTsrPIdiw1j3V7c8zEpsGtm5DFLDeQKV3aLd7f/3JZUcoX6VgJoB3\nJ+Wq2e2PRaYumsV6rhBGuclYq19gM6iiALbymsBbFRidTHLxzkQxTpESY5Xz\nnkoLdIhdNs2JJjwqwY3d43W5yTbjvAH5kiwg4LEDLGgaYKss1if2y0LbUDfU\n+rOGqpfUrRxJQW55t47C+QDfMYbA48+c7GaKVNSImCeii/DRAqX8kHrgtt84\n0uMlIof3RgA08Vteo6g9wvWXFjWe5hihy19g9lqNPApDN1ZvbvSsrJ+L9glE\n171MBY1GTL7zSrLSY9AraC6vJwTjLaCWWVirpXfeLx0PH4nJ4IVvAOG/Mlca\nqNMLNNK8/ZqlpgiKpBYXBg/KkkeFu8VQ8huiOvb78kmKeqNAtTttISzDiyyT\neCRnPgM8Fj53FWhFvwdnAQ16/LrjjI+0pcWhj2TOHpKO0P4KzaAFv5pBFECU\n2/1Om14xLxqtepYxLhUKYVYU4WPfT0LIhmO3P0sSgfGunamWYTjkgUzBmQlQ\nalS3\r\n=FDC2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGahjiagzzFn1z60LQzkKXdeC3yRlwoyanSGoL3JZQlLAiEAhN1KCLD4aFZASqDVtfvIrNb+w2b0NGnrGgnVKyhVgso="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.6_1589762001423_0.958246049128813"},"_hasShrinkwrap":false},"1.2.7-next.0":{"name":"@nnode/core-data","version":"1.2.7-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.0.3-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"bbd1fb57c9de32a8c2bd387d097fe818b76ca053","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.7-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-NxDMu3Um06Z79r60UR0zzRW6tAbWUGvksRHO+Q0VfRyiJMkBAHH6Jcb4rD7TpSKmNuas0FETtesWhQXgEueGQA==","shasum":"f5b602fc87b8c2ea6a9dad80da4c9f3743430f67","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.7-next.0.tgz","fileCount":44,"unpackedSize":54829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewdiPCRA9TVsSAnZWagAAPB4P/3jLuutUf4HWXxRvwDwb\nGac13fvM8wZaJC8L2B/CausYvmC0cmTBEYe2HiEyodSoW3dQPZ/hJ519cRy2\nJTf3eXojpyFMgqFo9s4wMI4BTQRfdkHNEThrfZsdYE6zOuLlaLeUSPktc+3F\nI16uBsstqx5cJ52dVEFjhwBw/gJ2pf7x8wBlMHYpHNmyBnolQLNfogKRawx5\n1k40vcg0QvfEIRv0xeiv5ZFStzdcnwDIpRKhgeOYakz+qpz7zQ0jEka/qRcR\nCDLM2GTi3LEb3S/4uNMtPkxXS2CNbFT/bwj4OjSgeOezLsA6mPI11c9p3qtZ\n7kU30hrnaxLq/7KF9oKPSvBTTNV5U3IYcrtLZl1UAIhNo8Y0evCzSUlUNdWd\nV1P7ZsPxnrkM7+HyS+S2Ygmn7WsKUxB85/ftqMtZot5EUQdX2EApjdm9xk8S\nE+T4MlmOSpipNau1ITUjSEHmHWK6T3nY8gwSH1bXLSORqsSJj2EOyWtYAk8y\nqN/cr1NdNm3UT7Ma8TvZzISYpm68udo/UyNaQwRfum2zujcDyjURTfT7seNI\nRvBpko9LDo4hv06ZwD/zFafUilnJNot//9eJQuX4/cSdytaToQZlx5B2z4TF\ngIyQVW9CX1fYCC5L+VYd/C6teUAZ1xe58yOqr4jF1/3j1pyXWG7wCALyDHkP\nT0Mv\r\n=cOt2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGdwYpw642hEJLZ8vGTfAdh7xQT195vzKmfuGVeXZ6IAiEAszkWP3qqneh9C1g4zvZXwMKoDYdwcNllpUJbuIIeD8A="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.7-next.0_1589762191351_0.7868742864992042"},"_hasShrinkwrap":false},"1.2.7-next.1":{"name":"@nnode/core-data","version":"1.2.7-next.1","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.1.0-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"7a944b8efed956fca577a242fdff0233b19f61a4","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.7-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-/RVN2Sxl824FZMpEjLnTMgZz37xK758Cm8+8+gYhwWZ9nUD+hCRyYXOf5xVc9T5zBFb/rnWCPm7xE1+H7NQBLg==","shasum":"03646cfaa4f9d86d671cdb377332fc413d755fa0","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.7-next.1.tgz","fileCount":44,"unpackedSize":54829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewee+CRA9TVsSAnZWagAAQ/QQAJZXh7pdFxep8vTj4i1Z\nTTQUShZm8S5ILfomEX/x95JDwcBYbKBOLRyBxWVi+iZtPP+PcbU9XPcjox+9\ntoIfaSj9/8oRnst0uBhuS8/Si83H8mLNeQGuBcGlBaM8hpwyHWAYN5HRVY7r\nuc3BUCDiygLBnHJv5BO2VaSuD6Fg4LAqV6SDejMAAl5HnNDC/fdxN7KMWZff\nEDj0DFATzXUd5mJmjVCvZdquvsvvd3fz6TtAOpyHukZ1H0dV3A00D4uOwvvt\nmq+PxPS87GhlouzrSdPPMoCAjsVwDImbxtCT7fjVV0ChyxAXZuL/nevSkpzM\nwPowVAXvkgLkDg/9GuEGYan6RMQxPxK+/tvNO7CjQsiHK2YYY7dH9xTT4xCb\n8F6hQ+QfESHveOoykpzYExSAaQ1pLjxiVZXjP9JboEI8ZsMaBUzwUpXci1dm\nFv3KpaeSqKebLj+rui1iIzaCBYyK/Cbk9vY4dtveloqUYETR5dxfhf3UHVDI\nsf/xDnsifq/8MvwBuM9FRQSDX+Ajljj4LWUnPAN+dlw23DpI+MkoSTUhqM68\nLP3KEvpSEftCUZZ0VY4Cts3pYCmElrJ8Tk9el9AXYutcGiOPS5tnp25qnlyV\nX4Elc/TTfv+5535yMB6M+hnn1tX6WpKwGzYTvPfccWamavg+0XanJ1JYvmx0\nwyHa\r\n=pk1f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0lmTalj0JCIkjDXzlqBMa/8qwCsrqf3lCslQrlXXxRAiEA6x4e2LuaO7PG+7mI9A3KJuyWJ9chD5smcxvq57iqViw="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.7-next.1_1589766077825_0.4263696999918323"},"_hasShrinkwrap":false},"1.2.7":{"name":"@nnode/core-data","version":"1.2.7","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.1.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"3f29976bb9985800b1c463ea5d7f68be1f61f030","_id":"@nnode/core-data@1.2.7","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-ud2MvJzFkttsWaBKJchCyKfOkoltf82AtFwLs6EVQ8sh8KPKWpMXpz2/zwRmjm4RARRPM5umonthzMy7o4MWNA==","shasum":"918ce41b456ab05226bf0f4f0bb123a39585d2ff","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.7.tgz","fileCount":44,"unpackedSize":55006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewejsCRA9TVsSAnZWagAASocP/R1TQXXnscd8CxldkiMD\nKN19e3a/MCEuCySTx4np0CRo+bjbfBEGQsL9ggAMtQqU8MhgtiBl1knB0Q5D\n6ChrZArDqsS0AGQL7f5i8//GUR0xHVh4dVX2TF+ESYa7TIpqgnEcs+c/CoZY\nW8mTVB4CnnucsaBPWF+bw4G8B49UayoUAzBGC2byDsGO7zsfTxbnT9Amtr6r\nMrUX8kIHQk1HcuERqgjmztwxdEqL9SXZ7J7hFr//NkbjTvIimj1ZPKIqmD/o\nlencoMf+JwJ4bbcQSHh8FzrpfsmKT13xi4nGTR2yfGrfib9qChO0By0+U9Og\n7SxJF5evY3ZAb9rzvfYAO09DM12xK0PDE9fzTGXN/tx8TQkHetpLIEma3ZaT\nRQGKzuKhO/jKBiNDiWUrUuRuJGiYbior/UorzmulFzKH8v+Lxpmhp9iJYeNj\nvGyXsAoenUT8DkZAsic22IKLbzzuv5YRi7hVwYrUb1tImvpj4ILkvIQddGGT\nXcdbr2ZbB/x72neyS0zudbFB70AtBTfxXivhihv1hq2KRug9PxY7tnZMSq21\nYpeNWXW7SmmnlHlc4gEY7QPsoPc2XCzFnMLF0eGGetHlW9nImdo2CGYNBoMG\npsdhqh2C9Wd4+suzNiZl8y20Ze21X6whm8B2jM/uvuTHp+hbvlBG/ijd+eC6\n46ip\r\n=fVfJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhOOUgzr17GfIBHm4NfmvGloLhcBj2acdmV+AMx/EJUwIhAMdHHV6nsczOP+/AKPIRwAwlVkuTRIvD2EZTySFXK3z2"}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.7_1589766380024_0.41964240932475927"},"_hasShrinkwrap":false},"1.2.8-next.0":{"name":"@nnode/core-data","version":"1.2.8-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.1.1-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"38f781b52af06fb5f6787e9fa3a962ff2c18a066","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.8-next.0","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-faq6yPfmTxj+SiUYSf1m4i0PU+Ucp5xIogmn7gPzsUNYBBfMJKeEwBBkSYU5JRSHW/1A5lnjOnf3rXjGmi4J1w==","shasum":"953e2d0a89b0452ce28c8d74618f8120799b731c","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.8-next.0.tgz","fileCount":44,"unpackedSize":55020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewempCRA9TVsSAnZWagAAw4QQAKHKOQsvCGdS2WhZxgl5\ns5OcRpK+uZSuzHVav+IE3IrhoLzr7G3UwbRbgJVAl1X1ydgq2RUlVL6WaTNg\nbsxtS4ZePu9A8XNE5vQFQ80kbktt0lYENXKfBSoV2EVuVcLC9BJGTIAAwfpx\nhFVsZUjZ+v67rt+2XUegWzrzZN+h1DcdUTStoXmynfK9F8P+vTTYr9FhjYIY\nI1QoCi7KCeceE1fFCaZviBEO0hHkplZcoW4MFTkcVJGP9VGbxHcNSHndjOAU\nKYSJ0qeqOkMQLDZ+vKxDVet3FNZFNOjBoryIV+pgCRWdwDDVG69kiIrn2VLc\nVY3pKd5mkoIB+RTLqXkmyQqpuqW+EfTBqKWD7RikznWRINvwcxtNSrAlNEZc\nlkL7XQGk2Hlsv4ljTswLAHUe7hx6mbciqQbn3NWeauf2Rbgu12FaavIMzVPz\nrgzmRBXoBxwY6SNkDDV1/2WPbbiBAdlXzx4kiQI3lG32iFhxThQfdv4Qs/An\n3V0FGa60m8fHJlkiulpM9mlET/4m1W8sxXa0ZRcoIMnBkjjlejzqZ3ZFPF2w\neUkZNhgYj7oDRvsFjsPMw/Ht5VVmXbGW1ojhu16hGETf2xsSOWJM+bztTMnw\n2e1Biz328aJrmsips82u24CGw1XXSekCStu7Tm6PPHhjzoEw5cv23JVWK7lp\nkkrr\r\n=kc3n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFygXgUXW0SDao9ncqcamYvVi0JXsgwSo0jWwuUgFoLoAiAoHxpAVUBKT60Os/X3KpUs8KEVN+/M8SAO8d6nYCvPGA=="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.8-next.0_1589766569309_0.41945198344156975"},"_hasShrinkwrap":false},"1.2.8-next.1":{"name":"@nnode/core-data","version":"1.2.8-next.1","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.1.1-next.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"687d45935d20762f935c026d3bc50d96903d0c9a","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.8-next.1","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.21.0/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-3m90Vdca1SS6I3S1uqXR6+F6pcgQmcl43OP5xr0UhMcbKujKBRGYmbrDgByJRzY/JD6kWXhGwlEsmhBPfZR2yA==","shasum":"e69214cba6e51e66b4f832a154c4051826258c07","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.8-next.1.tgz","fileCount":44,"unpackedSize":55020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexB6lCRA9TVsSAnZWagAAPZQQAJDYp5JJdo//Ehs/3q49\nJ/m7+zQIYNBKvf2HlB1ii5vokjGotxUHTn8SHzd40qTP/p52Z+/ySiRiQUUR\nFewfgdVjWADQNsde6gq9JaLVg0kHQcDw9M7cl+nCeg/30mIRcKMQFzsMYzrx\nlkQHWI0LcpoGrY64oMoXzATvg/fy10X78CT6BwO8YHgkLkNJFROPleJqJAOJ\nnrbS4Gz18IrSS4dN5Jwon5c5GLq2un1yx9brbI5lHZMBm7FmyCaC4n1IrB7I\n52+T5EjH+0Q9kR9ehI3RNuqITigw4lbhl1izspoE8xPzvHjvTPNvW3kOYZp/\np/1AlqVx0hs30NmWk8JuaEJf/WztfKhGS+fMW+aTIafyTTtJVVMOB+ctnZvK\nMPC370EVhjmxDuSeNioJcxwFjyJ/qydyoHHISbB29yXWL7Nfq90tKeIYQn/s\nGqtGMrWAj5tR/8Wrkz49VZysD5azJTVNUox/QYtg6VbYKOORanebC/+WH+WE\nkkai2DKnnx5FV4AGVJHM2N65BtyUUBUburs/LYctuo6wOf8i3qaIicQtTSf5\nj7RlJqZh054QxJiMRgqpZq/lrik2DLbZzZMtbLVjbwUiGPVXp/OLgx4Lmpo4\n0E+xlj+FEkragmwXVgz8twzTMdkaLHJEl9eUkZ4VznaDUSlM9SiLROxhkT2G\nIHlf\r\n=Ltjk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVIyJHVMG761Jub0mu7ID4afeyqD7l27bYe+6pXA4A4wIhAMccld4ydhXwMbiTVeOSDmNn2UWDsOfY+KROtR5J0y+q"}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.8-next.1_1589911205250_0.6709036908304462"},"_hasShrinkwrap":false},"1.2.8-next.2":{"name":"@nnode/core-data","version":"1.2.8-next.2","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.1.1-next.2","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"1e987504d3adf209654e811b61b76b52ee1977fe","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.2.8-next.2","_nodeVersion":"14.3.0","_npmVersion":"lerna/3.21.0/node@v14.3.0+x64 (linux)","dist":{"integrity":"sha512-9BhHoBa7S1WzD4w3WJ9SXNB7gR/jEdhdOr3PJ+KMVd3aicElg2FJ58rJA66i27Lo9K68kjguA9dn6L1rpnH0wA==","shasum":"5eb490cf4c274019497f9a4b6de12559e5d1a122","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.8-next.2.tgz","fileCount":44,"unpackedSize":55020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexyLNCRA9TVsSAnZWagAAwfoP/Axi43qH/1570DVnsfsd\n3YlYVafS92w5w2tLq3JZoMBPh6Vel78qdS74q35wOGYTXYYfUB19OBjkiFvc\nK9ncp1ET8hcWYy120bTY6AiONwcv8j3aPLAZIJBkvAEmTX89v02WYmsQCkur\n6HGYkvVFZefI/TzX9zIWboK74Vb+djINCtwA73eWDUIDdKBaUGwscnTxTbMZ\nnIOGqplaLfkDkM2oHKzpCYSGnGXlrXaXblYIZECZaUo9j6Tyi7rzX4nf/5RE\nzDD0ZMMpXq2mMyXtYJv04k2ugJE/uuawlc5/74WsgmHbHyXI//b4RteN/6bm\npXsOBII8UG+bUM3Vf1IU9NhqxRQtl5ztFVmGs3mH7SMcqlc6D/bU1fLJOl1E\nD+sPf3kDf6Oh+wpyu0Qsd80dJhiKvvNInJq0Qm5Ns6fcUA6bH1tImZiCz14D\nUu1nKC8Gn2IoHBaPy4oZyeMQXbWLGaMOvAqY3oL2EsDwlLZrV1aJw2Qufghw\n0hzkVLyD4yWnXbK91L9LVKZE9ttAYuYHxZ4DR9PNd9XGvz+4i0T9EsMCZ0kn\nlIa6R3yZ6T+Ul0+QqnrnL9biY90B1htEY/B2AokiMOoqo9Xy52aBkLJ9ka3y\nm/8CMf29tg+Rtt3Lb4DsWcqc4Sv/qm/6d5mo151MPBVcuhUUz/5sNTT3QADi\nBwsx\r\n=NI5e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJFlknYDNyKzOGEnFsrMKL6URegiBQNDsZB75BSwvhOAIgNhdA602nvNgMb0qYjL7XqhPN4i0UbUNYDCfC6gEp2mM="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.8-next.2_1590108876970_0.21328106706828498"},"_hasShrinkwrap":false},"1.2.8":{"name":"@nnode/core-data","version":"1.2.8","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.1.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"51cca68ba8583bbf9f3fe199ab38dc8b7005c761","_id":"@nnode/core-data@1.2.8","_nodeVersion":"14.3.0","_npmVersion":"lerna/3.21.0/node@v14.3.0+x64 (linux)","dist":{"integrity":"sha512-Cpdioeb3ftDv/W3go/gyXL29oWOip6B4VTro74EmvyvBitf4G9BGT4Li9d2ikxw+lEysbdnxioYpsbFLdYJg7g==","shasum":"e90ab3d21b5e3273023c17106f2c0e5aac103b3c","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.2.8.tgz","fileCount":44,"unpackedSize":55197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0cITCRA9TVsSAnZWagAAQ4kP/RTT0ZTw7z8PDKlAg8Li\nkxQCZm1jm70Pz8lcaz6iQdGe97IKrDa/WY43sV8KhL2d7aIl4PXYKZFzW4Xw\n7wyTV+1XSmYVKjFrjhp1VZ4AYChDXi8qFJe0uozMnNgSZ5YMm1uHJkX8c+Ln\naBQ5T2ofPxFOesP/MKBUnzl65TA98uLxaGPUVdekETsleK5ubjMED72ZFZrU\n1/J0XuUgS2sbb5KNR/MjkqE1XSkL42iV6Hd/Z56B6ID8WSkIUMVvID+36GIB\niLcsr5hchQeAXacGYkLOGQB5DA37pMHQwo6REFEgmLBL4w1wN0rHQ+/cNIWK\nQgavrIjBPLLB/ubayDNUPKY38O9iepi9eykp6s+jbZDhzgrcoe6PpOECnddx\nQ8c0o1EEQz3yC9c/OANe7QB4FT1UbK7+i4lPYVcJYin82ZrFql7VQ7+YzWs7\nKHk9wtdjKlSPdGPSoIfTTv+eK5hHS16O3uxtMxJtFVCuPI3nA66XXqejGOJA\nfJR9l1sExIkkv5KXnZkax8vPyJz/Ew3LJwxUbCXTOW1BO+JmKCknGI9I2PPo\n8dD1djmpErqCk27Di8dms39i5Hxk1t0JeD1DS5AVvdesV0XhaXOPxcsJodsd\n04um2L4jBaEhlXwkw37M56KtNKCCditzfYLA9BezWcOtOZ6z182rdBJj+DZZ\nfDc9\r\n=xJIg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmBOM4nr0pnQIiLicR8Dyl4/iW5Gmx6MT1MRNQrz/DsAiEA6nI1UXZKm+QkzGNY6/pCBKTrcr3cot16WhQuE5wBnfM="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.2.8_1590805010756_0.724327130147276"},"_hasShrinkwrap":false},"1.3.0-next.0":{"name":"@nnode/core-data","version":"1.3.0-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.2.0-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"877eceec4d23ff3ba6daeca16c0102d0ea406d42","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.3.0-next.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.21.0/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-BxaB12++IKoEkmCRgAOpbpj8Dn/kY8VVwLcZWu5pGIDz4ZrGSwEZ8GK3AAYvNsFlr9iW+AFdFrdMCHk2isFDjA==","shasum":"9a311c42d6a92ca42d312bb686f789249b246025","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.3.0-next.0.tgz","fileCount":44,"unpackedSize":55211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe13u/CRA9TVsSAnZWagAAp4gP/2Si6kaYRJEjiUzKD0lK\nsExoHCdSY5jnhXQlsuNZEyoKmnLvd6pdaT7gOzv3vuD13tMpvbi0tV1FuahH\nhFnE0w8Ja0WRuB1ErMJVwPhdaOEhGV08Bz54TTnVrXxlXvGoII7BGk/D0akq\nzBUMGnAnPeuoLw+ISXUcVFqkpQxeLfNKsltduF/3EPKb7oqX/GZKJ+3T2+ka\ngT55JRpk69qH6vv+M1QjxOiBbZL1Hf63x/pF81ceBgPDZv7L/H8kRejPvmDj\nN5NNF0wIzf1WcEcursd+dcqg1GG9ko9+lrgq+ENvHkJWQ4kCmDLN4XHUzqew\nK845RxuYuPlSPjECcxIkH1V33O1vvV5XhJtO71OMBD4swxswp7iUOVWKuZ63\n/smzSIhXpl+e0jwTO24hngGNGe3MSv0NsMHFd/07KxRu0rna/t6I7XshvX4+\n6nH83ft6U3DQd4rfKvTcqxR2eK/Dxzw3dRVQ9VRuChxxWXqxDxL8Uo7hKLqz\n8mAHLC0rQgccaPMHLS0mg3nkJyAVzrBxp9uoZmGdi7nJ/3WY0aUGtHTJNG/T\nMvaYqpD0h217Wy7Pi9ApIY2dFekmhGFHbw58W3VjcrkZfuHZurmKvFCSEN8+\nCF7dk3BIsOpw9hWDGLPVzcB+kUKaJ42hIOb/pWx8egHiw5lEys3XPSdUbm+x\ny7Iw\r\n=/Rda\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmXT2Cx2hldK1BGJJrDGHxYiw9URaMtyjdu3+LXnbmoQIgM0gwd8Y0QtDndNdvg/E6Xy49Ah8P5suyuHtccRz5D6s="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.3.0-next.0_1591180222645_0.7564780818280417"},"_hasShrinkwrap":false},"1.3.0-next.1":{"name":"@nnode/core-data","version":"1.3.0-next.1","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.2.0-next.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"f0abe9c01647b9a795b47183f7fc35244b38cf6d","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.3.0-next.1","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.21.0/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-9t9bOjLNthgc2/zoef894Hv4COEOGL7mEsuR76AcbHj4pcn5gvQSNcVkF9ahC5G8CuNB2QRwfTUNFmKz4YOuLQ==","shasum":"161a734849fb9fe597acf7802d9f98fd167fd85e","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.3.0-next.1.tgz","fileCount":44,"unpackedSize":55295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe14QhCRA9TVsSAnZWagAAOOEP/jNe7k3N6Ryyv3ecu/M1\n77tCCpdK9Kqsq9tiJXFfVRSnpFTxQQo6sSY7IYgooIVenZSPcbOnR+V64rlE\nK2/EXBzcXqBtB7msCm4bvZ0uF9BMLf4Ml+yymEWuQhA1BWxh4XrdfhDW4XyF\nDfXBpB6Ukn4meDkMs7MYsCTBv2GYkDisyhJ6Uil98tjh1wnNIw/vBSwekkQE\n+Qiz8OsX89WL44t2MrNUWWm/inKQDS7paitWrC9DvyP0A86YRPx/6aMsjYcf\n2RIEUfCEs7eu0rLTYEj3+jlXyBIb5BLrFMpvYIdc7f2PI9sesvQzNBFa4Sx3\nmCKHLoD/rgzsOPHX60J4u6dOCsea5cl7FgfSdRDZny5xuf6w4vgqIuku7hPk\nIRlEJEPDYgziVRYD7Di/N6CTYS5QU9IbAOreEFG7lQ5o5NzBmvcAvehDmpJG\n6hg1YcIdwahc0o1hpfp4fs5yOTLuEajm0z6Ex8ivb4N+4DeZqpvywdYt5vxG\nDhjHGjRp4Y5fvdrWs03VuXF69j4UZqMAZRvHoUmXG2hOQ6dtB8IzaBDUhbnL\nyThlbUj3IyeQ7LzhuYFLu1TPyyDAHgcTPHU+RrQ0UFO6BYTM8+oZQfb7XI5S\nVZoxFNvTpyUMJZyOuc5oLkQgonNY77yfsisf1zYyzwctvB1E68zsudBA5ZNM\nVl3R\r\n=rzZ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSVozoUHruVJCiUu4ARoWdVXKPI+ZHWm3FS8nzpeC22gIhANjTfFztddQdlTdDTA1QwsxQDHP8hQK/USpfAWqdDWFO"}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.3.0-next.1_1591182369326_0.7672152810425525"},"_hasShrinkwrap":false},"1.3.0-next.2":{"name":"@nnode/core-data","version":"1.3.0-next.2","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.2.0-next.2","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"256c417d591bb1698053527e53b52ab6ecb7c044","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.3.0-next.2","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.21.0/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-AqspSMT0X9b4Kx4mz70qHFgkQ3mQPU9f2MlSB26qpYCFWu/xYi2uGhaBN4WL84oiBFsbqsiwl55wCoTuqAnTbw==","shasum":"269b5c772ef5bbc02b97c7b2416a30c23b3ee905","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.3.0-next.2.tgz","fileCount":44,"unpackedSize":55295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2I6xCRA9TVsSAnZWagAAEXIQAJQgtohoJIoqZGCG83ba\nwxrsEjRckybAapk2f1pltRK3Q7NBVpEOgr7NJyvy06qWilggy/6lw5DSm40Y\nO2ghvidExU5ENEVQW+6wczTDWraZ8hoQERX8b01CluFYASkdbhs+ud7MdrVo\npQzGmmdSTzavQtej8sddpORH9ZBuy9e5n78B/m6LUPFc3D5vgO5A30HIFzBR\nrbl2FxUTRIAHfKQedh3WB3NyfSTykZNQktcawewN+K62+yLmhuOjmqluW54z\niVjTZWrRs2Ndwd0mDuF8EgaSdHO76ZlIfAk9WgQ0K8YE5hTzgmFMmYSgYYTl\napPBhFPq2t1PcD6JggmmXOeber7mW0dsMXaUZofsoMH7p/3C74deRp5qgE5V\nEpk2tuL6OJGecKIuaScT6W3JlBjlfquuTP+kAPyhQ5BtOV/adhsbbN80C9Lv\nIiECN7hvq5cO2Tgn5zPHj8CduZiDIqxfokbDsx7b7+NyorcdTFhhHi1E0YEO\nM3uLnERgdqKXTA2udPX2r3OeYPwhvyN19oI5xvS873b82SMV9fZdB+4aE7yV\n7k+L9GSQmE/EzycyQSu7eR3mamZcM++a/yxa+z/z/vUSeKcrpxb66ki/JQTd\n25SMd1LxS8thAHqd2lOGJ+Uaz1JXZY63jaUgaMTJL5zGqHMRlt1p49zZ0gJU\nZ8Gd\r\n=L4bc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+rXN3cH/Zpnnx9VvP6fCqqTS8qzbGQbdRXYtP8TOD6gIgcuPKjx9k+dzkjVTGrC/kvVZrQYcy43KgFjjeljXlEKQ="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.3.0-next.2_1591250608958_0.35449096359333643"},"_hasShrinkwrap":false},"1.3.0":{"name":"@nnode/core-data","version":"1.3.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.2.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"8901af11f6c25758ff2b3adbc07567336f33050a","_id":"@nnode/core-data@1.3.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.21.0/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-+IeqSM81dELg001VWmEDexfB5ZnmVyP5kgDfMMMOdOny3pCYk+cRTFQLo4F5kCH3mDq1VMwyaGakISi3snadXA==","shasum":"b6c7c1215313b700cb49b545020abcf299f2c210","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.3.0.tgz","fileCount":44,"unpackedSize":55471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2JHeCRA9TVsSAnZWagAA/uoP/jwT42GIl1kDp2PqAL5c\n9x7Qu9ZTEB7RI8pjktdP/BkhZgOs8ar7RTgf8v6iC6Pkn5czCxEAWG5DM0vi\nBbt6/gQg7B8KoKBYAXDCKiEZzwj04bGFV6gJNQfDJAwZo/SORkfOjDsxN7VO\nmXIeq0mnub2dBvKutr84hJtsDbx6RjI7oAf4a3NnNTFNuOP7x8B1e3wBLTus\niBoW6tviH+72ehiOsCfPC5GTu/iLi6PNpc+Bup3S/DQqS4mX9PDAMEhXHus6\nv/s1p5MPumgzCHe4Dgo3qPBxrG7CasFBxzy1CTdFe6lB3LAR/s3KRD2WOGV1\n7Ffz17rye04utiq/sGOYIIvPfYUvG8dUM5UCTVZBBdib+SzQpE1YnEe5QUG/\ndD0Y3Xte4+z0SS0YwG9J56F+nzdCjfhAyr8E7+n6R9yyDnxuUXrs95ZRnUp7\n5C6ePCpWgN1iqvQyQmRVDON5e3PcUWXX3ii74XfaXtoFZznGpshZezacIM5n\nMYA89dVqP6Uvcg6aYvCuGzIGF5lic8lzeFqlkA06QXgD7/ajVbpAohZqVUvt\ncM+4w5LJ35BgZVGfpHs6T9SXrlqLape1nXK/bhdbEc4hyoOC0a+JN8f4iH+W\nderczh18hYGmr4RMH5l0IQi8/DzZXZYsvBveC5DFpNNfAutA8l/N1ITv8ypI\nXw1k\r\n=Ns4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWj7MkH54crF2wZDBifFM0s1+1mWi3D/AfihJr3fIqZAIgbZI470AowUtTQU0sdG6dZlRdju6gveW47IIpOc87QnM="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.3.0_1591251421922_0.7037494899503438"},"_hasShrinkwrap":false},"1.3.1":{"name":"@nnode/core-data","version":"1.3.1","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.2.1","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"d15a7581d4e93f0c2ecd070a7d139ac8417ee931","_id":"@nnode/core-data@1.3.1","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.21.0/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-PsYYc4U4v0LEa8DhM61zAL6dxKzaS+BXHHDKVe09HFq1yFLBV5YjNKa1LqXGMHNe+woXEXIaefITgRP6OuZqCw==","shasum":"f5fe1a858c9c4c91bb158872d931b072856d61f1","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.3.1.tgz","fileCount":44,"unpackedSize":55655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3hXjCRA9TVsSAnZWagAAoiQP/1wvGyOUfgbB9QFS64/Z\n3WpB7L3hwjTpwSCnxoHdz82qqhjx+B0ogg/4/+taP/6EFiLf7YwmQwJtKzit\n8hldw/fPaFZHJT1jf1j2jKsvZf5y785bYUo/KfJ9h5qOFVmXwHz2EozalM+s\nHTKb3vJ8Ph6t9mWPFwQmKUWLNeyPnvefX0RUQ04qER6NtZgbclFz04cADNca\neQtS7y8EryYHoFT/6e+1gR4CvUos+3RPekN9jwwMwHx6Xf7et3wijvbQvWlB\ncwMhPGfaa5xkHEWRoYOPYNMEaM57zpBtI/qgLfWfVVrALbWvOjaFFtAwaMKB\nEGDCwyWA9dLRr4bA0lDHStXRdFDGoOfpBB7Q6G2dOZVou6DOxse0f7vYNw8I\nfMCdb1LstfhjWsnWlhvu/OKUoQvSwy9KUMD0TEROVuTtKnDUiLtgp0aPtgLu\ni4KnCedbK6FbJNlGdLZH+teIzru/PNVXkG5+ydPrKJUZCGsoWe9IjcM4zhJR\ni2uYiLqzJZRNvalZK0fGnSgn+fCLGfog0AXGo6O8emy4wSvE0aNZQwffKkEW\ns/NztQTyUeOXns8wZTNvKKzSdcWHO2lT0iOwdxJY4H3YGb3ydsFT5Xu9DZ6B\nkm6PpcgPQ5bfzzFABjOPi048CwoY+R0EVrScS5SxqQHXzG7acJZJgz+ejQst\nR2Yc\r\n=6aLP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNG6DlKekW/IGFbmNmiMfUh0s2cqwisnCMmZe2/aYWMQIgU03djGjekdwsNztynM3B1Vb97DHTFsKnGqTtp3XqZAo="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.3.1_1591612899222_0.05493523861425409"},"_hasShrinkwrap":false},"1.3.2-next.0":{"name":"@nnode/core-data","version":"1.3.2-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.2.2-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"d2ad472bf358c9e751ae7f9327fa984f0969509b","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.3.2-next.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.21.0/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-0UCJbXoaSnk0fQwFnAsol5QqphSjK+OJPWx5qm/wGPzANj9jq5kUtnJ1+Y3eVD4MfZCDSKTjYpGQaJkrG0IWyg==","shasum":"0e9ed14b0e1134716b61a035b605620efe4e5e53","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.3.2-next.0.tgz","fileCount":44,"unpackedSize":55669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3hbICRA9TVsSAnZWagAAEZEP/ReMQZlIKJ7BLeqJIwIT\nAHS4D/oaS9uN0NsY7L5416tlwXHUN3WBs37iMgVCYPH5/NDdw6JryyiOXmmq\nFVuunkh57cfhb4/qiLNnlCDuUDZVrwmasoxkEt9/2lo641Rs5j5a0jFMFXHl\nzw1lZCKSVgP4b4cUOdkbduPZAvXQ4GFcI75eG/qjYKFS/EmudrSDyyih4ky4\nykUjVSLUITiOwuwexVspUJWD3WX5ny/kDvKORu9bAeElgC3vFk6JoLxjtS82\n1SXLPKkWt+LhMLS1Ye0ESIpAB3l1yEs2iJdG8AcsULQIVmeUq1/YDepsNL6p\n9WMznE4yu/NF/lRg8te74u/+tY+ZJx6GtexAPThB08aIono+Y7rFsEHq2Lg7\nuY+iNe9lSsEndnwOmYuNtaAmzQss2H5CgwUZDBpLvLPYe2/TlJD3q+tLkbIH\nKDARUsVVcPxyZAboZ2et7qCZ3sUhhrkueLl1Nmmi+zg7W8CO2UREndM+uyvg\nGiUq84+zkgsyBniR44dWN+XdxTN2KKFZwDLgYYpXZZ7fWr5zklJWo1FJkOGN\nEmW3cG4OadN0IrS1KcabcBtwJELTQqyn7xWr6DF5m8GVYzVZNcZp6oNcGI2c\npnUdmmcdqkv8OALnPweCv/ynnv13/RkA+BUHVdmnFz+O4KDrLS2yL/C58j+s\nWmvH\r\n=OUcb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDylek5ACQNAHgvOTnBuywp9XQxehskuYL35/XCLfJe9wIhAM18Lj0WOoxRZVQ2sdo6qBRseyQi0tWyERZm3M4YU8xS"}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.3.2-next.0_1591613128342_0.17336301494511952"},"_hasShrinkwrap":false},"1.3.2":{"name":"@nnode/core-data","version":"1.3.2","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --project tsconfig.json","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.2.2","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"e084ab19c15d018ce60592abb9cb9b4b8021b868","_id":"@nnode/core-data@1.3.2","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.21.0/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-gTTjErxJ5X1XK2nNZIu+AM/NorlR4SAgxMyxWzPtmGoIbIHjnFiDa1xSQ78uPPgIVef9rFCE7xe9k/RQrOWmVA==","shasum":"2e422ec249e99138e724a9f582e15f2b7ef31c44","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.3.2.tgz","fileCount":44,"unpackedSize":55839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3mutCRA9TVsSAnZWagAAkzoQAIVRwwKjMqkvAd/JRnWi\np3/Xd1Lzr1y5G9GROCTCaKRrNfGGT1JVQbrbBk3kHfjwlnonAddGzc7YZwwr\n/kNTQxmF2aWfTiiQpxIa2s2foWI7R6uqKXkVNnifajN08Ymr6Ik50MGv/x7O\nHBGmx9DEM4aJagTL0hMDyHPEmDtC6reCVFV/bb9Ohy7VC1yv2gsKLMKyMcO+\nNP4Xl8vA6YvBdDp4gtWLGB5ny1yg43afdPbfHC7a9Yy0hDJWsjsJPyCC2Qsl\nAKuxKCf2FMBKJYxwudSEvZjttSCmC9/owfJZXqAdN1tNAzB374nFmJwI1+8Y\nIEN/P+zsUBFySfNZr4GyfMjKkzFBBAZ3/NqX1libq5dhOh7a24C0slJ22MeM\nK291HwPdOTjVoG/ubD3IdxvY+1n8NVUzVNydpXfwBXzyeAvUbW0KHYtMYwgd\n6XB1Us9X22i8Wzmlz6+uKsjK5zAVc3bdNjzfMBBOB5KIwMebdSEA8Uwwqxox\ny0PMGhtyJlawbi+NhnwbmmJca4woRJmebAB4jiegQvodLfehDRhEos6khbjQ\nFn6pJU+6uKIVdvUMiCsn7gXZhWMbsqleCcmrp5FP+rqw7q/rYeTXzqlTBcbx\n+8/p11nS46qCQjXMR+lk3SRT39ltQc2bSHFXR+cntarYaKHRR3jffD/MnqWL\nNV4z\r\n=Zcne\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7Az/rXtrilvdNn0QTQn5qyeiWMFkk4yycgNZ5gUXBUAiEA1/e2T2CbwgD/BbXTBLsTC5ZNuqfO+qwRftBkhQkxlLI="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.3.2_1591634861050_0.8372910068300925"},"_hasShrinkwrap":false},"1.4.0":{"name":"@nnode/core-data","version":"1.4.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.3.0","@nnode/lincoln":"^0.6.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"eb533610f55ebe7189b3899c6b57e6015679548d","_id":"@nnode/core-data@1.4.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-GJLnptJCLZdYfEnzSRs1eAoWTAglh0SSfN59PIyDtIZlD4RIzvgsMb/KAxJn6jNGNTe/KDtRYCBmtSAP/aERDw==","shasum":"92cf984656ae8d16e9cc918f8fa9160af890e084","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.4.0.tgz","fileCount":44,"unpackedSize":56109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4DVXCRA9TVsSAnZWagAAF2IP/0jLJHmeY/66wu3m/LEP\nQmCCjnLRjNRe8YeA8EqP0kPBNquB6FFFbRMnqDvpUZj4gvyxS5NRPQXhhTTm\njqnd02wkCo6ZKDgJSjgkTkonj5XmffD5p56kKGSXgw6zYhxFOr9Be9wokIOK\nvS1BeglkoZKkQPzF4yFEzth3L/Mk3+rjBTySUfxkIjO6aFznzqBNPS55yjr2\nJYY/FYdGHnCv8aWms2jhvdpfDaM3Fy5Ez0SSayMF5Uqz+VfwdwHM4LO2sa4K\n7LqwRdYRT06QS/1S6S4pCN/d8o3h7UGCteuu5B4KjiE61TOa9yeuQfS6Rdoz\nTqHr5xMeHWNBskMwpBPSYlWyyXuZQLvEk9ND5J713+y3uECbpWJBenPWQ0ro\nIBk/hiBuTKZ0P5TtdrS06pocCopUbBMi0YD4Xn7kSvwPEcv49g8awedjT57A\nO6fwcWElrW80YKUlGEgtd1AFzrooYW7Xu9dIZf66WmW9Y5xbI01+RVPRGiTK\n3ZdTtXW39IHqvHPzfb6Y29nf5YLI3p6S0G55BOlOsgKeoqBRtcZmrUhcT1au\nRrju2RJTqlOdIxz+deC7t63Bkufupk8Srt/YB4JTOCTlisfyBZcn/hwlDGeR\neIgX0bduJ2mbWrosv9afjr5YFTm7Ag/MG8Eq48FpbZnfGRd0S5vD+nfTeqd5\nexfx\r\n=VEzg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCC0/InMybCSNNrevFOoVBVEO1y5NTEr5Pa0dCri8t1kQIhANGQFsMRNdPiy9Z3KAOiX9wHXFo782tUkawQKlyxgMeD"}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.4.0_1591752022934_0.2815448231784967"},"_hasShrinkwrap":false},"1.4.1-next.0":{"name":"@nnode/core-data","version":"1.4.1-next.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.3.1-next.0","@nnode/lincoln":"^0.6.1-next.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"2739bce1bceca7aec22118c0bf56e3d0401a2967","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md","_id":"@nnode/core-data@1.4.1-next.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-PZnXqoEYHXYpjYggvrzOX1F4qHBgBmn0rmZjmAQQjSgzU3/YpH3YEcfLSUJklrQnZIknKyfW66SuhpuP3NElrQ==","shasum":"41d8c7ccaf47afd2289641ff9a41e2bccefdde2a","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.4.1-next.0.tgz","fileCount":44,"unpackedSize":56130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4DYrCRA9TVsSAnZWagAAom8QAIxUW0KJt2x8+O/cJPx5\nJzRO70n4Ot5/r7ZAsiYH0Z7n3lZ60idq00eiovbYVorBnCesjTIw2aGU5FA1\nmwdtAUnviDhtihdxVE22Ri6185jl9tJz/6Fy5GObrbXptwikksLTiHeGh26R\nALflmPrMiS4bc4Z5uhJRPm8Q0MTI96MrOqcNQGJOaKCmy6DdJu3uCTKUs6JG\nKBFyyw8Al8i/t2GWBL1FKUlDNBOYfY2M/oQOOvm3FyNAzJkRz8Wms3ERemA/\nC0DKsAaXZG8hCOG1tI+O+Wns82z1iJVXAOMMgf2kpNyCoOWo9EyY3wIM6EXH\n4D1QL3l9PuUCoWVTdEM3akQ+wUYU0jO3Sz02IDYHl/ogA8XBm+BFBVi0qrjG\n3JPA4auwdEUFZT094/X9tlTN6pCllv2RmyRCG2shUBuFZwW6wzg+iJgpIwVu\n52zsJH/n4omWAY2uHtBFOLe/G2U1FePlRmjlksIdfZF53UdO12w59XndL37h\nRXSg3Ivt2JI+3IEuL1HnCbiX7C3U6D7QzFiewmKo7/ebB3b6HAsjmpXC867s\n5BlI3hkGXXPXigh3CZxLzOF5TJrOzGB7k30dPOgI3GcAnkXQF6fqro+clqFb\nfTuFYmny8x9AGXVrPkmg35ERSQPtP47jZfjvRP3obQO5v4MX2ZVq7peLIAHu\nRrgB\r\n=KLGI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7YgG8wr67chkjuNCeo12rqRo5lLtwSsdAKRUzrfEp+AiEAgajiya/J8KWPzbtBozdOhcgsGr0Z1YsuI/z0QZ2l9XA="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.4.1-next.0_1591752234950_0.31012207734946906"},"_hasShrinkwrap":false},"1.5.0":{"name":"@nnode/core-data","version":"1.5.0","description":"NativeCode Data Library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","author":{"name":"opensource@nativecode.com"},"keywords":["data-lib"],"main":"lib/index.js","directories":{"lib":"lib","test":"specs"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","templates":"mustache ../../.markdown.json ../../LICENSE.md.mustache > LICENSE.md","upgrade":"npx npm-check -y"},"dependencies":{"@nnode/core":"^3.3.1","@nnode/lincoln":"^0.7.0","pouchdb":"^7.2.1","pouchdb-adapter-memory":"^7.2.1","pouchdb-find":"^7.2.1","pouchdb-upsert":"~2.2.0"},"devDependencies":{"@types/pouchdb":"~6.4.0","@types/pouchdb-adapter-memory":"~6.1.3","@types/pouchdb-find":"^6.3.5","@types/pouchdb-upsert":"~2.2.6"},"gitHead":"130b0ac26696cac166cc79dc3d96ad02d6519ce9","_id":"@nnode/core-data@1.5.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-/+qz+HmDLfxIUxX6CoRRmkzStKaG6bShmoXJFp4RFFocvXLDhc3EM75ukFlRngcVCxf7uoEjWHHdvz46Y+5cbQ==","shasum":"fcff552f5cd4a8947d12b8067624e1347c9aab44","tarball":"https://registry.npmjs.org/@nnode/core-data/-/core-data-1.5.0.tgz","fileCount":44,"unpackedSize":56375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4IFnCRA9TVsSAnZWagAA0hYP/2IJ+OzZYMFcFeFokiXc\nJohZRGIlW738516FtaItLPvZGWKfwuA1SZ68YPne+27Et5tD7zyze4lQyZGO\nzb0DinFAc+ebxKv2k0BBskiOawq8MwzHsBme/ZaRopTsBE2ggyw9i+k38sQd\nrf4wAGCOCCaYzi46Z/6oZRxrWRw2PiHuph1tjXgiqfw9+C0JfPL8MI6b9wuA\ncHvJch6uNloslpNYfuqI8bA7dBSbSfTsTnQUhRIZ0F3v9iVKl6MdvXcQuJWi\nRTWikMJrH7GgW8gFqgYBk3/2ytvxNlhW8wjrZu8E3PF/snu7vxSnJrK/ECa5\ncSwhtePQp7TvdBF3ynm/HJ+UGRVgS24M3/gtTLqR9kGBYNfOFvwd2aYO56Kn\nhE8nmu6BrP09HkmiQ/fGXN20kLN8ZQFbgwr2xDahlY/sZipBl+o0rEIz3JTl\nDSn/dEQXtEApzQRZeNMtV0N+pZVS+A595Tz9AL2p8/YXcFvT7Tag6m2wipTt\nJxnHmQ9yFLagutpmG2/39PvJaSZup2ATUhqsz1GhCw4/XCqqz259GKFr6ezg\novkKHyUfr76diIYu+BQyhyQIy/7mMpuL30t7Yv1UR0RGJd16/7ioKJSuRWSB\nUg7HXbweaNxWKxrlQ538zGFXBUJJT5xHd/OqGBjEknbLyBi5WQ/2uYB0dra0\ng1CB\r\n=QkTl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGjBZCMjGNKUChbMRB5lXZ3NMWq1yxtKKGGQLbY9Fb9AIgW9XKn5vJKkcNIKo/rXH4qAMzukUEqB/S+QoM3A06KYw="}]},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"_npmUser":{"name":"teegee","email":"reginfo@nativecode.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-data_1.5.0_1591771495085_0.1374757115038856"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-16T19:17:29.429Z","0.0.1-canary.71":"2020-05-16T19:17:29.771Z","modified":"2022-04-06T09:07:08.663Z","0.1.0-next.0":"2020-05-16T19:23:46.622Z","0.1.0":"2020-05-16T20:09:51.164Z","0.1.1-canary.0":"2020-05-17T05:02:01.690Z","0.1.1-canary.2":"2020-05-17T05:25:26.303Z","1.0.0-next.0":"2020-05-17T05:38:58.564Z","0.1.1-canary.5":"2020-05-17T05:43:34.334Z","1.0.0-next.1":"2020-05-17T05:47:10.328Z","1.0.0":"2020-05-17T05:52:49.300Z","1.0.1-next.0":"2020-05-17T06:13:14.187Z","1.1.0":"2020-05-17T06:17:39.427Z","1.1.1":"2020-05-17T06:46:56.240Z","1.1.2-next.0":"2020-05-17T06:50:50.661Z","1.1.2-next.1":"2020-05-17T07:07:17.892Z","1.1.2-next.2":"2020-05-17T07:17:09.885Z","1.1.2":"2020-05-17T07:22:27.508Z","1.2.0":"2020-05-17T18:07:07.381Z","1.2.1-next.0":"2020-05-17T18:21:30.233Z","1.2.1-next.1":"2020-05-17T20:26:07.002Z","1.2.1":"2020-05-17T20:39:40.245Z","1.2.2-next.0":"2020-05-17T21:03:31.171Z","1.2.3-next.0":"2020-05-17T21:18:45.214Z","1.2.3-next.1":"2020-05-17T21:28:56.356Z","1.2.3":"2020-05-17T21:37:16.765Z","1.2.4-next.0":"2020-05-17T21:41:33.805Z","1.2.4":"2020-05-17T22:59:23.959Z","1.2.5-next.0":"2020-05-17T23:12:59.378Z","1.2.5-next.1":"2020-05-18T00:01:18.810Z","1.2.5":"2020-05-18T00:05:22.179Z","1.2.6-next.0":"2020-05-18T00:09:14.105Z","1.2.6-next.1":"2020-05-18T00:12:17.871Z","1.2.6":"2020-05-18T00:33:21.622Z","1.2.7-next.0":"2020-05-18T00:36:31.462Z","1.2.7-next.1":"2020-05-18T01:41:17.933Z","1.2.7":"2020-05-18T01:46:20.167Z","1.2.8-next.0":"2020-05-18T01:49:29.412Z","1.2.8-next.1":"2020-05-19T18:00:05.373Z","1.2.8-next.2":"2020-05-22T00:54:37.068Z","1.2.8":"2020-05-30T02:16:50.856Z","1.3.0-next.0":"2020-06-03T10:30:22.890Z","1.3.0-next.1":"2020-06-03T11:06:09.453Z","1.3.0-next.2":"2020-06-04T06:03:29.072Z","1.3.0":"2020-06-04T06:17:02.166Z","1.3.1":"2020-06-08T10:41:39.387Z","1.3.2-next.0":"2020-06-08T10:45:28.472Z","1.3.2":"2020-06-08T16:47:41.283Z","1.4.0":"2020-06-10T01:20:23.051Z","1.4.1-next.0":"2020-06-10T01:23:55.144Z","1.5.0":"2020-06-10T06:44:55.224Z"},"maintainers":[{"name":"teegee","email":"reginfo@nativecode.com"}],"description":"NativeCode Data Library","homepage":"https://github.com/nativecode-dev/sosus/tree/master/packages/core-data#readme","keywords":["data-lib"],"repository":{"type":"git","url":"git+https://github.com/nativecode-dev/sosus.git"},"author":{"name":"opensource@nativecode.com"},"bugs":{"url":"https://github.com/nativecode-dev/sosus/issues"},"license":"MIT","readme":"# `data`\n\n> Library to work with document repositories.\n\n## Usage\n\n```bash\nnpm install @nnode/core-data\n```\n\n## Usage Details\n\nYou have to create derived types for `DocumentContext` and `Documents<T>`. A `DocumentContext` represents the document store, which uses the `meta__doctype` to represent the document type.\n\n## Example\n\n```typescript\n\n// Create interface that represent models.\nexport interface EnvironmentVariable {\n  name: string\n  value: string\n}\n\nexport interface User {\n  home: string\n  username: string\n}\n\n// Create model documents.\nexport interface EnvironmentVariableDocument extends Document, EnvironmentVariable {\n  timestamp: number\n}\n\nexport interface UserDocument extends Document, User {\n  timestamp: number\n}\n\n// Create primary document context.\nexport class TestContext extends DocumentContext<CouchConfig> {\n  users: Users = new Users('user', this.store)\n  variables: EnvironmentVariables = new EnvironmentVariables('env', this.store)\n\n  initialize() {\n    return Promise.resolve()\n  }\n}\n\n// Create specific document stores.\nexport class EnvironmentVariables extends Documents<EnvironmentVariableDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['name']\n  }\n}\n\nexport class Users extends Documents<UserDocument> {\n  readonly indexes: PouchDB.Find.CreateIndexOptions[] = []\n\n  protected get keyProperties(): string[] {\n    return ['username']\n  }\n}\n```\n","readmeFilename":"README.md"}