{"_id":"@adx-studio/firestore-manager","_rev":"6-cc439ac825f5ad2b8849098fbd069b68","name":"@adx-studio/firestore-manager","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@adx-studio/firestore-manager","description":"Create managers for your firestore collections. You can make calls like","version":"1.0.0","main":"index.js","dependencies":{"firebase":"^10.10.0","lodash":"^4.17.21"},"devDependencies":{"@types/debug":"^4.1.12","@types/lodash":"^4.17.0","debug":"^4.3.4"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"keywords":["firebase","firestore","database","orm"],"author":{"name":"Ali Eskandari"},"license":"ISC","bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"homepage":"https://github.com/alieskandari/firestore-manager#readme","publishConfig":{"access":"public"},"_id":"@adx-studio/firestore-manager@1.0.0","gitHead":"e228f5159e392ad03d1dc709da973393b5a55043","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-oUh0AQEQia1RtJOd4FpbcCHCE5/VmR8BvVFjJPkgUDU26Myg4XaumAM9FJziqfwH1j5sU5R10vxxWy4MgAcEeg==","shasum":"723825a9042e43e6d44e8aec1bda20974d888f3f","tarball":"https://registry.npmjs.org/@adx-studio/firestore-manager/-/firestore-manager-1.0.0.tgz","fileCount":21,"unpackedSize":40302,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkN6SdMwJkkdp0deoSY8VKZ9YnpZLaF6MEu9m+SyE+ZgIhAPwRCgGvRe82jiwmD5fKEbkNWrfVtu+iYrEU3hQvw8fT"}]},"_npmUser":{"name":"alieskandari","email":"AliEskandari3@gmail.com"},"directories":{},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firestore-manager_1.0.0_1714970379678_0.7813251132568357"},"_hasShrinkwrap":false},"1.0.1":{"name":"@adx-studio/firestore-manager","description":"Create managers for your firestore collections. You can make calls like","version":"1.0.1","dependencies":{"firebase":"^10.10.0","lodash":"^4.17.21"},"devDependencies":{"@types/debug":"^4.1.12","@types/lodash":"^4.17.0","debug":"^4.3.4","tsc":"^2.0.4","typescript":"^5.4.5"},"scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"keywords":["firebase","firestore","database","orm"],"author":{"name":"Ali Eskandari"},"license":"ISC","bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"homepage":"https://github.com/alieskandari/firestore-manager#readme","publishConfig":{"access":"public"},"_id":"@adx-studio/firestore-manager@1.0.1","gitHead":"46db330bb3303b38d6e2547402d0adb2c200f7a0","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-R2Zc0tvobCtgKPmRO8uB7+q+6da8WTN/S64ooGykWDTrxvr6qi3A7yjLnoVqgZqiOQZXkEHA6XbdRnWObWppFA==","shasum":"489021f9f91f21fd339214cf705565dd9a4708a8","tarball":"https://registry.npmjs.org/@adx-studio/firestore-manager/-/firestore-manager-1.0.1.tgz","fileCount":54,"unpackedSize":115091,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDA4Lq0suhEFRXCCQ6zInmNk7Tu1V5YED1GfGL+HLwpHAIhAIiirU5k3HKX/wED940bWAJJUQKAmvrARIWiKi6u4gI4"}]},"_npmUser":{"name":"alieskandari","email":"AliEskandari3@gmail.com"},"directories":{},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firestore-manager_1.0.1_1714973136537_0.6723966360811349"},"_hasShrinkwrap":false},"1.0.2":{"name":"@adx-studio/firestore-manager","description":"Create managers for your firestore collections. You can make calls like","version":"1.0.2","dependencies":{"debug":"^4.3.4","lodash":"^4.17.21","supports-color":"^8.1.1"},"peerDependencies":{"firebase":"^10.12.0"},"devDependencies":{"@types/debug":"^4.1.12","@types/lodash":"^4.17.0","tsc":"^2.0.4","tsc-alias":"^1.8.8","typescript":"^5.4.5"},"scripts":{"build":"tsc && tsc-alias -p tsconfig.json","watch":"tsc -w && tsc-alias -p tsconfig.json -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"keywords":["firebase","firestore","database","orm"],"author":{"name":"Ali Eskandari"},"license":"ISC","bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"homepage":"https://github.com/alieskandari/firestore-manager#readme","publishConfig":{"access":"public"},"exports":{"./functions/*":"./dist/functions/*.js","./types/*":"./dist/types/*.js"},"_id":"@adx-studio/firestore-manager@1.0.2","gitHead":"3bac1ab4e6758be3bfc1b5239166f15316d714c5","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-gMu7D52xPp6Egr4jYhp7CUphUOXj+FeKp9AIvR6Ab53/XOScrN1qOezpYPihjUnnoUK3X3A2RJoWSj5m1ffj1Q==","shasum":"17953bbd527cbace1aa5c8284b7f6d51472c90af","tarball":"https://registry.npmjs.org/@adx-studio/firestore-manager/-/firestore-manager-1.0.2.tgz","fileCount":62,"unpackedSize":117284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAP9+ZU+EU77mza+LOFb2VBdMxamVvN4MvaL9r23khJbAiEAw61Fbftn4kH9ipffpWIFdHilI2s1OzVumDeiyHyRmJE="}]},"_npmUser":{"name":"alieskandari","email":"AliEskandari3@gmail.com"},"directories":{},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firestore-manager_1.0.2_1716162528921_0.024587048015334734"},"_hasShrinkwrap":false},"1.0.3":{"name":"@adx-studio/firestore-manager","description":"Create managers for your firestore collections. You can make calls like","version":"1.0.3","dependencies":{"debug":"^4.3.4","lodash":"^4.17.21","supports-color":"^8.1.1"},"peerDependencies":{"firebase":"^10.12.0"},"devDependencies":{"@types/debug":"^4.1.12","@types/lodash":"^4.17.0","tsc-alias":"^1.8.8","typescript":"^5.4.5"},"scripts":{"build":"tsc && tsc-alias -p tsconfig.json","watch":"tsc -w && tsc-alias -p tsconfig.json -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"keywords":["firebase","firestore","database","orm"],"author":{"name":"Ali Eskandari"},"license":"ISC","bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"homepage":"https://github.com/alieskandari/firestore-manager#readme","publishConfig":{"access":"public"},"exports":{"./functions/*":"./dist/functions/*.js","./types/*":"./dist/types/*.js"},"_id":"@adx-studio/firestore-manager@1.0.3","gitHead":"ebe57e1fac69a4893c9c5b3e707b76d545c82632","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-CSv8b8rzaIx1i9lSMEiU3fcblcpqye0oq5MbExql0jRhmNByl7FkYzeufROzWBBYBe30ivK3dcgCuMz3aXHPxw==","shasum":"5dd6fde793a20b43faea264a987c2f5d40b30865","tarball":"https://registry.npmjs.org/@adx-studio/firestore-manager/-/firestore-manager-1.0.3.tgz","fileCount":62,"unpackedSize":88138,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDXmvpLOQuYFCz1D9/Zrn2W4RMGTdzGJLzwlyefA6i8AiBLViTKqEirbBpi/Iq82jWXME3lv3oMKrqr/D3dOItNVw=="}]},"_npmUser":{"name":"alieskandari","email":"AliEskandari3@gmail.com"},"directories":{},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firestore-manager_1.0.3_1716164798364_0.12929610922367885"},"_hasShrinkwrap":false},"1.0.4":{"name":"@adx-studio/firestore-manager","description":"Create managers for your firestore collections. You can make calls like","version":"1.0.4","dependencies":{"debug":"^4.3.4","lodash":"^4.17.21","supports-color":"^8.1.1"},"peerDependencies":{"firebase":"^10.12.0"},"devDependencies":{"@types/debug":"^4.1.12","@types/lodash":"^4.17.0","tsc-alias":"^1.8.8","typescript":"^5.4.5"},"scripts":{"build":"tsc && tsc-alias -p tsconfig.json","watch":"tsc -w && tsc-alias -p tsconfig.json -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"keywords":["firebase","firestore","database","orm"],"author":{"name":"Ali Eskandari"},"license":"ISC","bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"homepage":"https://github.com/alieskandari/firestore-manager#readme","publishConfig":{"access":"public"},"exports":{"./functions/*":"./dist/functions/*.js","./types/*":"./dist/types/*.js"},"_id":"@adx-studio/firestore-manager@1.0.4","gitHead":"ebe57e1fac69a4893c9c5b3e707b76d545c82632","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-pGhh94L0dYMvor59re6my+9R+d1g3PC82IO4crR0qZa//FlyPQ1lev4y+RDmoFRRIoq5tj9t85wQItEzxOP/Ww==","shasum":"5c94562f5941b342dc37ab6ff33c628a09db6840","tarball":"https://registry.npmjs.org/@adx-studio/firestore-manager/-/firestore-manager-1.0.4.tgz","fileCount":62,"unpackedSize":96021,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfDVke2SjmAT1femCVw5jTgY+QN0gTt+kv2UI7eb8iEQIgGW5F4Zn+wKprU9fDsgROBh1yIiV3BubNOQUeehK2lzE="}]},"_npmUser":{"name":"alieskandari","email":"AliEskandari3@gmail.com"},"directories":{},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firestore-manager_1.0.4_1716164975100_0.33006412889842074"},"_hasShrinkwrap":false},"1.0.5":{"name":"@adx-studio/firestore-manager","description":"Create managers for your firestore collections. You can make calls like","version":"1.0.5","dependencies":{"debug":"^4.3.4","lodash":"^4.17.21","supports-color":"^8.1.1"},"peerDependencies":{"firebase":"^10.12.0"},"devDependencies":{"@types/debug":"^4.1.12","@types/lodash":"^4.17.0","tsc-alias":"^1.8.8","typescript":"^5.4.5"},"scripts":{"build":"tsc && tsc-alias -p tsconfig.json","watch":"tsc -w && tsc-alias -p tsconfig.json -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"keywords":["firebase","firestore","database","orm"],"author":{"name":"Ali Eskandari"},"license":"ISC","bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"homepage":"https://github.com/alieskandari/firestore-manager#readme","publishConfig":{"access":"public"},"exports":{"./functions/*":"./dist/functions/*.js","./types/*":"./dist/types/*.js"},"_id":"@adx-studio/firestore-manager@1.0.5","gitHead":"aba42764c85dde8aed816aa629420fb772b2103a","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-h1Nr/QFui1sF5uxDHNnx6mrCFIv8tBoQDFpudYZyVGYR9X9QODH3o2mtMAMQL+qDDyY2VWDAgXrFsV6r6zTE7Q==","shasum":"70f4fa4e98235a5d12abaa785f95572d9e3af947","tarball":"https://registry.npmjs.org/@adx-studio/firestore-manager/-/firestore-manager-1.0.5.tgz","fileCount":62,"unpackedSize":96215,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyQ4kUhqYY5hcC1eCQccQpsJCQ6hVuykxPWOV+VLPHSAiEA6529lPF2fn4e6Qmv3CTiX+Pquk4dgYMqEdHoEYUew5o="}]},"_npmUser":{"name":"alieskandari","email":"AliEskandari3@gmail.com"},"directories":{},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firestore-manager_1.0.5_1716176042391_0.9464023250242404"},"_hasShrinkwrap":false},"1.0.6":{"name":"@adx-studio/firestore-manager","description":"Create managers for your firestore collections. You can make calls like","version":"1.0.6","dependencies":{"debug":"^4.3.4","lodash":"^4.17.21","supports-color":"^8.1.1"},"peerDependencies":{"firebase":"^10.12.0"},"devDependencies":{"@types/debug":"^4.1.12","@types/lodash":"^4.17.0","tsc-alias":"^1.8.8","typescript":"^5.4.5"},"scripts":{"build":"tsc && tsc-alias -p tsconfig.json","watch":"tsc -w && tsc-alias -p tsconfig.json -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"keywords":["firebase","firestore","database","orm"],"author":{"name":"Ali Eskandari"},"license":"ISC","bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"homepage":"https://github.com/alieskandari/firestore-manager#readme","publishConfig":{"access":"public"},"exports":{"./functions/*":"./dist/functions/*.js","./types/*":"./dist/types/*.js"},"_id":"@adx-studio/firestore-manager@1.0.6","gitHead":"aba42764c85dde8aed816aa629420fb772b2103a","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-rvAO7BqLmr457SRBHsV6ygH8bTWXl1wGybblKWEhebLx186uW2qDApJpMdj9aLKIb2ck1c+4myJF4MupcJnu9w==","shasum":"6bf4e2e0d2f60a4c85fd5f55b928d4b018bb4541","tarball":"https://registry.npmjs.org/@adx-studio/firestore-manager/-/firestore-manager-1.0.6.tgz","fileCount":62,"unpackedSize":96215,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiZdf64jGGPiIgAYDaI1kAMbG8p7woJw/TaY3GSnDFjQIhAMAbrowDxhBeF26zIT9r4aSgrF1wNZvlsiU6nCeSvR5N"}]},"_npmUser":{"name":"alieskandari","email":"AliEskandari3@gmail.com"},"directories":{},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firestore-manager_1.0.6_1716176366251_0.918076281031222"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-06T04:39:39.571Z","1.0.0":"2024-05-06T04:39:39.834Z","modified":"2024-05-20T03:39:26.625Z","1.0.1":"2024-05-06T05:25:36.705Z","1.0.2":"2024-05-19T23:48:49.070Z","1.0.3":"2024-05-20T00:26:38.507Z","1.0.4":"2024-05-20T00:29:35.237Z","1.0.5":"2024-05-20T03:34:02.557Z","1.0.6":"2024-05-20T03:39:26.432Z"},"maintainers":[{"name":"alieskandari","email":"AliEskandari3@gmail.com"}],"description":"Create managers for your firestore collections. You can make calls like","homepage":"https://github.com/alieskandari/firestore-manager#readme","keywords":["firebase","firestore","database","orm"],"repository":{"type":"git","url":"git+https://github.com/alieskandari/firestore-manager.git"},"author":{"name":"Ali Eskandari"},"bugs":{"url":"https://github.com/alieskandari/firestore-manager/issues"},"license":"ISC","readme":"# Firestore Manager\n\nCreate managers for your firestore collections. You can make calls like\n\n```ts\nconst listing = await Listing.find({ title: \"Charizard\" }, { sort: \"desc\" });\n```\n\n## Setup\n\n```ts\nimport manager from \"firestore-manager\";\n\nexport const Listing = manager<ListingType>({\n  db,\n  collectionId: \"listings\",\n  _default: {\n    id: \"\",\n    title: \"\",\n    quantity: 1,\n    price: 0.0,\n    description: \"\",\n    createdAt: \"\",\n    updatedAt: \"\",\n  },\n});\n```\n\n# Usage\n\n### .create()\n\n### .delete()\n\n### .deleteMany()\n\n### .find()\n\nGet all listings\n\n```ts\nconst listings = await Listing.find();\n```\n\n### .findAll()\n\n### .findById()\n\n### .findOne()\n\n### .findOneAndUpdate()\n\n### .findOneOrCreate()\n\n### .new()\n\n### .save()\n\n### .update()\n","readmeFilename":"README.md"}