@shakerquiz/contracts 0.0.239 → 0.0.241
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
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
},
|
|
19
|
+
"column": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"id",
|
|
25
|
+
"human_name",
|
|
26
|
+
"email",
|
|
27
|
+
"phone",
|
|
28
|
+
"team_name",
|
|
29
|
+
"people_count",
|
|
30
|
+
"is_first",
|
|
31
|
+
"is_birthday",
|
|
32
|
+
"is_extensible",
|
|
33
|
+
"is_alone",
|
|
34
|
+
"ads_from",
|
|
35
|
+
"comment",
|
|
36
|
+
"promocode",
|
|
37
|
+
"channel",
|
|
38
|
+
"vkontakte",
|
|
39
|
+
"telegram",
|
|
40
|
+
"chatapp_id",
|
|
41
|
+
"utm_term",
|
|
42
|
+
"utm_source",
|
|
43
|
+
"utm_medium",
|
|
44
|
+
"utm_content",
|
|
45
|
+
"utm_campaign",
|
|
46
|
+
"confirmed_channel",
|
|
47
|
+
"status",
|
|
48
|
+
"lineup",
|
|
49
|
+
"mailing",
|
|
50
|
+
"celebrant",
|
|
51
|
+
"note",
|
|
52
|
+
"visibility",
|
|
53
|
+
"time_created",
|
|
54
|
+
"time_updated"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
},
|
|
59
|
+
"registration/status": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"Created",
|
|
65
|
+
"Confirmed",
|
|
66
|
+
"Cancelled"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"uniqueItems": true
|
|
70
|
+
},
|
|
71
|
+
"registration/lineup": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"Main",
|
|
77
|
+
"Reserve"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"uniqueItems": true
|
|
81
|
+
},
|
|
82
|
+
"registration/interval": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"1 day",
|
|
88
|
+
"3 days",
|
|
89
|
+
"1 week",
|
|
90
|
+
"1 month",
|
|
91
|
+
"3 months",
|
|
92
|
+
"6 months",
|
|
93
|
+
"1 year",
|
|
94
|
+
"all time"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"uniqueItems": true
|
|
98
|
+
},
|
|
99
|
+
"registration/range": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"start": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"format": "date-time"
|
|
105
|
+
},
|
|
106
|
+
"end": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"format": "date-time"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"required": ["start", "end"],
|
|
112
|
+
"additionalProperties": false
|
|
113
|
+
},
|
|
114
|
+
"registration/visibility": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"items": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"enum": [
|
|
119
|
+
"Visible",
|
|
120
|
+
"Hidden"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"uniqueItems": true
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": [],
|
|
127
|
+
"additionalProperties": false
|
|
128
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"registration": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
},
|
|
19
|
+
"column": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"id",
|
|
25
|
+
"human_name",
|
|
26
|
+
"email",
|
|
27
|
+
"phone",
|
|
28
|
+
"team_name",
|
|
29
|
+
"people_count",
|
|
30
|
+
"is_first",
|
|
31
|
+
"is_birthday",
|
|
32
|
+
"is_extensible",
|
|
33
|
+
"is_alone",
|
|
34
|
+
"ads_from",
|
|
35
|
+
"comment",
|
|
36
|
+
"promocode",
|
|
37
|
+
"channel",
|
|
38
|
+
"vkontakte",
|
|
39
|
+
"telegram",
|
|
40
|
+
"chatapp_id",
|
|
41
|
+
"utm_term",
|
|
42
|
+
"utm_source",
|
|
43
|
+
"utm_medium",
|
|
44
|
+
"utm_content",
|
|
45
|
+
"utm_campaign",
|
|
46
|
+
"confirmed_channel",
|
|
47
|
+
"status",
|
|
48
|
+
"lineup",
|
|
49
|
+
"mailing",
|
|
50
|
+
"celebrant",
|
|
51
|
+
"note",
|
|
52
|
+
"visibility",
|
|
53
|
+
"time_created",
|
|
54
|
+
"time_updated"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
},
|
|
59
|
+
"registration/status": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"Created",
|
|
65
|
+
"Confirmed",
|
|
66
|
+
"Cancelled"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"uniqueItems": true
|
|
70
|
+
},
|
|
71
|
+
"registration/lineup": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"Main",
|
|
77
|
+
"Reserve"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"uniqueItems": true
|
|
81
|
+
},
|
|
82
|
+
"registration/interval": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"1 day",
|
|
88
|
+
"3 days",
|
|
89
|
+
"1 week",
|
|
90
|
+
"1 month",
|
|
91
|
+
"3 months",
|
|
92
|
+
"6 months",
|
|
93
|
+
"1 year",
|
|
94
|
+
"all time"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"uniqueItems": true
|
|
98
|
+
},
|
|
99
|
+
"registration/range": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"start": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"format": "date-time"
|
|
105
|
+
},
|
|
106
|
+
"end": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"format": "date-time"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"required": ["start", "end"],
|
|
112
|
+
"additionalProperties": false
|
|
113
|
+
},
|
|
114
|
+
"registration/visibility": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"items": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"enum": [
|
|
119
|
+
"Visible",
|
|
120
|
+
"Hidden"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"uniqueItems": true
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": [],
|
|
127
|
+
"additionalProperties": false
|
|
128
|
+
}
|
package/source/index.js
CHANGED
|
@@ -56,6 +56,8 @@ import POST_registrations_restoration_search_Service from './contracts/POST/regi
|
|
|
56
56
|
import POST_registrations_search_Unknown from './contracts/POST/registrations/search/Unknown.json' with { type: 'json' }
|
|
57
57
|
import POST_registrations_search_Admin from './contracts/POST/registrations/search/Admin.json' with { type: 'json' }
|
|
58
58
|
import POST_registrations_search_Organizer from './contracts/POST/registrations/search/Organizer.json' with { type: 'json' }
|
|
59
|
+
import POST_registrations_export_Admin from './contracts/POST/registrations/export/Admin.json' with { type: 'json' }
|
|
60
|
+
import POST_registrations_export_Organizer from './contracts/POST/registrations/export/Organizer.json' with { type: 'json' }
|
|
59
61
|
import POST_game_Admin from './contracts/POST/game/Admin.json' with { type: 'json' }
|
|
60
62
|
import POST_game_Organizer from './contracts/POST/game/Organizer.json' with { type: 'json' }
|
|
61
63
|
import POST_registration_Unknown from './contracts/POST/registration/Unknown.json' with { type: 'json' }
|
|
@@ -237,6 +239,8 @@ export const Contracts = Object.freeze(
|
|
|
237
239
|
'POST/registrations/search/Unknown',
|
|
238
240
|
'POST/registrations/search/Admin',
|
|
239
241
|
'POST/registrations/search/Organizer',
|
|
242
|
+
'POST/registrations/export/Admin',
|
|
243
|
+
'POST/registrations/export/Organizer',
|
|
240
244
|
'POST/game/Admin',
|
|
241
245
|
'POST/game/Organizer',
|
|
242
246
|
'POST/registration/Unknown',
|
|
@@ -420,6 +424,8 @@ export const Schemas = Object.freeze(
|
|
|
420
424
|
POST_registrations_search_Unknown,
|
|
421
425
|
POST_registrations_search_Admin,
|
|
422
426
|
POST_registrations_search_Organizer,
|
|
427
|
+
POST_registrations_export_Admin,
|
|
428
|
+
POST_registrations_export_Organizer,
|
|
423
429
|
POST_game_Admin,
|
|
424
430
|
POST_game_Organizer,
|
|
425
431
|
POST_registration_Unknown,
|
|
@@ -603,6 +609,8 @@ export const ContractSchema = Object.freeze(
|
|
|
603
609
|
'POST/registrations/search/Unknown': POST_registrations_search_Unknown,
|
|
604
610
|
'POST/registrations/search/Admin': POST_registrations_search_Admin,
|
|
605
611
|
'POST/registrations/search/Organizer': POST_registrations_search_Organizer,
|
|
612
|
+
'POST/registrations/export/Admin': POST_registrations_export_Admin,
|
|
613
|
+
'POST/registrations/export/Organizer': POST_registrations_export_Organizer,
|
|
606
614
|
'POST/game/Admin': POST_game_Admin,
|
|
607
615
|
'POST/game/Organizer': POST_game_Organizer,
|
|
608
616
|
'POST/registration/Unknown': POST_registration_Unknown,
|