@shakerquiz/utilities 0.5.217 → 0.5.218
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/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const Channel = Object.freeze({
|
|
2
2
|
'vkontakte': 'vkontakte',
|
|
3
3
|
'telegramBot': 'telegramBot',
|
|
4
4
|
'email': 'email',
|
|
5
5
|
})
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/** @satisfies {Array<keyof typeof Channel>} */
|
|
8
|
+
export const Channels = Object.freeze([
|
|
9
|
+
'vkontakte',
|
|
10
|
+
'telegramBot',
|
|
11
|
+
'email',
|
|
12
|
+
])
|
|
8
13
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export var RegistationChannelTitle = {
|
|
16
|
-
[RegistrationChannel.vkontakte]: 'Вконтакте',
|
|
17
|
-
[RegistrationChannel.telegramBot]: 'Телеграм',
|
|
18
|
-
[RegistrationChannel.email]: 'Электронная почта',
|
|
19
|
-
}
|
|
14
|
+
/** @satisfies {Record<keyof typeof Channel, string>} */
|
|
15
|
+
export const ChannelTitle = Object.freeze({
|
|
16
|
+
'vkontakte': 'Вконтакте',
|
|
17
|
+
'telegramBot': 'Телеграм',
|
|
18
|
+
'email': 'Электронная почта',
|
|
19
|
+
})
|
|
20
20
|
|
|
21
|
-
/** @
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
21
|
+
/** @satisfies {Record<keyof typeof Channel, string>} */
|
|
22
|
+
export const ChannelIcon = Object.freeze({
|
|
23
|
+
'vkontakte': 'brand/solid/vk',
|
|
24
|
+
'telegramBot': 'brand/solid/telegram',
|
|
25
|
+
'email': 'hero/solid/at-symbol',
|
|
26
|
+
})
|