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 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.1.16",
12
+
version: "0.1.17",
12
13
annotations: {
13
14
destructiveHint: true,
14
15
openWorldHint: true,
@@ -17,10 +18,20 @@ export default {
17
18
type: "action",
18
19
props: {
19
20
googleDrive,
21
+
drive: {
22
+
propDefinition: [
23
+
googleDrive,
24
+
"watchedDrive",
25
+
],
26
+
optional: true,
27
+
},
20
28
templateId: {
21
29
propDefinition: [
22
30
googleDrive,
23
31
"fileId",
32
+
(c)=>({
33
+
drive: c.drive,
34
+
}),
24
35
],
25
36
description:
26
37
"Select the template document you'd like to use as the template, or use a custom expression to reference a document ID from a previous step. Template documents should contain placeholders in the format `{{xyz}}`.",
@@ -29,6 +40,9 @@ export default {
29
40
propDefinition: [
30
41
googleDrive,
31
42
"folderId",
43
+
(c)=>({
44
+
drive: c.drive,
45
+
}),
32
46
],
33
47
description:
34
48
"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.",
0 commit comments