@shakerquiz/utilities 1.0.0 → 3.0.0
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/dprint.json +4 -12
- package/jsconfig.json +13 -6
- package/package.json +9 -12
- package/source/enumerations/core/features.js +56 -0
- package/source/enumerations/core/methods.js +16 -0
- package/source/enumerations/core/networks.js +6 -0
- package/source/enumerations/core/runtimes.js +6 -0
- package/source/enumerations/entities/affilation.js +91 -0
- package/source/enumerations/entities/cities-mode.js +49 -0
- package/source/enumerations/entities/city/timezone-mode.js +44 -0
- package/source/enumerations/entities/city/venues-mode.js +60 -0
- package/source/enumerations/entities/game-status.js +130 -0
- package/source/enumerations/entities/password-mode.js +40 -0
- package/source/enumerations/entities/registration-attribute.js +83 -0
- package/source/enumerations/entities/registration-channel.js +26 -0
- package/source/enumerations/entities/registration-lineup.js +75 -0
- package/source/enumerations/entities/registration-mailing.js +24 -0
- package/source/enumerations/entities/registration-status.js +89 -0
- package/source/enumerations/entities/role-mode.js +40 -0
- package/source/enumerations/entities/role.js +82 -0
- package/source/enumerations/entities/venue/audience.js +100 -0
- package/source/enumerations/entities/venue/city-mode.js +44 -0
- package/source/enumerations/entities/venue/status.js +53 -0
- package/source/enumerations/entities/version.js +76 -0
- package/source/enumerations/{constants.js → misc/constants.js} +2 -2
- package/source/enumerations/misc/icons.js +655 -0
- package/source/enumerations/misc/keys.js +15 -0
- package/source/enumerations/misc/phases.js +42 -0
- package/source/enumerations/misc/regexps.js +5 -0
- package/source/enumerations/misc/routes.js +610 -0
- package/source/functions/tag.d.ts +1 -0
- package/source/functions/tag.js +5 -0
- package/source/index.js +34 -11
- package/source/schemas/PATCH/city/admin.json +126 -0
- package/source/schemas/PATCH/city/currency/admin.json +173 -0
- package/source/schemas/PATCH/city/timezone/admin.json +501 -0
- package/source/schemas/PATCH/game/admin.json +30 -0
- package/source/schemas/PATCH/game/organizer.json +30 -0
- package/source/schemas/PATCH/registration/admin.json +43 -0
- package/source/schemas/PATCH/registration/cancellation/default.json +12 -0
- package/source/schemas/PATCH/registration/channel/default.json +22 -0
- package/source/schemas/PATCH/registration/confirmation/default.json +12 -0
- package/source/schemas/PATCH/registration/default.json +10 -0
- package/source/schemas/PATCH/registration/organizer.json +43 -0
- package/source/schemas/PATCH/theme/admin.json +19 -0
- package/source/schemas/PATCH/user/admin.json +30 -0
- package/source/schemas/PATCH/user/cities/admin.json +17 -0
- package/source/schemas/PATCH/user/password/admin.json +12 -0
- package/source/schemas/PATCH/user/role/admin.json +13 -0
- package/source/schemas/PATCH/venue/admin.json +44 -0
- package/source/schemas/PATCH/venue/organizer.json +44 -0
- package/source/schemas/POST/checkin/default.json +16 -0
- package/source/schemas/POST/city/admin.json +696 -0
- package/source/schemas/POST/game/admin.json +27 -0
- package/source/schemas/POST/game/organizer.json +27 -0
- package/source/schemas/POST/game/registrations/export/admin.json +17 -0
- package/source/schemas/POST/game/registrations/export/organizer.json +17 -0
- package/source/schemas/POST/registration/default.json +125 -0
- package/source/schemas/POST/registration/mailing/admin.json +16 -0
- package/source/schemas/POST/registration/mailing/organizer.json +16 -0
- package/source/schemas/POST/registrations/export/admin.json +17 -0
- package/source/schemas/POST/registrations/export/organizer.json +17 -0
- package/source/schemas/POST/theme/admin.json +24 -0
- package/source/schemas/POST/user/admin.json +12 -0
- package/source/schemas/POST/user/cities/admin.json +17 -0
- package/source/schemas/POST/user/password/admin.json +12 -0
- package/source/schemas/POST/user/role/admin.json +13 -0
- package/source/schemas/POST/venue/admin.json +38 -0
- package/source/schemas/POST/venue/organizer.json +38 -0
- package/source/enumerations/constants.d.ts +0 -3
- package/source/enumerations/cookies.d.ts +0 -5
- package/source/enumerations/cookies.js +0 -5
- package/source/enumerations/features.d.ts +0 -58
- package/source/enumerations/features.js +0 -49
- package/source/enumerations/game-statuses.d.ts +0 -39
- package/source/enumerations/game-statuses.js +0 -39
- package/source/enumerations/kinds.d.ts +0 -4
- package/source/enumerations/kinds.js +0 -4
- package/source/enumerations/methods.d.ts +0 -7
- package/source/enumerations/methods.js +0 -7
- package/source/enumerations/networks.d.ts +0 -4
- package/source/enumerations/networks.js +0 -4
- package/source/enumerations/phases.d.ts +0 -7
- package/source/enumerations/phases.js +0 -7
- package/source/enumerations/regexps.d.ts +0 -4
- package/source/enumerations/regexps.js +0 -6
- package/source/enumerations/roles.d.ts +0 -5
- package/source/enumerations/roles.js +0 -5
- package/source/functions/request.d.ts +0 -131
- package/source/functions/request.js +0 -202
- package/source/globals.d.ts +0 -14
- package/source/index.d.ts +0 -15
- package/source/results.d.ts +0 -137
- package/source/rows.d.ts +0 -533
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"people_count": {
|
|
5
|
+
"type": "integer"
|
|
6
|
+
},
|
|
7
|
+
"human_name": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"is_alone": {
|
|
11
|
+
"type": "boolean"
|
|
12
|
+
},
|
|
13
|
+
"is_canceled": {
|
|
14
|
+
"type": "boolean"
|
|
15
|
+
},
|
|
16
|
+
"is_confirm": {
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"is_reserve": {
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"team_name": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"status": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"Created",
|
|
29
|
+
"Confirmed",
|
|
30
|
+
"Cancelled"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"lineup": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"Main",
|
|
37
|
+
"Reserve"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [],
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"short_description": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"description": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"alias": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"email": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"phone": {
|
|
8
|
+
"type": [
|
|
9
|
+
"string",
|
|
10
|
+
"null"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"first_name": {
|
|
14
|
+
"type": [
|
|
15
|
+
"string",
|
|
16
|
+
"null"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"last_name": {
|
|
20
|
+
"type": [
|
|
21
|
+
"string",
|
|
22
|
+
"null"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"email"
|
|
28
|
+
],
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"street": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"house_number": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"people_capacity": {
|
|
14
|
+
"type": "integer"
|
|
15
|
+
},
|
|
16
|
+
"team_capacity": {
|
|
17
|
+
"type": "integer"
|
|
18
|
+
},
|
|
19
|
+
"is_adult": {
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"game_time": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "iso-time"
|
|
25
|
+
},
|
|
26
|
+
"location_info": {
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"status": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"href": {
|
|
36
|
+
"type": [
|
|
37
|
+
"string",
|
|
38
|
+
"null"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [],
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"street": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"house_number": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"people_capacity": {
|
|
14
|
+
"type": "integer"
|
|
15
|
+
},
|
|
16
|
+
"team_capacity": {
|
|
17
|
+
"type": "integer"
|
|
18
|
+
},
|
|
19
|
+
"is_adult": {
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"game_time": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "iso-time"
|
|
25
|
+
},
|
|
26
|
+
"location_info": {
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"status": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"href": {
|
|
36
|
+
"type": [
|
|
37
|
+
"string",
|
|
38
|
+
"null"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [],
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|