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
Copy file name to clipboardExpand all lines: components/confluence/actions/create-page/create-page.mjs
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,16 @@ import confluence from "../../confluence.app.mjs";
3
3
exportdefault{
4
4
key: "confluence-create-page",
5
5
name: "Create Page",
6
-
description: "Creates a page in the space. Pages are created as published by default unless specified as a draft in the status field. [See the documentation](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-post)",
6
+
description: "Creates a new page in the space. [See the documentation](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-post)",
7
7
version: "0.0.1",
8
8
type: "action",
9
9
props: {
10
10
confluence,
11
+
draftInfo: {
12
+
type: "alert",
13
+
alertType: "info",
14
+
content: "Pages are created as published by default, unless specified as a draft in the `Status` prop.",
15
+
},
11
16
spaceId: {
12
17
propDefinition: [
13
18
confluence,
@@ -19,18 +24,21 @@ export default {
19
24
confluence,
20
25
"title",
21
26
],
27
+
description: "The title of the page",
22
28
},
23
29
body: {
24
30
propDefinition: [
25
31
confluence,
26
32
"body",
27
33
],
34
+
description: "The body of the page",
28
35
},
29
36
status: {
30
37
propDefinition: [
31
38
confluence,
32
39
"status",
33
40
],
41
+
description: "The status of the page, specifies if the page will be created as a new page or a draft.",
0 commit comments