@shakerquiz/utilities 0.5.216 → 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
|
+
})
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
export const VenueStatus = Object.freeze({
|
|
2
2
|
'Active': 'Active',
|
|
3
|
-
'
|
|
3
|
+
'Archive': 'Archive',
|
|
4
4
|
})
|
|
5
5
|
|
|
6
|
+
/** @satisfies {Array<keyof typeof VenueStatus>} */
|
|
6
7
|
export const VenueStatuses = Object.freeze([
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
'Active',
|
|
9
|
+
'Archive',
|
|
9
10
|
])
|
|
10
11
|
|
|
12
|
+
/** @satisfies {Record<keyof typeof VenueStatus, string>} */
|
|
11
13
|
export const VenueStatusTitle = Object.freeze({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
'Active': 'Активно',
|
|
15
|
+
'Archive': 'Архив',
|
|
14
16
|
})
|
|
15
17
|
|
|
18
|
+
/** @satisfies {Record<keyof typeof VenueStatus, string>} */
|
|
16
19
|
export const VenueStatusIcon = Object.freeze({
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
'Active': 'hero/outline/check',
|
|
21
|
+
'Archive': 'hero/outline/archive-box',
|
|
19
22
|
})
|
|
20
23
|
|
|
21
24
|
export const inferVenueStatus = Object.freeze(
|