@liveblocks/node 2.16.0-toolbars4 → 2.17.0-channels1
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/index.d.mts +40 -7
- package/dist/index.d.ts +40 -7
- package/dist/index.js +59 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +58 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseUserMeta, DU, OptionalTupleUnless, PlainLsonObject, JsonObject, QueryMetadata, ThreadData, CommentData, CommentBody, Patchable, CommentUserReaction, InboxNotificationData, RoomNotificationSettings, KDAD, DAD, LsonObject, ToImmutable, PartialUnless, BaseMetadata, DE, DM, DS } from '@liveblocks/core';
|
|
2
|
-
export { CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentUserReaction, IUserInfo, Json, JsonArray, JsonObject, JsonScalar, Lson, LsonObject, PlainLsonObject, ResolveUsersArgs, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, User, getMentionedIdsFromCommentBody, stringifyCommentBody } from '@liveblocks/core';
|
|
1
|
+
import { BaseUserMeta, DU, OptionalTupleUnless, PlainLsonObject, JsonObject, QueryMetadata, ThreadData, CommentData, CommentBody, Patchable, CommentUserReaction, InboxNotificationData, RoomNotificationSettings, KDAD, DAD, ChannelsNotificationSettings, PartialChannelsNotificationSettings, LsonObject, ToImmutable, PartialUnless, BaseMetadata, DE, DM, DS, NotificationChannel } from '@liveblocks/core';
|
|
2
|
+
export { CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentUserReaction, IUserInfo, Json, JsonArray, JsonObject, JsonScalar, Lson, LsonObject, PlainLsonObject, ResolveUsersArgs, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, User, getMentionedIdsFromCommentBody, isChannelNotificationSettingEnabled, stringifyCommentBody } from '@liveblocks/core';
|
|
3
3
|
import { IncomingHttpHeaders } from 'http';
|
|
4
4
|
|
|
5
5
|
declare const ALL_PERMISSIONS: readonly ["room:write", "room:read", "room:presence:write", "comments:write", "comments:read"];
|
|
@@ -755,6 +755,29 @@ declare class Liveblocks {
|
|
|
755
755
|
deleteAllInboxNotifications(params: {
|
|
756
756
|
userId: string;
|
|
757
757
|
}): Promise<void>;
|
|
758
|
+
/**
|
|
759
|
+
* Get channels notification settings for a user for a project.
|
|
760
|
+
* @param params.userId The user ID to get the channels notifications settings for.
|
|
761
|
+
*/
|
|
762
|
+
getChannelsNotificationSettings(params: {
|
|
763
|
+
userId: string;
|
|
764
|
+
}): Promise<ChannelsNotificationSettings>;
|
|
765
|
+
/**
|
|
766
|
+
* Update the user's channels notification settings.
|
|
767
|
+
* @param params.userId The user ID to update the channels notification settings for.
|
|
768
|
+
* @param params.data The new channels notification settings for the user.
|
|
769
|
+
*/
|
|
770
|
+
updateChannelsNotificationSettings(params: {
|
|
771
|
+
userId: string;
|
|
772
|
+
data: PartialChannelsNotificationSettings;
|
|
773
|
+
}): Promise<ChannelsNotificationSettings>;
|
|
774
|
+
/**
|
|
775
|
+
* Delete the user's channels notification settings
|
|
776
|
+
* @param params.userId The user ID to update the channels notification settings for.
|
|
777
|
+
*/
|
|
778
|
+
deleteChannelsNotificationSettings(params: {
|
|
779
|
+
userId: string;
|
|
780
|
+
}): Promise<void>;
|
|
758
781
|
}
|
|
759
782
|
declare class LiveblocksError extends Error {
|
|
760
783
|
status: number;
|
|
@@ -1027,7 +1050,7 @@ type ThreadMarkedAsUnresolvedEvent = {
|
|
|
1027
1050
|
type ThreadNotificationEvent = {
|
|
1028
1051
|
type: "notification";
|
|
1029
1052
|
data: {
|
|
1030
|
-
channel:
|
|
1053
|
+
channel: NotificationChannel;
|
|
1031
1054
|
kind: "thread";
|
|
1032
1055
|
projectId: string;
|
|
1033
1056
|
roomId: string;
|
|
@@ -1044,7 +1067,7 @@ type ThreadNotificationEvent = {
|
|
|
1044
1067
|
type TextMentionNotificationEvent = {
|
|
1045
1068
|
type: "notification";
|
|
1046
1069
|
data: {
|
|
1047
|
-
channel:
|
|
1070
|
+
channel: NotificationChannel;
|
|
1048
1071
|
kind: "textMention";
|
|
1049
1072
|
projectId: string;
|
|
1050
1073
|
roomId: string;
|
|
@@ -1058,11 +1081,10 @@ type TextMentionNotificationEvent = {
|
|
|
1058
1081
|
createdAt: string;
|
|
1059
1082
|
};
|
|
1060
1083
|
};
|
|
1061
|
-
type CustomKind = `$${string}`;
|
|
1062
1084
|
type CustomNotificationEvent = {
|
|
1063
1085
|
type: "notification";
|
|
1064
1086
|
data: {
|
|
1065
|
-
channel:
|
|
1087
|
+
channel: NotificationChannel;
|
|
1066
1088
|
kind: CustomKind;
|
|
1067
1089
|
projectId: string;
|
|
1068
1090
|
roomId: string | null;
|
|
@@ -1100,6 +1122,17 @@ declare function isThreadNotificationEvent(event: WebhookEvent): event is Thread
|
|
|
1100
1122
|
* @returns A boolean type predicate.
|
|
1101
1123
|
*/
|
|
1102
1124
|
declare function isTextMentionNotificationEvent(event: WebhookEvent): event is TextMentionNotificationEvent;
|
|
1125
|
+
/**
|
|
1126
|
+
* Type guard to check if a webhook event is a `CustomNotificationEvent`
|
|
1127
|
+
*
|
|
1128
|
+
* The check is made against the event type and event data kind.
|
|
1129
|
+
* You should use this guard to safely check the webhook event you received
|
|
1130
|
+
* when you're expecting a `CustomNotificationEvent`.
|
|
1131
|
+
*
|
|
1132
|
+
* @param event The webhook event received after calling `webhookHandler.verifyRequest()`.
|
|
1133
|
+
* @returns A boolean type predicate.
|
|
1134
|
+
*/
|
|
1135
|
+
declare function isCustomNotificationEvent(event: WebhookEvent): event is CustomNotificationEvent;
|
|
1103
1136
|
|
|
1104
1137
|
/**
|
|
1105
1138
|
* @deprecated RoomInfo was renamed to RoomData, to avoid
|
|
@@ -1108,4 +1141,4 @@ declare function isTextMentionNotificationEvent(event: WebhookEvent): event is T
|
|
|
1108
1141
|
*/
|
|
1109
1142
|
type RoomInfo = RoomData;
|
|
1110
1143
|
|
|
1111
|
-
export { type CommentCreatedEvent, type CommentDeletedEvent, type CommentEditedEvent, type CommentReactionAdded, type CommentReactionRemoved, type CustomNotificationEvent, Liveblocks, LiveblocksError, type LiveblocksOptions, type NotificationEvent, type RoomAccesses, type RoomCreatedEvent, type RoomData, type RoomDeletedEvent, type RoomInfo, type RoomPermission, type RoomUser, type Schema, type StorageUpdatedEvent, type TextMentionNotificationEvent, type ThreadCreatedEvent, type ThreadDeletedEvent, type ThreadMarkedAsResolvedEvent, type ThreadMarkedAsUnresolvedEvent, type ThreadMetadataUpdatedEvent, type ThreadNotificationEvent, type ThreadParticipants, type UserEnteredEvent, type UserLeftEvent, type WebhookEvent, WebhookHandler, type WebhookRequest, type YDocUpdatedEvent, isTextMentionNotificationEvent, isThreadNotificationEvent };
|
|
1144
|
+
export { type CommentCreatedEvent, type CommentDeletedEvent, type CommentEditedEvent, type CommentReactionAdded, type CommentReactionRemoved, type CustomNotificationEvent, Liveblocks, LiveblocksError, type LiveblocksOptions, type NotificationEvent, type RoomAccesses, type RoomCreatedEvent, type RoomData, type RoomDeletedEvent, type RoomInfo, type RoomPermission, type RoomUser, type Schema, type StorageUpdatedEvent, type TextMentionNotificationEvent, type ThreadCreatedEvent, type ThreadDeletedEvent, type ThreadMarkedAsResolvedEvent, type ThreadMarkedAsUnresolvedEvent, type ThreadMetadataUpdatedEvent, type ThreadNotificationEvent, type ThreadParticipants, type UserEnteredEvent, type UserLeftEvent, type WebhookEvent, WebhookHandler, type WebhookRequest, type YDocUpdatedEvent, isCustomNotificationEvent, isTextMentionNotificationEvent, isThreadNotificationEvent };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseUserMeta, DU, OptionalTupleUnless, PlainLsonObject, JsonObject, QueryMetadata, ThreadData, CommentData, CommentBody, Patchable, CommentUserReaction, InboxNotificationData, RoomNotificationSettings, KDAD, DAD, LsonObject, ToImmutable, PartialUnless, BaseMetadata, DE, DM, DS } from '@liveblocks/core';
|
|
2
|
-
export { CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentUserReaction, IUserInfo, Json, JsonArray, JsonObject, JsonScalar, Lson, LsonObject, PlainLsonObject, ResolveUsersArgs, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, User, getMentionedIdsFromCommentBody, stringifyCommentBody } from '@liveblocks/core';
|
|
1
|
+
import { BaseUserMeta, DU, OptionalTupleUnless, PlainLsonObject, JsonObject, QueryMetadata, ThreadData, CommentData, CommentBody, Patchable, CommentUserReaction, InboxNotificationData, RoomNotificationSettings, KDAD, DAD, ChannelsNotificationSettings, PartialChannelsNotificationSettings, LsonObject, ToImmutable, PartialUnless, BaseMetadata, DE, DM, DS, NotificationChannel } from '@liveblocks/core';
|
|
2
|
+
export { CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentUserReaction, IUserInfo, Json, JsonArray, JsonObject, JsonScalar, Lson, LsonObject, PlainLsonObject, ResolveUsersArgs, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, User, getMentionedIdsFromCommentBody, isChannelNotificationSettingEnabled, stringifyCommentBody } from '@liveblocks/core';
|
|
3
3
|
import { IncomingHttpHeaders } from 'http';
|
|
4
4
|
|
|
5
5
|
declare const ALL_PERMISSIONS: readonly ["room:write", "room:read", "room:presence:write", "comments:write", "comments:read"];
|
|
@@ -755,6 +755,29 @@ declare class Liveblocks {
|
|
|
755
755
|
deleteAllInboxNotifications(params: {
|
|
756
756
|
userId: string;
|
|
757
757
|
}): Promise<void>;
|
|
758
|
+
/**
|
|
759
|
+
* Get channels notification settings for a user for a project.
|
|
760
|
+
* @param params.userId The user ID to get the channels notifications settings for.
|
|
761
|
+
*/
|
|
762
|
+
getChannelsNotificationSettings(params: {
|
|
763
|
+
userId: string;
|
|
764
|
+
}): Promise<ChannelsNotificationSettings>;
|
|
765
|
+
/**
|
|
766
|
+
* Update the user's channels notification settings.
|
|
767
|
+
* @param params.userId The user ID to update the channels notification settings for.
|
|
768
|
+
* @param params.data The new channels notification settings for the user.
|
|
769
|
+
*/
|
|
770
|
+
updateChannelsNotificationSettings(params: {
|
|
771
|
+
userId: string;
|
|
772
|
+
data: PartialChannelsNotificationSettings;
|
|
773
|
+
}): Promise<ChannelsNotificationSettings>;
|
|
774
|
+
/**
|
|
775
|
+
* Delete the user's channels notification settings
|
|
776
|
+
* @param params.userId The user ID to update the channels notification settings for.
|
|
777
|
+
*/
|
|
778
|
+
deleteChannelsNotificationSettings(params: {
|
|
779
|
+
userId: string;
|
|
780
|
+
}): Promise<void>;
|
|
758
781
|
}
|
|
759
782
|
declare class LiveblocksError extends Error {
|
|
760
783
|
status: number;
|
|
@@ -1027,7 +1050,7 @@ type ThreadMarkedAsUnresolvedEvent = {
|
|
|
1027
1050
|
type ThreadNotificationEvent = {
|
|
1028
1051
|
type: "notification";
|
|
1029
1052
|
data: {
|
|
1030
|
-
channel:
|
|
1053
|
+
channel: NotificationChannel;
|
|
1031
1054
|
kind: "thread";
|
|
1032
1055
|
projectId: string;
|
|
1033
1056
|
roomId: string;
|
|
@@ -1044,7 +1067,7 @@ type ThreadNotificationEvent = {
|
|
|
1044
1067
|
type TextMentionNotificationEvent = {
|
|
1045
1068
|
type: "notification";
|
|
1046
1069
|
data: {
|
|
1047
|
-
channel:
|
|
1070
|
+
channel: NotificationChannel;
|
|
1048
1071
|
kind: "textMention";
|
|
1049
1072
|
projectId: string;
|
|
1050
1073
|
roomId: string;
|
|
@@ -1058,11 +1081,10 @@ type TextMentionNotificationEvent = {
|
|
|
1058
1081
|
createdAt: string;
|
|
1059
1082
|
};
|
|
1060
1083
|
};
|
|
1061
|
-
type CustomKind = `$${string}`;
|
|
1062
1084
|
type CustomNotificationEvent = {
|
|
1063
1085
|
type: "notification";
|
|
1064
1086
|
data: {
|
|
1065
|
-
channel:
|
|
1087
|
+
channel: NotificationChannel;
|
|
1066
1088
|
kind: CustomKind;
|
|
1067
1089
|
projectId: string;
|
|
1068
1090
|
roomId: string | null;
|
|
@@ -1100,6 +1122,17 @@ declare function isThreadNotificationEvent(event: WebhookEvent): event is Thread
|
|
|
1100
1122
|
* @returns A boolean type predicate.
|
|
1101
1123
|
*/
|
|
1102
1124
|
declare function isTextMentionNotificationEvent(event: WebhookEvent): event is TextMentionNotificationEvent;
|
|
1125
|
+
/**
|
|
1126
|
+
* Type guard to check if a webhook event is a `CustomNotificationEvent`
|
|
1127
|
+
*
|
|
1128
|
+
* The check is made against the event type and event data kind.
|
|
1129
|
+
* You should use this guard to safely check the webhook event you received
|
|
1130
|
+
* when you're expecting a `CustomNotificationEvent`.
|
|
1131
|
+
*
|
|
1132
|
+
* @param event The webhook event received after calling `webhookHandler.verifyRequest()`.
|
|
1133
|
+
* @returns A boolean type predicate.
|
|
1134
|
+
*/
|
|
1135
|
+
declare function isCustomNotificationEvent(event: WebhookEvent): event is CustomNotificationEvent;
|
|
1103
1136
|
|
|
1104
1137
|
/**
|
|
1105
1138
|
* @deprecated RoomInfo was renamed to RoomData, to avoid
|
|
@@ -1108,4 +1141,4 @@ declare function isTextMentionNotificationEvent(event: WebhookEvent): event is T
|
|
|
1108
1141
|
*/
|
|
1109
1142
|
type RoomInfo = RoomData;
|
|
1110
1143
|
|
|
1111
|
-
export { type CommentCreatedEvent, type CommentDeletedEvent, type CommentEditedEvent, type CommentReactionAdded, type CommentReactionRemoved, type CustomNotificationEvent, Liveblocks, LiveblocksError, type LiveblocksOptions, type NotificationEvent, type RoomAccesses, type RoomCreatedEvent, type RoomData, type RoomDeletedEvent, type RoomInfo, type RoomPermission, type RoomUser, type Schema, type StorageUpdatedEvent, type TextMentionNotificationEvent, type ThreadCreatedEvent, type ThreadDeletedEvent, type ThreadMarkedAsResolvedEvent, type ThreadMarkedAsUnresolvedEvent, type ThreadMetadataUpdatedEvent, type ThreadNotificationEvent, type ThreadParticipants, type UserEnteredEvent, type UserLeftEvent, type WebhookEvent, WebhookHandler, type WebhookRequest, type YDocUpdatedEvent, isTextMentionNotificationEvent, isThreadNotificationEvent };
|
|
1144
|
+
export { type CommentCreatedEvent, type CommentDeletedEvent, type CommentEditedEvent, type CommentReactionAdded, type CommentReactionRemoved, type CustomNotificationEvent, Liveblocks, LiveblocksError, type LiveblocksOptions, type NotificationEvent, type RoomAccesses, type RoomCreatedEvent, type RoomData, type RoomDeletedEvent, type RoomInfo, type RoomPermission, type RoomUser, type Schema, type StorageUpdatedEvent, type TextMentionNotificationEvent, type ThreadCreatedEvent, type ThreadDeletedEvent, type ThreadMarkedAsResolvedEvent, type ThreadMarkedAsUnresolvedEvent, type ThreadMetadataUpdatedEvent, type ThreadNotificationEvent, type ThreadParticipants, type UserEnteredEvent, type UserLeftEvent, type WebhookEvent, WebhookHandler, type WebhookRequest, type YDocUpdatedEvent, isCustomNotificationEvent, isTextMentionNotificationEvent, isThreadNotificationEvent };
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var _core = require('@liveblocks/core');
|
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
5
|
var PKG_NAME = "@liveblocks/node";
|
|
6
|
-
var PKG_VERSION = "2.
|
|
6
|
+
var PKG_VERSION = "2.17.0-channels1";
|
|
7
7
|
var PKG_FORMAT = "cjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
@@ -1201,6 +1201,52 @@ var Liveblocks = class {
|
|
|
1201
1201
|
throw new LiveblocksError(res.status, text);
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
|
+
/**
|
|
1205
|
+
* Get channels notification settings for a user for a project.
|
|
1206
|
+
* @param params.userId The user ID to get the channels notifications settings for.
|
|
1207
|
+
*/
|
|
1208
|
+
async getChannelsNotificationSettings(params) {
|
|
1209
|
+
const { userId } = params;
|
|
1210
|
+
const res = await this.#get(
|
|
1211
|
+
_core.url`/v2/users/${userId}/channels-notification-settings`
|
|
1212
|
+
);
|
|
1213
|
+
if (!res.ok) {
|
|
1214
|
+
const text = await res.text();
|
|
1215
|
+
throw new LiveblocksError(res.status, text);
|
|
1216
|
+
}
|
|
1217
|
+
return await res.json();
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* Update the user's channels notification settings.
|
|
1221
|
+
* @param params.userId The user ID to update the channels notification settings for.
|
|
1222
|
+
* @param params.data The new channels notification settings for the user.
|
|
1223
|
+
*/
|
|
1224
|
+
async updateChannelsNotificationSettings(params) {
|
|
1225
|
+
const { userId, data } = params;
|
|
1226
|
+
const res = await this.#post(
|
|
1227
|
+
_core.url`/v2/users/${userId}/channels-notification-settings`,
|
|
1228
|
+
data
|
|
1229
|
+
);
|
|
1230
|
+
if (!res.ok) {
|
|
1231
|
+
const text = await res.text();
|
|
1232
|
+
throw new LiveblocksError(res.status, text);
|
|
1233
|
+
}
|
|
1234
|
+
return await res.json();
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* Delete the user's channels notification settings
|
|
1238
|
+
* @param params.userId The user ID to update the channels notification settings for.
|
|
1239
|
+
*/
|
|
1240
|
+
async deleteChannelsNotificationSettings(params) {
|
|
1241
|
+
const { userId } = params;
|
|
1242
|
+
const res = await this.#delete(
|
|
1243
|
+
_core.url`/v2/users/${userId}/channels-notification-settings`
|
|
1244
|
+
);
|
|
1245
|
+
if (!res.ok) {
|
|
1246
|
+
const text = await res.text();
|
|
1247
|
+
throw new LiveblocksError(res.status, text);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1204
1250
|
};
|
|
1205
1251
|
var LiveblocksError = class extends Error {
|
|
1206
1252
|
|
|
@@ -1325,11 +1371,11 @@ var WebhookHandler = class _WebhookHandler {
|
|
|
1325
1371
|
].includes(event.type)) {
|
|
1326
1372
|
if (event.type === "notification") {
|
|
1327
1373
|
const notification = event;
|
|
1328
|
-
if (notification.data.kind === "thread" || notification.data.kind === "textMention" || notification.data.kind
|
|
1374
|
+
if (notification.data.kind === "thread" || notification.data.kind === "textMention" || isCustomKind(notification.data.kind)) {
|
|
1329
1375
|
return;
|
|
1330
1376
|
} else {
|
|
1331
1377
|
throw new Error(
|
|
1332
|
-
`Unknown notification kind: ${notification.data.kind}`
|
|
1378
|
+
`Unknown notification kind: ${JSON.stringify(notification.data.kind)}`
|
|
1333
1379
|
);
|
|
1334
1380
|
}
|
|
1335
1381
|
}
|
|
@@ -1342,18 +1388,25 @@ var WebhookHandler = class _WebhookHandler {
|
|
|
1342
1388
|
};
|
|
1343
1389
|
var WEBHOOK_TOLERANCE_IN_SECONDS = 5 * 60;
|
|
1344
1390
|
var isNotUndefined = (value) => value !== void 0;
|
|
1391
|
+
var isCustomKind = (value) => {
|
|
1392
|
+
return isString(value) && value.startsWith("$");
|
|
1393
|
+
};
|
|
1345
1394
|
function isThreadNotificationEvent(event) {
|
|
1346
1395
|
return event.type === "notification" && event.data.kind === "thread";
|
|
1347
1396
|
}
|
|
1348
1397
|
function isTextMentionNotificationEvent(event) {
|
|
1349
1398
|
return event.type === "notification" && event.data.kind === "textMention";
|
|
1350
1399
|
}
|
|
1400
|
+
function isCustomNotificationEvent(event) {
|
|
1401
|
+
return event.type === "notification" && isCustomKind(event.data.kind);
|
|
1402
|
+
}
|
|
1351
1403
|
|
|
1352
1404
|
// src/index.ts
|
|
1353
1405
|
|
|
1354
1406
|
|
|
1355
1407
|
|
|
1356
1408
|
|
|
1409
|
+
|
|
1357
1410
|
_core.detectDupes.call(void 0, PKG_NAME, PKG_VERSION, PKG_FORMAT);
|
|
1358
1411
|
|
|
1359
1412
|
|
|
@@ -1363,5 +1416,7 @@ _core.detectDupes.call(void 0, PKG_NAME, PKG_VERSION, PKG_FORMAT);
|
|
|
1363
1416
|
|
|
1364
1417
|
|
|
1365
1418
|
|
|
1366
|
-
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
exports.Liveblocks = Liveblocks; exports.LiveblocksError = LiveblocksError; exports.WebhookHandler = WebhookHandler; exports.getMentionedIdsFromCommentBody = _core.getMentionedIdsFromCommentBody; exports.isChannelNotificationSettingEnabled = _core.isChannelNotificationSettingEnabled; exports.isCustomNotificationEvent = isCustomNotificationEvent; exports.isTextMentionNotificationEvent = isTextMentionNotificationEvent; exports.isThreadNotificationEvent = isThreadNotificationEvent; exports.stringifyCommentBody = _core.stringifyCommentBody;
|
|
1367
1422
|
//# sourceMappingURL=index.js.map
|