@pipedream/google_slides 0.3.0 → 0.4.0
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.
- package/actions/create-image/create-image.mjs +6 -1
- package/actions/create-page-element/create-page-element.mjs +6 -1
- package/actions/create-presentation/create-presentation.mjs +6 -1
- package/actions/create-slide/create-slide.mjs +6 -1
- package/actions/create-table/create-table.mjs +6 -1
- package/actions/delete-page-element/delete-page-element.mjs +6 -1
- package/actions/delete-slide/delete-slide.mjs +6 -1
- package/actions/delete-table-column/delete-table-column.mjs +6 -1
- package/actions/delete-table-row/delete-table-row.mjs +6 -1
- package/actions/find-presentation/find-presentation.mjs +6 -1
- package/actions/insert-table-columns/insert-table-columns.mjs +6 -1
- package/actions/insert-table-rows/insert-table-rows.mjs +6 -1
- package/actions/insert-text/insert-text.mjs +6 -1
- package/actions/insert-text-into-table/insert-text-into-table.mjs +6 -1
- package/actions/merge-data/merge-data.mjs +6 -1
- package/actions/refresh-chart/refresh-chart.mjs +6 -1
- package/actions/replace-all-text/replace-all-text.mjs +6 -1
- package/google_slides.app.mjs +9 -1
- package/package.json +2 -2
- package/sources/new-presentation/new-presentation.mjs +3 -1
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-create-image",
|
|
5
5
|
name: "Create Image",
|
|
6
6
|
description: "Creates an image in a slide. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#CreateImageRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "google_slides-create-page-element",
|
|
6
6
|
name: "Create Page Element",
|
|
7
7
|
description: "Create a new page element in a slide. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#CreateShapeRequest)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.4",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-create-presentation",
|
|
5
5
|
name: "Create Presentation",
|
|
6
6
|
description: "Create a blank presentation or duplicate an existing presentation. [See the docs here](https://developers.google.com/slides/api/guides/presentations#copy_an_existing_presentation)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.7",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
app,
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "google_slides-create-slide",
|
|
6
6
|
name: "Create Slide",
|
|
7
7
|
description: "Create a new slide in a presentation. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#CreateSlideRequest)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.4",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-create-table",
|
|
5
5
|
name: "Create Table",
|
|
6
6
|
description: "Create a new table in a slide. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#CreateTableRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-delete-page-element",
|
|
5
5
|
name: "Delete Page Element",
|
|
6
6
|
description: "Deletes a page element from a slide. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#DeleteObjectRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-delete-slide",
|
|
5
5
|
name: "Delete Slide",
|
|
6
6
|
description: "Deletes a slide from a presentation. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#DeleteObjectRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-delete-table-column",
|
|
5
5
|
name: "Delete Table Column",
|
|
6
6
|
description: "Delete column from a table. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#DeleteTableColumnRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-delete-table-row",
|
|
5
5
|
name: "Delete Table Row",
|
|
6
6
|
description: "Delete row from a table. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#DeleteTableRowRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-find-presentation",
|
|
5
5
|
name: "Find a Presentation",
|
|
6
6
|
description: "Find a presentation on Google Drive. [See the docs here](https://developers.google.com/slides/api/samples/presentation#list_existing_presentation_files)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.7",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
app,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-insert-table-columns",
|
|
5
5
|
name: "Insert Table Columns",
|
|
6
6
|
description: "Insert new columns into a table. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#InsertTableColumnsRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-insert-table-rows",
|
|
5
5
|
name: "Insert Table Rows",
|
|
6
6
|
description: "Insert new rows into a table. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#InsertTableRowsRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-insert-text",
|
|
5
5
|
name: "Insert Text",
|
|
6
6
|
description: "Insert text into a shape. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#InsertTextRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-insert-text-into-table",
|
|
5
5
|
name: "Insert Text into Table",
|
|
6
6
|
description: "Insert text into a table cell. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#InsertTextRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-merge-data",
|
|
5
5
|
name: "Merge Data",
|
|
6
6
|
description: "Merge data into a presentation. [See the docs here](https://developers.google.com/slides/api/guides/merge)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.6",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
app,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-refresh-chart",
|
|
5
5
|
name: "Refresh a chart",
|
|
6
6
|
description: "Refresh a chart from Sheets. [See the docs here](https://developers.google.com/slides/api/samples/elements#refresh_a_chart_from_sheets)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.7",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
app,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "google_slides-replace-all-text",
|
|
5
5
|
name: "Replace All Text",
|
|
6
6
|
description: "Replace all text in a presentation. [See the documentation](https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request#ReplaceAllTextRequest)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
googleSlides,
|
package/google_slides.app.mjs
CHANGED
|
@@ -226,7 +226,7 @@ export default {
|
|
|
226
226
|
});
|
|
227
227
|
return presentation.data;
|
|
228
228
|
},
|
|
229
|
-
async listPresentationsOptions(driveId, pageToken = null) {
|
|
229
|
+
async listPresentationsOptions(driveId, pageToken = null, limitToMyDrive = false) {
|
|
230
230
|
const q = "mimeType='application/vnd.google-apps.presentation'";
|
|
231
231
|
let request = {
|
|
232
232
|
q,
|
|
@@ -240,6 +240,14 @@ export default {
|
|
|
240
240
|
includeItemsFromAllDrives: true,
|
|
241
241
|
supportsAllDrives: true,
|
|
242
242
|
};
|
|
243
|
+
} else if (!limitToMyDrive) {
|
|
244
|
+
request = {
|
|
245
|
+
...request,
|
|
246
|
+
corpora: "allDrives",
|
|
247
|
+
pageToken,
|
|
248
|
+
includeItemsFromAllDrives: true,
|
|
249
|
+
supportsAllDrives: true,
|
|
250
|
+
};
|
|
243
251
|
}
|
|
244
252
|
return this.listFilesOptions(pageToken, request);
|
|
245
253
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/google_slides",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Pipedream Google Slides Components",
|
|
5
5
|
"main": "google_slides.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@googleapis/drive": "^2.3.0",
|
|
14
14
|
"@googleapis/slides": "^0.7.1",
|
|
15
15
|
"@pipedream/google_drive": "^1.0.3",
|
|
16
|
-
"@pipedream/platform": "^3.1.
|
|
16
|
+
"@pipedream/platform": "^3.1.1",
|
|
17
17
|
"mime-db": "^1.51.0",
|
|
18
18
|
"uuid": "^8.3.2"
|
|
19
19
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import newFilesInstant from "../../../google_drive/sources/new-files-instant/new-files-instant.mjs";
|
|
2
|
+
import googleSlides from "../../google_slides.app.mjs";
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
...newFilesInstant,
|
|
@@ -6,7 +7,7 @@ export default {
|
|
|
6
7
|
type: "source",
|
|
7
8
|
name: "New Presentation (Instant)",
|
|
8
9
|
description: "Emit new event each time a new presentation is created in a drive.",
|
|
9
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.5",
|
|
10
11
|
hooks: {
|
|
11
12
|
...newFilesInstant.hooks,
|
|
12
13
|
async deploy() {
|
|
@@ -24,6 +25,7 @@ export default {
|
|
|
24
25
|
},
|
|
25
26
|
props: {
|
|
26
27
|
...newFilesInstant.props,
|
|
28
|
+
googleSlides,
|
|
27
29
|
folders: {
|
|
28
30
|
...newFilesInstant.props.folders,
|
|
29
31
|
description:
|