@shakerquiz/contracts 0.0.225 → 0.0.226

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,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/contracts",
4
- "version": "0.0.225",
4
+ "version": "0.0.226",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
package/source/index.js CHANGED
@@ -38,8 +38,6 @@ import POST_user_city_Admin from './contracts/POST/user/city/Admin.json' with {
38
38
  import POST_user_password_Admin from './contracts/POST/user/password/Admin.json' with { type: 'json' }
39
39
  import POST_game_Organizer from './contracts/POST/game/Organizer.json' with { type: 'json' }
40
40
  import POST_game_Admin from './contracts/POST/game/Admin.json' with { type: 'json' }
41
- import POST_game_registrations_search_Organizer from './contracts/POST/game/registrations/search/Organizer.json' with { type: 'json' }
42
- import POST_game_registrations_search_Admin from './contracts/POST/game/registrations/search/Admin.json' with { type: 'json' }
43
41
  import POST_registrations_promotion_search_Service from './contracts/POST/registrations/promotion/search/Service.json' with { type: 'json' }
44
42
  import POST_registrations_promotion_search_Organizer from './contracts/POST/registrations/promotion/search/Organizer.json' with { type: 'json' }
45
43
  import POST_registrations_promotion_search_Admin from './contracts/POST/registrations/promotion/search/Admin.json' with { type: 'json' }
@@ -137,8 +135,6 @@ import PATCH_game_Organizer from './contracts/PATCH/game/Organizer.json' with {
137
135
  import PATCH_game_Admin from './contracts/PATCH/game/Admin.json' with { type: 'json' }
138
136
  import PATCH_game_venue_Organizer from './contracts/PATCH/game/venue/Organizer.json' with { type: 'json' }
139
137
  import PATCH_game_venue_Admin from './contracts/PATCH/game/venue/Admin.json' with { type: 'json' }
140
- import PATCH_game_registration_Organizer from './contracts/PATCH/game/registration/Organizer.json' with { type: 'json' }
141
- import PATCH_game_registration_Admin from './contracts/PATCH/game/registration/Admin.json' with { type: 'json' }
142
138
  import PATCH_registrations_Service from './contracts/PATCH/registrations/Service.json' with { type: 'json' }
143
139
  import PATCH_registrations_Organizer from './contracts/PATCH/registrations/Organizer.json' with { type: 'json' }
144
140
  import PATCH_registrations_Admin from './contracts/PATCH/registrations/Admin.json' with { type: 'json' }
@@ -219,8 +215,6 @@ export const Contracts = Object.freeze(
219
215
  'POST/user/password/Admin',
220
216
  'POST/game/Organizer',
221
217
  'POST/game/Admin',
222
- 'POST/game/registrations/search/Organizer',
223
- 'POST/game/registrations/search/Admin',
224
218
  'POST/registrations/promotion/search/Service',
225
219
  'POST/registrations/promotion/search/Organizer',
226
220
  'POST/registrations/promotion/search/Admin',
@@ -318,8 +312,6 @@ export const Contracts = Object.freeze(
318
312
  'PATCH/game/Admin',
319
313
  'PATCH/game/venue/Organizer',
320
314
  'PATCH/game/venue/Admin',
321
- 'PATCH/game/registration/Organizer',
322
- 'PATCH/game/registration/Admin',
323
315
  'PATCH/registrations/Service',
324
316
  'PATCH/registrations/Organizer',
325
317
  'PATCH/registrations/Admin',
@@ -402,8 +394,6 @@ export const Schemas = Object.freeze(
402
394
  POST_user_password_Admin,
403
395
  POST_game_Organizer,
404
396
  POST_game_Admin,
405
- POST_game_registrations_search_Organizer,
406
- POST_game_registrations_search_Admin,
407
397
  POST_registrations_promotion_search_Service,
408
398
  POST_registrations_promotion_search_Organizer,
409
399
  POST_registrations_promotion_search_Admin,
@@ -501,8 +491,6 @@ export const Schemas = Object.freeze(
501
491
  PATCH_game_Admin,
502
492
  PATCH_game_venue_Organizer,
503
493
  PATCH_game_venue_Admin,
504
- PATCH_game_registration_Organizer,
505
- PATCH_game_registration_Admin,
506
494
  PATCH_registrations_Service,
507
495
  PATCH_registrations_Organizer,
508
496
  PATCH_registrations_Admin,
@@ -585,8 +573,6 @@ export const ContractSchema = Object.freeze(
585
573
  'POST/user/password/Admin': POST_user_password_Admin,
586
574
  'POST/game/Organizer': POST_game_Organizer,
587
575
  'POST/game/Admin': POST_game_Admin,
588
- 'POST/game/registrations/search/Organizer': POST_game_registrations_search_Organizer,
589
- 'POST/game/registrations/search/Admin': POST_game_registrations_search_Admin,
590
576
  'POST/registrations/promotion/search/Service': POST_registrations_promotion_search_Service,
591
577
  'POST/registrations/promotion/search/Organizer': POST_registrations_promotion_search_Organizer,
592
578
  'POST/registrations/promotion/search/Admin': POST_registrations_promotion_search_Admin,
@@ -684,8 +670,6 @@ export const ContractSchema = Object.freeze(
684
670
  'PATCH/game/Admin': PATCH_game_Admin,
685
671
  'PATCH/game/venue/Organizer': PATCH_game_venue_Organizer,
686
672
  'PATCH/game/venue/Admin': PATCH_game_venue_Admin,
687
- 'PATCH/game/registration/Organizer': PATCH_game_registration_Organizer,
688
- 'PATCH/game/registration/Admin': PATCH_game_registration_Admin,
689
673
  'PATCH/registrations/Service': PATCH_registrations_Service,
690
674
  'PATCH/registrations/Organizer': PATCH_registrations_Organizer,
691
675
  'PATCH/registrations/Admin': PATCH_registrations_Admin,
@@ -1,27 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "team_name": {
6
- "type": "string"
7
- },
8
- "human_name": {
9
- "type": "string"
10
- },
11
- "people_count": {
12
- "type": "integer"
13
- },
14
- "note": {
15
- "type": "string"
16
- },
17
- "visibility": {
18
- "type": "string",
19
- "enum": [
20
- "Visible",
21
- "Hidden"
22
- ]
23
- }
24
- },
25
- "required": [],
26
- "additionalProperties": false
27
- }
@@ -1,27 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "team_name": {
6
- "type": "string"
7
- },
8
- "human_name": {
9
- "type": "string"
10
- },
11
- "people_count": {
12
- "type": "integer"
13
- },
14
- "note": {
15
- "type": "string"
16
- },
17
- "visibility": {
18
- "type": "string",
19
- "enum": [
20
- "Visible",
21
- "Hidden"
22
- ]
23
- }
24
- },
25
- "required": [],
26
- "additionalProperties": false
27
- }
@@ -1,51 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "registration": {
6
- "type": "array",
7
- "items": {
8
- "type": "string"
9
- },
10
- "uniqueItems": true
11
- },
12
- "game": {
13
- "type": "array",
14
- "items": {
15
- "type": "string"
16
- },
17
- "uniqueItems": true
18
- },
19
- "game/status": {
20
- "type": "array",
21
- "items": {
22
- "type": "string",
23
- "enum": [
24
- "Approve",
25
- "Archive",
26
- "Close",
27
- "Finish",
28
- "Invite",
29
- "Reserve",
30
- "Moderate",
31
- "Publish",
32
- "Reject"
33
- ]
34
- },
35
- "uniqueItems": true
36
- },
37
- "registration/visibility": {
38
- "type": "array",
39
- "items": {
40
- "type": "string",
41
- "enum": [
42
- "Visible",
43
- "Hidden"
44
- ]
45
- },
46
- "uniqueItems": true
47
- }
48
- },
49
- "required": [],
50
- "additionalProperties": false
51
- }
@@ -1,51 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "registration": {
6
- "type": "array",
7
- "items": {
8
- "type": "string"
9
- },
10
- "uniqueItems": true
11
- },
12
- "game": {
13
- "type": "array",
14
- "items": {
15
- "type": "string"
16
- },
17
- "uniqueItems": true
18
- },
19
- "game/status": {
20
- "type": "array",
21
- "items": {
22
- "type": "string",
23
- "enum": [
24
- "Approve",
25
- "Archive",
26
- "Close",
27
- "Finish",
28
- "Invite",
29
- "Reserve",
30
- "Moderate",
31
- "Publish",
32
- "Reject"
33
- ]
34
- },
35
- "uniqueItems": true
36
- },
37
- "registration/visibility": {
38
- "type": "array",
39
- "items": {
40
- "type": "string",
41
- "enum": [
42
- "Visible",
43
- "Hidden"
44
- ]
45
- },
46
- "uniqueItems": true
47
- }
48
- },
49
- "required": [],
50
- "additionalProperties": false
51
- }