Skip to content

Commit 6edbfe7

Browse files
authored
Google Docs - create file from template and store in shared drive (#19342)
* add destinationDrive prop * pnpm-lock.yaml
1 parent 62a7d62 commit 6edbfe7

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

components/google_docs/actions/create-document-from-template/create-document-from-template.mjs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
...others,
1414
key: "google_docs-create-document-from-template",
1515
name: "Create New Document From Template",
16-
version: "0.0.7",
16+
version: "0.0.8",
1717
description,
1818
type,
1919
props: {
@@ -38,12 +38,20 @@ export default {
3838
description:
3939
"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}}`.",
4040
},
41+
destinationDrive: {
42+
propDefinition: [
43+
app,
44+
"watchedDrive",
45+
],
46+
label: "Destination Drive",
47+
optional: true,
48+
},
4149
folderId: {
4250
propDefinition: [
4351
app,
4452
"folderId",
4553
(c) => ({
46-
drive: c.drive,
54+
drive: c.destinationDrive,
4755
}),
4856
],
4957
description:

components/google_docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/google_docs",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"description": "Pipedream Google_docs Components",
55
"main": "google_docs.app.mjs",
66
"keywords": [
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@googleapis/docs": "^3.3.0",
17-
"@pipedream/google_drive": "^1.3.1",
17+
"@pipedream/google_drive": "^1.4.1",
1818
"markdown-it": "^14.1.0"
1919
}
2020
}

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)