Skip to content

Commit c0a9df2

Browse files
committed
Description and clarity updates
1 parent b139cb6 commit c0a9df2

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

components/notion/actions/retrieve-block/retrieve-block.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import notion from "../../notion.app.mjs";
22

33
export default {
44
key: "notion-retrieve-block",
5-
name: "Retrieve Block",
6-
description: "Get details of a block, which can be text, lists, media, a page, among others. [See the documentation](https://developers.notion.com/reference/retrieve-a-block)",
5+
name: "Retrieve Page Content",
6+
description: "Get page content as block objects or markdown. Blocks can be text, lists, media, a page, among others. [See the documentation](https://developers.notion.com/reference/retrieve-a-block)",
77
version: "0.1.0",
88
type: "action",
99
props: {
@@ -13,13 +13,11 @@ export default {
1313
notion,
1414
"pageId",
1515
],
16-
label: "Block ID",
17-
description: "Select a block or provide a block ID",
1816
},
1917
retrieveChildren: {
2018
type: "boolean",
21-
label: "Retrieve Children",
22-
description: "Retrieve all the children (recursively) for the specified block. [See the documentation](https://developers.notion.com/reference/get-block-children) for more information",
19+
label: "Retrieve Content (Child Blocks)",
20+
description: "Retrieve all the children (recursively) for the specified page. [See the documentation](https://developers.notion.com/reference/get-block-children) for more information",
2321
optional: true,
2422
default: false,
2523
},

components/notion/actions/retrieve-page/retrieve-page.mjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ import notion from "../../notion.app.mjs";
22

33
export default {
44
key: "notion-retrieve-page",
5-
name: "Retrieve Page",
5+
name: "Retrieve Page Metadata",
66
description: "Get details of a page. [See the documentation](https://developers.notion.com/reference/retrieve-a-page)",
7-
version: "0.0.6",
7+
version: "0.0.7",
88
type: "action",
99
props: {
1010
notion,
11+
infoLabel: {
12+
type: "alert",
13+
alertType: "info",
14+
content: "If you need to retrieve page content or block objects, use the **Retrieve Page Content** action instead.",
15+
},
1116
pageId: {
1217
propDefinition: [
1318
notion,

0 commit comments

Comments
 (0)