diff --git a/apps/meteor/client/components/message/content/attachments/default/Field.tsx b/apps/meteor/client/components/message/content/attachments/default/Field.tsx index 6375da3cc9801..d33f09efcc0f9 100644 --- a/apps/meteor/client/components/message/content/attachments/default/Field.tsx +++ b/apps/meteor/client/components/message/content/attachments/default/Field.tsx @@ -7,11 +7,12 @@ type FieldProps = { value: ReactNode; } & Omit, 'title' | 'value'>; -// TODO: description missing color token const Field = ({ title, value, ...props }: FieldProps) => ( - {title} - {value} + {title} + + {value} + ); diff --git a/packages/core-services/src/types/ITelemetryEvent.ts b/packages/core-services/src/types/ITelemetryEvent.ts index d7a4e4340b50a..116baa9f6586e 100644 --- a/packages/core-services/src/types/ITelemetryEvent.ts +++ b/packages/core-services/src/types/ITelemetryEvent.ts @@ -1,9 +1,4 @@ -type updateCounterDataType = { settingsId: string }; -type slashCommandsDataType = { command: string }; - -// TODO this is duplicated from /packages/rest-typings/src/v1/statistics.ts -export type TelemetryMap = { slashCommandsStats: slashCommandsDataType; updateCounter: updateCounterDataType }; -export type TelemetryEvents = keyof TelemetryMap; +import type { TelemetryMap, TelemetryEvents } from '@rocket.chat/rest-typings'; export interface ITelemetryEvent { register: (name: TelemetryEvents, fn: () => Promise | void) => void; diff --git a/packages/rest-typings/src/index.ts b/packages/rest-typings/src/index.ts index deb8359b1f896..d7689aa33be4f 100644 --- a/packages/rest-typings/src/index.ts +++ b/packages/rest-typings/src/index.ts @@ -256,6 +256,7 @@ export * from './v1/auth'; export * from './v1/cloud'; export * from './v1/banners'; export * from './default'; +export * from './v1/statistics'; // Export the ajv instance for use in other packages export * from './v1/Ajv';