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
Copy file name to clipboardExpand all lines: components/microsoft_outlook_calendar/actions/list-events/list-events.mjs
+44-9Lines changed: 44 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ export default {
4
4
key: "microsoft_outlook_calendar-list-events",
5
5
name: "List Events",
6
6
description: "Get a list of event objects in the user's mailbox. [See the documentation](https://learn.microsoft.com/en-us/graph/api/user-list-events)",
7
-
version: "0.0.3",
7
+
version: "0.0.4",
8
8
annotations: {
9
9
destructiveHint: false,
10
10
openWorldHint: true,
@@ -32,16 +32,51 @@ export default {
32
32
description: "The maximum number of results to return",
33
33
optional: true,
34
34
},
35
+
includeRecurring: {
36
+
type: "boolean",
37
+
label: "Include Recurring",
38
+
description: "Whether to include recurring events",
39
+
optional: true,
40
+
reloadProps: true,
41
+
},
35
42
},
36
-
asyncrun({ $ }){
37
-
const{ value =[]}=awaitthis.microsoftOutlook.listCalendarEvents({
38
-
$,
39
-
params: {
40
-
"$orderby": this.orderBy,
41
-
"$filter": this.filter,
42
-
"$top": this.maxResults,
43
+
additionalProps(){
44
+
if(!this.includeRecurring){
45
+
return{};
46
+
}
47
+
return{
48
+
startDateTime: {
49
+
type: "string",
50
+
label: "Start Date Time",
51
+
description: "The start date and time of the time range, represented in ISO 8601 format. For example, `2019-11-08T19:00:00-08:00`",
52
+
},
53
+
endDateTime: {
54
+
type: "string",
55
+
label: "End Date Time",
56
+
description: "The end date and time of the time range, represented in ISO 8601 format. For example, `2019-11-08T20:00:00-08:00`",
0 commit comments