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

15 Commits

Author SHA1 Message Date
David Stotijn
a2507e3ec1 Add cover support, improve icon support 2021-12-20 19:54:19 +01:00
David Stotijn
52e133b4e8 Add name field to DB (page) props 2021-12-17 18:03:53 +01:00
Lucas
a0926892c2
Add support for Page's Icon retrieval and updates (#21)
* Add support for Page's Icon retrieval and updates

* Add support for creating a page with an icon

* Fix tests, add icon validation

* Remove unknown icon type `file`

* Add icon support for "create database" endpoint

Co-authored-by: David Stotijn <dstotijn@gmail.com>
2021-12-09 17:57:08 +01:00
David Stotijn
ccd1bed559 Add URL field to Page type
Ref: https://developers.notion.com/changelog/page-objects-now-return-url
2021-07-20 20:57:27 +02:00
David Stotijn
597978fa0d Add Parent field to Database type
Ref: https://developers.notion.com/changelog/database-objects-now-return-parent
2021-07-20 20:48:35 +02:00
David Stotijn
c675641a4c Fix database page property types
Fixes #12
2021-05-24 18:00:20 +02:00
David Stotijn
1d8c71b79b Add missing database property types 2021-05-24 16:57:28 +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
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
ce7d6da4c6 Fix missing database page properties, use PageParent type 2021-05-18 21:18:30 +02:00
David Stotijn
e32f7422cd Add "update page properties" endpoint support 2021-05-15 18:06:11 +02:00
David Stotijn
b2af8b7d0b Add "create a page" endpoint 2021-05-15 13:42:01 +02:00
David Stotijn
cea180062e Fix database page property mapping for select and multi_select 2021-05-15 00:15:31 +02:00
David Stotijn
0c1e15e0a7 Add "query database" endpoint 2021-05-14 23:48:30 +02:00