@shakerquiz/utilities 0.6.18 → 2.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 -1
- package/package.json +13 -7
- package/source/enumerations/core/features.d.ts +40 -0
- package/source/enumerations/core/features.js +205 -0
- package/source/enumerations/core/kinds.d.ts +1 -0
- package/source/enumerations/core/kinds.js +4 -0
- package/source/enumerations/core/methods.d.ts +8 -0
- package/source/enumerations/core/methods.js +25 -0
- package/source/enumerations/core/networks.d.ts +1 -0
- package/source/enumerations/core/networks.js +4 -0
- package/source/enumerations/core/runtimes.d.ts +1 -0
- package/source/enumerations/core/runtimes.js +4 -0
- package/source/enumerations/core/scopes.d.ts +5 -0
- package/source/enumerations/core/scopes.js +27 -0
- package/source/enumerations/entities/city-affilations.d.ts +1 -0
- package/source/enumerations/entities/city-affilations.js +4 -0
- package/source/enumerations/entities/game-statuses.d.ts +1 -0
- package/source/enumerations/entities/game-statuses.js +11 -0
- package/source/enumerations/entities/registration-attributes.d.ts +2 -0
- package/source/enumerations/entities/registration-attributes.js +57 -0
- package/source/enumerations/entities/registration-channels.d.ts +1 -0
- package/source/enumerations/entities/registration-channels.js +5 -0
- package/source/enumerations/entities/registration-lineups.d.ts +5 -0
- package/source/enumerations/entities/registration-lineups.js +43 -0
- package/source/enumerations/entities/registration-mailings.d.ts +1 -0
- package/source/enumerations/entities/registration-mailings.js +6 -0
- package/source/enumerations/entities/registration-statuses.d.ts +5 -0
- package/source/enumerations/entities/registration-statuses.js +54 -0
- package/source/enumerations/entities/roles.d.ts +1 -0
- package/source/enumerations/entities/roles.js +5 -0
- package/source/enumerations/entities/venue-statuses.d.ts +1 -0
- package/source/enumerations/entities/venue-statuses.js +4 -0
- package/source/enumerations/misc/constants.d.ts +3 -0
- package/source/{entities → enumerations/misc}/constants.js +1 -1
- package/source/enumerations/misc/cookies.d.ts +5 -0
- package/source/enumerations/misc/cookies.js +5 -0
- package/source/enumerations/misc/icons.d.ts +1 -0
- package/source/enumerations/misc/icons.js +326 -0
- package/source/enumerations/misc/phases.d.ts +1 -0
- package/source/enumerations/misc/phases.js +7 -0
- package/source/enumerations/misc/regexps.d.ts +5 -0
- package/source/enumerations/misc/regexps.js +6 -0
- package/source/functions/tag.d.ts +1 -0
- package/source/functions/tag.js +5 -0
- package/source/index.d.ts +27 -0
- package/source/index.js +24 -40
- package/source/misc.d.ts +79 -0
- package/source/schemas/PATCH/Game/admin/schema.json +34 -0
- package/source/schemas/PATCH/Game/default/schema.json +6 -0
- package/source/schemas/PATCH/Game/organizer/schema.json +34 -0
- package/source/schemas/PATCH/Registration/admin/schema.json +6 -0
- package/source/schemas/PATCH/Registration/default/schema.json +104 -0
- package/source/schemas/PATCH/Registration/organizer/schema.json +43 -0
- package/source/schemas/PATCH/Venue/admin/schema.json +40 -0
- package/source/schemas/PATCH/Venue/default/schema.json +6 -0
- package/source/schemas/PATCH/Venue/organizer/schema.json +43 -0
- package/source/schemas/POST/Game/admin/schema.json +27 -0
- package/source/schemas/POST/Game/default/schema.json +27 -0
- package/source/schemas/POST/Game/organizer/schema.json +27 -0
- package/source/schemas/POST/Mailing/admin/schema.json +6 -0
- package/source/schemas/POST/Mailing/default/schema.json +6 -0
- package/source/schemas/POST/Mailing/organizer/schema.json +12 -0
- package/source/schemas/POST/Registration/admin/schema.json +6 -0
- package/source/schemas/POST/Registration/default/schema.json +125 -0
- package/source/schemas/POST/Registration/organizer/schema.json +6 -0
- package/source/schemas/POST/Venue/admin/schema.json +6 -0
- package/source/schemas/POST/Venue/default/schema.json +6 -0
- package/source/schemas/POST/Venue/organizer/schema.json +49 -0
- package/source/schemas/game.schema.json +93 -0
- package/source/schemas/registration.schema.json +123 -0
- package/source/schemas/theme.schema.json +48 -0
- package/source/schemas/venue.schema.json +56 -0
- package/source/scope.d.ts +874 -0
- package/source/server.d.ts +5 -0
- package/source/tables.d.ts +187 -0
- package/.github/workflows/publish.yml +0 -31
- package/scripts/route-cardinality.js +0 -23
- package/scripts/route-parameter.js +0 -29
- package/scripts/route-pathname.js +0 -37
- package/scripts/route-relation.js +0 -26
- package/scripts/route-service.js +0 -25
- package/scripts/templates/route-cardinality.js +0 -5
- package/scripts/templates/route-parameter.js +0 -5
- package/scripts/templates/route-pathname.js +0 -7
- package/scripts/templates/route-relation.js +0 -5
- package/scripts/templates/route-service.js +0 -7
- package/source/entities/blend.js +0 -5
- package/source/entities/cardinality.js +0 -4
- package/source/entities/category.js +0 -4
- package/source/entities/city-affilation.js +0 -10
- package/source/entities/city-chatapp-version.js +0 -9
- package/source/entities/display.js +0 -4
- package/source/entities/game-status.js +0 -98
- package/source/entities/gender.js +0 -13
- package/source/entities/icon.js +0 -654
- package/source/entities/key.js +0 -41
- package/source/entities/method.js +0 -22
- package/source/entities/mode.js +0 -9
- package/source/entities/network.js +0 -9
- package/source/entities/numerosity.js +0 -5
- package/source/entities/pattern.js +0 -7
- package/source/entities/phase.js +0 -15
- package/source/entities/quantifier.js +0 -41
- package/source/entities/registration-attribute.js +0 -61
- package/source/entities/registration-channel.js +0 -11
- package/source/entities/registration-lineup.js +0 -14
- package/source/entities/registration-mailing.js +0 -20
- package/source/entities/registration-status.js +0 -19
- package/source/entities/role.js +0 -16
- package/source/entities/route-cardinality.js +0 -149
- package/source/entities/route-parameter.js +0 -149
- package/source/entities/route-pathname.js +0 -223
- package/source/entities/route-relation.js +0 -149
- package/source/entities/route-service.js +0 -179
- package/source/entities/route.js +0 -82
- package/source/entities/runtime.js +0 -6
- package/source/entities/segment.js +0 -255
- package/source/entities/service-runtime.js +0 -22
- package/source/entities/service.js +0 -22
- package/source/entities/theme-status.js +0 -9
- package/source/entities/venue-audience.js +0 -9
- package/source/entities/venue-status.js +0 -9
- package/source/helpers/access.js +0 -161
- package/source/helpers/hydrate-route-pathname.js +0 -29
- package/source/helpers/tag.js +0 -35
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"ads_from": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"change_people_count": {
|
|
8
|
+
"type": "integer"
|
|
9
|
+
},
|
|
10
|
+
"channel": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"chatapp_id": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"comment": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"email": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"event_id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "uuid"
|
|
25
|
+
},
|
|
26
|
+
"fact_people_count": {
|
|
27
|
+
"type": "integer"
|
|
28
|
+
},
|
|
29
|
+
"human_name": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"id": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "uuid"
|
|
35
|
+
},
|
|
36
|
+
"is_actual_presence": {
|
|
37
|
+
"type": "boolean"
|
|
38
|
+
},
|
|
39
|
+
"is_alone": {
|
|
40
|
+
"type": "boolean"
|
|
41
|
+
},
|
|
42
|
+
"is_birthday": {
|
|
43
|
+
"type": "boolean"
|
|
44
|
+
},
|
|
45
|
+
"is_canceled": {
|
|
46
|
+
"type": "boolean"
|
|
47
|
+
},
|
|
48
|
+
"is_confirm": {
|
|
49
|
+
"type": "boolean"
|
|
50
|
+
},
|
|
51
|
+
"is_extensible": {
|
|
52
|
+
"type": "boolean"
|
|
53
|
+
},
|
|
54
|
+
"is_first": {
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
"is_reserve": {
|
|
58
|
+
"type": "boolean"
|
|
59
|
+
},
|
|
60
|
+
"last_broadcast": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"people_count": {
|
|
64
|
+
"type": "integer"
|
|
65
|
+
},
|
|
66
|
+
"phone": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"promocode": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"team_name": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"telegramBot": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"time_created": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"format": "date-time"
|
|
81
|
+
},
|
|
82
|
+
"time_updated": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"format": "date-time"
|
|
85
|
+
},
|
|
86
|
+
"utm_campaign": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"utm_content": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"utm_medium": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"utm_source": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"utm_term": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"vkontakte": {
|
|
102
|
+
"type": "string"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"required": [
|
|
106
|
+
"email",
|
|
107
|
+
"event_id",
|
|
108
|
+
"human_name",
|
|
109
|
+
"id",
|
|
110
|
+
"is_actual_presence",
|
|
111
|
+
"is_alone",
|
|
112
|
+
"is_birthday",
|
|
113
|
+
"is_canceled",
|
|
114
|
+
"is_confirm",
|
|
115
|
+
"is_extensible",
|
|
116
|
+
"is_first",
|
|
117
|
+
"is_reserve",
|
|
118
|
+
"people_count",
|
|
119
|
+
"phone",
|
|
120
|
+
"team_name"
|
|
121
|
+
],
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"description": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
},
|
|
11
|
+
"image_id": {
|
|
12
|
+
"type": [
|
|
13
|
+
"string",
|
|
14
|
+
"null"
|
|
15
|
+
],
|
|
16
|
+
"format": "uuid"
|
|
17
|
+
},
|
|
18
|
+
"name": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"short_description": {
|
|
22
|
+
"type": [
|
|
23
|
+
"string",
|
|
24
|
+
"null"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"time_created": {
|
|
28
|
+
"type": [
|
|
29
|
+
"string",
|
|
30
|
+
"null"
|
|
31
|
+
],
|
|
32
|
+
"format": "date-time"
|
|
33
|
+
},
|
|
34
|
+
"time_updated": {
|
|
35
|
+
"type": [
|
|
36
|
+
"string",
|
|
37
|
+
"null"
|
|
38
|
+
],
|
|
39
|
+
"format": "date-time"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [
|
|
43
|
+
"description",
|
|
44
|
+
"id",
|
|
45
|
+
"name"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"id": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"format": "uuid"
|
|
7
|
+
},
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"street": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"house_number": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"people_capacity": {
|
|
18
|
+
"type": "integer"
|
|
19
|
+
},
|
|
20
|
+
"team_capacity": {
|
|
21
|
+
"type": "integer"
|
|
22
|
+
},
|
|
23
|
+
"is_adult": {
|
|
24
|
+
"type": "boolean"
|
|
25
|
+
},
|
|
26
|
+
"time_created": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": "date-time"
|
|
29
|
+
},
|
|
30
|
+
"time_updated": {
|
|
31
|
+
"type": [
|
|
32
|
+
"string",
|
|
33
|
+
"null"
|
|
34
|
+
],
|
|
35
|
+
"format": "date-time"
|
|
36
|
+
},
|
|
37
|
+
"game_time": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"city_id": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"format": "uuid"
|
|
43
|
+
},
|
|
44
|
+
"location_info": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"status": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"href": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
}
|