@shakerquiz/contracts 0.0.122 → 0.0.124

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 (28) hide show
  1. package/package.json +1 -1
  2. package/source/contracts/PATCH/city/admin.json +662 -0
  3. package/source/contracts/PATCH/game/Service.json +38 -0
  4. package/source/contracts/PATCH/game/admin.json +14 -0
  5. package/source/contracts/PATCH/game/organizer.json +14 -0
  6. package/source/contracts/PATCH/games/status/Service.json +33 -0
  7. package/source/contracts/POST/{games/search/Service.json → cities/search/Unknown.json} +18 -22
  8. package/source/contracts/POST/{themes/search/Service.json → cities/search/admin.json} +5 -9
  9. package/source/contracts/POST/games/search/Unknown.json +18 -12
  10. package/source/contracts/POST/registrations/search/{admin.json → Unknown.json} +15 -18
  11. package/source/contracts/POST/{themes → roles}/search/admin.json +5 -8
  12. package/source/contracts/POST/{games/search/organizer.json → themes/search/Unknown.json} +21 -19
  13. package/source/contracts/POST/{venues → users}/search/admin.json +8 -15
  14. package/source/contracts/POST/{registrations/search/organizer.json → venues/search/Unknown.json} +23 -27
  15. package/source/index.js +12 -68
  16. package/source/contracts/PATCH/city/country/admin.json +0 -286
  17. package/source/contracts/PATCH/city/currency/admin.json +0 -182
  18. package/source/contracts/PATCH/city/timezone/admin.json +0 -510
  19. package/source/contracts/PATCH/city/vk_group_token/admin.json +0 -21
  20. package/source/contracts/PATCH/game/status/Service.json +0 -21
  21. package/source/contracts/PATCH/game/status/admin.json +0 -28
  22. package/source/contracts/PATCH/game/status/organizer.json +0 -28
  23. package/source/contracts/POST/city/vk_group_token/admin.json +0 -21
  24. package/source/contracts/POST/games/search/admin.json +0 -55
  25. package/source/contracts/POST/registrations/search/Service.json +0 -70
  26. package/source/contracts/POST/themes/search/organizer.json +0 -30
  27. package/source/contracts/POST/venues/search/Service.json +0 -42
  28. package/source/contracts/POST/venues/search/organizer.json +0 -42
@@ -1,70 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "cities": {
6
- "type": "array",
7
- "items": {
8
- "type": "string",
9
- "format": "uuid"
10
- },
11
- "uniqueItems": true
12
- },
13
- "venues": {
14
- "type": "array",
15
- "items": {
16
- "type": "string",
17
- "format": "uuid"
18
- },
19
- "uniqueItems": true
20
- },
21
- "games": {
22
- "type": "array",
23
- "items": {
24
- "type": "string",
25
- "format": "uuid"
26
- },
27
- "uniqueItems": true
28
- },
29
- "ids": {
30
- "type": "array",
31
- "items": {
32
- "type": "string",
33
- "format": "uuid"
34
- },
35
- "uniqueItems": true
36
- },
37
- "statuses": {
38
- "type": "array",
39
- "items": {
40
- "type": "string",
41
- "enum": [
42
- "Created",
43
- "Confirmed",
44
- "Cancelled"
45
- ]
46
- },
47
- "uniqueItems": true
48
- },
49
- "lineups": {
50
- "type": "array",
51
- "items": {
52
- "type": "string",
53
- "enum": [
54
- "Main",
55
- "Reserve"
56
- ]
57
- },
58
- "uniqueItems": true
59
- }
60
- },
61
- "required": [
62
- "cities",
63
- "venues",
64
- "games",
65
- "ids",
66
- "statuses",
67
- "lineups"
68
- ],
69
- "additionalProperties": false
70
- }
@@ -1,30 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "ids": {
6
- "type": "array",
7
- "items": {
8
- "type": "string",
9
- "format": "uuid"
10
- },
11
- "uniqueItems": true
12
- },
13
- "statuses": {
14
- "type": "array",
15
- "items": {
16
- "type": "string",
17
- "enum": [
18
- "Active",
19
- "Archive"
20
- ]
21
- },
22
- "uniqueItems": true
23
- }
24
- },
25
- "required": [
26
- "ids",
27
- "statuses"
28
- ],
29
- "additionalProperties": false
30
- }
@@ -1,42 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "ids": {
6
- "type": "array",
7
- "items": {
8
- "type": "string",
9
- "format": "uuid"
10
- },
11
- "uniqueItems": true
12
- },
13
- "statuses": {
14
- "type": "array",
15
- "items": {
16
- "type": "string",
17
- "enum": [
18
- "Active",
19
- "Archive"
20
- ]
21
- },
22
- "uniqueItems": true
23
- },
24
- "audiences": {
25
- "type": "array",
26
- "items": {
27
- "type": "string",
28
- "enum": [
29
- "Open",
30
- "Adults"
31
- ]
32
- },
33
- "uniqueItems": true
34
- }
35
- },
36
- "required": [
37
- "ids",
38
- "statuses",
39
- "audiences"
40
- ],
41
- "additionalProperties": false
42
- }
@@ -1,42 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "ids": {
6
- "type": "array",
7
- "items": {
8
- "type": "string",
9
- "format": "uuid"
10
- },
11
- "uniqueItems": true
12
- },
13
- "statuses": {
14
- "type": "array",
15
- "items": {
16
- "type": "string",
17
- "enum": [
18
- "Active",
19
- "Archive"
20
- ]
21
- },
22
- "uniqueItems": true
23
- },
24
- "audiences": {
25
- "type": "array",
26
- "items": {
27
- "type": "string",
28
- "enum": [
29
- "Open",
30
- "Adults"
31
- ]
32
- },
33
- "uniqueItems": true
34
- }
35
- },
36
- "required": [
37
- "ids",
38
- "statuses",
39
- "audiences"
40
- ],
41
- "additionalProperties": false
42
- }