@shakerquiz/utilities 3.0.0 → 4.0.1
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/.github/workflows/publish.yml +32 -0
- package/package.json +5 -5
- package/scripts/route-cardinality.js +23 -0
- package/scripts/route-parameter.js +29 -0
- package/scripts/route-pathname.js +37 -0
- package/scripts/route-relation.js +26 -0
- package/scripts/route-service.js +25 -0
- package/scripts/templates/route-cardinality.js +5 -0
- package/scripts/templates/route-parameter.js +5 -0
- package/scripts/templates/route-pathname.js +7 -0
- package/scripts/templates/route-relation.js +5 -0
- package/scripts/templates/route-service.js +7 -0
- package/source/entities/blend.js +5 -0
- package/source/entities/cardinality.js +4 -0
- package/source/entities/category.js +4 -0
- package/source/entities/city-affilation.js +10 -0
- package/source/entities/city-chatapp-version.js +9 -0
- package/source/{enumerations/misc → entities}/constants.js +1 -1
- package/source/entities/display.js +4 -0
- package/source/entities/game-status.js +98 -0
- package/source/entities/gender.js +13 -0
- package/source/entities/icon.js +654 -0
- package/source/entities/key.js +41 -0
- package/source/{enumerations/core/methods.js → entities/method.js} +10 -4
- package/source/entities/mode.js +9 -0
- package/source/entities/network.js +9 -0
- package/source/entities/numerosity.js +5 -0
- package/source/entities/pattern.js +7 -0
- package/source/entities/phase.js +15 -0
- package/source/entities/quantifier.js +41 -0
- package/source/entities/registration-attribute.js +61 -0
- package/source/entities/registration-channel.js +11 -0
- package/source/entities/registration-lineup.js +14 -0
- package/source/entities/registration-mailing.js +20 -0
- package/source/entities/registration-status.js +19 -0
- package/source/entities/role.js +16 -0
- package/source/entities/route-cardinality.js +151 -0
- package/source/entities/route-parameter.js +151 -0
- package/source/entities/route-pathname.js +226 -0
- package/source/entities/route-relation.js +151 -0
- package/source/entities/route-service.js +181 -0
- package/source/entities/route.js +83 -0
- package/source/entities/runtime.js +6 -0
- package/source/entities/segment.js +255 -0
- package/source/entities/service-runtime.js +22 -0
- package/source/entities/service.js +22 -0
- package/source/entities/theme-status.js +9 -0
- package/source/entities/venue-audience.js +9 -0
- package/source/entities/venue-status.js +9 -0
- package/source/helpers/access.js +161 -0
- package/source/helpers/hydrate-route-pathname.js +29 -0
- package/source/helpers/tag.js +35 -0
- package/source/index.js +40 -34
- package/source/enumerations/core/features.js +0 -56
- package/source/enumerations/core/networks.js +0 -6
- package/source/enumerations/core/runtimes.js +0 -6
- package/source/enumerations/entities/affilation.js +0 -91
- package/source/enumerations/entities/cities-mode.js +0 -49
- package/source/enumerations/entities/city/timezone-mode.js +0 -44
- package/source/enumerations/entities/city/venues-mode.js +0 -60
- package/source/enumerations/entities/game-status.js +0 -130
- package/source/enumerations/entities/password-mode.js +0 -40
- package/source/enumerations/entities/registration-attribute.js +0 -83
- package/source/enumerations/entities/registration-channel.js +0 -26
- package/source/enumerations/entities/registration-lineup.js +0 -75
- package/source/enumerations/entities/registration-mailing.js +0 -24
- package/source/enumerations/entities/registration-status.js +0 -89
- package/source/enumerations/entities/role-mode.js +0 -40
- package/source/enumerations/entities/role.js +0 -82
- package/source/enumerations/entities/venue/audience.js +0 -100
- package/source/enumerations/entities/venue/city-mode.js +0 -44
- package/source/enumerations/entities/venue/status.js +0 -53
- package/source/enumerations/entities/version.js +0 -76
- package/source/enumerations/misc/icons.js +0 -655
- package/source/enumerations/misc/keys.js +0 -15
- package/source/enumerations/misc/phases.js +0 -42
- package/source/enumerations/misc/regexps.js +0 -5
- package/source/enumerations/misc/routes.js +0 -610
- package/source/functions/tag.d.ts +0 -1
- package/source/functions/tag.js +0 -5
- package/source/schemas/PATCH/city/admin.json +0 -126
- package/source/schemas/PATCH/city/currency/admin.json +0 -173
- package/source/schemas/PATCH/city/timezone/admin.json +0 -501
- package/source/schemas/PATCH/game/admin.json +0 -30
- package/source/schemas/PATCH/game/organizer.json +0 -30
- package/source/schemas/PATCH/registration/admin.json +0 -43
- package/source/schemas/PATCH/registration/cancellation/default.json +0 -12
- package/source/schemas/PATCH/registration/channel/default.json +0 -22
- package/source/schemas/PATCH/registration/confirmation/default.json +0 -12
- package/source/schemas/PATCH/registration/default.json +0 -10
- package/source/schemas/PATCH/registration/organizer.json +0 -43
- package/source/schemas/PATCH/theme/admin.json +0 -19
- package/source/schemas/PATCH/user/admin.json +0 -30
- package/source/schemas/PATCH/user/cities/admin.json +0 -17
- package/source/schemas/PATCH/user/password/admin.json +0 -12
- package/source/schemas/PATCH/user/role/admin.json +0 -13
- package/source/schemas/PATCH/venue/admin.json +0 -44
- package/source/schemas/PATCH/venue/organizer.json +0 -44
- package/source/schemas/POST/checkin/default.json +0 -16
- package/source/schemas/POST/city/admin.json +0 -696
- package/source/schemas/POST/game/admin.json +0 -27
- package/source/schemas/POST/game/organizer.json +0 -27
- package/source/schemas/POST/game/registrations/export/admin.json +0 -17
- package/source/schemas/POST/game/registrations/export/organizer.json +0 -17
- package/source/schemas/POST/registration/default.json +0 -125
- package/source/schemas/POST/registration/mailing/admin.json +0 -16
- package/source/schemas/POST/registration/mailing/organizer.json +0 -16
- package/source/schemas/POST/registrations/export/admin.json +0 -17
- package/source/schemas/POST/registrations/export/organizer.json +0 -17
- package/source/schemas/POST/theme/admin.json +0 -24
- package/source/schemas/POST/user/admin.json +0 -12
- package/source/schemas/POST/user/cities/admin.json +0 -17
- package/source/schemas/POST/user/password/admin.json +0 -12
- package/source/schemas/POST/user/role/admin.json +0 -13
- package/source/schemas/POST/venue/admin.json +0 -38
- package/source/schemas/POST/venue/organizer.json +0 -38
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"is_franchise": {
|
|
5
|
-
"type": "boolean"
|
|
6
|
-
},
|
|
7
|
-
"price": {
|
|
8
|
-
"type": "number"
|
|
9
|
-
},
|
|
10
|
-
"game_time": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"format": "iso-time"
|
|
13
|
-
},
|
|
14
|
-
"vk_link": {
|
|
15
|
-
"type": [
|
|
16
|
-
"string",
|
|
17
|
-
"null"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"tg_link": {
|
|
21
|
-
"type": [
|
|
22
|
-
"string",
|
|
23
|
-
"null"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"inst_link": {
|
|
27
|
-
"type": [
|
|
28
|
-
"string",
|
|
29
|
-
"null"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"min_members_count": {
|
|
33
|
-
"type": [
|
|
34
|
-
"number",
|
|
35
|
-
"null"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"max_members_count": {
|
|
39
|
-
"type": [
|
|
40
|
-
"number",
|
|
41
|
-
"null"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"custom_script": {
|
|
45
|
-
"type": [
|
|
46
|
-
"string",
|
|
47
|
-
"null"
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"custom_html": {
|
|
51
|
-
"type": [
|
|
52
|
-
"string",
|
|
53
|
-
"null"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
"vk_group_id": {
|
|
57
|
-
"type": [
|
|
58
|
-
"string",
|
|
59
|
-
"null"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"chatapp_line": {
|
|
63
|
-
"type": [
|
|
64
|
-
"string",
|
|
65
|
-
"null"
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
"chatapp_user": {
|
|
69
|
-
"type": [
|
|
70
|
-
"string",
|
|
71
|
-
"null"
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"chatapp_tag": {
|
|
75
|
-
"type": [
|
|
76
|
-
"string",
|
|
77
|
-
"null"
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
"chatapp_category": {
|
|
81
|
-
"type": [
|
|
82
|
-
"string",
|
|
83
|
-
"null"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
"telegram_chat_id": {
|
|
87
|
-
"type": [
|
|
88
|
-
"string",
|
|
89
|
-
"null"
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"yandex_metrica": {
|
|
93
|
-
"type": [
|
|
94
|
-
"string",
|
|
95
|
-
"null"
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
"chatapp_legacy": {
|
|
99
|
-
"type": [
|
|
100
|
-
"boolean"
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
"phone": {
|
|
104
|
-
"type": [
|
|
105
|
-
"string",
|
|
106
|
-
"null"
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
"email": {
|
|
110
|
-
"type": [
|
|
111
|
-
"string",
|
|
112
|
-
"null"
|
|
113
|
-
]
|
|
114
|
-
},
|
|
115
|
-
"address": {
|
|
116
|
-
"type": [
|
|
117
|
-
"string",
|
|
118
|
-
"null"
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"required": [
|
|
123
|
-
"is_franchise"
|
|
124
|
-
],
|
|
125
|
-
"additionalProperties": false
|
|
126
|
-
}
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"id": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"enum": [
|
|
7
|
-
"AED",
|
|
8
|
-
"AFN",
|
|
9
|
-
"ALL",
|
|
10
|
-
"AMD",
|
|
11
|
-
"ANG",
|
|
12
|
-
"AOA",
|
|
13
|
-
"ARS",
|
|
14
|
-
"AUD",
|
|
15
|
-
"AWG",
|
|
16
|
-
"AZN",
|
|
17
|
-
"BAM",
|
|
18
|
-
"BBD",
|
|
19
|
-
"BDT",
|
|
20
|
-
"BGN",
|
|
21
|
-
"BHD",
|
|
22
|
-
"BIF",
|
|
23
|
-
"BMD",
|
|
24
|
-
"BND",
|
|
25
|
-
"BOB",
|
|
26
|
-
"BRL",
|
|
27
|
-
"BSD",
|
|
28
|
-
"BTN",
|
|
29
|
-
"BWP",
|
|
30
|
-
"BYN",
|
|
31
|
-
"BZD",
|
|
32
|
-
"CAD",
|
|
33
|
-
"CDF",
|
|
34
|
-
"CHF",
|
|
35
|
-
"CLP",
|
|
36
|
-
"CNY",
|
|
37
|
-
"COP",
|
|
38
|
-
"CRC",
|
|
39
|
-
"CUC",
|
|
40
|
-
"CUP",
|
|
41
|
-
"CVE",
|
|
42
|
-
"CZK",
|
|
43
|
-
"DJF",
|
|
44
|
-
"DKK",
|
|
45
|
-
"DOP",
|
|
46
|
-
"DZD",
|
|
47
|
-
"EGP",
|
|
48
|
-
"ERN",
|
|
49
|
-
"ETB",
|
|
50
|
-
"EUR",
|
|
51
|
-
"FJD",
|
|
52
|
-
"FKP",
|
|
53
|
-
"GBP",
|
|
54
|
-
"GEL",
|
|
55
|
-
"GHS",
|
|
56
|
-
"GIP",
|
|
57
|
-
"GMD",
|
|
58
|
-
"GNF",
|
|
59
|
-
"GTQ",
|
|
60
|
-
"GYD",
|
|
61
|
-
"HKD",
|
|
62
|
-
"HNL",
|
|
63
|
-
"HRK",
|
|
64
|
-
"HTG",
|
|
65
|
-
"HUF",
|
|
66
|
-
"IDR",
|
|
67
|
-
"ILS",
|
|
68
|
-
"INR",
|
|
69
|
-
"IQD",
|
|
70
|
-
"IRR",
|
|
71
|
-
"ISK",
|
|
72
|
-
"JMD",
|
|
73
|
-
"JOD",
|
|
74
|
-
"JPY",
|
|
75
|
-
"KES",
|
|
76
|
-
"KGS",
|
|
77
|
-
"KHR",
|
|
78
|
-
"KMF",
|
|
79
|
-
"KPW",
|
|
80
|
-
"KRW",
|
|
81
|
-
"KWD",
|
|
82
|
-
"KYD",
|
|
83
|
-
"KZT",
|
|
84
|
-
"LAK",
|
|
85
|
-
"LBP",
|
|
86
|
-
"LKR",
|
|
87
|
-
"LRD",
|
|
88
|
-
"LSL",
|
|
89
|
-
"LYD",
|
|
90
|
-
"MAD",
|
|
91
|
-
"MDL",
|
|
92
|
-
"MGA",
|
|
93
|
-
"MKD",
|
|
94
|
-
"MMK",
|
|
95
|
-
"MNT",
|
|
96
|
-
"MOP",
|
|
97
|
-
"MRU",
|
|
98
|
-
"MUR",
|
|
99
|
-
"MVR",
|
|
100
|
-
"MWK",
|
|
101
|
-
"MXN",
|
|
102
|
-
"MYR",
|
|
103
|
-
"MZN",
|
|
104
|
-
"NAD",
|
|
105
|
-
"NGN",
|
|
106
|
-
"NIO",
|
|
107
|
-
"NOK",
|
|
108
|
-
"NPR",
|
|
109
|
-
"NZD",
|
|
110
|
-
"OMR",
|
|
111
|
-
"PAB",
|
|
112
|
-
"PEN",
|
|
113
|
-
"PGK",
|
|
114
|
-
"PHP",
|
|
115
|
-
"PKR",
|
|
116
|
-
"PLN",
|
|
117
|
-
"PYG",
|
|
118
|
-
"QAR",
|
|
119
|
-
"RON",
|
|
120
|
-
"RSD",
|
|
121
|
-
"RUB",
|
|
122
|
-
"RWF",
|
|
123
|
-
"SAR",
|
|
124
|
-
"SBD",
|
|
125
|
-
"SCR",
|
|
126
|
-
"SDG",
|
|
127
|
-
"SEK",
|
|
128
|
-
"SGD",
|
|
129
|
-
"SHP",
|
|
130
|
-
"SLL",
|
|
131
|
-
"SOS",
|
|
132
|
-
"SRD",
|
|
133
|
-
"SSP",
|
|
134
|
-
"STN",
|
|
135
|
-
"SVC",
|
|
136
|
-
"SYP",
|
|
137
|
-
"SZL",
|
|
138
|
-
"THB",
|
|
139
|
-
"TJS",
|
|
140
|
-
"TMT",
|
|
141
|
-
"TND",
|
|
142
|
-
"TOP",
|
|
143
|
-
"TRY",
|
|
144
|
-
"TTD",
|
|
145
|
-
"TWD",
|
|
146
|
-
"TZS",
|
|
147
|
-
"UAH",
|
|
148
|
-
"UGX",
|
|
149
|
-
"USD",
|
|
150
|
-
"UYU",
|
|
151
|
-
"UZS",
|
|
152
|
-
"VES",
|
|
153
|
-
"VND",
|
|
154
|
-
"VUV",
|
|
155
|
-
"WST",
|
|
156
|
-
"XAF",
|
|
157
|
-
"XCD",
|
|
158
|
-
"XDR",
|
|
159
|
-
"XOF",
|
|
160
|
-
"XPF",
|
|
161
|
-
"XSU",
|
|
162
|
-
"YER",
|
|
163
|
-
"ZAR",
|
|
164
|
-
"ZMW",
|
|
165
|
-
"ZWL"
|
|
166
|
-
]
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"required": [
|
|
170
|
-
"id"
|
|
171
|
-
],
|
|
172
|
-
"additionalProperties": false
|
|
173
|
-
}
|