@seed-design/codemod 0.0.0-alpha-20241018093322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/bin/index.mjs +7 -0
- package/package.json +39 -0
- package/src/index.ts +34 -0
- package/src/scripts/create-identifier-map.mjs +41 -0
- package/src/scripts/data.tsv +198 -0
- package/src/scripts/identifier-map.json.log +578 -0
- package/src/transforms/migrate-icons.ts +80 -0
- package/src/transforms/tests/migrate-icons.test.ts +409 -0
- package/src/utils/identifier-map.ts +580 -0
- package/src/utils/log.ts +20 -0
- package/src/utils/replace-node.ts +147 -0
@@ -0,0 +1,580 @@
|
|
1
|
+
import type { MigrateIconsOptions } from "../transforms/migrate-icons.js";
|
2
|
+
|
3
|
+
export const identifierMapReact: MigrateIconsOptions["match"]["identifier"] = {
|
4
|
+
IconAddThin: "IconPlusLine",
|
5
|
+
IconAddRegular: "IconPlusLine",
|
6
|
+
IconAddFill: "IconPlusFill",
|
7
|
+
IconAddCircleThin: "IconPlusCircleLine",
|
8
|
+
IconAddCircleRegular: "IconPlusCircleLine",
|
9
|
+
IconAddCircleFill: "IconPlusCircleFill",
|
10
|
+
IconAebThin: "IconCarFrontUpsideWave2ReversedUpLine",
|
11
|
+
IconAebRegular: "IconCarFrontUpsideWave2ReversedUpLine",
|
12
|
+
IconAebFill: "IconCarFrontUpsideWave2ReversedUpFill",
|
13
|
+
IconAiThin: "IconSparkle2Line",
|
14
|
+
IconAiRegular: "IconSparkle2Line",
|
15
|
+
IconAiFill: "IconSparkle2Fill",
|
16
|
+
IconAndroidShareThin: "IconAndroidshareLine",
|
17
|
+
IconAndroidShareRegular: "IconAndroidshareLine",
|
18
|
+
IconAndroidShareFill: "IconAndroidshareFill",
|
19
|
+
IconArrowThin: "IconArrowUpRightLine",
|
20
|
+
IconArrowRegular: "IconArrowUpRightLine",
|
21
|
+
IconArrowFill: "IconArrowUpRightFill",
|
22
|
+
IconArrowDownwardThin: "IconArrowDownLine",
|
23
|
+
IconArrowDownwardRegular: "IconArrowDownLine",
|
24
|
+
IconArrowDownwardFill: "IconArrowDownFill",
|
25
|
+
IconArrowDropDownThin: "IconTriangleDownSmallLine",
|
26
|
+
IconArrowDropDownRegular: "IconTriangleDownSmallLine",
|
27
|
+
IconArrowDropDownFill: "IconTriangleDownSmallFill",
|
28
|
+
IconArrowDropUpThin: "IconTriangleUpSmallLine",
|
29
|
+
IconArrowDropUpRegular: "IconTriangleUpSmallLine",
|
30
|
+
IconArrowDropUpFill: "IconTriangleUpSmallFill",
|
31
|
+
IconArrowUpwardThin: "IconArrowUpLine",
|
32
|
+
IconArrowUpwardRegular: "IconArrowUpLine",
|
33
|
+
IconArrowUpwardFill: "IconArrowUpFill",
|
34
|
+
IconArticleThin: "IconArticleLine",
|
35
|
+
IconArticleRegular: "IconArticleLine",
|
36
|
+
IconArticleFill: "IconArticleFill",
|
37
|
+
IconBackwardThin: "IconArrowLeftLine",
|
38
|
+
IconBackwardRegular: "IconArrowLeftLine",
|
39
|
+
IconBackwardFill: "IconArrowLeftFill",
|
40
|
+
IconBillThin: "IconReceiptLine",
|
41
|
+
IconBillRegular: "IconReceiptLine",
|
42
|
+
IconBillFill: "IconReceiptFill",
|
43
|
+
IconBookmarkThin: "IconBookmarkLine",
|
44
|
+
IconBookmarkRegular: "IconBookmarkLine",
|
45
|
+
IconBookmarkFill: "IconBookmarkFill",
|
46
|
+
IconBookmarkListThin: "IconHorizline3VerticalStarLine",
|
47
|
+
IconBookmarkListRegular: "IconHorizline3VerticalStarLine",
|
48
|
+
IconBookmarkListFill: "IconHorizline3VerticalStarFill",
|
49
|
+
IconCalendarThin: "IconCalendarLine",
|
50
|
+
IconCalendarRegular: "IconCalendarLine",
|
51
|
+
IconCalendarFill: "IconCalendarFill",
|
52
|
+
IconCallThin: "IconPhoneLine",
|
53
|
+
IconCallRegular: "IconPhoneLine",
|
54
|
+
IconCallFill: "IconPhoneFill",
|
55
|
+
IconCallDeclinedThin: "IconPhoneXmarkLine",
|
56
|
+
IconCallDeclinedRegular: "IconPhoneXmarkLine",
|
57
|
+
IconCallDeclinedFill: "IconPhoneXmarkFill",
|
58
|
+
IconCameraThin: "IconCameraLine",
|
59
|
+
IconCameraRegular: "IconCameraLine",
|
60
|
+
IconCameraFill: "IconCameraFill",
|
61
|
+
IconCarThin: "IconCarFrontsideLine",
|
62
|
+
IconCarRegular: "IconCarFrontsideLine",
|
63
|
+
IconCarFill: "IconCarFrontsideFill",
|
64
|
+
IconCarAroundViewThin: "IconArrowClockwiseOvalLine",
|
65
|
+
IconCarAroundViewRegular: "IconArrowClockwiseOvalLine",
|
66
|
+
IconCarAroundViewFill: "IconArrowClockwiseOvalFill",
|
67
|
+
IconCarBlindSpotThin: "IconCarRearUpsideWave2ReversedDownLeftLine",
|
68
|
+
IconCarBlindSpotRegular: "IconCarRearUpsideWave2ReversedDownLeftLine",
|
69
|
+
IconCarBlindSpotFill: "IconCarRearUpsideWave2ReversedDownLeftFill",
|
70
|
+
IconCarCruiseControlThin: "IconSpeedometerLine",
|
71
|
+
IconCarCruiseControlRegular: "IconSpeedometerLine",
|
72
|
+
IconCarCruiseControlFill: "IconSpeedometerFill",
|
73
|
+
IconCarEpbThin: "IconEpbLine",
|
74
|
+
IconCarEpbRegular: "IconEpbLine",
|
75
|
+
IconCarEpbFill: "IconEpbFill",
|
76
|
+
IconCarHeatedSeatThin: "IconSeatLeftHeatwave2Line",
|
77
|
+
IconCarHeatedSeatRegular: "IconSeatLeftHeatwave2Line",
|
78
|
+
IconCarHeatedSeatFill: "IconSeatLeftHeatwave2Fill",
|
79
|
+
IconCarHeatedSteeringWheelThin: "IconSteeringwheelHeatwave2Line",
|
80
|
+
IconCarHeatedSteeringWheelRegular: "IconSteeringwheelHeatwave2Line",
|
81
|
+
IconCarHeatedSteeringWheelFill: "IconSteeringwheelHeatwave2Fill",
|
82
|
+
IconCarLdwsThin: "IconRoadlaneLine",
|
83
|
+
IconCarLdwsRegular: "IconRoadlaneLine",
|
84
|
+
IconCarLdwsFill: "IconRoadlaneFill",
|
85
|
+
IconCarLeatherSeatThin: "IconSeatLeftLine",
|
86
|
+
IconCarLeatherSeatRegular: "IconSeatLeftLine",
|
87
|
+
IconCarLeatherSeatFill: "IconSeatLeftFill",
|
88
|
+
IconCarNavigationThin: "IconCompassLine",
|
89
|
+
IconCarNavigationRegular: "IconCompassLine",
|
90
|
+
IconCarNavigationFill: "IconCompassFill",
|
91
|
+
IconCarPowerTrunkThin: "IconCarRearTrunkOpenLeftsideLine",
|
92
|
+
IconCarPowerTrunkRegular: "IconCarRearTrunkOpenLeftsideLine",
|
93
|
+
IconCarPowerTrunkFill: "IconCarRearTrunkOpenLeftsideFill",
|
94
|
+
IconCarRearCameraThin: "IconCarRearUpsideSectorDownLine",
|
95
|
+
IconCarRearCameraRegular: "IconCarRearUpsideSectorDownLine",
|
96
|
+
IconCarRearCameraFill: "IconCarRearUpsideSectorDownFill",
|
97
|
+
IconCarRearSensorThin: "IconCarRearUpsideWave2ReversedDownLine",
|
98
|
+
IconCarRearSensorRegular: "IconCarRearUpsideWave2ReversedDownLine",
|
99
|
+
IconCarRearSensorFill: "IconCarRearUpsideWave2ReversedDownFill",
|
100
|
+
IconCarSmartKeyThin: "IconSmartkeyLine",
|
101
|
+
IconCarSmartKeyRegular: "IconSmartkeyLine",
|
102
|
+
IconCarSmartKeyFill: "IconSmartkeyFill",
|
103
|
+
IconCarVentilationSeatThin: "IconSeatLeftFanLine",
|
104
|
+
IconCarVentilationSeatRegular: "IconSeatLeftFanLine",
|
105
|
+
IconCarVentilationSeatFill: "IconSeatLeftFanFill",
|
106
|
+
IconCartThin: "IconCartLine",
|
107
|
+
IconCartRegular: "IconCartLine",
|
108
|
+
IconCartFill: "IconCartFill",
|
109
|
+
IconCertificationThin: "IconCrosshairLine",
|
110
|
+
IconCertificationRegular: "IconCrosshairLine",
|
111
|
+
IconCertificationFill: "IconCrosshairFill",
|
112
|
+
IconChallengeThin: "IconFlagHillLine",
|
113
|
+
IconChallengeRegular: "IconFlagHillLine",
|
114
|
+
IconChallengeFill: "IconFlagHillFill",
|
115
|
+
IconChartThin: "IconBarchartSquareLine",
|
116
|
+
IconChartRegular: "IconBarchartSquareLine",
|
117
|
+
IconChartFill: "IconBarchartSquareFill",
|
118
|
+
IconChatBubbleCheckThin: "IconCheckmarkChatbubbleLeftLine",
|
119
|
+
IconChatBubbleCheckRegular: "IconCheckmarkChatbubbleLeftLine",
|
120
|
+
IconChatBubbleCheckFill: "IconCheckmarkChatbubbleLeftFill",
|
121
|
+
IconChattingThin: "IconDot3HorizontalChatbubbleLeftLine",
|
122
|
+
IconChattingRegular: "IconDot3HorizontalChatbubbleLeftLine",
|
123
|
+
IconChattingFill: "IconDot3HorizontalChatbubbleLeftFill",
|
124
|
+
IconChattingSendThin: "IconPaperplaneLine",
|
125
|
+
IconChattingSendRegular: "IconPaperplaneLine",
|
126
|
+
IconChattingSendFill: "IconPaperplaneFill",
|
127
|
+
IconCheckThin: "IconCheckmarkLine",
|
128
|
+
IconCheckRegular: "IconCheckmarkLine",
|
129
|
+
IconCheckFill: "IconCheckmarkFill",
|
130
|
+
IconCheckFlowerThin: "IconCheckmarkFlowerLine",
|
131
|
+
IconCheckFlowerRegular: "IconCheckmarkFlowerLine",
|
132
|
+
IconCheckFlowerFill: "IconCheckmarkFlowerFill",
|
133
|
+
IconChevronLeftThin: "IconChevronLeftLine",
|
134
|
+
IconChevronLeftRegular: "IconChevronLeftLine",
|
135
|
+
IconChevronLeftFill: "IconChevronLeftFill",
|
136
|
+
IconChevronRightThin: "IconChevronRightLine",
|
137
|
+
IconChevronRightRegular: "IconChevronRightLine",
|
138
|
+
IconChevronRightFill: "IconChevronRightFill",
|
139
|
+
IconClickThin: "IconHandPointUpLine",
|
140
|
+
IconClickRegular: "IconHandPointUpLine",
|
141
|
+
IconClickFill: "IconHandPointUpFill",
|
142
|
+
IconClockThin: "IconClockLine",
|
143
|
+
IconClockRegular: "IconClockLine",
|
144
|
+
IconClockFill: "IconClockFill",
|
145
|
+
IconCloseThin: "IconXmarkLine",
|
146
|
+
IconCloseRegular: "IconXmarkLine",
|
147
|
+
IconCloseFill: "IconXmarkFill",
|
148
|
+
IconCommunityThin: "IconPostLine",
|
149
|
+
IconCommunityRegular: "IconPostLine",
|
150
|
+
IconCommunityFill: "IconPostFill",
|
151
|
+
IconCondoThin: "IconBuilding2Line",
|
152
|
+
IconCondoRegular: "IconBuilding2Line",
|
153
|
+
IconCondoFill: "IconBuilding2Fill",
|
154
|
+
IconConfirmationThin: "IconCheckShieldLine",
|
155
|
+
IconConfirmationRegular: "IconCheckShieldLine",
|
156
|
+
IconConfirmationFill: "IconCheckShieldFill",
|
157
|
+
IconConfirmationPayThin: "IconWonShieldLine",
|
158
|
+
IconConfirmationPayRegular: "IconWonShieldLine",
|
159
|
+
IconConfirmationPayFill: "IconWonShieldFill",
|
160
|
+
IconConfirmationProfileThin: "IconPersonShieldLine",
|
161
|
+
IconConfirmationProfileRegular: "IconPersonShieldLine",
|
162
|
+
IconConfirmationProfileFill: "IconPersonShieldFill",
|
163
|
+
IconContentsThin: "IconGridHeartLine",
|
164
|
+
IconContentsRegular: "IconGridHeartLine",
|
165
|
+
IconContentsFill: "IconGridHeartFill",
|
166
|
+
IconConvertThin: "IconArrowRightArrowLeftLine",
|
167
|
+
IconConvertRegular: "IconArrowRightArrowLeftLine",
|
168
|
+
IconConvertFill: "IconArrowRightArrowLeftFill",
|
169
|
+
IconCopyThin: "IconSquare2StackedLine",
|
170
|
+
IconCopyRegular: "IconSquare2StackedLine",
|
171
|
+
IconCopyFill: "IconSquare2StackedFill",
|
172
|
+
IconCouponThin: "IconCouponLine",
|
173
|
+
IconCouponRegular: "IconCouponLine",
|
174
|
+
IconCouponFill: "IconCouponFill",
|
175
|
+
IconCouponDownloadDoneThin: "IconCheckmarkHorizlineLine",
|
176
|
+
IconCouponDownloadDoneRegular: "IconCheckmarkHorizlineLine",
|
177
|
+
IconCouponDownloadDoneFill: "IconCheckmarkHorizlineFill",
|
178
|
+
IconCouponUsedThin: "IconCheckCouponLine",
|
179
|
+
IconCouponUsedRegular: "IconCheckCouponLine",
|
180
|
+
IconCouponUsedFill: "IconCheckCouponFill",
|
181
|
+
IconDeleteKeyboardThin: "IconBackspacekeyLine",
|
182
|
+
IconDeleteKeyboardRegular: "IconBackspacekeyLine",
|
183
|
+
IconDeleteKeyboardFill: "IconBackspacekeyFill",
|
184
|
+
IconDirectionThin: "IconArrowRightAngledLine",
|
185
|
+
IconDirectionRegular: "IconArrowRightAngledLine",
|
186
|
+
IconDirectionFill: "IconArrowRightAngledFill",
|
187
|
+
IconDownloadThin: "IconArrowDownHorizlineLine",
|
188
|
+
IconDownloadRegular: "IconArrowDownHorizlineLine",
|
189
|
+
IconDownloadFill: "IconArrowDownHorizlineFill",
|
190
|
+
IconEditThin: "IconEraserHorizlineLine",
|
191
|
+
IconEditRegular: "IconEraserHorizlineLine",
|
192
|
+
IconEditFill: "IconEraserHorizlineFill",
|
193
|
+
IconEmoticonThin: "IconFaceSmileCircleLine",
|
194
|
+
IconEmoticonRegular: "IconFaceSmileCircleLine",
|
195
|
+
IconEmoticonFill: "IconFaceSmileCircleFill",
|
196
|
+
IconEmoticonBadThin: "IconFaceSadCircleLine",
|
197
|
+
IconEmoticonBadRegular: "IconFaceSadCircleLine",
|
198
|
+
IconEmoticonBadFill: "IconFaceSadCircleFill",
|
199
|
+
IconExpandThin: "IconArrowUpRightArrowDownLeftLine",
|
200
|
+
IconExpandRegular: "IconArrowUpRightArrowDownLeftLine",
|
201
|
+
IconExpandFill: "IconArrowUpRightArrowDownLeftFill",
|
202
|
+
IconExpandLessThin: "IconChevronUpLine",
|
203
|
+
IconExpandLessRegular: "IconChevronUpLine",
|
204
|
+
IconExpandLessFill: "IconChevronUpFill",
|
205
|
+
IconExpandMoreThin: "IconChevronDownLine",
|
206
|
+
IconExpandMoreRegular: "IconChevronDownLine",
|
207
|
+
IconExpandMoreFill: "IconChevronDownFill",
|
208
|
+
IconFileThin: "IconPaperclipLine",
|
209
|
+
IconFileRegular: "IconPaperclipLine",
|
210
|
+
IconFileFill: "IconPaperclipFill",
|
211
|
+
IconFilter02Thin: "IconSlider2HorizontalLine",
|
212
|
+
IconFilter02Regular: "IconSlider2HorizontalLine",
|
213
|
+
IconFilter02Fill: "IconSlider2HorizontalFill",
|
214
|
+
IconForwardThin: "IconArrowRightLine",
|
215
|
+
IconForwardRegular: "IconArrowRightLine",
|
216
|
+
IconForwardFill: "IconArrowRightFill",
|
217
|
+
IconGenderThin: "IconMalesymbolFemalesymbolLine",
|
218
|
+
IconGenderRegular: "IconMalesymbolFemalesymbolLine",
|
219
|
+
IconGenderFill: "IconMalesymbolFemalesymbolFill",
|
220
|
+
IconGlobalThin: "IconGlobeLine",
|
221
|
+
IconGlobalRegular: "IconGlobeLine",
|
222
|
+
IconGlobalFill: "IconGlobeFill",
|
223
|
+
IconGpsThin: "IconCrosshairLine",
|
224
|
+
IconGpsRegular: "IconCrosshairLine",
|
225
|
+
IconGpsFill: "IconCrosshairFill",
|
226
|
+
IconGpsEnableThin: "IconCrosshairQuestionmarkLine",
|
227
|
+
IconGpsEnableRegular: "IconCrosshairQuestionmarkLine",
|
228
|
+
IconGpsEnableFill: "IconCrosshairQuestionmarkFill",
|
229
|
+
IconGpsEnable2Thin: "IconCrosshairQuestionmarkLine",
|
230
|
+
IconGpsEnable2Regular: "IconCrosshairQuestionmarkLine",
|
231
|
+
IconGpsEnable2Fill: "IconCrosshairQuestionmarkFill",
|
232
|
+
IconGroupchatKingThin: "IconCrownLine",
|
233
|
+
IconGroupchatKingRegular: "IconCrownLine",
|
234
|
+
IconGroupchatKingFill: "IconCrownFill",
|
235
|
+
IconHandleThin: "IconHorizline3VerticalTightLine",
|
236
|
+
IconHandleRegular: "IconHorizline3VerticalTightLine",
|
237
|
+
IconHandleFill: "IconHorizline3VerticalTightFill",
|
238
|
+
IconHashtagThin: "IconHashLine",
|
239
|
+
IconHashtagRegular: "IconHashLine",
|
240
|
+
IconHashtagFill: "IconHashFill",
|
241
|
+
IconHeadphoneThin: "IconHeadsetLine",
|
242
|
+
IconHeadphoneRegular: "IconHeadsetLine",
|
243
|
+
IconHeadphoneFill: "IconHeadsetFill",
|
244
|
+
IconHeartThin: "IconHeartLine",
|
245
|
+
IconHeartRegular: "IconHeartLine",
|
246
|
+
IconHeartFill: "IconHeartFill",
|
247
|
+
IconHelpThin: "IconQuestionmarkCircleLine",
|
248
|
+
IconHelpRegular: "IconQuestionmarkCircleLine",
|
249
|
+
IconHelpFill: "IconQuestionmarkCircleFill",
|
250
|
+
IconHelpcenterThin: "IconHeadsetLine",
|
251
|
+
IconHelpcenterRegular: "IconHeadsetLine",
|
252
|
+
IconHelpcenterFill: "IconHeadsetFill",
|
253
|
+
IconHelperThin: "IconHeadsetLine",
|
254
|
+
IconHelperRegular: "IconHeadsetLine",
|
255
|
+
IconHelperFill: "IconHeadsetFill",
|
256
|
+
IconHomeThin: "IconHouseLine",
|
257
|
+
IconHomeRegular: "IconHouseLine",
|
258
|
+
IconHomeFill: "IconHouseFill",
|
259
|
+
IconHouseThin: "IconWindow4HouseLine",
|
260
|
+
IconHouseRegular: "IconWindow4HouseLine",
|
261
|
+
IconHouseFill: "IconWindow4HouseFill",
|
262
|
+
IconHousekeepingBookThin: "IconBookLine",
|
263
|
+
IconHousekeepingBookRegular: "IconBookLine",
|
264
|
+
IconHousekeepingBookFill: "IconBookFill",
|
265
|
+
IconImportThin: "IconDocumentArrowLeftLine",
|
266
|
+
IconImportRegular: "IconDocumentArrowLeftLine",
|
267
|
+
IconImportFill: "IconDocumentArrowLeftFill",
|
268
|
+
IconInfoThin: "IconILowercaseSerifCircleLine",
|
269
|
+
IconInfoRegular: "IconILowercaseSerifCircleLine",
|
270
|
+
IconInfoFill: "IconILowercaseSerifCircleFill",
|
271
|
+
IconInterestThin: "IconHorizline3VerticalStarLine",
|
272
|
+
IconInterestRegular: "IconHorizline3VerticalStarLine",
|
273
|
+
IconInterestFill: "IconHorizline3VerticalStarFill",
|
274
|
+
IconInterestListThin: "IconStarLine",
|
275
|
+
IconInterestListRegular: "IconStarLine",
|
276
|
+
IconInterestListFill: "IconStarFill",
|
277
|
+
IconInviteThin: "IconEnvelopeLine",
|
278
|
+
IconInviteRegular: "IconEnvelopeLine",
|
279
|
+
IconInviteFill: "IconEnvelopeFill",
|
280
|
+
IconInviteFriendThin: "IconPersonPlusLine",
|
281
|
+
IconInviteFriendRegular: "IconPersonPlusLine",
|
282
|
+
IconInviteFriendFill: "IconPersonPlusFill",
|
283
|
+
IconIosShareThin: "IconArrowUpBracketDownLine",
|
284
|
+
IconIosShareRegular: "IconArrowUpBracketDownLine",
|
285
|
+
IconIosShareFill: "IconArrowUpBracketDownFill",
|
286
|
+
IconJobsThin: "IconPersonMagnifyingglassLine",
|
287
|
+
IconJobsRegular: "IconPersonMagnifyingglassLine",
|
288
|
+
IconJobsFill: "IconPersonMagnifyingglassFill",
|
289
|
+
IconKeyboardHidingThin: "IconKeyboardChevronDownLine",
|
290
|
+
IconKeyboardHidingRegular: "IconKeyboardChevronDownLine",
|
291
|
+
IconKeyboardHidingFill: "IconKeyboardChevronDownFill",
|
292
|
+
IconKeywordThin: "IconTagLine",
|
293
|
+
IconKeywordRegular: "IconTagLine",
|
294
|
+
IconKeywordFill: "IconTagFill",
|
295
|
+
IconLaptopThin: "IconLaptopLine",
|
296
|
+
IconLaptopRegular: "IconLaptopLine",
|
297
|
+
IconLaptopFill: "IconLaptopFill",
|
298
|
+
IconLeafThin: "IconLeafLine",
|
299
|
+
IconLeafRegular: "IconLeafLine",
|
300
|
+
IconLeafFill: "IconLeafFill",
|
301
|
+
IconListThin: "IconDothorizline3VerticalLine",
|
302
|
+
IconListRegular: "IconDothorizline3VerticalLine",
|
303
|
+
IconListFill: "IconDothorizline3VerticalFill",
|
304
|
+
IconListCardThin: "IconHorizrectangleHorizline2VerticalLine",
|
305
|
+
IconListCardRegular: "IconHorizrectangleHorizline2VerticalLine",
|
306
|
+
IconListCardFill: "IconHorizrectangleHorizline2VerticalFill",
|
307
|
+
IconListCheckThin: "IconDocumentCheckmarkLine",
|
308
|
+
IconListCheckRegular: "IconDocumentCheckmarkLine",
|
309
|
+
IconListCheckFill: "IconDocumentCheckmarkFill",
|
310
|
+
IconListSelectThin: "IconHorizline3VerticalCheckmarkLine",
|
311
|
+
IconListSelectRegular: "IconHorizline3VerticalCheckmarkLine",
|
312
|
+
IconListSelectFill: "IconHorizline3VerticalCheckmarkFill",
|
313
|
+
IconListThumbnailThin: "IconSquareline2VerticalLine",
|
314
|
+
IconListThumbnailRegular: "IconSquareline2VerticalLine",
|
315
|
+
IconListThumbnailFill: "IconSquareline2VerticalFill",
|
316
|
+
IconLocationThin: "IconLocationpinLine",
|
317
|
+
IconLocationRegular: "IconLocationpinLine",
|
318
|
+
IconLocationFill: "IconLocationpinFill",
|
319
|
+
IconLockThin: "IconLockLine",
|
320
|
+
IconLockRegular: "IconLockLine",
|
321
|
+
IconLockFill: "IconLockFill",
|
322
|
+
IconLoudspeakerThin: "IconMegaphoneLine",
|
323
|
+
IconLoudspeakerRegular: "IconMegaphoneLine",
|
324
|
+
IconLoudspeakerFill: "IconMegaphoneFill",
|
325
|
+
IconMapThin: "IconMapLocationpinLine",
|
326
|
+
IconMapRegular: "IconMapLocationpinLine",
|
327
|
+
IconMapFill: "IconMapLocationpinFill",
|
328
|
+
IconMarketThin: "IconStoreLine",
|
329
|
+
IconMarketRegular: "IconStoreLine",
|
330
|
+
IconMarketFill: "IconStoreFill",
|
331
|
+
IconMarketCheckThin: "IconStoreCheckLine",
|
332
|
+
IconMarketCheckRegular: "IconStoreCheckLine",
|
333
|
+
IconMarketCheckFill: "IconStoreCheckFill",
|
334
|
+
IconMarketWriteThin: "IconStorePenLine",
|
335
|
+
IconMarketWriteRegular: "IconStorePenLine",
|
336
|
+
IconMarketWriteFill: "IconStorePenFill",
|
337
|
+
IconMentionThin: "IconAtLine",
|
338
|
+
IconMentionRegular: "IconAtLine",
|
339
|
+
IconMentionFill: "IconAtFill",
|
340
|
+
IconMenuThin: "IconHorizline3VerticalLine",
|
341
|
+
IconMenuRegular: "IconHorizline3VerticalLine",
|
342
|
+
IconMenuFill: "IconHorizline3VerticalFill",
|
343
|
+
IconMicThin: "IconMicrophoneLine",
|
344
|
+
IconMicRegular: "IconMicrophoneLine",
|
345
|
+
IconMicFill: "IconMicrophoneFill",
|
346
|
+
IconMicOffThin: "IconMicrophoneSlashLine",
|
347
|
+
IconMicOffRegular: "IconMicrophoneSlashLine",
|
348
|
+
IconMicOffFill: "IconMicrophoneSlashFill",
|
349
|
+
IconMissionThin: "IconBookOpenLine",
|
350
|
+
IconMissionRegular: "IconBookOpenLine",
|
351
|
+
IconMissionFill: "IconBookOpenFill",
|
352
|
+
IconMobileThin: "IconMobileLine",
|
353
|
+
IconMobileRegular: "IconMobileLine",
|
354
|
+
IconMobileFill: "IconMobileFill",
|
355
|
+
IconMoneySendThin: "IconWonCircleArrowRightLine",
|
356
|
+
IconMoneySendRegular: "IconWonCircleArrowRightLine",
|
357
|
+
IconMoneySendFill: "IconWonCircleArrowRightFill",
|
358
|
+
IconMoneyWonThin: "IconWonCircleLine",
|
359
|
+
IconMoneyWonRegular: "IconWonCircleLine",
|
360
|
+
IconMoneyWonFill: "IconWonCircleFill",
|
361
|
+
IconMoonThin: "IconMoonLine",
|
362
|
+
IconMoonRegular: "IconMoonLine",
|
363
|
+
IconMoonFill: "IconMoonFill",
|
364
|
+
IconMoreHorizThin: "IconDot3HorizontalLine",
|
365
|
+
IconMoreHorizRegular: "IconDot3HorizontalLine",
|
366
|
+
IconMoreHorizFill: "IconDot3HorizontalFill",
|
367
|
+
IconMoreVertThin: "IconDot3VerticalLine",
|
368
|
+
IconMoreVertRegular: "IconDot3VerticalLine",
|
369
|
+
IconMoreVertFill: "IconDot3VerticalFill",
|
370
|
+
IconMyThin: "IconPersonLine",
|
371
|
+
IconMyRegular: "IconPersonLine",
|
372
|
+
IconMyFill: "IconPersonFill",
|
373
|
+
IconMyProfileThin: "IconPersonCircleLine",
|
374
|
+
IconMyProfileRegular: "IconPersonCircleLine",
|
375
|
+
IconMyProfileFill: "IconPersonCircleFill",
|
376
|
+
IconNearMeThin: "IconLocationpinLine",
|
377
|
+
IconNearMeRegular: "IconLocationpinLine",
|
378
|
+
IconNearMeFill: "IconLocationpinFill",
|
379
|
+
IconNewtopicThin: "IconNUppercaseCircleLine",
|
380
|
+
IconNewtopicRegular: "IconNUppercaseCircleLine",
|
381
|
+
IconNewtopicFill: "IconNUppercaseCircleFill",
|
382
|
+
IconNoteThin: "IconDocumentLine",
|
383
|
+
IconNoteRegular: "IconDocumentLine",
|
384
|
+
IconNoteFill: "IconDocumentFill",
|
385
|
+
IconNotificationThin: "IconBellLine",
|
386
|
+
IconNotificationRegular: "IconBellLine",
|
387
|
+
IconNotificationFill: "IconBellFill",
|
388
|
+
IconNotificationFallThin: "IconArrowDownLine",
|
389
|
+
IconNotificationFallRegular: "IconArrowDownLine",
|
390
|
+
IconNotificationFallFill: "IconArrowDownFill",
|
391
|
+
IconNotificationOffThin: "IconBellSlashLine",
|
392
|
+
IconNotificationOffRegular: "IconBellSlashLine",
|
393
|
+
IconNotificationOffFill: "IconBellSlashFill",
|
394
|
+
IconOrderThin: "IconCheckClipboardLine",
|
395
|
+
IconOrderRegular: "IconCheckClipboardLine",
|
396
|
+
IconOrderFill: "IconCheckClipboardFill",
|
397
|
+
IconPauseThin: "IconVertrectangle2HorizontalLine",
|
398
|
+
IconPauseRegular: "IconVertrectangle2HorizontalLine",
|
399
|
+
IconPauseFill: "IconVertrectangle2HorizontalFill",
|
400
|
+
IconPaymentThin: "IconCardLine",
|
401
|
+
IconPaymentRegular: "IconCardLine",
|
402
|
+
IconPaymentFill: "IconCardFill",
|
403
|
+
IconPercentThin: "IconPercentLine",
|
404
|
+
IconPercentRegular: "IconPercentLine",
|
405
|
+
IconPercentFill: "IconPercentFill",
|
406
|
+
IconPhotoThin: "IconPictureLine",
|
407
|
+
IconPhotoRegular: "IconPictureLine",
|
408
|
+
IconPhotoFill: "IconPictureFill",
|
409
|
+
IconPhotoEditThin: "IconWandLine",
|
410
|
+
IconPhotoEditRegular: "IconWandLine",
|
411
|
+
IconPhotoEditFill: "IconWandFill",
|
412
|
+
IconPhotoEditCropThin: "IconCropmarkLine",
|
413
|
+
IconPhotoEditCropRegular: "IconCropmarkLine",
|
414
|
+
IconPhotoEditCropFill: "IconCropmarkFill",
|
415
|
+
IconPhotoEditDrawThin: "IconScribbleLine",
|
416
|
+
IconPhotoEditDrawRegular: "IconScribbleLine",
|
417
|
+
IconPhotoEditDrawFill: "IconScribbleFill",
|
418
|
+
IconPhotoEditRotateThin: "IconArrow2ClockwiseCircularLine",
|
419
|
+
IconPhotoEditRotateRegular: "IconArrow2ClockwiseCircularLine",
|
420
|
+
IconPhotoEditRotateFill: "IconArrow2ClockwiseCircularFill",
|
421
|
+
IconPhotoSeveralThin: "IconPicture2StackedLine",
|
422
|
+
IconPhotoSeveralRegular: "IconPicture2StackedLine",
|
423
|
+
IconPhotoSeveralFill: "IconPicture2StackedFill",
|
424
|
+
IconPlayThin: "IconTriangleRightLine",
|
425
|
+
IconPlayRegular: "IconTriangleRightLine",
|
426
|
+
IconPlayFill: "IconTriangleRightFill",
|
427
|
+
IconPollThin: "IconBarchartSquareLine",
|
428
|
+
IconPollRegular: "IconBarchartSquareLine",
|
429
|
+
IconPollFill: "IconBarchartSquareFill",
|
430
|
+
IconPriceWonThin: "IconWonLine",
|
431
|
+
IconPriceWonRegular: "IconWonLine",
|
432
|
+
IconPriceWonFill: "IconWonFill",
|
433
|
+
IconProductThin: "IconShoppingbagLine",
|
434
|
+
IconProductRegular: "IconShoppingbagLine",
|
435
|
+
IconProductFill: "IconShoppingbagFill",
|
436
|
+
IconProfileThin: "IconPersonLine",
|
437
|
+
IconProfileRegular: "IconPersonLine",
|
438
|
+
IconProfileFill: "IconPersonFill",
|
439
|
+
IconProfileBadgeThin: "IconCheckmarkBadgeLine",
|
440
|
+
IconProfileBadgeRegular: "IconCheckmarkBadgeLine",
|
441
|
+
IconProfileBadgeFill: "IconCheckmarkBadgeFill",
|
442
|
+
IconProhibitionThin: "IconSlashCircleLine",
|
443
|
+
IconProhibitionRegular: "IconSlashCircleLine",
|
444
|
+
IconProhibitionFill: "IconSlashCircleFill",
|
445
|
+
IconPushpinThin: "IconPushpinLine",
|
446
|
+
IconPushpinRegular: "IconPushpinLine",
|
447
|
+
IconPushpinFill: "IconPushpinFill",
|
448
|
+
IconQuestionCheckThin: "IconQuestionmarkSqaureLine",
|
449
|
+
IconQuestionCheckRegular: "IconQuestionmarkSqaureLine",
|
450
|
+
IconQuestionCheckFill: "IconQuestionmarkSqaureFill",
|
451
|
+
IconRedoThin: "IconArrowUturnRightLine",
|
452
|
+
IconRedoRegular: "IconArrowUturnRightLine",
|
453
|
+
IconRedoFill: "IconArrowUturnRightFill",
|
454
|
+
IconRefundThin: "IconWonArrowClockwiseCircularLine",
|
455
|
+
IconRefundRegular: "IconWonArrowClockwiseCircularLine",
|
456
|
+
IconRefundFill: "IconWonArrowClockwiseCircularFill",
|
457
|
+
IconRemoveCircleThin: "IconXmarkCircleLine",
|
458
|
+
IconRemoveCircleRegular: "IconXmarkCircleLine",
|
459
|
+
IconRemoveCircleFill: "IconXmarkCircleFill",
|
460
|
+
IconReplyThin: "IconHorizline2VerticalChatbubbleRightLine",
|
461
|
+
IconReplyRegular: "IconHorizline2VerticalChatbubbleRightLine",
|
462
|
+
IconReplyFill: "IconHorizline2VerticalChatbubbleRightFill",
|
463
|
+
IconReplyReThin: "IconCornerDownLeftLine",
|
464
|
+
IconReplyReRegular: "IconCornerDownLeftLine",
|
465
|
+
IconReplyReFill: "IconCornerDownLeftFill",
|
466
|
+
IconReportThin: "IconFlagLine",
|
467
|
+
IconReportRegular: "IconFlagLine",
|
468
|
+
IconReportFill: "IconFlagFill",
|
469
|
+
IconReservationThin: "IconCheckCalendarLine",
|
470
|
+
IconReservationRegular: "IconCheckCalendarLine",
|
471
|
+
IconReservationFill: "IconCheckCalendarFill",
|
472
|
+
IconRestaurantThin: "IconForkSpoonLine",
|
473
|
+
IconRestaurantRegular: "IconForkSpoonLine",
|
474
|
+
IconRestaurantFill: "IconForkSpoonFill",
|
475
|
+
IconRetryThin: "IconArrowClockwiseCircularLine",
|
476
|
+
IconRetryRegular: "IconArrowClockwiseCircularLine",
|
477
|
+
IconRetryFill: "IconArrowClockwiseCircularFill",
|
478
|
+
IconReviewStarThin: "IconStarLine",
|
479
|
+
IconReviewStarRegular: "IconStarLine",
|
480
|
+
IconReviewStarFill: "IconStarFill",
|
481
|
+
IconScannerThin: "IconHorizelineViewfinderLine",
|
482
|
+
IconScannerRegular: "IconHorizelineViewfinderLine",
|
483
|
+
IconScannerFill: "IconHorizelineViewfinderFill",
|
484
|
+
IconSearchThin: "IconMagnifyingglassLine",
|
485
|
+
IconSearchRegular: "IconMagnifyingglassLine",
|
486
|
+
IconSearchFill: "IconMagnifyingglassFill",
|
487
|
+
IconSearchDocThin: "IconDocumentMagnifyingglassLine",
|
488
|
+
IconSearchDocRegular: "IconDocumentMagnifyingglassLine",
|
489
|
+
IconSearchDocFill: "IconDocumentMagnifyingglassFill",
|
490
|
+
IconSellThin: "IconPlusSquareLine",
|
491
|
+
IconSellRegular: "IconPlusSquareLine",
|
492
|
+
IconSellFill: "IconPlusSquareFill",
|
493
|
+
IconSettingThin: "IconGearLine",
|
494
|
+
IconSettingRegular: "IconGearLine",
|
495
|
+
IconSettingFill: "IconGearFill",
|
496
|
+
IconSignoutThin: "IconBracketLeftArrowRightLine",
|
497
|
+
IconSignoutRegular: "IconBracketLeftArrowRightLine",
|
498
|
+
IconSignoutFill: "IconBracketLeftArrowRightFill",
|
499
|
+
IconSortThin: "IconArrowUpArrowDownLine",
|
500
|
+
IconSortRegular: "IconArrowUpArrowDownLine",
|
501
|
+
IconSortFill: "IconArrowUpArrowDownFill",
|
502
|
+
IconStoryThin: "IconTriangleRightChatbubbleLeftLine",
|
503
|
+
IconStoryRegular: "IconTriangleRightChatbubbleLeftLine",
|
504
|
+
IconStoryFill: "IconTriangleRightChatbubbleLeftFill",
|
505
|
+
IconStoryArticleThin: "IconDocumentPenLine",
|
506
|
+
IconStoryArticleRegular: "IconDocumentPenLine",
|
507
|
+
IconStoryArticleFill: "IconDocumentPenFill",
|
508
|
+
IconSubtractCircleThin: "IconMinusCircleLine",
|
509
|
+
IconSubtractCircleRegular: "IconMinusCircleLine",
|
510
|
+
IconSubtractCircleFill: "IconMinusCircleFill",
|
511
|
+
IconSubtractionThin: "IconMinusLine",
|
512
|
+
IconSubtractionRegular: "IconMinusLine",
|
513
|
+
IconSubtractionFill: "IconMinusFill",
|
514
|
+
IconSunThin: "IconSunLine",
|
515
|
+
IconSunRegular: "IconSunLine",
|
516
|
+
IconSunFill: "IconSunFill",
|
517
|
+
IconTalkingdownThin: "IconQuotationmark2RightLine",
|
518
|
+
IconTalkingdownRegular: "IconQuotationmark2RightLine",
|
519
|
+
IconTalkingdownFill: "IconQuotationmark2RightFill",
|
520
|
+
IconTalkingupThin: "IconQuotationmark2LeftLine",
|
521
|
+
IconTalkingupRegular: "IconQuotationmark2LeftLine",
|
522
|
+
IconTalkingupFill: "IconQuotationmark2LeftFill",
|
523
|
+
IconTextThin: "IconTUppercaseSerifLine",
|
524
|
+
IconTextRegular: "IconTUppercaseSerifLine",
|
525
|
+
IconTextFill: "IconTUppercaseSerifFill",
|
526
|
+
IconThumbDownThin: "IconThumbDownLine",
|
527
|
+
IconThumbDownRegular: "IconThumbDownLine",
|
528
|
+
IconThumbDownFill: "IconThumbDownFill",
|
529
|
+
IconThumbUpThin: "IconThumbUpLine",
|
530
|
+
IconThumbUpRegular: "IconThumbUpLine",
|
531
|
+
IconThumbUpFill: "IconThumbUpFill",
|
532
|
+
IconToolboxThin: "IconToolboxLine",
|
533
|
+
IconToolboxRegular: "IconToolboxLine",
|
534
|
+
IconToolboxFill: "IconToolboxFill",
|
535
|
+
IconTranslateThin: "IconTranslationLine",
|
536
|
+
IconTranslateRegular: "IconTranslationLine",
|
537
|
+
IconTranslateFill: "IconTranslationFill",
|
538
|
+
IconTrashThin: "IconTrashcanLine",
|
539
|
+
IconTrashRegular: "IconTrashcanLine",
|
540
|
+
IconTrashFill: "IconTrashcanFill",
|
541
|
+
IconUndoThin: "IconArrowUturnLeftLine",
|
542
|
+
IconUndoRegular: "IconArrowUturnLeftLine",
|
543
|
+
IconUndoFill: "IconArrowUturnLeftFill",
|
544
|
+
IconUserGroupThin: "IconPerson2Line",
|
545
|
+
IconUserGroupRegular: "IconPerson2Line",
|
546
|
+
IconUserGroupFill: "IconPerson2Fill",
|
547
|
+
IconVideoThin: "IconCamcorderLine",
|
548
|
+
IconVideoRegular: "IconCamcorderLine",
|
549
|
+
IconVideoFill: "IconCamcorderFill",
|
550
|
+
IconViewCountThin: "IconEyeLine",
|
551
|
+
IconViewCountRegular: "IconEyeLine",
|
552
|
+
IconViewCountFill: "IconEyeFill",
|
553
|
+
IconViewCountOffThin: "IconEyeSlashLine",
|
554
|
+
IconViewCountOffRegular: "IconEyeSlashLine",
|
555
|
+
IconViewCountOffFill: "IconEyeSlashFill",
|
556
|
+
IconVolumeOffThin: "IconSpeakerSlashLine",
|
557
|
+
IconVolumeOffRegular: "IconSpeakerSlashLine",
|
558
|
+
IconVolumeOffFill: "IconSpeakerSlashFill",
|
559
|
+
IconVolumeOnThin: "IconSpeakerWave2Line",
|
560
|
+
IconVolumeOnRegular: "IconSpeakerWave2Line",
|
561
|
+
IconVolumeOnFill: "IconSpeakerWave2Fill",
|
562
|
+
IconVoteThin: "IconCheckBallotboxLine",
|
563
|
+
IconVoteRegular: "IconCheckBallotboxLine",
|
564
|
+
IconVoteFill: "IconCheckBallotboxFill",
|
565
|
+
IconVoucherThin: "IconGiftLine",
|
566
|
+
IconVoucherRegular: "IconGiftLine",
|
567
|
+
IconVoucherFill: "IconGiftFill",
|
568
|
+
IconWalkThin: "IconFigureWalkLine",
|
569
|
+
IconWalkRegular: "IconFigureWalkLine",
|
570
|
+
IconWalkFill: "IconFigureWalkFill",
|
571
|
+
IconWarningThin: "IconExclamationmarkCircleLine",
|
572
|
+
IconWarningRegular: "IconExclamationmarkCircleLine",
|
573
|
+
IconWarningFill: "IconExclamationmarkCircleFill",
|
574
|
+
IconWriteThin: "IconPenHorizlineLine",
|
575
|
+
IconWriteRegular: "IconPenHorizlineLine",
|
576
|
+
IconWriteFill: "IconPenHorizlineFill",
|
577
|
+
IconWriteFrequentUseThin: "IconDocumentPlusLine",
|
578
|
+
IconWriteFrequentUseRegular: "IconDocumentPlusLine",
|
579
|
+
IconWriteFrequentUseFill: "IconDocumentPlusFill",
|
580
|
+
};
|
package/src/utils/log.ts
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
import { type LoggerOptions, format, transports } from "winston";
|
2
|
+
|
3
|
+
export const loggerOptions: LoggerOptions = {
|
4
|
+
level: "info",
|
5
|
+
format: format.combine(
|
6
|
+
format.timestamp({
|
7
|
+
format: "YYYY-MM-DD HH:mm:ss", // Customize the timestamp format if needed
|
8
|
+
}),
|
9
|
+
format.printf(({ level, message, timestamp }) => {
|
10
|
+
return `${timestamp} [${level.toUpperCase()}]: ${message}`;
|
11
|
+
}),
|
12
|
+
),
|
13
|
+
transports: [
|
14
|
+
new transports.File({ filename: "error.log", level: "error" }),
|
15
|
+
new transports.File({ filename: "combined.log", level: "debug" }),
|
16
|
+
],
|
17
|
+
exitOnError: false,
|
18
|
+
handleExceptions: true,
|
19
|
+
exceptionHandlers: [new transports.File({ filename: "./exceptions.log" })],
|
20
|
+
};
|