1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-06 23:36:14 +02:00

14 Commits

Author SHA1 Message Date
David Stotijn
132dd31efd Add tests for "list users" endpoint 2021-05-25 21:16:56 +02:00
David Stotijn
13330d6b29 Add tests for "retrieve a user" endpoint 2021-05-25 21:01:32 +02:00
Alexandre Falardeau
969ba033ff
Enable empty DatabaseQueryFilter (#15)
* Add test for "DatabaseQuery"

* Fix DatabaseQuery Filter field type

* Assert database query JSON omit logic in `Client` tests

Co-authored-by: Alexandre Falardeau <asfal@AsFal-Laptop.local>
Co-authored-by: David Stotijn <dstotijn@gmail.com>
2021-05-25 18:24:52 +02:00
David Stotijn
c675641a4c Fix database page property types
Fixes #12
2021-05-24 18:00:20 +02:00
sivchari
14d2e8c377
Add test case for creating page with database parent (#10)
* fix-json-tag

* fix test case name

* fix to use database_id

* fix client test

* fix typo

* remove .idea and fix test name

Co-authored-by: rita <kajirita2002@gmail.com>
2021-05-24 17:07:57 +02:00
David Stotijn
e5130d1fde Fix incorrect types for Formula, Relation and Rollup page props
Fixes #11
2021-05-24 16:33:03 +02:00
David Stotijn
7e83ec7aec Add custom type for Notion date properties with optional time 2021-05-23 14:02:17 +02:00
David Stotijn
00a77fe3a4 Add tests for "append block children" endpoint 2021-05-22 23:37:52 +02:00
David Stotijn
ebabf2cf70 Add tests for "retrieve block children" endpoint 2021-05-22 20:38:44 +02:00
David Stotijn
ee6b002819 Add tests for "update page properties" endpoint 2021-05-22 18:45:33 +02:00
David Stotijn
55aa9db5c7 Add tests for "create page" endpoint 2021-05-19 22:21:53 +02:00
David Stotijn
063bb045e4 Add tests for "find page by ID" endpoint 2021-05-19 20:46:50 +02:00
David Stotijn
d087d4b000 Add tests for "query database" endpoint 2021-05-18 21:19:03 +02:00
David Stotijn
0e0f6c77aa Add tests for NewClient and Client.FindDatabaseByID 2021-05-17 21:08:13 +02:00