Skip to content

Commit

Permalink
[DOP-20043] fix descriptions of utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabilsya committed Oct 29, 2024
1 parent b607082 commit 868f09e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 868f09e

Please sign in to comment.