@drxsuperapp/sdk 1.1.286 → 1.1.288
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/deploy.log +9 -8
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.d.ts +6 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.js +4 -0
- package/dist/models/ApiTournamentPadelPostRequestBody.d.ts +6 -0
- package/dist/models/ApiTournamentPadelPostRequestBody.js +2 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObject.ts +9 -0
- package/models/ApiTournamentPadelPostRequestBody.ts +8 -0
- package/package.json +1 -1
package/deploy.log
CHANGED
|
@@ -570,20 +570,21 @@
|
|
|
570
570
|
# https://opencollective.com/openapi_generator/donate #
|
|
571
571
|
################################################################################
|
|
572
572
|
✅ SDK generated
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
573
|
+
On branch master
|
|
574
|
+
Your branch is up to date with 'origin/master'.
|
|
575
|
+
|
|
576
|
+
nothing to commit, working tree clean
|
|
577
|
+
Everything up-to-date
|
|
577
578
|
✅ Changes committed and pushed
|
|
578
|
-
v1.1.
|
|
579
|
+
v1.1.288
|
|
579
580
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
580
|
-
|
|
581
|
+
3c552ce..08d50c5 master -> master
|
|
581
582
|
✅ Version bumped
|
|
582
583
|
|
|
583
|
-
> @drxsuperapp/sdk@1.1.
|
|
584
|
+
> @drxsuperapp/sdk@1.1.288 prepublishOnly
|
|
584
585
|
> npm run build
|
|
585
586
|
|
|
586
587
|
|
|
587
|
-
> @drxsuperapp/sdk@1.1.
|
|
588
|
+
> @drxsuperapp/sdk@1.1.288 build
|
|
588
589
|
> tsc
|
|
589
590
|
|
|
@@ -70,6 +70,12 @@ export interface ApiTournamentPadelIdGet200ResponseResponseObject {
|
|
|
70
70
|
* @memberof ApiTournamentPadelIdGet200ResponseResponseObject
|
|
71
71
|
*/
|
|
72
72
|
super_round_start: number | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof ApiTournamentPadelIdGet200ResponseResponseObject
|
|
77
|
+
*/
|
|
78
|
+
score_cap: number | null;
|
|
73
79
|
/**
|
|
74
80
|
*
|
|
75
81
|
* @type {ApiTournamentPadelIdGet200ResponseResponseObjectGameType}
|
|
@@ -38,6 +38,8 @@ export function instanceOfApiTournamentPadelIdGet200ResponseResponseObject(value
|
|
|
38
38
|
return false;
|
|
39
39
|
if (!('super_round_start' in value) || value['super_round_start'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
+
if (!('score_cap' in value) || value['score_cap'] === undefined)
|
|
42
|
+
return false;
|
|
41
43
|
if (!('game_type' in value) || value['game_type'] === undefined)
|
|
42
44
|
return false;
|
|
43
45
|
if (!('players' in value) || value['players'] === undefined)
|
|
@@ -70,6 +72,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectFromJSONTyped(js
|
|
|
70
72
|
'updated_at': (new Date(json['updated_at'])),
|
|
71
73
|
'user_id': json['user_id'],
|
|
72
74
|
'super_round_start': json['super_round_start'],
|
|
75
|
+
'score_cap': json['score_cap'],
|
|
73
76
|
'game_type': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeFromJSON(json['game_type']),
|
|
74
77
|
'players': (json['players'].map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFromJSON)),
|
|
75
78
|
'matchesSolo': (json['matchesSolo'].map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerFromJSON)),
|
|
@@ -95,6 +98,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectToJSONTyped(valu
|
|
|
95
98
|
'updated_at': ((value['updated_at']).toISOString()),
|
|
96
99
|
'user_id': value['user_id'],
|
|
97
100
|
'super_round_start': value['super_round_start'],
|
|
101
|
+
'score_cap': value['score_cap'],
|
|
98
102
|
'game_type': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeToJSON(value['game_type']),
|
|
99
103
|
'players': (value['players'].map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerToJSON)),
|
|
100
104
|
'matchesSolo': (value['matchesSolo'].map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerToJSON)),
|
|
@@ -59,6 +59,12 @@ export interface ApiTournamentPadelPostRequestBody {
|
|
|
59
59
|
* @memberof ApiTournamentPadelPostRequestBody
|
|
60
60
|
*/
|
|
61
61
|
super_round_start?: number | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof ApiTournamentPadelPostRequestBody
|
|
66
|
+
*/
|
|
67
|
+
score_cap?: number | null;
|
|
62
68
|
}
|
|
63
69
|
/**
|
|
64
70
|
* Check if a given object implements the ApiTournamentPadelPostRequestBody interface.
|
|
@@ -44,6 +44,7 @@ export function ApiTournamentPadelPostRequestBodyFromJSONTyped(json, ignoreDiscr
|
|
|
44
44
|
'players': (json['players'].map(ApiTournamentPadelPostRequestBodyPlayersInnerFromJSON)),
|
|
45
45
|
'teams': (json['teams'].map(ApiTournamentPadelPostRequestBodyTeamsInnerFromJSON)),
|
|
46
46
|
'super_round_start': json['super_round_start'] == null ? undefined : json['super_round_start'],
|
|
47
|
+
'score_cap': json['score_cap'] == null ? undefined : json['score_cap'],
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
export function ApiTournamentPadelPostRequestBodyToJSON(json) {
|
|
@@ -61,5 +62,6 @@ export function ApiTournamentPadelPostRequestBodyToJSONTyped(value, ignoreDiscri
|
|
|
61
62
|
'players': (value['players'].map(ApiTournamentPadelPostRequestBodyPlayersInnerToJSON)),
|
|
62
63
|
'teams': (value['teams'].map(ApiTournamentPadelPostRequestBodyTeamsInnerToJSON)),
|
|
63
64
|
'super_round_start': value['super_round_start'],
|
|
65
|
+
'score_cap': value['score_cap'],
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -117,6 +117,12 @@ export interface ApiTournamentPadelIdGet200ResponseResponseObject {
|
|
|
117
117
|
* @memberof ApiTournamentPadelIdGet200ResponseResponseObject
|
|
118
118
|
*/
|
|
119
119
|
super_round_start: number | null;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof ApiTournamentPadelIdGet200ResponseResponseObject
|
|
124
|
+
*/
|
|
125
|
+
score_cap: number | null;
|
|
120
126
|
/**
|
|
121
127
|
*
|
|
122
128
|
* @type {ApiTournamentPadelIdGet200ResponseResponseObjectGameType}
|
|
@@ -173,6 +179,7 @@ export function instanceOfApiTournamentPadelIdGet200ResponseResponseObject(value
|
|
|
173
179
|
if (!('updated_at' in value) || value['updated_at'] === undefined) return false;
|
|
174
180
|
if (!('user_id' in value) || value['user_id'] === undefined) return false;
|
|
175
181
|
if (!('super_round_start' in value) || value['super_round_start'] === undefined) return false;
|
|
182
|
+
if (!('score_cap' in value) || value['score_cap'] === undefined) return false;
|
|
176
183
|
if (!('game_type' in value) || value['game_type'] === undefined) return false;
|
|
177
184
|
if (!('players' in value) || value['players'] === undefined) return false;
|
|
178
185
|
if (!('matchesSolo' in value) || value['matchesSolo'] === undefined) return false;
|
|
@@ -201,6 +208,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectFromJSONTyped(js
|
|
|
201
208
|
'updated_at': (new Date(json['updated_at'])),
|
|
202
209
|
'user_id': json['user_id'],
|
|
203
210
|
'super_round_start': json['super_round_start'],
|
|
211
|
+
'score_cap': json['score_cap'],
|
|
204
212
|
'game_type': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeFromJSON(json['game_type']),
|
|
205
213
|
'players': ((json['players'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFromJSON)),
|
|
206
214
|
'matchesSolo': ((json['matchesSolo'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerFromJSON)),
|
|
@@ -230,6 +238,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectToJSONTyped(valu
|
|
|
230
238
|
'updated_at': ((value['updated_at']).toISOString()),
|
|
231
239
|
'user_id': value['user_id'],
|
|
232
240
|
'super_round_start': value['super_round_start'],
|
|
241
|
+
'score_cap': value['score_cap'],
|
|
233
242
|
'game_type': ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeToJSON(value['game_type']),
|
|
234
243
|
'players': ((value['players'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerToJSON)),
|
|
235
244
|
'matchesSolo': ((value['matchesSolo'] as Array<any>).map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerToJSON)),
|
|
@@ -76,6 +76,12 @@ export interface ApiTournamentPadelPostRequestBody {
|
|
|
76
76
|
* @memberof ApiTournamentPadelPostRequestBody
|
|
77
77
|
*/
|
|
78
78
|
super_round_start?: number | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof ApiTournamentPadelPostRequestBody
|
|
83
|
+
*/
|
|
84
|
+
score_cap?: number | null;
|
|
79
85
|
}
|
|
80
86
|
|
|
81
87
|
/**
|
|
@@ -107,6 +113,7 @@ export function ApiTournamentPadelPostRequestBodyFromJSONTyped(json: any, ignore
|
|
|
107
113
|
'players': ((json['players'] as Array<any>).map(ApiTournamentPadelPostRequestBodyPlayersInnerFromJSON)),
|
|
108
114
|
'teams': ((json['teams'] as Array<any>).map(ApiTournamentPadelPostRequestBodyTeamsInnerFromJSON)),
|
|
109
115
|
'super_round_start': json['super_round_start'] == null ? undefined : json['super_round_start'],
|
|
116
|
+
'score_cap': json['score_cap'] == null ? undefined : json['score_cap'],
|
|
110
117
|
};
|
|
111
118
|
}
|
|
112
119
|
|
|
@@ -128,6 +135,7 @@ export function ApiTournamentPadelPostRequestBodyToJSONTyped(value?: ApiTourname
|
|
|
128
135
|
'players': ((value['players'] as Array<any>).map(ApiTournamentPadelPostRequestBodyPlayersInnerToJSON)),
|
|
129
136
|
'teams': ((value['teams'] as Array<any>).map(ApiTournamentPadelPostRequestBodyTeamsInnerToJSON)),
|
|
130
137
|
'super_round_start': value['super_round_start'],
|
|
138
|
+
'score_cap': value['score_cap'],
|
|
131
139
|
};
|
|
132
140
|
}
|
|
133
141
|
|