|
1 | 1 | import {
|
| 2 | + AvatarIcon, |
2 | 3 | HomeIcon,
|
3 | 4 | LayersIcon,
|
4 | 5 | LinkBreak1Icon,
|
| 6 | + ListBulletIcon, |
5 | 7 | Share1Icon,
|
| 8 | + StackIcon, |
6 | 9 | TokensIcon,
|
7 | 10 | } from '@radix-ui/react-icons';
|
8 | 11 | import React, { ReactElement } from 'react';
|
9 |
| -import { |
10 |
| - AiOutlineCreditCard, |
11 |
| - AiOutlineMail, |
12 |
| - AiOutlinePhone, |
13 |
| -} from 'react-icons/ai'; |
14 |
| -import { |
15 |
| - BiLogoPostgresql, |
16 |
| - BiSolidCity, |
17 |
| - BiTerminal, |
18 |
| - BiTimeFive, |
19 |
| -} from 'react-icons/bi'; |
20 |
| -import { |
21 |
| - BsCalendarDate, |
22 |
| - BsFillKeyFill, |
23 |
| - BsFunnel, |
24 |
| - BsGenderAmbiguous, |
25 |
| - BsPinMap, |
26 |
| - BsShieldCheck, |
27 |
| -} from 'react-icons/bs'; |
28 |
| -import { |
29 |
| - FaAws, |
30 |
| - FaDocker, |
31 |
| - FaRegAddressBook, |
32 |
| - FaStreetView, |
33 |
| -} from 'react-icons/fa'; |
34 |
| -import { GiTexas } from 'react-icons/gi'; |
35 |
| -import { GoCode, GoTable } from 'react-icons/go'; |
36 |
| -import { GrMysql, GrSecure } from 'react-icons/gr'; |
| 12 | +import { AiOutlineMail, AiOutlinePhone } from 'react-icons/ai'; |
| 13 | +import { BiLogInCircle, BiLogoPostgresql, BiTerminal } from 'react-icons/bi'; |
| 14 | +import { BsFunnel, BsShieldCheck } from 'react-icons/bs'; |
| 15 | +import { FaAws, FaDocker } from 'react-icons/fa'; |
| 16 | +import { GoCode, GoTable, GoVersions } from 'react-icons/go'; |
| 17 | +import { GrMysql } from 'react-icons/gr'; |
37 | 18 | import { IoBuildOutline } from 'react-icons/io5';
|
38 |
| -import { MdPassword } from 'react-icons/md'; |
| 19 | +import { MdPassword, MdStart } from 'react-icons/md'; |
39 | 20 | import { PiArrowsSplitLight, PiFlaskLight } from 'react-icons/pi';
|
40 |
| -import { |
41 |
| - RxAvatar, |
42 |
| - RxComponentBoolean, |
43 |
| - RxLetterCaseCapitalize, |
44 |
| -} from 'react-icons/rx'; |
45 | 21 | import { SiKubernetes } from 'react-icons/si';
|
46 |
| -import { TbDecimal, TbVariable } from 'react-icons/tb'; |
47 |
| -import { TiSortNumerically } from 'react-icons/ti'; |
| 22 | +import { TbVariable } from 'react-icons/tb'; |
48 | 23 |
|
49 | 24 | export function IconHandler(name: string): ReactElement {
|
50 | 25 | switch (name) {
|
@@ -86,48 +61,24 @@ export function IconHandler(name: string): ReactElement {
|
86 | 61 | return <PiFlaskLight />;
|
87 | 62 | case 'Subset Data':
|
88 | 63 | return <BsFunnel />;
|
89 |
| - case 'City': |
90 |
| - return <BiSolidCity />; |
91 |
| - case 'Card Number': |
92 |
| - return <AiOutlineCreditCard />; |
93 |
| - case 'First Name': |
94 |
| - return <RxAvatar />; |
95 |
| - case 'Full Name': |
96 |
| - return <RxAvatar />; |
97 |
| - case 'Last Name': |
98 |
| - return <RxAvatar />; |
99 |
| - case 'Full Address': |
100 |
| - return <FaRegAddressBook />; |
101 |
| - case 'Gender': |
102 |
| - return <BsGenderAmbiguous />; |
103 |
| - case 'Random Boolean': |
104 |
| - return <RxComponentBoolean />; |
105 |
| - case 'Random Float': |
106 |
| - return <TbDecimal />; |
107 |
| - case 'Random Integer': |
108 |
| - return <TiSortNumerically />; |
109 |
| - case 'Random String': |
110 |
| - return <RxLetterCaseCapitalize />; |
111 |
| - case 'State': |
112 |
| - return <GiTexas />; |
113 |
| - case 'Street Address': |
114 |
| - return <FaStreetView />; |
115 |
| - case 'Unix Timestamp': |
116 |
| - return <BiTimeFive />; |
117 |
| - case 'UTC Timestamp': |
118 |
| - return <BsCalendarDate />; |
119 |
| - case 'UUID': |
120 |
| - return <BsFillKeyFill />; |
121 |
| - case 'Zipcode': |
122 |
| - return <BsPinMap />; |
123 |
| - case 'Hash': |
124 |
| - return <GrSecure />; |
125 | 64 | case 'Neosync CLI':
|
126 | 65 | return <BiTerminal />;
|
127 | 66 | case 'Environment Variables':
|
128 | 67 | return <TbVariable />;
|
129 | 68 | case 'Reference':
|
130 | 69 | return <GoTable />;
|
| 70 | + case 'login': |
| 71 | + return <BiLogInCircle />; |
| 72 | + case 'whoami': |
| 73 | + return <AvatarIcon />; |
| 74 | + case 'jobs': |
| 75 | + return <StackIcon />; |
| 76 | + case 'list': |
| 77 | + return <ListBulletIcon />; |
| 78 | + case 'trigger': |
| 79 | + return <MdStart />; |
| 80 | + case 'version': |
| 81 | + return <GoVersions />; |
131 | 82 | default:
|
132 | 83 | return <LayersIcon />;
|
133 | 84 | }
|
|
0 commit comments