You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Create a page from a database. [See the documentation](https://developers.notion.com/reference/post-page)",
10
-
version: "0.1.18",
11
+
version: "0.2.0",
11
12
type: "action",
12
13
props: {
13
14
notion,
@@ -18,24 +19,30 @@ export default {
18
19
],
19
20
label: "Parent Database ID",
20
21
description: "Select a parent database or provide a database ID",
21
-
reloadProps: true,
22
22
},
23
-
metaTypes: {
24
-
propDefinition: [
25
-
notion,
26
-
"metaTypes",
27
-
],
23
+
Name: {
24
+
type: "string",
25
+
label: "Name",
26
+
description: "The name of the page",
28
27
},
29
-
propertyTypes: {
30
-
propDefinition: [
31
-
notion,
32
-
"propertyTypes",
33
-
(c)=>({
34
-
parentId: c.parent,
35
-
parentType: "database",
36
-
}),
37
-
],
38
-
reloadProps: true,
28
+
properties: {
29
+
type: "object",
30
+
label: "Properties",
31
+
description: "The values of the page's properties. The schema must match the parent database's properties. [See the documentation](https://developers.notion.com/reference/property-object) for information on various property types. Example: `{ \"Tags\": [ \"tag1\" ], \"Link\": \"https://pipedream.com\" }`",
Copy file name to clipboardExpand all lines: components/notion/actions/update-page/update-page.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ export default {
7
7
key: "notion-update-page",
8
8
name: "Update Page",
9
9
description: "Update a page's property values. To append page content, use the *Append Block* action instead. [See the documentation](https://developers.notion.com/reference/patch-page)",
0 commit comments