@burdenoff/microfe-calendar 2026.1014.1 → 2026.1107.1
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/dist/CalendarRoot.d.ts +0 -2
- package/dist/CalendarRoot.js +9 -6
- package/dist/CalendarRoot.js.map +1 -1
- package/dist/CalendarRoutes.d.ts +1 -2
- package/dist/CalendarRoutes.js +3 -3
- package/dist/CalendarRoutes.js.map +1 -1
- package/dist/components/AgendaView.d.ts +1 -2
- package/dist/components/AgendaView.js +17 -18
- package/dist/components/AgendaView.js.map +1 -1
- package/dist/components/CalendarErrorState.d.ts +1 -2
- package/dist/components/CalendarErrorState.js +1 -2
- package/dist/components/CalendarErrorState.js.map +1 -1
- package/dist/components/ConfirmDialog.d.ts +0 -2
- package/dist/components/ConfirmDialog.js +1 -2
- package/dist/components/ConfirmDialog.js.map +1 -1
- package/dist/components/DayView.d.ts +1 -2
- package/dist/components/DayView.js +14 -15
- package/dist/components/DayView.js.map +1 -1
- package/dist/components/EventBlock.d.ts +1 -3
- package/dist/components/EventBlock.js +6 -7
- package/dist/components/EventBlock.js.map +1 -1
- package/dist/components/EventFormModal.d.ts +0 -2
- package/dist/components/EventFormModal.js +5 -6
- package/dist/components/EventFormModal.js.map +1 -1
- package/dist/components/MiniCalendar.d.ts +1 -2
- package/dist/components/MiniCalendar.js +3 -4
- package/dist/components/MiniCalendar.js.map +1 -1
- package/dist/components/MonthView.d.ts +1 -2
- package/dist/components/MonthView.js +12 -13
- package/dist/components/MonthView.js.map +1 -1
- package/dist/components/TaskEventDetail.d.ts +0 -2
- package/dist/components/TaskEventDetail.js +4 -5
- package/dist/components/TaskEventDetail.js.map +1 -1
- package/dist/components/TimelineView.d.ts +1 -2
- package/dist/components/TimelineView.js +18 -19
- package/dist/components/TimelineView.js.map +1 -1
- package/dist/components/ViewSwitcher.d.ts +1 -2
- package/dist/components/ViewSwitcher.js +1 -2
- package/dist/components/ViewSwitcher.js.map +1 -1
- package/dist/components/WeekView.d.ts +1 -2
- package/dist/components/WeekView.js +14 -15
- package/dist/components/WeekView.js.map +1 -1
- package/dist/components/YearView.d.ts +1 -2
- package/dist/components/YearView.js +21 -22
- package/dist/components/YearView.js.map +1 -1
- package/dist/constants/permissions.d.ts +0 -1
- package/dist/constants/permissions.js +1 -2
- package/dist/constants/permissions.js.map +1 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/generated/global-operations.d.ts +4 -2
- package/dist/generated/global-types.d.ts +2 -22
- package/dist/generated/wspace-operations.d.ts +261 -187
- package/dist/generated/wspace-operations.js +2 -3
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +4 -24
- package/dist/graphql/calendarDocuments.d.ts +0 -1
- package/dist/graphql/calendarDocuments.js +1 -2
- package/dist/graphql/calendarDocuments.js.map +1 -1
- package/dist/hooks/useCalendarPermissions.d.ts +0 -2
- package/dist/hooks/useCalendarPermissions.js +1 -2
- package/dist/hooks/useCalendarPermissions.js.map +1 -1
- package/dist/hooks/useEventPermissions.d.ts +0 -2
- package/dist/hooks/useEventPermissions.js +1 -2
- package/dist/hooks/useEventPermissions.js.map +1 -1
- package/dist/hooks/useEvents.d.ts +0 -2
- package/dist/hooks/useEvents.js +6 -7
- package/dist/hooks/useEvents.js.map +1 -1
- package/dist/hooks/useOpenEvent.d.ts +0 -2
- package/dist/hooks/useOpenEvent.js +6 -15
- package/dist/hooks/useOpenEvent.js.map +1 -1
- package/dist/hooks/useSafePermissions.d.ts +0 -1
- package/dist/hooks/useSafePermissions.js +1 -2
- package/dist/hooks/useSafePermissions.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +4 -4
- package/dist/pages/CalendarPage.d.ts +1 -2
- package/dist/pages/CalendarPage.js +5 -6
- package/dist/pages/CalendarPage.js.map +1 -1
- package/dist/pages/EventDetailsPage.d.ts +1 -2
- package/dist/pages/EventDetailsPage.js +24 -25
- package/dist/pages/EventDetailsPage.js.map +1 -1
- package/dist/pages/ResourcesPage.d.ts +1 -2
- package/dist/pages/ResourcesPage.js +72 -70
- package/dist/pages/ResourcesPage.js.map +1 -1
- package/dist/pages/SettingsPage.d.ts +1 -2
- package/dist/pages/SettingsPage.js +15 -16
- package/dist/pages/SettingsPage.js.map +1 -1
- package/dist/pages/SubscriptionsPage.d.ts +1 -2
- package/dist/pages/SubscriptionsPage.js +15 -14
- package/dist/pages/SubscriptionsPage.js.map +1 -1
- package/dist/providers/CalendarProvider.d.ts +0 -2
- package/dist/providers/CalendarProvider.js +1 -2
- package/dist/providers/CalendarProvider.js.map +1 -1
- package/dist/shared/hooks/useTr.d.ts +0 -1
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/shared/hooks/useTr.js.map +1 -1
- package/dist/store/calendarStore.d.ts +0 -2
- package/dist/store/calendarStore.js +2 -5
- package/dist/store/calendarStore.js.map +1 -1
- package/dist/translations/en.d.ts +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/utils/dateHelpers.d.ts +0 -1
- package/dist/utils/dateHelpers.js +2 -3
- package/dist/utils/dateHelpers.js.map +1 -1
- package/dist/utils/icalHelpers.d.ts +0 -2
- package/dist/utils/icalHelpers.js +2 -3
- package/dist/utils/icalHelpers.js.map +1 -1
- package/dist/utils/nativeBridge.d.ts +0 -1
- package/dist/utils/nativeBridge.js +1 -2
- package/package.json +58 -50
- package/dist/CalendarRoot.d.ts.map +0 -1
- package/dist/CalendarRoutes.d.ts.map +0 -1
- package/dist/components/AgendaView.d.ts.map +0 -1
- package/dist/components/CalendarErrorState.d.ts.map +0 -1
- package/dist/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/DayView.d.ts.map +0 -1
- package/dist/components/EventBlock.d.ts.map +0 -1
- package/dist/components/EventFormModal.d.ts.map +0 -1
- package/dist/components/MiniCalendar.d.ts.map +0 -1
- package/dist/components/MonthView.d.ts.map +0 -1
- package/dist/components/TaskEventDetail.d.ts.map +0 -1
- package/dist/components/TimelineView.d.ts.map +0 -1
- package/dist/components/ViewSwitcher.d.ts.map +0 -1
- package/dist/components/WeekView.d.ts.map +0 -1
- package/dist/components/YearView.d.ts.map +0 -1
- package/dist/constants/permissions.d.ts.map +0 -1
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/graphql/calendarDocuments.d.ts.map +0 -1
- package/dist/hooks/useCalendarPermissions.d.ts.map +0 -1
- package/dist/hooks/useEventPermissions.d.ts.map +0 -1
- package/dist/hooks/useEvents.d.ts.map +0 -1
- package/dist/hooks/useOpenEvent.d.ts.map +0 -1
- package/dist/hooks/useSafePermissions.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/pages/CalendarPage.d.ts.map +0 -1
- package/dist/pages/EventDetailsPage.d.ts.map +0 -1
- package/dist/pages/ResourcesPage.d.ts.map +0 -1
- package/dist/pages/SettingsPage.d.ts.map +0 -1
- package/dist/pages/SubscriptionsPage.d.ts.map +0 -1
- package/dist/providers/CalendarProvider.d.ts.map +0 -1
- package/dist/shared/hooks/useTr.d.ts.map +0 -1
- package/dist/store/calendarStore.d.ts.map +0 -1
- package/dist/translations/en.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/dateHelpers.d.ts.map +0 -1
- package/dist/utils/icalHelpers.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1,37 +1,155 @@
|
|
|
1
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
2
|
+
type Exact<T extends {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
}> = {
|
|
5
|
+
[K in keyof T]: T[K];
|
|
6
|
+
};
|
|
7
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
8
|
+
export type Incremental<T> = T | {
|
|
9
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
10
|
+
};
|
|
1
11
|
import * as Types from './wspace-types';
|
|
2
12
|
import * as Apollo from '@apollo/client';
|
|
3
13
|
import * as ApolloReactHooks from '@apollo/client/react';
|
|
4
|
-
export type
|
|
14
|
+
export type BookResourceInput = {
|
|
15
|
+
endTime: string;
|
|
16
|
+
eventId: string | number;
|
|
17
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
18
|
+
notes?: string | null | undefined;
|
|
19
|
+
resourceId: string | number;
|
|
20
|
+
startTime: string;
|
|
21
|
+
};
|
|
22
|
+
export type CalendarEventStatus = 'CANCELLED' | 'CONFIRMED' | 'DRAFT' | 'TENTATIVE';
|
|
23
|
+
export type CalendarFilterInput = {
|
|
24
|
+
calendarType?: CalendarType | null | undefined;
|
|
25
|
+
isPublic?: boolean | null | undefined;
|
|
26
|
+
search?: string | null | undefined;
|
|
27
|
+
};
|
|
28
|
+
export type CalendarPaginationInput = {
|
|
29
|
+
limit?: number | null | undefined;
|
|
30
|
+
offset?: number | null | undefined;
|
|
31
|
+
};
|
|
32
|
+
export type CalendarResourceType = 'DESK' | 'EQUIPMENT' | 'OTHER' | 'PARKING_SPOT' | 'ROOM' | 'VEHICLE';
|
|
33
|
+
export type CalendarType = 'GROUP' | 'PERSONAL' | 'PROJECT' | 'WORKSPACE';
|
|
34
|
+
export type CreateCalendarResourceInput = {
|
|
35
|
+
approverUserId?: string | null | undefined;
|
|
36
|
+
bufferAfter?: number | null | undefined;
|
|
37
|
+
bufferBefore?: number | null | undefined;
|
|
38
|
+
building?: string | null | undefined;
|
|
39
|
+
calendarId?: string | number | null | undefined;
|
|
40
|
+
capacity?: number | null | undefined;
|
|
41
|
+
description?: string | null | undefined;
|
|
42
|
+
features?: Record<string, unknown> | null | undefined;
|
|
43
|
+
floor?: string | null | undefined;
|
|
44
|
+
isActive?: boolean | null | undefined;
|
|
45
|
+
isBookable?: boolean | null | undefined;
|
|
46
|
+
location?: string | null | undefined;
|
|
47
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
48
|
+
name: string;
|
|
49
|
+
requireApproval?: boolean | null | undefined;
|
|
50
|
+
resourceType: CalendarResourceType;
|
|
51
|
+
room?: string | null | undefined;
|
|
52
|
+
};
|
|
53
|
+
export type CreateEventInput = {
|
|
54
|
+
allDay?: boolean | null | undefined;
|
|
55
|
+
calendarId: string | number;
|
|
56
|
+
checkInEnabled?: boolean | null | undefined;
|
|
57
|
+
description?: string | null | undefined;
|
|
58
|
+
endTime: string;
|
|
59
|
+
eventType: EventType;
|
|
60
|
+
isRecurring?: boolean | null | undefined;
|
|
61
|
+
location?: string | null | undefined;
|
|
62
|
+
locationAddress?: string | null | undefined;
|
|
63
|
+
locationType?: string | null | undefined;
|
|
64
|
+
locationUrl?: string | null | undefined;
|
|
65
|
+
maxAttendees?: number | null | undefined;
|
|
66
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
67
|
+
onlineMeetingProvider?: string | null | undefined;
|
|
68
|
+
onlineMeetingUrl?: string | null | undefined;
|
|
69
|
+
rrule?: string | null | undefined;
|
|
70
|
+
startTime: string;
|
|
71
|
+
status?: string | null | undefined;
|
|
72
|
+
/** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */
|
|
73
|
+
tags?: Array<string> | null | undefined;
|
|
74
|
+
/** Canonical universal-tag input (marqueue §251). Takes precedence over legacy `tags`. */
|
|
75
|
+
tagsV2?: Record<string, unknown> | null | undefined;
|
|
76
|
+
timezone?: string | null | undefined;
|
|
77
|
+
title: string;
|
|
78
|
+
visibility?: string | null | undefined;
|
|
79
|
+
};
|
|
80
|
+
export type EventType = 'MEETING' | 'MILESTONE' | 'PROMPT' | 'TASK';
|
|
81
|
+
export type EventVisibility = 'CONFIDENTIAL' | 'PRIVATE' | 'PUBLIC';
|
|
82
|
+
export type LocationType = 'HYBRID' | 'ONLINE' | 'PHYSICAL' | 'TBD';
|
|
83
|
+
export type MeetingProvider = 'CUSTOM' | 'GOOGLE_MEET' | 'MICROSOFT_TEAMS' | 'WEBEX' | 'ZOOM';
|
|
84
|
+
export type RsvpStatus = 'ACCEPTED' | 'DECLINED' | 'NO_RESPONSE' | 'TENTATIVE';
|
|
85
|
+
export type ReminderChannel = 'EMAIL' | 'IN_APP' | 'SMS';
|
|
86
|
+
export type ResourceBookingStatus = 'APPROVED' | 'CANCELLED' | 'COMPLETED' | 'PENDING' | 'REJECTED';
|
|
87
|
+
export type UpdateCalendarResourceInput = {
|
|
88
|
+
approverUserId?: string | null | undefined;
|
|
89
|
+
bufferAfter?: number | null | undefined;
|
|
90
|
+
bufferBefore?: number | null | undefined;
|
|
91
|
+
building?: string | null | undefined;
|
|
92
|
+
capacity?: number | null | undefined;
|
|
93
|
+
description?: string | null | undefined;
|
|
94
|
+
features?: Record<string, unknown> | null | undefined;
|
|
95
|
+
floor?: string | null | undefined;
|
|
96
|
+
isActive?: boolean | null | undefined;
|
|
97
|
+
isBookable?: boolean | null | undefined;
|
|
98
|
+
location?: string | null | undefined;
|
|
99
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
100
|
+
name?: string | null | undefined;
|
|
101
|
+
requireApproval?: boolean | null | undefined;
|
|
102
|
+
room?: string | null | undefined;
|
|
103
|
+
};
|
|
104
|
+
export type UpdateEventInput = {
|
|
105
|
+
allDay?: boolean | null | undefined;
|
|
106
|
+
checkInEnabled?: boolean | null | undefined;
|
|
107
|
+
description?: string | null | undefined;
|
|
108
|
+
endTime?: string | null | undefined;
|
|
109
|
+
location?: string | null | undefined;
|
|
110
|
+
locationAddress?: string | null | undefined;
|
|
111
|
+
locationType?: string | null | undefined;
|
|
112
|
+
locationUrl?: string | null | undefined;
|
|
113
|
+
maxAttendees?: number | null | undefined;
|
|
114
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
115
|
+
onlineMeetingProvider?: string | null | undefined;
|
|
116
|
+
onlineMeetingUrl?: string | null | undefined;
|
|
117
|
+
rrule?: string | null | undefined;
|
|
118
|
+
startTime?: string | null | undefined;
|
|
119
|
+
status?: string | null | undefined;
|
|
120
|
+
tags?: Array<string> | null | undefined;
|
|
121
|
+
timezone?: string | null | undefined;
|
|
122
|
+
title?: string | null | undefined;
|
|
123
|
+
visibility?: string | null | undefined;
|
|
124
|
+
};
|
|
125
|
+
export type UpdateScope = 'ALL_EVENTS' | 'THIS_AND_FUTURE' | 'THIS_EVENT';
|
|
126
|
+
export type BookCalendarResourceMutationVariables = Exact<{
|
|
5
127
|
input: Types.BookResourceInput;
|
|
6
128
|
}>;
|
|
7
129
|
export type BookCalendarResourceMutation = {
|
|
8
|
-
__typename?: 'Mutation';
|
|
9
130
|
bookCalendarResource: {
|
|
10
|
-
__typename?: 'CalendarResourceBooking';
|
|
11
131
|
id: string;
|
|
12
132
|
resourceId: string;
|
|
13
133
|
eventId: string;
|
|
14
134
|
startTime: string;
|
|
15
135
|
endTime: string;
|
|
16
136
|
status: Types.ResourceBookingStatus;
|
|
17
|
-
notes
|
|
18
|
-
approvedBy
|
|
19
|
-
approvedAt
|
|
137
|
+
notes: string | null;
|
|
138
|
+
approvedBy: string | null;
|
|
139
|
+
approvedAt: string | null;
|
|
20
140
|
createdBy: string;
|
|
21
141
|
createdAt: string;
|
|
22
142
|
};
|
|
23
143
|
};
|
|
24
|
-
export type CreateEventMutationVariables =
|
|
144
|
+
export type CreateEventMutationVariables = Exact<{
|
|
25
145
|
input: Types.CreateEventInput;
|
|
26
146
|
}>;
|
|
27
147
|
export type CreateEventMutation = {
|
|
28
|
-
__typename?: 'Mutation';
|
|
29
148
|
createEvent: {
|
|
30
|
-
__typename?: 'CalendarEvent';
|
|
31
149
|
id: string;
|
|
32
150
|
title: string;
|
|
33
|
-
description
|
|
34
|
-
location
|
|
151
|
+
description: string | null;
|
|
152
|
+
location: string | null;
|
|
35
153
|
startTime: string;
|
|
36
154
|
endTime: string;
|
|
37
155
|
allDay: boolean;
|
|
@@ -41,154 +159,137 @@ export type CreateEventMutation = {
|
|
|
41
159
|
createdAt: string;
|
|
42
160
|
updatedAt: string;
|
|
43
161
|
attendees: Array<{
|
|
44
|
-
__typename?: 'EventAttendee';
|
|
45
162
|
id: string;
|
|
46
|
-
userId
|
|
47
|
-
email
|
|
48
|
-
name
|
|
163
|
+
userId: string | null;
|
|
164
|
+
email: string | null;
|
|
165
|
+
name: string | null;
|
|
49
166
|
rsvpStatus: Types.RsvpStatus;
|
|
50
167
|
isOptional: boolean;
|
|
51
168
|
}>;
|
|
52
169
|
reminders: Array<{
|
|
53
|
-
__typename?: 'EventReminder';
|
|
54
170
|
id: string;
|
|
55
171
|
minutesBefore: number;
|
|
56
172
|
channel: Types.ReminderChannel;
|
|
57
173
|
}>;
|
|
58
174
|
calendar: {
|
|
59
|
-
__typename?: 'Calendar';
|
|
60
175
|
id: string;
|
|
61
176
|
name: string;
|
|
62
|
-
color
|
|
177
|
+
color: string | null;
|
|
63
178
|
};
|
|
64
179
|
};
|
|
65
180
|
};
|
|
66
|
-
export type DeleteEventMutationVariables =
|
|
67
|
-
id:
|
|
68
|
-
scope?: Types.
|
|
181
|
+
export type DeleteEventMutationVariables = Exact<{
|
|
182
|
+
id: string | number;
|
|
183
|
+
scope?: Types.UpdateScope | null | undefined;
|
|
69
184
|
}>;
|
|
70
185
|
export type DeleteEventMutation = {
|
|
71
|
-
__typename?: 'Mutation';
|
|
72
186
|
deleteEvent: boolean;
|
|
73
187
|
};
|
|
74
|
-
export type CreateCalendarResourceMutationVariables =
|
|
188
|
+
export type CreateCalendarResourceMutationVariables = Exact<{
|
|
75
189
|
input: Types.CreateCalendarResourceInput;
|
|
76
190
|
}>;
|
|
77
191
|
export type CreateCalendarResourceMutation = {
|
|
78
|
-
__typename?: 'Mutation';
|
|
79
192
|
createCalendarResource: {
|
|
80
|
-
__typename?: 'CalendarResource';
|
|
81
193
|
id: string;
|
|
82
194
|
name: string;
|
|
83
|
-
description
|
|
195
|
+
description: string | null;
|
|
84
196
|
resourceType: Types.CalendarResourceType;
|
|
85
|
-
capacity
|
|
86
|
-
location
|
|
87
|
-
building
|
|
88
|
-
floor
|
|
89
|
-
room
|
|
197
|
+
capacity: number | null;
|
|
198
|
+
location: string | null;
|
|
199
|
+
building: string | null;
|
|
200
|
+
floor: string | null;
|
|
201
|
+
room: string | null;
|
|
90
202
|
isActive: boolean;
|
|
91
203
|
isBookable: boolean;
|
|
92
204
|
requireApproval: boolean;
|
|
93
205
|
bufferBefore: number;
|
|
94
206
|
bufferAfter: number;
|
|
95
|
-
features
|
|
207
|
+
features: Record<string, unknown> | null;
|
|
96
208
|
createdBy: string;
|
|
97
209
|
createdAt: string;
|
|
98
210
|
updatedAt: string;
|
|
99
211
|
};
|
|
100
212
|
};
|
|
101
|
-
export type UpdateCalendarResourceMutationVariables =
|
|
102
|
-
id:
|
|
213
|
+
export type UpdateCalendarResourceMutationVariables = Exact<{
|
|
214
|
+
id: string | number;
|
|
103
215
|
input: Types.UpdateCalendarResourceInput;
|
|
104
216
|
}>;
|
|
105
217
|
export type UpdateCalendarResourceMutation = {
|
|
106
|
-
__typename?: 'Mutation';
|
|
107
218
|
updateCalendarResource: {
|
|
108
|
-
__typename?: 'CalendarResource';
|
|
109
219
|
id: string;
|
|
110
220
|
name: string;
|
|
111
|
-
description
|
|
221
|
+
description: string | null;
|
|
112
222
|
resourceType: Types.CalendarResourceType;
|
|
113
|
-
capacity
|
|
114
|
-
location
|
|
115
|
-
building
|
|
116
|
-
floor
|
|
117
|
-
room
|
|
223
|
+
capacity: number | null;
|
|
224
|
+
location: string | null;
|
|
225
|
+
building: string | null;
|
|
226
|
+
floor: string | null;
|
|
227
|
+
room: string | null;
|
|
118
228
|
isActive: boolean;
|
|
119
229
|
isBookable: boolean;
|
|
120
230
|
requireApproval: boolean;
|
|
121
231
|
bufferBefore: number;
|
|
122
232
|
bufferAfter: number;
|
|
123
|
-
features
|
|
233
|
+
features: Record<string, unknown> | null;
|
|
124
234
|
updatedAt: string;
|
|
125
235
|
};
|
|
126
236
|
};
|
|
127
|
-
export type DeleteCalendarResourceMutationVariables =
|
|
128
|
-
id:
|
|
237
|
+
export type DeleteCalendarResourceMutationVariables = Exact<{
|
|
238
|
+
id: string | number;
|
|
129
239
|
}>;
|
|
130
240
|
export type DeleteCalendarResourceMutation = {
|
|
131
|
-
__typename?: 'Mutation';
|
|
132
241
|
deleteCalendarResource: boolean;
|
|
133
242
|
};
|
|
134
|
-
export type ApproveResourceBookingMutationVariables =
|
|
135
|
-
bookingId:
|
|
243
|
+
export type ApproveResourceBookingMutationVariables = Exact<{
|
|
244
|
+
bookingId: string | number;
|
|
136
245
|
}>;
|
|
137
246
|
export type ApproveResourceBookingMutation = {
|
|
138
|
-
__typename?: 'Mutation';
|
|
139
247
|
approveResourceBooking: {
|
|
140
|
-
__typename?: 'CalendarResourceBooking';
|
|
141
248
|
id: string;
|
|
142
249
|
resourceId: string;
|
|
143
250
|
eventId: string;
|
|
144
251
|
startTime: string;
|
|
145
252
|
endTime: string;
|
|
146
253
|
status: Types.ResourceBookingStatus;
|
|
147
|
-
approvedBy
|
|
148
|
-
approvedAt
|
|
254
|
+
approvedBy: string | null;
|
|
255
|
+
approvedAt: string | null;
|
|
149
256
|
};
|
|
150
257
|
};
|
|
151
|
-
export type RejectResourceBookingMutationVariables =
|
|
152
|
-
bookingId:
|
|
153
|
-
reason?:
|
|
258
|
+
export type RejectResourceBookingMutationVariables = Exact<{
|
|
259
|
+
bookingId: string | number;
|
|
260
|
+
reason?: string | null | undefined;
|
|
154
261
|
}>;
|
|
155
262
|
export type RejectResourceBookingMutation = {
|
|
156
|
-
__typename?: 'Mutation';
|
|
157
263
|
rejectResourceBooking: {
|
|
158
|
-
__typename?: 'CalendarResourceBooking';
|
|
159
264
|
id: string;
|
|
160
265
|
resourceId: string;
|
|
161
266
|
eventId: string;
|
|
162
267
|
status: Types.ResourceBookingStatus;
|
|
163
|
-
rejectedReason
|
|
268
|
+
rejectedReason: string | null;
|
|
164
269
|
};
|
|
165
270
|
};
|
|
166
|
-
export type CancelResourceBookingMutationVariables =
|
|
167
|
-
bookingId:
|
|
271
|
+
export type CancelResourceBookingMutationVariables = Exact<{
|
|
272
|
+
bookingId: string | number;
|
|
168
273
|
}>;
|
|
169
274
|
export type CancelResourceBookingMutation = {
|
|
170
|
-
__typename?: 'Mutation';
|
|
171
275
|
cancelResourceBooking: {
|
|
172
|
-
__typename?: 'CalendarResourceBooking';
|
|
173
276
|
id: string;
|
|
174
277
|
resourceId: string;
|
|
175
278
|
eventId: string;
|
|
176
279
|
status: Types.ResourceBookingStatus;
|
|
177
280
|
};
|
|
178
281
|
};
|
|
179
|
-
export type UpdateEventMutationVariables =
|
|
180
|
-
id:
|
|
282
|
+
export type UpdateEventMutationVariables = Exact<{
|
|
283
|
+
id: string | number;
|
|
181
284
|
input: Types.UpdateEventInput;
|
|
182
|
-
scope?: Types.
|
|
285
|
+
scope?: Types.UpdateScope | null | undefined;
|
|
183
286
|
}>;
|
|
184
287
|
export type UpdateEventMutation = {
|
|
185
|
-
__typename?: 'Mutation';
|
|
186
288
|
updateEvent: {
|
|
187
|
-
__typename?: 'CalendarEvent';
|
|
188
289
|
id: string;
|
|
189
290
|
title: string;
|
|
190
|
-
description
|
|
191
|
-
location
|
|
291
|
+
description: string | null;
|
|
292
|
+
location: string | null;
|
|
192
293
|
startTime: string;
|
|
193
294
|
endTime: string;
|
|
194
295
|
allDay: boolean;
|
|
@@ -196,189 +297,169 @@ export type UpdateEventMutation = {
|
|
|
196
297
|
status: Types.CalendarEventStatus;
|
|
197
298
|
updatedAt: string;
|
|
198
299
|
attendees: Array<{
|
|
199
|
-
__typename?: 'EventAttendee';
|
|
200
300
|
id: string;
|
|
201
|
-
userId
|
|
202
|
-
email
|
|
203
|
-
name
|
|
301
|
+
userId: string | null;
|
|
302
|
+
email: string | null;
|
|
303
|
+
name: string | null;
|
|
204
304
|
rsvpStatus: Types.RsvpStatus;
|
|
205
305
|
isOptional: boolean;
|
|
206
306
|
}>;
|
|
207
307
|
reminders: Array<{
|
|
208
|
-
__typename?: 'EventReminder';
|
|
209
308
|
id: string;
|
|
210
309
|
minutesBefore: number;
|
|
211
310
|
channel: Types.ReminderChannel;
|
|
212
311
|
}>;
|
|
213
312
|
};
|
|
214
313
|
};
|
|
215
|
-
export type CheckAvailabilityQueryVariables =
|
|
216
|
-
calendarId:
|
|
217
|
-
startTime:
|
|
218
|
-
endTime:
|
|
219
|
-
userId?:
|
|
314
|
+
export type CheckAvailabilityQueryVariables = Exact<{
|
|
315
|
+
calendarId: string | number;
|
|
316
|
+
startTime: string;
|
|
317
|
+
endTime: string;
|
|
318
|
+
userId?: string | null | undefined;
|
|
220
319
|
}>;
|
|
221
320
|
export type CheckAvailabilityQuery = {
|
|
222
|
-
__typename?: 'Query';
|
|
223
321
|
checkAvailability: boolean;
|
|
224
322
|
};
|
|
225
|
-
export type GetCalendarsQueryVariables =
|
|
226
|
-
filter?: Types.
|
|
227
|
-
pagination?: Types.
|
|
323
|
+
export type GetCalendarsQueryVariables = Exact<{
|
|
324
|
+
filter?: Types.CalendarFilterInput | null | undefined;
|
|
325
|
+
pagination?: Types.CalendarPaginationInput | null | undefined;
|
|
228
326
|
}>;
|
|
229
327
|
export type GetCalendarsQuery = {
|
|
230
|
-
__typename?: 'Query';
|
|
231
328
|
calendars: {
|
|
232
|
-
__typename?: 'CalendarConnection';
|
|
233
329
|
hasMore: boolean;
|
|
234
330
|
total: number;
|
|
235
331
|
calendars: Array<{
|
|
236
|
-
__typename?: 'Calendar';
|
|
237
332
|
id: string;
|
|
238
333
|
name: string;
|
|
239
|
-
description
|
|
240
|
-
color
|
|
334
|
+
description: string | null;
|
|
335
|
+
color: string | null;
|
|
241
336
|
calendarType: Types.CalendarType;
|
|
242
337
|
isPublic: boolean;
|
|
243
338
|
isDefault: boolean;
|
|
244
339
|
createdBy: string;
|
|
245
|
-
timezone
|
|
340
|
+
timezone: string | null;
|
|
246
341
|
createdAt: string;
|
|
247
342
|
updatedAt: string;
|
|
248
343
|
}>;
|
|
249
344
|
};
|
|
250
345
|
};
|
|
251
|
-
export type GetEventQueryVariables =
|
|
252
|
-
id:
|
|
346
|
+
export type GetEventQueryVariables = Exact<{
|
|
347
|
+
id: string | number;
|
|
253
348
|
}>;
|
|
254
349
|
export type GetEventQuery = {
|
|
255
|
-
|
|
256
|
-
event?: {
|
|
257
|
-
__typename?: 'CalendarEvent';
|
|
350
|
+
event: {
|
|
258
351
|
id: string;
|
|
259
352
|
calendarId: string;
|
|
260
353
|
workspaceId: string;
|
|
261
354
|
title: string;
|
|
262
|
-
description
|
|
263
|
-
location
|
|
264
|
-
locationAddress
|
|
265
|
-
locationType
|
|
266
|
-
locationUrl
|
|
355
|
+
description: string | null;
|
|
356
|
+
location: string | null;
|
|
357
|
+
locationAddress: string | null;
|
|
358
|
+
locationType: Types.LocationType | null;
|
|
359
|
+
locationUrl: string | null;
|
|
267
360
|
startTime: string;
|
|
268
361
|
endTime: string;
|
|
269
362
|
allDay: boolean;
|
|
270
|
-
timezone
|
|
363
|
+
timezone: string | null;
|
|
271
364
|
status: Types.CalendarEventStatus;
|
|
272
365
|
visibility: Types.EventVisibility;
|
|
273
366
|
eventType: Types.EventType;
|
|
274
367
|
isRecurring: boolean;
|
|
275
|
-
rrule
|
|
276
|
-
tags
|
|
277
|
-
maxAttendees
|
|
278
|
-
currentAttendeeCount
|
|
279
|
-
onlineMeetingUrl
|
|
280
|
-
onlineMeetingProvider
|
|
368
|
+
rrule: string | null;
|
|
369
|
+
tags: Array<string> | null;
|
|
370
|
+
maxAttendees: number | null;
|
|
371
|
+
currentAttendeeCount: number | null;
|
|
372
|
+
onlineMeetingUrl: string | null;
|
|
373
|
+
onlineMeetingProvider: Types.MeetingProvider | null;
|
|
281
374
|
createdBy: string;
|
|
282
375
|
createdAt: string;
|
|
283
376
|
updatedAt: string;
|
|
284
377
|
calendar: {
|
|
285
|
-
__typename?: 'Calendar';
|
|
286
378
|
id: string;
|
|
287
379
|
name: string;
|
|
288
|
-
color
|
|
380
|
+
color: string | null;
|
|
289
381
|
};
|
|
290
382
|
attendees: Array<{
|
|
291
|
-
__typename?: 'EventAttendee';
|
|
292
383
|
id: string;
|
|
293
|
-
userId
|
|
294
|
-
email
|
|
295
|
-
name
|
|
384
|
+
userId: string | null;
|
|
385
|
+
email: string | null;
|
|
386
|
+
name: string | null;
|
|
296
387
|
rsvpStatus: Types.RsvpStatus;
|
|
297
388
|
isOptional: boolean;
|
|
298
389
|
}>;
|
|
299
390
|
reminders: Array<{
|
|
300
|
-
__typename?: 'EventReminder';
|
|
301
391
|
id: string;
|
|
302
392
|
minutesBefore: number;
|
|
303
393
|
channel: Types.ReminderChannel;
|
|
304
394
|
}>;
|
|
305
395
|
resourceBookings: Array<{
|
|
306
|
-
__typename?: 'CalendarResourceBooking';
|
|
307
396
|
id: string;
|
|
308
397
|
resourceId: string;
|
|
309
398
|
startTime: string;
|
|
310
399
|
endTime: string;
|
|
311
400
|
status: Types.ResourceBookingStatus;
|
|
312
|
-
notes
|
|
313
|
-
resource
|
|
314
|
-
__typename?: 'CalendarResource';
|
|
401
|
+
notes: string | null;
|
|
402
|
+
resource: {
|
|
315
403
|
id: string;
|
|
316
404
|
name: string;
|
|
317
405
|
resourceType: Types.CalendarResourceType;
|
|
318
|
-
location
|
|
319
|
-
capacity
|
|
406
|
+
location: string | null;
|
|
407
|
+
capacity: number | null;
|
|
320
408
|
} | null;
|
|
321
409
|
}>;
|
|
322
410
|
} | null;
|
|
323
411
|
};
|
|
324
|
-
export type GetEventsInRangeQueryVariables =
|
|
325
|
-
calendarId:
|
|
326
|
-
startDate:
|
|
327
|
-
endDate:
|
|
412
|
+
export type GetEventsInRangeQueryVariables = Exact<{
|
|
413
|
+
calendarId: string | number;
|
|
414
|
+
startDate: string;
|
|
415
|
+
endDate: string;
|
|
328
416
|
}>;
|
|
329
417
|
export type GetEventsInRangeQuery = {
|
|
330
|
-
__typename?: 'Query';
|
|
331
418
|
eventsInRange: Array<{
|
|
332
|
-
__typename?: 'CalendarEvent';
|
|
333
419
|
id: string;
|
|
334
420
|
calendarId: string;
|
|
335
421
|
workspaceId: string;
|
|
336
422
|
title: string;
|
|
337
|
-
description
|
|
338
|
-
location
|
|
423
|
+
description: string | null;
|
|
424
|
+
location: string | null;
|
|
339
425
|
startTime: string;
|
|
340
426
|
endTime: string;
|
|
341
427
|
allDay: boolean;
|
|
342
|
-
timezone
|
|
428
|
+
timezone: string | null;
|
|
343
429
|
status: Types.CalendarEventStatus;
|
|
344
430
|
createdBy: string;
|
|
345
431
|
createdAt: string;
|
|
346
432
|
updatedAt: string;
|
|
347
433
|
calendar: {
|
|
348
|
-
__typename?: 'Calendar';
|
|
349
434
|
id: string;
|
|
350
435
|
name: string;
|
|
351
|
-
color
|
|
436
|
+
color: string | null;
|
|
352
437
|
};
|
|
353
438
|
attendees: Array<{
|
|
354
|
-
__typename?: 'EventAttendee';
|
|
355
439
|
id: string;
|
|
356
|
-
userId
|
|
357
|
-
email
|
|
358
|
-
name
|
|
440
|
+
userId: string | null;
|
|
441
|
+
email: string | null;
|
|
442
|
+
name: string | null;
|
|
359
443
|
rsvpStatus: Types.RsvpStatus;
|
|
360
444
|
isOptional: boolean;
|
|
361
445
|
}>;
|
|
362
446
|
reminders: Array<{
|
|
363
|
-
__typename?: 'EventReminder';
|
|
364
447
|
id: string;
|
|
365
448
|
minutesBefore: number;
|
|
366
449
|
channel: Types.ReminderChannel;
|
|
367
450
|
}>;
|
|
368
451
|
}>;
|
|
369
452
|
};
|
|
370
|
-
export type UpcomingEventsQueryVariables =
|
|
371
|
-
limit?:
|
|
453
|
+
export type UpcomingEventsQueryVariables = Exact<{
|
|
454
|
+
limit?: number | null | undefined;
|
|
372
455
|
}>;
|
|
373
456
|
export type UpcomingEventsQuery = {
|
|
374
|
-
__typename?: 'Query';
|
|
375
457
|
upcomingEvents: Array<{
|
|
376
|
-
__typename?: 'CalendarEvent';
|
|
377
458
|
id: string;
|
|
378
459
|
calendarId: string;
|
|
379
460
|
title: string;
|
|
380
|
-
description
|
|
381
|
-
location
|
|
461
|
+
description: string | null;
|
|
462
|
+
location: string | null;
|
|
382
463
|
startTime: string;
|
|
383
464
|
endTime: string;
|
|
384
465
|
allDay: boolean;
|
|
@@ -387,81 +468,74 @@ export type UpcomingEventsQuery = {
|
|
|
387
468
|
createdAt: string;
|
|
388
469
|
updatedAt: string;
|
|
389
470
|
calendar: {
|
|
390
|
-
__typename?: 'Calendar';
|
|
391
471
|
id: string;
|
|
392
472
|
name: string;
|
|
393
|
-
color
|
|
473
|
+
color: string | null;
|
|
394
474
|
};
|
|
395
475
|
attendees: Array<{
|
|
396
|
-
__typename?: 'EventAttendee';
|
|
397
476
|
id: string;
|
|
398
|
-
userId
|
|
477
|
+
userId: string | null;
|
|
399
478
|
rsvpStatus: Types.RsvpStatus;
|
|
400
479
|
}>;
|
|
401
480
|
}>;
|
|
402
481
|
};
|
|
403
|
-
export type GetCalendarResourcesQueryVariables =
|
|
404
|
-
resourceType?: Types.
|
|
482
|
+
export type GetCalendarResourcesQueryVariables = Exact<{
|
|
483
|
+
resourceType?: Types.CalendarResourceType | null | undefined;
|
|
405
484
|
}>;
|
|
406
485
|
export type GetCalendarResourcesQuery = {
|
|
407
|
-
__typename?: 'Query';
|
|
408
486
|
getCalendarResources: Array<{
|
|
409
|
-
__typename?: 'CalendarResource';
|
|
410
487
|
id: string;
|
|
411
488
|
name: string;
|
|
412
|
-
description
|
|
489
|
+
description: string | null;
|
|
413
490
|
resourceType: Types.CalendarResourceType;
|
|
414
|
-
capacity
|
|
415
|
-
location
|
|
416
|
-
building
|
|
417
|
-
floor
|
|
418
|
-
room
|
|
491
|
+
capacity: number | null;
|
|
492
|
+
location: string | null;
|
|
493
|
+
building: string | null;
|
|
494
|
+
floor: string | null;
|
|
495
|
+
room: string | null;
|
|
419
496
|
isActive: boolean;
|
|
420
497
|
isBookable: boolean;
|
|
421
498
|
requireApproval: boolean;
|
|
422
499
|
bufferBefore: number;
|
|
423
500
|
bufferAfter: number;
|
|
424
|
-
features
|
|
501
|
+
features: Record<string, unknown> | null;
|
|
425
502
|
createdBy: string;
|
|
426
503
|
createdAt: string;
|
|
427
504
|
updatedAt: string;
|
|
428
505
|
}>;
|
|
429
506
|
};
|
|
430
|
-
export type GetCalendarResourceQueryVariables =
|
|
431
|
-
id:
|
|
507
|
+
export type GetCalendarResourceQueryVariables = Exact<{
|
|
508
|
+
id: string | number;
|
|
432
509
|
}>;
|
|
433
510
|
export type GetCalendarResourceQuery = {
|
|
434
|
-
|
|
435
|
-
getCalendarResource?: {
|
|
436
|
-
__typename?: 'CalendarResource';
|
|
511
|
+
getCalendarResource: {
|
|
437
512
|
id: string;
|
|
438
513
|
name: string;
|
|
439
|
-
description
|
|
514
|
+
description: string | null;
|
|
440
515
|
resourceType: Types.CalendarResourceType;
|
|
441
|
-
capacity
|
|
442
|
-
location
|
|
443
|
-
building
|
|
444
|
-
floor
|
|
445
|
-
room
|
|
516
|
+
capacity: number | null;
|
|
517
|
+
location: string | null;
|
|
518
|
+
building: string | null;
|
|
519
|
+
floor: string | null;
|
|
520
|
+
room: string | null;
|
|
446
521
|
isActive: boolean;
|
|
447
522
|
isBookable: boolean;
|
|
448
523
|
requireApproval: boolean;
|
|
449
|
-
approverUserId
|
|
524
|
+
approverUserId: string | null;
|
|
450
525
|
bufferBefore: number;
|
|
451
526
|
bufferAfter: number;
|
|
452
|
-
features
|
|
453
|
-
metadata
|
|
527
|
+
features: Record<string, unknown> | null;
|
|
528
|
+
metadata: Record<string, unknown> | null;
|
|
454
529
|
createdBy: string;
|
|
455
530
|
createdAt: string;
|
|
456
531
|
updatedAt: string;
|
|
457
532
|
bookings: Array<{
|
|
458
|
-
__typename?: 'CalendarResourceBooking';
|
|
459
533
|
id: string;
|
|
460
534
|
eventId: string;
|
|
461
535
|
startTime: string;
|
|
462
536
|
endTime: string;
|
|
463
537
|
status: Types.ResourceBookingStatus;
|
|
464
|
-
notes
|
|
538
|
+
notes: string | null;
|
|
465
539
|
createdBy: string;
|
|
466
540
|
createdAt: string;
|
|
467
541
|
}>;
|
|
@@ -727,8 +801,8 @@ export declare function useCheckAvailabilityQuery(baseOptions: ApolloReactHooks.
|
|
|
727
801
|
skip?: boolean;
|
|
728
802
|
} | {
|
|
729
803
|
skip: boolean;
|
|
730
|
-
})): ApolloReactHooks.useQuery.Result<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables, "empty" | "complete" | "streaming", Types.CheckAvailabilityQueryVariables>;
|
|
731
|
-
export declare function useCheckAvailabilityLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables, "empty" | "complete" | "streaming">;
|
|
804
|
+
})): ApolloReactHooks.useQuery.Result<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables, "empty" | "complete" | "streaming", Types.CheckAvailabilityQueryVariables, undefined>;
|
|
805
|
+
export declare function useCheckAvailabilityLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
732
806
|
export declare function useCheckAvailabilitySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables>;
|
|
733
807
|
export declare function useCheckAvailabilitySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CheckAvailabilityQuery, Types.CheckAvailabilityQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CheckAvailabilityQuery | undefined, Types.CheckAvailabilityQueryVariables>;
|
|
734
808
|
export type CheckAvailabilityQueryHookResult = ReturnType<typeof useCheckAvailabilityQuery>;
|
|
@@ -753,8 +827,8 @@ export declare const GetCalendarsDocument: Apollo.DocumentNode;
|
|
|
753
827
|
* },
|
|
754
828
|
* });
|
|
755
829
|
*/
|
|
756
|
-
export declare function useGetCalendarsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables, "empty" | "complete" | "streaming", Types.GetCalendarsQueryVariables>;
|
|
757
|
-
export declare function useGetCalendarsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables, "empty" | "complete" | "streaming">;
|
|
830
|
+
export declare function useGetCalendarsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables, "empty" | "complete" | "streaming", Types.GetCalendarsQueryVariables, undefined>;
|
|
831
|
+
export declare function useGetCalendarsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
758
832
|
export declare function useGetCalendarsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables>;
|
|
759
833
|
export declare function useGetCalendarsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCalendarsQuery, Types.GetCalendarsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCalendarsQuery | undefined, Types.GetCalendarsQueryVariables>;
|
|
760
834
|
export type GetCalendarsQueryHookResult = ReturnType<typeof useGetCalendarsQuery>;
|
|
@@ -783,8 +857,8 @@ export declare function useGetEventQuery(baseOptions: ApolloReactHooks.QueryHook
|
|
|
783
857
|
skip?: boolean;
|
|
784
858
|
} | {
|
|
785
859
|
skip: boolean;
|
|
786
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetEventQuery, Types.GetEventQueryVariables, "empty" | "complete" | "streaming", Types.GetEventQueryVariables>;
|
|
787
|
-
export declare function useGetEventLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetEventQuery, Types.GetEventQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetEventQuery, Types.GetEventQueryVariables, "empty" | "complete" | "streaming">;
|
|
860
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetEventQuery, Types.GetEventQueryVariables, "empty" | "complete" | "streaming", Types.GetEventQueryVariables, undefined>;
|
|
861
|
+
export declare function useGetEventLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetEventQuery, Types.GetEventQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetEventQuery, Types.GetEventQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
788
862
|
export declare function useGetEventSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetEventQuery, Types.GetEventQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetEventQuery, Types.GetEventQueryVariables>;
|
|
789
863
|
export declare function useGetEventSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetEventQuery, Types.GetEventQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetEventQuery | undefined, Types.GetEventQueryVariables>;
|
|
790
864
|
export type GetEventQueryHookResult = ReturnType<typeof useGetEventQuery>;
|
|
@@ -815,8 +889,8 @@ export declare function useGetEventsInRangeQuery(baseOptions: ApolloReactHooks.Q
|
|
|
815
889
|
skip?: boolean;
|
|
816
890
|
} | {
|
|
817
891
|
skip: boolean;
|
|
818
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables, "empty" | "complete" | "streaming", Types.GetEventsInRangeQueryVariables>;
|
|
819
|
-
export declare function useGetEventsInRangeLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables, "empty" | "complete" | "streaming">;
|
|
892
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables, "empty" | "complete" | "streaming", Types.GetEventsInRangeQueryVariables, undefined>;
|
|
893
|
+
export declare function useGetEventsInRangeLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
820
894
|
export declare function useGetEventsInRangeSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables>;
|
|
821
895
|
export declare function useGetEventsInRangeSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetEventsInRangeQuery, Types.GetEventsInRangeQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetEventsInRangeQuery | undefined, Types.GetEventsInRangeQueryVariables>;
|
|
822
896
|
export type GetEventsInRangeQueryHookResult = ReturnType<typeof useGetEventsInRangeQuery>;
|
|
@@ -840,8 +914,8 @@ export declare const UpcomingEventsDocument: Apollo.DocumentNode;
|
|
|
840
914
|
* },
|
|
841
915
|
* });
|
|
842
916
|
*/
|
|
843
|
-
export declare function useUpcomingEventsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables, "empty" | "complete" | "streaming", Types.UpcomingEventsQueryVariables>;
|
|
844
|
-
export declare function useUpcomingEventsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables, "empty" | "complete" | "streaming">;
|
|
917
|
+
export declare function useUpcomingEventsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables, "empty" | "complete" | "streaming", Types.UpcomingEventsQueryVariables, undefined>;
|
|
918
|
+
export declare function useUpcomingEventsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
845
919
|
export declare function useUpcomingEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables>;
|
|
846
920
|
export declare function useUpcomingEventsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.UpcomingEventsQuery, Types.UpcomingEventsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.UpcomingEventsQuery | undefined, Types.UpcomingEventsQueryVariables>;
|
|
847
921
|
export type UpcomingEventsQueryHookResult = ReturnType<typeof useUpcomingEventsQuery>;
|
|
@@ -865,8 +939,8 @@ export declare const GetCalendarResourcesDocument: Apollo.DocumentNode;
|
|
|
865
939
|
* },
|
|
866
940
|
* });
|
|
867
941
|
*/
|
|
868
|
-
export declare function useGetCalendarResourcesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables, "empty" | "complete" | "streaming", Types.GetCalendarResourcesQueryVariables>;
|
|
869
|
-
export declare function useGetCalendarResourcesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables, "empty" | "complete" | "streaming">;
|
|
942
|
+
export declare function useGetCalendarResourcesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables, "empty" | "complete" | "streaming", Types.GetCalendarResourcesQueryVariables, undefined>;
|
|
943
|
+
export declare function useGetCalendarResourcesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
870
944
|
export declare function useGetCalendarResourcesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables>;
|
|
871
945
|
export declare function useGetCalendarResourcesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCalendarResourcesQuery, Types.GetCalendarResourcesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCalendarResourcesQuery | undefined, Types.GetCalendarResourcesQueryVariables>;
|
|
872
946
|
export type GetCalendarResourcesQueryHookResult = ReturnType<typeof useGetCalendarResourcesQuery>;
|
|
@@ -895,12 +969,12 @@ export declare function useGetCalendarResourceQuery(baseOptions: ApolloReactHook
|
|
|
895
969
|
skip?: boolean;
|
|
896
970
|
} | {
|
|
897
971
|
skip: boolean;
|
|
898
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables, "empty" | "complete" | "streaming", Types.GetCalendarResourceQueryVariables>;
|
|
899
|
-
export declare function useGetCalendarResourceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables, "empty" | "complete" | "streaming">;
|
|
972
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables, "empty" | "complete" | "streaming", Types.GetCalendarResourceQueryVariables, undefined>;
|
|
973
|
+
export declare function useGetCalendarResourceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
900
974
|
export declare function useGetCalendarResourceSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables>;
|
|
901
975
|
export declare function useGetCalendarResourceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetCalendarResourceQuery | undefined, Types.GetCalendarResourceQueryVariables>;
|
|
902
976
|
export type GetCalendarResourceQueryHookResult = ReturnType<typeof useGetCalendarResourceQuery>;
|
|
903
977
|
export type GetCalendarResourceLazyQueryHookResult = ReturnType<typeof useGetCalendarResourceLazyQuery>;
|
|
904
978
|
export type GetCalendarResourceSuspenseQueryHookResult = ReturnType<typeof useGetCalendarResourceSuspenseQuery>;
|
|
905
979
|
export type GetCalendarResourceQueryResult = Apollo.QueryResult<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables>;
|
|
906
|
-
|
|
980
|
+
export {};
|