{"_id":"@edvinas1122/notion-database-tool","_rev":"9-7069540dc80e47ac1d675036791dd014","name":"@edvinas1122/notion-database-tool","dist-tags":{"latest":"0.0.11"},"versions":{"0.0.1":{"name":"@edvinas1122/notion-database-tool","version":"0.0.1","description":"Tool for easy notion table editing","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.0"},"devDependencies":{"@types/node":"^14.14.31","typescript":"^4.2.3"},"_id":"@edvinas1122/notion-database-tool@0.0.1","gitHead":"f26490c2b89fd67036e2889ca743a3517e60c256","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-b4589EY+rbLoEuWF4oLmJI5fwjJ3MRb/stW5d/mPnL3RJ6QfuZ8r8GmRyWDmZOkCv+5GpUO8OcIAe/Lw4Oohlg==","shasum":"3e79f083f7a5461648368d9c8ae5c9f6c969d6ed","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.1.tgz","fileCount":28,"unpackedSize":72928,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCR2tF0kHZ2R8qza6cc3d5r/MoZbfJyydXFfydXfvmtcQIhAJAMRRCw9a8gwcWGf8QiejnTgAMoMur63HVxVk82gRU0"}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.1_1696799467421_0.49783922176531004"},"_hasShrinkwrap":false},"0.0.2":{"name":"@edvinas1122/notion-database-tool","version":"0.0.2","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.0"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.2","gitHead":"32601affde27c3689a3f69cc43025cf8a1cd2ce5","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-voiffEwThYt3oTtfbU6uBJ4iiq0qa5+J+IXWqZZxuVMI4BzFo1sIhsKwyjOuydCYdrN12n5gZjKg1mYKIMOfRQ==","shasum":"6ad3bcef69e2e22a8619d908dd71967ee515924a","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.2.tgz","fileCount":29,"unpackedSize":84370,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIHh7fJZtQJdobcegG5LOehpNAx1qo/nSLv3B1iKwrSwRAh9qEPuUVk7dp0rcKP/SCb1l82DDIoAPHhCoLPOK0/aJ"}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.2_1696921034542_0.8860783298345332"},"_hasShrinkwrap":false},"0.0.3":{"name":"@edvinas1122/notion-database-tool","version":"0.0.3","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.1"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.3","gitHead":"32601affde27c3689a3f69cc43025cf8a1cd2ce5","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-JBJ6Wqzwtiv8fSEVQ8YJ4tkPZBWMNYK+Va+vtvS+iQmqXhK9vWQixh9MgNpT/KpykLHK6mrw2D0WbBkKUPDc0w==","shasum":"036ed46551d9ccce0a58c41576912d01634ccfc5","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.3.tgz","fileCount":29,"unpackedSize":84370,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTFDTeT98FZTSNeVH8m7MEG7KZej91sT4k6bYigQw9kwIgEagl780IoX5W8vPwSG0XBN3i7tfAEvls6J7jXRfDdzQ="}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.3_1697139791952_0.8162789921344018"},"_hasShrinkwrap":false},"0.0.4":{"name":"@edvinas1122/notion-database-tool","version":"0.0.4","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.1"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.4","gitHead":"0d0169779f1c162a758dcb53dd0a6bd5f9fe79a3","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-RNQsxR7/iwKACgoWrcJ5g2yaQNBVJWbJhB8uNNb912QvBK3XOUg0iBJr05LimHHALPdUlR2HCnTLHzbmCXSh4A==","shasum":"b4795fc0fd03e5de3dd595eb05d005888f7aa61d","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.4.tgz","fileCount":13,"unpackedSize":36861,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhi02wLYKolb8lrVC4+Ifl8InVfgk8fvppBMoOHVvGBAiEA45urq+bPM4fESX1d8ke711wbmduZ0T2nh9DQjur0Bmk="}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.4_1697642654406_0.42875506434942867"},"_hasShrinkwrap":false},"0.0.5":{"name":"@edvinas1122/notion-database-tool","version":"0.0.5","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.1"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.5","gitHead":"f4272945083d8f2fb590a6adff577737f7fe9241","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-JsEttRG9pVpAXa99WdZezUEeukWSHQyWptM+M9Qn6soY6KEHDs3ZfKTVlPfAYwIFF8/OEILdowcZQen7iFt5NA==","shasum":"dee36c0d6b178d104c2def834177f47ce1b031a6","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.5.tgz","fileCount":13,"unpackedSize":37254,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPuAVWicSmk5j1B+zHzQuXsrcaMw/OdRKe5LuN2rRmhAiB1KEjXrsQXLe5tPKR6KikrOMF8SePnWU1R21bAK7PtFw=="}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.5_1697651402532_0.5848957154054009"},"_hasShrinkwrap":false},"0.0.6":{"name":"@edvinas1122/notion-database-tool","version":"0.0.6","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.1"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.6","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-F4dm/weKtzo/tKqn1Ieepw946wG6L89JNvvHDzp57lls7fpWGTwXTZtXNdWixG43kyQo6/3nW2hSQWYF6NUnbg==","shasum":"98c7c31d3d1d9ae4ff28729cbb560b4854195612","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.6.tgz","fileCount":28,"unpackedSize":85907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDctANzzMVMgu3CYfBh+MWRVFZvA/fPw2ecnv2/O1oDAgIhAMZ38O4g4kiRRO1TIiapEORLpXw2SphoC809C9K0M1Jz"}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.6_1697652986236_0.6079663198538419"},"_hasShrinkwrap":false},"0.0.8":{"name":"@edvinas1122/notion-database-tool","version":"0.0.8","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.1"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.8","gitHead":"1e1a992d6908dfa15fbb7b519fcff461ab638830","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-GNYc0Fjhz1mbe+cKPGgK+EijkxVuQLRJ0y+XKehGpsbcJa8jATdGTeTNv3ZGjhytbiVbnHUqBe9ixBDvTz3FlA==","shasum":"64f76d15fb06cd1e5c5bfdb5992f3fd251f12d9f","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.8.tgz","fileCount":14,"unpackedSize":37965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHehzOJbECpvbMp7q3JOTM3zT6Lh2nDZrRgKLJ/Vs2oKAiB2E0Rl7CFdxuCVpbxlcsS9nkkRXovLBlf9nToBmp0sMQ=="}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.8_1697901468313_0.6576750028826595"},"_hasShrinkwrap":false},"0.0.9":{"name":"@edvinas1122/notion-database-tool","version":"0.0.9","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.1"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.9","gitHead":"1e1a992d6908dfa15fbb7b519fcff461ab638830","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-qw4hv0ZcIWgpkU/6lAedrS5anHhsNefXfyqGE28YC/+8mHqaSJh4AcMi6C3zu7aoFW+3uwP9LZqR7wcW8c5r7g==","shasum":"9004f760d6290b327cdcc96ad6eceb3b23492dfb","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.9.tgz","fileCount":14,"unpackedSize":37965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6GNeRS/pSEddLzl7LF8TilHGsnVGjLEMm5p9CRza7UwIhALecrb5Xhq4/FYl6qDsmPOCLxWROcWjr4UDII8g6Ie3m"}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.9_1697902268579_0.546463524911249"},"_hasShrinkwrap":false},"0.0.10":{"name":"@edvinas1122/notion-database-tool","version":"0.0.10","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.0.1"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.10","gitHead":"1e1a992d6908dfa15fbb7b519fcff461ab638830","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-3TMhb6m6nEyydMQkSXygQiM98g/ln9N6/nIwsCb/LH5I1fYUigqIxpdT7OHOGyPNPWIIt3MFf66OYwjilKV/sA==","shasum":"a97f7ae79930be0ea21cc3dd80bf740713711dae","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.10.tgz","fileCount":18,"unpackedSize":53443,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpK10sU+TmSMtGYRhieXBtvUTaClQSRfl0+YqAySmpcwIhANP7iVGUwHoquOt54z0S1nwwTX+HTXU8AjJ2u7spjo6x"}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.10_1697902813719_0.1623497991918399"},"_hasShrinkwrap":false},"0.0.11":{"name":"@edvinas1122/notion-database-tool","version":"0.0.11","description":"Tool for easy notion table editing","main":"dist/module.js","types":"dist/module.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"keywords":["notion","database","tool"],"author":{"name":"Edvinas Momkus"},"license":"MIT","bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","dependencies":{"@edvinas1122/api_wrapper":"1.2.0"},"devDependencies":{"@types/node":"^14.14.31","@types/readable-stream":"^4.0.3","typescript":"^5.2.2"},"_id":"@edvinas1122/notion-database-tool@0.0.11","gitHead":"bb98705abcec4a27eb6cfbc078ee0ac0fe115434","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-Ngat9CAYyvUns1m6PlBjkj/Fqb1scdHEFBF/T8Wj0AH6EwhY6dQYD+wYl1YnDP3gA164BS3aNiaDTr8t7iQsBw==","shasum":"3d1189eb76cf2ac140806406ddaf99ff4382dd11","tarball":"https://registry.npmjs.org/@edvinas1122/notion-database-tool/-/notion-database-tool-0.0.11.tgz","fileCount":18,"unpackedSize":57874,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCinRixfDTLU44wqSNaXslm4j9MkPp0uMYqnQT8IyNzJAIgSq1vnsCJc3SEQLdGaZSjm8WHGsPBA2JDadDAw2h6aw4="}]},"_npmUser":{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"},"directories":{},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/notion-database-tool_0.0.11_1699668982404_0.7239518641613436"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-08T21:11:07.314Z","0.0.1":"2023-10-08T21:11:07.643Z","modified":"2023-11-11T02:16:22.869Z","0.0.2":"2023-10-10T06:57:14.811Z","0.0.3":"2023-10-12T19:43:12.189Z","0.0.4":"2023-10-18T15:24:14.556Z","0.0.5":"2023-10-18T17:50:02.824Z","0.0.6":"2023-10-18T18:16:26.569Z","0.0.8":"2023-10-21T15:17:48.581Z","0.0.9":"2023-10-21T15:31:08.887Z","0.0.10":"2023-10-21T15:40:13.929Z","0.0.11":"2023-11-11T02:16:22.707Z"},"maintainers":[{"name":"edvinas1122","email":"edvinasmomkus@gmail.com"}],"description":"Tool for easy notion table editing","homepage":"https://github.com/Edvinas1122/notion-database-tool#readme","keywords":["notion","database","tool"],"repository":{"type":"git","url":"git+https://github.com/Edvinas1122/notion-database-tool.git","directory":"packages/notion-database-tool"},"author":{"name":"Edvinas Momkus"},"bugs":{"url":"https://github.com/Edvinas1122/notion-database-tool/issues"},"license":"MIT","readme":"# Notion Database tool\n\n## About\n\nA database tool lets simplified interaction with your notion tables. Provides extraction / insertion.\n\n## Use\n\n### Note your table “database” properties\n\nIn a configuration, note your table aka database properties.\n\nNOTE: more properties supported in development of this module.\n\n```tsx\nconst tables = [{\n\t\tname: \"Share Timestamps\",\n\t\tdatabase_id: \"your-database-id-passed-from-ENV\",\n\t\tproperties: {\n\t\t\tkey: {\n\t\t\t\tproperty: \"Title\",\n\t\t\t\tproperty_type: \"rich_text\",\n\t\t\t},\n\t\t\tproperties: [{\n\t\t\t\tproperty: \"Holder\",\n\t\t\t\tproperty_type: \"relation\",\n\t\t\t},{\n\t\t\t\tproperty: \"Bicycles\",\n\t\t\t\tproperty_type: \"relation\",\n\t\t\t},{\n\t\t\t\tproperty: \"Share Started (UNIX)\",\n\t\t\t\tproperty_type: \"number\",\n\t\t\t},{\n\t\t\t\tproperty: \"Returned On (UNIX)\",\n\t\t\t\tproperty_type: \"number\",\n\t\t\t},{\n\t\t\t\tproperty: \"Intended Duration\",\n\t\t\t\tproperty_type: \"select\",\n\t\t\t}\n\t\t]}\n\t}];\n```\n\n### Construct\n\nUse your notion integration token from\n\n[https://www.notion.so/my-integrations](https://www.notion.so/my-integrations)\n\n```tsx\nconst databaseTool = buildNotionDatabaseTool(\n\t\t/*\n\t\t\tget your integration token from\n\t\t\thttps://www.notion.so/my-integrations\n\t\t*/\n\t\t\"your-notion-integration-token\",\n\t\ttables,\n\t);\n```\n\n### Use auto generated methods\n\nExtract\n\n```tsx\nconst bicycle_entry_id = await databaseTool\n\t\t.getTable(\"Share Timestamps\")\n\t\t.getEntries()\n\t\t.byIntended_Duration(\"short\")\n\t\t.then((entry: any) => entry.property(\"Holder\"));\n```\n\nInsert\n\n```tsx\nconst response = await databaseTool\n\t\t.getTable(\"Share Timestamps\")\n\t\t.newEntrySlot()\n\t\t.insert({\n\t\t\tHolder: [user_entry_id],\n\t\t\tBicycles: [bicycle_entry_id],\n\t\t\t\"Share Started (UNIX)\": unixTimestamp,\n\t\t\t\"Returned On (UNIX)\": 0,\n\t\t\t\"Intended Duration\": \"long\",\n\t\t})\n```\n\n## Contribute\n\nIf you interested don’t be shy to contact on X, I don’t bite, would assist your worthy idea on a call via Discord… as long as you are either smart or handsome.\n\n### Idea\n\nMap Tables in traditional database style, make intuitive ORM so table would give use ways to retrieve Entries an interactive ORM object, with methods to modify, retrieve, delete… etc.\n\n```tsx\ntype CellValue = any;\n\nclass Entry {\n\tconstructor(\n\t\tprivate methodProvider: any, // contains data\n\t\tprivate dataAdapter: (data: any) => CellValue = (data: any) => data,\n\t) {}\n\n\tasync property(key: string): Promise<any> {\n\t\treturn await this.methodProvider.property(key).then(this.dataAdapter);\n\t}\n\n\tasync id(): Promise<string> {\n\t\treturn await this.methodProvider.id();\n\t}\n\n\tasync update(key: string, value: any): Promise<any> {\n\t\treturn await this.methodProvider.editProperty(key, value);\n\t}\n\n\tasync delete(): Promise<any> {\n\t\treturn await this.methodProvider.delete();\n\t}\n}\n```\n\nTherefore, keeping interaction with our notion api consistent ant coherent.\n\n\n","readmeFilename":"README.md"}