Commit 97a379d
Bug fix to Notion create-database action (#21153)
* parse properties
* Normalize {type: "X"} property objects in create-database action
Extends the property normalization to handle the object form alongside the existing bare-string form. When a model passes {type: "checkbox"} (missing the required checkbox:{} key), the action now injects the missing type-key so Notion's API accepts the schema.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix max-len lint error in create-database
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Michelle Bergeron <michelle.bergeron@workday.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Ashwin Srinivas <103921345+ashwins01@users.noreply.github.com>1 parent 9cd68ec commit 97a379d
2 files changed
Lines changed: 39 additions & 3 deletions
Lines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
40 | 76 | | |
41 | 77 | | |
42 | 78 | | |
| |||
51 | 87 | | |
52 | 88 | | |
53 | 89 | | |
54 | | - | |
| 90 | + | |
55 | 91 | | |
56 | 92 | | |
57 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments