diff --git a/apps/meteor/app/2fa/server/methods/checkCodesRemaining.ts b/apps/meteor/app/2fa/server/methods/checkCodesRemaining.ts index 219a78483cea..f5f5b0e1f275 100644 --- a/apps/meteor/app/2fa/server/methods/checkCodesRemaining.ts +++ b/apps/meteor/app/2fa/server/methods/checkCodesRemaining.ts @@ -1,7 +1,7 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { '2fa:checkCodesRemaining': () => { remaining: number }; diff --git a/apps/meteor/app/2fa/server/methods/disable.ts b/apps/meteor/app/2fa/server/methods/disable.ts index 0927b3f854ac..d2c71febdc35 100644 --- a/apps/meteor/app/2fa/server/methods/disable.ts +++ b/apps/meteor/app/2fa/server/methods/disable.ts @@ -1,10 +1,10 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { TOTP } from '../lib/totp'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { '2fa:disable': (code: string) => Promise; diff --git a/apps/meteor/app/2fa/server/methods/enable.ts b/apps/meteor/app/2fa/server/methods/enable.ts index 6b786c0743e9..dea859d27b62 100644 --- a/apps/meteor/app/2fa/server/methods/enable.ts +++ b/apps/meteor/app/2fa/server/methods/enable.ts @@ -1,10 +1,10 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { TOTP } from '../lib/totp'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { '2fa:enable': () => Promise<{ secret: string; url: string }>; diff --git a/apps/meteor/app/2fa/server/methods/regenerateCodes.ts b/apps/meteor/app/2fa/server/methods/regenerateCodes.ts index e0f4cfaa4797..6968abfb93c2 100644 --- a/apps/meteor/app/2fa/server/methods/regenerateCodes.ts +++ b/apps/meteor/app/2fa/server/methods/regenerateCodes.ts @@ -1,10 +1,10 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { TOTP } from '../lib/totp'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { '2fa:regenerateCodes': (userToken: string) => { codes: string[] } | undefined; diff --git a/apps/meteor/app/2fa/server/methods/validateTempToken.ts b/apps/meteor/app/2fa/server/methods/validateTempToken.ts index cc2b44372a04..840fadc8cbf7 100644 --- a/apps/meteor/app/2fa/server/methods/validateTempToken.ts +++ b/apps/meteor/app/2fa/server/methods/validateTempToken.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { notifyOnUserChangeAsync } from '../../../lib/server/lib/notifyListener'; import { TOTP } from '../lib/totp'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { '2fa:validateTempToken': (userToken: string) => { codes: string[] } | undefined; diff --git a/apps/meteor/app/api/server/v1/users.ts b/apps/meteor/app/api/server/v1/users.ts index 26ef2fa30ff2..7ae585b89dfa 100644 --- a/apps/meteor/app/api/server/v1/users.ts +++ b/apps/meteor/app/api/server/v1/users.ts @@ -1216,7 +1216,7 @@ API.v1.addRoute( throw new Meteor.Error('error-invalid-user-id', 'Invalid user id'); } - void notifyOnUserChange({ clientAction: 'updated', id: this.userId, diff: { 'services.resume.loginTokens': [] } }); + void notifyOnUserChange({ clientAction: 'updated', id: userId, diff: { 'services.resume.loginTokens': [] } }); return API.v1.success({ message: `User ${userId} has been logged out!`, diff --git a/apps/meteor/app/assets/server/assets.ts b/apps/meteor/app/assets/server/assets.ts index b9653a2f1b9a..5d627a4b1d29 100644 --- a/apps/meteor/app/assets/server/assets.ts +++ b/apps/meteor/app/assets/server/assets.ts @@ -2,8 +2,8 @@ import crypto from 'crypto'; import type { ServerResponse, IncomingMessage } from 'http'; import type { IRocketChatAssets, IRocketChatAsset, ISetting } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import type { NextHandleFunction } from 'connect'; import sizeOf from 'image-size'; import { Meteor } from 'meteor/meteor'; @@ -406,7 +406,7 @@ Meteor.startup(() => { }, 200); }); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { refreshClients(): boolean; diff --git a/apps/meteor/app/authorization/server/methods/addPermissionToRole.ts b/apps/meteor/app/authorization/server/methods/addPermissionToRole.ts index 13a114732bd2..9a336478ca3e 100644 --- a/apps/meteor/app/authorization/server/methods/addPermissionToRole.ts +++ b/apps/meteor/app/authorization/server/methods/addPermissionToRole.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Permissions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { notifyOnPermissionChangedById } from '../../../lib/server/lib/notifyListener'; import { CONSTANTS, AuthorizationUtils } from '../../lib'; import { hasPermissionAsync } from '../functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'authorization:addPermissionToRole'(permissionId: string, role: string): void; diff --git a/apps/meteor/app/authorization/server/methods/addUserToRole.ts b/apps/meteor/app/authorization/server/methods/addUserToRole.ts index 02ccc76373f1..81582dd7e9fb 100644 --- a/apps/meteor/app/authorization/server/methods/addUserToRole.ts +++ b/apps/meteor/app/authorization/server/methods/addUserToRole.ts @@ -1,14 +1,14 @@ import { api } from '@rocket.chat/core-services'; import type { IRole, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Roles, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { settings } from '../../../settings/server'; import { hasPermissionAsync } from '../functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'authorization:addUserToRole'(roleId: IRole['_id'], username: IUser['username'], scope: string | undefined): Promise; diff --git a/apps/meteor/app/authorization/server/methods/deleteRole.ts b/apps/meteor/app/authorization/server/methods/deleteRole.ts index 2ff09deadf68..140852e0f1ec 100644 --- a/apps/meteor/app/authorization/server/methods/deleteRole.ts +++ b/apps/meteor/app/authorization/server/methods/deleteRole.ts @@ -1,13 +1,13 @@ import type { IRole } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Roles } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import type { DeleteResult } from 'mongodb'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { hasPermissionAsync } from '../functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'authorization:deleteRole'(roleId: IRole['_id'] | IRole['name']): Promise; diff --git a/apps/meteor/app/authorization/server/methods/removeRoleFromPermission.ts b/apps/meteor/app/authorization/server/methods/removeRoleFromPermission.ts index 91a4df1eddf7..68ca11ef9fb5 100644 --- a/apps/meteor/app/authorization/server/methods/removeRoleFromPermission.ts +++ b/apps/meteor/app/authorization/server/methods/removeRoleFromPermission.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Permissions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { notifyOnPermissionChangedById } from '../../../lib/server/lib/notifyListener'; import { CONSTANTS } from '../../lib'; import { hasPermissionAsync } from '../functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'authorization:removeRoleFromPermission'(permissionId: string, role: string): void; diff --git a/apps/meteor/app/authorization/server/methods/removeUserFromRole.ts b/apps/meteor/app/authorization/server/methods/removeUserFromRole.ts index d5dba40a1e53..56f0c2e307ab 100644 --- a/apps/meteor/app/authorization/server/methods/removeUserFromRole.ts +++ b/apps/meteor/app/authorization/server/methods/removeUserFromRole.ts @@ -1,14 +1,14 @@ import { api } from '@rocket.chat/core-services'; import type { IRole, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Roles, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { settings } from '../../../settings/server'; import { hasPermissionAsync } from '../functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'authorization:removeUserFromRole'(roleId: IRole['_id'], username: IUser['username'], scope?: string): Promise; diff --git a/apps/meteor/app/authorization/server/streamer/permissions/index.ts b/apps/meteor/app/authorization/server/streamer/permissions/index.ts index ff8fd3c93262..e74cf37869fd 100644 --- a/apps/meteor/app/authorization/server/streamer/permissions/index.ts +++ b/apps/meteor/app/authorization/server/streamer/permissions/index.ts @@ -1,11 +1,11 @@ import type { IPermission, RocketChatRecordDeleted } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Permissions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check, Match } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { WithId } from 'mongodb'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'permissions/get'( diff --git a/apps/meteor/app/autotranslate/server/methods/getProviderUiMetadata.ts b/apps/meteor/app/autotranslate/server/methods/getProviderUiMetadata.ts index 30760e854ed1..1d443c21d210 100644 --- a/apps/meteor/app/autotranslate/server/methods/getProviderUiMetadata.ts +++ b/apps/meteor/app/autotranslate/server/methods/getProviderUiMetadata.ts @@ -1,9 +1,9 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { TranslationProviderRegistry } from '../autotranslate'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'autoTranslate.getProviderUiMetadata'(): Record; diff --git a/apps/meteor/app/autotranslate/server/methods/getSupportedLanguages.ts b/apps/meteor/app/autotranslate/server/methods/getSupportedLanguages.ts index e0118e8d95a4..7b9614da7739 100644 --- a/apps/meteor/app/autotranslate/server/methods/getSupportedLanguages.ts +++ b/apps/meteor/app/autotranslate/server/methods/getSupportedLanguages.ts @@ -1,5 +1,5 @@ import type { ISupportedLanguage } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; @@ -7,7 +7,7 @@ import { TranslationProviderRegistry } from '..'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { settings } from '../../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'autoTranslate.getSupportedLanguages'(targetLanguage: string): ISupportedLanguage[] | undefined; diff --git a/apps/meteor/app/autotranslate/server/methods/saveSettings.ts b/apps/meteor/app/autotranslate/server/methods/saveSettings.ts index e396d78887a9..2f119c948263 100644 --- a/apps/meteor/app/autotranslate/server/methods/saveSettings.ts +++ b/apps/meteor/app/autotranslate/server/methods/saveSettings.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'autoTranslate.saveSettings'(rid: string, field: string, value: string, options: { defaultLanguage: string }): boolean; diff --git a/apps/meteor/app/autotranslate/server/methods/translateMessage.ts b/apps/meteor/app/autotranslate/server/methods/translateMessage.ts index d90cad90ce77..551eba57c005 100644 --- a/apps/meteor/app/autotranslate/server/methods/translateMessage.ts +++ b/apps/meteor/app/autotranslate/server/methods/translateMessage.ts @@ -1,11 +1,11 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { TranslationProviderRegistry } from '..'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'autoTranslate.translateMessage'(message: IMessage | undefined, targetLanguage: string): Promise; diff --git a/apps/meteor/app/bot-helpers/server/index.ts b/apps/meteor/app/bot-helpers/server/index.ts index 5e19e1652454..6c0984ae483d 100644 --- a/apps/meteor/app/bot-helpers/server/index.ts +++ b/apps/meteor/app/bot-helpers/server/index.ts @@ -1,7 +1,7 @@ import type { IUser } from '@rocket.chat/core-typings'; import { UserStatus } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import type { Filter, FindCursor } from 'mongodb'; @@ -194,7 +194,7 @@ settings.watch('BotHelpers_userFields', (value) => { botHelpers.setupCursors(value); }); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { botRequest: (prop: keyof BotHelpers, ...params: unknown[]) => Promise; diff --git a/apps/meteor/app/channel-settings/server/methods/saveRoomSettings.ts b/apps/meteor/app/channel-settings/server/methods/saveRoomSettings.ts index e17faebea384..e3f45daa5b18 100644 --- a/apps/meteor/app/channel-settings/server/methods/saveRoomSettings.ts +++ b/apps/meteor/app/channel-settings/server/methods/saveRoomSettings.ts @@ -1,8 +1,8 @@ import { Team } from '@rocket.chat/core-services'; import type { IRoom, IRoomWithRetentionPolicy, IUser, MessageTypesValues } from '@rocket.chat/core-typings'; import { TEAM_TYPE } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -304,7 +304,7 @@ const settingSavers: RoomSettingsSavers = { }, }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveRoomSettings(rid: IRoom['_id'], settings: Partial): Promise<{ result: true; rid: IRoom['_id'] }>; diff --git a/apps/meteor/app/cloud/server/methods.ts b/apps/meteor/app/cloud/server/methods.ts index 0e47a8ba8754..29daefe0d58c 100644 --- a/apps/meteor/app/cloud/server/methods.ts +++ b/apps/meteor/app/cloud/server/methods.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -13,7 +13,7 @@ import { startRegisterWorkspace } from './functions/startRegisterWorkspace'; import { syncWorkspace } from './functions/syncWorkspace'; import { userLogout } from './functions/userLogout'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'cloud:checkRegisterStatus': () => { diff --git a/apps/meteor/app/crowd/server/methods.ts b/apps/meteor/app/crowd/server/methods.ts index a621e3c8d027..48faa2fcbcab 100644 --- a/apps/meteor/app/crowd/server/methods.ts +++ b/apps/meteor/app/crowd/server/methods.ts @@ -1,4 +1,5 @@ -import type { ServerMethods, TranslationKey } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; +import type { TranslationKey } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../authorization/server/functions/hasPermission'; @@ -6,7 +7,7 @@ import { settings } from '../../settings/server'; import { CROWD } from './crowd'; import { logger } from './logger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { crowd_test_connection(): { message: TranslationKey; params: string[] }; diff --git a/apps/meteor/app/custom-sounds/server/methods/deleteCustomSound.ts b/apps/meteor/app/custom-sounds/server/methods/deleteCustomSound.ts index 5ddf0cc66e52..1c63c7a67d9f 100644 --- a/apps/meteor/app/custom-sounds/server/methods/deleteCustomSound.ts +++ b/apps/meteor/app/custom-sounds/server/methods/deleteCustomSound.ts @@ -1,13 +1,13 @@ import { api } from '@rocket.chat/core-services'; import type { ICustomSound } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { CustomSounds } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { RocketChatFileCustomSoundsInstance } from '../startup/custom-sounds'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteCustomSound(_id: ICustomSound['_id']): Promise; diff --git a/apps/meteor/app/custom-sounds/server/methods/insertOrUpdateSound.ts b/apps/meteor/app/custom-sounds/server/methods/insertOrUpdateSound.ts index 4b48a64dc14c..1b922c6b162e 100644 --- a/apps/meteor/app/custom-sounds/server/methods/insertOrUpdateSound.ts +++ b/apps/meteor/app/custom-sounds/server/methods/insertOrUpdateSound.ts @@ -1,6 +1,6 @@ import { api } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { CustomSounds } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -20,7 +20,7 @@ export type ICustomSoundData = { random?: number; }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { insertOrUpdateSound(soundData: ICustomSoundData): Promise; diff --git a/apps/meteor/app/custom-sounds/server/methods/listCustomSounds.ts b/apps/meteor/app/custom-sounds/server/methods/listCustomSounds.ts index 2c2130fc0d30..eda1325d7733 100644 --- a/apps/meteor/app/custom-sounds/server/methods/listCustomSounds.ts +++ b/apps/meteor/app/custom-sounds/server/methods/listCustomSounds.ts @@ -1,9 +1,9 @@ import type { ICustomSound } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { CustomSounds } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { listCustomSounds(): ICustomSound[]; diff --git a/apps/meteor/app/custom-sounds/server/methods/uploadCustomSound.ts b/apps/meteor/app/custom-sounds/server/methods/uploadCustomSound.ts index eee693634d7d..f955f373ed4d 100644 --- a/apps/meteor/app/custom-sounds/server/methods/uploadCustomSound.ts +++ b/apps/meteor/app/custom-sounds/server/methods/uploadCustomSound.ts @@ -1,6 +1,6 @@ import { api } from '@rocket.chat/core-services'; import type { RequiredField } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; @@ -8,7 +8,7 @@ import { RocketChatFile } from '../../../file/server'; import { RocketChatFileCustomSoundsInstance } from '../startup/custom-sounds'; import type { ICustomSoundData } from './insertOrUpdateSound'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { uploadCustomSound(binaryContent: string, contentType: string, soundData: RequiredField): void; diff --git a/apps/meteor/app/discussion/server/methods/createDiscussion.ts b/apps/meteor/app/discussion/server/methods/createDiscussion.ts index 18b42ba1a31f..6e670d723ec9 100644 --- a/apps/meteor/app/discussion/server/methods/createDiscussion.ts +++ b/apps/meteor/app/discussion/server/methods/createDiscussion.ts @@ -1,8 +1,8 @@ import { Message } from '@rocket.chat/core-services'; import type { IMessage, IRoom, IUser, MessageAttachmentDefault } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Rooms, Users } from '@rocket.chat/models'; import { Random } from '@rocket.chat/random'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { callbacks } from '../../../../lib/callbacks'; @@ -196,7 +196,7 @@ const create = async ({ return discussion; }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { createDiscussion: typeof create; diff --git a/apps/meteor/app/e2e/server/methods/fetchMyKeys.ts b/apps/meteor/app/e2e/server/methods/fetchMyKeys.ts index 519317cb40fe..df1150cee846 100644 --- a/apps/meteor/app/e2e/server/methods/fetchMyKeys.ts +++ b/apps/meteor/app/e2e/server/methods/fetchMyKeys.ts @@ -1,8 +1,8 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'e2e.fetchMyKeys'(): { public_key?: string; private_key?: string }; diff --git a/apps/meteor/app/e2e/server/methods/getUsersOfRoomWithoutKey.ts b/apps/meteor/app/e2e/server/methods/getUsersOfRoomWithoutKey.ts index cc586676482f..1f1a21262de8 100644 --- a/apps/meteor/app/e2e/server/methods/getUsersOfRoomWithoutKey.ts +++ b/apps/meteor/app/e2e/server/methods/getUsersOfRoomWithoutKey.ts @@ -1,12 +1,12 @@ import type { IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomIdAsync } from '../../../authorization/server/functions/canAccessRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'e2e.getUsersOfRoomWithoutKey'(rid: IRoom['_id']): { users: Pick[] }; diff --git a/apps/meteor/app/e2e/server/methods/requestSubscriptionKeys.ts b/apps/meteor/app/e2e/server/methods/requestSubscriptionKeys.ts index 8c5add77a0bf..cf899a5d64ad 100644 --- a/apps/meteor/app/e2e/server/methods/requestSubscriptionKeys.ts +++ b/apps/meteor/app/e2e/server/methods/requestSubscriptionKeys.ts @@ -1,9 +1,9 @@ import { api } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'e2e.requestSubscriptionKeys'(): boolean; diff --git a/apps/meteor/app/e2e/server/methods/resetOwnE2EKey.ts b/apps/meteor/app/e2e/server/methods/resetOwnE2EKey.ts index 365feb1ac95d..b1d40e48bb5e 100644 --- a/apps/meteor/app/e2e/server/methods/resetOwnE2EKey.ts +++ b/apps/meteor/app/e2e/server/methods/resetOwnE2EKey.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { resetUserE2EEncriptionKey } from '../../../../server/lib/resetUserE2EKey'; import { twoFactorRequired } from '../../../2fa/server/twoFactorRequired'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'e2e.resetOwnE2EKey'(): Promise; diff --git a/apps/meteor/app/e2e/server/methods/setRoomKeyID.ts b/apps/meteor/app/e2e/server/methods/setRoomKeyID.ts index 6b0e685616b5..b52913e4f984 100644 --- a/apps/meteor/app/e2e/server/methods/setRoomKeyID.ts +++ b/apps/meteor/app/e2e/server/methods/setRoomKeyID.ts @@ -1,13 +1,13 @@ import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomIdAsync } from '../../../authorization/server/functions/canAccessRoom'; import { notifyOnRoomChangedById } from '../../../lib/server/lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'e2e.setRoomKeyID'(rid: IRoom['_id'], keyID: string): void; diff --git a/apps/meteor/app/e2e/server/methods/setUserPublicAndPrivateKeys.ts b/apps/meteor/app/e2e/server/methods/setUserPublicAndPrivateKeys.ts index 94d252601bc4..6ef35a063a28 100644 --- a/apps/meteor/app/e2e/server/methods/setUserPublicAndPrivateKeys.ts +++ b/apps/meteor/app/e2e/server/methods/setUserPublicAndPrivateKeys.ts @@ -1,8 +1,8 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'e2e.setUserPublicAndPrivateKeys'({ public_key, private_key }: { public_key: string; private_key: string; force?: boolean }): void; diff --git a/apps/meteor/app/e2e/server/methods/updateGroupKey.ts b/apps/meteor/app/e2e/server/methods/updateGroupKey.ts index c856f8cf708a..5764a021f54c 100644 --- a/apps/meteor/app/e2e/server/methods/updateGroupKey.ts +++ b/apps/meteor/app/e2e/server/methods/updateGroupKey.ts @@ -1,10 +1,10 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'e2e.updateGroupKey'(rid: string, uid: string, key: string): Promise; diff --git a/apps/meteor/app/emoji-custom/server/methods/deleteEmojiCustom.ts b/apps/meteor/app/emoji-custom/server/methods/deleteEmojiCustom.ts index 555d5544ab33..c16d3b82449b 100644 --- a/apps/meteor/app/emoji-custom/server/methods/deleteEmojiCustom.ts +++ b/apps/meteor/app/emoji-custom/server/methods/deleteEmojiCustom.ts @@ -1,13 +1,13 @@ import { api } from '@rocket.chat/core-services'; import type { ICustomEmojiDescriptor } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { EmojiCustom } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { RocketChatFileEmojiCustomInstance } from '../startup/emoji-custom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteEmojiCustom(emojiID: ICustomEmojiDescriptor['_id']): boolean; diff --git a/apps/meteor/app/emoji-custom/server/methods/insertOrUpdateEmoji.ts b/apps/meteor/app/emoji-custom/server/methods/insertOrUpdateEmoji.ts index 874180097cb9..5d4a6742314b 100644 --- a/apps/meteor/app/emoji-custom/server/methods/insertOrUpdateEmoji.ts +++ b/apps/meteor/app/emoji-custom/server/methods/insertOrUpdateEmoji.ts @@ -1,6 +1,6 @@ import { api } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { EmojiCustom } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import limax from 'limax'; import { Meteor } from 'meteor/meteor'; import _ from 'underscore'; @@ -9,7 +9,7 @@ import { trim } from '../../../../lib/utils/stringUtils'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { RocketChatFileEmojiCustomInstance } from '../startup/emoji-custom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { insertOrUpdateEmoji(emojiData: { diff --git a/apps/meteor/app/emoji-custom/server/methods/listEmojiCustom.ts b/apps/meteor/app/emoji-custom/server/methods/listEmojiCustom.ts index 485737b95f9b..a16d536d92d4 100644 --- a/apps/meteor/app/emoji-custom/server/methods/listEmojiCustom.ts +++ b/apps/meteor/app/emoji-custom/server/methods/listEmojiCustom.ts @@ -1,12 +1,12 @@ import type { IEmojiCustom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { EmojiCustom } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check, Match } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { listEmojiCustom(options?: { name?: string; aliases?: string[] }): IEmojiCustom[]; diff --git a/apps/meteor/app/emoji-custom/server/methods/uploadEmojiCustom.ts b/apps/meteor/app/emoji-custom/server/methods/uploadEmojiCustom.ts index ded98b7f5469..a46f457cd70f 100644 --- a/apps/meteor/app/emoji-custom/server/methods/uploadEmojiCustom.ts +++ b/apps/meteor/app/emoji-custom/server/methods/uploadEmojiCustom.ts @@ -1,5 +1,5 @@ import { api, Media } from '@rocket.chat/core-services'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import limax from 'limax'; import { Meteor } from 'meteor/meteor'; import sharp from 'sharp'; @@ -16,7 +16,7 @@ const getFile = async (file: Buffer, extension: string) => { return sharp(file).png().toBuffer(); }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { uploadEmojiCustom( diff --git a/apps/meteor/app/federation/server/methods/dashboard.ts b/apps/meteor/app/federation/server/methods/dashboard.ts index 90a050556893..eacb42b24cbb 100644 --- a/apps/meteor/app/federation/server/methods/dashboard.ts +++ b/apps/meteor/app/federation/server/methods/dashboard.ts @@ -1,10 +1,10 @@ import type { IFederationServer } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { federationGetServers, federationGetOverviewData } from '../functions/dashboard'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'federation:getServers': () => { data: IFederationServer[] }; diff --git a/apps/meteor/app/federation/server/methods/loadContextEvents.ts b/apps/meteor/app/federation/server/methods/loadContextEvents.ts index 9e286bbf913a..e20acb7e37c9 100644 --- a/apps/meteor/app/federation/server/methods/loadContextEvents.ts +++ b/apps/meteor/app/federation/server/methods/loadContextEvents.ts @@ -1,11 +1,11 @@ import type { IFederationEvent } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { FederationRoomEvents } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'federation:loadContextEvents'(latestEventTimestamp: number): IFederationEvent[]; diff --git a/apps/meteor/app/federation/server/methods/testSetup.ts b/apps/meteor/app/federation/server/methods/testSetup.ts index 93e501535474..bc50ef158194 100644 --- a/apps/meteor/app/federation/server/methods/testSetup.ts +++ b/apps/meteor/app/federation/server/methods/testSetup.ts @@ -1,11 +1,11 @@ import { eventTypes } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { dispatchEvent } from '../handler'; import { getFederationDomain } from '../lib/getFederationDomain'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { FEDERATION_Test_Setup(): { message: string }; diff --git a/apps/meteor/app/file-upload/server/methods/getS3FileUrl.ts b/apps/meteor/app/file-upload/server/methods/getS3FileUrl.ts index fdb8d131916d..3e9bcd192674 100644 --- a/apps/meteor/app/file-upload/server/methods/getS3FileUrl.ts +++ b/apps/meteor/app/file-upload/server/methods/getS3FileUrl.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Uploads } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -7,7 +7,7 @@ import { UploadFS } from '../../../../server/ufs'; import { canAccessRoomAsync } from '../../../authorization/server'; import { settings } from '../../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getS3FileUrl(fileId: string): string; diff --git a/apps/meteor/app/file-upload/server/methods/sendFileMessage.ts b/apps/meteor/app/file-upload/server/methods/sendFileMessage.ts index 485528a5e62f..73dfd0216a73 100644 --- a/apps/meteor/app/file-upload/server/methods/sendFileMessage.ts +++ b/apps/meteor/app/file-upload/server/methods/sendFileMessage.ts @@ -7,8 +7,8 @@ import type { FilesAndAttachments, IMessage, } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Uploads, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -141,7 +141,7 @@ export const parseFileIntoMessageAttachments = async ( return { files, attachments }; }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { sendFileMessage: (roomId: string, _store: string, file: Partial, msgData?: Record) => boolean; diff --git a/apps/meteor/app/iframe-login/server/iframe_server.ts b/apps/meteor/app/iframe-login/server/iframe_server.ts index c7e67edf9deb..b3e661cf6ff3 100644 --- a/apps/meteor/app/iframe-login/server/iframe_server.ts +++ b/apps/meteor/app/iframe-login/server/iframe_server.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -23,7 +23,7 @@ Accounts.registerLoginHandler('iframe', async (result) => { } }); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'OAuth.retrieveCredential'(credentialToken: string, credentialSecret: string): unknown; diff --git a/apps/meteor/app/importer/server/methods/downloadPublicImportFile.ts b/apps/meteor/app/importer/server/methods/downloadPublicImportFile.ts index 81e06ec8eb0f..d2da85c7cfd4 100644 --- a/apps/meteor/app/importer/server/methods/downloadPublicImportFile.ts +++ b/apps/meteor/app/importer/server/methods/downloadPublicImportFile.ts @@ -4,7 +4,7 @@ import https from 'https'; import { Import } from '@rocket.chat/core-services'; import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { Importers } from '..'; @@ -75,7 +75,7 @@ export const executeDownloadPublicImportFile = async (userId: IUser['_id'], file } }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { downloadPublicImportFile(fileUrl: string, importerKey: string): void; diff --git a/apps/meteor/app/importer/server/methods/getImportFileData.ts b/apps/meteor/app/importer/server/methods/getImportFileData.ts index 03f9a53abe6c..1d36f7fc5a5e 100644 --- a/apps/meteor/app/importer/server/methods/getImportFileData.ts +++ b/apps/meteor/app/importer/server/methods/getImportFileData.ts @@ -2,8 +2,8 @@ import fs from 'fs'; import path from 'path'; import type { IImportProgress, IImporterSelection } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Imports } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { Importers } from '..'; @@ -61,7 +61,7 @@ export const executeGetImportFileData = async (): Promise => { return instance.getProgress(); }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getImportProgress(): IImportProgress; diff --git a/apps/meteor/app/importer/server/methods/getLatestImportOperations.ts b/apps/meteor/app/importer/server/methods/getLatestImportOperations.ts index edf021a19eac..0471cb57955d 100644 --- a/apps/meteor/app/importer/server/methods/getLatestImportOperations.ts +++ b/apps/meteor/app/importer/server/methods/getLatestImportOperations.ts @@ -1,6 +1,6 @@ import type { IImport } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Imports } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; @@ -17,7 +17,7 @@ export const executeGetLatestImportOperations = async () => { return data.toArray(); }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getLatestImportOperations(): IImport[]; diff --git a/apps/meteor/app/importer/server/methods/startImport.ts b/apps/meteor/app/importer/server/methods/startImport.ts index af91295ede29..bbb5ce76ad1c 100644 --- a/apps/meteor/app/importer/server/methods/startImport.ts +++ b/apps/meteor/app/importer/server/methods/startImport.ts @@ -1,7 +1,7 @@ import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Imports } from '@rocket.chat/models'; import type { StartImportParamsPOST } from '@rocket.chat/rest-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { Importers, Selection, SelectionChannel, SelectionUser } from '..'; @@ -32,7 +32,7 @@ export const executeStartImport = async ({ input }: StartImportParamsPOST, start await instance.startImport(selection, startedByUserId); }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { startImport(params: StartImportParamsPOST): void; diff --git a/apps/meteor/app/importer/server/methods/uploadImportFile.ts b/apps/meteor/app/importer/server/methods/uploadImportFile.ts index d6ded455793b..df5d2af883fa 100644 --- a/apps/meteor/app/importer/server/methods/uploadImportFile.ts +++ b/apps/meteor/app/importer/server/methods/uploadImportFile.ts @@ -1,6 +1,6 @@ import { Import } from '@rocket.chat/core-services'; import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { Importers } from '..'; @@ -55,7 +55,7 @@ export const executeUploadImportFile = async ( await instance.updateProgress(ProgressStep.FILE_LOADED); }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { uploadImportFile(binaryContent: string, contentType: string, fileName: string, importerKey: string): void; diff --git a/apps/meteor/app/integrations/server/methods/clearIntegrationHistory.ts b/apps/meteor/app/integrations/server/methods/clearIntegrationHistory.ts index 5b8f13ef1a3a..a30bb9b5ee9a 100644 --- a/apps/meteor/app/integrations/server/methods/clearIntegrationHistory.ts +++ b/apps/meteor/app/integrations/server/methods/clearIntegrationHistory.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations, IntegrationHistory } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import notifications from '../../../notifications/server/lib/Notifications'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { clearIntegrationHistory(integrationId: string): Promise; diff --git a/apps/meteor/app/integrations/server/methods/incoming/addIncomingIntegration.ts b/apps/meteor/app/integrations/server/methods/incoming/addIncomingIntegration.ts index db058bec960b..8f1f1b5dd576 100644 --- a/apps/meteor/app/integrations/server/methods/incoming/addIncomingIntegration.ts +++ b/apps/meteor/app/integrations/server/methods/incoming/addIncomingIntegration.ts @@ -1,7 +1,7 @@ import type { INewIncomingIntegration, IIncomingIntegration } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations, Roles, Subscriptions, Users, Rooms } from '@rocket.chat/models'; import { Random } from '@rocket.chat/random'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Babel } from 'meteor/babel-compiler'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -13,7 +13,7 @@ import { validateScriptEngine, isScriptEngineFrozen } from '../../lib/validateSc const validChannelChars = ['@', '#']; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addIncomingIntegration(integration: INewIncomingIntegration): Promise; diff --git a/apps/meteor/app/integrations/server/methods/incoming/deleteIncomingIntegration.ts b/apps/meteor/app/integrations/server/methods/incoming/deleteIncomingIntegration.ts index e73a46bb27db..9a116f51bbaf 100644 --- a/apps/meteor/app/integrations/server/methods/incoming/deleteIncomingIntegration.ts +++ b/apps/meteor/app/integrations/server/methods/incoming/deleteIncomingIntegration.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../authorization/server/functions/hasPermission'; import { notifyOnIntegrationChangedById } from '../../../../lib/server/lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteIncomingIntegration(integrationId: string): Promise; diff --git a/apps/meteor/app/integrations/server/methods/incoming/updateIncomingIntegration.ts b/apps/meteor/app/integrations/server/methods/incoming/updateIncomingIntegration.ts index 0ea5028130da..c94b7b9fd7a8 100644 --- a/apps/meteor/app/integrations/server/methods/incoming/updateIncomingIntegration.ts +++ b/apps/meteor/app/integrations/server/methods/incoming/updateIncomingIntegration.ts @@ -1,7 +1,7 @@ import type { IIntegration, INewIncomingIntegration, IUpdateIncomingIntegration } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations, Roles, Subscriptions, Users, Rooms } from '@rocket.chat/models'; import { wrapExceptions } from '@rocket.chat/tools'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Babel } from 'meteor/babel-compiler'; import { Meteor } from 'meteor/meteor'; import _ from 'underscore'; @@ -12,7 +12,7 @@ import { isScriptEngineFrozen, validateScriptEngine } from '../../lib/validateSc const validChannelChars = ['@', '#']; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { updateIncomingIntegration( diff --git a/apps/meteor/app/integrations/server/methods/outgoing/addOutgoingIntegration.ts b/apps/meteor/app/integrations/server/methods/outgoing/addOutgoingIntegration.ts index c8dc31e08446..dc54c76b1897 100644 --- a/apps/meteor/app/integrations/server/methods/outgoing/addOutgoingIntegration.ts +++ b/apps/meteor/app/integrations/server/methods/outgoing/addOutgoingIntegration.ts @@ -1,6 +1,6 @@ import type { INewOutgoingIntegration, IOutgoingIntegration } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { notifyOnIntegrationChanged } from '../../../../lib/server/lib/notifyLis import { validateOutgoingIntegration } from '../../lib/validateOutgoingIntegration'; import { validateScriptEngine } from '../../lib/validateScriptEngine'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addOutgoingIntegration(integration: INewOutgoingIntegration): Promise; diff --git a/apps/meteor/app/integrations/server/methods/outgoing/deleteOutgoingIntegration.ts b/apps/meteor/app/integrations/server/methods/outgoing/deleteOutgoingIntegration.ts index c9f2211d835b..46d4c65159c0 100644 --- a/apps/meteor/app/integrations/server/methods/outgoing/deleteOutgoingIntegration.ts +++ b/apps/meteor/app/integrations/server/methods/outgoing/deleteOutgoingIntegration.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations, IntegrationHistory } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../authorization/server/functions/hasPermission'; import { notifyOnIntegrationChangedById } from '../../../../lib/server/lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteOutgoingIntegration(integrationId: string): Promise; diff --git a/apps/meteor/app/integrations/server/methods/outgoing/replayOutgoingIntegration.ts b/apps/meteor/app/integrations/server/methods/outgoing/replayOutgoingIntegration.ts index 417c308ca6cb..83c13f2d981b 100644 --- a/apps/meteor/app/integrations/server/methods/outgoing/replayOutgoingIntegration.ts +++ b/apps/meteor/app/integrations/server/methods/outgoing/replayOutgoingIntegration.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations, IntegrationHistory } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../authorization/server/functions/hasPermission'; import { triggerHandler } from '../../lib/triggerHandler'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { replayOutgoingIntegration(params: { integrationId: string; historyId: string }): Promise; diff --git a/apps/meteor/app/integrations/server/methods/outgoing/updateOutgoingIntegration.ts b/apps/meteor/app/integrations/server/methods/outgoing/updateOutgoingIntegration.ts index 116dbd043039..c9b1f4ed7d64 100644 --- a/apps/meteor/app/integrations/server/methods/outgoing/updateOutgoingIntegration.ts +++ b/apps/meteor/app/integrations/server/methods/outgoing/updateOutgoingIntegration.ts @@ -1,7 +1,7 @@ import type { IIntegration, INewOutgoingIntegration, IUpdateOutgoingIntegration } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Integrations, Users } from '@rocket.chat/models'; import { wrapExceptions } from '@rocket.chat/tools'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../authorization/server/functions/hasPermission'; @@ -9,7 +9,7 @@ import { notifyOnIntegrationChanged } from '../../../../lib/server/lib/notifyLis import { validateOutgoingIntegration } from '../../lib/validateOutgoingIntegration'; import { isScriptEngineFrozen, validateScriptEngine } from '../../lib/validateScriptEngine'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { updateOutgoingIntegration( diff --git a/apps/meteor/app/irc/server/methods/resetIrcConnection.ts b/apps/meteor/app/irc/server/methods/resetIrcConnection.ts index 24eef975d5d5..aaaeef1c06b8 100644 --- a/apps/meteor/app/irc/server/methods/resetIrcConnection.ts +++ b/apps/meteor/app/irc/server/methods/resetIrcConnection.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { notifyOnSettingChangedById } from '../../../lib/server/lib/notifyListener'; import { settings } from '../../../settings/server'; import Bridge from '../irc-bridge'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { resetIrcConnection(): { message: string; params: unknown[] }; diff --git a/apps/meteor/app/lib/client/methods/sendMessage.ts b/apps/meteor/app/lib/client/methods/sendMessage.ts index e824c9e491af..bdaca587493a 100644 --- a/apps/meteor/app/lib/client/methods/sendMessage.ts +++ b/apps/meteor/app/lib/client/methods/sendMessage.ts @@ -1,5 +1,5 @@ import type { IMessage, IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { onClientMessageReceived } from '../../../../client/lib/onClientMessageReceived'; diff --git a/apps/meteor/app/lib/server/methods/addOAuthService.ts b/apps/meteor/app/lib/server/methods/addOAuthService.ts index 05b0e5a7e4e6..09287bb9bb74 100644 --- a/apps/meteor/app/lib/server/methods/addOAuthService.ts +++ b/apps/meteor/app/lib/server/methods/addOAuthService.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { addOAuthService } from '../../../../server/lib/oauth/addOAuthService'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addOAuthService(name: string): void; diff --git a/apps/meteor/app/lib/server/methods/addUserToRoom.ts b/apps/meteor/app/lib/server/methods/addUserToRoom.ts index 880b413d0618..8100cafc33b0 100644 --- a/apps/meteor/app/lib/server/methods/addUserToRoom.ts +++ b/apps/meteor/app/lib/server/methods/addUserToRoom.ts @@ -1,9 +1,9 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { addUsersToRoomMethod } from './addUsersToRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addUserToRoom(data: { rid: string; username: string }): void; diff --git a/apps/meteor/app/lib/server/methods/addUsersToRoom.ts b/apps/meteor/app/lib/server/methods/addUsersToRoom.ts index 48b7f9db58f5..73fbf6e51a04 100644 --- a/apps/meteor/app/lib/server/methods/addUsersToRoom.ts +++ b/apps/meteor/app/lib/server/methods/addUsersToRoom.ts @@ -1,8 +1,8 @@ import { api } from '@rocket.chat/core-services'; import type { IUser } from '@rocket.chat/core-typings'; import { isRoomFederated } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Users, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -12,7 +12,7 @@ import { Federation } from '../../../../server/services/federation/Federation'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { addUserToRoom } from '../functions/addUserToRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addUsersToRoom(data: { rid: string; users: string[] }): boolean; diff --git a/apps/meteor/app/lib/server/methods/archiveRoom.ts b/apps/meteor/app/lib/server/methods/archiveRoom.ts index c30014f59c11..dfa5a2c55412 100644 --- a/apps/meteor/app/lib/server/methods/archiveRoom.ts +++ b/apps/meteor/app/lib/server/methods/archiveRoom.ts @@ -1,6 +1,6 @@ import { isRegisterUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { roomCoordinator } from '../../../../server/lib/rooms/roomCoordinator'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { archiveRoom } from '../functions/archiveRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { archiveRoom(rid: string): Promise; diff --git a/apps/meteor/app/lib/server/methods/blockUser.ts b/apps/meteor/app/lib/server/methods/blockUser.ts index b65423edf25b..b967e35d7bc1 100644 --- a/apps/meteor/app/lib/server/methods/blockUser.ts +++ b/apps/meteor/app/lib/server/methods/blockUser.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { RoomMemberActions } from '../../../../definition/IRoomTypeConfig'; import { roomCoordinator } from '../../../../server/lib/rooms/roomCoordinator'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { blockUser({ rid, blocked }: { rid: string; blocked: string }): boolean; diff --git a/apps/meteor/app/lib/server/methods/checkRegistrationSecretURL.ts b/apps/meteor/app/lib/server/methods/checkRegistrationSecretURL.ts index 3f349a8b43e6..ecba6844da26 100644 --- a/apps/meteor/app/lib/server/methods/checkRegistrationSecretURL.ts +++ b/apps/meteor/app/lib/server/methods/checkRegistrationSecretURL.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; diff --git a/apps/meteor/app/lib/server/methods/checkUsernameAvailability.ts b/apps/meteor/app/lib/server/methods/checkUsernameAvailability.ts index 34ad02ddb2cf..4df2706bb479 100644 --- a/apps/meteor/app/lib/server/methods/checkUsernameAvailability.ts +++ b/apps/meteor/app/lib/server/methods/checkUsernameAvailability.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -6,7 +6,7 @@ import { checkUsernameAvailabilityWithValidation } from '../functions/checkUsern import { RateLimiter } from '../lib'; import { methodDeprecationLogger } from '../lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { checkUsernameAvailability(username: string): boolean; diff --git a/apps/meteor/app/lib/server/methods/cleanRoomHistory.ts b/apps/meteor/app/lib/server/methods/cleanRoomHistory.ts index a724d1b38b2c..d6136eee9131 100644 --- a/apps/meteor/app/lib/server/methods/cleanRoomHistory.ts +++ b/apps/meteor/app/lib/server/methods/cleanRoomHistory.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { cleanRoomHistory } from '../functions/cleanRoomHistory'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { cleanRoomHistory(data: { diff --git a/apps/meteor/app/lib/server/methods/createChannel.ts b/apps/meteor/app/lib/server/methods/createChannel.ts index 98cea517bed4..a490fa1e3c42 100644 --- a/apps/meteor/app/lib/server/methods/createChannel.ts +++ b/apps/meteor/app/lib/server/methods/createChannel.ts @@ -1,13 +1,13 @@ import type { ICreatedRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { createRoom } from '../functions/createRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { createChannel( diff --git a/apps/meteor/app/lib/server/methods/createPrivateGroup.ts b/apps/meteor/app/lib/server/methods/createPrivateGroup.ts index 75097b5c89b8..3b92b2607829 100644 --- a/apps/meteor/app/lib/server/methods/createPrivateGroup.ts +++ b/apps/meteor/app/lib/server/methods/createPrivateGroup.ts @@ -1,13 +1,13 @@ import type { ICreatedRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { createRoom } from '../functions/createRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { createPrivateGroup( diff --git a/apps/meteor/app/lib/server/methods/createToken.ts b/apps/meteor/app/lib/server/methods/createToken.ts index ed665944415a..de60a7e37fe8 100644 --- a/apps/meteor/app/lib/server/methods/createToken.ts +++ b/apps/meteor/app/lib/server/methods/createToken.ts @@ -1,12 +1,12 @@ import { User } from '@rocket.chat/core-services'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Accounts } from 'meteor/accounts-base'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { createToken(userId: string): { userId: string; authToken: string }; diff --git a/apps/meteor/app/lib/server/methods/deleteMessage.ts b/apps/meteor/app/lib/server/methods/deleteMessage.ts index a1b1000c06b8..b0be64c245ef 100644 --- a/apps/meteor/app/lib/server/methods/deleteMessage.ts +++ b/apps/meteor/app/lib/server/methods/deleteMessage.ts @@ -1,11 +1,11 @@ import type { IMessage } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { deleteMessageValidatingPermission } from '../functions/deleteMessage'; import { methodDeprecationLogger } from '../lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteMessage({ _id }: Pick): void; diff --git a/apps/meteor/app/lib/server/methods/deleteUserOwnAccount.ts b/apps/meteor/app/lib/server/methods/deleteUserOwnAccount.ts index 2d651950da19..7b5663185bc5 100644 --- a/apps/meteor/app/lib/server/methods/deleteUserOwnAccount.ts +++ b/apps/meteor/app/lib/server/methods/deleteUserOwnAccount.ts @@ -1,7 +1,7 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; import { SHA256 } from '@rocket.chat/sha256'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -10,7 +10,7 @@ import { trim } from '../../../../lib/utils/stringUtils'; import { settings } from '../../../settings/server'; import { deleteUser } from '../functions/deleteUser'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteUserOwnAccount(password: string, confirmRelinquish?: boolean): Promise; diff --git a/apps/meteor/app/lib/server/methods/executeSlashCommandPreview.ts b/apps/meteor/app/lib/server/methods/executeSlashCommandPreview.ts index 80b5428efbef..1c116863610d 100644 --- a/apps/meteor/app/lib/server/methods/executeSlashCommandPreview.ts +++ b/apps/meteor/app/lib/server/methods/executeSlashCommandPreview.ts @@ -1,10 +1,10 @@ import type { IMessage, RequiredField, SlashCommandPreviewItem } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { slashCommands } from '../../../utils/server/slashCommand'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { executeSlashCommandPreview( diff --git a/apps/meteor/app/lib/server/methods/getChannelHistory.ts b/apps/meteor/app/lib/server/methods/getChannelHistory.ts index 00ff01639593..8f1f4c586141 100644 --- a/apps/meteor/app/lib/server/methods/getChannelHistory.ts +++ b/apps/meteor/app/lib/server/methods/getChannelHistory.ts @@ -1,6 +1,6 @@ import type { IMessage, MessageTypesValues } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import _ from 'underscore'; @@ -11,7 +11,7 @@ import { settings } from '../../../settings/server/cached'; import { normalizeMessagesForUser } from '../../../utils/server/lib/normalizeMessagesForUser'; import { getHiddenSystemMessages } from '../lib/getHiddenSystemMessages'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getChannelHistory(params: { diff --git a/apps/meteor/app/lib/server/methods/getMessages.ts b/apps/meteor/app/lib/server/methods/getMessages.ts index 909e3d0c656b..d8684f82453c 100644 --- a/apps/meteor/app/lib/server/methods/getMessages.ts +++ b/apps/meteor/app/lib/server/methods/getMessages.ts @@ -1,12 +1,12 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomIdAsync } from '../../../authorization/server/functions/canAccessRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getMessages(messages: IMessage['_id'][]): Promise; diff --git a/apps/meteor/app/lib/server/methods/getRoomJoinCode.ts b/apps/meteor/app/lib/server/methods/getRoomJoinCode.ts index 75e4a4372f57..5ba4b3490722 100644 --- a/apps/meteor/app/lib/server/methods/getRoomJoinCode.ts +++ b/apps/meteor/app/lib/server/methods/getRoomJoinCode.ts @@ -1,12 +1,12 @@ import { isRoomWithJoinCode } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getRoomJoinCode(rid: string): string | false; diff --git a/apps/meteor/app/lib/server/methods/getRoomRoles.ts b/apps/meteor/app/lib/server/methods/getRoomRoles.ts index ac5fcc734d0f..b411ba8fedf5 100644 --- a/apps/meteor/app/lib/server/methods/getRoomRoles.ts +++ b/apps/meteor/app/lib/server/methods/getRoomRoles.ts @@ -1,6 +1,6 @@ import type { IRoom, ISubscription } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -8,7 +8,7 @@ import { getRoomRoles } from '../../../../server/lib/roles/getRoomRoles'; import { canAccessRoomAsync } from '../../../authorization/server'; import { settings } from '../../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getRoomRoles(rid: IRoom['_id']): ISubscription[]; diff --git a/apps/meteor/app/lib/server/methods/getSingleMessage.ts b/apps/meteor/app/lib/server/methods/getSingleMessage.ts index 1aaf2a652257..c4b6f065296b 100644 --- a/apps/meteor/app/lib/server/methods/getSingleMessage.ts +++ b/apps/meteor/app/lib/server/methods/getSingleMessage.ts @@ -1,12 +1,12 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomIdAsync } from '../../../authorization/server/functions/canAccessRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getSingleMessage(mid: IMessage['_id']): Promise; diff --git a/apps/meteor/app/lib/server/methods/getSlashCommandPreviews.ts b/apps/meteor/app/lib/server/methods/getSlashCommandPreviews.ts index dcb39c466063..965c91cc502f 100644 --- a/apps/meteor/app/lib/server/methods/getSlashCommandPreviews.ts +++ b/apps/meteor/app/lib/server/methods/getSlashCommandPreviews.ts @@ -1,10 +1,10 @@ import type { IMessage, RequiredField, SlashCommandPreviews } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { slashCommands } from '../../../utils/server/slashCommand'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getSlashCommandPreviews(command: { diff --git a/apps/meteor/app/lib/server/methods/getUserRoles.ts b/apps/meteor/app/lib/server/methods/getUserRoles.ts index cc7588276c33..cbd4712930a2 100644 --- a/apps/meteor/app/lib/server/methods/getUserRoles.ts +++ b/apps/meteor/app/lib/server/methods/getUserRoles.ts @@ -1,9 +1,9 @@ import { Authorization } from '@rocket.chat/core-services'; import type { IUser, IRocketChatRecord } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getUserRoles(): (IRocketChatRecord & Pick)[]; diff --git a/apps/meteor/app/lib/server/methods/getUsernameSuggestion.ts b/apps/meteor/app/lib/server/methods/getUsernameSuggestion.ts index 5724449a5790..b42799f24081 100644 --- a/apps/meteor/app/lib/server/methods/getUsernameSuggestion.ts +++ b/apps/meteor/app/lib/server/methods/getUsernameSuggestion.ts @@ -1,9 +1,9 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { generateUsernameSuggestion } from '../functions/getUsernameSuggestion'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getUsernameSuggestion(): Promise; diff --git a/apps/meteor/app/lib/server/methods/insertOrUpdateUser.ts b/apps/meteor/app/lib/server/methods/insertOrUpdateUser.ts index 5a8b1c8d1a58..122b11172d57 100644 --- a/apps/meteor/app/lib/server/methods/insertOrUpdateUser.ts +++ b/apps/meteor/app/lib/server/methods/insertOrUpdateUser.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -6,7 +6,7 @@ import { twoFactorRequired } from '../../../2fa/server/twoFactorRequired'; import { saveUser } from '../functions/saveUser'; import { methodDeprecationLogger } from '../lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { insertOrUpdateUser(userData: Record): Promise; diff --git a/apps/meteor/app/lib/server/methods/joinDefaultChannels.ts b/apps/meteor/app/lib/server/methods/joinDefaultChannels.ts index 309ac4e449be..df654bc4aef0 100644 --- a/apps/meteor/app/lib/server/methods/joinDefaultChannels.ts +++ b/apps/meteor/app/lib/server/methods/joinDefaultChannels.ts @@ -1,11 +1,11 @@ import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { addUserToDefaultChannels } from '../functions/addUserToDefaultChannels'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { joinDefaultChannels(silenced?: boolean): void; diff --git a/apps/meteor/app/lib/server/methods/joinRoom.ts b/apps/meteor/app/lib/server/methods/joinRoom.ts index 0fa3ac0b3c3b..ef3f069ee614 100644 --- a/apps/meteor/app/lib/server/methods/joinRoom.ts +++ b/apps/meteor/app/lib/server/methods/joinRoom.ts @@ -1,11 +1,11 @@ import { Room } from '@rocket.chat/core-services'; import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { joinRoom(rid: IRoom['_id'], code?: string): boolean | undefined; diff --git a/apps/meteor/app/lib/server/methods/leaveRoom.ts b/apps/meteor/app/lib/server/methods/leaveRoom.ts index ec1bb1638a21..4fc85b35fd05 100644 --- a/apps/meteor/app/lib/server/methods/leaveRoom.ts +++ b/apps/meteor/app/lib/server/methods/leaveRoom.ts @@ -1,6 +1,6 @@ import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Roles, Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -10,7 +10,7 @@ import { hasPermissionAsync } from '../../../authorization/server/functions/hasP import { hasRoleAsync } from '../../../authorization/server/functions/hasRole'; import { removeUserFromRoom } from '../functions/removeUserFromRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { leaveRoom(rid: string): Promise; diff --git a/apps/meteor/app/lib/server/methods/refreshOAuthService.ts b/apps/meteor/app/lib/server/methods/refreshOAuthService.ts index e5b1c377a33e..1d547b770361 100644 --- a/apps/meteor/app/lib/server/methods/refreshOAuthService.ts +++ b/apps/meteor/app/lib/server/methods/refreshOAuthService.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { refreshLoginServices } from '../../../../server/lib/refreshLoginServices'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { refreshOAuthService(): Promise; diff --git a/apps/meteor/app/lib/server/methods/removeOAuthService.ts b/apps/meteor/app/lib/server/methods/removeOAuthService.ts index 6e16dc8d2d5b..fee2caa911d2 100644 --- a/apps/meteor/app/lib/server/methods/removeOAuthService.ts +++ b/apps/meteor/app/lib/server/methods/removeOAuthService.ts @@ -1,13 +1,13 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; import { capitalize } from '@rocket.chat/string-helpers'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { notifyOnSettingChangedById } from '../lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeOAuthService(name: string): Promise; diff --git a/apps/meteor/app/lib/server/methods/restartServer.ts b/apps/meteor/app/lib/server/methods/restartServer.ts index 206824aebe7e..264ab4d1bee6 100644 --- a/apps/meteor/app/lib/server/methods/restartServer.ts +++ b/apps/meteor/app/lib/server/methods/restartServer.ts @@ -1,9 +1,9 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { restart_server(): { diff --git a/apps/meteor/app/lib/server/methods/saveCustomFields.ts b/apps/meteor/app/lib/server/methods/saveCustomFields.ts index a509c97bdb85..d683e59a905c 100644 --- a/apps/meteor/app/lib/server/methods/saveCustomFields.ts +++ b/apps/meteor/app/lib/server/methods/saveCustomFields.ts @@ -1,11 +1,11 @@ import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { saveCustomFields } from '../functions/saveCustomFields'; import { RateLimiter } from '../lib'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveCustomFields: (fields: IUser['customFields']) => Promise; diff --git a/apps/meteor/app/lib/server/methods/saveSetting.ts b/apps/meteor/app/lib/server/methods/saveSetting.ts index 7f900d1751d8..4f4d29b9fa24 100644 --- a/apps/meteor/app/lib/server/methods/saveSetting.ts +++ b/apps/meteor/app/lib/server/methods/saveSetting.ts @@ -1,6 +1,6 @@ import type { SettingValue } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { getSettingPermissionId } from '../../../authorization/lib'; import { hasPermissionAsync, hasAllPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { notifyOnSettingChanged } from '../lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveSetting(_id: string, value: SettingValue, editor?: string): Promise; diff --git a/apps/meteor/app/lib/server/methods/saveSettings.ts b/apps/meteor/app/lib/server/methods/saveSettings.ts index 8c4f92cfb88f..dffa986b7217 100644 --- a/apps/meteor/app/lib/server/methods/saveSettings.ts +++ b/apps/meteor/app/lib/server/methods/saveSettings.ts @@ -1,7 +1,7 @@ import type { ISetting } from '@rocket.chat/core-typings'; import { isSettingCode } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -11,7 +11,7 @@ import { hasPermissionAsync } from '../../../authorization/server/functions/hasP import { settings } from '../../../settings/server'; import { notifyOnSettingChangedById } from '../lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveSettings( diff --git a/apps/meteor/app/lib/server/methods/sendMessage.ts b/apps/meteor/app/lib/server/methods/sendMessage.ts index a61ab499ce87..56009f15fede 100644 --- a/apps/meteor/app/lib/server/methods/sendMessage.ts +++ b/apps/meteor/app/lib/server/methods/sendMessage.ts @@ -1,7 +1,7 @@ import { api } from '@rocket.chat/core-services'; import type { AtLeast, IMessage, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import moment from 'moment'; @@ -111,7 +111,7 @@ export async function executeSendMessage(uid: IUser['_id'], message: AtLeast, previewUrls?: string[]): any; diff --git a/apps/meteor/app/lib/server/methods/sendSMTPTestEmail.ts b/apps/meteor/app/lib/server/methods/sendSMTPTestEmail.ts index 2ede129dd380..5a04032ad82e 100644 --- a/apps/meteor/app/lib/server/methods/sendSMTPTestEmail.ts +++ b/apps/meteor/app/lib/server/methods/sendSMTPTestEmail.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; import * as Mailer from '../../../mailer/server/api'; import { settings } from '../../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { sendSMTPTestEmail(): { diff --git a/apps/meteor/app/lib/server/methods/setAdminStatus.ts b/apps/meteor/app/lib/server/methods/setAdminStatus.ts index 42ffdc91f85e..300aa735b014 100644 --- a/apps/meteor/app/lib/server/methods/setAdminStatus.ts +++ b/apps/meteor/app/lib/server/methods/setAdminStatus.ts @@ -1,12 +1,12 @@ import { isUserFederated } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setAdminStatus(userId: string, admin?: boolean): void; diff --git a/apps/meteor/app/lib/server/methods/setEmail.ts b/apps/meteor/app/lib/server/methods/setEmail.ts index a172eba72555..26540db26b4c 100644 --- a/apps/meteor/app/lib/server/methods/setEmail.ts +++ b/apps/meteor/app/lib/server/methods/setEmail.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -6,7 +6,7 @@ import { settings } from '../../../settings/server'; import { setEmail } from '../functions/setEmail'; import { RateLimiter } from '../lib'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setEmail(email: string): string; diff --git a/apps/meteor/app/lib/server/methods/setRealName.ts b/apps/meteor/app/lib/server/methods/setRealName.ts index 2a55bd102172..f347eef1580e 100644 --- a/apps/meteor/app/lib/server/methods/setRealName.ts +++ b/apps/meteor/app/lib/server/methods/setRealName.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -6,7 +6,7 @@ import { settings } from '../../../settings/server'; import { setRealName } from '../functions/setRealName'; import { RateLimiter } from '../lib'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setRealName(name: string): string; diff --git a/apps/meteor/app/lib/server/methods/setUsername.ts b/apps/meteor/app/lib/server/methods/setUsername.ts index 900848f37783..58fac75ed3bd 100644 --- a/apps/meteor/app/lib/server/methods/setUsername.ts +++ b/apps/meteor/app/lib/server/methods/setUsername.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { setUsernameWithValidation } from '../functions/setUsername'; import { RateLimiter } from '../lib'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setUsername(username: string, param?: { joinDefaultChannelsSilenced?: boolean }): string; diff --git a/apps/meteor/app/lib/server/methods/unarchiveRoom.ts b/apps/meteor/app/lib/server/methods/unarchiveRoom.ts index 0f9349365f4f..74b74c11e54a 100644 --- a/apps/meteor/app/lib/server/methods/unarchiveRoom.ts +++ b/apps/meteor/app/lib/server/methods/unarchiveRoom.ts @@ -1,13 +1,13 @@ import { isRegisterUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { unarchiveRoom } from '../functions/unarchiveRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { unarchiveRoom(rid: string): Promise; diff --git a/apps/meteor/app/lib/server/methods/unblockUser.ts b/apps/meteor/app/lib/server/methods/unblockUser.ts index 6c8a9d486bab..2eec5a082109 100644 --- a/apps/meteor/app/lib/server/methods/unblockUser.ts +++ b/apps/meteor/app/lib/server/methods/unblockUser.ts @@ -1,9 +1,9 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { unblockUser({ rid, blocked }: { rid: string; blocked: string }): boolean; diff --git a/apps/meteor/app/lib/server/methods/updateMessage.ts b/apps/meteor/app/lib/server/methods/updateMessage.ts index 161a168a2cdc..aff5e563f666 100644 --- a/apps/meteor/app/lib/server/methods/updateMessage.ts +++ b/apps/meteor/app/lib/server/methods/updateMessage.ts @@ -1,6 +1,6 @@ import type { IEditedMessage, IMessage, IUser, AtLeast } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import moment from 'moment'; @@ -90,7 +90,7 @@ export async function executeUpdateMessage(uid: IUser['_id'], message: AtLeast; diff --git a/apps/meteor/app/livechat/server/methods/addManager.ts b/apps/meteor/app/livechat/server/methods/addManager.ts index 347c4f07d63f..a954d8111773 100644 --- a/apps/meteor/app/livechat/server/methods/addManager.ts +++ b/apps/meteor/app/livechat/server/methods/addManager.ts @@ -1,12 +1,12 @@ import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:addManager'(username: string): Promise; diff --git a/apps/meteor/app/livechat/server/methods/changeLivechatStatus.ts b/apps/meteor/app/livechat/server/methods/changeLivechatStatus.ts index 8ccfcd5ec468..f45588cad6d3 100644 --- a/apps/meteor/app/livechat/server/methods/changeLivechatStatus.ts +++ b/apps/meteor/app/livechat/server/methods/changeLivechatStatus.ts @@ -1,13 +1,13 @@ import { ILivechatAgentStatus } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat as LivechatTS } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:changeLivechatStatus'(params?: { status?: ILivechatAgentStatus; agentId?: string }): unknown; diff --git a/apps/meteor/app/livechat/server/methods/closeRoom.ts b/apps/meteor/app/livechat/server/methods/closeRoom.ts index 5fdf9e7d504f..19c8b2709389 100644 --- a/apps/meteor/app/livechat/server/methods/closeRoom.ts +++ b/apps/meteor/app/livechat/server/methods/closeRoom.ts @@ -1,6 +1,6 @@ import type { IOmnichannelRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users, LivechatRooms, Subscriptions as SubscriptionRaw } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; @@ -35,7 +35,7 @@ type LivechatCloseRoomOptions = Omit }; }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:closeRoom'(roomId: string, comment?: string, options?: CloseRoomOptions): void; diff --git a/apps/meteor/app/livechat/server/methods/discardTranscript.ts b/apps/meteor/app/livechat/server/methods/discardTranscript.ts index d46c8ffea35f..3265aa9c54d2 100644 --- a/apps/meteor/app/livechat/server/methods/discardTranscript.ts +++ b/apps/meteor/app/livechat/server/methods/discardTranscript.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:discardTranscript'(rid: string): boolean; diff --git a/apps/meteor/app/livechat/server/methods/getAgentData.ts b/apps/meteor/app/livechat/server/methods/getAgentData.ts index d32d24d7f7c1..5fe58560806e 100644 --- a/apps/meteor/app/livechat/server/methods/getAgentData.ts +++ b/apps/meteor/app/livechat/server/methods/getAgentData.ts @@ -1,13 +1,13 @@ import type { ILivechatAgent } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, LivechatRooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { settings } from '../../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getAgentData'(params: { diff --git a/apps/meteor/app/livechat/server/methods/getAgentOverviewData.ts b/apps/meteor/app/livechat/server/methods/getAgentOverviewData.ts index b5ea8dafe92c..819bac03c5b4 100644 --- a/apps/meteor/app/livechat/server/methods/getAgentOverviewData.ts +++ b/apps/meteor/app/livechat/server/methods/getAgentOverviewData.ts @@ -1,13 +1,13 @@ import type { ConversationData } from '@rocket.chat/core-services'; import { OmnichannelAnalytics } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getAgentOverviewData'(options: { chartOptions: { name: string } }): ConversationData | void; diff --git a/apps/meteor/app/livechat/server/methods/getAnalyticsChartData.ts b/apps/meteor/app/livechat/server/methods/getAnalyticsChartData.ts index 85c8e033b8f5..2ff682c1c39c 100644 --- a/apps/meteor/app/livechat/server/methods/getAnalyticsChartData.ts +++ b/apps/meteor/app/livechat/server/methods/getAnalyticsChartData.ts @@ -1,12 +1,12 @@ import type { ChartDataResult } from '@rocket.chat/core-services'; import { OmnichannelAnalytics } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getAnalyticsChartData'(options: { chartOptions: { name: string } }): ChartDataResult | void; diff --git a/apps/meteor/app/livechat/server/methods/getAnalyticsOverviewData.ts b/apps/meteor/app/livechat/server/methods/getAnalyticsOverviewData.ts index c9bb3d163457..9f56cfa57069 100644 --- a/apps/meteor/app/livechat/server/methods/getAnalyticsOverviewData.ts +++ b/apps/meteor/app/livechat/server/methods/getAnalyticsOverviewData.ts @@ -1,14 +1,14 @@ import type { AnalyticsOverviewDataResult } from '@rocket.chat/core-services'; import { OmnichannelAnalytics } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { settings } from '../../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getAnalyticsOverviewData'(options: { analyticsOptions: { name: string } }): AnalyticsOverviewDataResult[] | void; diff --git a/apps/meteor/app/livechat/server/methods/getCustomFields.ts b/apps/meteor/app/livechat/server/methods/getCustomFields.ts index ec0ac35d6c21..36dca08f0859 100644 --- a/apps/meteor/app/livechat/server/methods/getCustomFields.ts +++ b/apps/meteor/app/livechat/server/methods/getCustomFields.ts @@ -1,11 +1,11 @@ import type { ILivechatCustomField } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatCustomField } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getCustomFields'(): ILivechatCustomField[]; diff --git a/apps/meteor/app/livechat/server/methods/getDepartmentForwardRestrictions.ts b/apps/meteor/app/livechat/server/methods/getDepartmentForwardRestrictions.ts index b26d9706a8cd..2b891514d03e 100644 --- a/apps/meteor/app/livechat/server/methods/getDepartmentForwardRestrictions.ts +++ b/apps/meteor/app/livechat/server/methods/getDepartmentForwardRestrictions.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { callbacks } from '../../../../lib/callbacks'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getDepartmentForwardRestrictions'(departmentId: string): unknown; diff --git a/apps/meteor/app/livechat/server/methods/getFirstRoomMessage.ts b/apps/meteor/app/livechat/server/methods/getFirstRoomMessage.ts index 197898e8d2b2..d8accf7f84f5 100644 --- a/apps/meteor/app/livechat/server/methods/getFirstRoomMessage.ts +++ b/apps/meteor/app/livechat/server/methods/getFirstRoomMessage.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms, Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getFirstRoomMessage'(params: { rid: string }): unknown; diff --git a/apps/meteor/app/livechat/server/methods/getNextAgent.ts b/apps/meteor/app/livechat/server/methods/getNextAgent.ts index 53b8441cad2e..179f1f95dedf 100644 --- a/apps/meteor/app/livechat/server/methods/getNextAgent.ts +++ b/apps/meteor/app/livechat/server/methods/getNextAgent.ts @@ -1,6 +1,6 @@ import type { ILivechatAgent } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarn import { settings } from '../../../settings/server'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getNextAgent'(params: { diff --git a/apps/meteor/app/livechat/server/methods/getRoutingConfig.ts b/apps/meteor/app/livechat/server/methods/getRoutingConfig.ts index 364853a74511..02b2840f41cc 100644 --- a/apps/meteor/app/livechat/server/methods/getRoutingConfig.ts +++ b/apps/meteor/app/livechat/server/methods/getRoutingConfig.ts @@ -1,10 +1,10 @@ import type { OmichannelRoutingConfig } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { RoutingManager } from '../lib/RoutingManager'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getRoutingConfig'(): OmichannelRoutingConfig | undefined; diff --git a/apps/meteor/app/livechat/server/methods/getTagsList.ts b/apps/meteor/app/livechat/server/methods/getTagsList.ts index e9e467d243c8..b3efe5d026a3 100644 --- a/apps/meteor/app/livechat/server/methods/getTagsList.ts +++ b/apps/meteor/app/livechat/server/methods/getTagsList.ts @@ -1,11 +1,11 @@ import type { ILivechatTag } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { callbacks } from '../../../../lib/callbacks'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:getTagsList'(): ILivechatTag[]; diff --git a/apps/meteor/app/livechat/server/methods/loadHistory.ts b/apps/meteor/app/livechat/server/methods/loadHistory.ts index 373ede1a3610..1004f9dd604d 100644 --- a/apps/meteor/app/livechat/server/methods/loadHistory.ts +++ b/apps/meteor/app/livechat/server/methods/loadHistory.ts @@ -1,13 +1,13 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check, Match } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { loadMessageHistory } from '../../../lib/server/functions/loadMessageHistory'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:loadHistory'(params: { token: string; rid: string; end?: Date; limit?: number; ls: Date }): diff --git a/apps/meteor/app/livechat/server/methods/loginByToken.ts b/apps/meteor/app/livechat/server/methods/loginByToken.ts index cae23e6d16f7..3b82413e038a 100644 --- a/apps/meteor/app/livechat/server/methods/loginByToken.ts +++ b/apps/meteor/app/livechat/server/methods/loginByToken.ts @@ -1,10 +1,10 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:loginByToken'(token: string): { _id: string } | undefined; diff --git a/apps/meteor/app/livechat/server/methods/pageVisited.ts b/apps/meteor/app/livechat/server/methods/pageVisited.ts index c226a91de430..7c0864f27b74 100644 --- a/apps/meteor/app/livechat/server/methods/pageVisited.ts +++ b/apps/meteor/app/livechat/server/methods/pageVisited.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:pageVisited'(token: string, room: string, pageInfo: { title: string; location: { href: string }; change: string }): void; diff --git a/apps/meteor/app/livechat/server/methods/registerGuest.ts b/apps/meteor/app/livechat/server/methods/registerGuest.ts index 4a531d0c89e5..c6a119d91591 100644 --- a/apps/meteor/app/livechat/server/methods/registerGuest.ts +++ b/apps/meteor/app/livechat/server/methods/registerGuest.ts @@ -1,13 +1,13 @@ import type { ILivechatVisitor, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, Messages, LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { callbacks } from '../../../../lib/callbacks'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat as LivechatTyped } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:registerGuest'({ diff --git a/apps/meteor/app/livechat/server/methods/removeAgent.ts b/apps/meteor/app/livechat/server/methods/removeAgent.ts index 643ae696ada0..ebb57383784f 100644 --- a/apps/meteor/app/livechat/server/methods/removeAgent.ts +++ b/apps/meteor/app/livechat/server/methods/removeAgent.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeAgent'(username: string): boolean; diff --git a/apps/meteor/app/livechat/server/methods/removeAllClosedRooms.ts b/apps/meteor/app/livechat/server/methods/removeAllClosedRooms.ts index 9be699ae05ed..ba3939bb8573 100644 --- a/apps/meteor/app/livechat/server/methods/removeAllClosedRooms.ts +++ b/apps/meteor/app/livechat/server/methods/removeAllClosedRooms.ts @@ -1,14 +1,14 @@ import type { IOmnichannelRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Logger } from '@rocket.chat/logger'; import { LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { callbacks } from '../../../../lib/callbacks'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeAllClosedRooms'(departmentIds?: string[]): Promise; diff --git a/apps/meteor/app/livechat/server/methods/removeCustomField.ts b/apps/meteor/app/livechat/server/methods/removeCustomField.ts index 1d3e7c817738..ad02df582337 100644 --- a/apps/meteor/app/livechat/server/methods/removeCustomField.ts +++ b/apps/meteor/app/livechat/server/methods/removeCustomField.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatCustomField } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { DeleteResult } from 'mongodb'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeCustomField'(_id: string): DeleteResult; diff --git a/apps/meteor/app/livechat/server/methods/removeDepartment.ts b/apps/meteor/app/livechat/server/methods/removeDepartment.ts index 3c46f3a424d6..6e4b11c836f6 100644 --- a/apps/meteor/app/livechat/server/methods/removeDepartment.ts +++ b/apps/meteor/app/livechat/server/methods/removeDepartment.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { DeleteResult } from 'mongodb'; @@ -7,7 +7,7 @@ import { hasPermissionAsync } from '../../../authorization/server/functions/hasP import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { DepartmentHelper } from '../lib/Departments'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeDepartment'(_id: string): DeleteResult; diff --git a/apps/meteor/app/livechat/server/methods/removeManager.ts b/apps/meteor/app/livechat/server/methods/removeManager.ts index 4c003ff922bc..85a5f3076c8c 100644 --- a/apps/meteor/app/livechat/server/methods/removeManager.ts +++ b/apps/meteor/app/livechat/server/methods/removeManager.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeManager'(username: string): boolean; diff --git a/apps/meteor/app/livechat/server/methods/removeRoom.ts b/apps/meteor/app/livechat/server/methods/removeRoom.ts index db3fcf2c849f..751d51d4f019 100644 --- a/apps/meteor/app/livechat/server/methods/removeRoom.ts +++ b/apps/meteor/app/livechat/server/methods/removeRoom.ts @@ -1,12 +1,12 @@ import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeRoom'(rid: IRoom['_id']): void; diff --git a/apps/meteor/app/livechat/server/methods/removeTrigger.ts b/apps/meteor/app/livechat/server/methods/removeTrigger.ts index 69f3a4a2d80c..41d79d725176 100644 --- a/apps/meteor/app/livechat/server/methods/removeTrigger.ts +++ b/apps/meteor/app/livechat/server/methods/removeTrigger.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatTrigger } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeTrigger'(triggerId: string): boolean; diff --git a/apps/meteor/app/livechat/server/methods/requestTranscript.ts b/apps/meteor/app/livechat/server/methods/requestTranscript.ts index 5abf6a3b72e3..80cb3a9625fe 100644 --- a/apps/meteor/app/livechat/server/methods/requestTranscript.ts +++ b/apps/meteor/app/livechat/server/methods/requestTranscript.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -7,7 +7,7 @@ import { hasPermissionAsync } from '../../../authorization/server/functions/hasP import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:requestTranscript'(rid: string, email: string, subject: string): Promise; diff --git a/apps/meteor/app/livechat/server/methods/returnAsInquiry.ts b/apps/meteor/app/livechat/server/methods/returnAsInquiry.ts index 38b58b9d2d42..bf76519a5afb 100644 --- a/apps/meteor/app/livechat/server/methods/returnAsInquiry.ts +++ b/apps/meteor/app/livechat/server/methods/returnAsInquiry.ts @@ -1,13 +1,13 @@ import { Omnichannel } from '@rocket.chat/core-services'; import type { ILivechatDepartment, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:returnAsInquiry'(rid: IRoom['_id'], departmentID?: ILivechatDepartment['_id']): boolean; diff --git a/apps/meteor/app/livechat/server/methods/saveAgentInfo.ts b/apps/meteor/app/livechat/server/methods/saveAgentInfo.ts index 90d9815d4cf1..fe542b67156e 100644 --- a/apps/meteor/app/livechat/server/methods/saveAgentInfo.ts +++ b/apps/meteor/app/livechat/server/methods/saveAgentInfo.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { hasRoleAsync } from '../../../authorization/server/functions/hasRole'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveAgentInfo'(_id: string, agentData: Record, agentDepartments: string[]): unknown; diff --git a/apps/meteor/app/livechat/server/methods/saveAppearance.ts b/apps/meteor/app/livechat/server/methods/saveAppearance.ts index cac5d34264d2..619dae147708 100644 --- a/apps/meteor/app/livechat/server/methods/saveAppearance.ts +++ b/apps/meteor/app/livechat/server/methods/saveAppearance.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { notifyOnSettingChangedById } from '../../../lib/server/lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveAppearance'(settings: { _id: string; value: any }[]): Promise; diff --git a/apps/meteor/app/livechat/server/methods/saveBusinessHour.ts b/apps/meteor/app/livechat/server/methods/saveBusinessHour.ts index 2e3e64365649..9bf32697fae9 100644 --- a/apps/meteor/app/livechat/server/methods/saveBusinessHour.ts +++ b/apps/meteor/app/livechat/server/methods/saveBusinessHour.ts @@ -1,10 +1,10 @@ import type { ILivechatBusinessHour } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { businessHourManager } from '../business-hour'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveBusinessHour'(businessHourData: ILivechatBusinessHour): void; diff --git a/apps/meteor/app/livechat/server/methods/saveCustomField.ts b/apps/meteor/app/livechat/server/methods/saveCustomField.ts index 8a0435560dd5..c83148ba8d29 100644 --- a/apps/meteor/app/livechat/server/methods/saveCustomField.ts +++ b/apps/meteor/app/livechat/server/methods/saveCustomField.ts @@ -1,12 +1,12 @@ import type { ILivechatCustomField } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatCustomField } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveCustomField'( diff --git a/apps/meteor/app/livechat/server/methods/saveDepartment.ts b/apps/meteor/app/livechat/server/methods/saveDepartment.ts index 971c2189f9a7..b4833523ab3f 100644 --- a/apps/meteor/app/livechat/server/methods/saveDepartment.ts +++ b/apps/meteor/app/livechat/server/methods/saveDepartment.ts @@ -1,11 +1,11 @@ import type { ILivechatDepartment } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveDepartment': ( diff --git a/apps/meteor/app/livechat/server/methods/saveDepartmentAgents.ts b/apps/meteor/app/livechat/server/methods/saveDepartmentAgents.ts index 73a471869926..42ee521713c0 100644 --- a/apps/meteor/app/livechat/server/methods/saveDepartmentAgents.ts +++ b/apps/meteor/app/livechat/server/methods/saveDepartmentAgents.ts @@ -1,12 +1,12 @@ import type { ILivechatDepartmentAgents } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveDepartmentAgents'( diff --git a/apps/meteor/app/livechat/server/methods/saveInfo.ts b/apps/meteor/app/livechat/server/methods/saveInfo.ts index a057706fdc23..bb22c127effa 100644 --- a/apps/meteor/app/livechat/server/methods/saveInfo.ts +++ b/apps/meteor/app/livechat/server/methods/saveInfo.ts @@ -1,6 +1,6 @@ import { isOmnichannelRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { hasPermissionAsync } from '../../../authorization/server/functions/hasP import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat as LivechatTyped } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveInfo'( diff --git a/apps/meteor/app/livechat/server/methods/saveIntegration.ts b/apps/meteor/app/livechat/server/methods/saveIntegration.ts index de7461d08e10..0a4d82cfbcc1 100644 --- a/apps/meteor/app/livechat/server/methods/saveIntegration.ts +++ b/apps/meteor/app/livechat/server/methods/saveIntegration.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { trim } from '../../../../lib/utils/stringUtils'; @@ -7,7 +7,7 @@ import { hasPermissionAsync } from '../../../authorization/server/functions/hasP import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { notifyOnSettingChangedById } from '../../../lib/server/lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveIntegration'(values: Record): void; diff --git a/apps/meteor/app/livechat/server/methods/saveSurveyFeedback.ts b/apps/meteor/app/livechat/server/methods/saveSurveyFeedback.ts index 48dea8175ea8..36fc3f775b9f 100644 --- a/apps/meteor/app/livechat/server/methods/saveSurveyFeedback.ts +++ b/apps/meteor/app/livechat/server/methods/saveSurveyFeedback.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms, LivechatVisitors } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { UpdateResult } from 'mongodb'; @@ -7,7 +7,7 @@ import _ from 'underscore'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveSurveyFeedback'( diff --git a/apps/meteor/app/livechat/server/methods/saveTrigger.ts b/apps/meteor/app/livechat/server/methods/saveTrigger.ts index 37f78d081203..850dead9a589 100644 --- a/apps/meteor/app/livechat/server/methods/saveTrigger.ts +++ b/apps/meteor/app/livechat/server/methods/saveTrigger.ts @@ -1,13 +1,13 @@ import type { ILivechatTrigger } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatTrigger } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveTrigger'(trigger: ILivechatTrigger): boolean; diff --git a/apps/meteor/app/livechat/server/methods/searchAgent.ts b/apps/meteor/app/livechat/server/methods/searchAgent.ts index 2a69679f2a07..932eb51e89d6 100644 --- a/apps/meteor/app/livechat/server/methods/searchAgent.ts +++ b/apps/meteor/app/livechat/server/methods/searchAgent.ts @@ -1,12 +1,12 @@ import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:searchAgent'(username: string): { _id: string; username?: string } | undefined; diff --git a/apps/meteor/app/livechat/server/methods/sendFileLivechatMessage.ts b/apps/meteor/app/livechat/server/methods/sendFileLivechatMessage.ts index 15577abd76e3..0268207b2f6c 100644 --- a/apps/meteor/app/livechat/server/methods/sendFileLivechatMessage.ts +++ b/apps/meteor/app/livechat/server/methods/sendFileLivechatMessage.ts @@ -5,9 +5,9 @@ import type { VideoAttachmentProps, IUpload, } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, LivechatRooms } from '@rocket.chat/models'; import { Random } from '@rocket.chat/random'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -21,7 +21,7 @@ interface ISendFileLivechatMessage { msgData?: { avatar?: string; emoji?: string; alias?: string; groupable?: boolean; msg?: string }; } -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { sendFileLivechatMessage( diff --git a/apps/meteor/app/livechat/server/methods/sendMessageLivechat.ts b/apps/meteor/app/livechat/server/methods/sendMessageLivechat.ts index ad16dea23e4f..6fac80397906 100644 --- a/apps/meteor/app/livechat/server/methods/sendMessageLivechat.ts +++ b/apps/meteor/app/livechat/server/methods/sendMessageLivechat.ts @@ -1,6 +1,6 @@ import { OmnichannelSourceType } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -18,7 +18,7 @@ interface ISendMessageLivechat { agent?: ILivechatMessageAgent; } -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { sendMessageLivechat(message: ILivechatMessage, agent: ILivechatMessageAgent): boolean; diff --git a/apps/meteor/app/livechat/server/methods/sendOfflineMessage.ts b/apps/meteor/app/livechat/server/methods/sendOfflineMessage.ts index c3b5537f31be..b620aa434100 100644 --- a/apps/meteor/app/livechat/server/methods/sendOfflineMessage.ts +++ b/apps/meteor/app/livechat/server/methods/sendOfflineMessage.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; @@ -6,7 +6,7 @@ import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:sendOfflineMessage'(data: { name: string; email: string; message: string }): Promise; diff --git a/apps/meteor/app/livechat/server/methods/sendTranscript.ts b/apps/meteor/app/livechat/server/methods/sendTranscript.ts index 366a73c8bb0a..4891f579926a 100644 --- a/apps/meteor/app/livechat/server/methods/sendTranscript.ts +++ b/apps/meteor/app/livechat/server/methods/sendTranscript.ts @@ -1,6 +1,6 @@ import { Omnichannel } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -8,7 +8,7 @@ import { hasPermissionAsync } from '../../../authorization/server/functions/hasP import { RateLimiter } from '../../../lib/server'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:sendTranscript'(token: string, rid: string, email: string, subject: string): boolean; diff --git a/apps/meteor/app/livechat/server/methods/setCustomField.ts b/apps/meteor/app/livechat/server/methods/setCustomField.ts index fb07c2b29a4e..6d3a2384cdd7 100644 --- a/apps/meteor/app/livechat/server/methods/setCustomField.ts +++ b/apps/meteor/app/livechat/server/methods/setCustomField.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, LivechatCustomField, LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import type { UpdateResult, Document } from 'mongodb'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:setCustomField'(token: string, key: string, value: string, overwrite?: boolean): Promise; diff --git a/apps/meteor/app/livechat/server/methods/setDepartmentForVisitor.ts b/apps/meteor/app/livechat/server/methods/setDepartmentForVisitor.ts index a14933ed8d47..385f2d989015 100644 --- a/apps/meteor/app/livechat/server/methods/setDepartmentForVisitor.ts +++ b/apps/meteor/app/livechat/server/methods/setDepartmentForVisitor.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, Messages, LivechatRooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -7,7 +7,7 @@ import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarn import { normalizeTransferredByData } from '../lib/Helper'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:setDepartmentForVisitor'({ diff --git a/apps/meteor/app/livechat/server/methods/setUpConnection.ts b/apps/meteor/app/livechat/server/methods/setUpConnection.ts index 788b2384c4d3..21ce09acaa22 100644 --- a/apps/meteor/app/livechat/server/methods/setUpConnection.ts +++ b/apps/meteor/app/livechat/server/methods/setUpConnection.ts @@ -1,11 +1,11 @@ import { UserStatus } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:setUpConnection'(data: { token: string }): void; diff --git a/apps/meteor/app/livechat/server/methods/takeInquiry.ts b/apps/meteor/app/livechat/server/methods/takeInquiry.ts index 30a5dabb5717..733cbd995208 100644 --- a/apps/meteor/app/livechat/server/methods/takeInquiry.ts +++ b/apps/meteor/app/livechat/server/methods/takeInquiry.ts @@ -1,13 +1,13 @@ import { Omnichannel } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatInquiry, LivechatRooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { settings } from '../../../settings/server'; import { RoutingManager } from '../lib/RoutingManager'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:takeInquiry'( diff --git a/apps/meteor/app/livechat/server/methods/transfer.ts b/apps/meteor/app/livechat/server/methods/transfer.ts index 64a32c24638c..e0516fa27981 100644 --- a/apps/meteor/app/livechat/server/methods/transfer.ts +++ b/apps/meteor/app/livechat/server/methods/transfer.ts @@ -1,7 +1,7 @@ import { Omnichannel } from '@rocket.chat/core-services'; import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, LivechatRooms, Subscriptions, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -10,7 +10,7 @@ import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarn import { normalizeTransferredByData } from '../lib/Helper'; import { Livechat } from '../lib/LivechatTyped'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:transfer'(transferData: { diff --git a/apps/meteor/app/livechat/server/methods/webhookTest.ts b/apps/meteor/app/livechat/server/methods/webhookTest.ts index 12a4711d75b4..68800e1a0616 100644 --- a/apps/meteor/app/livechat/server/methods/webhookTest.ts +++ b/apps/meteor/app/livechat/server/methods/webhookTest.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { serverFetch as fetch } from '@rocket.chat/server-fetch'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { SystemLogger } from '../../../../server/lib/logger/system'; @@ -14,7 +14,7 @@ const postCatchError = async function (url: string, options?: Record; diff --git a/apps/meteor/app/mail-messages/server/methods/sendMail.ts b/apps/meteor/app/mail-messages/server/methods/sendMail.ts index 158d271d5379..cc6469544df8 100644 --- a/apps/meteor/app/mail-messages/server/methods/sendMail.ts +++ b/apps/meteor/app/mail-messages/server/methods/sendMail.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Mailer } from '../lib/Mailer'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'Mailer.sendMail'(from: string, subject: string, body: string, dryrun?: boolean, query?: string): any; diff --git a/apps/meteor/app/mail-messages/server/methods/unsubscribe.ts b/apps/meteor/app/mail-messages/server/methods/unsubscribe.ts index 24243cc98c2d..e52677b5ee1a 100644 --- a/apps/meteor/app/mail-messages/server/methods/unsubscribe.ts +++ b/apps/meteor/app/mail-messages/server/methods/unsubscribe.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; import { Mailer } from '../lib/Mailer'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'Mailer:unsubscribe'(_id: string, createdAt: string): Promise; diff --git a/apps/meteor/app/mentions/server/methods/getUserMentionsByChannel.ts b/apps/meteor/app/mentions/server/methods/getUserMentionsByChannel.ts index 948187d089ae..6d9a16539704 100644 --- a/apps/meteor/app/mentions/server/methods/getUserMentionsByChannel.ts +++ b/apps/meteor/app/mentions/server/methods/getUserMentionsByChannel.ts @@ -1,12 +1,12 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Users, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync } from '../../../authorization/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getUserMentionsByChannel(params: { roomId: string; options: { limit: number; sort: { ts: -1 | 1 } } }): IMessage[]; diff --git a/apps/meteor/app/message-mark-as-unread/server/unreadMessages.ts b/apps/meteor/app/message-mark-as-unread/server/unreadMessages.ts index 2ba0224a0c70..6ef1f5567a20 100644 --- a/apps/meteor/app/message-mark-as-unread/server/unreadMessages.ts +++ b/apps/meteor/app/message-mark-as-unread/server/unreadMessages.ts @@ -1,11 +1,11 @@ import type { IMessage, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import logger from './logger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { unreadMessages(firstUnreadMessage?: IMessage, room?: IRoom['_id']): void; diff --git a/apps/meteor/app/message-pin/server/pinMessage.ts b/apps/meteor/app/message-pin/server/pinMessage.ts index b53c4ed572b9..f691a775cb6a 100644 --- a/apps/meteor/app/message-pin/server/pinMessage.ts +++ b/apps/meteor/app/message-pin/server/pinMessage.ts @@ -2,8 +2,8 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import { Message } from '@rocket.chat/core-services'; import { isQuoteAttachment, isRegisterUser } from '@rocket.chat/core-typings'; import type { IMessage, MessageAttachment, MessageQuoteAttachment } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Rooms, Subscriptions, Users, ReadReceipts } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -35,7 +35,7 @@ const recursiveRemove = (msg: MessageAttachment, deep = 1) => { const shouldAdd = (attachments: MessageAttachment[], attachment: MessageQuoteAttachment) => !attachments.some((_attachment) => isQuoteAttachment(_attachment) && _attachment.message_link === attachment.message_link); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { pinMessage(message: IMessage, pinnedAt?: Date): IMessage | null; diff --git a/apps/meteor/app/message-star/server/starMessage.ts b/apps/meteor/app/message-star/server/starMessage.ts index 048fbdaca01b..36c67c1f4020 100644 --- a/apps/meteor/app/message-star/server/starMessage.ts +++ b/apps/meteor/app/message-star/server/starMessage.ts @@ -1,7 +1,7 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync, roomAccessAttributes } from '../../authorization/server'; @@ -9,7 +9,7 @@ import { isTheLastMessage } from '../../lib/server/functions/isTheLastMessage'; import { notifyOnRoomChangedById, notifyOnMessageChange } from '../../lib/server/lib/notifyListener'; import { settings } from '../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { starMessage(message: Omit & { starred: boolean }): boolean; diff --git a/apps/meteor/app/meteor-accounts-saml/server/methods/addSamlService.ts b/apps/meteor/app/meteor-accounts-saml/server/methods/addSamlService.ts index f952ce3b3fe3..0b6b5a6c8f6e 100644 --- a/apps/meteor/app/meteor-accounts-saml/server/methods/addSamlService.ts +++ b/apps/meteor/app/meteor-accounts-saml/server/methods/addSamlService.ts @@ -1,9 +1,9 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { addSamlService } from '../lib/settings'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addSamlService(name: string): void; diff --git a/apps/meteor/app/meteor-accounts-saml/server/methods/samlLogout.ts b/apps/meteor/app/meteor-accounts-saml/server/methods/samlLogout.ts index 956426082d40..a7f9e87a93de 100644 --- a/apps/meteor/app/meteor-accounts-saml/server/methods/samlLogout.ts +++ b/apps/meteor/app/meteor-accounts-saml/server/methods/samlLogout.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import type { IServiceProviderOptions } from '../definition/IServiceProviderOptions'; @@ -25,7 +25,7 @@ function getSamlServiceProviderOptions(provider: string): IServiceProviderOption return providers.filter(samlProvider)[0]; } -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { samlLogout(provider: string): string | undefined; diff --git a/apps/meteor/app/notifications/server/lib/Notifications.ts b/apps/meteor/app/notifications/server/lib/Notifications.ts index ed4985777414..3ddb611d76bd 100644 --- a/apps/meteor/app/notifications/server/lib/Notifications.ts +++ b/apps/meteor/app/notifications/server/lib/Notifications.ts @@ -1,5 +1,5 @@ import { api } from '@rocket.chat/core-services'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { DDPCommon } from 'meteor/ddp-common'; import { Meteor } from 'meteor/meteor'; diff --git a/apps/meteor/app/notifications/server/lib/Presence.ts b/apps/meteor/app/notifications/server/lib/Presence.ts index 9955b687701f..17f35a9d39ff 100644 --- a/apps/meteor/app/notifications/server/lib/Presence.ts +++ b/apps/meteor/app/notifications/server/lib/Presence.ts @@ -1,6 +1,6 @@ import type { IUser } from '@rocket.chat/core-typings'; +import type { StreamerEvents } from '@rocket.chat/ddp-client'; import { Emitter } from '@rocket.chat/emitter'; -import type { StreamerEvents } from '@rocket.chat/ui-contexts'; import type { IPublication, IStreamerConstructor, Connection, IStreamer } from 'meteor/rocketchat:streamer'; type UserPresenceStreamProps = { diff --git a/apps/meteor/app/oauth2-server-config/server/admin/methods/addOAuthApp.ts b/apps/meteor/app/oauth2-server-config/server/admin/methods/addOAuthApp.ts index 4556a5be7d9f..3f41b1b01bea 100644 --- a/apps/meteor/app/oauth2-server-config/server/admin/methods/addOAuthApp.ts +++ b/apps/meteor/app/oauth2-server-config/server/admin/methods/addOAuthApp.ts @@ -1,12 +1,12 @@ import type { IOAuthApps } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import type { OauthAppsAddParams } from '@rocket.chat/rest-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../../lib/server/lib/deprecationWarningLogger'; import { addOAuthApp } from '../functions/addOAuthApp'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addOAuthApp(application: OauthAppsAddParams): IOAuthApps; diff --git a/apps/meteor/app/oauth2-server-config/server/admin/methods/deleteOAuthApp.ts b/apps/meteor/app/oauth2-server-config/server/admin/methods/deleteOAuthApp.ts index 0209f9d453b5..9c5cbf6fd9ae 100644 --- a/apps/meteor/app/oauth2-server-config/server/admin/methods/deleteOAuthApp.ts +++ b/apps/meteor/app/oauth2-server-config/server/admin/methods/deleteOAuthApp.ts @@ -1,11 +1,11 @@ import type { IOAuthApps } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { OAuthAccessTokens, OAuthApps, OAuthAuthCodes } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteOAuthApp(applicationId: IOAuthApps['_id']): boolean; diff --git a/apps/meteor/app/oauth2-server-config/server/admin/methods/updateOAuthApp.ts b/apps/meteor/app/oauth2-server-config/server/admin/methods/updateOAuthApp.ts index 525d0fa2d124..f2daca1885c9 100644 --- a/apps/meteor/app/oauth2-server-config/server/admin/methods/updateOAuthApp.ts +++ b/apps/meteor/app/oauth2-server-config/server/admin/methods/updateOAuthApp.ts @@ -1,12 +1,12 @@ import type { IOAuthApps } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { OAuthApps, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../authorization/server/functions/hasPermission'; import { parseUriList } from '../functions/parseUriList'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { updateOAuthApp( diff --git a/apps/meteor/app/otr/server/methods/deleteOldOTRMessages.ts b/apps/meteor/app/otr/server/methods/deleteOldOTRMessages.ts index a994b19dd1a4..1b57c65b4bb7 100644 --- a/apps/meteor/app/otr/server/methods/deleteOldOTRMessages.ts +++ b/apps/meteor/app/otr/server/methods/deleteOldOTRMessages.ts @@ -1,9 +1,9 @@ import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Subscriptions, ReadReceipts } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteOldOTRMessages(roomId: IRoom['_id']): Promise; diff --git a/apps/meteor/app/otr/server/methods/sendSystemMessages.ts b/apps/meteor/app/otr/server/methods/sendSystemMessages.ts index a2abf0938b9e..13abbd7511af 100644 --- a/apps/meteor/app/otr/server/methods/sendSystemMessages.ts +++ b/apps/meteor/app/otr/server/methods/sendSystemMessages.ts @@ -1,7 +1,7 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { sendSystemMessages(rid: string, user: string | undefined, id: string): void; diff --git a/apps/meteor/app/otr/server/methods/updateOTRAck.ts b/apps/meteor/app/otr/server/methods/updateOTRAck.ts index a5a502ddf1a2..4fbd182e9d27 100644 --- a/apps/meteor/app/otr/server/methods/updateOTRAck.ts +++ b/apps/meteor/app/otr/server/methods/updateOTRAck.ts @@ -1,9 +1,9 @@ import { api } from '@rocket.chat/core-services'; import type { IOTRMessage } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { updateOTRAck({ message, ack }: { message: IOTRMessage; ack: string }): void; diff --git a/apps/meteor/app/push-notifications/server/methods/saveNotificationSettings.ts b/apps/meteor/app/push-notifications/server/methods/saveNotificationSettings.ts index a4376c709275..a86ded6f24e5 100644 --- a/apps/meteor/app/push-notifications/server/methods/saveNotificationSettings.ts +++ b/apps/meteor/app/push-notifications/server/methods/saveNotificationSettings.ts @@ -1,6 +1,6 @@ import type { ISubscription } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { getUserNotificationPreference } from '../../../utils/server/getUserNoti const saveAudioNotificationValue = (subId: ISubscription['_id'], value: string) => value === 'default' ? Subscriptions.clearAudioNotificationValueById(subId) : Subscriptions.updateAudioNotificationValueById(subId, value); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveNotificationSettings( diff --git a/apps/meteor/app/push/server/methods.ts b/apps/meteor/app/push/server/methods.ts index 364a16cbdb5e..1f1e261eccae 100644 --- a/apps/meteor/app/push/server/methods.ts +++ b/apps/meteor/app/push/server/methods.ts @@ -1,7 +1,7 @@ import type { IAppsTokens } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { AppsTokens } from '@rocket.chat/models'; import { Random } from '@rocket.chat/random'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { Meteor } from 'meteor/meteor'; import { logger } from './logger'; import { _matchToken } from './push'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'raix:push-update'(options: { diff --git a/apps/meteor/app/reactions/client/methods/setReaction.ts b/apps/meteor/app/reactions/client/methods/setReaction.ts index a38e6c156790..ed15cda9ab8e 100644 --- a/apps/meteor/app/reactions/client/methods/setReaction.ts +++ b/apps/meteor/app/reactions/client/methods/setReaction.ts @@ -1,5 +1,5 @@ import type { IMessage, IRoom } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { roomCoordinator } from '../../../../client/lib/rooms/roomCoordinator'; diff --git a/apps/meteor/app/reactions/server/setReaction.ts b/apps/meteor/app/reactions/server/setReaction.ts index e935e042b184..e35103e9d333 100644 --- a/apps/meteor/app/reactions/server/setReaction.ts +++ b/apps/meteor/app/reactions/server/setReaction.ts @@ -1,8 +1,8 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import { api } from '@rocket.chat/core-services'; import type { IMessage, IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, EmojiCustom, Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import _ from 'underscore'; @@ -139,7 +139,7 @@ export async function executeSetReaction(userId: string, reaction: string, messa return setReaction(room, user, message, reaction, shouldReact); } -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setReaction(reaction: string, messageId: IMessage['_id'], shouldReact?: boolean): boolean | undefined; diff --git a/apps/meteor/app/search/server/methods.ts b/apps/meteor/app/search/server/methods.ts index 686b5b429e96..cdb3b4180f7a 100644 --- a/apps/meteor/app/search/server/methods.ts +++ b/apps/meteor/app/search/server/methods.ts @@ -1,12 +1,12 @@ import type { IMessageSearchProvider, IMessageSearchSuggestion, IRoom, IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { SearchLogger } from './logger/logger'; import type { IRawSearchResult, ISearchResult } from './model/ISearchResult'; import { searchProviderService, validationService } from './service'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'rocketchatSearch.getProvider'(): IMessageSearchProvider | undefined; diff --git a/apps/meteor/app/slackbridge/server/removeChannelLinks.ts b/apps/meteor/app/slackbridge/server/removeChannelLinks.ts index 1a4e6f6a0096..2c89e71f9635 100644 --- a/apps/meteor/app/slackbridge/server/removeChannelLinks.ts +++ b/apps/meteor/app/slackbridge/server/removeChannelLinks.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../authorization/server/functions/hasPermission'; import { settings } from '../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeSlackBridgeChannelLinks(): { message: string; params: unknown[] }; diff --git a/apps/meteor/app/statistics/server/methods/getStatistics.ts b/apps/meteor/app/statistics/server/methods/getStatistics.ts index c7eb79b5b985..a804ef83584e 100644 --- a/apps/meteor/app/statistics/server/methods/getStatistics.ts +++ b/apps/meteor/app/statistics/server/methods/getStatistics.ts @@ -1,10 +1,10 @@ import type { IStats } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { getLastStatistics } from '../functions/getLastStatistics'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getStatistics(refresh?: boolean): IStats; diff --git a/apps/meteor/app/threads/server/methods/followMessage.ts b/apps/meteor/app/threads/server/methods/followMessage.ts index 05650d0ad2ef..1790e0607a62 100644 --- a/apps/meteor/app/threads/server/methods/followMessage.ts +++ b/apps/meteor/app/threads/server/methods/followMessage.ts @@ -1,7 +1,7 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -10,7 +10,7 @@ import { RateLimiter } from '../../../lib/server'; import { settings } from '../../../settings/server'; import { follow } from '../functions'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { followMessage(message: { mid: IMessage['_id'] }): false | undefined; diff --git a/apps/meteor/app/threads/server/methods/getThreadMessages.ts b/apps/meteor/app/threads/server/methods/getThreadMessages.ts index d6c2d65ff4d4..8ae31130df1b 100644 --- a/apps/meteor/app/threads/server/methods/getThreadMessages.ts +++ b/apps/meteor/app/threads/server/methods/getThreadMessages.ts @@ -1,6 +1,6 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { callbacks } from '../../../../lib/callbacks'; @@ -8,7 +8,7 @@ import { canAccessRoomAsync } from '../../../authorization/server'; import { settings } from '../../../settings/server'; import { readThread } from '../functions'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getThreadMessages(params: { tmid: IMessage['_id']; limit?: number; skip?: number }): Promise; diff --git a/apps/meteor/app/threads/server/methods/getThreadsList.ts b/apps/meteor/app/threads/server/methods/getThreadsList.ts index 5a33dc16280b..c51449ff2d4d 100644 --- a/apps/meteor/app/threads/server/methods/getThreadsList.ts +++ b/apps/meteor/app/threads/server/methods/getThreadsList.ts @@ -1,6 +1,6 @@ import type { IMessage, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync } from '../../../authorization/server'; @@ -8,7 +8,7 @@ import { settings } from '../../../settings/server'; const MAX_LIMIT = 100; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getThreadsList(params: { rid: IRoom['_id']; limit?: number; skip?: number }): IMessage[]; diff --git a/apps/meteor/app/threads/server/methods/unfollowMessage.ts b/apps/meteor/app/threads/server/methods/unfollowMessage.ts index afc9206b038f..6371f40af6cb 100644 --- a/apps/meteor/app/threads/server/methods/unfollowMessage.ts +++ b/apps/meteor/app/threads/server/methods/unfollowMessage.ts @@ -1,7 +1,7 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -10,7 +10,7 @@ import { RateLimiter } from '../../../lib/server'; import { settings } from '../../../settings/server'; import { unfollow } from '../functions'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { unfollowMessage(message: { mid: IMessage['_id'] }): false | undefined; diff --git a/apps/meteor/app/ui-cached-collection/client/models/CachedCollection.ts b/apps/meteor/app/ui-cached-collection/client/models/CachedCollection.ts index 545e1e73342d..602a0eddb8ce 100644 --- a/apps/meteor/app/ui-cached-collection/client/models/CachedCollection.ts +++ b/apps/meteor/app/ui-cached-collection/client/models/CachedCollection.ts @@ -1,5 +1,5 @@ +import type { StreamNames } from '@rocket.chat/ddp-client'; import { Emitter } from '@rocket.chat/emitter'; -import type { StreamNames } from '@rocket.chat/ui-contexts'; import localforage from 'localforage'; import { Accounts } from 'meteor/accounts-base'; import { Meteor } from 'meteor/meteor'; diff --git a/apps/meteor/app/ui-cached-collection/client/models/CachedCollectionManager.ts b/apps/meteor/app/ui-cached-collection/client/models/CachedCollectionManager.ts index 52d6661d7061..b03115105841 100644 --- a/apps/meteor/app/ui-cached-collection/client/models/CachedCollectionManager.ts +++ b/apps/meteor/app/ui-cached-collection/client/models/CachedCollectionManager.ts @@ -11,12 +11,15 @@ class CachedCollectionManager extends Emitter<{ reconnect: void; login: string | private _syncEnabled: boolean; + private logged: boolean; + private step: number; constructor() { super(); this.items = []; this._syncEnabled = false; + this.logged = false; const { _unstoreLoginToken } = Accounts; Accounts._unstoreLoginToken = (...args) => { @@ -37,6 +40,14 @@ class CachedCollectionManager extends Emitter<{ reconnect: void; login: string | return connected && this.emit('reconnect'); } }); + + Accounts.onLogin(() => { + this.emit('login', Meteor.userId()); + }); + Tracker.autorun(() => { + const uid = Meteor.userId(); + this.logged = uid !== null; + }); } register(cachedCollection: CachedCollection) { @@ -69,7 +80,10 @@ class CachedCollectionManager extends Emitter<{ reconnect: void; login: string | } onLogin(cb: () => void) { - Accounts.onLogin(cb); + this.on('login', cb); + if (this.logged) { + cb(); + } } } diff --git a/apps/meteor/app/user-status/server/methods/deleteCustomUserStatus.ts b/apps/meteor/app/user-status/server/methods/deleteCustomUserStatus.ts index f58fa9551f4c..416bc6f678ed 100644 --- a/apps/meteor/app/user-status/server/methods/deleteCustomUserStatus.ts +++ b/apps/meteor/app/user-status/server/methods/deleteCustomUserStatus.ts @@ -1,11 +1,11 @@ import { api } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { CustomUserStatus } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteCustomUserStatus(userStatusID: string): Promise; diff --git a/apps/meteor/app/user-status/server/methods/getUserStatusText.ts b/apps/meteor/app/user-status/server/methods/getUserStatusText.ts index 5aa80627d562..911a69854b95 100644 --- a/apps/meteor/app/user-status/server/methods/getUserStatusText.ts +++ b/apps/meteor/app/user-status/server/methods/getUserStatusText.ts @@ -1,9 +1,9 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { getStatusText } from '../../../lib/server/functions/getStatusText'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getUserStatusText(userId: string): Promise; diff --git a/apps/meteor/app/user-status/server/methods/insertOrUpdateUserStatus.ts b/apps/meteor/app/user-status/server/methods/insertOrUpdateUserStatus.ts index b6a98895bc2c..6e034f030679 100644 --- a/apps/meteor/app/user-status/server/methods/insertOrUpdateUserStatus.ts +++ b/apps/meteor/app/user-status/server/methods/insertOrUpdateUserStatus.ts @@ -1,14 +1,14 @@ import { api } from '@rocket.chat/core-services'; import type { ICustomUserStatus } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import type { InsertionModel } from '@rocket.chat/model-typings'; import { CustomUserStatus } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { trim } from '../../../../lib/utils/stringUtils'; import { hasPermissionAsync } from '../../../authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { insertOrUpdateUserStatus(userStatusData: { diff --git a/apps/meteor/app/user-status/server/methods/listCustomUserStatus.ts b/apps/meteor/app/user-status/server/methods/listCustomUserStatus.ts index 3a962121d65c..d9a58f8b8c72 100644 --- a/apps/meteor/app/user-status/server/methods/listCustomUserStatus.ts +++ b/apps/meteor/app/user-status/server/methods/listCustomUserStatus.ts @@ -1,9 +1,9 @@ import type { ICustomUserStatus } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { CustomUserStatus } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { listCustomUserStatus(): ICustomUserStatus[]; diff --git a/apps/meteor/app/user-status/server/methods/setUserStatus.ts b/apps/meteor/app/user-status/server/methods/setUserStatus.ts index 32db93e722fb..0b40e7e37246 100644 --- a/apps/meteor/app/user-status/server/methods/setUserStatus.ts +++ b/apps/meteor/app/user-status/server/methods/setUserStatus.ts @@ -1,6 +1,6 @@ import { Presence } from '@rocket.chat/core-services'; import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -8,7 +8,7 @@ import { RateLimiter } from '../../../lib/server'; import { setStatusText } from '../../../lib/server/functions/setStatusText'; import { settings } from '../../../settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setUserStatus(statusType: IUser['status'], statusText: IUser['statusText']): void; diff --git a/apps/meteor/app/utils/client/lib/SDKClient.ts b/apps/meteor/app/utils/client/lib/SDKClient.ts index c174f9125f49..3c7e43c85f7c 100644 --- a/apps/meteor/app/utils/client/lib/SDKClient.ts +++ b/apps/meteor/app/utils/client/lib/SDKClient.ts @@ -1,15 +1,12 @@ import type { RestClientInterface } from '@rocket.chat/api-client'; -import type { SDK } from '@rocket.chat/ddp-client/src/DDPSDK'; -import type { ClientStream } from '@rocket.chat/ddp-client/src/types/ClientStream'; -import type { StreamKeys, StreamNames, StreamerCallbackArgs } from '@rocket.chat/ddp-client/src/types/streams'; +import type { SDK, ClientStream, StreamKeys, StreamNames, StreamerCallbackArgs, ServerMethods } from '@rocket.chat/ddp-client'; import { Emitter } from '@rocket.chat/emitter'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { DDPCommon } from 'meteor/ddp-common'; import { Meteor } from 'meteor/meteor'; import { APIClient } from './RestApiClient'; -declare module '@rocket.chat/ddp-client/src/DDPSDK' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface SDK { stream>( @@ -138,6 +135,12 @@ const createStreamManager = () => { const streams = new Map(); + Accounts.onLogout(() => { + streams.forEach((stream) => { + stream.unsubList.forEach((stop) => stop()); + }); + }); + Meteor.connection._stream.on('message', (rawMsg: string) => { const msg = DDPCommon.parseDDP(rawMsg); if (!isChangedCollectionPayload(msg)) { @@ -169,7 +172,6 @@ const createStreamManager = () => { const stop = (): void => { streamProxy.off(eventLiteral, proxyCallback); - // If someone is still listening, don't unsubscribe if (streamProxy.has(eventLiteral)) { return; @@ -182,11 +184,15 @@ const createStreamManager = () => { }; const stream = streams.get(eventLiteral) || createNewMeteorStream(name, key, args); + stream.unsubList.add(stop); if (!streams.has(eventLiteral)) { streams.set(eventLiteral, stream); } - stream.error(() => stop()); + + stream.error(() => { + stream.unsubList.forEach((stop) => stop()); + }); return { id: '', diff --git a/apps/meteor/app/utils/lib/slashCommand.ts b/apps/meteor/app/utils/lib/slashCommand.ts index f4e2cc1b359a..47149807bbd8 100644 --- a/apps/meteor/app/utils/lib/slashCommand.ts +++ b/apps/meteor/app/utils/lib/slashCommand.ts @@ -126,7 +126,7 @@ export const slashCommands = { }, }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { slashCommand(params: { cmd: string; params: string; msg: IMessage; triggerId: string }): unknown; diff --git a/apps/meteor/app/utils/server/slashCommand.ts b/apps/meteor/app/utils/server/slashCommand.ts index 74f2c5716cc4..dc85fee9b671 100644 --- a/apps/meteor/app/utils/server/slashCommand.ts +++ b/apps/meteor/app/utils/server/slashCommand.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { slashCommands } from '../lib/slashCommand'; diff --git a/apps/meteor/app/version-check/server/methods/banner_dismiss.ts b/apps/meteor/app/version-check/server/methods/banner_dismiss.ts index 5ffebcfbbd5a..a3bf337626f9 100644 --- a/apps/meteor/app/version-check/server/methods/banner_dismiss.ts +++ b/apps/meteor/app/version-check/server/methods/banner_dismiss.ts @@ -1,10 +1,10 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { notifyOnUserChange } from '../../../lib/server/lib/notifyListener'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'banner/dismiss'({ id }: { id: string }): void; diff --git a/apps/meteor/app/webdav/server/methods/addWebdavAccount.ts b/apps/meteor/app/webdav/server/methods/addWebdavAccount.ts index e2c9a9ddc324..2c3973649091 100644 --- a/apps/meteor/app/webdav/server/methods/addWebdavAccount.ts +++ b/apps/meteor/app/webdav/server/methods/addWebdavAccount.ts @@ -1,14 +1,14 @@ import { api } from '@rocket.chat/core-services'; import type { IWebdavAccountPayload } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { WebdavAccounts } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { settings } from '../../../settings/server'; import { WebdavClientAdapter } from '../lib/webdavClientAdapter'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addWebdavAccount(formData: IWebdavAccountPayload): boolean; diff --git a/apps/meteor/app/webdav/server/methods/getFileFromWebdav.ts b/apps/meteor/app/webdav/server/methods/getFileFromWebdav.ts index 346362935d87..38aeb0442c5c 100644 --- a/apps/meteor/app/webdav/server/methods/getFileFromWebdav.ts +++ b/apps/meteor/app/webdav/server/methods/getFileFromWebdav.ts @@ -1,15 +1,15 @@ import type { IWebdavAccount, IWebdavNode } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { WebdavAccounts } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { settings } from '../../../settings/server'; import { getWebdavCredentials } from '../lib/getWebdavCredentials'; import { WebdavClientAdapter } from '../lib/webdavClientAdapter'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention - export interface ServerMethods { + interface ServerMethods { getFileFromWebdav(accountId: IWebdavAccount['_id'], file: IWebdavNode): Promise<{ success: boolean; data: Uint8Array }>; } } diff --git a/apps/meteor/app/webdav/server/methods/getWebdavFileList.ts b/apps/meteor/app/webdav/server/methods/getWebdavFileList.ts index f4d944181928..66e924b719a2 100644 --- a/apps/meteor/app/webdav/server/methods/getWebdavFileList.ts +++ b/apps/meteor/app/webdav/server/methods/getWebdavFileList.ts @@ -1,13 +1,13 @@ import type { IWebdavAccount, IWebdavNode } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { WebdavAccounts } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { settings } from '../../../settings/server'; import { getWebdavCredentials } from '../lib/getWebdavCredentials'; import { WebdavClientAdapter } from '../lib/webdavClientAdapter'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getWebdavFileList(accountId: IWebdavAccount['_id'], path: string): { success: boolean; data: IWebdavNode[] }; diff --git a/apps/meteor/app/webdav/server/methods/getWebdavFilePreview.ts b/apps/meteor/app/webdav/server/methods/getWebdavFilePreview.ts index 1e01937a0e52..34077babf276 100644 --- a/apps/meteor/app/webdav/server/methods/getWebdavFilePreview.ts +++ b/apps/meteor/app/webdav/server/methods/getWebdavFilePreview.ts @@ -1,13 +1,13 @@ import type { IWebdavAccount } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { WebdavAccounts } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { createClient } from 'webdav'; import { settings } from '../../../settings/server'; import { getWebdavCredentials } from '../lib/getWebdavCredentials'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getWebdavFilePreview(accountId: IWebdavAccount['_id'], path: string): { success: true; data: ArrayBuffer } | undefined; diff --git a/apps/meteor/app/webdav/server/methods/removeWebdavAccount.ts b/apps/meteor/app/webdav/server/methods/removeWebdavAccount.ts index df6102297cc2..a68a14e29e40 100644 --- a/apps/meteor/app/webdav/server/methods/removeWebdavAccount.ts +++ b/apps/meteor/app/webdav/server/methods/removeWebdavAccount.ts @@ -1,14 +1,14 @@ import { api } from '@rocket.chat/core-services'; import type { IWebdavAccount } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { WebdavAccounts } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { DeleteResult } from 'mongodb'; import { methodDeprecationLogger } from '../../../lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeWebdavAccount(accountId: IWebdavAccount['_id']): DeleteResult; diff --git a/apps/meteor/app/webdav/server/methods/uploadFileToWebdav.ts b/apps/meteor/app/webdav/server/methods/uploadFileToWebdav.ts index 8a2e1badd27d..97bcf4632216 100644 --- a/apps/meteor/app/webdav/server/methods/uploadFileToWebdav.ts +++ b/apps/meteor/app/webdav/server/methods/uploadFileToWebdav.ts @@ -1,7 +1,8 @@ import { MeteorError } from '@rocket.chat/core-services'; import type { IWebdavAccount } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Logger } from '@rocket.chat/logger'; -import type { ServerMethods, TranslationKey } from '@rocket.chat/ui-contexts'; +import type { TranslationKey } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { settings } from '../../../settings/server'; @@ -9,7 +10,7 @@ import { uploadFileToWebdav } from '../lib/uploadFileToWebdav'; const logger = new Logger('WebDAV_Upload'); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { uploadFileToWebdav( diff --git a/apps/meteor/client/lib/utils/callWithErrorHandling.ts b/apps/meteor/client/lib/utils/callWithErrorHandling.ts index ebdb59a388e1..cd3c6c3748b5 100644 --- a/apps/meteor/client/lib/utils/callWithErrorHandling.ts +++ b/apps/meteor/client/lib/utils/callWithErrorHandling.ts @@ -1,4 +1,4 @@ -import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn } from '@rocket.chat/ui-contexts'; +import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn } from '@rocket.chat/ddp-client'; import { sdk } from '../../../app/utils/client/lib/SDKClient'; import { dispatchToastMessage } from '../toast'; diff --git a/apps/meteor/client/methods/hideRoom.ts b/apps/meteor/client/methods/hideRoom.ts index c7bb9317d71c..91cf2a3de04c 100644 --- a/apps/meteor/client/methods/hideRoom.ts +++ b/apps/meteor/client/methods/hideRoom.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { ChatSubscription } from '../../app/models/client'; diff --git a/apps/meteor/client/methods/openRoom.ts b/apps/meteor/client/methods/openRoom.ts index c449c154ec23..81a40989e696 100644 --- a/apps/meteor/client/methods/openRoom.ts +++ b/apps/meteor/client/methods/openRoom.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { ChatSubscription } from '../../app/models/client'; diff --git a/apps/meteor/client/methods/pinMessage.ts b/apps/meteor/client/methods/pinMessage.ts index 7b4247c71870..2fba64be2bf9 100644 --- a/apps/meteor/client/methods/pinMessage.ts +++ b/apps/meteor/client/methods/pinMessage.ts @@ -1,5 +1,5 @@ import type { IMessage } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { ChatMessage, ChatSubscription } from '../../app/models/client'; diff --git a/apps/meteor/client/methods/setUserActiveStatus.ts b/apps/meteor/client/methods/setUserActiveStatus.ts index 40370781129f..b6b9e0b778a7 100644 --- a/apps/meteor/client/methods/setUserActiveStatus.ts +++ b/apps/meteor/client/methods/setUserActiveStatus.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; Meteor.methods({ diff --git a/apps/meteor/client/methods/starMessage.ts b/apps/meteor/client/methods/starMessage.ts index d6d1a91aaca6..bfa74738e283 100644 --- a/apps/meteor/client/methods/starMessage.ts +++ b/apps/meteor/client/methods/starMessage.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { ChatMessage, ChatSubscription } from '../../app/models/client'; diff --git a/apps/meteor/client/methods/toggleFavorite.ts b/apps/meteor/client/methods/toggleFavorite.ts index 2df56e4731eb..5db56fa682f7 100644 --- a/apps/meteor/client/methods/toggleFavorite.ts +++ b/apps/meteor/client/methods/toggleFavorite.ts @@ -1,4 +1,4 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { ChatSubscription } from '../../app/models/client'; diff --git a/apps/meteor/client/methods/unpinMessage.ts b/apps/meteor/client/methods/unpinMessage.ts index 6c497d38ecc2..f05c07e5314d 100644 --- a/apps/meteor/client/methods/unpinMessage.ts +++ b/apps/meteor/client/methods/unpinMessage.ts @@ -1,5 +1,5 @@ import type { IMessage } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { ChatMessage, ChatSubscription } from '../../app/models/client'; diff --git a/apps/meteor/client/methods/updateMessage.ts b/apps/meteor/client/methods/updateMessage.ts index 719a036f870c..8efffbe73ee6 100644 --- a/apps/meteor/client/methods/updateMessage.ts +++ b/apps/meteor/client/methods/updateMessage.ts @@ -1,5 +1,5 @@ import type { IEditedMessage } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { Tracker } from 'meteor/tracker'; import moment from 'moment'; diff --git a/apps/meteor/client/providers/RouterProvider.tsx b/apps/meteor/client/providers/RouterProvider.tsx index d7fb25a1ed31..590c5f20da57 100644 --- a/apps/meteor/client/providers/RouterProvider.tsx +++ b/apps/meteor/client/providers/RouterProvider.tsx @@ -1,4 +1,5 @@ import type { RoomType, RoomRouteData } from '@rocket.chat/core-typings'; +import { RouterContext } from '@rocket.chat/ui-contexts'; import type { RouterContextValue, RouteName, @@ -7,9 +8,8 @@ import type { SearchParameters, To, RouteObject, + LocationSearch, } from '@rocket.chat/ui-contexts'; -import { RouterContext } from '@rocket.chat/ui-contexts'; -import type { LocationSearch } from '@rocket.chat/ui-contexts/src/RouterContext'; import { FlowRouter } from 'meteor/kadira:flow-router'; import { Tracker } from 'meteor/tracker'; import type { ReactNode } from 'react'; diff --git a/apps/meteor/client/providers/ServerProvider.tsx b/apps/meteor/client/providers/ServerProvider.tsx index 53ac92287f78..7bf442671f08 100644 --- a/apps/meteor/client/providers/ServerProvider.tsx +++ b/apps/meteor/client/providers/ServerProvider.tsx @@ -1,14 +1,14 @@ import type { Serialized } from '@rocket.chat/core-typings'; -import type { Method, PathFor, OperationParams, OperationResult, UrlParams, PathPattern } from '@rocket.chat/rest-typings'; import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn, StreamerCallbackArgs, - UploadResult, StreamNames, StreamKeys, -} from '@rocket.chat/ui-contexts'; +} from '@rocket.chat/ddp-client'; +import type { Method, PathFor, OperationParams, OperationResult, UrlParams, PathPattern } from '@rocket.chat/rest-typings'; +import type { UploadResult } from '@rocket.chat/ui-contexts'; import { ServerContext } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { compile } from 'path-to-regexp'; diff --git a/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx b/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx index fbf987fa78af..3d1c17dcebbe 100644 --- a/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx +++ b/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx @@ -1,7 +1,7 @@ import { css } from '@rocket.chat/css-in-js'; import { Box, SidebarDivider, Palette, SidebarFooter as Footer } from '@rocket.chat/fuselage'; import { useSetting } from '@rocket.chat/ui-contexts'; -import { useThemeMode } from '@rocket.chat/ui-theming/src/hooks/useThemeMode'; +import { useThemeMode } from '@rocket.chat/ui-theming'; import type { ReactElement } from 'react'; import React from 'react'; diff --git a/apps/meteor/client/sidebarv2/footer/SidebarFooterDefault.tsx b/apps/meteor/client/sidebarv2/footer/SidebarFooterDefault.tsx index fbf987fa78af..3d1c17dcebbe 100644 --- a/apps/meteor/client/sidebarv2/footer/SidebarFooterDefault.tsx +++ b/apps/meteor/client/sidebarv2/footer/SidebarFooterDefault.tsx @@ -1,7 +1,7 @@ import { css } from '@rocket.chat/css-in-js'; import { Box, SidebarDivider, Palette, SidebarFooter as Footer } from '@rocket.chat/fuselage'; import { useSetting } from '@rocket.chat/ui-contexts'; -import { useThemeMode } from '@rocket.chat/ui-theming/src/hooks/useThemeMode'; +import { useThemeMode } from '@rocket.chat/ui-theming'; import type { ReactElement } from 'react'; import React from 'react'; diff --git a/apps/meteor/client/stories/contexts/ServerContextMock.tsx b/apps/meteor/client/stories/contexts/ServerContextMock.tsx index 4a23d172ced2..2c9f835b35a5 100644 --- a/apps/meteor/client/stories/contexts/ServerContextMock.tsx +++ b/apps/meteor/client/stories/contexts/ServerContextMock.tsx @@ -1,6 +1,7 @@ import type { Serialized } from '@rocket.chat/core-typings'; +import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn } from '@rocket.chat/ddp-client'; import type { Method, OperationParams, OperationResult, PathFor, PathPattern } from '@rocket.chat/rest-typings'; -import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn, UploadResult } from '@rocket.chat/ui-contexts'; +import type { UploadResult } from '@rocket.chat/ui-contexts'; import { ServerContext } from '@rocket.chat/ui-contexts'; import { action } from '@storybook/addon-actions'; import type { ContextType, ReactElement, ReactNode } from 'react'; diff --git a/apps/meteor/client/views/account/accessibility/hooks/useAcessibilityPreferencesValues.ts b/apps/meteor/client/views/account/accessibility/hooks/useAcessibilityPreferencesValues.ts index 339cdcff7dd9..9620e4286eb5 100644 --- a/apps/meteor/client/views/account/accessibility/hooks/useAcessibilityPreferencesValues.ts +++ b/apps/meteor/client/views/account/accessibility/hooks/useAcessibilityPreferencesValues.ts @@ -1,6 +1,6 @@ +import type { ThemePreference } from '@rocket.chat/core-typings'; import type { FontSize } from '@rocket.chat/rest-typings'; import { useUserPreference } from '@rocket.chat/ui-contexts'; -import type { ThemePreference } from '@rocket.chat/ui-theming/src/types/themes'; export type AccessibilityPreferencesData = { themeAppearence?: ThemePreference; diff --git a/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.stories.tsx b/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.stories.tsx index 5c8a468eed80..d235d716d436 100644 --- a/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.stories.tsx +++ b/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.stories.tsx @@ -1,5 +1,6 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Field } from '@rocket.chat/fuselage'; -import type { ServerMethods, TranslationKey } from '@rocket.chat/ui-contexts'; +import type { TranslationKey } from '@rocket.chat/ui-contexts'; import type { ComponentMeta, ComponentStory } from '@storybook/react'; import React from 'react'; diff --git a/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.tsx b/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.tsx index 86c76c86f502..2f94048e3406 100644 --- a/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.tsx +++ b/apps/meteor/client/views/admin/settings/inputs/ActionSettingInput.tsx @@ -1,5 +1,6 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Button, FieldRow, FieldHint } from '@rocket.chat/fuselage'; -import type { ServerMethods, TranslationKey } from '@rocket.chat/ui-contexts'; +import type { TranslationKey } from '@rocket.chat/ui-contexts'; import { useMethod, useToastMessageDispatch, useTranslation } from '@rocket.chat/ui-contexts'; import type { ReactElement } from 'react'; import React from 'react'; diff --git a/apps/meteor/client/views/root/MainLayout/MainLayoutStyleTags.tsx b/apps/meteor/client/views/root/MainLayout/MainLayoutStyleTags.tsx index 662ee415fa26..c46111c5bcc4 100644 --- a/apps/meteor/client/views/root/MainLayout/MainLayoutStyleTags.tsx +++ b/apps/meteor/client/views/root/MainLayout/MainLayoutStyleTags.tsx @@ -1,5 +1,5 @@ import { PaletteStyleTag } from '@rocket.chat/fuselage'; -import { useThemeMode } from '@rocket.chat/ui-theming/src/hooks/useThemeMode'; +import { useThemeMode } from '@rocket.chat/ui-theming'; import React from 'react'; import { codeBlock } from '../lib/codeBlockStyles'; diff --git a/apps/meteor/definition/externals/meteor/meteor.d.ts b/apps/meteor/definition/externals/meteor/meteor.d.ts index 8aed1992c0cf..992595dc07bb 100644 --- a/apps/meteor/definition/externals/meteor/meteor.d.ts +++ b/apps/meteor/definition/externals/meteor/meteor.d.ts @@ -1,5 +1,5 @@ import 'meteor/meteor'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import type { IStreamerConstructor, IStreamer } from 'meteor/rocketchat:streamer'; type StringifyBuffers = { diff --git a/apps/meteor/ee/app/canned-responses/server/methods/removeCannedResponse.ts b/apps/meteor/ee/app/canned-responses/server/methods/removeCannedResponse.ts index 4185cf6356f5..dc0ab665063c 100644 --- a/apps/meteor/ee/app/canned-responses/server/methods/removeCannedResponse.ts +++ b/apps/meteor/ee/app/canned-responses/server/methods/removeCannedResponse.ts @@ -1,12 +1,12 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { CannedResponse } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import notifications from '../../../../../app/notifications/server/lib/Notifications'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeCannedResponse(_id: string): Promise; diff --git a/apps/meteor/ee/app/canned-responses/server/methods/saveCannedResponse.ts b/apps/meteor/ee/app/canned-responses/server/methods/saveCannedResponse.ts index 592ddaaf01da..96012a4367f1 100644 --- a/apps/meteor/ee/app/canned-responses/server/methods/saveCannedResponse.ts +++ b/apps/meteor/ee/app/canned-responses/server/methods/saveCannedResponse.ts @@ -1,13 +1,13 @@ import type { IOmnichannelCannedResponse, ILivechatDepartment } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatDepartment, CannedResponse, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import notifications from '../../../../../app/notifications/server/lib/Notifications'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveCannedResponse( diff --git a/apps/meteor/ee/app/license/server/methods.ts b/apps/meteor/ee/app/license/server/methods.ts index dbdfe7aea68c..3e0bcca67eb4 100644 --- a/apps/meteor/ee/app/license/server/methods.ts +++ b/apps/meteor/ee/app/license/server/methods.ts @@ -1,10 +1,10 @@ import { type ILicenseTag, type LicenseModule } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { License } from '@rocket.chat/license'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'license:hasLicense'(feature: string): boolean; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/addMonitor.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/addMonitor.ts index c4ff577fb326..6e6e5a7423d1 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/addMonitor.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/addMonitor.ts @@ -1,11 +1,11 @@ import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { LivechatEnterprise } from '../lib/LivechatEnterprise'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:addMonitor'(username: string): boolean | IUser; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/getUnitsFromUserRoles.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/getUnitsFromUserRoles.ts index 18ed1b1ea646..d32064fdd96c 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/getUnitsFromUserRoles.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/getUnitsFromUserRoles.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatUnit, LivechatDepartmentAgents } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import mem from 'mem'; import { Meteor } from 'meteor/meteor'; @@ -32,7 +32,7 @@ export const getUnitsFromUser = async (user: string): Promise; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeBusinessHour.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeBusinessHour.ts index d881fa5c1bcb..b71fd06d769f 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeBusinessHour.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeBusinessHour.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { businessHourManager } from '../../../../../app/livechat/server/business-hour'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeBusinessHour'(id: string, type: string): void; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeMonitor.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeMonitor.ts index 972c47f67c3c..12352a47d9cb 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeMonitor.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeMonitor.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { LivechatEnterprise } from '../lib/LivechatEnterprise'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeMonitor'(username: string): boolean; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeTag.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeTag.ts index 38af03202361..ca9bc93e97ee 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeTag.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeTag.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { LivechatEnterprise } from '../lib/LivechatEnterprise'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeTag'(id: string): Promise; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeUnit.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeUnit.ts index 5ff1fb7f7845..c4c193f4b105 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/removeUnit.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/removeUnit.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { LivechatEnterprise } from '../lib/LivechatEnterprise'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:removeUnit'(id: string): boolean; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/resumeOnHold.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/resumeOnHold.ts index d708f8941269..1831ddc98783 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/resumeOnHold.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/resumeOnHold.ts @@ -1,8 +1,8 @@ import { Message } from '@rocket.chat/core-services'; import type { ILivechatVisitor, IOmnichannelSystemMessage } from '@rocket.chat/core-typings'; import { isOmnichannelRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatVisitors, LivechatInquiry, LivechatRooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../../../../app/lib/server/lib/deprecationWarningLogger'; @@ -31,7 +31,7 @@ async function resolveOnHoldCommentInfo(options: { clientAction: boolean }, room return i18n.t('Omnichannel_on_hold_chat_automatically', { guest }); } -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:resumeOnHold'(roomId: string, options?: { clientAction: boolean }): void; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/saveTag.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/saveTag.ts index 42d7c91da971..094c4a97285a 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/saveTag.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/saveTag.ts @@ -1,11 +1,11 @@ import type { ILivechatTag } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { LivechatEnterprise } from '../lib/LivechatEnterprise'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveTag'(id: string, tagData: any, tagDepartments: any): Promise; diff --git a/apps/meteor/ee/app/livechat-enterprise/server/methods/saveUnit.ts b/apps/meteor/ee/app/livechat-enterprise/server/methods/saveUnit.ts index 426dfaf8f81c..d686315e65df 100644 --- a/apps/meteor/ee/app/livechat-enterprise/server/methods/saveUnit.ts +++ b/apps/meteor/ee/app/livechat-enterprise/server/methods/saveUnit.ts @@ -1,11 +1,11 @@ import type { IOmnichannelBusinessUnit } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { LivechatEnterprise } from '../lib/LivechatEnterprise'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'livechat:saveUnit'(_id: string, unitData: any, unitMonitors: any, unitDepartments: any): Omit; diff --git a/apps/meteor/ee/server/lib/audit/methods.ts b/apps/meteor/ee/server/lib/audit/methods.ts index add64414c6e8..a3d32f0635d8 100644 --- a/apps/meteor/ee/server/lib/audit/methods.ts +++ b/apps/meteor/ee/server/lib/audit/methods.ts @@ -1,7 +1,7 @@ import type { ILivechatAgent, ILivechatVisitor, IMessage, IRoom, IUser, IAuditLog } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { LivechatRooms, Messages, Rooms, Users, AuditLog } from '@rocket.chat/models'; import { escapeRegExp } from '@rocket.chat/string-helpers'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; @@ -57,7 +57,7 @@ const getRoomInfoByAuditParams = async ({ } }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { auditGetAuditions: (params: { startDate: Date; endDate: Date }) => IAuditLog[]; diff --git a/apps/meteor/ee/server/methods/getReadReceipts.ts b/apps/meteor/ee/server/methods/getReadReceipts.ts index 78fe8a4d967e..04a6ed1dff35 100644 --- a/apps/meteor/ee/server/methods/getReadReceipts.ts +++ b/apps/meteor/ee/server/methods/getReadReceipts.ts @@ -1,14 +1,14 @@ import type { ReadReceipt as ReadReceiptType, IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { License } from '@rocket.chat/license'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomIdAsync } from '../../../app/authorization/server/functions/canAccessRoom'; import { ReadReceipt } from '../lib/message-read-receipt/ReadReceipt'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getReadReceipts(options: { messageId: IMessage['_id'] }): ReadReceiptType[]; diff --git a/apps/meteor/imports/personal-access-tokens/server/api/methods/generateToken.ts b/apps/meteor/imports/personal-access-tokens/server/api/methods/generateToken.ts index a7dfc6ab46f6..7badb659774f 100644 --- a/apps/meteor/imports/personal-access-tokens/server/api/methods/generateToken.ts +++ b/apps/meteor/imports/personal-access-tokens/server/api/methods/generateToken.ts @@ -1,13 +1,13 @@ import { Meteor } from 'meteor/meteor'; import { Random } from '@rocket.chat/random'; import { Accounts } from 'meteor/accounts-base'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { twoFactorRequired } from '../../../../../app/2fa/server/twoFactorRequired'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'personalAccessTokens:generateToken'(params: { tokenName: string; bypassTwoFactor: boolean }): Promise; diff --git a/apps/meteor/imports/personal-access-tokens/server/api/methods/regenerateToken.ts b/apps/meteor/imports/personal-access-tokens/server/api/methods/regenerateToken.ts index 8fa323644283..14629ce4dd9d 100644 --- a/apps/meteor/imports/personal-access-tokens/server/api/methods/regenerateToken.ts +++ b/apps/meteor/imports/personal-access-tokens/server/api/methods/regenerateToken.ts @@ -1,11 +1,11 @@ import { Meteor } from 'meteor/meteor'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { twoFactorRequired } from '../../../../../app/2fa/server/twoFactorRequired'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'personalAccessTokens:regenerateToken'(params: { tokenName: string }): Promise; diff --git a/apps/meteor/imports/personal-access-tokens/server/api/methods/removeToken.ts b/apps/meteor/imports/personal-access-tokens/server/api/methods/removeToken.ts index 7da13fe48eeb..0f03e6087ee2 100644 --- a/apps/meteor/imports/personal-access-tokens/server/api/methods/removeToken.ts +++ b/apps/meteor/imports/personal-access-tokens/server/api/methods/removeToken.ts @@ -1,11 +1,11 @@ import { Meteor } from 'meteor/meteor'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; import { hasPermissionAsync } from '../../../../../app/authorization/server/functions/hasPermission'; import { twoFactorRequired } from '../../../../../app/2fa/server/twoFactorRequired'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'personalAccessTokens:removeToken'(params: { tokenName: string }): Promise; diff --git a/apps/meteor/server/lib/pushConfig.ts b/apps/meteor/server/lib/pushConfig.ts index 2cf944bef737..fb2f91c4b868 100644 --- a/apps/meteor/server/lib/pushConfig.ts +++ b/apps/meteor/server/lib/pushConfig.ts @@ -1,6 +1,6 @@ import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { AppsTokens } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; @@ -30,7 +30,7 @@ export const executePushTest = async (userId: IUser['_id'], username: IUser['use return tokens; }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { push_test(): { message: string; params: number[] }; diff --git a/apps/meteor/server/lib/resetUserE2EKey.ts b/apps/meteor/server/lib/resetUserE2EKey.ts index 3f30251dbb11..8535eee9a2cd 100644 --- a/apps/meteor/server/lib/resetUserE2EKey.ts +++ b/apps/meteor/server/lib/resetUserE2EKey.ts @@ -2,6 +2,7 @@ import { api } from '@rocket.chat/core-services'; import { Subscriptions, Users, Rooms } from '@rocket.chat/models'; import { Meteor } from 'meteor/meteor'; +import { notifyOnUserChange } from '../../app/lib/server/lib/notifyListener'; import * as Mailer from '../../app/mailer/server/api'; import { settings } from '../../app/settings/server'; import { i18n } from './i18n'; @@ -76,5 +77,7 @@ export async function resetUserE2EEncriptionKey(uid: string, notifyUser: boolean // Force the user to logout, so that the keys can be generated again await Users.unsetLoginTokens(uid); + void notifyOnUserChange({ clientAction: 'updated', id: uid, diff: { 'services.resume.loginTokens': [] } }); + return true; } diff --git a/apps/meteor/server/methods/OEmbedCacheCleanup.ts b/apps/meteor/server/methods/OEmbedCacheCleanup.ts index 158964125502..80e83959d5b0 100644 --- a/apps/meteor/server/methods/OEmbedCacheCleanup.ts +++ b/apps/meteor/server/methods/OEmbedCacheCleanup.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { OEmbedCache } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { OEmbedCacheCleanup(): { message: string }; diff --git a/apps/meteor/server/methods/addAllUserToRoom.ts b/apps/meteor/server/methods/addAllUserToRoom.ts index 0c4f1532371d..c07bdc48040a 100644 --- a/apps/meteor/server/methods/addAllUserToRoom.ts +++ b/apps/meteor/server/methods/addAllUserToRoom.ts @@ -1,7 +1,7 @@ import { Message } from '@rocket.chat/core-services'; import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -11,7 +11,7 @@ import { getDefaultSubscriptionPref } from '../../app/utils/lib/getDefaultSubscr import { callbacks } from '../../lib/callbacks'; import { getSubscriptionAutotranslateDefaultConfig } from '../lib/getSubscriptionAutotranslateDefaultConfig'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addAllUserToRoom(rid: IRoom['_id'], activeUsersOnly?: boolean): Promise; diff --git a/apps/meteor/server/methods/addRoomLeader.ts b/apps/meteor/server/methods/addRoomLeader.ts index d8c9d1a7351f..b8e09b44065a 100644 --- a/apps/meteor/server/methods/addRoomLeader.ts +++ b/apps/meteor/server/methods/addRoomLeader.ts @@ -1,14 +1,14 @@ import { api, Message, Team } from '@rocket.chat/core-services'; import type { IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addRoomLeader(rid: IRoom['_id'], userId: IUser['_id']): boolean; diff --git a/apps/meteor/server/methods/addRoomModerator.ts b/apps/meteor/server/methods/addRoomModerator.ts index 357629a8155e..ef64ced09423 100644 --- a/apps/meteor/server/methods/addRoomModerator.ts +++ b/apps/meteor/server/methods/addRoomModerator.ts @@ -1,15 +1,15 @@ import { api, Message, Team } from '@rocket.chat/core-services'; import type { IRoom, IUser } from '@rocket.chat/core-typings'; import { isRoomFederated } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addRoomModerator(rid: IRoom['_id'], userId: IUser['_id']): boolean; diff --git a/apps/meteor/server/methods/addRoomOwner.ts b/apps/meteor/server/methods/addRoomOwner.ts index 5ee7a9dd74d2..f64e6699a4cb 100644 --- a/apps/meteor/server/methods/addRoomOwner.ts +++ b/apps/meteor/server/methods/addRoomOwner.ts @@ -1,15 +1,15 @@ import { api, Message, Team } from '@rocket.chat/core-services'; import type { IRoom, IUser } from '@rocket.chat/core-typings'; import { isRoomFederated } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { addRoomOwner(rid: IRoom['_id'], userId: IUser['_id']): boolean; diff --git a/apps/meteor/server/methods/afterVerifyEmail.ts b/apps/meteor/server/methods/afterVerifyEmail.ts index c9c4819ed4f6..06bf389b0a03 100644 --- a/apps/meteor/server/methods/afterVerifyEmail.ts +++ b/apps/meteor/server/methods/afterVerifyEmail.ts @@ -1,11 +1,11 @@ import type { IRole } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Roles, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; const rolesToChangeTo: Map = new Map([['anonymous', ['user']]]); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { afterVerifyEmail(): void; diff --git a/apps/meteor/server/methods/browseChannels.ts b/apps/meteor/server/methods/browseChannels.ts index 5516b83d184a..965accc83954 100644 --- a/apps/meteor/server/methods/browseChannels.ts +++ b/apps/meteor/server/methods/browseChannels.ts @@ -1,8 +1,8 @@ import { Team } from '@rocket.chat/core-services'; import type { IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Users, Subscriptions } from '@rocket.chat/models'; import { escapeRegExp } from '@rocket.chat/string-helpers'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import mem from 'mem'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; @@ -308,7 +308,7 @@ const getUsers = async ( }; }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { browseChannels: (params: { diff --git a/apps/meteor/server/methods/canAccessRoom.ts b/apps/meteor/server/methods/canAccessRoom.ts index 945dd0e9a14f..eeff599a8585 100644 --- a/apps/meteor/server/methods/canAccessRoom.ts +++ b/apps/meteor/server/methods/canAccessRoom.ts @@ -1,13 +1,13 @@ import type { IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync } from '../../app/authorization/server'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { canAccessRoom(rid: IRoom['_id'], userId: IUser['_id'], extraData?: Record): (IRoom & { username?: string }) | boolean; diff --git a/apps/meteor/server/methods/channelsList.ts b/apps/meteor/server/methods/channelsList.ts index 4a2a154a191a..654c4aa070d6 100644 --- a/apps/meteor/server/methods/channelsList.ts +++ b/apps/meteor/server/methods/channelsList.ts @@ -1,6 +1,6 @@ import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Subscriptions, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { FindOptions } from 'mongodb'; @@ -11,7 +11,7 @@ import { settings } from '../../app/settings/server'; import { getUserPreference } from '../../app/utils/server/lib/getUserPreference'; import { trim } from '../../lib/utils/stringUtils'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { channelsList(filter: string, channelType: string, limit?: number, sort?: string): { channels: IRoom[] }; diff --git a/apps/meteor/server/methods/createDirectMessage.ts b/apps/meteor/server/methods/createDirectMessage.ts index ccbfe8916cae..51847454fe61 100644 --- a/apps/meteor/server/methods/createDirectMessage.ts +++ b/apps/meteor/server/methods/createDirectMessage.ts @@ -1,7 +1,7 @@ import type { ICreateRoomParams } from '@rocket.chat/core-services'; import type { ICreatedRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check, Match } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -119,7 +119,7 @@ export async function createDirectMessage( }; } -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { createDirectMessage(...usernames: Exclude[]): Omit; diff --git a/apps/meteor/server/methods/deleteFileMessage.ts b/apps/meteor/server/methods/deleteFileMessage.ts index 42b52c404301..7fbf8650bd2a 100644 --- a/apps/meteor/server/methods/deleteFileMessage.ts +++ b/apps/meteor/server/methods/deleteFileMessage.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { DeleteResult } from 'mongodb'; @@ -7,7 +7,7 @@ import type { DeleteResult } from 'mongodb'; import { FileUpload } from '../../app/file-upload/server'; import { deleteMessageValidatingPermission } from '../../app/lib/server/functions/deleteMessage'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteFileMessage(fileID: string): Promise; diff --git a/apps/meteor/server/methods/deleteUser.ts b/apps/meteor/server/methods/deleteUser.ts index e8b1f6eeed65..32dc4f8eb313 100644 --- a/apps/meteor/server/methods/deleteUser.ts +++ b/apps/meteor/server/methods/deleteUser.ts @@ -1,14 +1,14 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { deleteUser } from '../../app/lib/server/functions/deleteUser'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { deleteUser(userId: IUser['_id'], confirmRelinquish?: boolean): boolean; diff --git a/apps/meteor/server/methods/eraseRoom.ts b/apps/meteor/server/methods/eraseRoom.ts index b9b4833ad67f..e11c0fe6dcfd 100644 --- a/apps/meteor/server/methods/eraseRoom.ts +++ b/apps/meteor/server/methods/eraseRoom.ts @@ -1,7 +1,7 @@ import { AppEvents, Apps } from '@rocket.chat/apps'; import { Message, Team } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -58,7 +58,7 @@ export async function eraseRoom(rid: string, uid: string): Promise { } } -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { eraseRoom(rid: string): Promise; diff --git a/apps/meteor/server/methods/getAvatarSuggestion.ts b/apps/meteor/server/methods/getAvatarSuggestion.ts index 5cf8cdd2e4b1..f00c1a6563d2 100644 --- a/apps/meteor/server/methods/getAvatarSuggestion.ts +++ b/apps/meteor/server/methods/getAvatarSuggestion.ts @@ -1,11 +1,11 @@ import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; import { getAvatarSuggestionForUser } from '../../app/lib/server/functions/getAvatarSuggestionForUser'; import { methodDeprecationLogger } from '../../app/lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getAvatarSuggestion(): Record< diff --git a/apps/meteor/server/methods/getPasswordPolicy.ts b/apps/meteor/server/methods/getPasswordPolicy.ts index cc35f1cfb514..483938716093 100644 --- a/apps/meteor/server/methods/getPasswordPolicy.ts +++ b/apps/meteor/server/methods/getPasswordPolicy.ts @@ -1,12 +1,13 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods, TranslationKey } from '@rocket.chat/ui-contexts'; +import type { TranslationKey } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { passwordPolicy } from '../../app/lib/server'; import { methodDeprecationLogger } from '../../app/lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getPasswordPolicy(params: { token: string }): { diff --git a/apps/meteor/server/methods/getRoomById.ts b/apps/meteor/server/methods/getRoomById.ts index c14009a59451..ce21f9c9a043 100644 --- a/apps/meteor/server/methods/getRoomById.ts +++ b/apps/meteor/server/methods/getRoomById.ts @@ -1,13 +1,13 @@ import type { IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync } from '../../app/authorization/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getRoomById(rid: IRoom['_id']): IRoom; diff --git a/apps/meteor/server/methods/getRoomIdByNameOrId.ts b/apps/meteor/server/methods/getRoomIdByNameOrId.ts index d660a43d3f6f..91dbf555fe79 100644 --- a/apps/meteor/server/methods/getRoomIdByNameOrId.ts +++ b/apps/meteor/server/methods/getRoomIdByNameOrId.ts @@ -1,12 +1,12 @@ // DEPRECATE +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync } from '../../app/authorization/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getRoomIdByNameOrId(rid: string): string; diff --git a/apps/meteor/server/methods/getRoomNameById.ts b/apps/meteor/server/methods/getRoomNameById.ts index 3aec8ed249aa..ebe0ade89f44 100644 --- a/apps/meteor/server/methods/getRoomNameById.ts +++ b/apps/meteor/server/methods/getRoomNameById.ts @@ -1,12 +1,12 @@ import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getRoomNameById(rid: IRoom['_id']): Promise; diff --git a/apps/meteor/server/methods/getSetupWizardParameters.ts b/apps/meteor/server/methods/getSetupWizardParameters.ts index 808c308611f3..e204b02514f9 100644 --- a/apps/meteor/server/methods/getSetupWizardParameters.ts +++ b/apps/meteor/server/methods/getSetupWizardParameters.ts @@ -1,11 +1,11 @@ import type { ISetting } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getSetupWizardParameters(): Promise<{ diff --git a/apps/meteor/server/methods/getTotalChannels.ts b/apps/meteor/server/methods/getTotalChannels.ts index 45449f104e6b..f1492d85d458 100644 --- a/apps/meteor/server/methods/getTotalChannels.ts +++ b/apps/meteor/server/methods/getTotalChannels.ts @@ -1,8 +1,8 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getTotalChannels(): number; diff --git a/apps/meteor/server/methods/getUsersOfRoom.ts b/apps/meteor/server/methods/getUsersOfRoom.ts index dde359f8e490..d3d69ce93754 100644 --- a/apps/meteor/server/methods/getUsersOfRoom.ts +++ b/apps/meteor/server/methods/getUsersOfRoom.ts @@ -1,6 +1,6 @@ import type { IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -8,7 +8,7 @@ import { canAccessRoomAsync, roomAccessAttributes } from '../../app/authorizatio import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { findUsersOfRoom } from '../lib/findUsersOfRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { getUsersOfRoom( diff --git a/apps/meteor/server/methods/hideRoom.ts b/apps/meteor/server/methods/hideRoom.ts index 64397969cca0..a53a328d549a 100644 --- a/apps/meteor/server/methods/hideRoom.ts +++ b/apps/meteor/server/methods/hideRoom.ts @@ -1,9 +1,9 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { hideRoom(rid: string): Promise; diff --git a/apps/meteor/server/methods/ignoreUser.ts b/apps/meteor/server/methods/ignoreUser.ts index 980efbd31ba4..358fc3be3d8f 100644 --- a/apps/meteor/server/methods/ignoreUser.ts +++ b/apps/meteor/server/methods/ignoreUser.ts @@ -1,9 +1,9 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { ignoreUser(params: { rid: string; userId: string; ignore?: boolean }): boolean; diff --git a/apps/meteor/server/methods/loadHistory.ts b/apps/meteor/server/methods/loadHistory.ts index a2b44ffab519..44f4e8e98e7c 100644 --- a/apps/meteor/server/methods/loadHistory.ts +++ b/apps/meteor/server/methods/loadHistory.ts @@ -1,6 +1,6 @@ import type { IMessage, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { hasPermissionAsync } from '../../app/authorization/server/functions/has import { loadMessageHistory } from '../../app/lib/server/functions/loadMessageHistory'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { loadHistory( diff --git a/apps/meteor/server/methods/loadLocale.ts b/apps/meteor/server/methods/loadLocale.ts index 8cf011c18067..891f708037b9 100644 --- a/apps/meteor/server/methods/loadLocale.ts +++ b/apps/meteor/server/methods/loadLocale.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { getMomentLocale } from '../lib/getMomentLocale'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { loadLocale(locale: string): string | undefined; diff --git a/apps/meteor/server/methods/loadMissedMessages.ts b/apps/meteor/server/methods/loadMissedMessages.ts index f2bdc1c4f0e0..7c0ac4609066 100644 --- a/apps/meteor/server/methods/loadMissedMessages.ts +++ b/apps/meteor/server/methods/loadMissedMessages.ts @@ -1,12 +1,12 @@ import type { IMessage, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomIdAsync } from '../../app/authorization/server/functions/canAccessRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { loadMissedMessages(rid: IRoom['_id'], ts: Date): Promise; diff --git a/apps/meteor/server/methods/loadNextMessages.ts b/apps/meteor/server/methods/loadNextMessages.ts index a5ff7b6940c5..db3235a498cc 100644 --- a/apps/meteor/server/methods/loadNextMessages.ts +++ b/apps/meteor/server/methods/loadNextMessages.ts @@ -1,13 +1,13 @@ import type { IMessage, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomIdAsync } from '../../app/authorization/server/functions/canAccessRoom'; import { normalizeMessagesForUser } from '../../app/utils/server/lib/normalizeMessagesForUser'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { loadNextMessages(rid: IRoom['_id'], end?: Date, limit?: number): Promise<{ messages: IMessage[] }>; diff --git a/apps/meteor/server/methods/loadSurroundingMessages.ts b/apps/meteor/server/methods/loadSurroundingMessages.ts index d4cd54dfc2a5..3ea0e1492a80 100644 --- a/apps/meteor/server/methods/loadSurroundingMessages.ts +++ b/apps/meteor/server/methods/loadSurroundingMessages.ts @@ -1,6 +1,6 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { FindOptions } from 'mongodb'; @@ -8,7 +8,7 @@ import type { FindOptions } from 'mongodb'; import { canAccessRoomIdAsync } from '../../app/authorization/server/functions/canAccessRoom'; import { normalizeMessagesForUser } from '../../app/utils/server/lib/normalizeMessagesForUser'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { loadSurroundingMessages( diff --git a/apps/meteor/server/methods/logoutCleanUp.ts b/apps/meteor/server/methods/logoutCleanUp.ts index 359933faccbd..c4ac54020ef7 100644 --- a/apps/meteor/server/methods/logoutCleanUp.ts +++ b/apps/meteor/server/methods/logoutCleanUp.ts @@ -1,12 +1,12 @@ import { AppEvents, Apps } from '@rocket.chat/apps'; import type { IUser } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { afterLogoutCleanUpCallback } from '../../lib/callbacks/afterLogoutCleanUpCallback'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { logoutCleanUp(user: IUser): Promise; diff --git a/apps/meteor/server/methods/messageSearch.ts b/apps/meteor/server/methods/messageSearch.ts index 3ba7b59d2655..e49e3f21a67e 100644 --- a/apps/meteor/server/methods/messageSearch.ts +++ b/apps/meteor/server/methods/messageSearch.ts @@ -1,6 +1,6 @@ import type { ISubscription, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -10,7 +10,7 @@ import { settings } from '../../app/settings/server'; import { readSecondaryPreferred } from '../database/readSecondaryPreferred'; import { parseMessageSearchQuery } from '../lib/parseMessageSearchQuery'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { messageSearch(text: string, rid?: string, limit?: number, offset?: number): IRawSearchResult | boolean; diff --git a/apps/meteor/server/methods/muteUserInRoom.ts b/apps/meteor/server/methods/muteUserInRoom.ts index 95a0331d9bee..07e9683806da 100644 --- a/apps/meteor/server/methods/muteUserInRoom.ts +++ b/apps/meteor/server/methods/muteUserInRoom.ts @@ -1,7 +1,7 @@ import { Message } from '@rocket.chat/core-services'; import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Subscriptions, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -12,7 +12,7 @@ import { RoomMemberActions } from '../../definition/IRoomTypeConfig'; import { callbacks } from '../../lib/callbacks'; import { roomCoordinator } from '../lib/rooms/roomCoordinator'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { muteUserInRoom(data: { rid: IRoom['_id']; username: string }): boolean; diff --git a/apps/meteor/server/methods/openRoom.ts b/apps/meteor/server/methods/openRoom.ts index 3348104862b5..b2957768f237 100644 --- a/apps/meteor/server/methods/openRoom.ts +++ b/apps/meteor/server/methods/openRoom.ts @@ -1,10 +1,10 @@ import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { openRoom(rid: IRoom['_id']): Promise; diff --git a/apps/meteor/server/methods/readMessages.ts b/apps/meteor/server/methods/readMessages.ts index ed1c9fd6441e..217ba948b093 100644 --- a/apps/meteor/server/methods/readMessages.ts +++ b/apps/meteor/server/methods/readMessages.ts @@ -1,13 +1,13 @@ import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync } from '../../app/authorization/server'; import { readMessages } from '../lib/readMessages'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { readMessages(rid: string, readThreads?: boolean): Promise; diff --git a/apps/meteor/server/methods/readThreads.ts b/apps/meteor/server/methods/readThreads.ts index 234d0181294c..8f3652b7012c 100644 --- a/apps/meteor/server/methods/readThreads.ts +++ b/apps/meteor/server/methods/readThreads.ts @@ -1,6 +1,6 @@ import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages, Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { settings } from '../../app/settings/server'; import { readThread } from '../../app/threads/server/functions'; import { callbacks } from '../../lib/callbacks'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { readThreads(tmid: IMessage['_id']): void; diff --git a/apps/meteor/server/methods/registerUser.ts b/apps/meteor/server/methods/registerUser.ts index e67181f3b089..09e44c5e1b82 100644 --- a/apps/meteor/server/methods/registerUser.ts +++ b/apps/meteor/server/methods/registerUser.ts @@ -1,6 +1,6 @@ import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { Match, check } from 'meteor/check'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; @@ -11,7 +11,7 @@ import { validateEmailDomain, passwordPolicy, RateLimiter } from '../../app/lib/ import { settings } from '../../app/settings/server'; import { trim } from '../../lib/utils/stringUtils'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { registerUser( diff --git a/apps/meteor/server/methods/removeRoomLeader.ts b/apps/meteor/server/methods/removeRoomLeader.ts index 40b217e2b793..754d68960a4a 100644 --- a/apps/meteor/server/methods/removeRoomLeader.ts +++ b/apps/meteor/server/methods/removeRoomLeader.ts @@ -1,14 +1,14 @@ import { api, Message, Team } from '@rocket.chat/core-services'; import type { IRoom, IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeRoomLeader(rid: IRoom['_id'], userId: IUser['_id']): boolean; diff --git a/apps/meteor/server/methods/removeRoomModerator.ts b/apps/meteor/server/methods/removeRoomModerator.ts index a0d24159e4c8..291cc294a5fa 100644 --- a/apps/meteor/server/methods/removeRoomModerator.ts +++ b/apps/meteor/server/methods/removeRoomModerator.ts @@ -1,15 +1,15 @@ import { api, Message, Team } from '@rocket.chat/core-services'; import type { IRoom, IUser } from '@rocket.chat/core-typings'; import { isRoomFederated } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeRoomModerator(rid: IRoom['_id'], userId: IUser['_id']): boolean; diff --git a/apps/meteor/server/methods/removeRoomOwner.ts b/apps/meteor/server/methods/removeRoomOwner.ts index 37311898177c..82ee2c37f9b8 100644 --- a/apps/meteor/server/methods/removeRoomOwner.ts +++ b/apps/meteor/server/methods/removeRoomOwner.ts @@ -1,7 +1,7 @@ import { api, Message, Team } from '@rocket.chat/core-services'; import { isRoomFederated } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { getUsersInRole } from '../../app/authorization/server'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeRoomOwner(rid: string, userId: string): boolean; diff --git a/apps/meteor/server/methods/removeUserFromRoom.ts b/apps/meteor/server/methods/removeUserFromRoom.ts index 6662ae8d22cf..2f0e703a3b66 100644 --- a/apps/meteor/server/methods/removeUserFromRoom.ts +++ b/apps/meteor/server/methods/removeUserFromRoom.ts @@ -1,8 +1,8 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import { AppsEngineException } from '@rocket.chat/apps-engine/definition/exceptions'; import { Message, Team } from '@rocket.chat/core-services'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Rooms, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -17,7 +17,7 @@ import { afterRemoveFromRoomCallback } from '../../lib/callbacks/afterRemoveFrom import { removeUserFromRolesAsync } from '../lib/roles/removeUserFromRoles'; import { roomCoordinator } from '../lib/rooms/roomCoordinator'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { removeUserFromRoom(data: { rid: string; username: string }): boolean; diff --git a/apps/meteor/server/methods/reportMessage.ts b/apps/meteor/server/methods/reportMessage.ts index 05ac5aaf7e7b..cc240a2fb291 100644 --- a/apps/meteor/server/methods/reportMessage.ts +++ b/apps/meteor/server/methods/reportMessage.ts @@ -1,14 +1,14 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import type { IMessage } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { ModerationReports, Rooms, Users, Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { canAccessRoomAsync } from '../../app/authorization/server/functions/canAccessRoom'; import { methodDeprecationLogger } from '../../app/lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { reportMessage(messageId: IMessage['_id'], description: string): Promise; diff --git a/apps/meteor/server/methods/requestDataDownload.ts b/apps/meteor/server/methods/requestDataDownload.ts index bedad2e0e316..80769aae6340 100644 --- a/apps/meteor/server/methods/requestDataDownload.ts +++ b/apps/meteor/server/methods/requestDataDownload.ts @@ -3,14 +3,14 @@ import { tmpdir } from 'os'; import path, { join } from 'path'; import type { IExportOperation } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { ExportOperations, UserDataFiles } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { settings } from '../../app/settings/server'; import * as dataExport from '../lib/dataExport'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { requestDataDownload(params: { fullExport?: boolean }): Promise<{ diff --git a/apps/meteor/server/methods/resetAvatar.ts b/apps/meteor/server/methods/resetAvatar.ts index 1ed59482840e..8df7beb72545 100644 --- a/apps/meteor/server/methods/resetAvatar.ts +++ b/apps/meteor/server/methods/resetAvatar.ts @@ -1,7 +1,7 @@ import { api } from '@rocket.chat/core-services'; import type { IUser } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; @@ -9,7 +9,7 @@ import { hasPermissionAsync } from '../../app/authorization/server/functions/has import { FileUpload } from '../../app/file-upload/server'; import { settings } from '../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { resetAvatar(userId: IUser['_id']): void; diff --git a/apps/meteor/server/methods/roomNameExists.ts b/apps/meteor/server/methods/roomNameExists.ts index e99def10215e..f510391ddd8e 100644 --- a/apps/meteor/server/methods/roomNameExists.ts +++ b/apps/meteor/server/methods/roomNameExists.ts @@ -1,11 +1,11 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { methodDeprecationLogger } from '../../app/lib/server/lib/deprecationWarningLogger'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { roomNameExists(roomName: string): boolean; diff --git a/apps/meteor/server/methods/saveUserPreferences.ts b/apps/meteor/server/methods/saveUserPreferences.ts index dbc6bf835640..f19e653f7ccc 100644 --- a/apps/meteor/server/methods/saveUserPreferences.ts +++ b/apps/meteor/server/methods/saveUserPreferences.ts @@ -1,7 +1,7 @@ +import type { ThemePreference } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions, Users } from '@rocket.chat/models'; import type { FontSize } from '@rocket.chat/rest-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; -import type { ThemePreference } from '@rocket.chat/ui-theming/src/types/themes'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -47,7 +47,7 @@ type UserPreferences = { mentionsWithSymbol?: boolean; }; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveUserPreferences(preferences: Partial): boolean; diff --git a/apps/meteor/server/methods/saveUserProfile.ts b/apps/meteor/server/methods/saveUserProfile.ts index c2ed41adaab9..beb72d9a2f63 100644 --- a/apps/meteor/server/methods/saveUserProfile.ts +++ b/apps/meteor/server/methods/saveUserProfile.ts @@ -1,7 +1,7 @@ import { Apps, AppEvents } from '@rocket.chat/apps'; import type { UserStatus } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -165,7 +165,7 @@ const saveUserProfileWithTwoFactor = twoFactorRequired(saveUserProfile, { requireSecondFactor: true, }); -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { saveUserProfile( diff --git a/apps/meteor/server/methods/sendConfirmationEmail.ts b/apps/meteor/server/methods/sendConfirmationEmail.ts index 8c7d056532d3..b79d037c252f 100644 --- a/apps/meteor/server/methods/sendConfirmationEmail.ts +++ b/apps/meteor/server/methods/sendConfirmationEmail.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; diff --git a/apps/meteor/server/methods/sendForgotPasswordEmail.ts b/apps/meteor/server/methods/sendForgotPasswordEmail.ts index b77f6318a324..7b8082812dde 100644 --- a/apps/meteor/server/methods/sendForgotPasswordEmail.ts +++ b/apps/meteor/server/methods/sendForgotPasswordEmail.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -7,7 +7,7 @@ import { Meteor } from 'meteor/meteor'; import { settings } from '../../app/settings/server'; import { SystemLogger } from '../lib/logger/system'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { sendForgotPasswordEmail(to: string): boolean | undefined; diff --git a/apps/meteor/server/methods/setAvatarFromService.ts b/apps/meteor/server/methods/setAvatarFromService.ts index bec5018f9652..b59100e4a627 100644 --- a/apps/meteor/server/methods/setAvatarFromService.ts +++ b/apps/meteor/server/methods/setAvatarFromService.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Match, check } from 'meteor/check'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; import { setAvatarFromServiceWithValidation } from '../../app/lib/server/functions/setUserAvatar'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setAvatarFromService(dataURI: Buffer | Blob, contentType?: string, service?: string, targetUserId?: string): void; diff --git a/apps/meteor/server/methods/setUserActiveStatus.ts b/apps/meteor/server/methods/setUserActiveStatus.ts index 4a35080543fb..a14616c30c04 100644 --- a/apps/meteor/server/methods/setUserActiveStatus.ts +++ b/apps/meteor/server/methods/setUserActiveStatus.ts @@ -1,11 +1,11 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import { hasPermissionAsync } from '../../app/authorization/server/functions/hasPermission'; import { setUserActiveStatus } from '../../app/lib/server/functions/setUserActiveStatus'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setUserActiveStatus(userId: string, active: boolean, confirmRelinquish?: boolean): boolean; diff --git a/apps/meteor/server/methods/setUserPassword.ts b/apps/meteor/server/methods/setUserPassword.ts index a395b372c467..e17fa09baf4c 100644 --- a/apps/meteor/server/methods/setUserPassword.ts +++ b/apps/meteor/server/methods/setUserPassword.ts @@ -1,5 +1,5 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Accounts } from 'meteor/accounts-base'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -8,7 +8,7 @@ import type { UpdateResult } from 'mongodb'; import { passwordPolicy } from '../../app/lib/server'; import { compareUserPassword } from '../lib/compareUserPassword'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { setUserPassword(password: string): UpdateResult; diff --git a/apps/meteor/server/methods/toggleFavorite.ts b/apps/meteor/server/methods/toggleFavorite.ts index 14a363a3304a..36555a4566db 100644 --- a/apps/meteor/server/methods/toggleFavorite.ts +++ b/apps/meteor/server/methods/toggleFavorite.ts @@ -1,10 +1,10 @@ import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { toggleFavorite(rid: IRoom['_id'], f?: boolean): Promise; diff --git a/apps/meteor/server/methods/unmuteUserInRoom.ts b/apps/meteor/server/methods/unmuteUserInRoom.ts index 74abdc472e78..ffdb8466de3f 100644 --- a/apps/meteor/server/methods/unmuteUserInRoom.ts +++ b/apps/meteor/server/methods/unmuteUserInRoom.ts @@ -1,7 +1,7 @@ import { Message } from '@rocket.chat/core-services'; import type { IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms, Subscriptions, Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Match, check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; @@ -12,7 +12,7 @@ import { RoomMemberActions } from '../../definition/IRoomTypeConfig'; import { callbacks } from '../../lib/callbacks'; import { roomCoordinator } from '../lib/rooms/roomCoordinator'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { unmuteUserInRoom(data: { rid: IRoom['_id']; username: string }): boolean; diff --git a/apps/meteor/server/methods/userPresence.ts b/apps/meteor/server/methods/userPresence.ts index aa5aefa297e8..21f3f795155e 100644 --- a/apps/meteor/server/methods/userPresence.ts +++ b/apps/meteor/server/methods/userPresence.ts @@ -1,9 +1,9 @@ import { Presence } from '@rocket.chat/core-services'; import { UserStatus } from '@rocket.chat/core-typings'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'UserPresence:setDefaultStatus'(status: UserStatus): boolean | undefined; diff --git a/apps/meteor/server/methods/userSetUtcOffset.ts b/apps/meteor/server/methods/userSetUtcOffset.ts index d06a8f4b76d3..819b9c1b92f1 100644 --- a/apps/meteor/server/methods/userSetUtcOffset.ts +++ b/apps/meteor/server/methods/userSetUtcOffset.ts @@ -1,10 +1,10 @@ +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Users } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { userSetUtcOffset(utcOffset: number): void; diff --git a/apps/meteor/server/modules/notifications/notifications.module.ts b/apps/meteor/server/modules/notifications/notifications.module.ts index 75a2935d5616..a0394591aadf 100644 --- a/apps/meteor/server/modules/notifications/notifications.module.ts +++ b/apps/meteor/server/modules/notifications/notifications.module.ts @@ -1,7 +1,7 @@ import { Authorization, VideoConf } from '@rocket.chat/core-services'; import type { ISubscription, IOmnichannelRoom, IUser } from '@rocket.chat/core-typings'; +import type { StreamerCallbackArgs, StreamKeys, StreamNames } from '@rocket.chat/ddp-client'; import { Rooms, Subscriptions, Users, Settings } from '@rocket.chat/models'; -import type { StreamerCallbackArgs, StreamKeys, StreamNames } from '@rocket.chat/ui-contexts'; import type { IStreamer, IStreamerConstructor, IPublication } from 'meteor/rocketchat:streamer'; import type { ImporterProgress } from '../../../app/importer/server/classes/ImporterProgress'; @@ -257,7 +257,7 @@ export class NotificationsModule { this.streamRoomUsers.allowRead('none'); this.streamRoomUsers.allowWrite(async function (eventName, ...args: any[]) { - const [roomId, e] = eventName.split('/') as typeof eventName extends `${infer K}/${infer E}` ? [K, E] : never; + const [roomId, e] = eventName.split('/'); if (!this.userId) { const room = await Rooms.findOneById(roomId, { projection: { 't': 1, 'servedBy._id': 1 }, diff --git a/apps/meteor/server/modules/streamer/streamer.module.ts b/apps/meteor/server/modules/streamer/streamer.module.ts index c669c7bc2a00..9fc8065db2e7 100644 --- a/apps/meteor/server/modules/streamer/streamer.module.ts +++ b/apps/meteor/server/modules/streamer/streamer.module.ts @@ -1,5 +1,5 @@ import { MeteorError } from '@rocket.chat/core-services'; -import type { StreamerEvents } from '@rocket.chat/ui-contexts'; +import type { StreamerEvents } from '@rocket.chat/ddp-client'; import { EventEmitter } from 'eventemitter3'; import type { IPublication, Rule, Connection, DDPSubscription, IStreamer, IRules, TransformMessage } from 'meteor/rocketchat:streamer'; diff --git a/apps/meteor/server/publications/messages.ts b/apps/meteor/server/publications/messages.ts index e08aa61a13a3..ebf813a637d0 100644 --- a/apps/meteor/server/publications/messages.ts +++ b/apps/meteor/server/publications/messages.ts @@ -1,13 +1,13 @@ import type { IMessage, IRoom } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Messages } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor'; import type { FindOptions } from 'mongodb'; import { canAccessRoomIdAsync } from '../../app/authorization/server/functions/canAccessRoom'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'messages/get': ( diff --git a/apps/meteor/server/publications/room/index.ts b/apps/meteor/server/publications/room/index.ts index 84841d30ce53..f8ced449f8cb 100644 --- a/apps/meteor/server/publications/room/index.ts +++ b/apps/meteor/server/publications/room/index.ts @@ -1,6 +1,6 @@ import type { IOmnichannelRoom, IRoom, RoomType } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Rooms } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import _ from 'underscore'; @@ -13,7 +13,7 @@ import { roomCoordinator } from '../../lib/rooms/roomCoordinator'; type PublicRoomField = keyof typeof roomFields; type PublicRoom = Pick & Pick; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'rooms/get'(updatedAt?: Date): IRoom[] | { update: IRoom[]; remove: IRoom[] }; diff --git a/apps/meteor/server/publications/settings/index.ts b/apps/meteor/server/publications/settings/index.ts index 2cf699c8d82e..17c58a123c37 100644 --- a/apps/meteor/server/publications/settings/index.ts +++ b/apps/meteor/server/publications/settings/index.ts @@ -1,6 +1,6 @@ import type { ISetting, RocketChatRecordDeleted } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Settings } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import type { WithId } from 'mongodb'; @@ -8,7 +8,7 @@ import { getSettingPermissionId } from '../../../app/authorization/lib'; import { hasPermissionAsync, hasAtLeastOnePermissionAsync } from '../../../app/authorization/server/functions/hasPermission'; import { SettingsEvents } from '../../../app/settings/server'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'public-settings/get'( diff --git a/apps/meteor/server/publications/spotlight.ts b/apps/meteor/server/publications/spotlight.ts index a88a0eb74b65..b9275598c4c6 100644 --- a/apps/meteor/server/publications/spotlight.ts +++ b/apps/meteor/server/publications/spotlight.ts @@ -1,10 +1,10 @@ -import type { ServerMethods } from '@rocket.chat/ui-contexts'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; import { Meteor } from 'meteor/meteor'; import { Spotlight } from '../lib/spotlight'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { spotlight( diff --git a/apps/meteor/server/publications/subscription/index.ts b/apps/meteor/server/publications/subscription/index.ts index 9bbe1f63afe3..b691b7daf9ee 100644 --- a/apps/meteor/server/publications/subscription/index.ts +++ b/apps/meteor/server/publications/subscription/index.ts @@ -1,11 +1,11 @@ import type { ISubscription } from '@rocket.chat/core-typings'; +import type { ServerMethods } from '@rocket.chat/ddp-client'; import { Subscriptions } from '@rocket.chat/models'; -import type { ServerMethods } from '@rocket.chat/ui-contexts'; import { Meteor } from 'meteor/meteor'; import { subscriptionFields } from '../../../lib/publishFields'; -declare module '@rocket.chat/ui-contexts' { +declare module '@rocket.chat/ddp-client' { // eslint-disable-next-line @typescript-eslint/naming-convention interface ServerMethods { 'subscriptions/get'(updatedAt?: Date): ISubscription[] | { update: ISubscription[]; remove: { _id: string; _deletedAt: Date }[] }; diff --git a/ee/apps/ddp-streamer/Dockerfile b/ee/apps/ddp-streamer/Dockerfile index 893fdcff858b..f556cbde6752 100644 --- a/ee/apps/ddp-streamer/Dockerfile +++ b/ee/apps/ddp-streamer/Dockerfile @@ -26,9 +26,6 @@ COPY ./packages/peggy-loader/dist packages/peggy-loader/dist COPY ./packages/password-policies/package.json packages/password-policies/package.json COPY ./packages/password-policies/dist packages/password-policies/dist -COPY ./packages/ui-contexts/package.json packages/ui-contexts/package.json -COPY ./packages/ui-contexts/dist packages/ui-contexts/dist - COPY ./packages/model-typings/package.json packages/model-typings/package.json COPY ./packages/model-typings/dist packages/model-typings/dist diff --git a/ee/apps/ddp-streamer/package.json b/ee/apps/ddp-streamer/package.json index 19d69091e453..7797ac42d8b1 100644 --- a/ee/apps/ddp-streamer/package.json +++ b/ee/apps/ddp-streamer/package.json @@ -25,7 +25,6 @@ "@rocket.chat/models": "workspace:^", "@rocket.chat/rest-typings": "workspace:^", "@rocket.chat/string-helpers": "~0.31.25", - "@rocket.chat/ui-contexts": "workspace:^", "colorette": "^1.4.0", "ejson": "^2.2.3", "event-loop-stats": "^1.4.1", @@ -45,6 +44,7 @@ "ws": "^8.8.1" }, "devDependencies": { + "@rocket.chat/ddp-client": "workspace:~", "@rocket.chat/eslint-config": "workspace:^", "@types/ejson": "^2.2.1", "@types/gc-stats": "^1.4.2", diff --git a/ee/apps/ddp-streamer/src/Streamer.ts b/ee/apps/ddp-streamer/src/Streamer.ts index fcb2d9decf5e..686e3224d7ef 100644 --- a/ee/apps/ddp-streamer/src/Streamer.ts +++ b/ee/apps/ddp-streamer/src/Streamer.ts @@ -1,5 +1,5 @@ import { api } from '@rocket.chat/core-services'; -import type { StreamNames } from '@rocket.chat/ui-contexts'; +import type { StreamNames } from '@rocket.chat/ddp-client'; import type { DDPSubscription, Connection, TransformMessage } from 'meteor/rocketchat:streamer'; import WebSocket from 'ws'; diff --git a/ee/apps/omnichannel-transcript/package.json b/ee/apps/omnichannel-transcript/package.json index cbbfeedda398..fed26a0e2750 100644 --- a/ee/apps/omnichannel-transcript/package.json +++ b/ee/apps/omnichannel-transcript/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config": "workspace:^", - "@rocket.chat/ui-contexts": "workspace:^", "@types/gc-stats": "^1.4.2", "@types/polka": "^0.5.6", "eslint": "~8.45.0", diff --git a/ee/apps/presence-service/Dockerfile b/ee/apps/presence-service/Dockerfile index a6b6e641a39d..aa9c1c0bd6c9 100644 --- a/ee/apps/presence-service/Dockerfile +++ b/ee/apps/presence-service/Dockerfile @@ -43,9 +43,6 @@ COPY ./packages/server-cloud-communication/ packages/server-cloud-communication/ COPY ./ee/packages/license/package.json packages/license/package.json COPY ./ee/packages/license/dist packages/license/dist -COPY ./packages/ui-contexts/package.json packages/ui-contexts/package.json -COPY ./packages/ui-contexts/dist packages/ui-contexts/dist - COPY ./packages/ui-kit/package.json packages/ui-kit/package.json COPY ./packages/ui-kit/dist packages/ui-kit/dist diff --git a/ee/packages/ddp-client/package.json b/ee/packages/ddp-client/package.json index 9daeb0414ffe..cf70cf5a324f 100644 --- a/ee/packages/ddp-client/package.json +++ b/ee/packages/ddp-client/package.json @@ -35,6 +35,7 @@ }, "dependencies": { "@rocket.chat/api-client": "workspace:^", + "@rocket.chat/core-typings": "workspace:~", "@rocket.chat/rest-typings": "workspace:^" } } diff --git a/ee/packages/ddp-client/src/index.ts b/ee/packages/ddp-client/src/index.ts index 2c0fec409180..15f13add5a3a 100644 --- a/ee/packages/ddp-client/src/index.ts +++ b/ee/packages/ddp-client/src/index.ts @@ -1,3 +1,8 @@ export * from './DDPSDK'; export * from './legacy/RocketchatSDKLegacy'; export * from './livechat/LivechatClientImpl'; +export * from './livechat/types/LivechatSDK'; +export * from './types/ClientStream'; +export * from './types/methods'; +export * from './types/streams'; +export type { SDK } from './types/SDK'; diff --git a/ee/packages/ddp-client/src/types/methods.ts b/ee/packages/ddp-client/src/types/methods.ts index 711f5dd79343..f8a7052c3266 100644 --- a/ee/packages/ddp-client/src/types/methods.ts +++ b/ee/packages/ddp-client/src/types/methods.ts @@ -11,7 +11,3 @@ export type ServerMethodName = keyof ServerMethods; export type ServerMethodParameters = Parameters; export type ServerMethodReturn = Awaited>; - -export type ServerMethodFunction = ( - ...args: ServerMethodParameters -) => Promise>; diff --git a/ee/packages/ui-theming/src/hooks/useCreateStyleContainer.ts b/ee/packages/ui-theming/src/hooks/useCreateStyleContainer.ts deleted file mode 100644 index aaa37df66ae6..000000000000 --- a/ee/packages/ui-theming/src/hooks/useCreateStyleContainer.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { useMemo } from 'react'; - -export const useCreateStyleContainer = (id: string) => { - return useMemo(() => { - const refElement = document.getElementById('rcx-styles') || document.head.lastChild; - - const el = document.getElementById(id); - - if (el) { - return el; - } - - const styleElement = document.createElement('style'); - styleElement.setAttribute('id', id); - - document.head.insertBefore(styleElement, refElement); - document.head.appendChild(document.createElement('style')); - return styleElement; - }, [id]); -}; diff --git a/ee/packages/ui-theming/src/hooks/useLayoutVariables.ts b/ee/packages/ui-theming/src/hooks/useLayoutVariables.ts deleted file mode 100644 index e0d8310c41e0..000000000000 --- a/ee/packages/ui-theming/src/hooks/useLayoutVariables.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { useSetting } from '@rocket.chat/ui-contexts'; - -export const useLayoutPalette = () => { - const setting = String(useSetting('Layout_Fuselage_Palette') || '{}'); - - return JSON.parse(setting); -}; diff --git a/ee/packages/ui-theming/src/hooks/useSetLayoutSetting.ts b/ee/packages/ui-theming/src/hooks/useSetLayoutSetting.ts deleted file mode 100644 index 1810273bbfe7..000000000000 --- a/ee/packages/ui-theming/src/hooks/useSetLayoutSetting.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { useEndpoint } from '@rocket.chat/ui-contexts'; - -export const useSetLayoutSetting = (): (({ value }: { value: string }) => void) => { - return useEndpoint('POST', '/v1/settings/:_id', { _id: 'Layout_Fuselage_Palette' }); -}; diff --git a/ee/packages/ui-theming/src/hooks/useThemeMode.ts b/ee/packages/ui-theming/src/hooks/useThemeMode.ts index 63cf01bf6eb2..ca60d7845d4a 100644 --- a/ee/packages/ui-theming/src/hooks/useThemeMode.ts +++ b/ee/packages/ui-theming/src/hooks/useThemeMode.ts @@ -1,6 +1,6 @@ +import type { ThemePreference as ThemeMode, Themes } from '@rocket.chat/core-typings'; import { useDarkMode } from '@rocket.chat/fuselage-hooks'; import { useEndpoint, useUserPreference } from '@rocket.chat/ui-contexts'; -import type { ThemePreference as ThemeMode, Themes } from '@rocket.chat/ui-theming/src/types/themes'; import { useCallback, useState } from 'react'; /** diff --git a/ee/packages/ui-theming/src/index.ts b/ee/packages/ui-theming/src/index.ts new file mode 100644 index 000000000000..a3c440cc2e49 --- /dev/null +++ b/ee/packages/ui-theming/src/index.ts @@ -0,0 +1 @@ +export * from './hooks/useThemeMode'; diff --git a/packages/core-typings/src/index.ts b/packages/core-typings/src/index.ts index 01bc90d2a6bc..c04ffa998d77 100644 --- a/packages/core-typings/src/index.ts +++ b/packages/core-typings/src/index.ts @@ -140,3 +140,4 @@ export * from './CustomFieldMetadata'; export * from './RoomRouteData'; export * as Cloud from './cloud'; +export * from './themes'; diff --git a/ee/packages/ui-theming/src/types/themes.ts b/packages/core-typings/src/themes.ts similarity index 100% rename from ee/packages/ui-theming/src/types/themes.ts rename to packages/core-typings/src/themes.ts diff --git a/packages/i18n/src/locales/af.i18n.json b/packages/i18n/src/locales/af.i18n.json index 0dc39dbae650..40ab367489b6 100644 --- a/packages/i18n/src/locales/af.i18n.json +++ b/packages/i18n/src/locales/af.i18n.json @@ -2060,12 +2060,19 @@ "Retail": "Kleinhandel", "Retention_setting_changed_successfully": "Behoudingsbeleidinstelling is suksesvol verander", "RetentionPolicy": "Retensiebeleid", + "RetentionPolicy_AppliesToChannels": "Van toepassing op kanale", + "RetentionPolicy_AppliesToDMs": "Van toepassing op direkte boodskappe", + "RetentionPolicy_AppliesToGroups": "Van toepassing op privaat groepe", "RetentionPolicy_Description": "Snoei ou boodskappe outomaties oor jou Rocket.Chat-voorbeeld.", "RetentionPolicy_Enabled": "enabled", "RetentionPolicy_ExcludePinned": "Sluit uitgespelde boodskappe uit", "RetentionPolicy_FilesOnly": "Net verwyder lêers", "RetentionPolicy_FilesOnly_Description": "Slegs lêers sal uitgevee word, die boodskappe self sal in plek bly.", "RetentionPolicy_MaxAge": "Maksimum boodskap ouderdom", + "RetentionPolicy_MaxAge_Channels": "Maksimum boodskap ouderdom in kanale", + "RetentionPolicy_MaxAge_Description": "Snoei alle boodskappe ouer as hierdie waarde, in dae", + "RetentionPolicy_MaxAge_DMs": "Maksimum boodskap ouderdom in direkte boodskappe", + "RetentionPolicy_MaxAge_Groups": "Maksimum boodskap ouderdom in privaat groepe", "RetentionPolicy_Precision": "Timer Precision", "RetentionPolicy_Precision_Description": "Hoe gereeld moet die snoei-timer hardloop. Om dit tot 'n meer presiese waarde te stel, maak kanale met vinnige retentietydperke beter, maar kan ekstra verwerkingskrag op groot gemeenskappe kos.", "RetentionPolicyRoom_Enabled": "Snoei ou boodskappe outomaties", @@ -2758,4 +2765,4 @@ "registration.component.form.sendConfirmationEmail": "Stuur bevestiging e-pos", "Enterprise": "onderneming", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ar.i18n.json b/packages/i18n/src/locales/ar.i18n.json index 72c53f59612b..d3a86879f716 100644 --- a/packages/i18n/src/locales/ar.i18n.json +++ b/packages/i18n/src/locales/ar.i18n.json @@ -232,6 +232,7 @@ "Accounts_ShowFormLogin": "عرض نموذج تسجيل الدخول الافتراضي", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled": "تمكين المصادقة الثنائية عبر TOTP", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled_Description": "يمكن للمستخدمين إعداد المصادقة الثنائية باستخدام أي تطبيق TOTP، مثل Google Authenticator أو Authy.", + "Calls_in_queue_many": "{{count}} من المكالمات الانتظار", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In": "الاختيار التلقائي لدى المستخدمين الجدد للمصادقة الثنائية عبر البريد الإلكتروني", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In_Description": "سيتم تمكين المصادقة الثنائية لدى المستخدمين الجدد عبر البريد الإلكتروني افتراضيًا. وسيتمكنون من تعطيلها في صفحة ملفهم الشخصي.", "Accounts_TwoFactorAuthentication_By_Email_Code_Expiration": "الوقت المحدد لانتهاء صلاحية الرمز المرسل عبر البريد الإلكتروني بالثواني", @@ -250,6 +251,7 @@ "API_EmbedDisabledFor": "تعطيل التضمين للمستخدمين", "Accounts_UserAddedEmail_Default": "

مرحبًا بكم في [Site_Name]

انتقل إلى [Site_URL] وجرب أفضل حل للدردشة مفتوحة المصدر متاح اليوم!

يمكنك تسجيل الدخول باستخدام بريدك الإلكتروني: [email] وكلمة المرور: [password]. قد يُطلب منك تغييرها بعد تسجيل الدخول في المرة الأولى.", "Accounts_UserAddedEmail_Description": "يمكنك استخدام العناصر النائبة التالية: \n - [name]، [fname]، [lname] لاسم المستخدم الكامل أو الاسم الأول أو اسم العائلة، على التوالي. \n - `[email]` للبريد الإلكتروني للمستخدم. \n - `[password]` لكلمة مرور المستخدم. \n - `[Site_Name]` و[Site_URL] لاسم التطبيق وعنوان URL الخاص به على التوالي. ", + "Calls_in_queue_few": "{{count}} من المكالمات الانتظار", "API_EmbedDisabledFor_Description": "قائمة أسماء المستخدمين مفصولة بفواصل لتعطيل معاينات الرابط المضمن.", "Accounts_UserAddedEmailSubject_Default": "لقد تمت إضافتك إلى [Site_Name]", "Action": "الإجراء", @@ -277,7 +279,6 @@ "add-livechat-department-agents_description": "إذن لإضافة وكلاء للقنوات متعددة الاتجاهات إلى الأقسام", "add-oauth-service": "إضافة خدمة Oauth", "add-oauth-service_description": "إذن لإضافة خدمة Oauth جديدة", - "Calls_in_queue_many": "{{count}} من المكالمات الانتظار", "add-user": "إضافة مستخدم", "add-user_description": "إذن لإضافة مستخدمين جدد إلى الخادم عبر شاشة المستخدمين", "add-user-to-any-c-room": "إضافة مستخدم إلى أي Channel عامة", @@ -297,7 +298,6 @@ "additional_integrations_Bots": "إذا كنت تبحث عن كيفية دمج الروبوت الخاص بك، فلن تجد أفضل من محول Hubot الخاص بنا. https://github.com/RocketChat/hubot-rocketchat", "Admin_disabled_encryption": "لم يقوم المسؤول لديك بتمكين التشفير بين الوحدات الطرفية.", "Admin_Info": "معلومات المسؤول", - "Calls_in_queue_few": "{{count}} من المكالمات الانتظار", "Administration": "الإدارة", "Adult_images_are_not_allowed": "غير مسموح بالصور الخاصة بالكبار", "Aerospace_and_Defense": "الفضاء والدفاع", @@ -748,6 +748,7 @@ "CAS_enabled": "تم التمكين", "CAS_Login_Layout": "تخطيط تسجيل دخول CAS", "CAS_login_url": "عنوان URL لتسجيل الدخول إلى SSO", + "message_counter_many": "{{count}} رسائل", "CAS_login_url_Description": "عنوان URL لتسجيل الدخول الخاص بخدمة SSO الخارجية، مثل: `https://sso.example.undef/sso/login`", "CAS_popup_height": "ارتفاع النافذة المنبثقة لتسجيل الدخول", "CAS_popup_width": "عرض النافذة المنبثقة لتسجيل الدخول", @@ -763,6 +764,7 @@ "Categories*": "الفئات*", "CDN_JSCSS_PREFIX": "بادئة CDN لـ JS/CSS", "CDN_PREFIX": "بادئة CDN", + "meteor_status_reconnect_in_many": "المحاولة مرة أخرى خلال {{count}} من الثواني...", "CDN_PREFIX_ALL": "استخدم بادئة CDN لجميع الأصول", "Certificates_and_Keys": "الشهادات والمفاتيح", "change-livechat-room-visitor": "تغيير زوار Livechat Room‎", @@ -831,6 +833,7 @@ "Click_here": "انقر هنا", "Click_here_for_more_details_or_contact_sales_for_a_new_license": "انقر هنالمزيد من التفاصيل أو اتصل بـ {{email}} للحصول على ترخيص جديد.", "Click_here_for_more_info": "انقر هنا للمزيد من المعلومات", + "message_counter_few": "{{count}} رسائل", "Click_here_to_clear_the_selection": "انقر هنا لمسح التحديد", "Click_here_to_enter_your_encryption_password": "انقر هنا لإدخال كلمة مرور التشفير الخاصة بك", "Click_here_to_view_and_copy_your_password": "انقر هنا لعرض كلمة المرور ونسخها.", @@ -862,6 +865,7 @@ "Cloud_Invalid_license": "ترخيص غير صالح!", "Cloud_Apply_license": "تطبيق الترخيص", "Cloud_connectivity": "الاتصال السحابي", + "meteor_status_reconnect_in_few": "المحاولة مرة أخرى خلال {{count}} من الثواني...", "Cloud_address_to_send_registration_to": "العنوان المقرر إرسال البريد الإلكتروني للتسجيل السحابي الخاص بك إليه.", "Cloud_click_here": "بعد نسخ النص، انتقل إلى [وحدة التحكم السحابية (انقر هنا)] ({{cloudConsoleUrl}}).", "Cloud_console": "وحدة التحكم السحابية", @@ -942,7 +946,6 @@ "Contact_not_found": "لم يتم العثور على جهة الاتصال", "Contact_Profile": "الملف الشخصي لجهة الاتصال", "Contact_Info": "معلومات جهة الاتصال", - "message_counter_many": "{{count}} رسائل", "Content": "المحتوى", "Continue": "متابعة", "Continuous_sound_notifications_for_new_livechat_room": "إشعارات صوتية مستمرة لغرفة القناة متعددة الاتجاهاهت الجديدة", @@ -957,7 +960,6 @@ "Conversations": "المحادثات", "Conversations_per_day": "المحادثات لكل يوم", "Convert": "تحويل", - "meteor_status_reconnect_in_many": "المحاولة مرة أخرى خلال {{count}} من الثواني...", "Convert_Ascii_Emojis": "تحويل ASCII إلى رمز تعبيري", "Convert_to_channel": "التحويل إلى Channel", "Converting_channel_to_a_team": "أنت تقوم بتحويل Channel هذه إلى فريق. سيتم الاحتفاظ بجميع الأعضاء.", @@ -1033,7 +1035,6 @@ "Country_Denmark": "الدنمارك", "Country_Djibouti": "جيبوتي", "Country_Dominica": "دومينيكا", - "message_counter_few": "{{count}} رسائل", "Country_Dominican_Republic": "جمهورية الدومنيكان", "Country_Ecuador": "الإكوادور", "Country_Egypt": "مصر", @@ -1069,7 +1070,6 @@ "Country_Heard_Island_and_Mcdonald_Islands": "جزيرة هيرد وجزر ماكدونالد", "Country_Holy_See_Vatican_City_State": "الكرسي الرسولي (دولة الفاتيكان)", "Country_Honduras": "هندوراس", - "meteor_status_reconnect_in_few": "المحاولة مرة أخرى خلال {{count}} من الثواني...", "Country_Hong_Kong": "هونغ كونغ", "Country_Hungary": "هنغاريا", "Country_Iceland": "أيسلندا", @@ -1353,8 +1353,10 @@ "delete-message_description": "إذن لحذف رسالة في غرفة", "delete-own-message": "حذف رسالة شخصية", "delete-own-message_description": "إذن لحذف رسالة شخصية", + "message_counter_two": "{{count}} رسائل", "delete-p": "حذف Channel الخاصة", "delete-p_description": "إذن لحذف القنوات الخاصة", + "message_counter_zero": "{{count}} رسائل", "delete-user": "حذف مستخدم", "delete-user_description": "إذن لحذف المستخدمين", "Deleted": "تم الحذف!", @@ -1379,6 +1381,8 @@ "Details": "التفاصيل", "line": "السطر", "Device_Management_IP": " عنوان IP", + "meteor_status_reconnect_in_two": "المحاولة مرة أخرى خلال {{count}} من الثواني...", + "meteor_status_reconnect_in_zero": "المحاولة مرة أخرى خلال {{count}} من الثواني...", "Different_Style_For_User_Mentions": "نمط مختلف لإشارات المستخدم", "Livechat_Facebook_API_Key": "مفتاح واجهة برمجة تطبيقات Channel متعددة الاتجاهات", "Direct": "مباشر", @@ -1607,10 +1611,8 @@ "EncryptionKey_Change_Disabled": "لا يمكنك تعيين كلمة مرور لمفتاح التشفير الخاص بك لأن مفتاحك الخاص غير موجود على هذا العميل. لتعيين كلمة مرور جديدة، يلزمك تحميل مفتاحك الخاص باستخدام كلمة مرورك الحالية أو استخدام وكيل سبق رفع المفتاح لديه.", "End": "إنهاء", "End_call": "إنهاء مكالمة", - "message_counter_two": "{{count}} رسائل", "Expand_view": "توسيع العرض", "Explore_marketplace": "استكشاف السوق", - "message_counter_zero": "{{count}} رسائل", "Explore_the_marketplace_to_find_awesome_apps": "استكشف السوق للعثور على تطبيقات رائعة لـ Rocket.Chat", "Export": "تصدير", "End_Call": "إنهاء مكالمة", @@ -1659,9 +1661,7 @@ "error-canned-response-not-found": "لم يتم العثور على ردود مسجلة", "error-cannot-delete-app-user": "غير مسموح بحذف مستخدم التطبيق، قم بإلغاء تثبيت التطبيق المقابل لإزالته.", "error-cant-invite-for-direct-room": "لا يمكن دعوة المستخدم في الغرفة المباشرة", - "meteor_status_reconnect_in_two": "المحاولة مرة أخرى خلال {{count}} من الثواني...", "error-channels-setdefault-is-same": "الإعداد الافتراضي للقناة هو نفسه الذي سيتم تغييره إليه.", - "meteor_status_reconnect_in_zero": "المحاولة مرة أخرى خلال {{count}} من الثواني...", "error-channels-setdefault-missing-default-param": "يلزم توفير bodyParam \"الافتراضية\"", "error-could-not-change-email": "تعذر تغيير البريد الإلكتروني", "error-could-not-change-name": "تعذر تغيير الاسم", @@ -3546,6 +3546,9 @@ "RetentionPolicy_Advanced_Precision": "استخدام تكوين نهج الاستبقاء المتقدم", "RetentionPolicy_Advanced_Precision_Cron": "استخدام Cron لنهج الاستبقاء المتقدم", "RetentionPolicy_Advanced_Precision_Cron_Description": "عدد المرات التي يجب فيها تشغيل مؤقت التنقيح المحدد بواسطة تعبير وظيفة cron. يؤدي تعيين هذا إلى قيمة أكثر دقة إلى جعل القنوات ذات مؤقتات الاستبقاء السريعة تعمل بشكل أفضل، ولكنها قد تكلف قوة معالجة إضافية على المجتمعات الكبيرة.", + "RetentionPolicy_AppliesToChannels": "ينطبق على القنوات", + "RetentionPolicy_AppliesToDMs": "ينطبق على الرسائل المباشرة", + "RetentionPolicy_AppliesToGroups": "ينطبق على المجموعات الخاصة", "RetentionPolicy_Description": "يقوم تلقائيًا بتنقيح الرسائل القديمة عبر مثيل Rocket.Chat الخاص بك.", "RetentionPolicy_DoNotPruneDiscussion": "لا تقم بتنقيح رسائل المناقشة", "RetentionPolicy_DoNotPrunePinned": "لا تقم بتنقيح الرسائل المثبتة", @@ -3555,6 +3558,10 @@ "RetentionPolicy_FilesOnly": "حذف الملفات فقط", "RetentionPolicy_FilesOnly_Description": "سيتم حذف الملفات فقط، وستظل الرسائل نفسها في مكانها.", "RetentionPolicy_MaxAge": "الحد الأقصى لعمر الرسائل", + "RetentionPolicy_MaxAge_Channels": "الحد الأقصى لعمر الرسائل في القنوات", + "RetentionPolicy_MaxAge_Description": "تنقيح كل الرسائل الأقدم من هذه القيمة، بالأيام", + "RetentionPolicy_MaxAge_DMs": "الحد الأقصى لعمر الرسائل في الرسائل المباشرة", + "RetentionPolicy_MaxAge_Groups": "الحد الأقصى لعمر الرسائل في المجموعات الخاصة", "RetentionPolicy_Precision": "دقة المؤقت", "RetentionPolicy_Precision_Description": "عدد المرات التي يجب فيها تشغيل مؤقت التنقيح. يؤدي تعيين هذا إلى قيمة أكثر دقة إلى جعل القنوات ذات مؤقتات الاستبقاء السريعة تعمل بشكل أفضل، ولكنها قد تكلف قوة معالجة إضافية على المجتمعات الكبيرة.", "RetentionPolicyRoom_Enabled": "تنقيح الرسائل القديمة تلقائيًا", @@ -4885,4 +4892,4 @@ "Enterprise": "مؤسسة", "UpgradeToGetMore_engagement-dashboard_Title": "التحليلات", "UpgradeToGetMore_auditing_Title": "تدقيق الرسائل" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/az.i18n.json b/packages/i18n/src/locales/az.i18n.json index 93d83cd373a8..118be4b37920 100644 --- a/packages/i18n/src/locales/az.i18n.json +++ b/packages/i18n/src/locales/az.i18n.json @@ -2060,12 +2060,19 @@ "Retail": "Pərakəndə", "Retention_setting_changed_successfully": "Saxlama siyasəti parametrləri uğurla dəyişdirildi", "RetentionPolicy": "Saklama siyasəti", + "RetentionPolicy_AppliesToChannels": "Kanallara tətbiq edilir", + "RetentionPolicy_AppliesToDMs": "Birbaşa mesajlar üçün tətbiq edilir", + "RetentionPolicy_AppliesToGroups": "Şəxsi qruplara tətbiq edilir", "RetentionPolicy_Description": "Sizin Rocket.Chat nizamında avtomatik olaraq köhnə mesajları kəsdirir.", "RetentionPolicy_Enabled": "Etkin", "RetentionPolicy_ExcludePinned": "Səslənən mesajları həddindən kənarlaşdırın", "RetentionPolicy_FilesOnly": "Yalnız faylları silin", "RetentionPolicy_FilesOnly_Description": "Yalnız fayllar silinəcək, mesajlar özləri yerində qalacaqlar.", "RetentionPolicy_MaxAge": "Maksimum mesaj yaşı", + "RetentionPolicy_MaxAge_Channels": "Kanallarda maksimum mesaj yaşı", + "RetentionPolicy_MaxAge_Description": "Bu dəyərdən daha eski olan bütün mesajları bir neçə gündə kəsin", + "RetentionPolicy_MaxAge_DMs": "Birbaşa mesajlarda maksimum mesaj yaşı", + "RetentionPolicy_MaxAge_Groups": "Şəxsi qruplarda maksimum mesaj yaşı", "RetentionPolicy_Precision": "Timer dəqiqliyi", "RetentionPolicy_Precision_Description": "Hədəf çəkicinin necə tez-tez istifadə etməsi lazımdır. Bunu daha dəqiq bir dəyərə təyin etmək, sürətli saxlama sayğacları olan kanalları daha yaxşı işlədir, lakin böyük icmalarda əlavə işləmə gücünə səbəb ola bilər.", "RetentionPolicyRoom_Enabled": "Avtomatik olaraq köhnə mesajlar budayın", @@ -2758,4 +2765,4 @@ "registration.component.form.sendConfirmationEmail": "Təsdiq e-poçt göndər", "Enterprise": "Müəssisə", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/be-BY.i18n.json b/packages/i18n/src/locales/be-BY.i18n.json index 829759366886..858688468755 100644 --- a/packages/i18n/src/locales/be-BY.i18n.json +++ b/packages/i18n/src/locales/be-BY.i18n.json @@ -2077,12 +2077,19 @@ "Retail": "рознічны", "Retention_setting_changed_successfully": "Настройка палітыкі ўтрымання паспяхова зменены", "RetentionPolicy": "палітыка ўтрымання", + "RetentionPolicy_AppliesToChannels": "Ставіцца да каналах", + "RetentionPolicy_AppliesToDMs": "Ўжываецца для накіравання паведамленняў", + "RetentionPolicy_AppliesToGroups": "Ставіцца да прыватных групам", "RetentionPolicy_Description": "Аўтаматычна ачышчае старыя паведамленні праз ваш Rocket.Chat асобнік.", "RetentionPolicy_Enabled": "Уключана", "RetentionPolicy_ExcludePinned": "Выключыць ўскладалі паведамлення", "RetentionPolicy_FilesOnly": "Толькі выдаляць файлы", "RetentionPolicy_FilesOnly_Description": "Толькі файлы будуць выдаленыя, паведамленні будуць самі застаюцца на месцы.", "RetentionPolicy_MaxAge": "Максімальны ўзрост паведамлення", + "RetentionPolicy_MaxAge_Channels": "Максімальны ўзрост паведамленні ў каналах", + "RetentionPolicy_MaxAge_Description": "Выдаляць ўсе паведамленні старэй, чым гэта значэнне, у днях", + "RetentionPolicy_MaxAge_DMs": "Максімальны ўзрост паведамленні ў прамых паведамленняў", + "RetentionPolicy_MaxAge_Groups": "Максімальны ўзрост паведамленні ў прыватных групах", "RetentionPolicy_Precision": "таймер Precision", "RetentionPolicy_Precision_Description": "Як часта таймер чарнасліў павінен працаваць. Ўстаноўка гэтага больш дакладнага значэнне робіць каналы з хуткімі таймерамі захоўвання лепш працаваць, але могуць каштаваць дадатковых вылічальных магутнасцяў на вялікіх супольнасцях.", "RetentionPolicyRoom_Enabled": "Аўтаматычна абрэзаць старыя паведамленні", @@ -2776,4 +2783,4 @@ "registration.component.form.sendConfirmationEmail": "Адправіць па электроннай пошце пацвярджэнне", "Enterprise": "прадпрыемства", "UpgradeToGetMore_engagement-dashboard_Title": "аналітыка" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/bg.i18n.json b/packages/i18n/src/locales/bg.i18n.json index 3c786eaea50b..ac7c8ddcd000 100644 --- a/packages/i18n/src/locales/bg.i18n.json +++ b/packages/i18n/src/locales/bg.i18n.json @@ -2057,12 +2057,19 @@ "Retail": "На дребно", "Retention_setting_changed_successfully": "Настройката на правилата за задържане бе променена успешно", "RetentionPolicy": "Правила за запазване", + "RetentionPolicy_AppliesToChannels": "Прилага се за канали", + "RetentionPolicy_AppliesToDMs": "Прилага се за директни съобщения", + "RetentionPolicy_AppliesToGroups": "Отнася се за частни групи", "RetentionPolicy_Description": "Автоматично подрязва старите съобщения в изгледа Ви Rocket.Chat.", "RetentionPolicy_Enabled": "Enabled", "RetentionPolicy_ExcludePinned": "Изключете закачените съобщения", "RetentionPolicy_FilesOnly": "Изтривайте само файлове", "RetentionPolicy_FilesOnly_Description": "Само файловете ще бъдат изтрити, самите съобщения ще останат на мястото си.", "RetentionPolicy_MaxAge": "Максимална възраст на съобщенията", + "RetentionPolicy_MaxAge_Channels": "Максимална възраст на съобщенията в каналите", + "RetentionPolicy_MaxAge_Description": "Премахване на всички съобщения, по-стари от тази стойност, в дни", + "RetentionPolicy_MaxAge_DMs": "Максимална възраст на съобщенията в директните съобщения", + "RetentionPolicy_MaxAge_Groups": "Максимална възраст на съобщенията в частни групи", "RetentionPolicy_Precision": "Точност на таймера", "RetentionPolicy_Precision_Description": "Колко често трябва да се изпълнява таймерът за подрязване. Задаването на това с по-точна стойност прави каналите с бързи таймери за задържане да работят по-добре, но може да струва допълнителна мощност за обработка на големи общности.", "RetentionPolicyRoom_Enabled": "Автоматично прерязване на старите съобщения", @@ -2751,4 +2758,4 @@ "registration.component.form.sendConfirmationEmail": "Изпратете имейл за потвърждение", "Enterprise": "начинание", "UpgradeToGetMore_engagement-dashboard_Title": "анализ" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/bs.i18n.json b/packages/i18n/src/locales/bs.i18n.json index 6ce6a2959e5e..ebe0b045c418 100644 --- a/packages/i18n/src/locales/bs.i18n.json +++ b/packages/i18n/src/locales/bs.i18n.json @@ -2054,12 +2054,19 @@ "Retail": "Maloprodaja", "Retention_setting_changed_successfully": "Postavka pravila zadržavanja uspješno je promijenjena", "RetentionPolicy": "Pravila zadržavanja", + "RetentionPolicy_AppliesToChannels": "Odnosi se na kanale", + "RetentionPolicy_AppliesToDMs": "Odnosi se na izravne poruke", + "RetentionPolicy_AppliesToGroups": "Odnosi se na privatne grupe", "RetentionPolicy_Description": "Automatski prunes stare poruke preko vašeg Rocket.Chat instanca.", "RetentionPolicy_Enabled": "Omogućeno", "RetentionPolicy_ExcludePinned": "Izuzmite prikvačene poruke", "RetentionPolicy_FilesOnly": "Samo izbrišite datoteke", "RetentionPolicy_FilesOnly_Description": "Samo će se datoteke izbrisati, poruke će ostati na mjestu.", "RetentionPolicy_MaxAge": "Maksimalna dob poruka", + "RetentionPolicy_MaxAge_Channels": "Maksimalna dob poruka u kanalima", + "RetentionPolicy_MaxAge_Description": "Prune sve poruke starijima od ove vrijednosti, u danima", + "RetentionPolicy_MaxAge_DMs": "Maksimalna dob poruka u izravnim porukama", + "RetentionPolicy_MaxAge_Groups": "Maksimalna dob poruka u privatnim skupinama", "RetentionPolicy_Precision": "Preciznost mjerača", "RetentionPolicy_Precision_Description": "Koliko često bi trebao trajati mjerač vremena. Postavljanje na precizniju vrijednost čini kanale s brzim retencijskim vremenskim razmacima bolji, ali mogu koštati dodatnu snagu obrade u velikim zajednicama.", "RetentionPolicyRoom_Enabled": "Automatski obrišite stare poruke", @@ -2748,4 +2755,4 @@ "registration.component.form.sendConfirmationEmail": "Pošalji potvrdni email", "Enterprise": "Poduzeće", "UpgradeToGetMore_engagement-dashboard_Title": "Analitika" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ca.i18n.json b/packages/i18n/src/locales/ca.i18n.json index 9785de70e432..3f74fc967416 100644 --- a/packages/i18n/src/locales/ca.i18n.json +++ b/packages/i18n/src/locales/ca.i18n.json @@ -3484,6 +3484,9 @@ "RetentionPolicy_Advanced_Precision": "Utilitza la configuració avançada de la política de retenció", "RetentionPolicy_Advanced_Precision_Cron": "Utilitzeu Cron de política de retenció avançada", "RetentionPolicy_Advanced_Precision_Cron_Description": "Amb quina freqüència ha de executar-se el temporitzador de poda definit per l'expressió de la feina cron. Establir això en un valor més precís fa que els canals amb temporitzadors de retenció ràpids funcionin millor, però podria costar potència de processament addicional en comunitats grans.", + "RetentionPolicy_AppliesToChannels": "S'aplica als canals", + "RetentionPolicy_AppliesToDMs": "S'aplica als missatges directes", + "RetentionPolicy_AppliesToGroups": "S'aplica a grups privats", "RetentionPolicy_Description": "Elimina automàticament els missatges antics en la instància de Rocket.Chat.", "RetentionPolicy_DoNotPruneDiscussion": "No esborrar els missatges de discussió", "RetentionPolicy_DoNotPrunePinned": "No esborrar els missatges fixats", @@ -3493,6 +3496,10 @@ "RetentionPolicy_FilesOnly": "Només elimineu arxius", "RetentionPolicy_FilesOnly_Description": "Només s'eliminaran els arxius, els propis missatges romandran al seu lloc.", "RetentionPolicy_MaxAge": "Antiguitat màxima de l'missatge", + "RetentionPolicy_MaxAge_Channels": "Antiguitat màxima dels missatges en els canals", + "RetentionPolicy_MaxAge_Description": "Elimineu tots els missatges anteriors a aquest valor, en dies", + "RetentionPolicy_MaxAge_DMs": "Antiguitat màxima del missatge en missatges directes", + "RetentionPolicy_MaxAge_Groups": "Antiguitat màxima del missatge en grups privats", "RetentionPolicy_Precision": "Precisió del temporitzador", "RetentionPolicy_Precision_Description": "Amb quina freqüència ha de funcionar el comptador de poda. Establir això en un valor més precís fa que els canals amb temporitzadors de retenció ràpids funcionin millor, però podria costar potència de processament addicional en comunitats grans.", "RetentionPolicyRoom_Enabled": "Esborrar missatges antics automàticament", @@ -4684,4 +4691,4 @@ "Enterprise": "Empresa", "UpgradeToGetMore_engagement-dashboard_Title": "Analítiques", "UpgradeToGetMore_auditing_Title": "Auditoria de missatges" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/cs.i18n.json b/packages/i18n/src/locales/cs.i18n.json index a5a6fb99bbd4..914d6c35d485 100644 --- a/packages/i18n/src/locales/cs.i18n.json +++ b/packages/i18n/src/locales/cs.i18n.json @@ -613,6 +613,7 @@ "CAS_enabled": "Povoleno", "CAS_Login_Layout": "Rozložení CAS přihlášení", "CAS_login_url": "SSO přihlašovací URL", + "message_counter_many": "{{count}} zpráv(y)", "CAS_login_url_Description": "Adresa přihlášení vaší externí SSO služby např: https://sso.priklad.cz/sso/login", "CAS_popup_height": "Výška přihlašovacího popupu", "CAS_popup_width": "Šířka přihlašovacího popupu", @@ -627,6 +628,7 @@ "Categories": "Kategorie", "CDN_JSCSS_PREFIX": "Prefix CDN pro JS/CSS", "CDN_PREFIX": "CDN Prefix", + "meteor_status_reconnect_in_many": "zkusím znovu za {{count}} sekund...", "CDN_PREFIX_ALL": "Použijte prefix CDN pro všechny prvky", "Certificates_and_Keys": "Certifikáty a klíče", "Change_Room_Type": "Změna typu místnosti", @@ -677,6 +679,7 @@ "Click_here": "Klikněte zde", "Click_here_for_more_details_or_contact_sales_for_a_new_license": "Kliknutím sem zobrazíte podrobnosti, případně kontaktujte {{email}} pro novou licenci.", "Click_here_for_more_info": "Klikněte pro více infomací", + "message_counter_few": "{{count}} zpráv(y)", "Click_here_to_enter_your_encryption_password": "Klikněte zde pro zadání svého šifrovacího hesla", "Click_here_to_view_and_copy_your_password": "Klikněte zde pro zobrazení a zkopírování svého hesla.", "Click_the_messages_you_would_like_to_send_by_email": "Kikněte na zprávy, které chcete odeslat e-mailem", @@ -699,6 +702,7 @@ "Closing_chat": "Uzavření místnosti", "Closing_chat_message": "Zpráva uzavření", "Cloud": "Cloud", + "meteor_status_reconnect_in_few": "zkusím znovu za {{count}} sekund...", "Cloud_address_to_send_registration_to": "Adresa, na kterou chcete poslat svůj registrační e-mail do Cloudu.", "Cloud_click_here": "Po zkopírování textu přejděte do cloudové konzole - [Klikněte zde]({{cloudConsoleUrl}})", "Cloud_console": "Cloud přehled", @@ -759,7 +763,6 @@ "Contact": "Kontakt", "Contact_Chat_History": "Historie kontaktu", "Contains_Security_Fixes": "Obsahuje opravy zabezpečení", - "message_counter_many": "{{count}} zpráv(y)", "Content": "Obsah", "Continue": "Pokračovat", "Continuous_sound_notifications_for_new_livechat_room": "Trvalé zvukové oznámení pro novou Omnichannel místnost", @@ -773,7 +776,6 @@ "conversation_with_s": "konverzace s %s", "Conversations": "Konverzace", "Conversations_per_day": "Konverzace za den", - "meteor_status_reconnect_in_many": "zkusím znovu za {{count}} sekund...", "Convert_Ascii_Emojis": "Převod ASCII na Emoji", "Copied": "Zkopírováno", "Copy": "Kopírovat", @@ -844,7 +846,6 @@ "Country_Denmark": "Dánsko", "Country_Djibouti": "Džibutsko", "Country_Dominica": "Dominika", - "message_counter_few": "{{count}} zpráv(y)", "Country_Dominican_Republic": "Dominikánská republika", "Country_Ecuador": "Ekvádor", "Country_Egypt": "Egypt", @@ -880,7 +881,6 @@ "Country_Heard_Island_and_Mcdonald_Islands": "Heardův ostrov a McDonaldovy ostrovy", "Country_Holy_See_Vatican_City_State": "Svatý stolec (Vatikánský městský stát)", "Country_Honduras": "Honduras", - "meteor_status_reconnect_in_few": "zkusím znovu za {{count}} sekund...", "Country_Hong_Kong": "Hongkong", "Country_Hungary": "Maďarsko", "Country_Iceland": "Island", @@ -2972,6 +2972,9 @@ "Retail": "Obchod", "Retention_setting_changed_successfully": "Nastavení zásady uchování bylo úspěšně změněno", "RetentionPolicy": "Zásady uchovávání", + "RetentionPolicy_AppliesToChannels": "Platí pro místnosti", + "RetentionPolicy_AppliesToDMs": "Platí pro přímé zprávy", + "RetentionPolicy_AppliesToGroups": "Platí pro soukromé skupiny", "RetentionPolicy_Description": "Automaticky omezí staré zprávy napříč vaší Rocket.Chat instancí.", "RetentionPolicy_DoNotPruneDiscussion": "Nepročišťovat zprávy v diskuzi", "RetentionPolicy_DoNotPrunePinned": "Nepročišťovat připnuté zprávy", @@ -2981,6 +2984,10 @@ "RetentionPolicy_FilesOnly": "Smazat pouze soubory", "RetentionPolicy_FilesOnly_Description": "Pouze soubory budou smazány, samotné zprávy zůstanou na místě.", "RetentionPolicy_MaxAge": "Maximální stáří zprávy", + "RetentionPolicy_MaxAge_Channels": "Maximální stáří zprávy v místnostech", + "RetentionPolicy_MaxAge_Description": "Pročistit všechny zprávy starší, než X dní", + "RetentionPolicy_MaxAge_DMs": "Maximální stáří zprávy v přímých zprávách", + "RetentionPolicy_MaxAge_Groups": "Maximální stáří zpráv v soukromých skupinách", "RetentionPolicy_Precision": "Přesnost časovače", "RetentionPolicy_Precision_Description": "Jak často by měl časovač pročištění spustit. Nastavením této hodnoty na přesnější hodnotu pracují kanály s rychlejšími retenčními časovači lépe, ale v případě velkých komunit by to mohlo stát další procesní výkon.", "RetentionPolicyRoom_Enabled": "Automaticky pročišťovat staré zprávy", @@ -3970,4 +3977,4 @@ "Enterprise": "Korporace", "UpgradeToGetMore_engagement-dashboard_Title": "Analytika", "UpgradeToGetMore_auditing_Title": "Audit zpráv" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/cy.i18n.json b/packages/i18n/src/locales/cy.i18n.json index 58749ee5445b..f9c7b4d7ec87 100644 --- a/packages/i18n/src/locales/cy.i18n.json +++ b/packages/i18n/src/locales/cy.i18n.json @@ -2055,12 +2055,19 @@ "Retail": "Manwerthu", "Retention_setting_changed_successfully": "Mae lleoliad polisi cadwraeth wedi newid yn llwyddiannus", "RetentionPolicy": "Polisi Cadw", + "RetentionPolicy_AppliesToChannels": "Yn berthnasol i sianeli", + "RetentionPolicy_AppliesToDMs": "Mae'n berthnasol i negeseuon uniongyrchol", + "RetentionPolicy_AppliesToGroups": "Yn berthnasol i grwpiau preifat", "RetentionPolicy_Description": "Rhowch negeseuon o hen negeseuon yn awtomatig ar draws eich enghraifft Rocket.Chat.", "RetentionPolicy_Enabled": "Wedi'i alluogi", "RetentionPolicy_ExcludePinned": "Eithrio negeseuon wedi'u pinnio", "RetentionPolicy_FilesOnly": "Dileu ffeiliau yn unig", "RetentionPolicy_FilesOnly_Description": "Dim ond ffeiliau fydd yn cael eu dileu, bydd y negeseuon eu hunain yn aros yn eu lle.", "RetentionPolicy_MaxAge": "Uchafswm oedran neges", + "RetentionPolicy_MaxAge_Channels": "Uchafswm oedran neges mewn sianeli", + "RetentionPolicy_MaxAge_Description": "Torrwch bob neges yn hŷn na'r gwerth hwn, mewn dyddiau", + "RetentionPolicy_MaxAge_DMs": "Uchafswm oed neges mewn negeseuon uniongyrchol", + "RetentionPolicy_MaxAge_Groups": "Uchafswm oedran neges mewn grwpiau preifat", "RetentionPolicy_Precision": "Precision Timer", "RetentionPolicy_Precision_Description": "Pa mor aml y dylai'r amserydd prîn redeg. Mae gosod hyn i werth mwy manwl yn gwneud sianelau gydag amseryddion cadw cyflym yn gweithio'n well, ond gallant gostio pŵer prosesu ychwanegol ar gymunedau mawr.", "RetentionPolicyRoom_Enabled": "Gwthio hen negeseuon yn awtomatig", @@ -2750,4 +2757,4 @@ "registration.component.form.sendConfirmationEmail": "Anfon ebost cadarnhad", "Enterprise": "Menter", "UpgradeToGetMore_engagement-dashboard_Title": "Dadansoddiadau" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/da.i18n.json b/packages/i18n/src/locales/da.i18n.json index 83aa42bf65ee..a675ab4843c0 100644 --- a/packages/i18n/src/locales/da.i18n.json +++ b/packages/i18n/src/locales/da.i18n.json @@ -3072,6 +3072,9 @@ "RetentionPolicy_Advanced_Precision": "Brug konfigurationen til avanceret opbevaringspolitik", "RetentionPolicy_Advanced_Precision_Cron": "Brug avanceret opbevaringspolitik vha. Cron", "RetentionPolicy_Advanced_Precision_Cron_Description": "Hvor ofte sletnings-timeren skal køre. Indstilling af dette til en mere præcis værdi gør kanaler med hurtige opbevarings-timere bedre, men kan koste ekstra procestid på store communities.", + "RetentionPolicy_AppliesToChannels": "Gælder for kanaler", + "RetentionPolicy_AppliesToDMs": "Gælder for direkte meddelelser", + "RetentionPolicy_AppliesToGroups": "Gælder for private grupper", "RetentionPolicy_Description": "Beskytter automatisk gamle meddelelser over din Rocket.Chat-forekomst.", "RetentionPolicy_DoNotPruneDiscussion": "Slet ikke diskussionsmeddelelser", "RetentionPolicy_DoNotPrunePinned": "Slet ikke fastgjorte beskeder", @@ -3081,6 +3084,10 @@ "RetentionPolicy_FilesOnly": "Slet kun filer", "RetentionPolicy_FilesOnly_Description": "Kun filer slettes, meddelelserne selv forbliver på plads.", "RetentionPolicy_MaxAge": "Maksimal meddelelsesalder", + "RetentionPolicy_MaxAge_Channels": "Maksimal meddelelsesalder i kanaler", + "RetentionPolicy_MaxAge_Description": "Beskær alle meddelelser, der er ældre end denne værdi, om dage", + "RetentionPolicy_MaxAge_DMs": "Maksimal meddelelsesalder i direkte beskeder", + "RetentionPolicy_MaxAge_Groups": "Maksimal meddelelsesalder i private grupper", "RetentionPolicy_Precision": "Timer Precision", "RetentionPolicy_Precision_Description": "Hvor ofte sletnings-timeren skal køre. Indstilling af dette til en mere præcis værdi gør kanaler med hurtige opbevarings-timere bedre, men kan koste ekstra procestid på store communities.", "RetentionPolicyRoom_Enabled": "Beskær automatisk gamle beskeder", @@ -4085,4 +4092,4 @@ "Enterprise": "Firma", "UpgradeToGetMore_engagement-dashboard_Title": "Analyse", "UpgradeToGetMore_auditing_Title": "Meddelelsesovervågning" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/de-AT.i18n.json b/packages/i18n/src/locales/de-AT.i18n.json index a3ea142396ea..0be8030f5738 100644 --- a/packages/i18n/src/locales/de-AT.i18n.json +++ b/packages/i18n/src/locales/de-AT.i18n.json @@ -2063,12 +2063,19 @@ "Retail": "Verkauf", "Retention_setting_changed_successfully": "Die Einstellung für die Aufbewahrungsrichtlinie wurde erfolgreich geändert", "RetentionPolicy": "Aufbewahrungsrichtlinie", + "RetentionPolicy_AppliesToChannels": "Gilt für Kanäle", + "RetentionPolicy_AppliesToDMs": "Gilt für direkte Nachrichten", + "RetentionPolicy_AppliesToGroups": "Gilt für private Gruppen", "RetentionPolicy_Description": "Löscht automatisch alte Nachrichten in Ihrer Rocket.Chat-Instanz.", "RetentionPolicy_Enabled": "aktiviert", "RetentionPolicy_ExcludePinned": "Pinned-Nachrichten ausschließen", "RetentionPolicy_FilesOnly": "Löschen Sie nur Dateien", "RetentionPolicy_FilesOnly_Description": "Nur Dateien werden gelöscht, die Nachrichten selbst bleiben bestehen.", "RetentionPolicy_MaxAge": "Maximales Nachrichtenalter", + "RetentionPolicy_MaxAge_Channels": "Maximales Nachrichtenalter in Kanälen", + "RetentionPolicy_MaxAge_Description": "Bereinigen Sie alle Nachrichten, die älter als dieser Wert sind, in Tagen", + "RetentionPolicy_MaxAge_DMs": "Maximales Nachrichtenalter in direkten Nachrichten", + "RetentionPolicy_MaxAge_Groups": "Maximales Nachrichtenalter in privaten Gruppen", "RetentionPolicy_Precision": "Timer-Präzision", "RetentionPolicy_Precision_Description": "Wie oft sollte der Prune Timer laufen? Wenn Sie dies auf einen präziseren Wert setzen, werden Kanäle mit schnellen Retention-Timern zwar besser, in großen Communities jedoch möglicherweise zusätzliche Verarbeitungsleistung.", "RetentionPolicyRoom_Enabled": "Alte Nachrichten automatisch löschen", @@ -2758,4 +2765,4 @@ "registration.component.form.sendConfirmationEmail": "Bestätigungsmail versenden", "Enterprise": "Unternehmen", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/de.i18n.json b/packages/i18n/src/locales/de.i18n.json index a463a07318cb..2208fe4a6d81 100644 --- a/packages/i18n/src/locales/de.i18n.json +++ b/packages/i18n/src/locales/de.i18n.json @@ -31,6 +31,8 @@ "A_secure_and_highly_private_self-managed_solution_for_conference_calls": "Eine sichere und private, selbstverwaltete Lösung für Telefonkonferenzen.", "A_workspace_admin_needs_to_install_and_configure_a_conference_call_app": "Ein Arbeitsbereich-Administrator muss eine Telefonkonferenz-App installieren und konfigurieren.", "An_app_needs_to_be_installed_and_configured": "Eine App muss installiert und konfiguriert werden.", + "Accessibility_and_Appearance": "Barrierefreiheit & Erscheinungsbild", + "Accessibility_activation": "Hier können Sie eine Vielzahl von Funktionen aktivieren, um Ihr Browser-Erlebnis zu verbessern.", "Accept_Call": "Anruf annehmen", "Accept": "Akzeptieren", "Accept_incoming_livechat_requests_even_if_there_are_no_online_agents": "Akzeptiere eingehende Omnichannel-Anfragen auch wenn kein Agent online ist", @@ -322,6 +324,7 @@ "Added__username__to_this_team": "@{{user_added}} zu diesem Team hinzugefügt", "Adding_OAuth_Services": "Hinzufügen von OAuth-Services", "Adding_permission": "Berechtigung hinzufügen", + "Adjustable_layout": "Anpassbares Layout", "Adding_user": "Benutzer hinzufügen", "Additional_emails": "Zusätzliche E-Mails", "Additional_Feedback": "Zusätzliches Feedback", @@ -333,6 +336,7 @@ "admin-no-videoconf-provider-app": "**Conference call not enabled**: Apps für Telefonkonferenzen sind auf dem Rocket.Chat-Marktplatz erhältlich.", "Administration": "Administration", "Address": "Adresse", + "Adjustable_font_size_description": "Entwickelt für diejenigen, die größere oder kleinere Texte für eine verbesserte Lesbarkeit bevorzugen. Diese Flexibilität fördert die Inklusivität, indem sie den Benutzern ermöglicht, die Softwareoberfläche an ihre spezifischen Bedürfnisse anzupassen.", "Adult_images_are_not_allowed": "Nicht-jugendfreie Bilder sind nicht erlaubt", "Aerospace_and_Defense": "Luft- und Raumfahrt sowie Verteidigung", "After_OAuth2_authentication_users_will_be_redirected_to_this_URL": "Nach der OAuth2-Authentifizierung werden Benutzer auf diese URL weitergeleitet. Sie können eine URL pro Zeile hinzufügen.", @@ -2224,6 +2228,7 @@ "Force_visitor_to_accept_data_processing_consent_enabled_alert": "Die Zustimmung zur Datenverarbeitung muss auf einem einfach nachvollziehbaren Grund für die Verarbeitung der Daten beruhen. Aus diesem Deshalb muss das Feld unten ausgefüllt werden. Das Feld muss Informationen enthalten, die dem Benutzer auf einfache Art und Weise erklären, warum seine personenbezogenen Daten verarbeitet werden müssen.", "force-delete-message": "Löschen der Nachricht erzwingen", "force-delete-message_description": "Berechtigung, eine Nachricht ohne weitere Prüfungen zu löschen", + "Font_size": "Schriftgröße", "Forgot_password": "Passwort vergessen?", "Forgot_Password_Description": "Sie können die folgenden Platzhalter verwenden: \n - `[Forgot_Password_Url]` für die Passwort-Wiederherstellungs-URL. \n - `[name]`, `[fname]`, `[lname]` für den vollständigen Namen, Vornamen oder Nachnamen des Benutzers. \n - `[email]` für die E-Mail-Adresse des Benutzers. \n - .", "Forgot_Password_Email": "Hier klicken, um das Passwort zurückzusetzen.", @@ -2848,6 +2853,7 @@ "Lead_capture_email_regex": "Lead Capture E-Mail Regex", "Lead_capture_phone_regex": "Lead Capture Telefon Regex", "Learn_more": "Mehr erfahren", + "Learn_more_about_accessibility": "Erfahren Sie hier mehr über unser Engagement für Barrierefreiheit:", "Least_recent_updated": "Zuletzt aktualisiert", "Learn_how_to_unlock_the_myriad_possibilities_of_rocket_chat": "Erfahren Sie, wie Sie die zahllosen Möglichkeiten von Rocket.Chat nutzen können.", "Leave": "Verlassen", @@ -3147,6 +3153,8 @@ "Mentions": "Erwähnungen", "Mentions_default": "Erwähnungen (Standard)", "Mentions_only": "Nur Erwähnungen", + "Mentions_with_@_symbol": "Erwähnungen mit @-Symbol", + "Mentions_with_@_symbol_description": "Erwähnungen benachrichtigen und heben Nachrichten für Gruppen oder bestimmte Benutzer hervor, was eine gezielte Kommunikation erleichtert.\n\nDie Bildschirmleserfunktion wird optimiert, wenn das \"@\"-Symbol in der Erwähnungsfunktion verwendet wird. Dies stellt sicher, dass Benutzer, die auf Bildschirmleser angewiesen sind, diese Erwähnungen leicht interpretieren und darauf zugreifen können.", "Merge_Channels": "Channels zusammenführen", "message": "Nachricht", "Message": "Nachricht", @@ -3981,6 +3989,9 @@ "RetentionPolicy_Advanced_Precision": "Konfiguration der erweiterten Aufbewahrungsregelung verwenden", "RetentionPolicy_Advanced_Precision_Cron": "Erweiterte Aufbewahrungsregelung Cron verwenden", "RetentionPolicy_Advanced_Precision_Cron_Description": "Der Cron-Job-Ausdruck definiert, wie oft der Bereinigungs-Timer ausgeführt werden soll. Wenn dieser auf einen genaueren Wert gesetzt wird, funktionieren Kanäle mit schnellen Aufbewahrungs-Timern besser, verlieren allerdings möglicherweise in großen Communities zusätzliche Rechenleistung.", + "RetentionPolicy_AppliesToChannels": "Gilt für Channels", + "RetentionPolicy_AppliesToDMs": "Gilt für Direktnachrichten", + "RetentionPolicy_AppliesToGroups": "Gilt für private Gruppen", "RetentionPolicy_Description": "Löscht automatisch alte Nachrichten in Ihrer Rocket.Chat-Instanz.", "RetentionPolicy_DoNotPruneDiscussion": "Nachrichten in der Diskussion nicht bereinigen", "RetentionPolicy_DoNotPrunePinned": "Keine angehefteten Nachrichten bereinigen", @@ -3990,6 +4001,10 @@ "RetentionPolicy_FilesOnly": "Löschen Sie nur Dateien", "RetentionPolicy_FilesOnly_Description": "Nur Dateien werden gelöscht, die Nachrichten selbst bleiben bestehen.", "RetentionPolicy_MaxAge": "Maximales Nachrichtenalter", + "RetentionPolicy_MaxAge_Channels": "Maximales Nachrichtenalter in Kanälen", + "RetentionPolicy_MaxAge_Description": "Alle Nachrichten bereinigen, die älter als dieser Wert sind, in Tagen", + "RetentionPolicy_MaxAge_DMs": "Maximales Nachrichtenalter in direkten Nachrichten", + "RetentionPolicy_MaxAge_Groups": "Maximales Nachrichtenalter in privaten Gruppen", "RetentionPolicy_Precision": "Timer-Präzision", "RetentionPolicy_Precision_Description": "Wie oft sollte der Bereinigungs-Timer laufen? Wenn Sie dies auf einen präziseren Wert setzen, werden Kanäle mit schnellen Aufbewahrungs-Timern zwar besser, in großen Communitys jedoch möglicherweise zusätzliche Verarbeitungsleistung.", "RetentionPolicyRoom_Enabled": "Alte Nachrichten automatisch löschen", @@ -4355,6 +4370,10 @@ "Showing_online_users": "Anzeigen von: {{total_showing}}, Online: {{online}}, Gesamt: {{total}} Benutzer", "Showing_results": "

%s Ergebnisse

", "Showing_results_of": "Anzeigen von %s - %s von %s Ergebnissen", + "Show_usernames": "Benutzernamen anzeigen", + "Show_roles": "Rollen anzeigen", + "Show_or_hide_the_user_roles_of_message_authors": "Die Benutzerrollen der Nachrichtenautoren anzeigen oder ausblenden.", + "Show_or_hide_the_username_of_message_authors": "Den Benutzernamen der Nachrichtenautoren anzeigen oder ausblenden.", "Sidebar": "Seitenleiste", "Sidebar_list_mode": "Seitenleisten-Channel-Listen-Modus", "Sign_in_to_start_talking": "Anmelden, um mit dem Chatten zu beginnen", @@ -5479,7 +5498,13 @@ "Something_Went_Wrong": "Etwas ist schief gelaufen", "Toolbox_room_actions": "Primäre Room-Aktionen", "Theme_light": "Hell", + "Theme_light_description": "Zugänglicher für Menschen mit Sehbehinderungen und eine gute Wahl für gut beleuchtete Umgebungen.", "Theme_dark": "Dunkel", + "Theme_dark_description": "Reduzieren Sie die Augenbelastung und Ermüdung bei schlechten Lichtverhältnissen, indem Sie die vom Bildschirm abgegebene Lichtmenge minimieren.", + "Theme_match_system": "System anpassen", + "Theme_match_system_description": "Das Erscheinungsbild Ihres Systems automatisch anpassen.", + "Theme_high_contrast": "Hoher Kontrast", + "Theme_high_contrast_description": "Maximale Tonunterschiede mit kräftigen Farben und scharfen Kontrasten bieten eine verbesserte Zugänglichkeit.", "Create_an_account": "Ein Konto erstellen", "Undo_request": "Anfrage rückgängig machen", "No_permission": "Keine Berechtigung", @@ -5505,4 +5530,4 @@ "Enterprise": "Unternehmen", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics", "UpgradeToGetMore_auditing_Title": "Nachrichtenüberprüfung" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/el.i18n.json b/packages/i18n/src/locales/el.i18n.json index 00b8967dfa90..731a56695f7a 100644 --- a/packages/i18n/src/locales/el.i18n.json +++ b/packages/i18n/src/locales/el.i18n.json @@ -2068,12 +2068,19 @@ "Retail": "Λιανεμποριο", "Retention_setting_changed_successfully": "Η ρύθμιση πολιτικής διατήρησης άλλαξε με επιτυχία", "RetentionPolicy": "Πολιτική διατήρησης", + "RetentionPolicy_AppliesToChannels": "Ισχύει για κανάλια", + "RetentionPolicy_AppliesToDMs": "Ισχύει για απευθείας μηνύματα", + "RetentionPolicy_AppliesToGroups": "Ισχύει για ιδιωτικές ομάδες", "RetentionPolicy_Description": "Αυτόματα κλαδεύει τα παλιά μηνύματα σε όλες τις περιπτώσεις Rocket.Chat.", "RetentionPolicy_Enabled": "Ενεργοποιημένο", "RetentionPolicy_ExcludePinned": "Εξαιρούνται τα καρφιτσωμένα μηνύματα", "RetentionPolicy_FilesOnly": "Διαγράψτε μόνο τα αρχεία", "RetentionPolicy_FilesOnly_Description": "Μόνο τα αρχεία θα διαγραφούν, τα ίδια τα μηνύματα θα παραμείνουν στη θέση τους.", "RetentionPolicy_MaxAge": "Μέγιστη ηλικία μηνύματος", + "RetentionPolicy_MaxAge_Channels": "Μέγιστη ηλικία μηνύματος στα κανάλια", + "RetentionPolicy_MaxAge_Description": "Κλαδέψτε όλα τα μηνύματα που είναι παλαιότερα από αυτήν την τιμή, σε ημέρες", + "RetentionPolicy_MaxAge_DMs": "Μέγιστη ηλικία μηνύματος στα άμεσα μηνύματα", + "RetentionPolicy_MaxAge_Groups": "Μέγιστη ηλικία μηνύματος σε ιδιωτικές ομάδες", "RetentionPolicy_Precision": "Χρονόμετρο ακρίβειας", "RetentionPolicy_Precision_Description": "Πόσο συχνά πρέπει να τρέχει ο χρονομετρητής. Η ρύθμιση αυτή σε μια πιο ακριβή τιμή καθιστά τα κανάλια με χρονοδιακόπτες γρήγορης συγκράτησης να λειτουργούν καλύτερα, αλλά μπορεί να κοστίζουν επιπλέον ισχύ επεξεργασίας σε μεγάλες κοινότητες.", "RetentionPolicyRoom_Enabled": "Αυτόματη περικοπή παλιών μηνυμάτων", @@ -2765,4 +2772,4 @@ "registration.component.form.sendConfirmationEmail": "Αποστολή email επιβεβαίωσης", "Enterprise": "Επιχείρηση", "UpgradeToGetMore_engagement-dashboard_Title": "Αναλυτικά στοιχεία" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/en.i18n.json b/packages/i18n/src/locales/en.i18n.json index 523888f0912a..13754b7a4b8a 100644 --- a/packages/i18n/src/locales/en.i18n.json +++ b/packages/i18n/src/locales/en.i18n.json @@ -1929,7 +1929,7 @@ "Extra_CSP_Domains": "Extra CSP Domains", "Extra_CSP_Domains_Description": "Extra domains to add to the Content-Security-Policy", "Enable_Desktop_Notifications": "Enable Desktop Notifications", - "Enable_encryption" : "Enable encryption", + "Enable_encryption": "Enable encryption", "Enable_inquiry_fetch_by_stream": "Enable inquiry data fetch from server using a stream", "Enable_omnichannel_auto_close_abandoned_rooms": "Enable automatic closing of rooms abandoned by the visitor", "Enable_Password_History": "Enable Password History", diff --git a/packages/i18n/src/locales/eo.i18n.json b/packages/i18n/src/locales/eo.i18n.json index 42f8d33688e5..1558424c9445 100644 --- a/packages/i18n/src/locales/eo.i18n.json +++ b/packages/i18n/src/locales/eo.i18n.json @@ -2060,12 +2060,19 @@ "Retail": "Retail", "Retention_setting_changed_successfully": "Rezerva politika agordo ŝanĝiĝis sukcese", "RetentionPolicy": "Politika Retenado", + "RetentionPolicy_AppliesToChannels": "Aplikas al kanaloj", + "RetentionPolicy_AppliesToDMs": "Aplikas direkti mesaĝojn", + "RetentionPolicy_AppliesToGroups": "Aplikas al privataj grupoj", "RetentionPolicy_Description": "Aŭtomate prunas malnovajn mesaĝojn tra via raketo.", "RetentionPolicy_Enabled": "Enabled", "RetentionPolicy_ExcludePinned": "Ekskludi kovritajn mesaĝojn", "RetentionPolicy_FilesOnly": "Nur forigi dosierojn", "RetentionPolicy_FilesOnly_Description": "Nur dosieroj estos forigitaj, la mesaĝoj mem restos en loko.", "RetentionPolicy_MaxAge": "Maksimuma mesaĝo", + "RetentionPolicy_MaxAge_Channels": "Maksimuma mesaĝo en kanaloj", + "RetentionPolicy_MaxAge_Description": "Pritondu ĉiujn mesaĝojn pli malnovajn ol ĉi tiu valoro, en tagoj", + "RetentionPolicy_MaxAge_DMs": "Maksimuma mesaĝo en rektaj mesaĝoj", + "RetentionPolicy_MaxAge_Groups": "Maksimuma mesaĝo en privataj grupoj", "RetentionPolicy_Precision": "Timer Precizeco", "RetentionPolicy_Precision_Description": "Kiom ofte la pruntempa temporilo devus kuri. Fiksante ĉi tion al pli preciza valoro faras kanalojn kun rapidaj retencaj tempoj pli bone funkcii, sed povus kosti ekstra prilabor-potencon en grandaj komunumoj.", "RetentionPolicyRoom_Enabled": "Aŭtomate prunti malnovajn mesaĝojn", @@ -2759,4 +2766,4 @@ "registration.component.form.sendConfirmationEmail": "Sendu konfirman retpoŝton", "Enterprise": "Entrepreno", "UpgradeToGetMore_engagement-dashboard_Title": "Analitiko" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/es.i18n.json b/packages/i18n/src/locales/es.i18n.json index c556b470a372..a276a3c51690 100644 --- a/packages/i18n/src/locales/es.i18n.json +++ b/packages/i18n/src/locales/es.i18n.json @@ -756,6 +756,7 @@ "CAS_enabled": "Habilitada", "CAS_Login_Layout": "Diseño de inicio de sesión de CAS", "CAS_login_url": "URL de inicio de sesión SSO", + "message_counter_many": "{{count}} mensajes", "CAS_login_url_Description": "URL de inicio de sesión de tu servicio SSO externo; por ejemplo, `https://sso.example.undef/sso/login`", "CAS_popup_height": "Altura de la ventana emergente de inicio de sesión", "CAS_popup_width": "Anchura de la ventana emergente de inicio de sesión", @@ -771,6 +772,7 @@ "Categories*": "Categorías*", "CDN_JSCSS_PREFIX": "Prefijo de CDN para JS/CSS", "CDN_PREFIX": "Prefijo de CDN", + "meteor_status_reconnect_in_many": "intentando de nuevo dentro de {{count}} segundos...", "CDN_PREFIX_ALL": "Usar prefijo de CDN para todos los activos", "Certificates_and_Keys": "Certificados y claves", "change-livechat-room-visitor": "Cambiar visitantes de Room de Livechat", @@ -947,7 +949,6 @@ "Contact_not_found": "Contacto no encontrado", "Contact_Profile": "Perfil de contacto", "Contact_Info": "Información de contacto", - "message_counter_many": "{{count}} mensajes", "Content": "Contenido", "Continue": "Continuar", "Continuous_sound_notifications_for_new_livechat_room": "Notificaciones de sonido continuas para nueva sala de Omnichannel", @@ -962,7 +963,6 @@ "Conversations": "Conversaciones", "Conversations_per_day": "Conversaciones por día", "Convert": "Convertir", - "meteor_status_reconnect_in_many": "intentando de nuevo dentro de {{count}} segundos...", "Convert_Ascii_Emojis": "Convierte ASCII a emoji", "Convert_to_channel": "Convertir en Channel", "Converting_channel_to_a_team": "Vas a convertir este Channel en un equipo. Se conservarán todos los miembros.", @@ -1495,11 +1495,14 @@ "E2E_Enabled": "E2E habilitado", "E2E_Enabled_Default_DirectRooms": "Habilitar cifrado de Rooms directas por defecto", "E2E_Enabled_Default_PrivateRooms": "Habilitar cifrado de Rooms privadas por defecto", + "mentions_counter_many": "{{count}} menciones", "E2E_Encryption_Password_Change": "Cambiar contraseña de cifrado", "E2E_Encryption_Password_Explanation": "Ahora puedes crear grupos privados cifrados y mensajes directos. También puedes cambiar los grupos privados o los mensajes directos existentes para cifrarlos.

Este es un cifrado de extremo a extremo, por lo que la clave para codifica/decodificar tus mensajes no se guardará en el servidor. Por esa razón, debes guardar tu contraseña en un lugar seguro. Se te pedirá que la introduzcas en otros dispositivos en los que quieras usar el cifrado E2E.", "E2E_key_reset_email": "Notificación de restablecimiento de clave E2E", "E2E_password_request_text": "Para acceder a tus grupos privados y mensajes directos cifrados, introduce tu contraseña de cifrado.
Necesitas introducir esta contraseña para codificar/decodificar tus mensajes en cada cliente que uses, ya que la clave no se almacena en el servidor.", "E2E_password_reveal_text": "Ahora puedes crear grupos privados y mensajes directos cifrados. También puedes cambiar los grupos privados o los mensajes directos existentes para cifrarlos.

Este es un cifrado de extremo a extremo, por lo que la clave para codifica/decodificar tus mensajes no se guardará en el servidor. Por esa razón, debes guardar tu contraseña en un lugar seguro. Se te pedirá que la introduzcas en otros dispositivos en los que quieras usar el cifrado E2E.Consulta más información aquí.

Tu contraseña: %s

Esta es una contraseña generada automáticamente. Puedes configurar una nueva contraseña para tu clave de cifrado en cualquier momento desde cualquier navegador en el que hayas introducido la contraseña existente.
Esta contraseña solo se almacena en este navegador hasta que la guardes y descartes este mensaje.", + "threads_counter_many": "{{count}} mensajes en hilo sin leer", + "unread_messages_counter_many": "{{count}} mensajes sin leer", "E2E_Reset_Email_Content": "Tu sesión se ha cerrado automáticamente. Cuando vuelvas a iniciar sesión, Rocket.Chat generará una nueva clave y restaurará tu acceso a cualquier sala cifrada que tenga uno o más miembros en línea. Debido a la naturaleza del cifrado E2E, Rocket.Chat no podrá restaurar el acceso a ninguna sala cifrada que no tenga miembros en línea.", "E2E_Reset_Key_Explanation": "Esta opción eliminará tu clave E2E actual y cerrará tu sesión.
Cuando vuelvas a iniciar sesión, Rocket.Chat generará una nueva clave y restaurará tu acceso a cualquier sala cifrada que tenga uno o más miembros en línea.
Debido a la naturaleza del cifrado E2E, Rocket.Chat no podrá restaurar el acceso a ninguna sala cifrada que no tenga miembros en línea.", "E2E_Reset_Other_Key_Warning": "Restablecer la clave E2E actual cerrará la sesión del usuario. Cuando vuelva a iniciar sesión, Rocket.Chat generará una nueva clave y restaurará su acceso a cualquier sala cifrada que tenga uno o más miembros en línea. Debido a la naturaleza del cifrado E2E, Rocket.Chat no podrá restaurar el acceso a ninguna sala cifrada que no tenga miembros en línea.", @@ -1742,8 +1745,10 @@ "error-no-tokens-for-this-user": "No hay ningún token para este usuario", "error-no-agents-online-in-department": "No hay agentes en línea en el departamento", "error-no-message-for-unread": "No hay mensajes para marcar como no leídos", + "subscription.callout.description.limitsExceeded_many": "Su espacio de trabajo ha superado los límites <1> {{val, list}} . <3> Administre su suscripción para incrementar los límites.", "error-not-allowed": "No permitido", "error-not-authorized": "No autorizado", + "subscription.callout.description.limitsReached_many": "Su espacio de trabajo ha alcanzado los límites <1> {{val, list}} . <3> Administre su suscripción para incrementar los límites.", "error-office-hours-are-closed": "El horario de oficina ha finalizado.", "Estimated_due_time": "Tiempo estimado de vencimiento", "error-password-in-history": "La contraseña introducida se ha usado anteriormente", @@ -1798,14 +1803,11 @@ "every_5_minutes": "Una vez cada 5 minutos", "every_10_seconds": "Una vez cada 10 segundos", "every_30_minutes": "Una vez cada 30 minutos", - "mentions_counter_many": "{{count}} menciones", "every_day": "Una vez cada día", "every_hour": "Una vez cada hora", "every_minute": "Una vez cada minuto", "every_second": "Una vez cada segundo", "every_six_hours": "Una vez cada seis horas", - "threads_counter_many": "{{count}} mensajes en hilo sin leer", - "unread_messages_counter_many": "{{count}} mensajes sin leer", "Everyone_can_access_this_channel": "Todos pueden acceder a este canal", "Exact": "Exacto", "Example_payload": "Carga útil de ejemplo", @@ -2124,9 +2126,7 @@ "Impersonate_user_description": "Cuando esta opción esté habilitada, la integración publicará como el usuario que activó la integración", "Import": "Importar", "Import_New_File": "Importar archivo nuevo", - "subscription.callout.description.limitsExceeded_many": "Su espacio de trabajo ha superado los límites <1> {{val, list}} . <3> Administre su suscripción para incrementar los límites.", "Import_requested_successfully": "Importación solicitada correctamente", - "subscription.callout.description.limitsReached_many": "Su espacio de trabajo ha alcanzado los límites <1> {{val, list}} . <3> Administre su suscripción para incrementar los límites.", "Import_Type": "Tipo de importación", "Importer_Archived": "Archivado", "Importer_CSV_Information": "El importador de CSV requiere un formato específico; lee la documentación sobre cómo estructurar tu archivo zip:", @@ -3534,6 +3534,9 @@ "RetentionPolicy_Advanced_Precision": "Usar la configuración avanzada de la política de retención", "RetentionPolicy_Advanced_Precision_Cron": "Usar CRON de política de retención avanzada", "RetentionPolicy_Advanced_Precision_Cron_Description": "Frecuencia con la que debe ejecutarse el temporizador de retirada definido por la expresión del trabajo CRON. Establecer esto en un valor más preciso hace que los canales con temporizadores de retención rápidos funcionen mejor, pero podría exigir potencia de procesamiento adicional en comunidades grandes.", + "RetentionPolicy_AppliesToChannels": "Se aplica a canales", + "RetentionPolicy_AppliesToDMs": "Se aplica a mensajes directos", + "RetentionPolicy_AppliesToGroups": "Se aplica a grupos privados", "RetentionPolicy_Description": "Retira automáticamente los mensajes antiguos en tu instancia de Rocket.Chat.", "RetentionPolicy_DoNotPruneDiscussion": "No retirar mensajes de discusión", "RetentionPolicy_DoNotPrunePinned": "No retirar mensajes fijados", @@ -3543,6 +3546,10 @@ "RetentionPolicy_FilesOnly": "Eliminar solo archivos", "RetentionPolicy_FilesOnly_Description": "Solo se eliminarán los archivos, los mensajes en sí se conservarán.", "RetentionPolicy_MaxAge": "Antigüedad máxima de mensaje", + "RetentionPolicy_MaxAge_Channels": "Antigüedad máxima de mensajes en canales", + "RetentionPolicy_MaxAge_Description": "Retirar todos los mensajes anteriores a este valor (en días)", + "RetentionPolicy_MaxAge_DMs": "Antigüedad máxima de mensajes directos", + "RetentionPolicy_MaxAge_Groups": "Antigüedad máxima de mensaje en grupos privados", "RetentionPolicy_Precision": "Precisión del temporizador", "RetentionPolicy_Precision_Description": "Frecuencia con la que debe ejecutarse el temporizador de retirada. Establecer esto en un valor más preciso hace que los canales con temporizadores de retención rápidos funcionen mejor, pero podría exigir potencia de procesamiento adicional en comunidades grandes.", "RetentionPolicyRoom_Enabled": "Retirar mensajes antiguos automáticamente", @@ -5083,4 +5090,4 @@ "Unlimited_seats": "Puestos ilimitados", "Unlimited_MACs": "Contactos Activos por Mes (MAC) ilimitados", "Unlimited_seats_MACs": "Puestos y Contactos Activos por Mes (MAC) ilimitados" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/fa.i18n.json b/packages/i18n/src/locales/fa.i18n.json index 12a187b29050..c4850a7d30eb 100644 --- a/packages/i18n/src/locales/fa.i18n.json +++ b/packages/i18n/src/locales/fa.i18n.json @@ -2372,16 +2372,21 @@ "Retail": "جزئی", "Retention_setting_changed_successfully": "تنظیم سیاست حفظ حفظ شده با موفقیت تغییر کرد", "RetentionPolicy": "سیاست نگهداری", + "RetentionPolicy_AppliesToChannels": "به کانال ها اعمال می شود", + "RetentionPolicy_AppliesToDMs": "به پیام های مستقیم اعمال می شود", + "RetentionPolicy_AppliesToGroups": "اعمال به گروه های خصوصی", "RetentionPolicy_Description": "به طور خودکار پیام های قدیمی را در سراسر نمونه Rocket.Chat خود قرار دهید.", "RetentionPolicy_Enabled": "فعال", "RetentionPolicy_ExcludePinned": "پیام های پین شده را حذف کنید", "RetentionPolicy_FilesOnly": "فقط فایلها را حذف کنید", "RetentionPolicy_FilesOnly_Description": "فقط فایل ها حذف خواهند شد، پیام های خود را در جای خود قرار می دهند.", "RetentionPolicy_MaxAge": "حداکثر سن پیام", + "RetentionPolicy_MaxAge_Channels": "حداکثر سن پیام در کانال ها", + "RetentionPolicy_MaxAge_Description": "تمام پیام های قدیمی تر از این مقدار را در روزها فرو کن", + "RetentionPolicy_MaxAge_DMs": "حداکثر سن پیام در پیام های مستقیم", + "RetentionPolicy_MaxAge_Groups": "حداکثر سن پیام در گروه های خصوصی", "RetentionPolicy_Precision": "تایمر دقیق", "RetentionPolicy_Precision_Description": "هر چند وقت یکبار تایمر بره باید اجرا شود تنظیم این به یک مقدار دقیق تر باعث می شود کانال های با تایمر نگهداری سریع کار بهتر، اما ممکن است پردازش قدرت اضافی در جوامع بزرگ هزینه.", - - "RetentionPolicyRoom_Enabled": "پیام های قدیمی را به طور خودکار خرد کنید", "RetentionPolicyRoom_ExcludePinned": "پیام های پین شده را حذف کنید", "RetentionPolicyRoom_FilesOnly": "فقط پرونده ها را ببندید، پیام ها را نگه دارید", @@ -3109,4 +3114,4 @@ "RegisterWorkspace_Features_Omnichannel_Title": "کانال همه‌کاره", "Enterprise": "شرکت، پروژه", "UpgradeToGetMore_engagement-dashboard_Title": "تجزیه و تحلیل ترافیک" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/fi.i18n.json b/packages/i18n/src/locales/fi.i18n.json index fcc101ca57f7..17b5f65eab31 100644 --- a/packages/i18n/src/locales/fi.i18n.json +++ b/packages/i18n/src/locales/fi.i18n.json @@ -4060,6 +4060,9 @@ "RetentionPolicy_Advanced_Precision": "Käytä laajennettua säilytyskäytäntöä", "RetentionPolicy_Advanced_Precision_Cron": "Käytä laajennetun säilytyskäytännön Cron -käytäntöä", "RetentionPolicy_Advanced_Precision_Cron_Description": "Kuinka usein karsinta-ajastimen tulisi toimia, määritellään cron-työn lausekkeella. Jos tämä asetetaan tarkempaan arvoon, kanavat, joissa on nopeat säilytysajastimet, toimivat paremmin, mutta se saattaa vaatia ylimääräistä laskentatehoa suurissa yhteisöissä.", + "RetentionPolicy_AppliesToChannels": "Koskee kanavia", + "RetentionPolicy_AppliesToDMs": "Koskee suoria viestejä", + "RetentionPolicy_AppliesToGroups": "Koskee yksityisiä ryhmiä", "RetentionPolicy_Description": "Karsii vanhat viestit ja tiedostot automaattisesti koko työtilassa.", "RetentionPolicy_DoNotPruneDiscussion": "Älä karsi keskusteluviestejä", "RetentionPolicy_DoNotPrunePinned": "Älä karsi kiinnitettyjä viestejä", @@ -4069,6 +4072,10 @@ "RetentionPolicy_FilesOnly": "Poista vain tiedostot", "RetentionPolicy_FilesOnly_Description": "Vain tiedostot poistetaan, itse viestit säilyvät.", "RetentionPolicy_MaxAge": "Viestin maksimi-ikä", + "RetentionPolicy_MaxAge_Channels": "Viestin maksimi-ikä kanavilla", + "RetentionPolicy_MaxAge_Description": "Karsi kaikki viestit, jotka ovat vanhempia kuin tämä arvo (päiviä)", + "RetentionPolicy_MaxAge_DMs": "Viestin maksimi-ikä yksityisviesteissä", + "RetentionPolicy_MaxAge_Groups": "Viestin maksimi-ikä yksityisissä ryhmissä", "RetentionPolicy_Precision": "Ajastimen tarkkuus", "RetentionPolicy_Precision_Description": "Karsinta-ajastimen suoritustiheys. Tarkan arvon määritys toimii paremmin kanavilla, joilla on nopeat säilytysajastimet, mutta käsittelyteho saattaa kärsiä suurissa yhteisöissä.", "RetentionPolicyRoom_Enabled": "Karsi vanhat viestit automaattisesti", @@ -5660,6 +5667,7 @@ "Always_send_the_transcript_to_contacts_at_the_end_of_the_conversations": "Lähetä tekstitallenne aina yhteyshenkilöille keskustelujen lopuksi.", "Export_conversation_transcript_as_PDF": "Vie keskustelun tekstitallenne PDF-muotoon", "Omnichannel_transcript_email": "Lähetä keskustelun tekstitallenne sähköpostitse.", + "Accounts_Default_User_Preferences_omnichannelTranscriptEmail_Description": "Lähetä tekstitallenne aina yhteyshenkilöille keskustelujen lopuksi.", "Omnichannel_transcript_pdf": "Vie keskustelun tekstitallenne PDF-muotoon.", "Accounts_Default_User_Preferences_omnichannelTranscriptPDF_Description": "Vie tekstitallenne aina PDF-muotoon keskustelujen lopuksi.", "Contact_email": "Yhteyshenkilön sähköpostiosoite", @@ -5742,4 +5750,4 @@ "Theme_Appearence": "Teeman ulkoasu", "Enterprise": "Yritys", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/fr.i18n.json b/packages/i18n/src/locales/fr.i18n.json index c20361ae9329..84d33eaf5330 100644 --- a/packages/i18n/src/locales/fr.i18n.json +++ b/packages/i18n/src/locales/fr.i18n.json @@ -232,6 +232,7 @@ "Accounts_ShowFormLogin": "Afficher le formulaire de connexion par défaut", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled": "Activer l'authentification à deux facteurs via TOTP", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled_Description": "Les utilisateurs peuvent configurer l'authentification à deux facteurs via n'importe quelle application TOTP, comme Google Authenticateur ou Authy.", + "Calls_in_queue_many": "{{count}} appels en file d'attente", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In": "Activer automatiquement l'authentification à deux facteurs par e-mail pour les nouveaux utilisateurs", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In_Description": "L'authentification à deux facteurs par e-mail sera activée par défaut pour les nouveaux utilisateurs. Ils pourront la désactiver dans leur page de profil.", "Accounts_TwoFactorAuthentication_By_Email_Code_Expiration": "Délai d'expiration du code envoyé par e-mail (en secondes)", @@ -277,7 +278,6 @@ "add-livechat-department-agents_description": "Autorisation d'ajouter des agents omnicanaux aux départements", "add-oauth-service": "Ajouter un service Oauth", "add-oauth-service_description": "Autorisation d'ajouter un nouveau service Oauth", - "Calls_in_queue_many": "{{count}} appels en file d'attente", "add-user": "Ajouter un utilisateur", "add-user_description": "Autorisation d'ajouter de nouveaux utilisateurs au serveur via l'écran des utilisateurs", "add-user-to-any-c-room": "Ajouter un utilisateur à un canal public", @@ -751,6 +751,7 @@ "CAS_enabled": "Activé", "CAS_Login_Layout": "Présentation de la connexion CAS", "CAS_login_url": "URL de connexion SSO", + "message_counter_many": "{{count}} messages", "CAS_login_url_Description": "URL de connexion de votre service SSO externe, par exemple : `https://sso.example.undef/sso/login`", "CAS_popup_height": "Hauteur de la fenêtre contextuelle de connexion", "CAS_popup_width": "Largeur de la fenêtre contextuelle de connexion", @@ -766,6 +767,7 @@ "Categories*": "Catégories*", "CDN_JSCSS_PREFIX": "Préfixe CDN pour JS/CSS", "CDN_PREFIX": "Préfixe CDN", + "meteor_status_reconnect_in_many": "nouvelle tentative dans {{count}} secondes...", "CDN_PREFIX_ALL": "Utiliser le préfixe CDN pour toutes les ressources", "Certificates_and_Keys": "Certificats et clés", "change-livechat-room-visitor": "Modifier les visiteurs des salons Livechat", @@ -944,7 +946,6 @@ "Contact_not_found": "Contact introuvable", "Contact_Profile": "Profil de contact", "Contact_Info": "Informations de contact", - "message_counter_many": "{{count}} messages", "Content": "Contenu", "Continue": "Continuer", "Continuous_sound_notifications_for_new_livechat_room": "Notifications sonores continues pour le nouveau salon omnicanal", @@ -959,7 +960,6 @@ "Conversations": "Conversations", "Conversations_per_day": "Conversations par jour", "Convert": "Convertir", - "meteor_status_reconnect_in_many": "nouvelle tentative dans {{count}} secondes...", "Convert_Ascii_Emojis": "Convertir le code ASCII en emoji", "Convert_to_channel": "Convertir en canal", "Converting_channel_to_a_team": "Vous convertissez ce canal en équipe. Tous les membres seront conservés.", @@ -3535,6 +3535,9 @@ "RetentionPolicy_Advanced_Precision": "Utiliser la configuration de la politique de rétention avancée", "RetentionPolicy_Advanced_Precision_Cron": "Utiliser cron pour la politique de rétention avancée", "RetentionPolicy_Advanced_Precision_Cron_Description": "Fréquence d'exécution du temporisateur d'élagage définie par l'expression de la tâche cron. Une valeur plus précise améliore le fonctionnement des canaux avec des temporisateurs de rétention rapides, mais le coût en termes de puissance de traitement peut être élevé pour les grandes communautés.", + "RetentionPolicy_AppliesToChannels": "S'applique aux canaux", + "RetentionPolicy_AppliesToDMs": "S'applique aux messages directs", + "RetentionPolicy_AppliesToGroups": "S'applique aux groupes privés", "RetentionPolicy_Description": "Élague automatiquement les anciens messages de votre instance Rocket.Chat.", "RetentionPolicy_DoNotPruneDiscussion": "Ne pas élaguer les messages de discussion", "RetentionPolicy_DoNotPrunePinned": "Ne pas élaguer les messages épinglés", @@ -3544,6 +3547,10 @@ "RetentionPolicy_FilesOnly": "Supprimer uniquement les fichiers", "RetentionPolicy_FilesOnly_Description": "Seuls les fichiers seront supprimés, les messages eux-mêmes seront conservés.", "RetentionPolicy_MaxAge": "Âge maximal des messages", + "RetentionPolicy_MaxAge_Channels": "Âge maximal des messages dans les canaux", + "RetentionPolicy_MaxAge_Description": "Élaguer tous les messages plus anciens que cette valeur, en jours", + "RetentionPolicy_MaxAge_DMs": "Âge maximal des messages dans les messages directs", + "RetentionPolicy_MaxAge_Groups": "Âge maximal des messages dans les groupes privés", "RetentionPolicy_Precision": "Précision du temporisateur", "RetentionPolicy_Precision_Description": "Fréquence d'exécution du temporisateur d'élagage. Une valeur plus précise améliore le fonctionnement des canaux avec des temporisateurs de rétention rapides, mais le coût en termes de puissance de traitement peut être élevé pour les grandes communautés.", "RetentionPolicyRoom_Enabled": "Élaguer automatiquement les anciens messages", @@ -4880,4 +4887,4 @@ "Enterprise": "Entreprise", "UpgradeToGetMore_engagement-dashboard_Title": "Analyses", "UpgradeToGetMore_auditing_Title": "Audit des messages" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/hr.i18n.json b/packages/i18n/src/locales/hr.i18n.json index c6b44aac84e5..84c4295d5201 100644 --- a/packages/i18n/src/locales/hr.i18n.json +++ b/packages/i18n/src/locales/hr.i18n.json @@ -2192,12 +2192,19 @@ "Retail": "Maloprodaja", "Retention_setting_changed_successfully": "Postavka pravila zadržavanja uspješno je promijenjena", "RetentionPolicy": "Pravila zadržavanja", + "RetentionPolicy_AppliesToChannels": "Odnosi se na kanale", + "RetentionPolicy_AppliesToDMs": "Odnosi se na izravne poruke", + "RetentionPolicy_AppliesToGroups": "Odnosi se na privatne grupe", "RetentionPolicy_Description": "Automatski prunes stare poruke preko vašeg Rocket.Chat instanca.", "RetentionPolicy_Enabled": "Omogućeno", "RetentionPolicy_ExcludePinned": "Izuzmite prikvačene poruke", "RetentionPolicy_FilesOnly": "Samo izbrišite datoteke", "RetentionPolicy_FilesOnly_Description": "Samo će se datoteke izbrisati, poruke će ostati na mjestu.", "RetentionPolicy_MaxAge": "Maksimalna dob poruka", + "RetentionPolicy_MaxAge_Channels": "Maksimalna dob poruka u kanalima", + "RetentionPolicy_MaxAge_Description": "Prune sve poruke starijima od ove vrijednosti, u danima", + "RetentionPolicy_MaxAge_DMs": "Maksimalna dob poruka u izravnim porukama", + "RetentionPolicy_MaxAge_Groups": "Maksimalna dob poruka u privatnim skupinama", "RetentionPolicy_Precision": "Preciznost mjerača", "RetentionPolicy_Precision_Description": "Koliko često bi trebao trajati mjerač vremena. Postavljanje na precizniju vrijednost čini kanale s brzim retencijskim vremenskim razmacima bolji, ali mogu koštati dodatnu snagu obrade u velikim zajednicama.", "RetentionPolicyRoom_Enabled": "Automatski obrišite stare poruke", @@ -2892,4 +2899,4 @@ "registration.component.form.sendConfirmationEmail": "Pošalji potvrdni email", "Enterprise": "Poduzeće", "UpgradeToGetMore_engagement-dashboard_Title": "Analitika" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/hu.i18n.json b/packages/i18n/src/locales/hu.i18n.json index 6ac0e32cc1b8..f7f85536c183 100644 --- a/packages/i18n/src/locales/hu.i18n.json +++ b/packages/i18n/src/locales/hu.i18n.json @@ -3901,6 +3901,9 @@ "RetentionPolicy_Advanced_Precision": "Speciális megőrzési házirend beállítás használata", "RetentionPolicy_Advanced_Precision_Cron": "Speciális megőrzési házirend cron-feladat használata", "RetentionPolicy_Advanced_Precision_Cron_Description": "Milyen gyakran kell futnia a cron-feladat kifejezéssel meghatározott törlési időzítőnek. Ennek egy pontosabb értékre állítása a gyors visszatartási időzítőkkel rendelkező csatornákat jobban működővé teszi, de további feldolgozási teljesítménybe kerülhet nagy közösségeknél.", + "RetentionPolicy_AppliesToChannels": "Alkalmazás a csatornákra", + "RetentionPolicy_AppliesToDMs": "Alkalmazás a közvetlen üzenetekre", + "RetentionPolicy_AppliesToGroups": "Alkalmazás a személyes csoportokra", "RetentionPolicy_Description": "A régi üzenetek és fájlok automatikus törlése az egész munkaterületen.", "RetentionPolicy_DoNotPruneDiscussion": "Ne törölje a megbeszélés üzeneteit", "RetentionPolicy_DoNotPrunePinned": "Ne törölje a kitűzött üzeneteket", @@ -3910,6 +3913,10 @@ "RetentionPolicy_FilesOnly": "Csak fájlok törlése", "RetentionPolicy_FilesOnly_Description": "Csak a fájlok lesznek törölve, maguk az üzenetek a helyükön maradnak.", "RetentionPolicy_MaxAge": "Legnagyobb üzenetéletkor", + "RetentionPolicy_MaxAge_Channels": "Legnagyobb üzenetéletkor a csatornákban", + "RetentionPolicy_MaxAge_Description": "A napokban megadott értéknél régebbi összes üzenet törlése", + "RetentionPolicy_MaxAge_DMs": "Legnagyobb üzenetéletkor a közvetlen üzenetekben", + "RetentionPolicy_MaxAge_Groups": "Legnagyobb üzenetéletkor a személyes csoportokban", "RetentionPolicy_Precision": "Időzítő pontossága", "RetentionPolicy_Precision_Description": "Milyen gyakran kell futnia a törlési időzítőnek. Ennek egy pontosabb értékre állítása a gyors visszatartási időzítőkkel rendelkező csatornákat jobban működővé teszi, de további feldolgozási teljesítménybe kerülhet nagy közösségeknél.", "RetentionPolicyRoom_Enabled": "Régi üzenetek automatikus törlése", @@ -5420,4 +5427,4 @@ "Enterprise": "Vállalati", "UpgradeToGetMore_engagement-dashboard_Title": "Analitika", "UpgradeToGetMore_auditing_Title": "Üzenet ellenőrzés" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/id.i18n.json b/packages/i18n/src/locales/id.i18n.json index e8201ffecc03..1abc2fadd68c 100644 --- a/packages/i18n/src/locales/id.i18n.json +++ b/packages/i18n/src/locales/id.i18n.json @@ -2068,12 +2068,19 @@ "Retail": "Eceran", "Retention_setting_changed_successfully": "Pengaturan kebijakan retensi berhasil diubah", "RetentionPolicy": "Kebijakan Penyimpanan", + "RetentionPolicy_AppliesToChannels": "Berlaku untuk saluran", + "RetentionPolicy_AppliesToDMs": "Berlaku untuk mengarahkan pesan", + "RetentionPolicy_AppliesToGroups": "Berlaku untuk grup pribadi", "RetentionPolicy_Description": "Secara otomatis memangkas pesan lama di seluruh Rocket Anda. Contohnya.", "RetentionPolicy_Enabled": "Diaktifkan", "RetentionPolicy_ExcludePinned": "Kecualikan pesan yang disematkan", "RetentionPolicy_FilesOnly": "Hanya hapus file", "RetentionPolicy_FilesOnly_Description": "Hanya file yang akan dihapus, pesan itu sendiri akan tetap di tempatnya.", "RetentionPolicy_MaxAge": "Umur pesan maksimum", + "RetentionPolicy_MaxAge_Channels": "Umur pesan maksimum di saluran", + "RetentionPolicy_MaxAge_Description": "Pangkas semua pesan yang lebih lama dari nilai ini, dalam hitungan hari", + "RetentionPolicy_MaxAge_DMs": "Umur pesan maksimum dalam pesan langsung", + "RetentionPolicy_MaxAge_Groups": "Umur pesan maksimum dalam grup pribadi", "RetentionPolicy_Precision": "Timer Presisi", "RetentionPolicy_Precision_Description": "Seberapa sering pewaktu pemangkas harus berjalan. Menyetel ini ke nilai yang lebih tepat membuat saluran dengan penghitung waktu cepat berfungsi lebih baik, tetapi mungkin memerlukan biaya daya pemrosesan tambahan pada komunitas besar.", "RetentionPolicyRoom_Enabled": "Secara otomatis memangkas pesan lama", @@ -2766,4 +2773,4 @@ "registration.component.form.sendConfirmationEmail": "Kirim email konfirmasi", "Enterprise": "Perusahaan", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/it.i18n.json b/packages/i18n/src/locales/it.i18n.json index a7d0658f6035..160dbe3cf40e 100644 --- a/packages/i18n/src/locales/it.i18n.json +++ b/packages/i18n/src/locales/it.i18n.json @@ -203,9 +203,11 @@ "Accounts_OAuth_Wordpress_token_path": "Percorso del token", "Accounts_Password_Policy_AtLeastOneLowercase": "Almeno una minuscola", "Accounts_Password_Policy_AtLeastOneLowercase_Description": "Imponi che una password contenga almeno un carattere minuscolo.", + "Apps_Count_Enabled_many": "{{count}} app abilitate", "Accounts_Password_Policy_AtLeastOneNumber": "Almeno un numero", "Accounts_Password_Policy_AtLeastOneNumber_Description": "Imponi che una password contenga almeno un carattere numerico.", "Accounts_Password_Policy_AtLeastOneSpecialCharacter": "Almeno un simbolo", + "Private_Apps_Count_Enabled_many": "{{count}} applicazioni private abilitate", "Accounts_Password_Policy_AtLeastOneSpecialCharacter_Description": "Imponi che una password contenga almeno un carattere speciale.", "Accounts_Password_Policy_AtLeastOneUppercase": "Almeno una maiuscola", "Accounts_Password_Policy_AtLeastOneUppercase_Description": "Imponi che una password contenga almeno un carattere minuscolo.", @@ -230,10 +232,8 @@ "Accounts_RegistrationForm_Secret_URL": "URL segreto", "Accounts_RegistrationForm_SecretURL": "URL segreto del modulo di registrazione ", "Accounts_RegistrationForm_SecretURL_Description": "È necessario fornire una stringa casuale che verrà aggiunta all'URL di registrazione. Esempio: `https://open.rocket.chat/register/[secret_hash]`", - "Apps_Count_Enabled_many": "{{count}} app abilitate", "Accounts_RequireNameForSignUp": "Richiedi il nome per la registrazione", "Accounts_RequirePasswordConfirmation": "Richiede conferma della password", - "Private_Apps_Count_Enabled_many": "{{count}} applicazioni private abilitate", "Accounts_SearchFields": "Campi da considerare nella ricerca", "Accounts_Send_Email_When_Activating": "Invia mail all'utente quando quando è attivato", "Accounts_Send_Email_When_Deactivating": "Invia mail all'utente quando quando è inattivato", @@ -593,6 +593,7 @@ "CAS_version": "Versione CAS", "CAS_version_Description": "Utilizza solo la versione CAS supportata dal tuo servizio CAS SSO.", "CDN_PREFIX": "Prefisso CDN", + "meteor_status_reconnect_in_many": "riprovo tra {{count}} secondi...", "Certificates_and_Keys": "Certificati e chiavi", "Change_Room_Type": "Cambia la tipologia di stanza", "Changing_email": "In fase di cambiamento dell'email", @@ -714,7 +715,6 @@ "Conversation_finished_message": "Messaggio di conversazione terminato", "conversation_with_s": "la conversazione con %s", "Conversations": "Conversazioni", - "meteor_status_reconnect_in_many": "riprovo tra {{count}} secondi...", "Convert_Ascii_Emojis": "Converti gli ASCII in Emoji", "Converted__roomName__to_team": "ha convertito #{{roomName}} in una squadra", "Converted__roomName__to_channel": "ha convertito #{{roomName}} in un Channel", @@ -2579,12 +2579,19 @@ "Retail": "Al dettaglio", "Retention_setting_changed_successfully": "Impostazione dei criteri di conservazione modificata correttamente", "RetentionPolicy": "Politica di conservazione", + "RetentionPolicy_AppliesToChannels": "Si applica ai canali", + "RetentionPolicy_AppliesToDMs": "Si applica per dirigere i messaggi", + "RetentionPolicy_AppliesToGroups": "Si applica a gruppi privati", "RetentionPolicy_Description": "Elimina automaticamente vecchi messaggi attraverso l'istanza di Rocket.Chat.", "RetentionPolicy_Enabled": "Abilitato", "RetentionPolicy_ExcludePinned": "Escludere i messaggi aggiunti", "RetentionPolicy_FilesOnly": "Elimina solo i file", "RetentionPolicy_FilesOnly_Description": "Verranno eliminati solo i file, i messaggi rimarranno al loro posto.", "RetentionPolicy_MaxAge": "Età massima del messaggio", + "RetentionPolicy_MaxAge_Channels": "Massima età dei messaggi nei canali", + "RetentionPolicy_MaxAge_Description": "Elimina tutti i messaggi più vecchi di questo valore, in giorni", + "RetentionPolicy_MaxAge_DMs": "Età massima dei messaggi nei messaggi diretti", + "RetentionPolicy_MaxAge_Groups": "Età massima dei messaggi in gruppi privati", "RetentionPolicy_Precision": "Precisione del timer", "RetentionPolicy_Precision_Description": "Con quale frequenza deve essere eseguito il timer di sfoltimento. Impostando questo ad un valore più preciso, i canali con timer di ritenzione veloce funzionano meglio, ma potrebbero costare una maggiore potenza di elaborazione su comunità di grandi dimensioni.", "RetentionPolicyRoom_Enabled": "Elimina automaticamente vecchi messaggi", @@ -3401,4 +3408,4 @@ "UpgradeToGetMore_custom-roles_Title": "Ruoli personalizzati", "Video_call_manager": "Gestore di videochiamate", "Sync_license_update_Callout_Title": "Stiamo aggiornando la vostra licenza" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ja.i18n.json b/packages/i18n/src/locales/ja.i18n.json index d81bef5c47ad..982f9495d914 100644 --- a/packages/i18n/src/locales/ja.i18n.json +++ b/packages/i18n/src/locales/ja.i18n.json @@ -3497,6 +3497,9 @@ "RetentionPolicy_Advanced_Precision": "高度な保持ポリシー設定の使用", "RetentionPolicy_Advanced_Precision_Cron": "高度な保持ポリシークロンの使用", "RetentionPolicy_Advanced_Precision_Cron_Description": "整理タイマーの実行頻度はcronジョブ式で定義されます。これをより精密な値に設定すると、保持タイマーが高速なチャネルの動作が改善されますが、大規模コミュニティでは追加の処理能力が必要になる可能性があります。", + "RetentionPolicy_AppliesToChannels": "チャネルに適用", + "RetentionPolicy_AppliesToDMs": "ダイレクトメッセージに適用", + "RetentionPolicy_AppliesToGroups": "プライベートグループに適用", "RetentionPolicy_Description": "Rocket.Chatインスタンス全体で古いメッセージを自動的に整理します。", "RetentionPolicy_DoNotPruneDiscussion": "ディスカッションメッセージを整理しない", "RetentionPolicy_DoNotPrunePinned": "固定されたメッセージを整理しない", @@ -3506,6 +3509,10 @@ "RetentionPolicy_FilesOnly": "ファイルのみを削除", "RetentionPolicy_FilesOnly_Description": "ファイルのみが削除され、メッセージ自体はそのまま残ります。", "RetentionPolicy_MaxAge": "メッセージ保持日数", + "RetentionPolicy_MaxAge_Channels": "チャネルでのメッセージ保持期間", + "RetentionPolicy_MaxAge_Description": "この値(日数)を経過したすべてのメッセージを整理します。", + "RetentionPolicy_MaxAge_DMs": "ダイレクトメッセージのメッセージ保持日数", + "RetentionPolicy_MaxAge_Groups": "プライベートグループでのメッセージ保持期間", "RetentionPolicy_Precision": "タイマー精度", "RetentionPolicy_Precision_Description": "整理タイマーの実行頻度。これをより精密な値に設定すると、保持タイマーが高速なチャネルの動作が改善されますが、大規模コミュニティでは追加の処理能力が必要になる可能性があります。", "RetentionPolicyRoom_Enabled": "古いメッセージを自動的に整理", @@ -4823,4 +4830,4 @@ "Enterprise": "エンタープライズ", "UpgradeToGetMore_engagement-dashboard_Title": "分析", "UpgradeToGetMore_auditing_Title": "メッセージ監査" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ka-GE.i18n.json b/packages/i18n/src/locales/ka-GE.i18n.json index fb656612893d..3c550632cc4c 100644 --- a/packages/i18n/src/locales/ka-GE.i18n.json +++ b/packages/i18n/src/locales/ka-GE.i18n.json @@ -2776,11 +2776,17 @@ "Retail": "საცალო", "Retention_setting_changed_successfully": "შენახვის წესები წარმატებით შეიცვალა", "RetentionPolicy": "შენახვის წესები", + "RetentionPolicy_AppliesToChannels": "ვრცელდება არხებზე", + "RetentionPolicy_AppliesToDMs": "ვრცელდება პირდაპირ შეტყობინებებზე", + "RetentionPolicy_AppliesToGroups": "ვრცელდება კერძო ჯგუფებზე", "RetentionPolicy_Enabled": "ჩართული", "RetentionPolicy_ExcludePinned": "მიმაგრებული შეტყობინებების გამორიცხვა", "RetentionPolicy_FilesOnly": "მხოლოდ ფაილების წაშლა", "RetentionPolicy_FilesOnly_Description": "წაიშლება მხოლოდ ფაილები,შეტყობინებები დარჩება ადგილზე", "RetentionPolicy_MaxAge": "შეტყობინების მაქსიმალური ასაკი", + "RetentionPolicy_MaxAge_Channels": "არხში შეტყობინების მაქსიმალური ასაკი", + "RetentionPolicy_MaxAge_DMs": "პირდაპირ შეტყობინებებში შეტყობინების მაქსიმალური ასაკი", + "RetentionPolicy_MaxAge_Groups": "პირად ჯგუფში შეტყობინების მაქსიმალური ასაკი", "RetentionPolicy_Precision": "ტაიმერის სიზუსტე", "RetentionPolicyRoom_ExcludePinned": "მიმაგრებული შეტყობინებების გამორიცხვა", "RetentionPolicyRoom_MaxAge": "შეტყობინების მაქსიმალური ასაკი დღეებში(დეფაულტი:{{_max}})", @@ -3672,4 +3678,4 @@ "onboarding.form.registerOfflineForm.title": "ხელით დარეგისტრირება", "UpgradeToGetMore_engagement-dashboard_Title": "ანალიტიკა", "UpgradeToGetMore_auditing_Title": "შეტყობინებების შემოწმება" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/km.i18n.json b/packages/i18n/src/locales/km.i18n.json index 698d7a72edf4..997ee66a00e7 100644 --- a/packages/i18n/src/locales/km.i18n.json +++ b/packages/i18n/src/locales/km.i18n.json @@ -2376,12 +2376,19 @@ "Retail": "លក់​រាយ", "Retention_setting_changed_successfully": "ការកំណត់គោលនយោបាយរក្សាទុកបានផ្លាស់ប្ដូរដោយជោគជ័យ", "RetentionPolicy": "គោលនយោបាយរក្សាទុក", + "RetentionPolicy_AppliesToChannels": "អនុវត្តទៅឆានែល", + "RetentionPolicy_AppliesToDMs": "អនុវត្តទៅសារដោយផ្ទាល់", + "RetentionPolicy_AppliesToGroups": "អនុវត្តចំពោះក្រុមឯកជន", "RetentionPolicy_Description": "លុបសារចាស់ៗដោយស្វ័យប្រវត្តិនៅលើ Rocket.Chat របស់អ្នក។", "RetentionPolicy_Enabled": "បានបើក", "RetentionPolicy_ExcludePinned": "មិនរាប់បញ្ចូលសារដែលបានបញ្ចូល", "RetentionPolicy_FilesOnly": "លុបតែឯកសារ", "RetentionPolicy_FilesOnly_Description": "មានតែឯកសារប៉ុណ្ណោះដែលនឹងត្រូវលុបចោលសាររបស់ពួកគេនឹងនៅតែបន្ត។", "RetentionPolicy_MaxAge": "អាយុសារអតិបរមា", + "RetentionPolicy_MaxAge_Channels": "អាយុសារអតិបរមានៅក្នុងឆានែល", + "RetentionPolicy_MaxAge_Description": "កាត់បន្ថយសារទាំងអស់ដែលចាស់ជាងតម្លៃនេះជាថ្ងៃ", + "RetentionPolicy_MaxAge_DMs": "អាយុសារអតិបរមានៅក្នុងសារដោយផ្ទាល់", + "RetentionPolicy_MaxAge_Groups": "អាយុសារអតិបរមាក្នុងក្រុមឯកជន", "RetentionPolicy_Precision": "ការបញ្ជាក់ពេលវេលា", "RetentionPolicy_Precision_Description": "រយៈពេលប៉ុន្មានដែលអ្នកល្ពៅគួរតែដំណើរការ។ ការកំណត់នេះទៅជាតម្លៃច្បាស់លាស់បន្ថែមទៀតធ្វើឱ្យឆានែលដែលមានឧបករណ៍កំណត់ពេលរក្សាទុកយ៉ាងឆាប់រហ័សដំណើរការបានល្អប៉ុន្តែវាអាចធ្វើអោយចំណាយថាមពលដំណើរការបន្ថែមលើសហគមន៍ធំ ៗ ។", "RetentionPolicyRoom_Enabled": "លុបសារចាស់ដោយស្វ័យប្រវត្តិ", @@ -3116,4 +3123,4 @@ "Enterprise": "សហគ្រាស", "UpgradeToGetMore_engagement-dashboard_Title": "វិភាគ", "UpgradeToGetMore_auditing_Title": "សវនកម្មសារ" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ko.i18n.json b/packages/i18n/src/locales/ko.i18n.json index 569245e7854a..ad5818ab9f85 100644 --- a/packages/i18n/src/locales/ko.i18n.json +++ b/packages/i18n/src/locales/ko.i18n.json @@ -3025,6 +3025,9 @@ "Retail": "소매", "Retention_setting_changed_successfully": "보존 정책 설정이 변경되었습니다.", "RetentionPolicy": "보존 정책", + "RetentionPolicy_AppliesToChannels": "채널에 적용", + "RetentionPolicy_AppliesToDMs": "개인 대화방에 적용", + "RetentionPolicy_AppliesToGroups": "비공개 그룹에 적용", "RetentionPolicy_Description": "Rocket.Chat 인스턴스에서 오래된 메시지를 자동으로 정리합니다.", "RetentionPolicy_DoNotPruneDiscussion": "토론 메시지를 정리하지 마십시오", "RetentionPolicy_DoNotPrunePinned": "고정 된 메시지를 정리하지 마십시오", @@ -3034,6 +3037,10 @@ "RetentionPolicy_FilesOnly": "파일만 삭제", "RetentionPolicy_FilesOnly_Description": "파일만 삭제되며 메시지 자체는 그대로 유지됩니다.", "RetentionPolicy_MaxAge": "최대 메시지 수명", + "RetentionPolicy_MaxAge_Channels": "채널의 최대 메시지 보존 기간", + "RetentionPolicy_MaxAge_Description": "이 값보다 오래된 메시지를 일 단위로 정리합니다.", + "RetentionPolicy_MaxAge_DMs": "1:1 대화방의 최대 메시지 수명", + "RetentionPolicy_MaxAge_Groups": "비공개 그룹의 최대 메시지 수명", "RetentionPolicy_Precision": "타이머 정밀도", "RetentionPolicy_Precision_Description": "정리 타이머가 실행되는 빈도. 이를 보다 정확한 값으로 설정하면 빠른 보존 타이머가 있는 채널이 더 잘 작동하지만, 대규모 커뮤니티에서는 처리 능력이 추가로 필요할 수 있습니다.", "RetentionPolicyRoom_Enabled": "오래된 메시지를 자동으로 정리합니다.", @@ -4028,4 +4035,4 @@ "Enterprise": "기업", "UpgradeToGetMore_engagement-dashboard_Title": "분석(에널리틱스)", "UpgradeToGetMore_auditing_Title": "메시지 감사" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ku.i18n.json b/packages/i18n/src/locales/ku.i18n.json index 301679e681bf..9b4a4d1aaeb2 100644 --- a/packages/i18n/src/locales/ku.i18n.json +++ b/packages/i18n/src/locales/ku.i18n.json @@ -2055,12 +2055,19 @@ "Retail": "Yektacirî", "Retention_setting_changed_successfully": "Sîstema polîtîkayên paşveçûn bi serkeftî guhertin", "RetentionPolicy": "Polîtîkaya Reparêziyê", + "RetentionPolicy_AppliesToChannels": "Li ser kanalên xwe ye", + "RetentionPolicy_AppliesToDMs": "Li peyamên yekser peyda dike", + "RetentionPolicy_AppliesToGroups": "Li komên taybetî", "RetentionPolicy_Description": "Xweseriya xwe li ser Rocket.", "RetentionPolicy_Enabled": "Vekirî", "RetentionPolicy_ExcludePinned": "Peyamên pinned", "RetentionPolicy_FilesOnly": "Tenê pelan jêbirin", "RetentionPolicy_FilesOnly_Description": "Tenê pelên wê jêbirin, peyamên xwe dê di cih de bimînin.", "RetentionPolicy_MaxAge": "Mesajê herî mezintir", + "RetentionPolicy_MaxAge_Channels": "Zewaca herî mezintir di kanalên", + "RetentionPolicy_MaxAge_Description": "Di rojan de, hemî mesajên kevntir ji vê nirxê mezintir bide", + "RetentionPolicy_MaxAge_DMs": "Mesajê herî mezintir di navnîşên peyamê de", + "RetentionPolicy_MaxAge_Groups": "Di nav komên taybet de herî mezintirîn mesajê", "RetentionPolicy_Precision": "Timer Precision", "RetentionPolicy_Precision_Description": "Heya caran timer prune divê diçin. Sazkirina vê nirxê bêtir rastîn dike ku kanalên bi timên bêdeng yên zûtir baş dixebite, lê dibe ku li ser civakên mezin.", "RetentionPolicyRoom_Enabled": "Peyamên kevnên xwe yên otomatîk dihêle", @@ -2748,4 +2755,4 @@ "registration.component.form.sendConfirmationEmail": "ئیمەیڵی پشتڕاستکردنەوە بنێرە", "Enterprise": "Enterprise", "UpgradeToGetMore_engagement-dashboard_Title": "analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/lo.i18n.json b/packages/i18n/src/locales/lo.i18n.json index 441e3c09cafe..d427b251e863 100644 --- a/packages/i18n/src/locales/lo.i18n.json +++ b/packages/i18n/src/locales/lo.i18n.json @@ -2098,12 +2098,19 @@ "Retail": "ຂາຍ​ຍ່ອຍ", "Retention_setting_changed_successfully": "ການຕັ້ງຄ່ານະໂຍບາຍຮັກສາຄວາມປອດໄພໄດ້ປ່ຽນແປງຢ່າງສໍາເລັດ", "RetentionPolicy": "ນະໂຍບາຍຮັກສາ", + "RetentionPolicy_AppliesToChannels": "ນໍາໃຊ້ກັບຊ່ອງທາງ", + "RetentionPolicy_AppliesToDMs": "ໃຊ້ກັບຂໍ້ຄວາມໂດຍກົງ", + "RetentionPolicy_AppliesToGroups": "ນໍາໃຊ້ກັບກຸ່ມເອກະຊົນ", "RetentionPolicy_Description": "ອັດຕະໂນມັດ prunes ຂໍ້ຄວາມເກົ່າໃນຕົວຢ່າງ RocketChat ຂອງທ່ານ.", "RetentionPolicy_Enabled": "Enabled", "RetentionPolicy_ExcludePinned": "ຍົກເວັ້ນຂໍ້ຄວາມທີ່ມີ PINned", "RetentionPolicy_FilesOnly": "ພຽງແຕ່ລຶບໄຟລ໌", "RetentionPolicy_FilesOnly_Description": "ໄຟລ໌ພຽງແຕ່ຈະຖືກລຶບ, ຂໍ້ຄວາມຂອງເຂົາເຈົ້າເອງຈະຢູ່ໃນສະຖານທີ່.", "RetentionPolicy_MaxAge": "Age message ສູງສຸດ", + "RetentionPolicy_MaxAge_Channels": "ອາຍຸສູງສຸດຂອງຂໍ້ຄວາມໃນຊ່ອງທາງ", + "RetentionPolicy_MaxAge_Description": "ການແກ້ໄຂຂໍ້ຄວາມເກົ່າກວ່າມູນຄ່ານີ້, ໃນມື້", + "RetentionPolicy_MaxAge_DMs": "ອາຍຸສູງສຸດຂອງຂໍ້ຄວາມໃນຂໍ້ຄວາມໂດຍກົງ", + "RetentionPolicy_MaxAge_Groups": "ອາຍຸສູງສຸດຂໍ້ຄວາມໃນກຸ່ມເອກະຊົນ", "RetentionPolicy_Precision": "Timer Precision", "RetentionPolicy_Precision_Description": "ເວລາທີ່ໃຊ້ເວລາມັນຄວນໃຊ້. ການຕັ້ງຄ່ານີ້ໃຫ້ມີມູນຄ່າທີ່ຊັດເຈນຫຼາຍເຮັດໃຫ້ຊ່ອງທີ່ມີເວລາເກັບຮັກສາໄວຂຶ້ນເຮັດວຽກດີຂຶ້ນແຕ່ອາດຈະມີຄ່າໃຊ້ຈ່າຍໃນການປະມວນຜົນພິເສດໃນຊຸມຊົນຂະຫນາດໃຫຍ່.", "RetentionPolicyRoom_Enabled": "ລຶບຂໍ້ຄວາມເກົ່າອັດຕະໂນມັດ", @@ -2795,4 +2802,4 @@ "registration.component.form.sendConfirmationEmail": "ສົ່ງອີເມວການຢືນຢັນ", "Enterprise": "Enterprise", "UpgradeToGetMore_engagement-dashboard_Title": "ການວິເຄາະ" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/lt.i18n.json b/packages/i18n/src/locales/lt.i18n.json index f2763da5288d..88fb66dc554f 100644 --- a/packages/i18n/src/locales/lt.i18n.json +++ b/packages/i18n/src/locales/lt.i18n.json @@ -2115,12 +2115,19 @@ "Retail": "Mažmeninė", "Retention_setting_changed_successfully": "Saugojimo politikos nustatymas sėkmingai pasikeitė", "RetentionPolicy": "Saugojimo politika", + "RetentionPolicy_AppliesToChannels": "Taikoma kanalams", + "RetentionPolicy_AppliesToDMs": "Taikoma tiesioginiams pranešimams", + "RetentionPolicy_AppliesToGroups": "Taikoma privačioms grupėms", "RetentionPolicy_Description": "Automatiškai sunaikina senus pranešimus per savo \"Rocket.Chat\" egzempliorių.", "RetentionPolicy_Enabled": "Įjungtas", "RetentionPolicy_ExcludePinned": "Išskirti prisegtus pranešimus", "RetentionPolicy_FilesOnly": "Ištrinti tik failus", "RetentionPolicy_FilesOnly_Description": "Tik failai bus ištrinti, o pačios žinutės išliks.", "RetentionPolicy_MaxAge": "Maksimalus pranešimo amžius", + "RetentionPolicy_MaxAge_Channels": "Didžiausias pranešimų amžius kanaluose", + "RetentionPolicy_MaxAge_Description": "Sulenkite visus pranešimus, senesnes už šią vertę, dienų", + "RetentionPolicy_MaxAge_DMs": "Maksimalus pranešimų amžius tiesioginiuose pranešimuose", + "RetentionPolicy_MaxAge_Groups": "Maksimalus pranešimų amžius privačiose grupėse", "RetentionPolicy_Precision": "Laikmatis tikslumas", "RetentionPolicy_Precision_Description": "Kaip dažnai turi būti paleidžiamas kopūstų laikrodis. Jei norite nustatyti tikslesnę reikšmę, kanalai su greitojo saugojimo laikmačiais dirba geriau, bet didelėms bendruomenėms gali būti brangesta papildoma apdorojimo galia.", "RetentionPolicyRoom_Enabled": "Automatiškai sunaikinti senus pranešimus", @@ -2813,4 +2820,4 @@ "registration.component.form.sendConfirmationEmail": "Siųsti patvirtinimo el. Laišką", "Enterprise": "Įmonė", "UpgradeToGetMore_engagement-dashboard_Title": "\"Analytics\"" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/lv.i18n.json b/packages/i18n/src/locales/lv.i18n.json index 80115585d934..544eac3dbeb3 100644 --- a/packages/i18n/src/locales/lv.i18n.json +++ b/packages/i18n/src/locales/lv.i18n.json @@ -2073,12 +2073,19 @@ "Retail": "Mazumtirdzniecība", "Retention_setting_changed_successfully": "Saglabāšanas politikas iestatījumi ir veiksmīgi mainīti", "RetentionPolicy": "Saglabāšanas politika", + "RetentionPolicy_AppliesToChannels": "Attiecas uz kanāliem", + "RetentionPolicy_AppliesToDMs": "Attiecas uz tiešajiem ziņojumiem", + "RetentionPolicy_AppliesToGroups": "Attiecas uz privātām grupām", "RetentionPolicy_Description": "Automātiski apgriež vecos ziņojumus visā jūsu Rocket.Chat eksemplārā.", "RetentionPolicy_Enabled": "Iespējots", "RetentionPolicy_ExcludePinned": "Izslēgt piespraustos ziņojumus", "RetentionPolicy_FilesOnly": "Dzēst tikai failus", "RetentionPolicy_FilesOnly_Description": "Tiks dzēsti tikai faili, paši ziņojumi paliks.", "RetentionPolicy_MaxAge": "Maksimālais ziņojumu vecums", + "RetentionPolicy_MaxAge_Channels": "Maksimālais ziņojumu vecums kanālos", + "RetentionPolicy_MaxAge_Description": "Apgriezt visus ziņojumus, kas vecāki par šo vērtību, dienās", + "RetentionPolicy_MaxAge_DMs": "Maksimālais ziņojumu vecums tiešajos ziņojumos", + "RetentionPolicy_MaxAge_Groups": "Maksimālais ziņojumu vecums privātās grupās", "RetentionPolicy_Precision": "Taimera precizitāte", "RetentionPolicy_Precision_Description": "Cik bieži ir apgriešanas taimerim būtu jādarbojas? Iestatot to precīzāku ar vērtību, kanāli ar ātru saglabāšanas taimeri darbojas labāk, taču lielām grupām tas var prasīt vairāk apstrādes jaudas.", "RetentionPolicyRoom_Enabled": "Automātiski apgriež vecās ziņas", @@ -2754,4 +2761,4 @@ "registration.component.form.sendConfirmationEmail": "Nosūtīt apstiprinājuma e-pastu", "Enterprise": "Uzņēmums", "UpgradeToGetMore_engagement-dashboard_Title": "Analītika" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/mn.i18n.json b/packages/i18n/src/locales/mn.i18n.json index a0bc5c3f9da2..60e18063b49f 100644 --- a/packages/i18n/src/locales/mn.i18n.json +++ b/packages/i18n/src/locales/mn.i18n.json @@ -2055,12 +2055,19 @@ "Retail": "Жижиглэн худалдаа", "Retention_setting_changed_successfully": "Хадгалалтын бодлогын тохиргоо амжилттай болсон", "RetentionPolicy": "Батлан ​​хамгаалах бодлого", + "RetentionPolicy_AppliesToChannels": "Суваг ашиглах", + "RetentionPolicy_AppliesToDMs": "Мессежийг ашиглахад ашигладаг", + "RetentionPolicy_AppliesToGroups": "Хувийн бүлгүүдэд хэрэглэнэ", "RetentionPolicy_Description": "Өөрийн Rocket дээр хуучин зурвасуудыг автоматаар дарж засна уу.", "RetentionPolicy_Enabled": "Идэвхжүүлсэн", "RetentionPolicy_ExcludePinned": "Тэмдэглэсэн зурвасуудыг хасна уу", "RetentionPolicy_FilesOnly": "Зөвхөн файлуудыг устгах", "RetentionPolicy_FilesOnly_Description": "Зөвхөн файлууд устах болно, мэдээнүүд нь өөрөө биелэгдэх болно.", "RetentionPolicy_MaxAge": "Мессежний хамгийн их нас", + "RetentionPolicy_MaxAge_Channels": "Сувгийн хамгийн их зурвасын нас", + "RetentionPolicy_MaxAge_Description": "Энэ утгыг өмнөх бүх зурвасууд өдрөөс өдөрт тайлах", + "RetentionPolicy_MaxAge_DMs": "Мессежний хамгийн их зурвасын нас", + "RetentionPolicy_MaxAge_Groups": "Хувийн бүлгүүдийн хамгийн их зурвасын нас", "RetentionPolicy_Precision": "Таймер Нарийвчлал", "RetentionPolicy_Precision_Description": "Пресс хийх хугацаа хэр их байх ёстой. Үүнийг илүү нарийвчлалтайгаар тогтоох нь түргэн хугацаанд хадгалах сувгууд нь илүү сайн ажиллана, гэхдээ томоохон бүлгүүдэд илүү их боловсруулах хүчин чадал шаарддаг.", "RetentionPolicyRoom_Enabled": "Хуучин зурвасуудыг автоматаар болгоно", @@ -2747,4 +2754,4 @@ "registration.component.form.sendConfirmationEmail": "Баталгаажуулах имэйл илгээх", "Enterprise": "Аж ахуйн нэгж", "UpgradeToGetMore_engagement-dashboard_Title": "Аналитик" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ms-MY.i18n.json b/packages/i18n/src/locales/ms-MY.i18n.json index cbb3907b4b0f..524260560a3f 100644 --- a/packages/i18n/src/locales/ms-MY.i18n.json +++ b/packages/i18n/src/locales/ms-MY.i18n.json @@ -2067,12 +2067,19 @@ "Retail": "Runcit", "Retention_setting_changed_successfully": "Tetapan dasar retensi berjaya berubah", "RetentionPolicy": "Dasar Pengekalan", + "RetentionPolicy_AppliesToChannels": "Terpakai kepada saluran", + "RetentionPolicy_AppliesToDMs": "Terpakai untuk mengarahkan mesej", + "RetentionPolicy_AppliesToGroups": "Terpakai kepada kumpulan swasta", "RetentionPolicy_Description": "Prun secara automatik mesej lama di seberang contoh Rocket.Chat anda.", "RetentionPolicy_Enabled": "Dihidupkan", "RetentionPolicy_ExcludePinned": "Kecualikan mesej yang disematkan", "RetentionPolicy_FilesOnly": "Hanya padamkan fail", "RetentionPolicy_FilesOnly_Description": "Hanya fail yang akan dipadam, mesej itu sendiri akan kekal di tempat.", "RetentionPolicy_MaxAge": "Umur mesej maksimum", + "RetentionPolicy_MaxAge_Channels": "Umur mesej maksimum dalam saluran", + "RetentionPolicy_MaxAge_Description": "Potong semua mesej yang lebih tua daripada nilai ini, dalam beberapa hari", + "RetentionPolicy_MaxAge_DMs": "Umur mesej maksimum dalam mesej langsung", + "RetentionPolicy_MaxAge_Groups": "Umur mesej maksimum dalam kumpulan swasta", "RetentionPolicy_Precision": "Ketepatan pemasa", "RetentionPolicy_Precision_Description": "Berapa kerap pemasa prune perlu dijalankan. Menetapkan ini ke nilai yang lebih tepat menjadikan saluran dengan pemasa cepat pemasa berfungsi dengan lebih baik, tetapi mungkin memerlukan kuasa pemprosesan tambahan pada komuniti besar.", "RetentionPolicyRoom_Enabled": "Buang mesej lama secara automatik", @@ -2762,4 +2769,4 @@ "registration.component.form.sendConfirmationEmail": "Hantar e-mel pengesahan", "Enterprise": "Enterprise", "UpgradeToGetMore_engagement-dashboard_Title": "Analisis" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/nb-NO.i18n.json b/packages/i18n/src/locales/nb-NO.i18n.json new file mode 100644 index 000000000000..6f31cf5a2e62 --- /dev/null +++ b/packages/i18n/src/locales/nb-NO.i18n.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/packages/i18n/src/locales/nl.i18n.json b/packages/i18n/src/locales/nl.i18n.json index 75609ebc3472..bf7f7ffb780c 100644 --- a/packages/i18n/src/locales/nl.i18n.json +++ b/packages/i18n/src/locales/nl.i18n.json @@ -3525,6 +3525,9 @@ "RetentionPolicy_Advanced_Precision": "Configuratie van geavanceerde retentiebeleid gebruiken", "RetentionPolicy_Advanced_Precision_Cron": "Gebruik cron geavanceerde retentiebeleid", "RetentionPolicy_Advanced_Precision_Cron_Description": "Hoe vaak de prune-timer moet worden uitgevoerd, gedefinieerd door cron job expressie. Als u dit instelt op een nauwkeurigere waarde, werken kanalen met snelle retentietimers beter, maar kan dit extra verwerkingskracht kosten voor grote gemeenschappen.", + "RetentionPolicy_AppliesToChannels": "Geldt voor kanalen", + "RetentionPolicy_AppliesToDMs": "Geldt voor directe berichten", + "RetentionPolicy_AppliesToGroups": "Geldt voor privégroepen", "RetentionPolicy_Description": "Verwijdert automatisch oude berichten uit uw Rocket.Chat-instantie.", "RetentionPolicy_DoNotPruneDiscussion": "Geen discussieberichten snoeien", "RetentionPolicy_DoNotPrunePinned": "Verwijder vastgezette berichten niet", @@ -3534,6 +3537,10 @@ "RetentionPolicy_FilesOnly": "Alleen bestanden verwijderen", "RetentionPolicy_FilesOnly_Description": "Alleen bestanden worden verwijderd, de berichten zelf blijven op hun plaats.", "RetentionPolicy_MaxAge": "Maximale berichtleeftijd", + "RetentionPolicy_MaxAge_Channels": "Maximale berichtleeftijd in kanalen", + "RetentionPolicy_MaxAge_Description": "Snoei alle berichten die ouder zijn dan deze waarde, in dagen", + "RetentionPolicy_MaxAge_DMs": "Maximale berichtleeftijd in privéberichten", + "RetentionPolicy_MaxAge_Groups": "Maximale berichtleeftijd in privégroepen", "RetentionPolicy_Precision": "Timer precisie", "RetentionPolicy_Precision_Description": "Hoe vaak de prune-timer moet worden uitgevoerd. Als u dit instelt op een nauwkeurigere waarde, werken kanalen met snelle retentietimers beter, maar kan dit extra verwerkingskracht kosten voor grote gemeenschappen.", "RetentionPolicyRoom_Enabled": "Oude berichten automatisch snoeien", @@ -4865,4 +4872,4 @@ "Enterprise": "Onderneming", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics", "UpgradeToGetMore_auditing_Title": "Bericht auditing" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/nn.i18n.json b/packages/i18n/src/locales/nn.i18n.json new file mode 100644 index 000000000000..6f31cf5a2e62 --- /dev/null +++ b/packages/i18n/src/locales/nn.i18n.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/packages/i18n/src/locales/no.i18n.json b/packages/i18n/src/locales/no.i18n.json index 8a3bbed273f4..5bdbf2fb89cc 100644 --- a/packages/i18n/src/locales/no.i18n.json +++ b/packages/i18n/src/locales/no.i18n.json @@ -3459,12 +3459,19 @@ "Retail": "Detaljhandel", "Retention_setting_changed_successfully": "Retenspolicyinnstillingen ble endret", "RetentionPolicy": "Retensjonspolitikk", + "RetentionPolicy_AppliesToChannels": "Gjelder kanaler", + "RetentionPolicy_AppliesToDMs": "Gjelder direkte meldinger", + "RetentionPolicy_AppliesToGroups": "Gjelder for private grupper", "RetentionPolicy_Description": "Beskytter automatisk gamle meldinger over Rocket.Chat-forekomsten din.", "RetentionPolicy_Enabled": "aktivert", "RetentionPolicy_ExcludePinned": "Ekskluder pinnede meldinger", "RetentionPolicy_FilesOnly": "Bare slett filer", "RetentionPolicy_FilesOnly_Description": "Bare filer vil bli slettet, meldingene selv vil forbli på plass.", "RetentionPolicy_MaxAge": "Maksimal meldingsalder", + "RetentionPolicy_MaxAge_Channels": "Maksimal meldingsalder i kanaler", + "RetentionPolicy_MaxAge_Description": "Beskjær alle meldinger som er eldre enn denne verdien, i dager", + "RetentionPolicy_MaxAge_DMs": "Maksimal meldingsalder i direkte meldinger", + "RetentionPolicy_MaxAge_Groups": "Maksimal meldingsalder i private grupper", "RetentionPolicy_Precision": "Timer Precision", "RetentionPolicy_Precision_Description": "Hvor ofte prune timer skal løpe. Innstilling av dette til en mer presis verdi gjør at kanaler med raske retensjonstidtakere fungerer bedre, men kan koste ekstra prosessorkraft på store lokalsamfunn.", "RetentionPolicyRoom_Enabled": "Beskjær automatisk gamle meldinger", @@ -4573,4 +4580,4 @@ "free_per_month_user": "$0 per måned per bruker", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics", "Buy_more": "Kjøp mer" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/pa-IN.i18n.json b/packages/i18n/src/locales/pa-IN.i18n.json index 18aa4d8eee0b..2a6903f9781c 100644 --- a/packages/i18n/src/locales/pa-IN.i18n.json +++ b/packages/i18n/src/locales/pa-IN.i18n.json @@ -1,5 +1,6 @@ { "500": "ਅੰਦਰੂਨੀ ਸਰਵਰ ਗੜਬੜ", + "__count__empty_rooms_will_be_removed_automatically__rooms__": "{{count}} empty rooms will be removed automatically:
{{rooms}}.", "set__username__as__role_": "set {{username}} ਨੂੰ {{role}}", "away": "ਦੂਰ", "Away": "ਦੂਰ", diff --git a/packages/i18n/src/locales/pl.i18n.json b/packages/i18n/src/locales/pl.i18n.json index 08f0e9bcedcb..b7d60c54ee2c 100644 --- a/packages/i18n/src/locales/pl.i18n.json +++ b/packages/i18n/src/locales/pl.i18n.json @@ -1,21 +1,39 @@ { "500": "Wewnętrzny błąd serwera", "__count__message_pruned_few": "{{count}} wiadomość(i) usuniętych", + "__agents__agents_and__count__conversations__period__": "{{agents}} agentów i {{count}} rozmów, {{period}}", "__count__empty_rooms_will_be_removed_automatically": "Liczba pokojów do automatycznego usunięcia: {{count}}.", "__count__empty_rooms_will_be_removed_automatically__rooms__": "Puste pokoje ({{count}}) zostaną automatycznie usunięte:
{{rooms}}.", "__count__message_pruned_one": "{{count}} wiadomość(i) usuniętych", "__count__message_pruned_other": "{{count}} wiadomość(i) usuniętych", "__count__message_pruned_many": "{{count}} wiadomość(i) usuniętych", + "__count__conversations__period__": "{{count}} rozmowy, {{period}}", "__usersCount__member_joined_few": "+ {{count}} członków dołączyło", + "__count__tags__and__count__conversations__period__": "{{count}} tagów i {{conversations}} konwersacji, {{period}}", + "__departments__departments_and__count__conversations__period__": "{{departments}} działów i {{count}} rozmów, {{period}}", "__usersCount__member_joined_one": "+ {{count}} członek dołączył", "__usersCount__member_joined_other": "+ {{count}} członków dołączyło", "__usersCount__people_will_be_invited": "{{usersCount}} ludzi zostanie zostanie zaproszonych", "__username__is_no_longer__role__defined_by__user_by_": "Użytkownik {{username}} nie ma już roli {{role}}; zmienił to użytkownik {{user_by}}", "__username__was_set__role__by__user_by_": "Użytkownik {{username}} otrzymał rolę {{role}} od użytkownika {{user_by}}", + "__count__without__department__": "{{count}} bez działu", + "__count__without__tags__": "{{count}} bez tagów", + "__count__without__assignee__": "{{count}} bez przypisania", + "__roomName__was_added_to_favorites": "{{roomName}} został dodany do ulubionych", "__usersCount__member_joined_many": "+ {{count}} członków dołączyło", + "__roomName__was_removed_from_favorites": "{{roomName}} został usunięty z ulubionych", + "__roomName__is_encrypted": "{{roomName}} jest szyfrowany", + "__roomName__encryption_keys_need_to_be_updated": "{{roomName}} klucze szyfrowania muszą zostać zaktualizowane, aby umożliwić dostęp. Aby tak się stało, inny członek pokoju musi być online.", + "removed__username__as__role_": "usunięto {{username}} jako {{role}}", + "set__username__as__role_": "ustaw {{username}} jako {{role}}", + "sequential_message": "komunikat sekwencyjny", "This_room_encryption_has_been_enabled_by__username_": "Użytkownik {{username}} włączył szyfrowanie w tym pokoju", "This_room_encryption_has_been_disabled_by__username_": "Użytkownik {{username}} wyłączył szyfrowanie w tym pokoju", + "Third_party_login": "Logowanie przez stronę trzecią", + "Enabled_E2E_Encryption_for_this_room": "włączone szyfrowanie E2E dla tego pokoju", + "Enable_business_hours": "Włącz godziny pracy", "disabled": "wyłączone", + "Disabled_E2E_Encryption_for_this_room": "wyłączone szyfrowanie E2E dla tego pokoju", "@username": "@nazwa_użytkownika", "@username_message": "@nazwa_użytkownika ", "#channel": "#kanał", @@ -25,9 +43,18 @@ "2_Erros_Information_and_Debug": "2 – Błędy, informacje i debugowanie", "12_Hour": "Zegar 12-godzinny", "24_Hour": "Zegar 24-godzinny", + "A_cloud-based_platform_for_those_needing_a_plug-and-play_app": "Oparta na chmurze platforma dla tych, którzy potrzebują aplikacji typu plug-and-play.", "A_new_owner_will_be_assigned_automatically_to__count__rooms": "Nowy właściciel zostanie automatycznie przypisany do {{count}} pokoi.", "A_new_owner_will_be_assigned_automatically_to_the__roomName__room": "Nowy właściciel zostanie automatycznie przypisany do pokoju o nazwie {{roomName}}", "A_new_owner_will_be_assigned_automatically_to_those__count__rooms__rooms__": "Nowy właściciel zostanie automatyczne przypisany do tych {{count}} pokoi:
{{rooms}}.", + "A_secure_and_highly_private_self-managed_solution_for_conference_calls": "Bezpieczne i wysoce prywatne rozwiązanie do samodzielnego zarządzania połączeniami konferencyjnymi.", + "A_workspace_admin_needs_to_install_and_configure_a_conference_call_app": "Administrator obszaru roboczego musi zainstalować i skonfigurować aplikację do połączeń konferencyjnych.", + "An_app_needs_to_be_installed_and_configured": "Aplikacja musi zostać zainstalowana i skonfigurowana.", + "Accessibility": "Dostępność", + "Accessibility_and_Appearance": "Dostępność i wygląd", + "Accessibility_activation": "W tym miejscu można aktywować szereg funkcji poprawiających komfort przeglądania.", + "Accessibility_statement": "Oświadczenie o dostępności", + "Accessibility_feature_documentation": "Dokumentacja funkcji dostępności", "Accept_Call": "Odbierz połączenie", "Accept": "Akceptuj", "Accept_incoming_livechat_requests_even_if_there_are_no_online_agents": "Akceptuj przychodzące żądania wielokanałowe, nawet gdy brak agentów online", @@ -39,6 +66,8 @@ "access_your_basic_information": "dostęp do podstawowych informacji", "access-mailer": "Uzyskaj dostęp do ekranu Mailer", "access-mailer_description": "Uprawnienie do wysyłania masowych wiadomości e-mail do wszystkich użytkowników.", + "access-marketplace": "Dostęp do marketplace", + "access-marketplace_description": "Zezwolenie na przeglądanie i pobieranie aplikacji z Marketplace", "access-permissions": "Ekran uprawnień dostępu", "access-permissions_description": "Zmodyfikuj uprawnienia dla różnych ról.", "access-setting-permissions": "Zmodyfikuj uprawnienia oparte na ustawieniach", @@ -85,6 +114,7 @@ "Accounts_Default_User_Preferences_desktopNotifications": "Domyślny alert powiadomień z pulpitu", "Accounts_Default_User_Preferences_pushNotifications": "Domyślny alert powiadomień push", "Accounts_Default_User_Preferences_not_available": "Nie udało się pobrać preferencji użytkownika, ponieważ nie zostały jeszcze skonfigurowane przez użytkownika", + "Accounts_Default_User_Preferences_showThreadsInMainChannel_Description": "Po włączeniu tej opcji wszystkie odpowiedzi w wątku będą również wyświetlane bezpośrednio w głównym pokoju. Gdy opcja ta jest wyłączona, odpowiedzi w wątku będą wyświetlane zgodnie z wyborem nadawcy.", "Accounts_DefaultUsernamePrefixSuggestion": "Domyślna sugestia prefiksu użytkownika", "Accounts_denyUnverifiedEmail": "Odrzucaj niezweryfikowane wiadomości e-mail", "Accounts_Directory_DefaultView": "Domyślny wykaz katalogów", @@ -247,6 +277,7 @@ "Accounts_ShowFormLogin": "Pokaż domyślny formularz logowania", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled": "Włącz uwierzytelnianie dwuskładnikowe za pomocą TOTP", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled_Description": "Użytkownicy mogą skonfigurować uwierzytelnianie dwuskładnikowe za pomocą dowolnej aplikacji TOTP, takiej jak Google Authenticator lub Authy.", + "Calls_in_queue_many": "{{count}} połączeń w kolejce", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In": "Uruchom automatycznie uwierzytelnianie dwuskładnikowe nowych użytkowników za pomocą poczty e-mail", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In_Description": "Nowi użytkownicy będą mieć domyślnie włączone uwierzytelnianie dwuskładnikowe za pomocą poczty e-mail. Mogą je wyłączyć na stronie swojego profilu.", "Accounts_TwoFactorAuthentication_By_Email_Code_Expiration": "Czas wygaśnięcia kodu wysłanego w wiadomości e-mail w sekundach", @@ -265,6 +296,7 @@ "API_EmbedDisabledFor": "Wyłącz osadzanie dla użytkowników", "Accounts_UserAddedEmail_Default": "

Witamy w [Site_Name]

Przejdź na stronę [Site_URL] i wypróbuj najlepsze dziś dostępne otwarte rozwiązanie czatu!

Możesz zalogować się przy użyciu adresu e-mail: [email] i hasła: [password]. Może wystąpić konieczność zmiany hasła po pierwszym logowaniu.", "Accounts_UserAddedEmail_Description": "Możesz użyć znaczników: \n - `[name]`, `[fname]`, `[lname]`, aby wstawić odpowiednio pełną nazwę użytkownika, jego imię lub nazwisko. \n - `[email]`, aby wstawić adres e-mail użytkownika. \n - `[password]`, aby wstawić hasło użytkownika. \n - `[Site_Name]` i `[Site_URL]`, aby wstawić odpowiednio nazwę aplikacji i adres URL. ", + "Calls_in_queue_few": "{{count}} połączeń w kolejce", "API_EmbedDisabledFor_Description": "Rozdzielona przecinkami lista nazw użytkowników, którym należy wyłączyć podgląd osadzonych linków.", "Accounts_UserAddedEmailSubject_Default": "Dodano Cię do [Site_Name]", "Accounts_Verify_Email_For_External_Accounts": "Oznaczaj Email dla kont zewnętrznych jako zweryfikowany", @@ -297,10 +329,10 @@ "add-oauth-service": "Dodaj usługę Oauth", "add-oauth-service_description": "Uprawnienie do dodawania nowej usługi Oauth", "add-team-channel": "Dodaj zespół Channel", - "Calls_in_queue_many": "{{count}} połączeń w kolejce", "add-team-channel_description": "Zezwolenie na dodanie kanału do zespołu", "add-team-member": "Dodaj członka zespołu", "add-team-member_description": "Uprawnienie do dodawania członków do zespołu", + "Add_them": "Dodaj ich", "add-user": "Dodaj użytkownika", "add-user_description": "Uprawnienie do dodawania nowych użytkowników do serwera na ekranie użytkowników", "add-user-to-any-c-room": "Dodaj użytkownika do dowolnego publicznego kanału Channel", @@ -321,7 +353,6 @@ "Admin_disabled_encryption": "Administrator nie włączył szyfrowania E2E", "Admin_Info": "Informacje administracyjne", "admin-no-active-video-conf-provider": "**Połączenie konferencyjne nie jest włączone**: Skonfiguruj połączenia konferencyjne, aby były dostępne w tej przestrzeni roboczej.", - "Calls_in_queue_few": "{{count}} połączeń w kolejce", "admin-video-conf-provider-not-configured": "**Połączenie konferencyjne nie jest włączone**: Skonfiguruj połączenia konferencyjne, aby były dostępne w tej przestrzeni roboczej.", "admin-no-videoconf-provider-app": "**Połączenie konferencyjne nie jest włączone**: Aplikacje do połączeń konferencyjnych są dostępne w marketplace Rocket.Chat.", "Administration": "Administracja", @@ -382,6 +413,7 @@ "Also_send_thread_message_to_channel_behavior": "Wysyłaj wiadomości z wątku również do kanału", "Also_send_to_channel": "Wyślij także do kanału", "Always_open_in_new_window": "Zawsze otwieraj w nowym oknie", + "Always_show_thread_replies_in_main_channel": "Zawsze wyświetlaj odpowiedzi na wątki w kanale głównym", "Analytics": "Analityka", "Analytics_Description": "Zobacz, jak użytkownicy wchodzą w interakcję z Twoją przestrzenią roboczą.", "Analytics_features_enabled": "Funkcjonalność włączona", @@ -489,6 +521,8 @@ "Apps_context_explore": "Poznaj", "Apps_context_installed": "Zainstalowana", "Apps_context_premium": "Enterprise", + "Apps_disabled_when_Premium_trial_ended_description": "Przestrzenie robocze w wersji Community mogą mieć włączonych maksymalnie 5 aplikacji Marketplace i 3 aplikacje prywatne. Poproś administratora obszaru roboczego o ponowne włączenie aplikacji.", + "Apps_disabled_when_Premium_trial_ended_description_admin": "Przestrzenie robocze w wersji Community mogą mieć włączonych maksymalnie 5 aplikacji Marketplace i 3 aplikacje prywatne. Włącz ponownie wymagane aplikacje.", "Apps_Engine_Version": "Wersja silnika aplikacji", "Apps_Essential_Alert": "Ta aplikacja jest niezbędna dla następujących zdarzeń:", "Apps_Essential_Disclaimer": "Zdarzenia wymienione powyżej zostaną zakłócone, jeśli ta aplikacja jest wyłączona. Jeśli chcesz, aby Rocket.Chat działał bez tej aplikacji, musisz ją odinstalować", @@ -536,7 +570,7 @@ "Apps_Logs_TTL_Alert": "W zależności od wielkości kolekcji dzienników zmiana tego ustawienia może spowodować spowolnienie działania w niektórych momentach", "Apps_Marketplace_Deactivate_App_Prompt": "Czy na pewno chcesz wyłączyć tę aplikację?", "Apps_Marketplace_Login_Required_Description": "Kupowanie aplikacji z Rocket.Chat Marketplace wymaga zarejestrowania obszaru roboczego i zalogowania się.", - "Apps_Marketplace_Login_Required_Title": "Wymagane zalogowanie się do Marktetplace", + "Apps_Marketplace_Login_Required_Title": "Wymagane zalogowanie się do Marketplace", "Apps_Marketplace_Modify_App_Subscription": "Zmień subskrypcję", "Apps_Marketplace_pricingPlan_monthly": "{{price}} / miesiąc", "Apps_Marketplace_pricingPlan_monthly_perUser": "{{price}} / miesiąc od użytkownika", @@ -808,10 +842,15 @@ "Canned_Response_Sharing_Public_Description": "Każdy może uzyskać dostęp do tej predefiniowanej odpowiedzi", "Canned_Responses": "Predefiniowane odpowiedzi", "Canned_Responses_Enable": "Włącz predefiniowane odpowiedzi", + "Create_direct_message": "Nowa wiadomość bezpośrednia", + "Create_tag": "Utwórz tag", + "Create_trigger": "Utwórz wyzwalacz", + "Create_SLA_policy": "Tworzenie zasad SLA", "Cannot_invite_users_to_direct_rooms": "Nie można zaprosić użytkowników do pokoi bezpośrednich", "Cannot_open_conversation_with_yourself": "Nie można wysłać wiadomości bezpośredniej do siebie", "Cannot_share_your_location": "Nie można udostępnić Twojej lokalizacji…", "Cannot_disable_while_on_call": "Nie można zmienić status w trakcie połączenia", + "Cant_join": "Nie mogę dołączyć", "CAS": "CAS", "CAS_Description": "Centralna usługa uwierzytelniania umożliwia członkom korzystanie z jednego zestawu poświadczeń do logowania się do wielu witryn za pośrednictwem wielu protokołów.", "CAS_autoclose": "Automatycznie zamykaj okienko logowania", @@ -825,6 +864,7 @@ "CAS_enabled": "Włączone", "CAS_Login_Layout": "Układ logowania CAS", "CAS_login_url": "Adres URL logowania SSO", + "message_counter_many": "{{count}} wiadomości", "CAS_login_url_Description": "Adres URL logowania zewnętrznej usługi SSO, np.: `https://sso.example.undef/sso/login`", "CAS_popup_height": "Wysokość okna logowania", "CAS_popup_width": "Szerokość okna logowania", @@ -840,14 +880,18 @@ "Categories*": "Kategorie*", "CDN_JSCSS_PREFIX": "Prefiks CDN dla JS/CSS", "CDN_PREFIX": "Prefiks CDN", + "meteor_status_reconnect_in_many": "spróbuj jeszcze raz za {{count}} sekund...", "CDN_PREFIX_ALL": "Używaj prefiksu CDN dla wszystkich zasobów", "Certificates_and_Keys": "Certyfikaty i klucze", + "changed_room_announcement_to__room_announcement_": "zmieniono ogłoszenie o pokoju na: {{room_announcement}}", + "changed_room_description_to__room_description_": "zmieniono opis pokoju na: {{room_description}}", "change-livechat-room-visitor": "Zmień gości w pokoju Livechat", "change-livechat-room-visitor_description": "Uprawnienie do dodawania dodatkowych informacji do gościa pokoju Livechat", "Change_Room_Type": "Zmiana typu pokoju", "Changing_email": "Zmiana adresu e-mail", "channel": "kanał", "Channel": "Kanał", + "Channel_info": "Informacje o kanale", "Channel_already_exist": "Kanał „#%s” już istnieje.", "Channel_already_exist_static": "Kanał już istnieje.", "Channel_already_Unarchived": "Kanał o nazwie „#%s” jest już w stanie niezarchiwizowanym", @@ -859,6 +903,7 @@ "Channel_Name_Placeholder": "Wprowadź nazwę kanału…", "Channel_to_listen_on": "Kanał do słuchania", "Channel_Unarchived": "Kanał o nazwie „#%s” został przywrócony z archiwum", + "Channel__roomName__": "Kanał {{roomName}}.", "Channels": "Kanały", "Channels_added": "Kanały zostały dodane", "Channels_are_where_your_team_communicate": "Kanały są miejscem, w którym zespół się komunikuje", @@ -888,6 +933,7 @@ "Chat_Duration": "Czas trwania czatu", "Chats_removed": "Czaty usunięte", "Check_All": "Zaznacz wszystko", + "Check_back_later": "Sprawdź później", "Check_if_the_spelling_is_correct": "Sprawdź, czy pisownia jest poprawna", "Check_Progress": "Sprawdź postęp", "Check_device_activity": "Sprawdź aktywność urządzenia", @@ -911,6 +957,7 @@ "Click_here": "Kliknij tutaj", "Click_here_for_more_details_or_contact_sales_for_a_new_license": "Kliknij tutaj, aby uzyskać więcej informacji, lub napisz na adres {{email}} w celu uzyskania nowej licencji.", "Click_here_for_more_info": "Kliknij tutaj, aby uzyskać więcej informacji", + "message_counter_few": "{{count}} wiadomości", "Click_here_to_clear_the_selection": "Kliknij tutaj aby wyczyścić wybór", "Click_here_to_enter_your_encryption_password": "Kliknij tutaj, aby wprowadzić hasło szyfrowania", "Click_here_to_view_and_copy_your_password": "Kliknij tutaj, aby wyświetlić i skopiować hasło.", @@ -929,6 +976,7 @@ "close-livechat-room_description": "Uprawnienie do zamykania bieżącego pokoju Omnichannel", "close-others-livechat-room": "Zamknij inny pokój Omnichannel", "close-others-livechat-room_description": "Uprawnienie do zamykania innych pokoi Omnichannel", + "Close_Window": "Zamknij okno", "Closed": "Zamknięty", "Closed_At": "Zamknięty o", "Closed_automatically": "Zamknięty automatycznie przez system", @@ -943,6 +991,7 @@ "Cloud_Invalid_license": "Nieprawidłowa licencja!", "Cloud_Apply_license": "Zastosuj licencję", "Cloud_connectivity": "Łączność w chmurze", + "meteor_status_reconnect_in_few": "spróbuj jeszcze raz za {{count}} sekund...", "Cloud_address_to_send_registration_to": "Adres, na który należy wysłać wiadomość e-mail z prośbą o rejestrację w chmurze.", "Cloud_click_here": "Po skopiowaniu tekstu przejdź do [konsola chmury (kliknij tutaj)]({{cloudConsoleUrl}}).", "Cloud_console": "Konsola chmury", @@ -969,6 +1018,8 @@ "Cloud_troubleshooting": "Rozwiązywanie problemów", "Cloud_update_email": "Zaktualizuj adres e-mail", "Cloud_what_is_it": "Co to jest?", + "Copy_Link": "Skopiuj link", + "Copy_password": "Skopiuj hasło", "Cloud_what_is_it_additional": "Ponadto będzie można zarządzać licencjami, rozliczeniami i wsparciem z konsoli chmury Rocket.Chat Cloud.", "Cloud_what_is_it_description": "Połączenie z chmurą Rocket.Chat umożliwia połączenie hostowanego przez siebie obszaru roboczego Rocket.Chat z usługami, które świadczymy w naszej chmurze.", "Cloud_what_is_it_services_like": "Usługi takie jak:", @@ -1006,8 +1057,12 @@ "Confirm_New_Password_Placeholder": "Wprowadź ponownie nowe hasło…", "Confirm_password": "Potwierdź hasło", "Confirm_your_password": "Potwierdź hasło", + "Confirm_configuration_update": "Potwierdź aktualizację konfiguracji", + "Confirm_new_workspace": "Potwierdź nowy obszar roboczy", "Confirmation": "Potwierdzenie", "Configure_video_conference": "Konfiguracja połączenia konferencyjnego", + "Configuration_update_confirmed": "Aktualizacja konfiguracji potwierdzona", + "Configuration_update": "Aktualizacja konfiguracji", "Connect": "Połącz", "Connected": "Połączony", "Connect_SSL_TLS": "Połącz się za pomocą SSL/TLS", @@ -1028,9 +1083,9 @@ "Contact_not_found": "Nie znaleziono kontaktu", "Contact_Profile": "Profil kontaktu", "Contact_Info": "Informacje o kontakcie", - "message_counter_many": "{{count}} wiadomości", "Content": "Zawartość", "Continue": "Kontynuuj", + "Continue_Adding": "Kontynuować dodawanie?", "Continuous_sound_notifications_for_new_livechat_room": "Ciągłe powiadomienia dźwiękowe dla nowego pokoju omnichannel", "convert-team": "Konwertuj zespół", "convert-team_description": "Zezwolenie na przekształcenie zespołu w kanał", @@ -1045,7 +1100,6 @@ "Conversations": "Rozmowy", "Conversations_per_day": "Rozmowy na dzień", "Convert": "Konwertuj", - "meteor_status_reconnect_in_many": "spróbuj jeszcze raz za {{count}} sekund...", "Convert_Ascii_Emojis": "Konwertuj ASCII na emotikon", "Convert_to_channel": "Konwertuj na kanał", "Converting_channel_to_a_team": "Konwertujesz ten kanał na zespół. Wszyscy członkowie zostaną utrzymani.", @@ -1123,7 +1177,6 @@ "Country_Denmark": "Dania", "Country_Djibouti": "Dżibuti", "Country_Dominica": "Dominika", - "message_counter_few": "{{count}} wiadomości", "Country_Dominican_Republic": "Dominikana", "Country_Ecuador": "Ekwador", "Country_Egypt": "Egipt", @@ -1159,7 +1212,6 @@ "Country_Heard_Island_and_Mcdonald_Islands": "Wyspy Heard i McDonalda", "Country_Holy_See_Vatican_City_State": "Watykan", "Country_Honduras": "Honduras", - "meteor_status_reconnect_in_few": "spróbuj jeszcze raz za {{count}} sekund...", "Country_Hong_Kong": "Hongkong", "Country_Hungary": "Węgry", "Country_Iceland": "Islandia", @@ -1439,7 +1491,7 @@ "Delete_message": "Usuń wiadomość", "Delete_my_account": "Usuń konto", "Delete_Role_Warning": "Usunięcie roli usunie ją na zawsze. Nie można tego cofnąć.", - "Delete_Room_Warning": "Usunięcie pokoju spowoduje usunięcie wszystkich wiadomości wysłanych w tym pokoju. Nie można tego cofnąć.", + "Delete_Room_Warning": "Usunięcie pokoju {{roomType}} spowoduje usunięcie wszystkich wiadomości wysłanych w tym pokoju. Nie można tego cofnąć.", "Delete_User_Warning": "Usunięcie użytkownika spowoduje również usunięcie wszystkich wiadomości od tego użytkownika. Nie można tego cofnąć.", "Delete_User_Warning_Delete": "Usunięcie użytkownika spowoduje również usunięcie wszystkich wiadomości od tego użytkownika. Nie można tego cofnąć.", "Delete_User_Warning_Keep": "Użytkownik zostanie usunięty, ale jego wiadomości pozostaną widoczne. Nie można tego cofnąć.", @@ -1566,9 +1618,11 @@ "Display_unread_counter": "Wyświetl liczbę nieprzeczytanych wiadomości", "Displays_action_text": "Wyświetla tekst akcji", "Do_It_Later": "Zrób to później", + "Displayed_next_to_name": "Wyświetlane obok nazwy", "Do_not_display_unread_counter": "Nie wyświetlaj żadnego licznika tego kanału", "Do_not_provide_this_code_to_anyone": "Nie udostępniaj nikomu tego kodu.", "Do_Nothing": "Nic nie rób", + "Do_nothing": "Nic nie rób", "Do_you_have_any_notes_for_this_conversation": "Czy masz jakieś notatki do tej rozmowy?", "Do_you_want_to_accept": "Czy chcesz zaakceptować?", "Do_you_want_to_change_to_s_question": "Czy chcesz zmienić na %s?", @@ -1623,13 +1677,14 @@ "E2E_Encryption_Password_Explanation": "Możesz teraz tworzyć zaszyfrowane grupy prywatne i wiadomości bezpośrednie. Możesz również zmienić istniejące prywatne grupy lub DM na zaszyfrowane.

To jest szyfrowanie od końca do końca, więc klucz do kodowania / dekodowania wiadomości nie zostanie zapisany na serwerze. Z tego powodu musisz przechowywać swoje hasło w bezpiecznym miejscu. Będziesz musiał wprowadzić je na innych urządzeniach, na których chcesz używać szyfrowania e2e.", "E2E_key_reset_email": "Powiadomienie o resetowaniu klucza E2E", "E2E_message_encrypted_placeholder": "Ta wiadomość jest zaszyfrowana end-to-end. Aby ją wyświetlić, musisz wprowadzić swój klucz szyfrowania w ustawieniach konta.", - "E2E_password_request_text": "Aby uzyskać dostęp do zaszyfrowanych grup prywatnych i wiadomości bezpośrednich, wprowadź swoje hasło szyfrowania.
Musisz wprowadzić to hasło, aby kodować / dekodować wiadomości na każdym używanym kliencie, ponieważ klucz nie jest przechowywany na serwerze.", + "E2E_password_request_text": "Aby uzyskać dostęp do zaszyfrowanych grup prywatnych i wiadomości bezpośrednich, wprowadź swoje hasło szyfrowania. Hasło nie jest przechowywane na serwerze, więc musisz wprowadzić je na każdym urządzeniu.", "E2E_password_reveal_text": "Możesz teraz tworzyć zaszyfrowane grupy prywatne i wiadomości bezpośrednie. Możesz również zmienić istniejące prywatne grupy lub DM na zaszyfrowane.

To jest szyfrowanie od końca do końca, więc klucz do kodowania / dekodowania wiadomości nie zostanie zapisany na serwerze. Z tego powodu musisz przechowywać to hasło w bezpiecznym miejscu. Będziesz musiał wprowadzić go na innych urządzeniach, na których chcesz używać szyfrowania e2e. Dowiedz się więcej tutaj

Twoje hasło: {{randomPassword}}

to jest automatycznie wygenerowane hasło, możesz ustawić nowe hasło do szyfrowania klucza w dowolnym momencie z dowolnej przeglądarki, do której wprowadziłeś istniejące hasło.
To hasło jest przechowywane tylko w tej przeglądarce, dopóki nie zapiszesz hasła i nie usuniesz tej wiadomości.", "E2E_Reset_Email_Content": "Zostałeś automatycznie wylogowany. Kiedy zalogujesz się ponownie, Rocket.Chat wygeneruje nowy klucz i przywróci Twój dostęp do każdego zaszyfrowanego pokoju, który ma jednego lub więcej członków online. Ze względu na charakter szyfrowania E2E, Rocket.Chat nie będzie w stanie przywrócić dostępu do szyfrowanego pokoju, w którym nie ma żadnego członka online.", "E2E_Reset_Key_Explanation": "Ta opcja usunie Twój obecny klucz E2E i wyloguje Cię.
Po ponownym zalogowaniu się, Rocket.Chat wygeneruje nowy klucz i przywróci dostęp do szyfrowanego pokoju, który ma jednego lub więcej członków online.
Ze względu na charakter szyfrowania E2E, Rocket.Chat nie będzie w stanie przywrócić dostępu do szyfrowanego pokoju, który nie ma członków online.", "E2E_Reset_Other_Key_Warning": "Zresetowanie aktualnego klucza E2E spowoduje wylogowanie użytkownika. Gdy użytkownik zaloguje się ponownie, Rocket.Chat wygeneruje nowy klucz i przywróci użytkownikowi dostęp do każdego zaszyfrowanego pomieszczenia, które ma jednego lub więcej członków online. Ze względu na charakter szyfrowania E2E, Rocket.Chat nie będzie w stanie przywrócić dostępu do szyfrowanego pokoju, w którym nie ma żadnego członka online.", "ECDH_Enabled": "Włącz szyfrowanie drugiej warstwy dla transportu danych", "Edit": "Edycja", + "Edit_channel": "Edytuj kanał", "Edit_Business_Hour": "Edycja godzin pracy", "Edit_Canned_Response": "Edytowanie predefiniowanej odpowiedzi", "Edit_Canned_Responses": "Edycja predefiniowanej odpowiedzi", @@ -1733,7 +1788,7 @@ "Enable_inquiry_fetch_by_stream": "Włączanie pobierania danych zapytania z serwera za pomocą strumienia", "Enable_omnichannel_auto_close_abandoned_rooms": "Włącz automatyczne zamykanie pokoi opuszczonych przez odwiedzającego", "Enable_Password_History": "Włącz historię haseł", - "Enable_Password_History_Description": "Po włączeniu tej funkcji użytkownicy nie będą mogli aktualizować swoich haseł do ostatnio używanych.", + "Enable_Password_History_Description": "Po włączeniu tej funkcji użytkownicy nie będą mogli zmieniać swoich haseł na używane wcześniej.", "Enable_Svg_Favicon": "Włącz favicon SVG", "Enable_two-factor_authentication": "Włącz uwierzytelnianie dwuskładnikowe", "Enable_two-factor_authentication_email": "Włącz uwierzytelnienie dwuskładnikowe przez e-mail", @@ -1743,7 +1798,7 @@ "Encrypted_key_title": "Kliknij tutaj, aby wyłączyć szyfrowanie od końca do końca dla tego kanału (wymaga uprawnień e2ee-permission)", "Encrypted_message": "Zaszyfrowana wiadomość", "Encrypted_setting_changed_successfully": "Ustawienia szyfrowania zostały pomyślnie zmienione", - "Encrypted_not_available": "Niedostępne dla Channels publicznych", + "Encrypted_not_available": "Niedostępne dla publicznych {{roomType}}", "Encryption_key_saved_successfully": "Twój klucz szyfrowania został zapisany pomyślnie.", "EncryptionKey_Change_Disabled": "Nie można ustawić hasła dla klucza szyfrowania, ponieważ klucz prywatny nie jest obecny na tym kliencie. Aby ustawić nowe hasło, musisz załadować swój klucz prywatny przy użyciu istniejącego hasła lub użyć klienta, w którym klucz jest już załadowany.", "End": "Koniec", @@ -2205,6 +2260,7 @@ "Global_purge_override_warning": "Obowiązuje globalna polityka przechowywania. Jeśli zostawisz opcję \"Zastąp globalną zasadę przechowywania\", możesz zastosować tylko politykę bardziej rygorystyczną niż polityka globalna.", "Global_Search": "Wyszukiwanie globalne", "Go_to_your_workspace": "Idź do swojej przestrzeni roboczej", + "Go_to_accessibility_and_appearance": "Przejdź do sekcji Dostępność i wygląd", "Google_Play": "Google Play", "Hold_Call": "Zawieś połączenie", "GoogleCloudStorage": "Google Cloud Storage", @@ -2301,7 +2357,7 @@ "IMAP_intercepter_Not_running": "Intercom protokołu IMAP Nie działa", "Impersonate_next_agent_from_queue": "Podszywaj się pod kolejnego agenta z kolejki", "Impersonate_user": "Podszywać się pod użytkownika", - "Impersonate_user_description": "Gdy ta opcja jest włączona, wpisy integracji są określane jako użytkownik, który uruchomił integrację", + "Impersonate_user_description": "Gdy ta opcja jest włączona, wpisy integracji są wyświetlane jako użytkownik, który uruchomił integrację", "Import": "Import", "Import_New_File": "Importuj nowy plik", "Import_requested_successfully": "Import Requested Successfully", @@ -2369,6 +2425,7 @@ "Incoming_WebHook": "Przychodzący WebHook", "Industry": "Typ działalności", "Info": "Informacje", + "Information_to_keep_top_of_mind": "Informacje, o których warto pamiętać", "initials_avatar": "Początkowy Avatar", "Install": "Zainstaluj", "Install_Extension": "Zainstaluj rozszerzenie", @@ -2756,6 +2813,7 @@ "Lead_capture_email_regex": "Lead capture email regex", "Lead_capture_phone_regex": "Lead capture phone regex", "Learn_more": "Dowiedz się więcej", + "Learn_more_about_accessibility": "Dowiedz się więcej o naszym zaangażowaniu w dostępność tutaj:", "Least_recent_updated": "Najstarsza aktualizacja", "Learn_how_to_unlock_the_myriad_possibilities_of_rocket_chat": "Dowiedz się, jak odblokować niezliczone możliwości Rocket.Chat.", "Leave": "Opuść", @@ -2772,6 +2830,7 @@ "leave-p": "Opuść grupy prywatne", "leave-p_description": "Zezwolenie na opuszczenie grup prywatnych", "Lets_get_you_new_one_": "Zróbmy ci nową!", + "Let_them_know": "Daj im znać", "License": "Licencja", "Link_Preview": "Podgląd linków", "List_of_Channels": "Lista kanałów", @@ -3322,7 +3381,7 @@ "No_integration_found": "Nie znaleziono integracji za pomocą podanego identyfikatora.", "No_Limit": "Brak limitu", "No_livechats": "Nie masz żadnych livechatów.", - "No_marketplace_matches_for": "Brak dopasowania Marketplace dla", + "No_marketplace_matches_for": "Brak dopasowania w Marketplace dla", "No_members_found": "Nie znaleziono członków", "No_mentions_found": "Nie znaleziono wzmianek", "No_messages_found_to_prune": "Nie znaleziono żadnych wiadomości do usunięcia", @@ -3709,6 +3768,7 @@ "Reactions": "Reakcje", "Read_by": "Przeczytane przez", "Read_only": "Tylko do odczytu", + "Read_only_field_hint_disabled": "Każdy może wysyłać nowe wiadomości", "Read_Receipts": "Potwierdzenia odczytania", "This_room_is_read_only": "Ten pokój jest tylko do odczytu", "Only_people_with_permission_can_send_messages_here": "Tylko osoby z uprawnieniami mogą wysyłać tutaj wiadomości", @@ -3741,7 +3801,7 @@ "Register_Server_Registered": "Zarejestruj się, aby uzyskać dostęp", "Register_Server_Registered_I_Agree": "Zgadzam się z", "Register_Server_Registered_Livechat": "Livechat omnichannel proxy", - "Register_Server_Registered_Marketplace": "Rynek aplikacji", + "Register_Server_Registered_Marketplace": "Marketplace", "Register_Server_Registered_OAuth": "Proxy OAuth dla sieci społecznościowej", "Register_Server_Registered_Push_Notifications": "Mobilna bramka powiadomień push", "Register_Server_Standalone": "Zachowaj samodzielność, musisz", @@ -3759,7 +3819,7 @@ "Release": "Wydanie", "Releases": "Wydania", "Religious": "Religijny", - "Reload": "Przeładować", + "Reload": "Przeładuj", "Reload_page": "Przeładuj stronę", "Reload_Pages": "Załaduj ponownie strony", "Remove": "Usuń", @@ -3825,6 +3885,7 @@ "Require_all_tokens": "Wymagaj wszystkich tokenów", "Require_any_token": "Wymagaj dowolnego tokena", "Require_password_change": "Nakaż zmianę hasła", + "Require_Two_Factor_Authentication": "Wymagaj uwierzytelniania dwuskładnikowego", "Resend_verification_email": "Ponownie wyślij e-mail weryfikacyjny", "Reset": "Zresetuj", "Reset_Connection": "Zresetuj połączenie", @@ -3847,6 +3908,9 @@ "RetentionPolicy_Advanced_Precision": "Używaj zaawansowanej konfiguracji polityki retencji", "RetentionPolicy_Advanced_Precision_Cron": "Używaj zaawansowanej konfiguracji Cron dla polityki retencji", "RetentionPolicy_Advanced_Precision_Cron_Description": "Jak często powinien działać timer przycinania definowane przez ustawienie cron joba. Ustawienie tej wartości na bardziej precyzyjną powoduje, że kanały z szybkimi licznikami czasu przechowywania działają lepiej, ale mogą kosztować dodatkową moc obliczeniową w dużych społecznościach.", + "RetentionPolicy_AppliesToChannels": "Dotyczy kanałów", + "RetentionPolicy_AppliesToDMs": "Dotyczy bezpośrednich wiadomości", + "RetentionPolicy_AppliesToGroups": "Dotyczy grup prywatnych", "RetentionPolicy_Description": "Automatycznie przycina stare wiadomości w instancji Rocket.Chat.", "RetentionPolicy_DoNotPruneDiscussion": "Nie usuwaj wiadomości z dyskusji", "RetentionPolicy_DoNotPrunePinned": "Nie usuwaj przypiętych wiadomości", @@ -3856,6 +3920,10 @@ "RetentionPolicy_FilesOnly": "Usuwaj tylko pliki", "RetentionPolicy_FilesOnly_Description": "Tylko pliki zostaną usunięte, same wiadomości pozostaną na swoim miejscu.", "RetentionPolicy_MaxAge": "Maksymalny wiek wiadomości", + "RetentionPolicy_MaxAge_Channels": "Maksymalny wiek wiadomości w kanałach", + "RetentionPolicy_MaxAge_Description": "Przycinaj wszystkie wiadomości starsze niż ta wartość, w dniach", + "RetentionPolicy_MaxAge_DMs": "Maksymalny wiek wiadomości w wiadomościach bezpośrednich", + "RetentionPolicy_MaxAge_Groups": "Maksymalny wiek wiadomości w grupach prywatnych", "RetentionPolicy_Precision": "Precyzja zegara", "RetentionPolicy_Precision_Description": "Jak często powinien działać timer przycinania. Ustawienie tej wartości na bardziej precyzyjną powoduje, że kanały z szybkimi licznikami czasu przechowywania działają lepiej, ale mogą kosztować dodatkową moc obliczeniową w dużych społecznościach.", "RetentionPolicyRoom_Enabled": "Automatycznie usuwaj stare wiadomości", @@ -4072,7 +4140,7 @@ "Search_Provider": "Dostawca wyszukiwania", "Search_Rooms": "Szukaj pokoi", "Search_Users": "Wyszukaj użytkowników", - "Seats_Available": "{{seatsLeft}} Dostępne miejsca", + "Seats_Available": "{{seatsLeft, number}} Dostępne miejsca", "Seats_usage": "Wykorzystanie miejsc", "seconds": "sekund", "Secret_token": "Sekret", @@ -4208,8 +4276,9 @@ "Show_Setup_Wizard": "Pokaż Kreatora instalacji", "Show_the_keyboard_shortcut_list": "Pokaż listę skrótów klawiaturowych", "Show_video": "Pokaż wideo", - "Showing": "Pokazywanie", - "Showing_archived_results": "

Pokazuje %s zarchiwizowanych wyników

", + "Showing": "Wyświetlanie", + "Showing_archived_results": "

Wyświetla %s zarchiwizowanych wyników

", + "Showing_current_of_total": "Wyświetlanie {{current}} z {{total}}", "Showing_online_users": "Pokazywanie: {{total_showing}}, Online: {{online}}, Ogółem: {{total}} users", "Showing_results": "

Wyświetlono %s wyników

", "Showing_results_of": "Wyświetlanie wyników %s - %s z %s", @@ -4438,14 +4507,14 @@ "Teams_left_team_successfully": "Pomyślnie opuścił zespół", "Teams_members": "Członkowie zespołów", "Teams_New_Add_members_Label": "Dodaj członków", - "Teams_New_Broadcast_Description": "Tylko autoryzowani użytkownicy mogą pisać nowe wiadomości, ale pozostali użytkownicy będą mogli odpowiadać", + "Teams_New_Broadcast_Description": "Tylko właściciele zespołów mogą pisać nowe wiadomości, ale wszyscy użytkownicy będą mogli odpowiadać", "Teams_New_Broadcast_Label": "Broadcast", "Teams_New_Description_Label": "Temat", "Teams_New_Description_Placeholder": "Co to jest za zespół", "Teams_New_Encrypted_Description_Disabled": "Dostępne tylko dla zespołów prywatnych", "Teams_New_Encrypted_Description_Enabled": "Zespół zaszyfrowany E2E. Wyszukiwanie nie będzie działać w zaszyfrowanych zespołach, a powiadomienia mogą nie pokazywać treści wiadomości.", "Teams_New_Encrypted_Label": "Szyfrowane", - "Teams_New_Private_Description_Disabled": "Po wyłączeniu, każdy może dołączyć do zespołu", + "Teams_New_Private_Description_Disabled": "Każdy może uzyskać dostęp", "Teams_New_Private_Description_Enabled": "Tylko zaproszone osoby mogą dołączyć", "Teams_New_Private_Label": "Prywatny", "Teams_New_Read_only_Description": "Wszyscy użytkownicy w tym zespole mogą pisać wiadomości", @@ -4490,6 +4559,7 @@ "The_user_will_be_removed_from_s": "Użytkownik zostanie usunięty z %s", "The_user_wont_be_able_to_type_in_s": "Użytkownik nie będzie mógł wpisać w %s", "Theme": "Motyw", + "Choose_theme_description": "Wybierz wygląd interfejsu, który najlepiej odpowiada Twoim potrzebom.", "theme-color-attention-color": "Kolor uwagi", "theme-color-component-color": "Kolor komponentu", "theme-color-content-background-color": "Kolor tła zawartości", @@ -4565,6 +4635,7 @@ "This_email_has_already_been_used_and_has_not_been_verified__Please_change_your_password": "Ten e-mail został już użyty i nie został zweryfikowany. Proszę zmienić swoje hasło.", "This_feature_is_currently_in_alpha": "Ta funkcja jest obecnie w fazie alfa!", "This_is_a_desktop_notification": "To jest powiadomienie na pulpicie", + "Install_Zapier_from_marketplace": "Zainstaluj aplikację Zapier z Marketplace, aby uniknąć zakłóceń", "This_is_a_push_test_messsage": "To jest testowy push message", "This_message_was_rejected_by__peer__peer": "Ta wiadomość została odrzucona przez {{peer}}.", "This_monitor_was_already_selected": "Ten monitor został już wybrany", @@ -4664,7 +4735,7 @@ "Turn_ON": "Włączyć", "Turn_on_video": "Włącz wideo", "Turn_off_video": "Wyłącz wideo", - "Two Factor Authentication": "Uwierzytelnianie dwuetapowe", + "Two Factor Authentication": "Uwierzytelnianie dwuskładnikowe", "Two-factor_authentication": "Uwierzytelnianie dwuskładnikowe", "Two-factor_authentication_via_TOTP": "Uwierzytelnianie dwuskładnikowe", "Two-factor_authentication_disabled": "Wyłączono uwierzytelnianie dwuskładnikowe", @@ -4726,7 +4797,7 @@ "Unread_on_top": "Nieprzeczytane na górze", "Unread_Rooms": "Nieprzeczytane pokoje", "Unread_Rooms_Mode": "Tryb nieprzeczytanych pokoi", - "Unread_Tray_Icon_Alert": "Powiadomienie o nieprzeczytanych wiadomościach w Tray", + "Unread_Tray_Icon_Alert": "Powiadomienie o nieprzeczytanych wiadomościach w Ikonce zasobnika", "Unstar_Message": "Usuń oznaczenie", "Unmute_microphone": "Włącz mikrofon", "Update": "Aktualizacja", @@ -4871,7 +4942,7 @@ "Username_title": "Utwórz nazwę użytkownika", "Username_wants_to_start_otr_Do_you_want_to_accept": "{{username}} chce rozpocząć OTR. Czy chcesz zaakceptować?", "Users": "Użytkownicy", - "Users must use Two Factor Authentication": "Użytkownicy muszą korzystać z uwierzytelniania dwuetapowego", + "Users must use Two Factor Authentication": "Użytkownicy muszą korzystać z uwierzytelniania dwuskładnikowego", "Users_added": "Użytkownicy zostali dodani", "Users_and_rooms": "Użytkownicy i Rooms", "Users_by_time_of_day": "Użytkownicy według pory dnia", @@ -5181,6 +5252,9 @@ "You_have_not_verified_your_email": "Nie zweryfikowałeś e-maila.", "You_have_successfully_unsubscribed": "Twój email został usunięty z naszej listy powiadomień.", "You_must_join_to_view_messages_in_this_channel": "Musisz dołączyć aby widzieć wiadomości w tym kanale", + "You_mentioned___mentions__but_theyre_not_in_this_room": "Wspomniałeś o {{mentions}}, ale nie ma go/ich w tym pokoju.", + "You_mentioned___mentions__but_theyre_not_in_this_room_You_can_ask_a_room_admin_to_add_them": "Wspomniałeś o {{mentions}}, ale nie ma go/ich w tym pokoju. Możesz poprosić administratora pokoju o dodanie.", + "You_mentioned___mentions__but_theyre_not_in_this_room_You_let_them_know_via_dm": "Wspomniałeś o {{mentions}}, ale nie ma go/ich w tym pokoju. Poinformuj ich o tym za pośrednictwem bezpośredniej wiadomości.", "You_need_confirm_email": "Aby się zalogować musisz potwierdzić swój adres e-mail!", "You_need_install_an_extension_to_allow_screen_sharing": "Musisz zainstalować rozszerzenie, aby umożliwić dzielenie ekranu", "You_need_to_change_your_password": "Musisz zmienić swoje hasło", @@ -5218,6 +5292,7 @@ "Your_TOTP_has_been_reset": "Twoje dwuskładnikowe TOTP zostało zresetowane", "Your_web_browser_blocked_Rocket_Chat_from_opening_tab": "Twoja przeglądarka internetowa zablokowała Rocket.Chat przed otwarciem nowej karty.", "Your_workspace_is_ready": "Twój obszar roboczy jest gotowy do użycia 🎉", + "Youre_not_a_part_of__channel__and_I_mentioned_you_there": "Nie jesteś członkiem {{channel}}, a wspomniałem tam o Tobie", "Zapier": "Zapier", "registration.page.login.errors.wrongCredentials": "Nie znaleziono użytkownika lub nieprawidłowe hasło", "registration.page.login.errors.loginBlockedForIp": "Logowanie zostało tymczasowo zablokowane dla tego IP", @@ -5322,9 +5397,15 @@ "onboarding.form.standaloneServerForm.servicesUnavailable": "Niektóre z usług będą niedostępne lub będą wymagały ręcznej konfiguracji", "onboarding.form.standaloneServerForm.publishOwnApp": "W celu wysyłania powiadomień push należy skompilować i opublikować własną aplikację w Google Play i App Store", "onboarding.form.standaloneServerForm.manuallyIntegrate": "Konieczność ręcznej integracji z usługami zewnętrznymi", + "subscription.callout.marketplaceApps": "zainstalowane aplikacje marketplace", "Something_Went_Wrong": "Coś poszło nie tak", + "Theme_match_system_description": "Automatyczne dopasowanie wyglądu systemu.", + "Theme_high_contrast_description": "Maksymalne zróżnicowanie tonalne z pogrubiony kolorami i ostrymi kontrastami zapewnia lepszą dostępność.", "Join_your_team": "Dołącz do swojego zespołu", "Create_an_account": "Utwórz konto", + "Workspaces_on_community_edition_trial_on": "Przestrzenie robocze w Społeczności mogą mieć włączonych maksymalnie 5 aplikacji Marketplace i 3 aplikacje prywatne. Rozpocznij bezpłatny okres próbny Premium, aby usunąć te ograniczenia już dziś!", + "Workspaces_on_community_edition_trial_off": "Przestrzenie robocze w Community mogą mieć włączonych do 5 aplikacji marketplace i 3 aplikacje prywatne. Uaktualnij do wersji Premium, aby usunąć ograniczenia i wzmocnić swoją przestrzeń roboczą.", + "Private_apps_are_side-loaded": "Aplikacje prywatne są ładowane z boku i nie są dostępne w Marketplace.", "Service_status": "Stan usługi", "User_Status": "Status użytkownika", "Active_connections": "Aktywne połączenia", @@ -5334,11 +5415,20 @@ "Awaiting_confirmation": "Oczekuje na potwierdzenie", "RegisterWorkspace_Features_MobileNotifications_Title": "Powiadomienia mobilne push", "RegisterWorkspace_Features_Marketplace_Title": "Marketplace", + "RegisterWorkspace_Features_Marketplace_Description": "Zainstaluj aplikacje Rocket.Chat Marketplace na tym obszarze roboczym.", "RegisterWorkspace_Features_Omnichannel_Title": "Omnichannel", "RegisterWorkspace_Setup_Label": "E-mail konta w chmurze", "RegisterWorkspace_Syncing_Complete": "Synchronizacja zakończona", "cloud.RegisterWorkspace_Setup_Terms_Privacy": "Zgadzam się z <1>zasadami i warunkami i <3>Polityką prywatności.", "Enterprise": "Enterprise", + "Marketplace_apps": "Aplikacje Marketplace", + "UpgradeToGetMore_accessibility-certification_Body": "Zgodność ze standardami WCAG i BITV dzięki programowi dostępności Rocket.Chat.", "UpgradeToGetMore_engagement-dashboard_Title": "Analityka", - "UpgradeToGetMore_auditing_Title": "Audyt wiadomości" -} + "UpgradeToGetMore_auditing_Title": "Audyt wiadomości", + "Apps_InfoText": "Wersja Community umożliwia włączenie do 3 aplikacji prywatnych i 5 aplikacji marketplace", + "Anyone_can_react_to_messages": "Każdy może reagować na wiadomości", + "Anyone_can_access": "Każdy może uzyskać dostęp", + "Broadcast_hint_enabled": "Tylko właściciele {{roomType}} mogą pisać nowe wiadomości, ale każdy może odpowiadać w wątku", + "Anyone_can_send_new_messages": "Każdy może wysyłać nowe wiadomości", + "Select_messages_to_hide": "Wybierz wiadomości do ukrycia" +} \ No newline at end of file diff --git a/packages/i18n/src/locales/pt-BR.i18n.json b/packages/i18n/src/locales/pt-BR.i18n.json index 282feecbc42c..67c8f46888ad 100644 --- a/packages/i18n/src/locales/pt-BR.i18n.json +++ b/packages/i18n/src/locales/pt-BR.i18n.json @@ -253,6 +253,7 @@ "Accounts_ShowFormLogin": "Mostrar formulário de login padrão", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled": "Ativar autenticação de dois fatores por TOTP", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled_Description": "Os usuários podem configurar sua Autenticação de dois fatores usando qualquer aplicativo de TOTP, como o Google Authenticator ou o Authy.", + "Calls_in_queue_many": "{{count}} chamadas na fila", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In": "Ativar automaticamente a autenticação de duas etapas via e-mail para novos usuários", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In_Description": "Novos usuários terão a autenticação de duas etapas via e-mail ativada por padrão. Eles poderão desabilitá-la em sua página de perfil.", "Accounts_TwoFactorAuthentication_By_Email_Code_Expiration": "Tempo para expirar o código enviado por e-mail (em segundos)", @@ -301,7 +302,6 @@ "add-oauth-service": "Adicionar Serviço OAuth", "add-oauth-service_description": "Permissão para adicionar um novo serviço OAuth", "add-team-channel": "Adicionar Time ao Canal", - "Calls_in_queue_many": "{{count}} chamadas na fila", "add-team-channel_description": "Permissão para adicionar um canal a um time", "add-team-member": "Adicionar membro ao Team", "add-team-member_description": "Permissão para adicionar membros ao time", @@ -791,6 +791,7 @@ "CAS_enabled": "Habilitado", "CAS_Login_Layout": "Layout de login CAS", "CAS_login_url": "URL de login SSO", + "message_counter_many": "{{count}} mensagens", "CAS_login_url_Description": "O URL de login de seu serviço SSO externo (exemplo: https://sso.exemplo.indef/sso/login)", "CAS_popup_height": "Altura do pop-up de login", "CAS_popup_width": "Largura do pop-up de login", @@ -806,6 +807,7 @@ "Categories*": "Categorias*", "CDN_JSCSS_PREFIX": "Prefixo CDN para JS/CSS", "CDN_PREFIX": "Prefixo CDN", + "meteor_status_reconnect_in_many": "tentando novamente em {{count}} segundos...", "CDN_PREFIX_ALL": "Use o prefixo da CDN para todos os recursos", "Certificates_and_Keys": "Certificados e chaves", "change-livechat-room-visitor": "Alterar visitantes da Sala Livechat", @@ -984,7 +986,6 @@ "Contact_not_found": "Contato não encontrado", "Contact_Profile": "Perfil do contato", "Contact_Info": "Informações do contato", - "message_counter_many": "{{count}} mensagens", "Content": "Conteúdo", "Continue": "Continuar", "Continuous_sound_notifications_for_new_livechat_room": "Notificações sonoras contínuas para nova sala de omnichannel", @@ -1000,7 +1001,6 @@ "Conversations": "Conversas", "Conversations_per_day": "Conversas por dia", "Convert": "Converter", - "meteor_status_reconnect_in_many": "tentando novamente em {{count}} segundos...", "Convert_Ascii_Emojis": "Converter ASCII em emoji", "Convert_to_channel": "Converter em canal", "Converting_channel_to_a_team": "Você está convertendo este canal em uma equipe. Todos os membros serão mantidos.", @@ -1632,7 +1632,7 @@ "Enable_CSP": "Habilitar política de segurança de conteúdo", "Enable_CSP_Description": "Não desative esta opção a não ser que você tenha uma versão personalizada e esteja tendo problemas devido a scrips inline", "Enable_Desktop_Notifications": "Habilitar notificações da área de trabalho", - "Enable_encryption" : "Ativar criptografia", + "Enable_encryption": "Ativar criptografia", "Enable_inquiry_fetch_by_stream": "Habilitar carga de dados de novas pesquisas de omnichannel utilizando stream", "Enable_omnichannel_auto_close_abandoned_rooms": "Habilitar o fechamento automático de salas abandonadas pelo visitante", "Enable_Password_History": "Habilitar histórico de senha", @@ -3629,6 +3629,9 @@ "RetentionPolicy_Advanced_Precision": "Usar configuração de política de retenção avançada", "RetentionPolicy_Advanced_Precision_Cron": "Usar cron de política de retenção avançada", "RetentionPolicy_Advanced_Precision_Cron_Description": "Com que frequência o timer de remoção deve ser executado definido pela expressão de jobs do cron. Definir para um valor mais preciso faz com que canais com timers de retenção rápida funcionem melhor, mas pode ter custo extra de processamento em comunidades grandes.", + "RetentionPolicy_AppliesToChannels": "Aplica-se a canais", + "RetentionPolicy_AppliesToDMs": "Aplica-se a mensagens diretas", + "RetentionPolicy_AppliesToGroups": "Aplica-se a grupos privados", "RetentionPolicy_Description": "Remove automaticamente as mensagens antigas da sua instância do Rocket.Chat.", "RetentionPolicy_DoNotPruneDiscussion": "Não remover mensagens de discussão", "RetentionPolicy_DoNotPrunePinned": "Não remover mensagens fixadas", @@ -3638,6 +3641,10 @@ "RetentionPolicy_FilesOnly": "Apenas excluir arquivos", "RetentionPolicy_FilesOnly_Description": "Apenas arquivos serão excluídos, as mensagens permanecerão.", "RetentionPolicy_MaxAge": "A idade máxima da mensagem", + "RetentionPolicy_MaxAge_Channels": "A idade máxima da mensagem nos canais", + "RetentionPolicy_MaxAge_Description": "Remover todas as mensagens mais antigas que esse valor, em dias", + "RetentionPolicy_MaxAge_DMs": "Duração máxima da mensagem em mensagens diretas", + "RetentionPolicy_MaxAge_Groups": "Duração máxima da mensagem em grupos privados", "RetentionPolicy_Precision": "Precisão do temporizador", "RetentionPolicy_Precision_Description": "Quantas vezes o temporizador de remoção deve ser executado. Configurar um valor mais preciso faz com que os canais com temporizadores de retenção rápidos funcionem melhor, mas podem usar mais potência de processamento em grandes comunidades.", "RetentionPolicyRoom_Enabled": "Remover automaticamente mensagens antigas", @@ -5007,4 +5014,4 @@ "Enterprise": "Enterprise", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics", "UpgradeToGetMore_auditing_Title": "Auditoria de mensagem" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/pt.i18n.json b/packages/i18n/src/locales/pt.i18n.json index 74cf2a3f9b08..8f4acc81dbdd 100644 --- a/packages/i18n/src/locales/pt.i18n.json +++ b/packages/i18n/src/locales/pt.i18n.json @@ -2396,12 +2396,19 @@ "Retail": "Retalho", "Retention_setting_changed_successfully": "A configuração da política de retenção foi alterada com sucesso", "RetentionPolicy": "Política de retenção", + "RetentionPolicy_AppliesToChannels": "Aplica-se a canais", + "RetentionPolicy_AppliesToDMs": "Aplica-se a direccionar mensagens", + "RetentionPolicy_AppliesToGroups": "Aplica-se a grupos privados", "RetentionPolicy_Description": "Remove automaticamente as mensagens antigas da sua instância do Rocket.Chat.", "RetentionPolicy_Enabled": "Habilitado", "RetentionPolicy_ExcludePinned": "Excluir mensagens fixas", "RetentionPolicy_FilesOnly": "Apenas apagar arquivos", "RetentionPolicy_FilesOnly_Description": "Apenas arquivos serão excluídos, as mensagens permanecerão no lugar.", "RetentionPolicy_MaxAge": "A idade máxima da mensagem", + "RetentionPolicy_MaxAge_Channels": "A idade máxima da mensagem nos canais", + "RetentionPolicy_MaxAge_Description": "Remover todas as mensagens mais antigas que esse valor, em dias", + "RetentionPolicy_MaxAge_DMs": "Duração máxima da mensagem em mensagens directas", + "RetentionPolicy_MaxAge_Groups": "Duração máxima da mensagem em grupos privados", "RetentionPolicy_Precision": "Precisão do temporizador", "RetentionPolicy_Precision_Description": "Quantas vezes o temporizador de remoção deve ser executado. Configurar isso para um valor mais preciso faz com que os canais com temporizadores de retenção rápidos funcionem melhor, mas podem custar um poder de processamento extra em grandes comunidades.", "RetentionPolicyRoom_Enabled": "Remover automaticamente mensagens antigas", @@ -3176,4 +3183,4 @@ "registration.component.form.sendConfirmationEmail": "Enviar email de confirmação", "Enterprise": "Empreendimento", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ro.i18n.json b/packages/i18n/src/locales/ro.i18n.json index afade0413dd1..aefc4d07065f 100644 --- a/packages/i18n/src/locales/ro.i18n.json +++ b/packages/i18n/src/locales/ro.i18n.json @@ -2059,12 +2059,19 @@ "Retail": "Cu amănuntul", "Retention_setting_changed_successfully": "Politica de păstrare a fost modificată cu succes", "RetentionPolicy": "Politica de păstrare", + "RetentionPolicy_AppliesToChannels": "Se aplică la canale", + "RetentionPolicy_AppliesToDMs": "Se aplică pentru mesaje directe", + "RetentionPolicy_AppliesToGroups": "Se aplică grupurilor private", "RetentionPolicy_Description": "Șterge automat vechile mesaje de-a lungul instanței Rocket.Chat.", "RetentionPolicy_Enabled": "Activat", "RetentionPolicy_ExcludePinned": "Excludeți mesajele fixate", "RetentionPolicy_FilesOnly": "Ștergeți numai fișierele", "RetentionPolicy_FilesOnly_Description": "Numai fișierele vor fi șterse, mesajele în sine rămân în vigoare.", "RetentionPolicy_MaxAge": "Vârsta maximă a mesajului", + "RetentionPolicy_MaxAge_Channels": "Vârsta maximă a mesajului în canale", + "RetentionPolicy_MaxAge_Description": "Prelucrați toate mesajele mai vechi decât această valoare, în zile", + "RetentionPolicy_MaxAge_DMs": "Vârsta maximă a mesajului în mesajele directe", + "RetentionPolicy_MaxAge_Groups": "Vârsta maximă a mesajului în grupuri private", "RetentionPolicy_Precision": "Timp de precizie", "RetentionPolicy_Precision_Description": "Cât de des ar trebui să ruleze cronometrul pentru prune. Setarea acestei valori la o valoare mai precisă face ca canalele cu cronometre rapide să funcționeze mai bine, dar ar putea costa putere suplimentară de procesare pentru comunitățile mari.", "RetentionPolicyRoom_Enabled": "Trasați automat mesajele vechi", @@ -2752,4 +2759,4 @@ "registration.component.form.sendConfirmationEmail": "Trimite email de confirmare", "Enterprise": "Afacere", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ru.i18n.json b/packages/i18n/src/locales/ru.i18n.json index 6f7b69447e29..1829f7f2eb08 100644 --- a/packages/i18n/src/locales/ru.i18n.json +++ b/packages/i18n/src/locales/ru.i18n.json @@ -206,9 +206,11 @@ "Accounts_OAuth_Wordpress_token_path": "Token Path", "Accounts_Password_Policy_AtLeastOneLowercase": "Хотя бы одну букву в нижнем регистре", "Accounts_Password_Policy_AtLeastOneLowercase_Description": "Убедитесь, что пароль содержит хотя бы одну букву в нижнем регистре.", + "Apps_Count_Enabled_many": "{{count}} приложений(-я) включено", "Accounts_Password_Policy_AtLeastOneNumber": "Хотя бы одну цифру", "Accounts_Password_Policy_AtLeastOneNumber_Description": "Убедитесь, что пароль содержит хотя бы один цифровой символ.", "Accounts_Password_Policy_AtLeastOneSpecialCharacter": "Хотя бы один специальный символ", + "Private_Apps_Count_Enabled_many": "{{count}} приватных приложений включено", "Accounts_Password_Policy_AtLeastOneSpecialCharacter_Description": "Убедитесь, что пароль содержит хотя бы один специальный символ.", "Accounts_Password_Policy_AtLeastOneUppercase": "Хотя бы одну букву в верхнем регистре", "Accounts_Password_Policy_AtLeastOneUppercase_Description": "Убедитесь, что пароль содержит хотя бы одну букву в верхнем регистре.", @@ -239,10 +241,8 @@ "Accounts_RegistrationForm_Secret_URL": "Секретный URL-адрес", "Accounts_RegistrationForm_SecretURL": "Секретный URL-адрес регистрационной формы", "Accounts_RegistrationForm_SecretURL_Description": "Вы должны предоставить случайную строку, которая будет добавлена к вашему регистрационному URL-адресу. Например: `https://open.rocket.chat/register/[secret_hash]`", - "Apps_Count_Enabled_many": "{{count}} приложений(-я) включено", "Accounts_RequireNameForSignUp": "Требуется имя для регистрации", "Accounts_RequirePasswordConfirmation": "Запрашивать подтверждение пароля", - "Private_Apps_Count_Enabled_many": "{{count}} приватных приложений включено", "Accounts_RoomAvatarExternalProviderUrl": "URL внешнего поставщика аватаров", "Accounts_RoomAvatarExternalProviderUrl_Description": "Пример: `https://acme.com/api/v1/{roomId}`", "Accounts_SearchFields": "Поля, которые следует учитывать при поиске", @@ -255,6 +255,7 @@ "Accounts_ShowFormLogin": "Показать логин на основе формы", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled": "Включить двухфакторную аутентификацию через TOTP", "Accounts_TwoFactorAuthentication_By_TOTP_Enabled_Description": "Пользователи могут настроить двухфакторную аутентификацию с помощью любого приложения TOTP, например, Google Authenticator или Authy.", + "Calls_in_queue_many": "{{count}} Звонков в очереди", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In": "Автоматический настраивать двухфакторную аутентификацию по электронной почте для новых пользователей", "Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In_Description": "У новых пользователей по умолчанию будет включена двухфакторная аутентификация по электронной почте. Они смогут отключить ее на странице своего профиля.", "Accounts_TwoFactorAuthentication_By_Email_Code_Expiration": "Время до истечения срока действия кода, отправленного по электронной почте, в секундах", @@ -273,6 +274,7 @@ "API_EmbedDisabledFor": "Отключить вставку для пользователей", "Accounts_UserAddedEmail_Default": "

Добро пожаловать в [Site_Name]

Посетите [Site_URL] и попробуйте лучшее решение для чатов с открытым исходным кодом на сегодняшний день!

Вы можете войти в систему, используя адрес электронной почты: [email] и пароль: [password]. Возможно, вам потребуется сменить его после первого входа в систему.", "Accounts_UserAddedEmail_Description": "Вы можете использовать следующие обозначения: \n - `[name]`, `[fname]`, `[lname]` для полного имени пользователя, только имени или только фамилии соответственно). \n - [email] - для email адреса пользователя. \n - [password] - для пароля пользователя. \n - `[Site_Name]` и `[Site_URL]` - название вашего приложения и его URL. ", + "Calls_in_queue_few": "{{count}} Звонков в очереди", "API_EmbedDisabledFor_Description": "Список логинов, разделенных запятыми, для отключения предварительного просмотра ссылок.", "Accounts_UserAddedEmailSubject_Default": "Вы были добавлены в [Site_Name]", "Accounts_Verify_Email_For_External_Accounts": "Отметить электронную почту для внешних учетных записей проверенной", @@ -311,7 +313,6 @@ "bypass-time-limit-edit-and-delete": "Обход ограничения по времени", "bypass-time-limit-edit-and-delete_description": "Разрешение на обход ограничения по времени для редактирования и удаления сообщений", "add-team-channel": "Добавить Channel Команды", - "Calls_in_queue_many": "{{count}} Звонков в очереди", "add-team-channel_description": "Разрешение на добавление канала в Команду", "add-team-member": "Добавить участника Команды", "add-team-member_description": "Разрешение на добавление участников в Команду", @@ -335,13 +336,14 @@ "Additional_Feedback": "Дополнительная обратная связь", "additional_integrations_Bots": "Если вы ищете, как интегрировать собственного бота, посмотрите наш адаптер Hubot. https://github.com/RocketChat/hubot-rocketchat", "Admin_disabled_encryption": "Ваш администратор не включил шифрование E2E.", + "Apps_Count_Enabled_few": "{{count}} приложений(-я) включено", "Admin_Info": "Информация Администратора", "admin-no-active-video-conf-provider": "**Функция звонков не включена**: Настройте звонки, чтобы сделать их доступными для вашего сервера.", - "Calls_in_queue_few": "{{count}} Звонков в очереди", "admin-video-conf-provider-not-configured": "**Функция звонков не включена**: Настройте звонки, чтобы сделать их доступными для вашего сервера.", "admin-no-videoconf-provider-app": "**Функция звонков не включена**: Приложения для звонков могут быть установлены из магазина приложений Rocket.Chat администратором сервера.", "Administration": "Администрирование", "Address": "Адрес", + "Private_Apps_Count_Enabled_few": "{{count}} приватных приложений включено", "Adult_images_are_not_allowed": "Изображения для взрослых запрещены", "Aerospace_and_Defense": "Аэрокосмическая промышленность и оборона", "After_OAuth2_authentication_users_will_be_redirected_to_this_URL": "После аутентификации OAuth2, пользователи будут перенаправляться на этот URL-адрес", @@ -363,14 +365,12 @@ "Alias_Set": "Настройки псевдонима", "AutoLinker_Email": "AutoLinker Email", "Aliases": "Псевдонимы", - "Apps_Count_Enabled_few": "{{count}} приложений(-я) включено", "AutoLinker_Phone": "Подсвечивать телефоны", "AutoLinker_Phone_Description": "Автоматически выделять телефонные номера, например `(123)456-7890`", "All": "Все", "AutoLinker_StripPrefix": "Удаление префиксов", "All_Apps": "Все приложения", "AutoLinker_StripPrefix_Description": "Сокращать формат, например: https://rocket.chat => rocket.chat", - "Private_Apps_Count_Enabled_few": "{{count}} приватных приложений включено", "All_added_tokens_will_be_required_by_the_user": "Все добавленные токены потребуются пользователем", "All_categories": "Все категории", "AutoLinker_Urls_Scheme": "AutoLinker Scheme:// URLs", @@ -854,6 +854,7 @@ "CAS_enabled": "Включено", "CAS_Login_Layout": "Стиль окна CAS авторизации", "CAS_login_url": "SSO логин URL", + "message_counter_many": "{{count}} сообщения", "CAS_login_url_Description": "Логин URL вашего внешнего сервиса SSO. Например: `https://sso.example.undef/sso/login`", "CAS_popup_height": "Высота всплывающего окна входа", "CAS_popup_width": "Ширина всплывающего окна входа", @@ -869,6 +870,7 @@ "Categories*": "Категории*", "CDN_JSCSS_PREFIX": "Префикс CDN для JS/CSS", "CDN_PREFIX": "CDN префикс", + "meteor_status_reconnect_in_many": "пытается снова через {{count}} секунд ...", "CDN_PREFIX_ALL": "Использовать Префикс CDN для всех активов", "Certificates_and_Keys": "Ключи и сертификаты", "change-livechat-room-visitor": "Изменить посетителей чата Livechat", @@ -938,6 +940,7 @@ "Click_here": "кликните сюда", "Click_here_for_more_details_or_contact_sales_for_a_new_license": "Нажмите сюда для получения подробной информации или свяжитесь {{email}} для получения новой лицензии.", "Click_here_for_more_info": "Больше информации здесь", + "message_counter_few": "{{count}} сообщения", "Click_here_to_enter_your_encryption_password": "Нажмите здесь, чтобы ввести пароль для шифрования.", "Click_here_to_view_and_copy_your_password": "Нажмите здесь, чтобы просмотреть и скопировать пароль.", "Click_the_messages_you_would_like_to_send_by_email": "Выберите сообщения, которые вы хотите отправить по email.", @@ -969,6 +972,7 @@ "Cloud_Invalid_license": "Недействительная лицензия!", "Cloud_Apply_license": "Применить лицензию", "Cloud_connectivity": "Облачная связь", + "meteor_status_reconnect_in_few": "пытается снова через {{count}} секунд ...", "Cloud_address_to_send_registration_to": "Адрес для отправки электронного письма с регистрацией в облаке.", "Cloud_click_here": "После копирования текста перейдите на Cloud Console. [Щелкните здесь]({{cloudConsoleUrl}})", "Cloud_console": "Облачная Консоль", @@ -1053,7 +1057,6 @@ "Contact_not_found": "Контакт не найден", "Contact_Profile": "Профиль контакта", "Contact_Info": "Контактная информация", - "message_counter_many": "{{count}} сообщения", "Content": "Содержимое", "Continue": "Продолжить", "Continuous_sound_notifications_for_new_livechat_room": "Непрерывные звуковые уведомления для новой комнаты livechat", @@ -1068,7 +1071,6 @@ "Conversations": "Сеансы чата", "Conversations_per_day": "Сеансы чата за день", "Convert": "Конвертировать", - "meteor_status_reconnect_in_many": "пытается снова через {{count}} секунд ...", "Convert_Ascii_Emojis": "Конвертировать ASCII в эмодзи", "Convert_to_channel": "Конвертировать в чат", "Converting_channel_to_a_team": "Вы преобразуете этот чат в Команду. Все его участники будут сохранены.", @@ -1144,7 +1146,6 @@ "Country_Denmark": "Дания", "Country_Djibouti": "Джибути", "Country_Dominica": "Доминика", - "message_counter_few": "{{count}} сообщения", "Country_Dominican_Republic": "Доминиканская Республика", "Country_Ecuador": "Эквадор", "Country_Egypt": "Египет", @@ -1180,7 +1181,6 @@ "Country_Heard_Island_and_Mcdonald_Islands": "Острова Херд и Макдональд", "Country_Holy_See_Vatican_City_State": "Святейший Престол (Государство Ватикан)", "Country_Honduras": "Гондурас", - "meteor_status_reconnect_in_few": "пытается снова через {{count}} секунд ...", "Country_Hong_Kong": "Гонконг", "Country_Hungary": "Венгрия", "Country_Iceland": "Исландия", @@ -3700,6 +3700,9 @@ "RetentionPolicy_Advanced_Precision": "Использовать расширенную конфигурацию политики очистки сообщений", "RetentionPolicy_Advanced_Precision_Cron": "Использовать расширенный планировщик для политики очистки сообщений", "RetentionPolicy_Advanced_Precision_Cron_Description": "Как часто должен запускаться таймер очистки сообщений определяется правилом задачи планировщика. Установка этих значений позволяет каналам с более частыми таймерами очистки сообщений работать лучше, но может стоить дополнительных вычислительных мощностей на больших сообществах.", + "RetentionPolicy_AppliesToChannels": "Применяется к открытым каналам", + "RetentionPolicy_AppliesToDMs": "Применяется к личным сообщениям", + "RetentionPolicy_AppliesToGroups": "Применяется к закрытым каналам", "RetentionPolicy_Description": "Автоматически удаляет старые сообщения на вашем сервере Rocket.Chat.", "RetentionPolicy_DoNotPruneDiscussion": "Не удалять сообщения обсуждений", "RetentionPolicy_DoNotPrunePinned": "Не удалять прикрепленные сообщения", @@ -3709,6 +3712,10 @@ "RetentionPolicy_FilesOnly": "Удалить только файлы", "RetentionPolicy_FilesOnly_Description": "Удаляются только файлы, сами сообщения остаются на месте.", "RetentionPolicy_MaxAge": "Максимальное время жизни сообщений", + "RetentionPolicy_MaxAge_Channels": "Максимальное время жизни сообщений в открытых каналах", + "RetentionPolicy_MaxAge_Description": "Удалять все сообщения старше этого значения, в днях", + "RetentionPolicy_MaxAge_DMs": "Максимальное время жизни личных сообщений", + "RetentionPolicy_MaxAge_Groups": "Максимальное время жизни сообщений в закрытых каналах", "RetentionPolicy_Precision": "Точность таймера", "RetentionPolicy_Precision_Description": "Как часто должен запускаться таймер очистки. Установка этих значений позволяет каналам с более частыми таймерами очистки сообщений работать лучше, но может стоить дополнительных вычислительных мощностей на больших сообществах.", "RetentionPolicyRoom_Enabled": "Автоматически удалять старые сообщения", @@ -5073,6 +5080,7 @@ "Conversational_transcript": "Экспорт содержимого диалога", "Always_send_the_transcript_to_contacts_at_the_end_of_the_conversations": "Всегда отправлять содержимое чата контактам по окончанию диалога.", "Omnichannel_transcript_email": "Отправить содержимое диалога по электронной почте.", + "Accounts_Default_User_Preferences_omnichannelTranscriptEmail_Description": "Всегда отправлять содержимое чата контактам по окончанию диалога.", "Omnichannel_transcript_pdf": "Экспорт содержимого чата в PDF.", "Accounts_Default_User_Preferences_omnichannelTranscriptPDF_Description": "Всегда экспортировать содержимое чата по окончанию диалога.", "User_Status": "Пользовательский статус", @@ -5091,4 +5099,4 @@ "Enterprise": "Корпорация", "UpgradeToGetMore_engagement-dashboard_Title": "Аналитика", "UpgradeToGetMore_auditing_Title": "Аудит сообщений" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/sk-SK.i18n.json b/packages/i18n/src/locales/sk-SK.i18n.json index c3e650063e09..f5bc7bfcbc58 100644 --- a/packages/i18n/src/locales/sk-SK.i18n.json +++ b/packages/i18n/src/locales/sk-SK.i18n.json @@ -2069,12 +2069,19 @@ "Retail": "Maloobchod", "Retention_setting_changed_successfully": "Nastavenie politiky uchovávania sa úspešne zmenilo", "RetentionPolicy": "Politika uchovávania", + "RetentionPolicy_AppliesToChannels": "Platí pre kanály", + "RetentionPolicy_AppliesToDMs": "Platí pre priame správy", + "RetentionPolicy_AppliesToGroups": "Platí pre súkromné ​​skupiny", "RetentionPolicy_Description": "Automaticky prerezáva staré správy v rámci vašej inštancie Rocket.Chat.", "RetentionPolicy_Enabled": "Povolené", "RetentionPolicy_ExcludePinned": "Vylúčte pripnuté správy", "RetentionPolicy_FilesOnly": "Odstráňte iba súbory", "RetentionPolicy_FilesOnly_Description": "Iba súbory budú vymazané, samotné správy zostanú na mieste.", "RetentionPolicy_MaxAge": "Maximálny vek správy", + "RetentionPolicy_MaxAge_Channels": "Maximálny vek správ v kanáloch", + "RetentionPolicy_MaxAge_Description": "Nakrájajte všetky správy staršie ako táto hodnota v dňoch", + "RetentionPolicy_MaxAge_DMs": "Maximálny vek správ v priamych správach", + "RetentionPolicy_MaxAge_Groups": "Maximálny vek správ v súkromných skupinách", "RetentionPolicy_Precision": "Timer Precision", "RetentionPolicy_Precision_Description": "Ako často by mal spustiť časovač prerezávanie. Nastavenie tejto hodnoty na presnejšiu hodnotu umožňuje, aby kanály s rýchlymi retenčnými časovačmi fungovali lepšie, ale mohlo by to zapríčiniť mimoriadny výkon spracovania veľkých spoločenstiev.", "RetentionPolicyRoom_Enabled": "Automaticky prerezávať staré správy", @@ -2764,4 +2771,4 @@ "registration.component.form.sendConfirmationEmail": "Pošlite potvrdzovací e-mail", "Enterprise": "podnik", "UpgradeToGetMore_engagement-dashboard_Title": "Analytika" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/sl-SI.i18n.json b/packages/i18n/src/locales/sl-SI.i18n.json index 07ba5f608dd9..668bb94dc2c5 100644 --- a/packages/i18n/src/locales/sl-SI.i18n.json +++ b/packages/i18n/src/locales/sl-SI.i18n.json @@ -2049,12 +2049,19 @@ "Retail": "Maloprodaja", "Retention_setting_changed_successfully": "Nastavitev pravilnika o zadržanju je bila uspešno spremenjena", "RetentionPolicy": "Politika zadrževanja", + "RetentionPolicy_AppliesToChannels": "Velja za kanale", + "RetentionPolicy_AppliesToDMs": "Velja za neposredna sporočila", + "RetentionPolicy_AppliesToGroups": "Velja za zasebne skupine", "RetentionPolicy_Description": "Samodejno osemenjevanje starih sporočil prek vašega Rocket.Chat primera.", "RetentionPolicy_Enabled": "Omogočeno", "RetentionPolicy_ExcludePinned": "Izključi prepovedana sporočila", "RetentionPolicy_FilesOnly": "Izbrišite le datoteke", "RetentionPolicy_FilesOnly_Description": "Samo datoteke bodo izbrisane, sporočila bodo ostala na mestu.", "RetentionPolicy_MaxAge": "Najvišja starost sporočila", + "RetentionPolicy_MaxAge_Channels": "Najvišja starost sporočil v kanalih", + "RetentionPolicy_MaxAge_Description": "Preglejte vsa sporočila, starejša od te vrednosti, v dnevih", + "RetentionPolicy_MaxAge_DMs": "Najvišja starost sporočil v neposrednih sporočilih", + "RetentionPolicy_MaxAge_Groups": "Največja starost sporočil v zasebnih skupinah", "RetentionPolicy_Precision": "Časovna natančnost", "RetentionPolicy_Precision_Description": "Kako pogosto naj se izvaja časovni rezalnik. Če nastavite to na natančnejšo vrednost, postanejo kanali z hitrimi časovnimi časi boljši, vendar pa lahko pri večjih skupnostih stanejo dodatna procesna moč.", "RetentionPolicyRoom_Enabled": "Samodejno obrezovanje starih sporočil", @@ -2744,4 +2751,4 @@ "registration.component.form.sendConfirmationEmail": "Pošlji potrditveno e-poštno sporočilo", "Enterprise": "Podjetje", "UpgradeToGetMore_engagement-dashboard_Title": "Analiza" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/sq.i18n.json b/packages/i18n/src/locales/sq.i18n.json index ce59a0e3af89..312494da2e8d 100644 --- a/packages/i18n/src/locales/sq.i18n.json +++ b/packages/i18n/src/locales/sq.i18n.json @@ -2059,12 +2059,19 @@ "Retail": "me pakicë", "Retention_setting_changed_successfully": "Rregullimi i politikës së ruajtjes ndryshoi me sukses", "RetentionPolicy": "Politika e Ruajtjes", + "RetentionPolicy_AppliesToChannels": "Zbatohet tek kanalet", + "RetentionPolicy_AppliesToDMs": "Zbatohet në mesazhet direkte", + "RetentionPolicy_AppliesToGroups": "Zbatohet për grupe private", "RetentionPolicy_Description": "Prunes automatikisht mesazhet e vjetra në të gjithë shkallën Rocket.Chat.", "RetentionPolicy_Enabled": "enabled", "RetentionPolicy_ExcludePinned": "Përjashto mesazhet e mbështetura", "RetentionPolicy_FilesOnly": "Vetëm fshini skedarët", "RetentionPolicy_FilesOnly_Description": "Vetëm skedarët do të fshihen, vetë mesazhet do të qëndrojnë në vend.", "RetentionPolicy_MaxAge": "Mosha maksimale e mesazhit", + "RetentionPolicy_MaxAge_Channels": "Mosha maksimale e mesazhit në kanale", + "RetentionPolicy_MaxAge_Description": "Prune të gjitha mesazhet më të vjetër se kjo vlerë, në ditë", + "RetentionPolicy_MaxAge_DMs": "Mosha Maksimale e mesazhit në mesazhet direkte", + "RetentionPolicy_MaxAge_Groups": "Mosha maksimale e mesazhit në grupe private", "RetentionPolicy_Precision": "Timer Precision", "RetentionPolicy_Precision_Description": "Sa shpesh koha duhet të funksionojë. Vendosja e kësaj me një vlerë më të saktë bën që kanalet me kohëmatësi të mbajtjes së shpejtë të funksionojnë më mirë, por mund të kushtojnë energji shtesë për përpunim në komunitetet e mëdha.", "RetentionPolicyRoom_Enabled": "Automatikisht prishi mesazhet e vjetra", @@ -2753,4 +2760,4 @@ "registration.component.form.sendConfirmationEmail": "Dërgo email konfirmimi", "Enterprise": "Ndërmarrje", "UpgradeToGetMore_engagement-dashboard_Title": "Analitikë" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/sr.i18n.json b/packages/i18n/src/locales/sr.i18n.json index f02efa3acd54..e26e8bd3862f 100644 --- a/packages/i18n/src/locales/sr.i18n.json +++ b/packages/i18n/src/locales/sr.i18n.json @@ -46,7 +46,7 @@ "Accounts_Email_Deactivated_Subject": "Налог деактивиран", "Accounts_EmailVerification": "Дозволи пријаву само потврђеним корисницима", "Accounts_EmailVerification_Description": "Потврдите да имате исправне SMTP параметре да би сте користили ову могућност", - "Accounts_Enrollment_Email": "Упис е-маил", + "Accounts_Enrollment_Email": "Упис имејла", "Accounts_Enrollment_Email_Default": "

Добродошли на[Site_Name]

Иди на [Site_URL] и испробај најбоље решење за ћаскање отвореног кода које је тренутно доступно!

", "Accounts_Enrollment_Email_Description": "Можете користити `[name]`, `[fname]`, `[lname]` за пуно име корисника, имену или презимену, респективно.
Можете користити [email] е-поште корисника.", "Accounts_Enrollment_Email_Subject_Default": "Добродошли на [Site_Name]", @@ -72,53 +72,30 @@ "Accounts_OAuth_Custom_Token_Path": "Путања токена", "Accounts_OAuth_Custom_Token_Sent_Via": "Токен послат путем", "Accounts_OAuth_Custom_Username_Field": "Поље корисничког имена", - "Accounts_OAuth_Drupal_id": "Друпал оАутх2 Клијент ИД", - "Accounts_OAuth_Facebook": "Фацебоок логин", - "Accounts_OAuth_Facebook_secret": "фацебоок Тајна", - "Accounts_OAuth_Github_callback_url": "Гитхуб УРЛ за повратни позив", "Accounts_OAuth_GitHub_Enterprise": "ОАутх Омогућено", - "Accounts_OAuth_GitHub_Enterprise_callback_url": "ГитХуб предузећа УРЛ за повратни позив", "Accounts_OAuth_GitHub_Enterprise_id": "Ид клијента", "Accounts_OAuth_GitHub_Enterprise_secret": "Тајна клијента", "Accounts_OAuth_Github_id": "Ид клијента", "Accounts_OAuth_Github_secret": "Тајна клијента", - "Accounts_OAuth_Gitlab": "ОАутх Омогућено", + "Accounts_OAuth_Gitlab": "OAuth омогућен", "Accounts_OAuth_Gitlab_identity_path": "Путања до идентитета", "Accounts_OAuth_Gitlab_secret": "Тајна клијента", - "Accounts_OAuth_Google_callback_url": "Гоогле УРЛ за повратни позив", - "Accounts_OAuth_Google_secret": "гоогле Тајна", - "Accounts_OAuth_Linkedin": "ЛинкедИн Пријава", - "Accounts_OAuth_Linkedin_callback_url": "ЛинкедИн УРЛ за повратни позив", - "Accounts_OAuth_Linkedin_id": "ЛинкедИн ИД", - "Accounts_OAuth_Linkedin_secret": "ЛинкедИн Тајна", - "Accounts_OAuth_Meteor": "метеор Пријава", - "Accounts_OAuth_Meteor_id": "метеор ИД", - "Accounts_OAuth_Meteor_secret": "метеор Тајна", "Accounts_OAuth_Nextcloud_secret": "Тајна клијента", - "Accounts_OAuth_Proxy_host": "Проки Хост", - "Accounts_OAuth_Tokenpass_callback_url": "Токенпасс Цаллбацк УРЛ", - "Accounts_OAuth_Tokenpass_secret": "Токенпасс Сецрет", - "Accounts_OAuth_Twitter": "твиттер Пријава", - "Accounts_OAuth_Twitter_callback_url": "Твиттер УРЛ за повратни позив", - "Accounts_OAuth_Twitter_id": "Твиттер Број", - "Accounts_OAuth_Twitter_secret": "твиттер Тајна", - "Accounts_OAuth_Wordpress": "УордПресс Пријава", + "Accounts_OAuth_Proxy_host": "Прокси хост", "Accounts_OAuth_Wordpress_authorize_path": "Путања до ауторизације", - "Accounts_OAuth_Wordpress_callback_url": "Вордпресс УРЛ за повратни позив", "Accounts_OAuth_Wordpress_identity_path": "Путања до идентитета", "Accounts_OAuth_Wordpress_scope": "Опсег", - "Accounts_OAuth_Wordpress_secret": "УордПресс Тајна", "Accounts_OAuth_Wordpress_server_type_custom": "Прилагођено", "Accounts_OAuth_Wordpress_server_type_wordpress_com": "Wordpress.com", "Accounts_OAuth_Wordpress_token_path": "Путања до токена", "Accounts_Password_Policy_AtLeastOneLowercase": "Најмање једно мало слово", - "Accounts_Password_Policy_AtLeastOneLowercase_Description": "Приморава да лозинка садржи најмање једно мало слово.", + "Accounts_Password_Policy_AtLeastOneLowercase_Description": "Захтева да лозинка садржи најмање једно мало слово.", "Accounts_Password_Policy_AtLeastOneNumber": "Најмање један број", - "Accounts_Password_Policy_AtLeastOneNumber_Description": "Приморава да лозинка садржи најмање један нумерички знак.", + "Accounts_Password_Policy_AtLeastOneNumber_Description": "Захтева да лозинка садржи најмање један нумерички знак.", "Accounts_Password_Policy_AtLeastOneSpecialCharacter": "Најмање један симбол", - "Accounts_Password_Policy_AtLeastOneSpecialCharacter_Description": "Приморава да лозинка садржи бар један посебан карактер.", + "Accounts_Password_Policy_AtLeastOneSpecialCharacter_Description": "Захтева да лозинка садржи бар један посебан карактер.", "Accounts_Password_Policy_AtLeastOneUppercase": "Најмање једно велико слово", - "Accounts_Password_Policy_AtLeastOneUppercase_Description": "Приморава да лозинка садржи најмање једно мало слово.", + "Accounts_Password_Policy_AtLeastOneUppercase_Description": "Захтева да лозинка садржи најмање једно мало слово.", "Accounts_Password_Policy_Enabled": "Омогући смерницу за лозинку", "Accounts_Password_Policy_Enabled_Description": "Када је омогућено, корисничке лозинке морају да се придржавају постављених смерница. Напомена: ово се односи само на нове лозинке, а не постојеће лозинке.", "Accounts_Password_Policy_ForbidRepeatingCharacters": "Забранити понављајуће карактере", @@ -130,20 +107,23 @@ "Accounts_Password_Policy_MinLength": "Минимална дужина", "Accounts_Password_Policy_MinLength_Description": "Осигурава да лозинке морају имати бар ову количину знакова. Користите `-1` да бисте онемогућили.", "Accounts_PasswordReset": "Ресетовање лозинке", - "Accounts_Registration_AuthenticationServices_Default_Roles": "Уобичајене улоге за услуге провјере аутентичности", + "Accounts_Registration_AuthenticationServices_Default_Roles": "Уобичајене улоге за услуге провере аутентичности", "Accounts_Registration_AuthenticationServices_Default_Roles_Description": "Подразумевани корисници улога (одвојени са зарезом) ће бити дати када се региструју преко услуга за потврђивање идентитета", "Accounts_Registration_AuthenticationServices_Enabled": "Регистрација путем сервиса за аутентификацију", + "Accounts_Registration_InviteUrlType_Direct": "Директан", + "Accounts_Registration_InviteUrlType_Proxy": "Прокси", "Accounts_RegistrationForm": "Образац за регистрацију", "Accounts_RegistrationForm_Disabled": "Онемогућен", - "Accounts_RegistrationForm_LinkReplacementText": "Образац за регистрацију Линк Замена Текст", "Accounts_RegistrationForm_Public": "Јавни", "Accounts_RegistrationForm_Secret_URL": "Тајна УРЛ адреса", "Accounts_RegistrationForm_SecretURL": "Тајна УРЛ адреса обрасца за регистрацију", - "Accounts_RegistrationForm_SecretURL_Description": "Морате обезбедити случајни низ који ће бити додат на ваш регистрације УРЛ. Пример: хттпс://демо.роцкет.цхат/регистер/[secret_hash]", + "Accounts_RegistrationForm_SecretURL_Description": "Морате обезбедити случајни низ који ће бити додат на ваш УРЛ за регистрацију. Пример: `https://open.rocket.chat/register/[secret_hash]`", "Accounts_RequireNameForSignUp": "Захтева име за регистрацију", "Accounts_RequirePasswordConfirmation": "Захтевај потврду лозинке", - "Accounts_SearchFields": "Поља за размишљање у потрази", - "Accounts_SetDefaultAvatar": "Подеси подразумевани Аватар", + "Accounts_SearchFields": "Поља за разматрање у потрази", + "Accounts_Send_Email_When_Activating": "Пошаљи имејл кориснику када је корисник активиран", + "Accounts_Send_Email_When_Deactivating": "Пошаљи имејл кориснику када је корисник деактивиран", + "Accounts_SetDefaultAvatar": "Подеси подразумевани аватар", "Accounts_SetDefaultAvatar_Description": "Покушава да одреди подразумевани аватар на основу ОАутх налога или Граватар", "Accounts_ShowFormLogin": "Прикажи предефинисани образац пријаве", "Accounts_TwoFactorAuthentication_Enabled": "Омогући двоструку верификацију са TOTP", @@ -1893,12 +1873,19 @@ "Retail": "Малопродаја", "Retention_setting_changed_successfully": "Поставка полисе за задржавање успешно се променила", "RetentionPolicy": "Политика задржавања", + "RetentionPolicy_AppliesToChannels": "Примењује се на канале", + "RetentionPolicy_AppliesToDMs": "Примењује се на директне поруке", + "RetentionPolicy_AppliesToGroups": "Примјењује се на приватне групе", "RetentionPolicy_Description": "Аутоматски избрише старе поруке преко вашег Роцкет.Цхат инстанца.", "RetentionPolicy_Enabled": "Омогућено", "RetentionPolicy_ExcludePinned": "Искључите закачене поруке", "RetentionPolicy_FilesOnly": "Избришите само датотеке", "RetentionPolicy_FilesOnly_Description": "Само датотеке ће бити избрисане, саме поруке ће остати на месту.", "RetentionPolicy_MaxAge": "Максимална старост поруке", + "RetentionPolicy_MaxAge_Channels": "Максимална старост поруке у каналима", + "RetentionPolicy_MaxAge_Description": "Обришите све поруке старије од ове вредности, у данима", + "RetentionPolicy_MaxAge_DMs": "Максимална старост поруке у директним порукама", + "RetentionPolicy_MaxAge_Groups": "Максимална старост поруке у приватним групама", "RetentionPolicy_Precision": "Тимер Прецисион", "RetentionPolicy_Precision_Description": "Колико често би требало да се покрене тимер за резање. Постављањем ове на прецизну вриједност чини канале са брзим временским задржавањем боље функционирати, али би могла да коштају додатну моћ процесирања на великим заједницама.", "RetentionPolicyRoom_Enabled": "Аутоматски пребрисати старе поруке", @@ -2566,4 +2553,4 @@ "registration.component.form.sendConfirmationEmail": "Пошаљи потврдну поруку", "Enterprise": "Предузеће", "UpgradeToGetMore_engagement-dashboard_Title": "Аналитика" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/sv.i18n.json b/packages/i18n/src/locales/sv.i18n.json index 3436669c7e65..4e436fe6c538 100644 --- a/packages/i18n/src/locales/sv.i18n.json +++ b/packages/i18n/src/locales/sv.i18n.json @@ -4071,6 +4071,9 @@ "RetentionPolicy_Advanced_Precision": "Använd inställningar för avancerad lagringspolicy", "RetentionPolicy_Advanced_Precision_Cron": "Använd cron för avancerad lagringspolicy", "RetentionPolicy_Advanced_Precision_Cron_Description": "Hur ofta gallringstimern ska köras anges av uttrycket för cron-jobb. Om du anger ett mer exakt värde för den fungerar kanaler med korta lagringstider bättre, men det kan kräva extra bearbetningskraft för större communityn.", + "RetentionPolicy_AppliesToChannels": "Gäller kanaler", + "RetentionPolicy_AppliesToDMs": "Gäller direktmeddelanden", + "RetentionPolicy_AppliesToGroups": "Gäller privata grupper", "RetentionPolicy_Description": "Gallra automatiskt gamla meddelanden över din Rocket.Chat-instans.", "RetentionPolicy_DoNotPruneDiscussion": "Gallra inte diskussionsmeddelanden", "RetentionPolicy_DoNotPrunePinned": "Gallra inte pinnade meddelanden", @@ -4080,6 +4083,10 @@ "RetentionPolicy_FilesOnly": "Ta bara bort filer", "RetentionPolicy_FilesOnly_Description": "Endast filer kommer att raderas, meddelandena kommer att stanna kvar.", "RetentionPolicy_MaxAge": "Maximal meddelandeålder", + "RetentionPolicy_MaxAge_Channels": "Maximal meddelandeålder i kanaler", + "RetentionPolicy_MaxAge_Description": "Gallra alla meddelanden som är äldre än det här värdet, i dagar", + "RetentionPolicy_MaxAge_DMs": "Maximal meddelandeålder i direktmeddelanden", + "RetentionPolicy_MaxAge_Groups": "Maximal meddelandeålder i privata grupper", "RetentionPolicy_Precision": "Precision för timer", "RetentionPolicy_Precision_Description": "Hur ofta timern för gallring ska köras. Om du ställer in det här på ett mer exakt värde fungerar kanaler med snabba timers bättre, men det kan kosta extra processorkraft i stora communities.", "RetentionPolicyRoom_Enabled": "Gallra automatiskt gamla meddelanden", @@ -5664,6 +5671,7 @@ "Always_send_the_transcript_to_contacts_at_the_end_of_the_conversations": "Skicka alltid utskriften till kontakterna i slutet av samtalen.", "Export_conversation_transcript_as_PDF": "Exportera samtalsutskrift som PDF", "Omnichannel_transcript_email": "Skicka utskrift av chatten via e-post.", + "Accounts_Default_User_Preferences_omnichannelTranscriptEmail_Description": "Skicka alltid utskriften till kontakterna i slutet av samtalen.", "Omnichannel_transcript_pdf": "Exportera chattutskrift som PDF.", "Accounts_Default_User_Preferences_omnichannelTranscriptPDF_Description": "Exportera alltid utskriften som PDF-fil i slutet av samtalen.", "Contact_email": "Kontakt e-post", @@ -5746,4 +5754,4 @@ "Theme_Appearence": "Utseende för tema", "Enterprise": "Enterprise", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/ta-IN.i18n.json b/packages/i18n/src/locales/ta-IN.i18n.json index 9e37a50bd883..7a2c562d4fff 100644 --- a/packages/i18n/src/locales/ta-IN.i18n.json +++ b/packages/i18n/src/locales/ta-IN.i18n.json @@ -2060,12 +2060,19 @@ "Retail": "சில்லறை", "Retention_setting_changed_successfully": "தக்கவைப்பு கொள்கை அமைப்பு வெற்றிகரமாக மாற்றப்பட்டது", "RetentionPolicy": "Retention கொள்கை", + "RetentionPolicy_AppliesToChannels": "சேனல்களுக்கு பொருந்தும்", + "RetentionPolicy_AppliesToDMs": "நேரடி செய்திகளுக்கு பொருந்தும்", + "RetentionPolicy_AppliesToGroups": "தனியார் குழுக்களுக்கு பொருந்தும்", "RetentionPolicy_Description": "உங்கள் ராக்கெட் முழுவதும் பழைய செய்திகளை தானாகவே புரட்டுகிறது.", "RetentionPolicy_Enabled": "இயக்கப்பட்டது", "RetentionPolicy_ExcludePinned": "பின் செய்திகளை விலக்கவும்", "RetentionPolicy_FilesOnly": "கோப்புகளை மட்டும் நீக்கு", "RetentionPolicy_FilesOnly_Description": "கோப்புகள் மட்டுமே நீக்கப்படும், செய்திகளும் தங்குதலுடன் இருக்கும்.", "RetentionPolicy_MaxAge": "அதிகபட்ச செய்தி வயது", + "RetentionPolicy_MaxAge_Channels": "சேனல்களில் அதிகபட்ச செய்தி வயது", + "RetentionPolicy_MaxAge_Description": "நாட்களில் இந்த மதிப்பை விட பழைய எல்லா செய்திகளையும் புரையுங்கள்", + "RetentionPolicy_MaxAge_DMs": "நேரடியான செய்திகளில் அதிகபட்ச செய்தி வயது", + "RetentionPolicy_MaxAge_Groups": "தனிப்பட்ட குழுக்களில் அதிகபட்ச செய்தி வயது", "RetentionPolicy_Precision": "டைமர் துல்லியம்", "RetentionPolicy_Precision_Description": "எப்படி அடிக்கடி கிள்ளுதல் டைமர் இயக்க வேண்டும். இது மிகவும் துல்லியமான மதிப்பை அமைப்பதன் மூலம் வேகமாக தக்கவைத்துக்கொள்ளும் நேரத்தை கொண்ட சேனல்கள் சிறப்பாக செயல்படுகின்றன, ஆனால் பெரிய சமூகங்களில் கூடுதல் செயலாக்க சக்தி செலவாகும்.", "RetentionPolicyRoom_Enabled": "பழைய செய்திகளை தானாக கிள்ளுகிறேன்", @@ -2756,4 +2763,4 @@ "registration.component.form.sendConfirmationEmail": "உறுதிப்படுத்தும் மின்னஞ்சல் அனுப்பவும்", "Enterprise": "நிறுவன", "UpgradeToGetMore_engagement-dashboard_Title": "அனலிட்டிக்ஸ்" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/th-TH.i18n.json b/packages/i18n/src/locales/th-TH.i18n.json index 2f2bb357256d..7d393a3034fb 100644 --- a/packages/i18n/src/locales/th-TH.i18n.json +++ b/packages/i18n/src/locales/th-TH.i18n.json @@ -2053,12 +2053,19 @@ "Retail": "ขายปลีก", "Retention_setting_changed_successfully": "เปลี่ยนการตั้งค่านโยบายการเก็บรักษาสำเร็จแล้ว", "RetentionPolicy": "นโยบายการเก็บรักษา", + "RetentionPolicy_AppliesToChannels": "ใช้กับช่อง", + "RetentionPolicy_AppliesToDMs": "ใช้กับข้อความโดยตรง", + "RetentionPolicy_AppliesToGroups": "ใช้กับกลุ่มส่วนตัว", "RetentionPolicy_Description": "ลบข้อความเก่า ๆ ในตัวอย่าง Rocket.Chat ของคุณโดยอัตโนมัติ", "RetentionPolicy_Enabled": "เปิดการใช้งาน", "RetentionPolicy_ExcludePinned": "ไม่รวมข้อความตรึง", "RetentionPolicy_FilesOnly": "ลบเฉพาะไฟล์เท่านั้น", "RetentionPolicy_FilesOnly_Description": "ระบบจะลบเฉพาะไฟล์เท่านั้นข้อความจะอยู่ในสถานที่", "RetentionPolicy_MaxAge": "อายุข้อความสูงสุด", + "RetentionPolicy_MaxAge_Channels": "อายุข้อความสูงสุดในช่อง", + "RetentionPolicy_MaxAge_Description": "ลบข้อความทั้งหมดที่เก่ากว่าค่านี้เป็นวัน", + "RetentionPolicy_MaxAge_DMs": "อายุข้อความสูงสุดในข้อความโดยตรง", + "RetentionPolicy_MaxAge_Groups": "อายุข้อความสูงสุดในกลุ่มส่วนตัว", "RetentionPolicy_Precision": "จับเวลาแม่นยำ", "RetentionPolicy_Precision_Description": "ควรจับเวลาลูกพรุนบ่อยแค่ไหน การตั้งค่านี้เป็นค่าที่แม่นยำยิ่งขึ้นทำให้ช่องที่มีตัวจับเวลาการเก็บรักษาอย่างรวดเร็วทำงานได้ดีขึ้น แต่อาจมีค่าใช้จ่ายเพิ่มขึ้นในชุมชนขนาดใหญ่", "RetentionPolicyRoom_Enabled": "ตัดค่าข้อความเก่าโดยอัตโนมัติ", @@ -2742,4 +2749,4 @@ "registration.component.form.sendConfirmationEmail": "ส่งอีเมลยืนยัน", "Enterprise": "องค์กร", "UpgradeToGetMore_engagement-dashboard_Title": "Analytics" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/tr.i18n.json b/packages/i18n/src/locales/tr.i18n.json index ce2e75ee13b1..59b0c8927e23 100644 --- a/packages/i18n/src/locales/tr.i18n.json +++ b/packages/i18n/src/locales/tr.i18n.json @@ -2458,12 +2458,19 @@ "Retail": "Perakende", "Retention_setting_changed_successfully": "Saklama politikası ayarı başarıyla değiştirildi", "RetentionPolicy": "Alıkoyma politikası", + "RetentionPolicy_AppliesToChannels": "Kanallara uygulanır", + "RetentionPolicy_AppliesToDMs": "Doğrudan iletilere uygulanır", + "RetentionPolicy_AppliesToGroups": "Özel gruplara uygulanır", "RetentionPolicy_Description": "Eski iletileri otomatik olarak Rocket.Chat örneğinizde yayınlar.", "RetentionPolicy_Enabled": "Etkin", "RetentionPolicy_ExcludePinned": "Sabitlenmiş iletileri dışında tut", "RetentionPolicy_FilesOnly": "Sadece dosyaları sil", "RetentionPolicy_FilesOnly_Description": "Sadece dosyalar silinecek, mesajların kendisi yerinde kalacaktır.", "RetentionPolicy_MaxAge": "Maksimum ileti yaşı", + "RetentionPolicy_MaxAge_Channels": "Kanallarda maksimum ileti yaşı", + "RetentionPolicy_MaxAge_Description": "Bu değerde günden daha eski olan tüm iletileri buda ", + "RetentionPolicy_MaxAge_DMs": "Doğrudan iletilerde maksimum ileti yaşı", + "RetentionPolicy_MaxAge_Groups": "Özel gruplarda maksimum ileti yaşı", "RetentionPolicy_Precision": "Zamanlayıcı Hassasiyeti", "RetentionPolicy_Precision_Description": "Budama zamanlayıcı kaç kez çalıştırılmalıdır. Bunu daha hassas bir değere ayarlamak, hızlı saklama zamanlayıcılarına sahip kanalların daha iyi çalışmasını sağlar, ancak büyük topluluklarda ekstra işlem gücüne mal olabilir.", "RetentionPolicyRoom_Enabled": "Eski iletileri otomatik olarak buda", @@ -3264,4 +3271,4 @@ "RegisterWorkspace_Features_Omnichannel_Title": "Çoklu Kanal", "Enterprise": "Kuruluş", "UpgradeToGetMore_engagement-dashboard_Title": "Mantıksal Analiz" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/uk.i18n.json b/packages/i18n/src/locales/uk.i18n.json index 55e9381c12c0..b8e27a4f8c34 100644 --- a/packages/i18n/src/locales/uk.i18n.json +++ b/packages/i18n/src/locales/uk.i18n.json @@ -568,6 +568,7 @@ "CAS_enabled": "Увімкнено", "CAS_Login_Layout": "Стиль входу в CAS", "CAS_login_url": "URL-адреса входу в SSO", + "message_counter_many": "{{count}} повідомлень", "CAS_login_url_Description": "URL-адреса для входу зовнішньої служби SSO, наприклад: https: //sso.example.undef/sso/login", "CAS_popup_height": "Висота виринаючого вікна входу", "CAS_popup_width": "Ширина спливаючого вікна входу", @@ -625,6 +626,7 @@ "clear_history": "Очистити історію", "Click_here": "Натисніть тут", "Click_here_for_more_info": "Натисніть тут, щоб отримати додаткову інформацію", + "message_counter_few": "{{count}} повідомлень", "Click_here_to_enter_your_encryption_password": "Натисніть тут, щоб ввести пароль шифрування", "Click_here_to_view_and_copy_your_password": "Натисніть тут, щоб переглянути та скопіювати свій пароль.", "Click_the_messages_you_would_like_to_send_by_email": "Натисніть повідомлення, які ви хочете надіслати електронною поштою", @@ -700,7 +702,6 @@ "Consulting": "Консалтинг", "Contact": "Контакти", "Contains_Security_Fixes": "Містять виправлення безпеки", - "message_counter_many": "{{count}} повідомлень", "Content": "Вміст", "Continue": "Продовжити", "Continuous_sound_notifications_for_new_livechat_room": "Постійні звукові сповіщення для нової livechat кімнати", @@ -782,7 +783,6 @@ "Country_Denmark": "Данія", "Country_Djibouti": "Джибуті", "Country_Dominica": "Домініка", - "message_counter_few": "{{count}} повідомлень", "Country_Dominican_Republic": "Домініканська республіка", "Country_Ecuador": "Еквадор", "Country_Egypt": "Єгипет", @@ -2596,12 +2596,19 @@ "Retail": "Роздрібна торгівля", "Retention_setting_changed_successfully": "Налаштування політики збереження успішно змінено", "RetentionPolicy": "Політика збереження", + "RetentionPolicy_AppliesToChannels": "Застосовується до каналів", + "RetentionPolicy_AppliesToDMs": "Застосовується до прямих повідомлень", + "RetentionPolicy_AppliesToGroups": "Застосовується до приватних груп", "RetentionPolicy_Description": "Автоматично скасовує старі повідомлення через екземпляр Rocket.Chat.", "RetentionPolicy_Enabled": "Увімкнено", "RetentionPolicy_ExcludePinned": "Виключити закріплені повідомлення", "RetentionPolicy_FilesOnly": "Видаляти лише файли", "RetentionPolicy_FilesOnly_Description": "Тільки файли будуть видалені, самі повідомлення залишиться на місці.", "RetentionPolicy_MaxAge": "Максимальний вік повідомлення", + "RetentionPolicy_MaxAge_Channels": "Максимальний вік повідомлення в каналах", + "RetentionPolicy_MaxAge_Description": "Обрізати всі повідомлення старше цього значення в днях", + "RetentionPolicy_MaxAge_DMs": "Максимальний вік повідомлення в прямому повідомленні", + "RetentionPolicy_MaxAge_Groups": "Максимальний вік повідомлення в приватних групах", "RetentionPolicy_Precision": "Таймер точності", "RetentionPolicy_Precision_Description": "Як часто слід запускати таймер шкури. Якщо встановити це значення на більш точне значення, канали з таймерами швидкого утримання працюватимуть краще, однак вони можуть призвести до додаткової потужності обробки великих спільнот.", "RetentionPolicyRoom_Enabled": "Автоматично обрізати старі повідомлення", @@ -3351,4 +3358,4 @@ "Enterprise": "Підприємство", "UpgradeToGetMore_engagement-dashboard_Title": "Аналітика", "UpgradeToGetMore_auditing_Title": "Аудит повідомлень" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/vi-VN.i18n.json b/packages/i18n/src/locales/vi-VN.i18n.json index 2c53f8e3fed7..bf073e9c6aee 100644 --- a/packages/i18n/src/locales/vi-VN.i18n.json +++ b/packages/i18n/src/locales/vi-VN.i18n.json @@ -2160,12 +2160,19 @@ "Retail": "Người bán lẻ", "Retention_setting_changed_successfully": "Đã thay đổi cài đặt chính sách lưu giữ thành công", "RetentionPolicy": "Duy trì chính sách", + "RetentionPolicy_AppliesToChannels": "Áp dụng cho kênh", + "RetentionPolicy_AppliesToDMs": "Áp dụng cho tin nhắn trực tiếp", + "RetentionPolicy_AppliesToGroups": "Áp dụng cho nhóm riêng tư", "RetentionPolicy_Description": "Tự động prunes tin nhắn cũ trên trường hợp Rocket.Chat của bạn.", "RetentionPolicy_Enabled": "Đã bật", "RetentionPolicy_ExcludePinned": "Loại trừ các thư đã ghim", "RetentionPolicy_FilesOnly": "Chỉ xóa tệp", "RetentionPolicy_FilesOnly_Description": "Chỉ các tệp sẽ bị xóa, bản thân thư sẽ vẫn được giữ nguyên.", "RetentionPolicy_MaxAge": "Độ tuổi tin nhắn tối đa", + "RetentionPolicy_MaxAge_Channels": "Độ tuổi tin nhắn tối đa trong các kênh", + "RetentionPolicy_MaxAge_Description": "Cắt bớt tất cả các thư cũ hơn giá trị này, trong ngày", + "RetentionPolicy_MaxAge_DMs": "Độ tuổi tin nhắn tối đa trong các tin nhắn trực tiếp", + "RetentionPolicy_MaxAge_Groups": "Độ tuổi tin nhắn tối đa trong các nhóm riêng tư", "RetentionPolicy_Precision": "Hẹn giờ chính xác", "RetentionPolicy_Precision_Description": "Tần suất bộ đếm thời gian prune sẽ chạy. Đặt giá trị này thành giá trị chính xác hơn giúp kênh có bộ hẹn giờ lưu trữ nhanh hoạt động tốt hơn, nhưng có thể tốn thêm sức mạnh xử lý trên các cộng đồng lớn.", "RetentionPolicyRoom_Enabled": "Tự động cắt bớt các tin nhắn cũ", @@ -2853,4 +2860,4 @@ "registration.component.form.sendConfirmationEmail": "Gửi email xác nhận", "Enterprise": "Doanh nghiệp", "UpgradeToGetMore_engagement-dashboard_Title": "phân tích" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/zh-HK.i18n.json b/packages/i18n/src/locales/zh-HK.i18n.json index bd9fd451a2a5..e9821173dc0c 100644 --- a/packages/i18n/src/locales/zh-HK.i18n.json +++ b/packages/i18n/src/locales/zh-HK.i18n.json @@ -2084,15 +2084,21 @@ "Retail": "零售", "Retention_setting_changed_successfully": "保留策略设置已成功更改", "RetentionPolicy": "保留政策", + "RetentionPolicy_AppliesToChannels": "适用于频道", + "RetentionPolicy_AppliesToDMs": "适用于直接消息", + "RetentionPolicy_AppliesToGroups": "适用于私人团体", "RetentionPolicy_Description": "自动修剪Rocket.Chat实例中的旧消息。", "RetentionPolicy_Enabled": "启用", "RetentionPolicy_ExcludePinned": "排除固定消息", "RetentionPolicy_FilesOnly": "只删除文件", "RetentionPolicy_FilesOnly_Description": "只删除文件,邮件本身将保留在原位。", "RetentionPolicy_MaxAge": "最大邮件年龄", + "RetentionPolicy_MaxAge_Channels": "频道中的最大消息时限", + "RetentionPolicy_MaxAge_Description": "修剪所有早于此值的邮件,以天为单位", + "RetentionPolicy_MaxAge_DMs": "直接消息中的最大消息时间", + "RetentionPolicy_MaxAge_Groups": "私人组中的最长邮件年龄", "RetentionPolicy_Precision": "定时精度", "RetentionPolicy_Precision_Description": "修剪计时器应该多久运行一次。将此设置为更精确的值会使具有快速保留计时器的通道更好地工作,但可能会对大型社区造成额外的处理能力。", - "RetentionPolicyRoom_Enabled": "自动修剪旧邮件", "RetentionPolicyRoom_ExcludePinned": "排除固定消息", "RetentionPolicyRoom_FilesOnly": "仅修剪文件,保留消息", @@ -2778,4 +2784,4 @@ "registration.component.form.sendConfirmationEmail": "已发送确认电子邮件", "Enterprise": "企业", "UpgradeToGetMore_engagement-dashboard_Title": "分析" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/zh-TW.i18n.json b/packages/i18n/src/locales/zh-TW.i18n.json index cc9ec4dae7d4..741132996be6 100644 --- a/packages/i18n/src/locales/zh-TW.i18n.json +++ b/packages/i18n/src/locales/zh-TW.i18n.json @@ -3413,6 +3413,9 @@ "RetentionPolicy_Advanced_Precision": "使用進階保留策略設置", "RetentionPolicy_Advanced_Precision_Cron": "使用進階保留政策計劃", "RetentionPolicy_Advanced_Precision_Cron_Description": "cron 工作表示法定義了修剪計時器應執行的頻率。將此值設置為更精確的值可使具有快速保留計時器的頻道做的更好,但可能會給大型社群帶來更重的處理能力。", + "RetentionPolicy_AppliesToChannels": "適用於頻道", + "RetentionPolicy_AppliesToDMs": "適用於直接消息", + "RetentionPolicy_AppliesToGroups": "適用於私人團體", "RetentionPolicy_Description": "自動修剪Rocket.Chat實例中的舊消息。", "RetentionPolicy_DoNotPruneDiscussion": "不修剪論壇訊息", "RetentionPolicy_DoNotPrunePinned": "不修剪釘選的訊息", @@ -3422,6 +3425,10 @@ "RetentionPolicy_FilesOnly": "只刪除檔案", "RetentionPolicy_FilesOnly_Description": "只刪除檔案,郵件本身將保留在原位。", "RetentionPolicy_MaxAge": "最大郵件年齡", + "RetentionPolicy_MaxAge_Channels": "頻道中的最大訊息時限", + "RetentionPolicy_MaxAge_Description": "修剪所有早於此值的郵件,以天為單位", + "RetentionPolicy_MaxAge_DMs": "直接訊息中的最大訊息時間", + "RetentionPolicy_MaxAge_Groups": "私人群組中的最長訊息年齡", "RetentionPolicy_Precision": "定時精度", "RetentionPolicy_Precision_Description": "修剪計時器應該多久運行一次。將此設置為更精確的值會使具有快速保留計時器的通道更好地工作,但可能會對大型社區造成額外的處理能力。", "RetentionPolicyRoom_Enabled": "自動修剪舊郵件", @@ -4578,4 +4585,4 @@ "Enterprise": "企業", "UpgradeToGetMore_engagement-dashboard_Title": "分析", "UpgradeToGetMore_auditing_Title": "訊息稽核" -} +} \ No newline at end of file diff --git a/packages/i18n/src/locales/zh.i18n.json b/packages/i18n/src/locales/zh.i18n.json index 75568dd3c5d8..323da5954332 100644 --- a/packages/i18n/src/locales/zh.i18n.json +++ b/packages/i18n/src/locales/zh.i18n.json @@ -3097,6 +3097,9 @@ "RetentionPolicy_Advanced_Precision": "使用高级保留策略配置", "RetentionPolicy_Advanced_Precision_Cron": "使用高级保留策略任务计划", "RetentionPolicy_Advanced_Precision_Cron_Description": "使用 cron 任务表达式定义修剪定时器运行频度,将此设置为更精确的值会使具有快速保留计时器的频道更好地工作,但对大型社区可能会消耗额外的处理能力。", + "RetentionPolicy_AppliesToChannels": "适用于频道", + "RetentionPolicy_AppliesToDMs": "适用于私聊消息", + "RetentionPolicy_AppliesToGroups": "适用于私人组", "RetentionPolicy_Description": "自动修剪 Rocket.Chat 实例中的旧消息。", "RetentionPolicy_DoNotPruneDiscussion": "不修剪讨论消息", "RetentionPolicy_DoNotPrunePinned": "不修剪已固定的消息", @@ -3106,6 +3109,10 @@ "RetentionPolicy_FilesOnly": "只删除文件", "RetentionPolicy_FilesOnly_Description": "只有文件会被删除,消息本身将保留在原位。", "RetentionPolicy_MaxAge": "消息保持时限", + "RetentionPolicy_MaxAge_Channels": "频道中的消息保持时限", + "RetentionPolicy_MaxAge_Description": "修剪所有早于此值的消息,以天为单位", + "RetentionPolicy_MaxAge_DMs": "私聊消息最大年龄", + "RetentionPolicy_MaxAge_Groups": "私人组中的消息最大年龄", "RetentionPolicy_Precision": "定时精度", "RetentionPolicy_Precision_Description": "修剪计时器应该多久运行一次。将此设置为更精确的值会使具有快速保留计时器的频道更好地工作,但对大型社区可能会消耗额外的处理能力。", "RetentionPolicyRoom_Enabled": "自动修剪旧消息", @@ -4135,4 +4142,4 @@ "Enterprise": "企业", "UpgradeToGetMore_engagement-dashboard_Title": "分析", "UpgradeToGetMore_auditing_Title": "消息审计" -} +} \ No newline at end of file diff --git a/packages/livechat/src/providers/ServerProvider.tsx b/packages/livechat/src/providers/ServerProvider.tsx index 79a0b2eb6f8f..203740a62e39 100644 --- a/packages/livechat/src/providers/ServerProvider.tsx +++ b/packages/livechat/src/providers/ServerProvider.tsx @@ -1,15 +1,15 @@ import type { Serialized } from '@rocket.chat/core-typings'; -import { Emitter } from '@rocket.chat/emitter'; -import type { Method, PathFor, OperationParams, OperationResult, UrlParams, PathPattern } from '@rocket.chat/rest-typings'; import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn, StreamerCallbackArgs, - UploadResult, StreamNames, StreamKeys, -} from '@rocket.chat/ui-contexts'; +} from '@rocket.chat/ddp-client'; +import { Emitter } from '@rocket.chat/emitter'; +import type { Method, PathFor, OperationParams, OperationResult, UrlParams, PathPattern } from '@rocket.chat/rest-typings'; +import type { UploadResult } from '@rocket.chat/ui-contexts'; import { ServerContext } from '@rocket.chat/ui-contexts'; import { compile } from 'path-to-regexp'; import { useMemo } from 'preact/hooks'; diff --git a/packages/livechat/src/widget.ts b/packages/livechat/src/widget.ts index 47f073aaff0a..9a7af87de95d 100644 --- a/packages/livechat/src/widget.ts +++ b/packages/livechat/src/widget.ts @@ -1,5 +1,5 @@ import type { UserStatus } from '@rocket.chat/core-typings'; -import type { LivechatRoomEvents } from '@rocket.chat/ddp-client/dist/livechat/types/LivechatSDK'; +import type { LivechatRoomEvents } from '@rocket.chat/ddp-client'; import mitt from 'mitt'; import { isDefined } from './helpers/isDefined'; diff --git a/packages/mock-providers/package.json b/packages/mock-providers/package.json index 9adbce01c624..e5bd5d1a0b0a 100644 --- a/packages/mock-providers/package.json +++ b/packages/mock-providers/package.json @@ -8,6 +8,7 @@ "react-i18next": "~13.2.2" }, "devDependencies": { + "@rocket.chat/ddp-client": "workspace:~", "@rocket.chat/ui-contexts": "workspace:*", "@storybook/react": "~6.5.16", "@tanstack/react-query": "^4.16.1", diff --git a/packages/mock-providers/src/MockedAppRootBuilder.tsx b/packages/mock-providers/src/MockedAppRootBuilder.tsx index 26c6a82c5533..31eb125c0915 100644 --- a/packages/mock-providers/src/MockedAppRootBuilder.tsx +++ b/packages/mock-providers/src/MockedAppRootBuilder.tsx @@ -1,10 +1,8 @@ import { type ISetting, type Serialized, type SettingValue } from '@rocket.chat/core-typings'; +import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn } from '@rocket.chat/ddp-client'; import languages from '@rocket.chat/i18n/dist/languages'; import { type Method, type OperationParams, type OperationResult, type PathPattern, type UrlParams } from '@rocket.chat/rest-typings'; import { - type ServerMethodName, - type ServerMethodParameters, - type ServerMethodReturn, type TranslationKey, AuthorizationContext, ConnectionStatusContext, diff --git a/packages/mock-providers/src/MockedServerContext.tsx b/packages/mock-providers/src/MockedServerContext.tsx index 58b8ac592d27..1f30cd6f1c2f 100644 --- a/packages/mock-providers/src/MockedServerContext.tsx +++ b/packages/mock-providers/src/MockedServerContext.tsx @@ -1,6 +1,6 @@ import type { Serialized } from '@rocket.chat/core-typings'; +import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn } from '@rocket.chat/ddp-client'; import type { Method, OperationParams, OperationResult, PathPattern, UrlParams } from '@rocket.chat/rest-typings'; -import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn } from '@rocket.chat/ui-contexts'; import { ServerContext } from '@rocket.chat/ui-contexts'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import React from 'react'; diff --git a/packages/rest-typings/src/v1/users/UsersSetPreferenceParamsPOST.ts b/packages/rest-typings/src/v1/users/UsersSetPreferenceParamsPOST.ts index 1c89fdc04d5d..7ef41d363dea 100644 --- a/packages/rest-typings/src/v1/users/UsersSetPreferenceParamsPOST.ts +++ b/packages/rest-typings/src/v1/users/UsersSetPreferenceParamsPOST.ts @@ -1,4 +1,4 @@ -import type { ThemePreference } from '@rocket.chat/ui-theming/src/types/themes'; +import type { ThemePreference } from '@rocket.chat/core-typings'; import Ajv from 'ajv'; const ajv = new Ajv({ diff --git a/packages/ui-contexts/package.json b/packages/ui-contexts/package.json index 06311c2b501a..6303f35edce0 100644 --- a/packages/ui-contexts/package.json +++ b/packages/ui-contexts/package.json @@ -4,6 +4,7 @@ "private": true, "devDependencies": { "@rocket.chat/core-typings": "workspace:^", + "@rocket.chat/ddp-client": "workspace:~", "@rocket.chat/emitter": "~0.31.25", "@rocket.chat/fuselage-hooks": "^0.33.1", "@rocket.chat/i18n": "workspace:~", diff --git a/packages/ui-contexts/src/ServerContext/ServerContext.ts b/packages/ui-contexts/src/ServerContext/ServerContext.ts index 14a2b0e1a3ea..e5b7fd63c1c5 100644 --- a/packages/ui-contexts/src/ServerContext/ServerContext.ts +++ b/packages/ui-contexts/src/ServerContext/ServerContext.ts @@ -1,6 +1,12 @@ import type { IServerInfo, Serialized } from '@rocket.chat/core-typings'; -import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn } from '@rocket.chat/ddp-client/src/types/methods'; -import type { StreamKeys, StreamNames, StreamerCallbackArgs } from '@rocket.chat/ddp-client/src/types/streams'; +import type { + ServerMethodName, + ServerMethodParameters, + ServerMethodReturn, + StreamKeys, + StreamNames, + StreamerCallbackArgs, +} from '@rocket.chat/ddp-client'; import type { Method, OperationParams, OperationResult, PathFor, PathPattern, UrlParams } from '@rocket.chat/rest-typings'; import { createContext } from 'react'; diff --git a/packages/ui-contexts/src/hooks/useMethod.ts b/packages/ui-contexts/src/hooks/useMethod.ts index 0d71f2883972..a9f1513ed2f3 100644 --- a/packages/ui-contexts/src/hooks/useMethod.ts +++ b/packages/ui-contexts/src/hooks/useMethod.ts @@ -1,8 +1,12 @@ -import type { ServerMethodFunction, ServerMethodParameters, ServerMethods } from '@rocket.chat/ddp-client/src/types/methods'; +import type { ServerMethodName, ServerMethodParameters, ServerMethodReturn, ServerMethods } from '@rocket.chat/ddp-client'; import { useCallback, useContext } from 'react'; import { ServerContext } from '../ServerContext'; +type ServerMethodFunction = ( + ...args: ServerMethodParameters +) => Promise>; + /* @deprecated prefer the use of api endpoints (useEndpoint) */ export const useMethod = (methodName: MethodName): ServerMethodFunction => { const { callMethod } = useContext(ServerContext); diff --git a/packages/ui-contexts/src/hooks/useStream.ts b/packages/ui-contexts/src/hooks/useStream.ts index d6fb5e76be78..cb008eea468a 100644 --- a/packages/ui-contexts/src/hooks/useStream.ts +++ b/packages/ui-contexts/src/hooks/useStream.ts @@ -1,4 +1,4 @@ -import type { StreamNames, StreamerEvents, StreamKeys, StreamerCallbackArgs } from '@rocket.chat/ddp-client/src/types/streams'; +import type { StreamNames, StreamerEvents, StreamKeys, StreamerCallbackArgs } from '@rocket.chat/ddp-client'; import { useContext, useMemo } from 'react'; import { ServerContext } from '../ServerContext'; diff --git a/packages/ui-contexts/src/hooks/useUserSubscriptions.ts b/packages/ui-contexts/src/hooks/useUserSubscriptions.ts index e59a1e733a2f..ab5cdb9baacd 100644 --- a/packages/ui-contexts/src/hooks/useUserSubscriptions.ts +++ b/packages/ui-contexts/src/hooks/useUserSubscriptions.ts @@ -1,9 +1,9 @@ -import type { SubscriptionWithRoom } from '@rocket.chat/ui-contexts/src/types/SubscriptionWithRoom'; import { useContext, useMemo } from 'react'; import { useSyncExternalStore } from 'use-sync-external-store/shim'; import type { FindOptions, SubscriptionQuery } from '../UserContext'; import { UserContext } from '../UserContext'; +import type { SubscriptionWithRoom } from '../types/SubscriptionWithRoom'; export const useUserSubscriptions = (query: SubscriptionQuery, options?: FindOptions): SubscriptionWithRoom[] => { const { querySubscriptions } = useContext(UserContext); diff --git a/packages/ui-contexts/src/index.ts b/packages/ui-contexts/src/index.ts index e433aadaf1a6..e021eb840aa0 100644 --- a/packages/ui-contexts/src/index.ts +++ b/packages/ui-contexts/src/index.ts @@ -92,21 +92,6 @@ export { useSetOutputMediaDevice } from './hooks/useSetOutputMediaDevice'; export { useSetInputMediaDevice } from './hooks/useSetInputMediaDevice'; export { useAccountsCustomFields } from './hooks/useAccountsCustomFields'; -export { - ServerMethods, - ServerMethodName, - ServerMethodParameters, - ServerMethodReturn, - ServerMethodFunction, -} from '@rocket.chat/ddp-client/src/types/methods'; -export { - StreamerEvents, - StreamNames, - StreamKeys, - StreamerConfigs, - StreamerConfig, - StreamerCallbackArgs, -} from '@rocket.chat/ddp-client/src/types/streams'; export { UploadResult } from './ServerContext'; export { TranslationKey, TranslationLanguage } from './TranslationContext'; export { Fields } from './UserContext'; diff --git a/yarn.lock b/yarn.lock index 05788b5fed94..106dff4d10c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8636,7 +8636,7 @@ __metadata: languageName: unknown linkType: soft -"@rocket.chat/core-typings@workspace:^, @rocket.chat/core-typings@workspace:packages/core-typings": +"@rocket.chat/core-typings@workspace:^, @rocket.chat/core-typings@workspace:packages/core-typings, @rocket.chat/core-typings@workspace:~": version: 0.0.0-use.local resolution: "@rocket.chat/core-typings@workspace:packages/core-typings" dependencies: @@ -8691,11 +8691,12 @@ __metadata: languageName: node linkType: hard -"@rocket.chat/ddp-client@workspace:^, @rocket.chat/ddp-client@workspace:ee/packages/ddp-client": +"@rocket.chat/ddp-client@workspace:^, @rocket.chat/ddp-client@workspace:ee/packages/ddp-client, @rocket.chat/ddp-client@workspace:~": version: 0.0.0-use.local resolution: "@rocket.chat/ddp-client@workspace:ee/packages/ddp-client" dependencies: "@rocket.chat/api-client": "workspace:^" + "@rocket.chat/core-typings": "workspace:~" "@rocket.chat/rest-typings": "workspace:^" "@swc/core": ^1.3.95 "@swc/jest": ^0.2.29 @@ -8720,6 +8721,7 @@ __metadata: "@rocket.chat/apps-engine": alpha "@rocket.chat/core-services": "workspace:^" "@rocket.chat/core-typings": "workspace:^" + "@rocket.chat/ddp-client": "workspace:~" "@rocket.chat/emitter": ~0.31.25 "@rocket.chat/eslint-config": "workspace:^" "@rocket.chat/instance-status": "workspace:^" @@ -8728,7 +8730,6 @@ __metadata: "@rocket.chat/models": "workspace:^" "@rocket.chat/rest-typings": "workspace:^" "@rocket.chat/string-helpers": ~0.31.25 - "@rocket.chat/ui-contexts": "workspace:^" "@types/ejson": ^2.2.1 "@types/gc-stats": ^1.4.2 "@types/meteor": ^2.9.8 @@ -9718,6 +9719,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/mock-providers@workspace:packages/mock-providers" dependencies: + "@rocket.chat/ddp-client": "workspace:~" "@rocket.chat/i18n": "workspace:~" "@rocket.chat/ui-contexts": "workspace:*" "@storybook/react": ~6.5.16 @@ -9824,7 +9826,6 @@ __metadata: "@rocket.chat/omnichannel-services": "workspace:^" "@rocket.chat/pdf-worker": "workspace:^" "@rocket.chat/tools": "workspace:^" - "@rocket.chat/ui-contexts": "workspace:^" "@types/gc-stats": ^1.4.2 "@types/node": ^14.18.63 "@types/polka": ^0.5.6 @@ -10379,6 +10380,7 @@ __metadata: resolution: "@rocket.chat/ui-contexts@workspace:packages/ui-contexts" dependencies: "@rocket.chat/core-typings": "workspace:^" + "@rocket.chat/ddp-client": "workspace:~" "@rocket.chat/emitter": ~0.31.25 "@rocket.chat/fuselage-hooks": ^0.33.1 "@rocket.chat/i18n": "workspace:~"