From 868f09e5ac085b2f907f64ef5bd9f0438d239c9f Mon Sep 17 00:00:00 2001 From: Zabilsya Date: Tue, 29 Oct 2024 15:37:13 +0600 Subject: [PATCH] [DOP-20043] fix descriptions of utils --- .../ConnectionAuthData/utils/getDescriptionItems/index.ts | 7 +------ .../ConnectionData/utils/getDescriptionItems/index.ts | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/features/connection/ConnectionDetailInfo/components/ConnectionAuthData/utils/getDescriptionItems/index.ts b/src/features/connection/ConnectionDetailInfo/components/ConnectionAuthData/utils/getDescriptionItems/index.ts index b94d9a6..16258b2 100644 --- a/src/features/connection/ConnectionDetailInfo/components/ConnectionAuthData/utils/getDescriptionItems/index.ts +++ b/src/features/connection/ConnectionDetailInfo/components/ConnectionAuthData/utils/getDescriptionItems/index.ts @@ -2,12 +2,7 @@ import { DescriptionItem } from '@shared/types'; import { GetDescriptionItemsProps } from './types'; -/** Util for mapping data for Description component depends on connection type - * - * @param data - Connection auth data depends on connection type - * - * @returns - Array of description items data {@link DescriptionItem} - */ +/** Util for mapping data for Description component depends on connection type */ export const getDescriptionItems = ({ data }: GetDescriptionItemsProps): DescriptionItem[] => { switch (data.type) { case 's3': diff --git a/src/features/connection/ConnectionDetailInfo/components/ConnectionData/utils/getDescriptionItems/index.ts b/src/features/connection/ConnectionDetailInfo/components/ConnectionData/utils/getDescriptionItems/index.ts index 3f2d52d..4194300 100644 --- a/src/features/connection/ConnectionDetailInfo/components/ConnectionData/utils/getDescriptionItems/index.ts +++ b/src/features/connection/ConnectionDetailInfo/components/ConnectionData/utils/getDescriptionItems/index.ts @@ -2,12 +2,7 @@ import { DescriptionItem } from '@shared/types'; import { GetDescriptionItemsProps } from './types'; -/** Util for mapping data for Description component depends on connection type - * - * @param data - Connection data depends on connection type - * - * @returns - Array of description items data {@link DescriptionItem} - */ +/** Util for mapping data for Description component depends on connection type */ export const getDescriptionItems = ({ data }: GetDescriptionItemsProps): DescriptionItem[] => { switch (data.type) { case 'oracle':