Commit Graph

56 Commits

Author SHA1 Message Date
Ernie Hsiung
e629eb5724 adds token to fetchBlock, fixes #30 2020-11-12 10:17:49 -05:00
Ernie Hsiung
1260510720 fix: some blocks don't have value attribute 2020-11-11 23:11:56 -05:00
Tobias Lins
0503246af6 Fix multiple inline table support 2020-11-10 10:04:04 +01:00
Tobias Lins
c6cc7e1ea6 Merge pull request #26 from splitbee/valid-image-url
Return working image url inside table
2020-09-06 21:00:32 +02:00
Timo Lins
fe5168b058 Return working image url inside table
- Prefix with `notion.so/image/`
- Add required query params
2020-09-06 20:55:40 +02:00
Tobias Lins
2cc193e9d4 Merge pull request #23 from splitbee/fix/block-error
fix: error some blocks don't contain content
2020-07-21 20:55:11 +02:00
Tobias Lins
323b230fa7 Merge pull request #21 from splitbee/feature/respect-cache-headers
Respect cache headers
2020-07-21 20:54:56 +02:00
Tobias Lins
6b024968e1 Merge pull request #19 from splitbee/feature/update-deps
Update deps
2020-07-21 20:53:24 +02:00
Travis Fischer
4565992ff1 fix: error some blocks don't contain content 2020-07-21 09:58:54 -04:00
Travis Fischer
0177ebafa9 feat: respect cache headers 2020-07-21 08:31:51 -04:00
Travis Fischer
d9a6d4e610 chore: add editorconfig 2020-07-21 07:32:15 -04:00
Travis Fischer
1b309e35b2 chore: add travis to authors 2020-07-21 07:32:04 -04:00
Travis Fischer
a8a5bf0cc2 chore: update deps 2020-07-21 07:31:49 -04:00
Tobias Lins
35e48d1d3f Add file support 2020-07-18 18:16:25 +02:00
Tobias Lins
1295bbea5d Fix edge cases that let worker crash 2020-07-02 11:48:08 +02:00
Tobias Lins
ae8f650923 Add support for schema 2020-06-28 20:44:57 +02:00
Tobias Lins
2627e3319c Better support for collections 2020-06-28 19:52:04 +02:00
Tobias Lins
c40b9bc9db Support for table title 2020-06-28 16:53:50 +02:00
Tobias Lins
6e52c075d7 Typing fixes from #8 2020-06-28 16:31:10 +02:00
Tobias Lins
99dee3bc1b Merge branch 'master' of https://github.com/splitbee/notion-api-worker 2020-06-28 16:23:07 +02:00
Tobias Lins
8b89eba581 Update index.ts 2020-06-28 16:23:05 +02:00
Tobias Lins
1c60c84fc8 Merge pull request #16 from transitive-bullshit/feature/search
Add support for API search
2020-06-25 20:55:50 +02:00
Tobias Lins
700e9a6833 Merge pull request #9 from transitive-bullshit/fix/recursive-blocks
Add support for recursive blocks
2020-06-25 20:54:59 +02:00
Travis Fischer
2001b1ceb7 feat: sanitize page ids for search 2020-06-22 11:23:35 -04:00
Travis Fischer
dae5184dae feat: add support for search 2020-06-22 08:26:59 -04:00
Travis Fischer
e3a7947131 feat: add support for recursive blocks 2020-06-22 06:49:01 -04:00
Tobias Lins
6a029562a1 Merge pull request #8 from transitive-bullshit/master
Bugfix for non-collection pages
2020-06-22 09:06:57 +02:00
Travis Fischer
3a59c5d089 fix: bug in page api that assumes collection and collection_view exist 2020-06-22 00:00:36 -04:00
Travis Fischer
9945c8a3d9 chore: add missing dev deps 2020-06-21 23:59:55 -04:00
Travis Fischer
b750e147d9 chore: add prettier config to match project settings 2020-06-21 23:59:38 -04:00
Tobias Lins
ffe58becdf Load collectionData for pages 2020-06-21 23:17:24 +02:00
Tobias Lins
50d3702c13 Merge pull request #5 from dvdsgl/relations
Support relations
2020-05-28 11:30:59 +02:00
David Siegel
70f182e2d0 Support relations 2020-05-27 23:27:10 -05:00
Timo Lins
2b6c6da8af Fetch missing blocks as well
- Used for toggle lists
2020-05-23 18:46:27 +02:00
Timo Lins
15995b6b2e Make ID praser more flexible
- Allow all types of IDs
2020-05-23 16:32:15 +02:00
Timo Lins
a7e949d751 Automatically stringify API response 2020-05-23 16:09:43 +02:00
Tobias Lins
a5498e34d9 Merge pull request #4 from zephraph/patch-1
Add MIT license file
2020-05-21 12:52:59 +02:00
Justin Bennett
3bad9b518b Add MIT license file
I noticed that the `package.json` specified MIT license but there was no license file on the repo. This adds one.
2020-05-10 00:19:01 -04:00
Tobias Lins
1f3c923a9b Fix typo 2020-05-07 18:40:41 +02:00
Timo
31d6415f3a Merge pull request #2 from splitbee/support-private-pages
Add support for private pages
2020-04-27 10:37:01 +02:00
Timo Lins
819c299530 Use Authorization instead of notion_token 2020-04-27 10:34:07 +02:00
Timo Lins
e6689558b5 Make authentication section more clear 2020-04-27 10:19:50 +02:00
Tobias Lins
057ad416a6 Update readme for private pages 2020-04-27 09:33:37 +02:00
Tobias Lins
a2b02f48b5 Merge branch 'master' into support-private-pages 2020-04-27 09:25:38 +02:00
Tobias Lins
5eb39ec7a8 Add support for private pages
Resolves #1
2020-04-27 09:22:24 +02:00
Timo
cb67b4439c Update header & Improve use case section 2020-04-21 19:21:59 +02:00
Tobias Lins
f1945cd7d8 Minor package improvments 2020-04-21 19:14:24 +02:00
Tobias Lins
9586b292d3 Improve error handling 2020-04-21 19:14:07 +02:00
Tobias Lins
d33cc0c786 Resolve users from table 2020-04-21 19:05:18 +02:00
Timo
acae23aa9e Improve examples in README 2020-04-21 17:11:55 +02:00