@rocket.chat/core-typings
Advanced tools
Comparing version 6.10.1 to 6.11.0-rc.0
# @rocket.chat/core-typings | ||
## 6.11.0-rc.0 | ||
### Minor Changes | ||
- ([#32793](https://github.com/RocketChat/Rocket.Chat/pull/32793)) New Feature: Video Conference Persistent Chat. | ||
This feature provides a discussion id for conference provider apps to store the chat messages exchanged during the conferences, so that those users may then access those messages again at any time through Rocket.Chat. | ||
### Patch Changes | ||
- ([#32328](https://github.com/RocketChat/Rocket.Chat/pull/32328)) Allow customFields on livechat creation bridge | ||
- ([#32719](https://github.com/RocketChat/Rocket.Chat/pull/32719)) Added the `user` param to apps-engine update method call, allowing apps' new `onUpdate` hook to know who triggered the update. | ||
- <details><summary>Updated dependencies [2d89a0c448]:</summary> | ||
- @rocket.chat/ui-kit@0.36.0-rc.0 | ||
</details> | ||
## 6.10.1 | ||
@@ -4,0 +22,0 @@ |
@@ -277,2 +277,6 @@ /// <reference types="node" /> | ||
}; | ||
export interface IMessageFromVisitor extends IMessage { | ||
token: string; | ||
} | ||
export declare const isMessageFromVisitor: (message: IMessage) => message is IMessageFromVisitor; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isVideoConfMessage = exports.isOTRAckMessage = exports.isOTRMessage = exports.isE2EEPinnedMessage = exports.isE2EEMessage = exports.isVoipMessage = exports.isIMessageInbox = exports.isMessageDiscussion = exports.isPrivateMessage = exports.isDiscussionMessage = exports.isThreadMessage = exports.isThreadMainMessage = exports.isTranslatedMessage = exports.isMessageFromMatrixFederation = exports.isDeletedMessage = exports.isEditedMessage = void 0; | ||
exports.isMessageFromVisitor = exports.isVideoConfMessage = exports.isOTRAckMessage = exports.isOTRMessage = exports.isE2EEPinnedMessage = exports.isE2EEMessage = exports.isVoipMessage = exports.isIMessageInbox = exports.isMessageDiscussion = exports.isPrivateMessage = exports.isDiscussionMessage = exports.isThreadMessage = exports.isThreadMainMessage = exports.isTranslatedMessage = exports.isMessageFromMatrixFederation = exports.isDeletedMessage = exports.isEditedMessage = void 0; | ||
const isEditedMessage = (message) => 'editedAt' in message && | ||
@@ -44,2 +44,4 @@ message.editedAt instanceof Date && | ||
exports.isVideoConfMessage = isVideoConfMessage; | ||
const isMessageFromVisitor = (message) => 'token' in message; | ||
exports.isMessageFromVisitor = isMessageFromVisitor; | ||
//# sourceMappingURL=IMessage.js.map |
@@ -121,2 +121,3 @@ export * from './Apps'; | ||
export * from './CustomFieldMetadata'; | ||
export * from './RoomRouteData'; | ||
export * as Cloud from './cloud'; |
@@ -153,3 +153,4 @@ "use strict"; | ||
__exportStar(require("./CustomFieldMetadata"), exports); | ||
__exportStar(require("./RoomRouteData"), exports); | ||
exports.Cloud = __importStar(require("./cloud")); | ||
//# sourceMappingURL=index.js.map |
@@ -78,5 +78,2 @@ import type { ILivechatPriority } from './ILivechatPriority'; | ||
customFields?: Record<string, any>; | ||
channel?: { | ||
_id: string; | ||
}; | ||
usersWaitingForE2EKeys?: { | ||
@@ -127,3 +124,3 @@ userId: IUser['_id']; | ||
} | ||
export interface IOmnichannelGenericRoom extends Omit<IRoom, 'default' | 'featured' | 'broadcast' | ''> { | ||
export interface IOmnichannelGenericRoom extends Omit<IRoom, 'default' | 'featured' | 'broadcast'> { | ||
t: 'l' | 'v'; | ||
@@ -254,3 +251,3 @@ v: Pick<ILivechatVisitor, '_id' | 'username' | 'status' | 'name' | 'token' | 'activity'> & { | ||
export declare const isVoipRoom: (room: IRoom) => room is IVoipRoom & IRoom; | ||
export declare const isOmnichannelRoomFromAppSource: (room: IRoom) => room is IOmnichannelRoomFromAppSource; | ||
export declare const isOmnichannelRoomFromAppSource: (room: IOmnichannelRoom) => room is IOmnichannelRoomFromAppSource; | ||
export type RoomAdminFieldsType = '_id' | 'prid' | 'fname' | 'name' | 't' | 'cl' | 'u' | 'usernames' | 'usersCount' | 'muted' | 'unmuted' | 'ro' | 'default' | 'favorite' | 'featured' | 'reactWhenReadOnly' | 'topic' | 'msgs' | 'archived' | 'teamId' | 'teamMain' | 'announcement' | 'description' | 'broadcast' | 'uids' | 'avatarETag'; | ||
@@ -257,0 +254,0 @@ export interface IRoomWithRetentionPolicy extends IRoom { |
@@ -141,3 +141,2 @@ import type { IRocketChatRecord } from './IRocketChatRecord'; | ||
}; | ||
requirePasswordChange?: boolean; | ||
customFields?: { | ||
@@ -173,2 +172,4 @@ [key: string]: any; | ||
_pendingAvatarUrl?: string; | ||
requirePasswordChange?: boolean; | ||
requirePasswordChangeReason?: string; | ||
} | ||
@@ -175,0 +176,0 @@ export interface IRegisterUser extends IUser { |
@@ -48,2 +48,3 @@ import type { IMessage } from './IMessage'; | ||
ringing?: boolean; | ||
discussionRid?: IRoom['_id']; | ||
} | ||
@@ -50,0 +51,0 @@ export interface IDirectVideoConference extends IVideoConference { |
@@ -26,6 +26,3 @@ import type { ILivechatDepartment } from '../ILivechatDepartment'; | ||
department?: Pick<ILivechatDepartment, '_id' | 'name'>; | ||
transferredBy: { | ||
_id: string; | ||
username?: string; | ||
}; | ||
transferredBy: TransferByData; | ||
transferredTo?: { | ||
@@ -46,3 +43,3 @@ username?: string; | ||
name?: string; | ||
userType?: 'agent' | 'user' | 'visitor'; | ||
userType: 'agent' | 'user' | 'visitor'; | ||
}; |
@@ -5,2 +5,3 @@ export type VideoConferenceCapabilities = { | ||
title?: boolean; | ||
persistentChat?: boolean; | ||
}; |
{ | ||
"$schema": "https://json.schemastore.org/package", | ||
"name": "@rocket.chat/core-typings", | ||
"version": "6.10.1", | ||
"version": "6.11.0-rc.0", | ||
"devDependencies": { | ||
@@ -25,6 +25,6 @@ "@rocket.chat/eslint-config": "^0.7.0", | ||
"dependencies": { | ||
"@rocket.chat/apps-engine": "1.43.0", | ||
"@rocket.chat/apps-engine": "alpha", | ||
"@rocket.chat/icons": "^0.36.0", | ||
"@rocket.chat/message-parser": "^0.31.29", | ||
"@rocket.chat/ui-kit": "~0.35.0" | ||
"@rocket.chat/ui-kit": "~0.36.0-rc.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "volta": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
281444
620
6395
3
+ Added@rocket.chat/apps-engine@1.47.0-alpha.905(transitive)
+ Added@rocket.chat/ui-kit@0.36.1(transitive)
- Removed@rocket.chat/apps-engine@1.43.0(transitive)
- Removed@rocket.chat/ui-kit@0.35.0(transitive)