@vertikalx/vtx-backend-client 2.0.0-dev-alejo.23 → 2.0.0-dev-alejo.25
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 +38 -2
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +28 -0
- package/src/client/schema.js +9 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +17 -0
- package/src/client/types.js +259 -216
- 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
|
@@ -3783,8 +3783,7 @@ class VTXBaseAPI {
|
|
|
3783
3783
|
eventWebSite: true,
|
|
3784
3784
|
mainSport: {
|
|
3785
3785
|
_id: true,
|
|
3786
|
-
name: true
|
|
3787
|
-
resultType: true
|
|
3786
|
+
name: true
|
|
3788
3787
|
},
|
|
3789
3788
|
startDate: true,
|
|
3790
3789
|
endDate: true,
|
|
@@ -4274,6 +4273,12 @@ class VTXBaseAPI {
|
|
|
4274
4273
|
initialFundsObtained: true,
|
|
4275
4274
|
fundsObtained: true,
|
|
4276
4275
|
vtxComissionPct: true,
|
|
4276
|
+
video: {
|
|
4277
|
+
_id: true,
|
|
4278
|
+
source: true,
|
|
4279
|
+
url: true,
|
|
4280
|
+
sourceData: true
|
|
4281
|
+
},
|
|
4277
4282
|
location: {
|
|
4278
4283
|
userProvidedLatitude: true,
|
|
4279
4284
|
userProvidedLongitude: true,
|
|
@@ -4612,6 +4617,12 @@ class VTXBaseAPI {
|
|
|
4612
4617
|
fundsRequired: true,
|
|
4613
4618
|
initialFundsObtained: true,
|
|
4614
4619
|
fundsObtained: true,
|
|
4620
|
+
video: {
|
|
4621
|
+
_id: true,
|
|
4622
|
+
source: true,
|
|
4623
|
+
url: true,
|
|
4624
|
+
sourceData: true
|
|
4625
|
+
},
|
|
4615
4626
|
endingDate: true,
|
|
4616
4627
|
}
|
|
4617
4628
|
};
|
|
@@ -4980,6 +4991,12 @@ class VTXBaseAPI {
|
|
|
4980
4991
|
initialFundsObtained: true,
|
|
4981
4992
|
fundsObtained: true,
|
|
4982
4993
|
vtxComissionPct: true,
|
|
4994
|
+
video: {
|
|
4995
|
+
_id: true,
|
|
4996
|
+
source: true,
|
|
4997
|
+
url: true,
|
|
4998
|
+
sourceData: true
|
|
4999
|
+
},
|
|
4983
5000
|
location: {
|
|
4984
5001
|
userProvidedLatitude: true,
|
|
4985
5002
|
userProvidedLongitude: true,
|
|
@@ -5847,6 +5864,12 @@ class VTXBaseAPI {
|
|
|
5847
5864
|
initialFundsObtained: true,
|
|
5848
5865
|
fundsObtained: true,
|
|
5849
5866
|
vtxComissionPct: true,
|
|
5867
|
+
video: {
|
|
5868
|
+
_id: true,
|
|
5869
|
+
source: true,
|
|
5870
|
+
url: true,
|
|
5871
|
+
sourceData: true
|
|
5872
|
+
},
|
|
5850
5873
|
location: {
|
|
5851
5874
|
userProvidedLatitude: true,
|
|
5852
5875
|
userProvidedLongitude: true,
|
|
@@ -5990,6 +6013,12 @@ class VTXBaseAPI {
|
|
|
5990
6013
|
initialFundsObtained: true,
|
|
5991
6014
|
fundsObtained: true,
|
|
5992
6015
|
vtxComissionPct: true,
|
|
6016
|
+
video: {
|
|
6017
|
+
_id: true,
|
|
6018
|
+
source: true,
|
|
6019
|
+
url: true,
|
|
6020
|
+
sourceData: true
|
|
6021
|
+
},
|
|
5993
6022
|
location: {
|
|
5994
6023
|
userProvidedLatitude: true,
|
|
5995
6024
|
userProvidedLongitude: true,
|
|
@@ -6780,6 +6809,12 @@ class VTXBaseAPI {
|
|
|
6780
6809
|
initialFundsObtained: true,
|
|
6781
6810
|
fundsObtained: true,
|
|
6782
6811
|
vtxComissionPct: true,
|
|
6812
|
+
video: {
|
|
6813
|
+
_id: true,
|
|
6814
|
+
source: true,
|
|
6815
|
+
url: true,
|
|
6816
|
+
sourceData: true
|
|
6817
|
+
},
|
|
6783
6818
|
location: {
|
|
6784
6819
|
userProvidedLatitude: true,
|
|
6785
6820
|
userProvidedLongitude: true,
|
|
@@ -7004,6 +7039,7 @@ class VTXBaseAPI {
|
|
|
7004
7039
|
},
|
|
7005
7040
|
});
|
|
7006
7041
|
VTXBaseAPI.Logger.debug('saveAthleteCompetitionResult Response:');
|
|
7042
|
+
VTXBaseAPI.Logger.debug(JSON.stringify(response, null, 2));
|
|
7007
7043
|
retValue = (0, response_builder_1.buildResponse)(response, 'saveAthleteCompetitionResult', (r) => {
|
|
7008
7044
|
const isResponseOk = true && response?.saveAthleteCompetitionResult?._id;
|
|
7009
7045
|
return isResponseOk;
|