@vertikalx/vtx-backend-client 2.0.0-dev.5 → 2.0.0-dev.7
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 +1 -1
- package/src/api/vtx-base-api.js +31 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +2 -0
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +1 -0
- package/src/client/types.js +3 -0
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/package.json
CHANGED
package/src/api/vtx-base-api.js
CHANGED
|
@@ -5649,8 +5649,12 @@ class VTXBaseAPI {
|
|
|
5649
5649
|
});
|
|
5650
5650
|
let retValue = {};
|
|
5651
5651
|
const fields = {
|
|
5652
|
+
_id: true,
|
|
5652
5653
|
label: true,
|
|
5653
5654
|
description: true,
|
|
5655
|
+
displayIndex: true,
|
|
5656
|
+
competitionId: true,
|
|
5657
|
+
visibility: true,
|
|
5654
5658
|
photos: {
|
|
5655
5659
|
_id: true,
|
|
5656
5660
|
photo: {
|
|
@@ -5697,8 +5701,12 @@ class VTXBaseAPI {
|
|
|
5697
5701
|
});
|
|
5698
5702
|
let retValue = {};
|
|
5699
5703
|
const fields = {
|
|
5704
|
+
_id: true,
|
|
5700
5705
|
label: true,
|
|
5701
5706
|
description: true,
|
|
5707
|
+
displayIndex: true,
|
|
5708
|
+
competitionId: true,
|
|
5709
|
+
visibility: true,
|
|
5702
5710
|
photos: {
|
|
5703
5711
|
_id: true,
|
|
5704
5712
|
photo: {
|
|
@@ -6158,6 +6166,9 @@ class VTXBaseAPI {
|
|
|
6158
6166
|
_id: true,
|
|
6159
6167
|
label: true,
|
|
6160
6168
|
description: true,
|
|
6169
|
+
displayIndex: true,
|
|
6170
|
+
competitionId: true,
|
|
6171
|
+
visibility: true,
|
|
6161
6172
|
photos: {
|
|
6162
6173
|
_id: true,
|
|
6163
6174
|
photo: {
|
|
@@ -6205,6 +6216,9 @@ class VTXBaseAPI {
|
|
|
6205
6216
|
_id: true,
|
|
6206
6217
|
label: true,
|
|
6207
6218
|
description: true,
|
|
6219
|
+
displayIndex: true,
|
|
6220
|
+
competitionId: true,
|
|
6221
|
+
visibility: true,
|
|
6208
6222
|
photos: {
|
|
6209
6223
|
_id: true,
|
|
6210
6224
|
photo: {
|
|
@@ -6251,8 +6265,12 @@ class VTXBaseAPI {
|
|
|
6251
6265
|
});
|
|
6252
6266
|
let retValue = {};
|
|
6253
6267
|
const fields = {
|
|
6268
|
+
_id: true,
|
|
6254
6269
|
label: true,
|
|
6255
6270
|
description: true,
|
|
6271
|
+
displayIndex: true,
|
|
6272
|
+
competitionId: true,
|
|
6273
|
+
visibility: true,
|
|
6256
6274
|
photos: {
|
|
6257
6275
|
_id: true,
|
|
6258
6276
|
photo: {
|
|
@@ -6302,6 +6320,9 @@ class VTXBaseAPI {
|
|
|
6302
6320
|
_id: true,
|
|
6303
6321
|
label: true,
|
|
6304
6322
|
description: true,
|
|
6323
|
+
displayIndex: true,
|
|
6324
|
+
competitionId: true,
|
|
6325
|
+
visibility: true,
|
|
6305
6326
|
photos: {
|
|
6306
6327
|
_id: true,
|
|
6307
6328
|
photo: {
|
|
@@ -6345,6 +6366,7 @@ class VTXBaseAPI {
|
|
|
6345
6366
|
headers: this.headers,
|
|
6346
6367
|
});
|
|
6347
6368
|
const fieldsAthlete = {
|
|
6369
|
+
_id: true,
|
|
6348
6370
|
firstName: true,
|
|
6349
6371
|
lastName: true,
|
|
6350
6372
|
screenName: true,
|
|
@@ -6354,7 +6376,9 @@ class VTXBaseAPI {
|
|
|
6354
6376
|
_id: true,
|
|
6355
6377
|
},
|
|
6356
6378
|
location: {
|
|
6379
|
+
_id: true,
|
|
6357
6380
|
city: {
|
|
6381
|
+
_id: true,
|
|
6358
6382
|
name: true,
|
|
6359
6383
|
state: {
|
|
6360
6384
|
name: true,
|
|
@@ -6366,16 +6390,23 @@ class VTXBaseAPI {
|
|
|
6366
6390
|
},
|
|
6367
6391
|
aboutMe: true,
|
|
6368
6392
|
mainSport: {
|
|
6393
|
+
_id: true,
|
|
6369
6394
|
name: true
|
|
6370
6395
|
},
|
|
6371
6396
|
mainSportLevel: {
|
|
6397
|
+
_id: true,
|
|
6372
6398
|
label: true,
|
|
6373
6399
|
},
|
|
6374
6400
|
scores: {
|
|
6375
6401
|
vtxScore: true,
|
|
6402
|
+
socialScore: true,
|
|
6403
|
+
trainingScore: true,
|
|
6404
|
+
competitionScore: true
|
|
6376
6405
|
},
|
|
6377
6406
|
competitions: {
|
|
6407
|
+
_id: true,
|
|
6378
6408
|
event: {
|
|
6409
|
+
_id: true,
|
|
6379
6410
|
name: true,
|
|
6380
6411
|
},
|
|
6381
6412
|
participationDate: true,
|