@pipedream/google_calendar 0.3.7 → 0.3.8
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/package.json +1 -1
- package/sources/common.mjs +2 -1
- package/sources/event-cancelled/event-cancelled.mjs +1 -1
- package/sources/event-ended/event-ended.mjs +1 -1
- package/sources/event-start/event-start.mjs +1 -1
- package/sources/new-calendar/new-calendar.mjs +3 -2
- package/sources/new-event/new-event.mjs +1 -1
- package/sources/new-event-search/new-event-search.mjs +1 -1
- package/sources/new-or-updated-event/new-or-updated-event.mjs +1 -1
- package/sources/new-or-updated-event-instant/new-or-updated-event-instant.mjs +3 -2
package/package.json
CHANGED
package/sources/common.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import googleCalendar from "../google_calendar.app.mjs";
|
|
2
|
+
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
props: {
|
|
@@ -12,7 +13,7 @@ export default {
|
|
|
12
13
|
timer: {
|
|
13
14
|
type: "$.interface.timer",
|
|
14
15
|
default: {
|
|
15
|
-
intervalSeconds:
|
|
16
|
+
intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
|
|
16
17
|
},
|
|
17
18
|
},
|
|
18
19
|
},
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "google_calendar-event-cancelled",
|
|
6
6
|
name: "Event Cancelled",
|
|
7
7
|
description: "Emits when an event is cancelled or deleted",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.2",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
11
|
methods: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "google_calendar-event-ended",
|
|
6
6
|
name: "Event Ended",
|
|
7
7
|
description: "Emits when an event ends",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.2",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
11
|
methods: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "google_calendar-event-start",
|
|
6
6
|
name: "Event Start",
|
|
7
7
|
description: "Emits a specified time before an event starts",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.2",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
11
|
methods: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import googleCalendar from "../../google_calendar.app.mjs";
|
|
2
|
+
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
2
3
|
|
|
3
4
|
export default {
|
|
4
5
|
key: "google_calendar-new-calendar",
|
|
5
6
|
name: "New Calendar",
|
|
6
7
|
description: "Emit an event when a calendar is created.",
|
|
7
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.2",
|
|
8
9
|
type: "source",
|
|
9
10
|
props: {
|
|
10
11
|
db: "$.service.db",
|
|
@@ -12,7 +13,7 @@ export default {
|
|
|
12
13
|
timer: {
|
|
13
14
|
type: "$.interface.timer",
|
|
14
15
|
default: {
|
|
15
|
-
intervalSeconds:
|
|
16
|
+
intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
|
|
16
17
|
},
|
|
17
18
|
},
|
|
18
19
|
},
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "google_calendar-new-event",
|
|
6
6
|
name: "New Event",
|
|
7
7
|
description: "Emits when an event is created",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.2",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
11
|
methods: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "google_calendar-new-event-search",
|
|
6
6
|
name: "Event Search",
|
|
7
7
|
description: "Emit when an event is created that matches a search",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.2",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
11
|
props: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "google_calendar-new-or-updated-event",
|
|
6
6
|
name: "New or Updated Event",
|
|
7
7
|
description: "Emits when an event is created or updated (except when it's cancelled)",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.2",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
11
|
methods: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { v4 as uuid } from "uuid";
|
|
2
2
|
import googleCalendar from "../../google_calendar.app.mjs";
|
|
3
|
+
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
3
4
|
|
|
4
5
|
export default {
|
|
5
6
|
key: "google_calendar-new-or-updated-event-instant",
|
|
6
7
|
type: "source",
|
|
7
8
|
name: "New or Updated Event (Instant)",
|
|
8
9
|
description: "Emit new calendar events when an event is created or updated (does not emit cancelled events)",
|
|
9
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.5",
|
|
10
11
|
dedupe: "unique",
|
|
11
12
|
props: {
|
|
12
13
|
googleCalendar,
|
|
@@ -33,7 +34,7 @@ export default {
|
|
|
33
34
|
description: "The Google Calendar API requires occasional renewal of push notification subscriptions. **This runs in the background, so you should not need to modify this schedule**.",
|
|
34
35
|
type: "$.interface.timer",
|
|
35
36
|
static: {
|
|
36
|
-
intervalSeconds:
|
|
37
|
+
intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
|
|
37
38
|
},
|
|
38
39
|
},
|
|
39
40
|
},
|