Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/sharepoint/actions/create-item/create-item.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "sharepoint-create-item",
name: "Create Item",
description: "Create a new item in Microsoft Sharepoint. [See the documentation](https://learn.microsoft.com/en-us/graph/api/listitem-create?view=graph-rest-1.0&tabs=http)",
version: "0.0.4",
version: "0.0.5",
type: "action",
props: {
sharepoint,
Expand Down
2 changes: 1 addition & 1 deletion components/sharepoint/actions/create-list/create-list.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "sharepoint-create-list",
name: "Create List",
description: "Create a new list in Microsoft Sharepoint. [See the documentation](https://learn.microsoft.com/en-us/graph/api/list-create?view=graph-rest-1.0&tabs=http)",
version: "0.0.4",
version: "0.0.5",
type: "action",
props: {
sharepoint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "sharepoint-download-file",
name: "Download File",
description: "Download a Microsoft Sharepoint file to the /tmp directory. [See the documentation](https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=http)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
sharepoint,
Expand Down
2 changes: 1 addition & 1 deletion components/sharepoint/actions/update-item/update-item.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "sharepoint-update-item",
name: "Update Item",
description: "Updates an existing item in Microsoft Sharepoint. [See the documentation](https://learn.microsoft.com/en-us/graph/api/listitem-update?view=graph-rest-1.0&tabs=http)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
sharepoint,
Expand Down
4 changes: 2 additions & 2 deletions components/sharepoint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/sharepoint",
"version": "0.3.2",
"version": "0.3.3",
"description": "Pipedream Microsoft Sharepoint Online Components",
"main": "sharepoint.app.mjs",
"keywords": [
Expand All @@ -13,6 +13,6 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.0.3"
"@pipedream/platform": "^3.1.0"
}
}
8 changes: 7 additions & 1 deletion components/sharepoint/sharepoint.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
url: prevContext.nextLink,
}
: {};
const response = await this.listSites(args);
const response = await this.listAllSites(args);
const options = response.value?.map(({
id: value, displayName: label,
}) => ({
Expand Down Expand Up @@ -205,6 +205,12 @@ export default {
...args,
});
},
listAllSites(args = {}) {
return this._makeRequest({
path: "/sites?search=*",
...args,
});
},
listLists({
siteId, ...args
}) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "sharepoint-new-list-item",
name: "New List Item",
description: "Emit new event when a new list is created in Microsoft Sharepoint.",
version: "0.0.4",
version: "0.0.5",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
export default {
...common,
key: "sharepoint-updated-list-item",
name: "Updated List Item",

Check warning on line 6 in components/sharepoint/sources/updated-list-item/updated-list-item.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source names should start with "New". See https://pipedream.com/docs/components/guidelines/#source-name
description: "Emit new event when a list is updated in Microsoft Sharepoint.",
version: "0.0.4",
version: "0.0.5",
type: "source",
dedupe: "unique",
props: {
Expand Down
7 changes: 3 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading