@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.
Files changed (125) hide show
  1. package/dprint.json +4 -1
  2. package/package.json +13 -7
  3. package/source/enumerations/core/features.d.ts +40 -0
  4. package/source/enumerations/core/features.js +205 -0
  5. package/source/enumerations/core/kinds.d.ts +1 -0
  6. package/source/enumerations/core/kinds.js +4 -0
  7. package/source/enumerations/core/methods.d.ts +8 -0
  8. package/source/enumerations/core/methods.js +25 -0
  9. package/source/enumerations/core/networks.d.ts +1 -0
  10. package/source/enumerations/core/networks.js +4 -0
  11. package/source/enumerations/core/runtimes.d.ts +1 -0
  12. package/source/enumerations/core/runtimes.js +4 -0
  13. package/source/enumerations/core/scopes.d.ts +5 -0
  14. package/source/enumerations/core/scopes.js +27 -0
  15. package/source/enumerations/entities/city-affilations.d.ts +1 -0
  16. package/source/enumerations/entities/city-affilations.js +4 -0
  17. package/source/enumerations/entities/game-statuses.d.ts +1 -0
  18. package/source/enumerations/entities/game-statuses.js +11 -0
  19. package/source/enumerations/entities/registration-attributes.d.ts +2 -0
  20. package/source/enumerations/entities/registration-attributes.js +57 -0
  21. package/source/enumerations/entities/registration-channels.d.ts +1 -0
  22. package/source/enumerations/entities/registration-channels.js +5 -0
  23. package/source/enumerations/entities/registration-lineups.d.ts +5 -0
  24. package/source/enumerations/entities/registration-lineups.js +43 -0
  25. package/source/enumerations/entities/registration-mailings.d.ts +1 -0
  26. package/source/enumerations/entities/registration-mailings.js +6 -0
  27. package/source/enumerations/entities/registration-statuses.d.ts +5 -0
  28. package/source/enumerations/entities/registration-statuses.js +54 -0
  29. package/source/enumerations/entities/roles.d.ts +1 -0
  30. package/source/enumerations/entities/roles.js +5 -0
  31. package/source/enumerations/entities/venue-statuses.d.ts +1 -0
  32. package/source/enumerations/entities/venue-statuses.js +4 -0
  33. package/source/enumerations/misc/constants.d.ts +3 -0
  34. package/source/{entities → enumerations/misc}/constants.js +1 -1
  35. package/source/enumerations/misc/cookies.d.ts +5 -0
  36. package/source/enumerations/misc/cookies.js +5 -0
  37. package/source/enumerations/misc/icons.d.ts +1 -0
  38. package/source/enumerations/misc/icons.js +326 -0
  39. package/source/enumerations/misc/phases.d.ts +1 -0
  40. package/source/enumerations/misc/phases.js +7 -0
  41. package/source/enumerations/misc/regexps.d.ts +5 -0
  42. package/source/enumerations/misc/regexps.js +6 -0
  43. package/source/functions/tag.d.ts +1 -0
  44. package/source/functions/tag.js +5 -0
  45. package/source/index.d.ts +27 -0
  46. package/source/index.js +24 -40
  47. package/source/misc.d.ts +79 -0
  48. package/source/schemas/PATCH/Game/admin/schema.json +34 -0
  49. package/source/schemas/PATCH/Game/default/schema.json +6 -0
  50. package/source/schemas/PATCH/Game/organizer/schema.json +34 -0
  51. package/source/schemas/PATCH/Registration/admin/schema.json +6 -0
  52. package/source/schemas/PATCH/Registration/default/schema.json +104 -0
  53. package/source/schemas/PATCH/Registration/organizer/schema.json +43 -0
  54. package/source/schemas/PATCH/Venue/admin/schema.json +40 -0
  55. package/source/schemas/PATCH/Venue/default/schema.json +6 -0
  56. package/source/schemas/PATCH/Venue/organizer/schema.json +43 -0
  57. package/source/schemas/POST/Game/admin/schema.json +27 -0
  58. package/source/schemas/POST/Game/default/schema.json +27 -0
  59. package/source/schemas/POST/Game/organizer/schema.json +27 -0
  60. package/source/schemas/POST/Mailing/admin/schema.json +6 -0
  61. package/source/schemas/POST/Mailing/default/schema.json +6 -0
  62. package/source/schemas/POST/Mailing/organizer/schema.json +12 -0
  63. package/source/schemas/POST/Registration/admin/schema.json +6 -0
  64. package/source/schemas/POST/Registration/default/schema.json +125 -0
  65. package/source/schemas/POST/Registration/organizer/schema.json +6 -0
  66. package/source/schemas/POST/Venue/admin/schema.json +6 -0
  67. package/source/schemas/POST/Venue/default/schema.json +6 -0
  68. package/source/schemas/POST/Venue/organizer/schema.json +49 -0
  69. package/source/schemas/game.schema.json +93 -0
  70. package/source/schemas/registration.schema.json +123 -0
  71. package/source/schemas/theme.schema.json +48 -0
  72. package/source/schemas/venue.schema.json +56 -0
  73. package/source/scope.d.ts +874 -0
  74. package/source/server.d.ts +5 -0
  75. package/source/tables.d.ts +187 -0
  76. package/.github/workflows/publish.yml +0 -31
  77. package/scripts/route-cardinality.js +0 -23
  78. package/scripts/route-parameter.js +0 -29
  79. package/scripts/route-pathname.js +0 -37
  80. package/scripts/route-relation.js +0 -26
  81. package/scripts/route-service.js +0 -25
  82. package/scripts/templates/route-cardinality.js +0 -5
  83. package/scripts/templates/route-parameter.js +0 -5
  84. package/scripts/templates/route-pathname.js +0 -7
  85. package/scripts/templates/route-relation.js +0 -5
  86. package/scripts/templates/route-service.js +0 -7
  87. package/source/entities/blend.js +0 -5
  88. package/source/entities/cardinality.js +0 -4
  89. package/source/entities/category.js +0 -4
  90. package/source/entities/city-affilation.js +0 -10
  91. package/source/entities/city-chatapp-version.js +0 -9
  92. package/source/entities/display.js +0 -4
  93. package/source/entities/game-status.js +0 -98
  94. package/source/entities/gender.js +0 -13
  95. package/source/entities/icon.js +0 -654
  96. package/source/entities/key.js +0 -41
  97. package/source/entities/method.js +0 -22
  98. package/source/entities/mode.js +0 -9
  99. package/source/entities/network.js +0 -9
  100. package/source/entities/numerosity.js +0 -5
  101. package/source/entities/pattern.js +0 -7
  102. package/source/entities/phase.js +0 -15
  103. package/source/entities/quantifier.js +0 -41
  104. package/source/entities/registration-attribute.js +0 -61
  105. package/source/entities/registration-channel.js +0 -11
  106. package/source/entities/registration-lineup.js +0 -14
  107. package/source/entities/registration-mailing.js +0 -20
  108. package/source/entities/registration-status.js +0 -19
  109. package/source/entities/role.js +0 -16
  110. package/source/entities/route-cardinality.js +0 -149
  111. package/source/entities/route-parameter.js +0 -149
  112. package/source/entities/route-pathname.js +0 -223
  113. package/source/entities/route-relation.js +0 -149
  114. package/source/entities/route-service.js +0 -179
  115. package/source/entities/route.js +0 -82
  116. package/source/entities/runtime.js +0 -6
  117. package/source/entities/segment.js +0 -255
  118. package/source/entities/service-runtime.js +0 -22
  119. package/source/entities/service.js +0 -22
  120. package/source/entities/theme-status.js +0 -9
  121. package/source/entities/venue-audience.js +0 -9
  122. package/source/entities/venue-status.js +0 -9
  123. package/source/helpers/access.js +0 -161
  124. package/source/helpers/hydrate-route-pathname.js +0 -29
  125. 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
+ }