@kendew-agency/react-feedback-layer 0.4.0-rc.0 → 0.4.0-rc.2
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/README.md +124 -47
- package/dist/index.cjs +180 -134
- package/dist/index.d.cts +15 -16
- package/dist/index.d.ts +15 -16
- package/dist/index.js +189 -142
- package/dist/types.d.cts +477 -4
- package/dist/types.d.ts +477 -4
- package/package.json +2 -1
- package/dist/use-session-events-DFksOgVA.d.cts +0 -464
- package/dist/use-session-events-DFksOgVA.d.ts +0 -464
|
@@ -1,464 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Event map for comment-related events
|
|
5
|
-
* Each key is an event name and the value is the callback signature
|
|
6
|
-
*/
|
|
7
|
-
type CommentEventMap = {
|
|
8
|
-
/**
|
|
9
|
-
* Triggered when focus changes to a different comment
|
|
10
|
-
* @param commentId - The id of the newly focused comment, or null if unfocused
|
|
11
|
-
* @param comment - The focused comment object, or undefined if unfocused
|
|
12
|
-
*/
|
|
13
|
-
onFocusChange: (commentId: string | null, comment: CommentType | undefined) => void;
|
|
14
|
-
/**
|
|
15
|
-
* Triggered when a comment was persisted through onAdd
|
|
16
|
-
*/
|
|
17
|
-
onCommentAdded: (comment: CommentType) => void;
|
|
18
|
-
/**
|
|
19
|
-
* Triggered when a comment was persisted through onEdit
|
|
20
|
-
*/
|
|
21
|
-
onCommentEdited: (comment: CommentType) => void;
|
|
22
|
-
/**
|
|
23
|
-
* Triggered when a comment was resolved
|
|
24
|
-
*/
|
|
25
|
-
onCommentResolved: (comment: CommentType) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Triggered when a resolved comment was reopened
|
|
28
|
-
*/
|
|
29
|
-
onCommentReopened: (comment: CommentType) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Triggered when a comment is deleted
|
|
32
|
-
* @param commentId - The id of the deleted comment
|
|
33
|
-
*/
|
|
34
|
-
onCommentDeleted: (commentId: string) => void;
|
|
35
|
-
/**
|
|
36
|
-
* Triggered when a new comment is registered (draft created)
|
|
37
|
-
* @param comment - The newly registered comment
|
|
38
|
-
*/
|
|
39
|
-
onCommentRegistered: (comment: CommentType) => void;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* A function to unsubscribe from an event
|
|
43
|
-
*/
|
|
44
|
-
type Unsubscribe = () => void;
|
|
45
|
-
/**
|
|
46
|
-
* The events object exposed via useComments()
|
|
47
|
-
* Each method accepts a callback and returns an unsubscribe function
|
|
48
|
-
*/
|
|
49
|
-
type CommentEvents = {
|
|
50
|
-
[K in keyof CommentEventMap]: (callback: CommentEventMap[K]) => Unsubscribe;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
declare class BaseError extends Error {
|
|
54
|
-
code: OverlayErrorCode;
|
|
55
|
-
status: number;
|
|
56
|
-
constructor(message: string, code?: OverlayErrorCode, status?: number);
|
|
57
|
-
}
|
|
58
|
-
/** Error for resolving a single comment (`onResolve`). */
|
|
59
|
-
declare class ResolveError extends BaseError {
|
|
60
|
-
constructor(message?: string);
|
|
61
|
-
}
|
|
62
|
-
/** Session confirmation error (`onConfirm`). */
|
|
63
|
-
declare class ConfirmError extends BaseError {
|
|
64
|
-
constructor(message?: string);
|
|
65
|
-
}
|
|
66
|
-
declare class SessionCreateError extends BaseError {
|
|
67
|
-
constructor(message?: string);
|
|
68
|
-
}
|
|
69
|
-
declare class AddError extends BaseError {
|
|
70
|
-
constructor(message?: string);
|
|
71
|
-
}
|
|
72
|
-
declare class EditError extends BaseError {
|
|
73
|
-
constructor(message?: string);
|
|
74
|
-
}
|
|
75
|
-
declare class DeleteError extends BaseError {
|
|
76
|
-
constructor(message?: string);
|
|
77
|
-
}
|
|
78
|
-
declare class SessionStateError extends BaseError {
|
|
79
|
-
constructor(message?: string);
|
|
80
|
-
}
|
|
81
|
-
declare class ReopenError extends BaseError {
|
|
82
|
-
constructor(message?: string);
|
|
83
|
-
}
|
|
84
|
-
declare class StartResolvingError extends BaseError {
|
|
85
|
-
constructor(message?: string);
|
|
86
|
-
}
|
|
87
|
-
/** Error for resolving a session (`onResolveSession`). */
|
|
88
|
-
declare class SessionResolveError extends BaseError {
|
|
89
|
-
constructor(message?: string);
|
|
90
|
-
}
|
|
91
|
-
declare class PermissionError extends BaseError {
|
|
92
|
-
constructor(message?: string);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
type OverlayErrorCode = "RESOLVE_ERROR" | "CONFIRM_ERROR" | "UNKNOWN_ERROR" | "INSERT_ERROR" | "SESSION_CREATE_ERROR" | "ADD_ERROR" | "EDIT_ERROR" | "DELETE_ERROR" | "SESSION_STATE_ERROR" | "REOPEN_ERROR" | "START_RESOLVING_ERROR" | "SESSION_RESOLVE_ERROR" | "PERMISSION_ERROR";
|
|
96
|
-
type KnownError = ConfirmError | ResolveError | SessionCreateError | AddError | EditError | DeleteError | SessionStateError | ReopenError | StartResolvingError | SessionResolveError | PermissionError;
|
|
97
|
-
|
|
98
|
-
type CommentState = {
|
|
99
|
-
/**
|
|
100
|
-
* All confirmed comments
|
|
101
|
-
* @description This is used to track all confirmed comments
|
|
102
|
-
*/
|
|
103
|
-
comments: CommentType[];
|
|
104
|
-
/**
|
|
105
|
-
* The state of the comment overlay
|
|
106
|
-
* @description This value is used to track the state of the comment overlay
|
|
107
|
-
* @see CommentOverlayState
|
|
108
|
-
*/
|
|
109
|
-
overlayState: CommentOverlayState;
|
|
110
|
-
/**
|
|
111
|
-
* The current loged in user.
|
|
112
|
-
* @description This data will be included when a user adds a comment
|
|
113
|
-
*/
|
|
114
|
-
currentUser: User | null;
|
|
115
|
-
/**
|
|
116
|
-
* Track the focussed comment when editing or adding a comment
|
|
117
|
-
* The comment key will be stored in this state
|
|
118
|
-
*/
|
|
119
|
-
focussedComment: string | null;
|
|
120
|
-
/**
|
|
121
|
-
* Any error that occurs during comment operations
|
|
122
|
-
* The value can be used to display an error message to the user
|
|
123
|
-
*/
|
|
124
|
-
error?: Error;
|
|
125
|
-
/**
|
|
126
|
-
* Optional configuration for the comment layer
|
|
127
|
-
*/
|
|
128
|
-
config?: Config | undefined;
|
|
129
|
-
/**
|
|
130
|
-
* Attached a project ID to the current overlay
|
|
131
|
-
* @description This ID will be passed to the comment actions. You can attach comments to a project by storing this ID in your database
|
|
132
|
-
*/
|
|
133
|
-
projectId?: string | undefined;
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* The state of the comment overlay
|
|
137
|
-
* @description This is used to track the state of the comment overlay
|
|
138
|
-
*/
|
|
139
|
-
type CommentOverlayState = "idle" | "editing" | "saving" | "resolving" | "inactive";
|
|
140
|
-
type CommentVisibility = {
|
|
141
|
-
/**
|
|
142
|
-
* Hide comments that are marked as resolved
|
|
143
|
-
* @default false
|
|
144
|
-
*/
|
|
145
|
-
hideResolved?: boolean;
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* Whether persisted comments of other users are shown in a draft session
|
|
149
|
-
*/
|
|
150
|
-
type DraftVisibility = "hidden" | "visible";
|
|
151
|
-
type CommentOverlayProps = {
|
|
152
|
-
/**
|
|
153
|
-
* Initial comments present when opening the comment overlay
|
|
154
|
-
* @description These comments usually come from your database
|
|
155
|
-
*/
|
|
156
|
-
initialComments?: ConfirmedComment[];
|
|
157
|
-
/**
|
|
158
|
-
* The current user
|
|
159
|
-
*
|
|
160
|
-
* @description This is used to identify the user in your database. If you can not provide a user, comments will be added anonymously
|
|
161
|
-
* @default null
|
|
162
|
-
*/
|
|
163
|
-
currentUser?: User | null;
|
|
164
|
-
/**
|
|
165
|
-
* The children of the comment overlay
|
|
166
|
-
* @description This is where the comments will be rendered
|
|
167
|
-
*/
|
|
168
|
-
children: ReactNode;
|
|
169
|
-
/**
|
|
170
|
-
* The state of the overlay on initial render
|
|
171
|
-
* @default "inactive"
|
|
172
|
-
*/
|
|
173
|
-
initialOverlayState?: CommentOverlayState;
|
|
174
|
-
/**
|
|
175
|
-
* Realtime subscription if supported by you DB
|
|
176
|
-
* @description You can use this feature with a realtime DB or a websocket
|
|
177
|
-
* @beta this featue is not yet fully tested and is subject to change
|
|
178
|
-
*/
|
|
179
|
-
subscription?: RealtimeSubscription<CommentType>;
|
|
180
|
-
/**
|
|
181
|
-
* Callback to persist a newly added comment
|
|
182
|
-
*/
|
|
183
|
-
onAdd?: (comment: ConfirmedComment) => Promise<void>;
|
|
184
|
-
/**
|
|
185
|
-
* Callback to persist an edited comment
|
|
186
|
-
*/
|
|
187
|
-
onEdit?: (comment: ConfirmedComment) => Promise<void>;
|
|
188
|
-
/**
|
|
189
|
-
* Callback to persist a resolved comment
|
|
190
|
-
*/
|
|
191
|
-
onResolve?: (comment: ConfirmedComment) => Promise<void>;
|
|
192
|
-
/**
|
|
193
|
-
* Callback to persist a reopened comment
|
|
194
|
-
*/
|
|
195
|
-
onReopen?: (comment: ConfirmedComment) => Promise<void>;
|
|
196
|
-
/**
|
|
197
|
-
* Callback to delete a persisted comment
|
|
198
|
-
*/
|
|
199
|
-
onDelete?: (commentId: string) => Promise<void>;
|
|
200
|
-
/**
|
|
201
|
-
* Callback to handle errors
|
|
202
|
-
*
|
|
203
|
-
* @param error as the error that occurred
|
|
204
|
-
*/
|
|
205
|
-
onError?: (error: KnownError) => void;
|
|
206
|
-
/**
|
|
207
|
-
* Optional configuration for the comment layer
|
|
208
|
-
*/
|
|
209
|
-
config?: Config;
|
|
210
|
-
/**
|
|
211
|
-
* Attached a project ID to the current overlay
|
|
212
|
-
* @description This ID will be passed to the comment actions. You can attach comments to a project by storing this ID in your database
|
|
213
|
-
* @example
|
|
214
|
-
* ```ts
|
|
215
|
-
* projectId: "proj_123456789"
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
218
|
-
projectId?: string;
|
|
219
|
-
};
|
|
220
|
-
interface RealtimeSubscription<T> {
|
|
221
|
-
subscribe(onUpdate: (data: T) => void): void;
|
|
222
|
-
unsubscribe(): void;
|
|
223
|
-
}
|
|
224
|
-
type Config = {
|
|
225
|
-
/**
|
|
226
|
-
* A custom prefix for the comment ids
|
|
227
|
-
* @example
|
|
228
|
-
* ```ts
|
|
229
|
-
* idPrefix: "proj_a_" // Results in id="proj_a_a096e551-9822-4d10-876c-70651be36c70"
|
|
230
|
-
* ```
|
|
231
|
-
*/
|
|
232
|
-
idPrefix?: string;
|
|
233
|
-
/**
|
|
234
|
-
* The visibility of the comment indicator
|
|
235
|
-
* @default 'always'
|
|
236
|
-
*/
|
|
237
|
-
indicatorVisibility?: "always" | "active";
|
|
238
|
-
/**
|
|
239
|
-
* Mode of the comment overlay
|
|
240
|
-
* @default "onConfirm"
|
|
241
|
-
*/
|
|
242
|
-
mode?: "onConfirm";
|
|
243
|
-
/**
|
|
244
|
-
* The visibility of the different type of comments
|
|
245
|
-
* @description This is used to temporarily hide comments of a certain type if a user whishes a cleaner view
|
|
246
|
-
* @see CommentVisibility
|
|
247
|
-
*/
|
|
248
|
-
commentVisibility?: CommentVisibility;
|
|
249
|
-
/**
|
|
250
|
-
* Whether persisted comments of other users are shown while the session is a draft
|
|
251
|
-
* @default "visible"
|
|
252
|
-
*/
|
|
253
|
-
draftVisibility?: DraftVisibility;
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
type CommentType = {
|
|
257
|
-
/**
|
|
258
|
-
* The unique identifier of a comment
|
|
259
|
-
*/
|
|
260
|
-
id: string;
|
|
261
|
-
/**
|
|
262
|
-
* The postion of a comment
|
|
263
|
-
* @description the postion holds both the x and y coordinates of a comment
|
|
264
|
-
*/
|
|
265
|
-
position: Position;
|
|
266
|
-
/**
|
|
267
|
-
* The content of a comment
|
|
268
|
-
*/
|
|
269
|
-
content: string;
|
|
270
|
-
/**
|
|
271
|
-
* The user who created the comment
|
|
272
|
-
*/
|
|
273
|
-
user: User | null;
|
|
274
|
-
/**
|
|
275
|
-
* The date when the comment was created
|
|
276
|
-
*/
|
|
277
|
-
createdAt: Date;
|
|
278
|
-
/**
|
|
279
|
-
* The date when the comment was resolved
|
|
280
|
-
*/
|
|
281
|
-
resolvedAt?: Date;
|
|
282
|
-
/**
|
|
283
|
-
* The state of a comment tracking what the comment is currently doing
|
|
284
|
-
* @description This value will be omitted when sending the comment to your DB
|
|
285
|
-
*/
|
|
286
|
-
status: Status;
|
|
287
|
-
/**
|
|
288
|
-
* An indicator to show the user where the comment is located
|
|
289
|
-
* @description shows a box around the content a comment is tied to
|
|
290
|
-
*/
|
|
291
|
-
indicator?: Indicator | null;
|
|
292
|
-
/**
|
|
293
|
-
* The id of the feedback session a comment belongs to
|
|
294
|
-
*/
|
|
295
|
-
sessionId: string;
|
|
296
|
-
/**
|
|
297
|
-
* The id of the project a comment is connected to
|
|
298
|
-
* @description useful for filtering comments by project
|
|
299
|
-
*/
|
|
300
|
-
projectId?: string | undefined;
|
|
301
|
-
};
|
|
302
|
-
type Status = "draft" | "published" | "resolved";
|
|
303
|
-
type ConfirmedStatus = Extract<Status, "published" | "resolved">;
|
|
304
|
-
type ConfirmedComment = Omit<CommentType, "status"> & {
|
|
305
|
-
status: ConfirmedStatus;
|
|
306
|
-
};
|
|
307
|
-
type Indicator = {
|
|
308
|
-
/**
|
|
309
|
-
* The width of the indicator
|
|
310
|
-
*/
|
|
311
|
-
width: number;
|
|
312
|
-
/**
|
|
313
|
-
* The height of the indicator
|
|
314
|
-
*/
|
|
315
|
-
height: number;
|
|
316
|
-
};
|
|
317
|
-
type Position = {
|
|
318
|
-
/**
|
|
319
|
-
* The comment position on the x axis
|
|
320
|
-
*/
|
|
321
|
-
x: number;
|
|
322
|
-
/**
|
|
323
|
-
* The comment position on the y axis
|
|
324
|
-
*/
|
|
325
|
-
y: number;
|
|
326
|
-
};
|
|
327
|
-
type User = {
|
|
328
|
-
/**
|
|
329
|
-
* The user ID. This is used to identify the user in your database.
|
|
330
|
-
* @description This is optional, but it is recommended to establish a connection to the user in your DB.
|
|
331
|
-
*/
|
|
332
|
-
id?: string;
|
|
333
|
-
/**
|
|
334
|
-
* The name of the user. This is used to display the user's name in the UI.
|
|
335
|
-
*/
|
|
336
|
-
name: string;
|
|
337
|
-
/**
|
|
338
|
-
* The avatar of the user if supported. This will fall back to user initials.
|
|
339
|
-
*/
|
|
340
|
-
avatar?: string;
|
|
341
|
-
};
|
|
342
|
-
type CommentContext = {
|
|
343
|
-
draftComments: CommentWithStatus<"draft">[];
|
|
344
|
-
comments: CommentWithStatus<"published">[];
|
|
345
|
-
resolvedComments: CommentWithStatus<"resolved">[];
|
|
346
|
-
allComments: CommentType[];
|
|
347
|
-
config: Config | undefined;
|
|
348
|
-
changeOverlayState: (state: CommentOverlayState) => void;
|
|
349
|
-
overlayState: CommentOverlayState;
|
|
350
|
-
updateComment: (id: string, newComment: Pick<CommentType, "content">) => Promise<{
|
|
351
|
-
error: KnownError | null;
|
|
352
|
-
}>;
|
|
353
|
-
deleteComment: (id: string) => Promise<{
|
|
354
|
-
error: KnownError | null;
|
|
355
|
-
}>;
|
|
356
|
-
focusOnComment: (id: string | null) => void;
|
|
357
|
-
registerComment: (position: Position, indicatorPosition?: Indicator) => void;
|
|
358
|
-
getActiveComment: () => CommentType | undefined;
|
|
359
|
-
toggleOverlay: () => void;
|
|
360
|
-
currentUser: User | null;
|
|
361
|
-
/**
|
|
362
|
-
* Resolve a published comment. Requires a resolving session and permission
|
|
363
|
-
*/
|
|
364
|
-
resolveComment: (id: string) => Promise<{
|
|
365
|
-
error: KnownError | null;
|
|
366
|
-
}>;
|
|
367
|
-
/**
|
|
368
|
-
* Reopen a resolved comment. Requires a resolving session and permission
|
|
369
|
-
*/
|
|
370
|
-
reopenComment: (id: string) => Promise<{
|
|
371
|
-
error: KnownError | null;
|
|
372
|
-
}>;
|
|
373
|
-
/**
|
|
374
|
-
* Mirrors the `canResolveSession` prop of the session provider
|
|
375
|
-
*/
|
|
376
|
-
canResolve: boolean;
|
|
377
|
-
updateCommentVisibility: (visibility: Partial<CommentVisibility>) => void;
|
|
378
|
-
triggerError: (error: KnownError) => void;
|
|
379
|
-
events: CommentEvents;
|
|
380
|
-
};
|
|
381
|
-
type CommentWithStatus<T extends Status> = Omit<CommentType, "status"> & {
|
|
382
|
-
status: T;
|
|
383
|
-
};
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* Discriminator for the kind of session.
|
|
387
|
-
* Adding "rework" later is a change to this union only.
|
|
388
|
-
*/
|
|
389
|
-
type SessionType = "feedback";
|
|
390
|
-
type SessionStatus = "draft" | "confirmed" | "resolving" | "resolved";
|
|
391
|
-
/**
|
|
392
|
-
* The pending operation of the session provider
|
|
393
|
-
*/
|
|
394
|
-
type SessionOperationState = "idle" | "creating" | "confirming" | "startingResolution" | "completingResolution";
|
|
395
|
-
type FeedbackSession = {
|
|
396
|
-
id: string;
|
|
397
|
-
type: SessionType;
|
|
398
|
-
status: SessionStatus;
|
|
399
|
-
createdAt: Date;
|
|
400
|
-
/** The id of the user who created the session, never a user object */
|
|
401
|
-
createdBy: string;
|
|
402
|
-
/** Ids of the users that took part in the session. May be empty */
|
|
403
|
-
participantIds: string[];
|
|
404
|
-
confirmedAt?: Date;
|
|
405
|
-
resolvedAt?: Date;
|
|
406
|
-
projectId?: string | undefined;
|
|
407
|
-
/** Reserved for a future rework session. No behavior depends on it. */
|
|
408
|
-
sourceSessionId?: string | undefined;
|
|
409
|
-
};
|
|
410
|
-
/**
|
|
411
|
-
* The session as held by the provider, with its persisted comments
|
|
412
|
-
*/
|
|
413
|
-
type ActiveFeedbackSession = FeedbackSession & {
|
|
414
|
-
comments: ConfirmedComment[];
|
|
415
|
-
};
|
|
416
|
-
/**
|
|
417
|
-
* Accepted by `initialSession`. `comments` is optional for convenience
|
|
418
|
-
*/
|
|
419
|
-
type InitialFeedbackSession = FeedbackSession & {
|
|
420
|
-
comments?: ConfirmedComment[];
|
|
421
|
-
};
|
|
422
|
-
/**
|
|
423
|
-
* Input passed to `onCreateSession`
|
|
424
|
-
*/
|
|
425
|
-
type CreateSessionInput = {
|
|
426
|
-
type: SessionType;
|
|
427
|
-
user: User | null;
|
|
428
|
-
projectId?: string | undefined;
|
|
429
|
-
};
|
|
430
|
-
/**
|
|
431
|
-
* Event map for session-related events
|
|
432
|
-
*/
|
|
433
|
-
type SessionEventMap = {
|
|
434
|
-
/** Triggered when a new draft session was created */
|
|
435
|
-
onSessionCreated: (session: ActiveFeedbackSession) => void;
|
|
436
|
-
/** Triggered when the session was confirmed */
|
|
437
|
-
onSessionConfirmed: (session: ActiveFeedbackSession) => void;
|
|
438
|
-
/** Triggered when the session moved to resolving */
|
|
439
|
-
onSessionResolving: (session: ActiveFeedbackSession) => void;
|
|
440
|
-
/** Triggered when the session was resolved */
|
|
441
|
-
onSessionResolved: (session: ActiveFeedbackSession) => void;
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
type UserProviderProps = {
|
|
445
|
-
/** The current user, or null when nobody is signed in */
|
|
446
|
-
user: User | null;
|
|
447
|
-
children: ReactNode;
|
|
448
|
-
};
|
|
449
|
-
/**
|
|
450
|
-
* Value held by the user context
|
|
451
|
-
*/
|
|
452
|
-
type UserContextType = {
|
|
453
|
-
currentUser: User | null;
|
|
454
|
-
};
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* The session events object exposed via useSession()
|
|
458
|
-
* Each method accepts a callback and returns an unsubscribe function
|
|
459
|
-
*/
|
|
460
|
-
type SessionEvents = {
|
|
461
|
-
[K in keyof SessionEventMap]: (callback: SessionEventMap[K]) => Unsubscribe;
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
export type { ActiveFeedbackSession as A, CommentType as C, DraftVisibility as D, FeedbackSession as F, InitialFeedbackSession as I, KnownError as K, OverlayErrorCode as O, Position as P, RealtimeSubscription as R, SessionType as S, User as U, CommentOverlayProps as a, CommentContext as b, CreateSessionInput as c, SessionOperationState as d, SessionEvents as e, UserProviderProps as f, Indicator as g, CommentOverlayState as h, CommentVisibility as i, Status as j, ConfirmedStatus as k, ConfirmedComment as l, CommentWithStatus as m, CommentState as n, Config as o, CommentEventMap as p, Unsubscribe as q, CommentEvents as r, SessionStatus as s, SessionEventMap as t, UserContextType as u };
|