@pipedream/google_drive 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,8 +7,8 @@ const MODE_PDF = "Pdf";
|
|
|
7
7
|
export default {
|
|
8
8
|
key: "google_drive-create-file-from-template",
|
|
9
9
|
name: "Create New File From Template",
|
|
10
|
-
description: "Create a new
|
|
11
|
-
version: "0.0.
|
|
10
|
+
description: "Create a new Google Docs file from a template. Optionally include placeholders in the template document that will get replaced from this action. [See documentation](https://www.npmjs.com/package/google-docs-mustaches)",
|
|
11
|
+
version: "0.0.3",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
googleDrive,
|
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
"fileId",
|
|
19
19
|
],
|
|
20
20
|
description:
|
|
21
|
-
"
|
|
21
|
+
"Select the document you'd like to use as the template, or use a custom expression to reference a document ID from a previous step.",
|
|
22
22
|
},
|
|
23
23
|
folderId: {
|
|
24
24
|
propDefinition: [
|
|
@@ -26,7 +26,7 @@ export default {
|
|
|
26
26
|
"folderId",
|
|
27
27
|
],
|
|
28
28
|
description:
|
|
29
|
-
"
|
|
29
|
+
"Select the folder of the newly created Google Doc and/or PDF, or use a custom expression to reference a folder ID from a previous step.",
|
|
30
30
|
},
|
|
31
31
|
name: {
|
|
32
32
|
propDefinition: [
|
|
@@ -34,13 +34,13 @@ export default {
|
|
|
34
34
|
"fileName",
|
|
35
35
|
],
|
|
36
36
|
description:
|
|
37
|
-
"Name of the file you want to create (eg. `myFile` will create a
|
|
37
|
+
"Name of the file you want to create (eg. `myFile` will create a Google Doc called `myFile` and a pdf called `myFile.pdf`)",
|
|
38
38
|
optional: false,
|
|
39
39
|
},
|
|
40
40
|
mode: {
|
|
41
41
|
type: "string[]",
|
|
42
42
|
label: "Mode",
|
|
43
|
-
description: "
|
|
43
|
+
description: "Specify if you want to create a Google Doc, PDF or both.",
|
|
44
44
|
options: [
|
|
45
45
|
MODE_GOOGLE_DOC,
|
|
46
46
|
MODE_PDF,
|
|
@@ -48,8 +48,8 @@ export default {
|
|
|
48
48
|
},
|
|
49
49
|
replaceValues: {
|
|
50
50
|
type: "object",
|
|
51
|
-
label: "Replace
|
|
52
|
-
description: "
|
|
51
|
+
label: "Replace text placeholders",
|
|
52
|
+
description: "Replace text placeholders in the document. Use the format {{xyz}} in the document but exclude the curly braces in the key. (eg. `{{myPlaceholder}}` in the document will be replaced by the value of the key `myPlaceholder` in the action.",
|
|
53
53
|
optional: true,
|
|
54
54
|
},
|
|
55
55
|
},
|