@vertikalx/vtx-backend-client 1.0.0-dev.21 → 1.0.0-dev.23
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 +2 -1
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +699 -18
- package/src/client/schema.graphql +340 -5
- package/src/client/schema.js +199 -16
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +353 -4
- package/src/client/types.js +923 -44
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -258,29 +258,251 @@ export interface Brand {
|
|
|
258
258
|
translations: (BrandTranslation[] | null);
|
|
259
259
|
__typename: 'Brand';
|
|
260
260
|
}
|
|
261
|
-
export interface
|
|
261
|
+
export interface CountryReference {
|
|
262
262
|
_id: Scalars['String'];
|
|
263
263
|
name: Scalars['String'];
|
|
264
|
-
|
|
265
|
-
__typename: 'Sponsor';
|
|
264
|
+
__typename: 'CountryReference';
|
|
266
265
|
}
|
|
267
|
-
export interface
|
|
266
|
+
export interface StateReference {
|
|
268
267
|
_id: Scalars['String'];
|
|
269
268
|
name: Scalars['String'];
|
|
270
|
-
|
|
269
|
+
country: (CountryReference | null);
|
|
270
|
+
__typename: 'StateReference';
|
|
271
|
+
}
|
|
272
|
+
export interface CityReference {
|
|
273
|
+
_id: Scalars['String'];
|
|
274
|
+
name: Scalars['String'];
|
|
275
|
+
state: (StateReference | null);
|
|
276
|
+
__typename: 'CityReference';
|
|
277
|
+
}
|
|
278
|
+
export interface Qualification {
|
|
279
|
+
type: Scalars['String'];
|
|
280
|
+
__typename: 'Qualification';
|
|
281
|
+
}
|
|
282
|
+
export interface ScoreQualification {
|
|
283
|
+
type: Scalars['String'];
|
|
284
|
+
scoreType: Scalars['String'];
|
|
285
|
+
operator: Scalars['String'];
|
|
286
|
+
value: Scalars['Float'];
|
|
287
|
+
__typename: 'ScoreQualification';
|
|
288
|
+
}
|
|
289
|
+
export interface LocationQualification {
|
|
290
|
+
type: Scalars['String'];
|
|
291
|
+
operator: Scalars['String'];
|
|
292
|
+
countries: CountryReference[];
|
|
293
|
+
states: StateReference[];
|
|
294
|
+
cities: CityReference[];
|
|
295
|
+
__typename: 'LocationQualification';
|
|
296
|
+
}
|
|
297
|
+
export interface DistanceQualification {
|
|
298
|
+
type: Scalars['String'];
|
|
299
|
+
maxDistance: Scalars['Float'];
|
|
300
|
+
latitude: (Scalars['Float'] | null);
|
|
301
|
+
longitude: (Scalars['Float'] | null);
|
|
302
|
+
cityId: (Scalars['String'] | null);
|
|
303
|
+
__typename: 'DistanceQualification';
|
|
304
|
+
}
|
|
305
|
+
export interface SportsQualification {
|
|
306
|
+
type: Scalars['String'];
|
|
307
|
+
sports: Scalars['String'][];
|
|
308
|
+
operator: Scalars['String'];
|
|
309
|
+
__typename: 'SportsQualification';
|
|
310
|
+
}
|
|
311
|
+
export interface SportsLevelQualification {
|
|
312
|
+
type: Scalars['String'];
|
|
313
|
+
operator: Scalars['String'];
|
|
314
|
+
level: Scalars['String'];
|
|
315
|
+
__typename: 'SportsLevelQualification';
|
|
316
|
+
}
|
|
317
|
+
export interface AthleteCriteria {
|
|
318
|
+
_id: Scalars['String'];
|
|
319
|
+
label: (Scalars['String'] | null);
|
|
320
|
+
qualifications: (Qualification[] | null);
|
|
321
|
+
__typename: 'AthleteCriteria';
|
|
322
|
+
}
|
|
323
|
+
export interface SponsorshipStats {
|
|
324
|
+
totalApplications: (Scalars['Float'] | null);
|
|
325
|
+
newApplications: (Scalars['Float'] | null);
|
|
326
|
+
discardedApplications: (Scalars['Float'] | null);
|
|
327
|
+
selectedApplications: (Scalars['Float'] | null);
|
|
328
|
+
approvedApplications: (Scalars['Float'] | null);
|
|
329
|
+
grantedSponsorships: (Scalars['Float'] | null);
|
|
330
|
+
remainingSponsorships: (Scalars['Float'] | null);
|
|
331
|
+
__typename: 'SponsorshipStats';
|
|
332
|
+
}
|
|
333
|
+
export interface SponsorshipTranslation {
|
|
334
|
+
_id: Scalars['String'];
|
|
335
|
+
sponsorshipId: Scalars['String'];
|
|
336
|
+
language: Scalars['String'];
|
|
337
|
+
title: (Scalars['String'] | null);
|
|
338
|
+
description: (Scalars['String'] | null);
|
|
339
|
+
terms: (Scalars['String'] | null);
|
|
340
|
+
banner: (AWSS3File | null);
|
|
341
|
+
__typename: 'SponsorshipTranslation';
|
|
342
|
+
}
|
|
343
|
+
export interface Sponsorship {
|
|
344
|
+
_id: Scalars['String'];
|
|
345
|
+
title: Scalars['String'];
|
|
346
|
+
description: (Scalars['String'] | null);
|
|
347
|
+
terms: (Scalars['String'] | null);
|
|
348
|
+
banner: (AWSS3File | null);
|
|
349
|
+
stats: (SponsorshipStats | null);
|
|
350
|
+
translations: (SponsorshipTranslation[] | null);
|
|
351
|
+
approved: Scalars['Boolean'];
|
|
352
|
+
published: Scalars['Boolean'];
|
|
353
|
+
criteria: (AthleteCriteria | null);
|
|
354
|
+
__typename: 'Sponsorship';
|
|
355
|
+
}
|
|
356
|
+
export interface FollowStats {
|
|
357
|
+
followers: Scalars['Float'];
|
|
358
|
+
followed: Scalars['Float'];
|
|
359
|
+
raves: Scalars['Float'];
|
|
360
|
+
favorites: Scalars['Float'];
|
|
361
|
+
__typename: 'FollowStats';
|
|
362
|
+
}
|
|
363
|
+
export interface Sport {
|
|
364
|
+
_id: Scalars['String'];
|
|
365
|
+
name: Scalars['String'];
|
|
366
|
+
__typename: 'Sport';
|
|
367
|
+
}
|
|
368
|
+
export interface VtxScores {
|
|
369
|
+
vtxScore: Scalars['Float'];
|
|
370
|
+
socialScore: Scalars['Float'];
|
|
371
|
+
trainingScore: Scalars['Float'];
|
|
372
|
+
competitionScore: Scalars['Float'];
|
|
373
|
+
__typename: 'VtxScores';
|
|
374
|
+
}
|
|
375
|
+
export interface SportLevelTranslation {
|
|
376
|
+
_id: Scalars['String'];
|
|
377
|
+
language: Scalars['String'];
|
|
378
|
+
label: Scalars['String'];
|
|
379
|
+
__typename: 'SportLevelTranslation';
|
|
380
|
+
}
|
|
381
|
+
export interface SportLevel {
|
|
382
|
+
_id: Scalars['String'];
|
|
383
|
+
label: Scalars['String'];
|
|
384
|
+
index: Scalars['Float'];
|
|
385
|
+
translations: (SportLevelTranslation[] | null);
|
|
386
|
+
__typename: 'SportLevel';
|
|
387
|
+
}
|
|
388
|
+
export interface Ranking {
|
|
389
|
+
scope: Scalars['String'];
|
|
390
|
+
scopeId: Scalars['String'];
|
|
391
|
+
scopeName: Scalars['String'];
|
|
392
|
+
position: Scalars['Float'];
|
|
393
|
+
total: Scalars['Float'];
|
|
394
|
+
__typename: 'Ranking';
|
|
395
|
+
}
|
|
396
|
+
export interface AthleteRankings {
|
|
397
|
+
worldRanking: (Ranking | null);
|
|
398
|
+
countryRanking: (Ranking | null);
|
|
399
|
+
stateRanking: (Ranking | null);
|
|
400
|
+
cityRanking: (Ranking | null);
|
|
401
|
+
__typename: 'AthleteRankings';
|
|
402
|
+
}
|
|
403
|
+
export interface Team {
|
|
404
|
+
_id: Scalars['String'];
|
|
405
|
+
name: Scalars['String'];
|
|
406
|
+
description: (Scalars['String'] | null);
|
|
407
|
+
sports: (Sport[] | null);
|
|
408
|
+
approved: (Scalars['Boolean'] | null);
|
|
409
|
+
logo: (AWSS3File | null);
|
|
410
|
+
banner: (AWSS3File | null);
|
|
411
|
+
__typename: 'Team';
|
|
412
|
+
}
|
|
413
|
+
export interface SportsEvent {
|
|
414
|
+
_id: Scalars['String'];
|
|
415
|
+
name: Scalars['String'];
|
|
416
|
+
eventWebSite: (Scalars['String'] | null);
|
|
417
|
+
startDate: Scalars['DateTime'];
|
|
418
|
+
endDate: (Scalars['DateTime'] | null);
|
|
419
|
+
verified: Scalars['Boolean'];
|
|
420
|
+
banner: (AWSS3File | null);
|
|
421
|
+
__typename: 'SportsEvent';
|
|
422
|
+
}
|
|
423
|
+
export interface AthleteCompetitionResult {
|
|
424
|
+
_id: Scalars['String'];
|
|
425
|
+
type: Scalars['String'];
|
|
426
|
+
position: (Scalars['Float'] | null);
|
|
427
|
+
score: (Scalars['String'] | null);
|
|
428
|
+
timems: (Scalars['Float'] | null);
|
|
429
|
+
resultWebLink: (Scalars['String'] | null);
|
|
430
|
+
__typename: 'AthleteCompetitionResult';
|
|
431
|
+
}
|
|
432
|
+
export interface AthleteCompetition {
|
|
433
|
+
_id: Scalars['String'];
|
|
434
|
+
event: SportsEvent;
|
|
435
|
+
eventName: Scalars['String'];
|
|
436
|
+
date: Scalars['DateTime'];
|
|
437
|
+
result: (AthleteCompetitionResult | null);
|
|
438
|
+
__typename: 'AthleteCompetition';
|
|
271
439
|
}
|
|
272
440
|
export interface Athlete {
|
|
273
441
|
_id: Scalars['String'];
|
|
274
442
|
firstName: Scalars['String'];
|
|
275
443
|
lastName: Scalars['String'];
|
|
276
444
|
screenName: (Scalars['String'] | null);
|
|
277
|
-
|
|
445
|
+
countryId: (Scalars['String'] | null);
|
|
446
|
+
countryName: (Scalars['String'] | null);
|
|
447
|
+
trainer: (Scalars['String'] | null);
|
|
448
|
+
trainerUrl: (Scalars['String'] | null);
|
|
449
|
+
followStats: (FollowStats | null);
|
|
450
|
+
mainSport: Sport;
|
|
451
|
+
mainSportLevel: SportLevel;
|
|
452
|
+
scores: VtxScores;
|
|
453
|
+
rankings: (AthleteRankings | null);
|
|
454
|
+
allSports: (Sport[] | null);
|
|
455
|
+
teams: (Team[] | null);
|
|
456
|
+
sponsorBrands: (Brand[] | null);
|
|
457
|
+
competitions: (AthleteCompetition[] | null);
|
|
458
|
+
totalUpcomingCompetitions: (Scalars['Float'] | null);
|
|
459
|
+
totalPastCompetitions: (Scalars['Float'] | null);
|
|
278
460
|
__typename: 'Athlete';
|
|
279
461
|
}
|
|
280
|
-
export interface
|
|
462
|
+
export interface Industry {
|
|
281
463
|
_id: Scalars['String'];
|
|
282
464
|
name: Scalars['String'];
|
|
283
|
-
__typename: '
|
|
465
|
+
__typename: 'Industry';
|
|
466
|
+
}
|
|
467
|
+
export interface Sponsor {
|
|
468
|
+
_id: Scalars['String'];
|
|
469
|
+
name: Scalars['String'];
|
|
470
|
+
description: Scalars['String'];
|
|
471
|
+
__typename: 'Sponsor';
|
|
472
|
+
}
|
|
473
|
+
export interface WorldCity {
|
|
474
|
+
id: Scalars['String'];
|
|
475
|
+
city: Scalars['String'];
|
|
476
|
+
city_ascii: Scalars['String'];
|
|
477
|
+
city_alt: Scalars['String'];
|
|
478
|
+
lat: Scalars['Float'];
|
|
479
|
+
lng: Scalars['Float'];
|
|
480
|
+
country: Scalars['String'];
|
|
481
|
+
iso2: Scalars['String'];
|
|
482
|
+
iso3: Scalars['String'];
|
|
483
|
+
admin_name: Scalars['String'];
|
|
484
|
+
admin_name_ascii: Scalars['String'];
|
|
485
|
+
admin_code: Scalars['String'];
|
|
486
|
+
admin_type: Scalars['String'];
|
|
487
|
+
capital: Scalars['String'];
|
|
488
|
+
density: Scalars['Float'];
|
|
489
|
+
population: Scalars['Float'];
|
|
490
|
+
population_proper: Scalars['Float'];
|
|
491
|
+
ranking: Scalars['Float'];
|
|
492
|
+
timezone: Scalars['String'];
|
|
493
|
+
same_name: Scalars['String'];
|
|
494
|
+
__typename: 'WorldCity';
|
|
495
|
+
}
|
|
496
|
+
export interface Country {
|
|
497
|
+
_id: Scalars['String'];
|
|
498
|
+
name: Scalars['String'];
|
|
499
|
+
__typename: 'Country';
|
|
500
|
+
}
|
|
501
|
+
export interface State {
|
|
502
|
+
_id: Scalars['String'];
|
|
503
|
+
name: Scalars['String'];
|
|
504
|
+
countryId: Scalars['String'];
|
|
505
|
+
__typename: 'State';
|
|
284
506
|
}
|
|
285
507
|
export interface Query {
|
|
286
508
|
findTenantById: Tenant;
|
|
@@ -301,6 +523,11 @@ export interface Query {
|
|
|
301
523
|
findAthleteById: Athlete;
|
|
302
524
|
sports: Sport[];
|
|
303
525
|
findSportById: Sport;
|
|
526
|
+
getSponsorships: Sponsorship[];
|
|
527
|
+
getCountries: Country[];
|
|
528
|
+
getCountryStates: State[];
|
|
529
|
+
getStateCities: WorldCity[];
|
|
530
|
+
findCitiesStartingWth: WorldCity[];
|
|
304
531
|
__typename: 'Query';
|
|
305
532
|
}
|
|
306
533
|
export interface Mutation {
|
|
@@ -320,6 +547,9 @@ export interface Mutation {
|
|
|
320
547
|
registerAthlete: Athlete;
|
|
321
548
|
createSport: Sport;
|
|
322
549
|
updateSport: Sport;
|
|
550
|
+
createSponsorwhip: Sponsorship;
|
|
551
|
+
createCountry: Country;
|
|
552
|
+
createState: State;
|
|
323
553
|
__typename: 'Mutation';
|
|
324
554
|
}
|
|
325
555
|
export interface UserGenqlSelection {
|
|
@@ -603,16 +833,206 @@ export interface BrandGenqlSelection {
|
|
|
603
833
|
__typename?: boolean | number;
|
|
604
834
|
__scalar?: boolean | number;
|
|
605
835
|
}
|
|
606
|
-
export interface
|
|
836
|
+
export interface CountryReferenceGenqlSelection {
|
|
837
|
+
_id?: boolean | number;
|
|
838
|
+
name?: boolean | number;
|
|
839
|
+
__typename?: boolean | number;
|
|
840
|
+
__scalar?: boolean | number;
|
|
841
|
+
}
|
|
842
|
+
export interface StateReferenceGenqlSelection {
|
|
607
843
|
_id?: boolean | number;
|
|
608
844
|
name?: boolean | number;
|
|
845
|
+
country?: CountryReferenceGenqlSelection;
|
|
846
|
+
__typename?: boolean | number;
|
|
847
|
+
__scalar?: boolean | number;
|
|
848
|
+
}
|
|
849
|
+
export interface CityReferenceGenqlSelection {
|
|
850
|
+
_id?: boolean | number;
|
|
851
|
+
name?: boolean | number;
|
|
852
|
+
state?: StateReferenceGenqlSelection;
|
|
853
|
+
__typename?: boolean | number;
|
|
854
|
+
__scalar?: boolean | number;
|
|
855
|
+
}
|
|
856
|
+
export interface QualificationGenqlSelection {
|
|
857
|
+
type?: boolean | number;
|
|
858
|
+
__typename?: boolean | number;
|
|
859
|
+
__scalar?: boolean | number;
|
|
860
|
+
}
|
|
861
|
+
export interface ScoreQualificationGenqlSelection {
|
|
862
|
+
type?: boolean | number;
|
|
863
|
+
scoreType?: boolean | number;
|
|
864
|
+
operator?: boolean | number;
|
|
865
|
+
value?: boolean | number;
|
|
866
|
+
__typename?: boolean | number;
|
|
867
|
+
__scalar?: boolean | number;
|
|
868
|
+
}
|
|
869
|
+
export interface LocationQualificationGenqlSelection {
|
|
870
|
+
type?: boolean | number;
|
|
871
|
+
operator?: boolean | number;
|
|
872
|
+
countries?: CountryReferenceGenqlSelection;
|
|
873
|
+
states?: StateReferenceGenqlSelection;
|
|
874
|
+
cities?: CityReferenceGenqlSelection;
|
|
875
|
+
__typename?: boolean | number;
|
|
876
|
+
__scalar?: boolean | number;
|
|
877
|
+
}
|
|
878
|
+
export interface DistanceQualificationGenqlSelection {
|
|
879
|
+
type?: boolean | number;
|
|
880
|
+
maxDistance?: boolean | number;
|
|
881
|
+
latitude?: boolean | number;
|
|
882
|
+
longitude?: boolean | number;
|
|
883
|
+
cityId?: boolean | number;
|
|
884
|
+
__typename?: boolean | number;
|
|
885
|
+
__scalar?: boolean | number;
|
|
886
|
+
}
|
|
887
|
+
export interface SportsQualificationGenqlSelection {
|
|
888
|
+
type?: boolean | number;
|
|
889
|
+
sports?: boolean | number;
|
|
890
|
+
operator?: boolean | number;
|
|
891
|
+
__typename?: boolean | number;
|
|
892
|
+
__scalar?: boolean | number;
|
|
893
|
+
}
|
|
894
|
+
export interface SportsLevelQualificationGenqlSelection {
|
|
895
|
+
type?: boolean | number;
|
|
896
|
+
operator?: boolean | number;
|
|
897
|
+
level?: boolean | number;
|
|
898
|
+
__typename?: boolean | number;
|
|
899
|
+
__scalar?: boolean | number;
|
|
900
|
+
}
|
|
901
|
+
export interface AthleteCriteriaGenqlSelection {
|
|
902
|
+
_id?: boolean | number;
|
|
903
|
+
label?: boolean | number;
|
|
904
|
+
qualifications?: QualificationGenqlSelection;
|
|
905
|
+
__typename?: boolean | number;
|
|
906
|
+
__scalar?: boolean | number;
|
|
907
|
+
}
|
|
908
|
+
export interface SponsorshipStatsGenqlSelection {
|
|
909
|
+
totalApplications?: boolean | number;
|
|
910
|
+
newApplications?: boolean | number;
|
|
911
|
+
discardedApplications?: boolean | number;
|
|
912
|
+
selectedApplications?: boolean | number;
|
|
913
|
+
approvedApplications?: boolean | number;
|
|
914
|
+
grantedSponsorships?: boolean | number;
|
|
915
|
+
remainingSponsorships?: boolean | number;
|
|
916
|
+
__typename?: boolean | number;
|
|
917
|
+
__scalar?: boolean | number;
|
|
918
|
+
}
|
|
919
|
+
export interface SponsorshipTranslationGenqlSelection {
|
|
920
|
+
_id?: boolean | number;
|
|
921
|
+
sponsorshipId?: boolean | number;
|
|
922
|
+
language?: boolean | number;
|
|
923
|
+
title?: boolean | number;
|
|
609
924
|
description?: boolean | number;
|
|
925
|
+
terms?: boolean | number;
|
|
926
|
+
banner?: AWSS3FileGenqlSelection;
|
|
610
927
|
__typename?: boolean | number;
|
|
611
928
|
__scalar?: boolean | number;
|
|
612
929
|
}
|
|
613
|
-
export interface
|
|
930
|
+
export interface SponsorshipGenqlSelection {
|
|
931
|
+
_id?: boolean | number;
|
|
932
|
+
title?: boolean | number;
|
|
933
|
+
description?: boolean | number;
|
|
934
|
+
terms?: boolean | number;
|
|
935
|
+
banner?: AWSS3FileGenqlSelection;
|
|
936
|
+
stats?: SponsorshipStatsGenqlSelection;
|
|
937
|
+
translations?: SponsorshipTranslationGenqlSelection;
|
|
938
|
+
approved?: boolean | number;
|
|
939
|
+
published?: boolean | number;
|
|
940
|
+
criteria?: AthleteCriteriaGenqlSelection;
|
|
941
|
+
__typename?: boolean | number;
|
|
942
|
+
__scalar?: boolean | number;
|
|
943
|
+
}
|
|
944
|
+
export interface FollowStatsGenqlSelection {
|
|
945
|
+
followers?: boolean | number;
|
|
946
|
+
followed?: boolean | number;
|
|
947
|
+
raves?: boolean | number;
|
|
948
|
+
favorites?: boolean | number;
|
|
949
|
+
__typename?: boolean | number;
|
|
950
|
+
__scalar?: boolean | number;
|
|
951
|
+
}
|
|
952
|
+
export interface SportGenqlSelection {
|
|
953
|
+
_id?: boolean | number;
|
|
954
|
+
name?: boolean | number;
|
|
955
|
+
__typename?: boolean | number;
|
|
956
|
+
__scalar?: boolean | number;
|
|
957
|
+
}
|
|
958
|
+
export interface VtxScoresGenqlSelection {
|
|
959
|
+
vtxScore?: boolean | number;
|
|
960
|
+
socialScore?: boolean | number;
|
|
961
|
+
trainingScore?: boolean | number;
|
|
962
|
+
competitionScore?: boolean | number;
|
|
963
|
+
__typename?: boolean | number;
|
|
964
|
+
__scalar?: boolean | number;
|
|
965
|
+
}
|
|
966
|
+
export interface SportLevelTranslationGenqlSelection {
|
|
967
|
+
_id?: boolean | number;
|
|
968
|
+
language?: boolean | number;
|
|
969
|
+
label?: boolean | number;
|
|
970
|
+
__typename?: boolean | number;
|
|
971
|
+
__scalar?: boolean | number;
|
|
972
|
+
}
|
|
973
|
+
export interface SportLevelGenqlSelection {
|
|
974
|
+
_id?: boolean | number;
|
|
975
|
+
label?: boolean | number;
|
|
976
|
+
index?: boolean | number;
|
|
977
|
+
translations?: SportLevelTranslationGenqlSelection;
|
|
978
|
+
__typename?: boolean | number;
|
|
979
|
+
__scalar?: boolean | number;
|
|
980
|
+
}
|
|
981
|
+
export interface RankingGenqlSelection {
|
|
982
|
+
scope?: boolean | number;
|
|
983
|
+
scopeId?: boolean | number;
|
|
984
|
+
scopeName?: boolean | number;
|
|
985
|
+
position?: boolean | number;
|
|
986
|
+
total?: boolean | number;
|
|
987
|
+
__typename?: boolean | number;
|
|
988
|
+
__scalar?: boolean | number;
|
|
989
|
+
}
|
|
990
|
+
export interface AthleteRankingsGenqlSelection {
|
|
991
|
+
worldRanking?: RankingGenqlSelection;
|
|
992
|
+
countryRanking?: RankingGenqlSelection;
|
|
993
|
+
stateRanking?: RankingGenqlSelection;
|
|
994
|
+
cityRanking?: RankingGenqlSelection;
|
|
995
|
+
__typename?: boolean | number;
|
|
996
|
+
__scalar?: boolean | number;
|
|
997
|
+
}
|
|
998
|
+
export interface TeamGenqlSelection {
|
|
999
|
+
_id?: boolean | number;
|
|
1000
|
+
name?: boolean | number;
|
|
1001
|
+
description?: boolean | number;
|
|
1002
|
+
sports?: SportGenqlSelection;
|
|
1003
|
+
approved?: boolean | number;
|
|
1004
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1005
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1006
|
+
__typename?: boolean | number;
|
|
1007
|
+
__scalar?: boolean | number;
|
|
1008
|
+
}
|
|
1009
|
+
export interface SportsEventGenqlSelection {
|
|
614
1010
|
_id?: boolean | number;
|
|
615
1011
|
name?: boolean | number;
|
|
1012
|
+
eventWebSite?: boolean | number;
|
|
1013
|
+
startDate?: boolean | number;
|
|
1014
|
+
endDate?: boolean | number;
|
|
1015
|
+
verified?: boolean | number;
|
|
1016
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1017
|
+
__typename?: boolean | number;
|
|
1018
|
+
__scalar?: boolean | number;
|
|
1019
|
+
}
|
|
1020
|
+
export interface AthleteCompetitionResultGenqlSelection {
|
|
1021
|
+
_id?: boolean | number;
|
|
1022
|
+
type?: boolean | number;
|
|
1023
|
+
position?: boolean | number;
|
|
1024
|
+
score?: boolean | number;
|
|
1025
|
+
timems?: boolean | number;
|
|
1026
|
+
resultWebLink?: boolean | number;
|
|
1027
|
+
__typename?: boolean | number;
|
|
1028
|
+
__scalar?: boolean | number;
|
|
1029
|
+
}
|
|
1030
|
+
export interface AthleteCompetitionGenqlSelection {
|
|
1031
|
+
_id?: boolean | number;
|
|
1032
|
+
event?: SportsEventGenqlSelection;
|
|
1033
|
+
eventName?: boolean | number;
|
|
1034
|
+
date?: boolean | number;
|
|
1035
|
+
result?: AthleteCompetitionResultGenqlSelection;
|
|
616
1036
|
__typename?: boolean | number;
|
|
617
1037
|
__scalar?: boolean | number;
|
|
618
1038
|
}
|
|
@@ -621,16 +1041,118 @@ export interface AthleteGenqlSelection {
|
|
|
621
1041
|
firstName?: boolean | number;
|
|
622
1042
|
lastName?: boolean | number;
|
|
623
1043
|
screenName?: boolean | number;
|
|
624
|
-
|
|
1044
|
+
countryId?: boolean | number;
|
|
1045
|
+
countryName?: boolean | number;
|
|
1046
|
+
trainer?: boolean | number;
|
|
1047
|
+
trainerUrl?: boolean | number;
|
|
1048
|
+
followStats?: FollowStatsGenqlSelection;
|
|
1049
|
+
mainSport?: SportGenqlSelection;
|
|
1050
|
+
mainSportLevel?: SportLevelGenqlSelection;
|
|
1051
|
+
scores?: VtxScoresGenqlSelection;
|
|
1052
|
+
rankings?: AthleteRankingsGenqlSelection;
|
|
1053
|
+
allSports?: SportGenqlSelection;
|
|
1054
|
+
teams?: TeamGenqlSelection;
|
|
1055
|
+
sponsorBrands?: BrandGenqlSelection;
|
|
1056
|
+
competitions?: AthleteCompetitionGenqlSelection;
|
|
1057
|
+
totalUpcomingCompetitions?: boolean | number;
|
|
1058
|
+
totalPastCompetitions?: boolean | number;
|
|
625
1059
|
__typename?: boolean | number;
|
|
626
1060
|
__scalar?: boolean | number;
|
|
627
1061
|
}
|
|
628
|
-
export interface
|
|
1062
|
+
export interface IndustryGenqlSelection {
|
|
1063
|
+
_id?: boolean | number;
|
|
1064
|
+
name?: boolean | number;
|
|
1065
|
+
__typename?: boolean | number;
|
|
1066
|
+
__scalar?: boolean | number;
|
|
1067
|
+
}
|
|
1068
|
+
export interface SponsorGenqlSelection {
|
|
629
1069
|
_id?: boolean | number;
|
|
630
1070
|
name?: boolean | number;
|
|
1071
|
+
description?: boolean | number;
|
|
631
1072
|
__typename?: boolean | number;
|
|
632
1073
|
__scalar?: boolean | number;
|
|
633
1074
|
}
|
|
1075
|
+
export interface WorldCityGenqlSelection {
|
|
1076
|
+
id?: boolean | number;
|
|
1077
|
+
city?: boolean | number;
|
|
1078
|
+
city_ascii?: boolean | number;
|
|
1079
|
+
city_alt?: boolean | number;
|
|
1080
|
+
lat?: boolean | number;
|
|
1081
|
+
lng?: boolean | number;
|
|
1082
|
+
country?: boolean | number;
|
|
1083
|
+
iso2?: boolean | number;
|
|
1084
|
+
iso3?: boolean | number;
|
|
1085
|
+
admin_name?: boolean | number;
|
|
1086
|
+
admin_name_ascii?: boolean | number;
|
|
1087
|
+
admin_code?: boolean | number;
|
|
1088
|
+
admin_type?: boolean | number;
|
|
1089
|
+
capital?: boolean | number;
|
|
1090
|
+
density?: boolean | number;
|
|
1091
|
+
population?: boolean | number;
|
|
1092
|
+
population_proper?: boolean | number;
|
|
1093
|
+
ranking?: boolean | number;
|
|
1094
|
+
timezone?: boolean | number;
|
|
1095
|
+
same_name?: boolean | number;
|
|
1096
|
+
__typename?: boolean | number;
|
|
1097
|
+
__scalar?: boolean | number;
|
|
1098
|
+
}
|
|
1099
|
+
export interface CountryGenqlSelection {
|
|
1100
|
+
_id?: boolean | number;
|
|
1101
|
+
name?: boolean | number;
|
|
1102
|
+
__typename?: boolean | number;
|
|
1103
|
+
__scalar?: boolean | number;
|
|
1104
|
+
}
|
|
1105
|
+
export interface StateGenqlSelection {
|
|
1106
|
+
_id?: boolean | number;
|
|
1107
|
+
name?: boolean | number;
|
|
1108
|
+
countryId?: boolean | number;
|
|
1109
|
+
__typename?: boolean | number;
|
|
1110
|
+
__scalar?: boolean | number;
|
|
1111
|
+
}
|
|
1112
|
+
export interface ScoreQualificationDto {
|
|
1113
|
+
type: Scalars['String'];
|
|
1114
|
+
scoreType: Scalars['String'];
|
|
1115
|
+
operator: Scalars['String'];
|
|
1116
|
+
value: Scalars['Float'];
|
|
1117
|
+
}
|
|
1118
|
+
export interface LocationQualificationDto {
|
|
1119
|
+
type: Scalars['String'];
|
|
1120
|
+
operator: Scalars['String'];
|
|
1121
|
+
countries: CountryReferenceDto[];
|
|
1122
|
+
states: StateReferenceDto[];
|
|
1123
|
+
cities: CityReferenceDto[];
|
|
1124
|
+
}
|
|
1125
|
+
export interface CountryReferenceDto {
|
|
1126
|
+
_id: Scalars['String'];
|
|
1127
|
+
name: Scalars['String'];
|
|
1128
|
+
}
|
|
1129
|
+
export interface StateReferenceDto {
|
|
1130
|
+
_id: Scalars['String'];
|
|
1131
|
+
name: Scalars['String'];
|
|
1132
|
+
country?: (CountryReferenceDto | null);
|
|
1133
|
+
}
|
|
1134
|
+
export interface CityReferenceDto {
|
|
1135
|
+
_id: Scalars['String'];
|
|
1136
|
+
name: Scalars['String'];
|
|
1137
|
+
state?: (StateReferenceDto | null);
|
|
1138
|
+
}
|
|
1139
|
+
export interface DistanceQualificationDto {
|
|
1140
|
+
type: Scalars['String'];
|
|
1141
|
+
maxDistance: Scalars['Float'];
|
|
1142
|
+
latitude?: (Scalars['Float'] | null);
|
|
1143
|
+
longitude?: (Scalars['Float'] | null);
|
|
1144
|
+
cityId?: (Scalars['String'] | null);
|
|
1145
|
+
}
|
|
1146
|
+
export interface SportsQualificationDto {
|
|
1147
|
+
type: Scalars['String'];
|
|
1148
|
+
sports: Scalars['String'][];
|
|
1149
|
+
operator: Scalars['String'];
|
|
1150
|
+
}
|
|
1151
|
+
export interface SportsLevelQualificationDto {
|
|
1152
|
+
type: Scalars['String'];
|
|
1153
|
+
operator: Scalars['String'];
|
|
1154
|
+
level: Scalars['String'];
|
|
1155
|
+
}
|
|
634
1156
|
export interface QueryGenqlSelection {
|
|
635
1157
|
findTenantById?: (TenantGenqlSelection & {
|
|
636
1158
|
__args: {
|
|
@@ -701,6 +1223,27 @@ export interface QueryGenqlSelection {
|
|
|
701
1223
|
sportId: Scalars['String'];
|
|
702
1224
|
};
|
|
703
1225
|
});
|
|
1226
|
+
getSponsorships?: (SponsorshipGenqlSelection & {
|
|
1227
|
+
__args: {
|
|
1228
|
+
sponsorId: Scalars['String'];
|
|
1229
|
+
};
|
|
1230
|
+
});
|
|
1231
|
+
getCountries?: CountryGenqlSelection;
|
|
1232
|
+
getCountryStates?: (StateGenqlSelection & {
|
|
1233
|
+
__args: {
|
|
1234
|
+
countryId: Scalars['String'];
|
|
1235
|
+
};
|
|
1236
|
+
});
|
|
1237
|
+
getStateCities?: (WorldCityGenqlSelection & {
|
|
1238
|
+
__args: {
|
|
1239
|
+
stateId: Scalars['String'];
|
|
1240
|
+
};
|
|
1241
|
+
});
|
|
1242
|
+
findCitiesStartingWth?: (WorldCityGenqlSelection & {
|
|
1243
|
+
__args: {
|
|
1244
|
+
text: Scalars['String'];
|
|
1245
|
+
};
|
|
1246
|
+
});
|
|
704
1247
|
__typename?: boolean | number;
|
|
705
1248
|
__scalar?: boolean | number;
|
|
706
1249
|
}
|
|
@@ -790,6 +1333,21 @@ export interface MutationGenqlSelection {
|
|
|
790
1333
|
input: UpdateSportDto;
|
|
791
1334
|
};
|
|
792
1335
|
});
|
|
1336
|
+
createSponsorwhip?: (SponsorshipGenqlSelection & {
|
|
1337
|
+
__args: {
|
|
1338
|
+
input: CreateSponsorshipDto;
|
|
1339
|
+
};
|
|
1340
|
+
});
|
|
1341
|
+
createCountry?: (CountryGenqlSelection & {
|
|
1342
|
+
__args: {
|
|
1343
|
+
input: CreateCountryDto;
|
|
1344
|
+
};
|
|
1345
|
+
});
|
|
1346
|
+
createState?: (StateGenqlSelection & {
|
|
1347
|
+
__args: {
|
|
1348
|
+
input: CreateStateDto;
|
|
1349
|
+
};
|
|
1350
|
+
});
|
|
793
1351
|
__typename?: boolean | number;
|
|
794
1352
|
__scalar?: boolean | number;
|
|
795
1353
|
}
|
|
@@ -884,6 +1442,51 @@ export interface CreateSportDto {
|
|
|
884
1442
|
export interface UpdateSportDto {
|
|
885
1443
|
name: Scalars['String'];
|
|
886
1444
|
}
|
|
1445
|
+
export interface CreateSponsorshipDto {
|
|
1446
|
+
title: Scalars['String'];
|
|
1447
|
+
brandId: Scalars['String'];
|
|
1448
|
+
description?: (Scalars['String'] | null);
|
|
1449
|
+
cashValue?: (Scalars['Float'] | null);
|
|
1450
|
+
otherValue?: (Scalars['Float'] | null);
|
|
1451
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
1452
|
+
criteria?: (AthleteCriteriaDto | null);
|
|
1453
|
+
sponsorshipItems?: (SponsorshipItemDto[] | null);
|
|
1454
|
+
commitments?: (SponsorshipCommitmentDto[] | null);
|
|
1455
|
+
terms?: (Scalars['String'] | null);
|
|
1456
|
+
published?: (Scalars['Boolean'] | null);
|
|
1457
|
+
translations?: (SponsorshipTranslationDto[] | null);
|
|
1458
|
+
}
|
|
1459
|
+
export interface AthleteCriteriaDto {
|
|
1460
|
+
_id: Scalars['String'];
|
|
1461
|
+
label?: (Scalars['String'] | null);
|
|
1462
|
+
qualifications?: (QualificationDto[] | null);
|
|
1463
|
+
}
|
|
1464
|
+
export interface QualificationDto {
|
|
1465
|
+
type: Scalars['String'];
|
|
1466
|
+
}
|
|
1467
|
+
export interface SponsorshipItemDto {
|
|
1468
|
+
_id: Scalars['String'];
|
|
1469
|
+
name: Scalars['String'];
|
|
1470
|
+
}
|
|
1471
|
+
export interface SponsorshipCommitmentDto {
|
|
1472
|
+
_id: Scalars['String'];
|
|
1473
|
+
name: Scalars['String'];
|
|
1474
|
+
}
|
|
1475
|
+
export interface SponsorshipTranslationDto {
|
|
1476
|
+
title?: (Scalars['String'] | null);
|
|
1477
|
+
description?: (Scalars['String'] | null);
|
|
1478
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
1479
|
+
terms?: (Scalars['String'] | null);
|
|
1480
|
+
}
|
|
1481
|
+
export interface CreateCountryDto {
|
|
1482
|
+
id: Scalars['String'];
|
|
1483
|
+
name: Scalars['String'];
|
|
1484
|
+
}
|
|
1485
|
+
export interface CreateStateDto {
|
|
1486
|
+
id: Scalars['String'];
|
|
1487
|
+
name: Scalars['String'];
|
|
1488
|
+
idCountry: Scalars['String'];
|
|
1489
|
+
}
|
|
887
1490
|
export declare const isUser: (obj?: {
|
|
888
1491
|
__typename?: any;
|
|
889
1492
|
} | null) => obj is User;
|
|
@@ -965,18 +1568,96 @@ export declare const isBrandTranslation: (obj?: {
|
|
|
965
1568
|
export declare const isBrand: (obj?: {
|
|
966
1569
|
__typename?: any;
|
|
967
1570
|
} | null) => obj is Brand;
|
|
968
|
-
export declare const
|
|
1571
|
+
export declare const isCountryReference: (obj?: {
|
|
969
1572
|
__typename?: any;
|
|
970
|
-
} | null) => obj is
|
|
971
|
-
export declare const
|
|
1573
|
+
} | null) => obj is CountryReference;
|
|
1574
|
+
export declare const isStateReference: (obj?: {
|
|
972
1575
|
__typename?: any;
|
|
973
|
-
} | null) => obj is
|
|
974
|
-
export declare const
|
|
1576
|
+
} | null) => obj is StateReference;
|
|
1577
|
+
export declare const isCityReference: (obj?: {
|
|
975
1578
|
__typename?: any;
|
|
976
|
-
} | null) => obj is
|
|
1579
|
+
} | null) => obj is CityReference;
|
|
1580
|
+
export declare const isQualification: (obj?: {
|
|
1581
|
+
__typename?: any;
|
|
1582
|
+
} | null) => obj is Qualification;
|
|
1583
|
+
export declare const isScoreQualification: (obj?: {
|
|
1584
|
+
__typename?: any;
|
|
1585
|
+
} | null) => obj is ScoreQualification;
|
|
1586
|
+
export declare const isLocationQualification: (obj?: {
|
|
1587
|
+
__typename?: any;
|
|
1588
|
+
} | null) => obj is LocationQualification;
|
|
1589
|
+
export declare const isDistanceQualification: (obj?: {
|
|
1590
|
+
__typename?: any;
|
|
1591
|
+
} | null) => obj is DistanceQualification;
|
|
1592
|
+
export declare const isSportsQualification: (obj?: {
|
|
1593
|
+
__typename?: any;
|
|
1594
|
+
} | null) => obj is SportsQualification;
|
|
1595
|
+
export declare const isSportsLevelQualification: (obj?: {
|
|
1596
|
+
__typename?: any;
|
|
1597
|
+
} | null) => obj is SportsLevelQualification;
|
|
1598
|
+
export declare const isAthleteCriteria: (obj?: {
|
|
1599
|
+
__typename?: any;
|
|
1600
|
+
} | null) => obj is AthleteCriteria;
|
|
1601
|
+
export declare const isSponsorshipStats: (obj?: {
|
|
1602
|
+
__typename?: any;
|
|
1603
|
+
} | null) => obj is SponsorshipStats;
|
|
1604
|
+
export declare const isSponsorshipTranslation: (obj?: {
|
|
1605
|
+
__typename?: any;
|
|
1606
|
+
} | null) => obj is SponsorshipTranslation;
|
|
1607
|
+
export declare const isSponsorship: (obj?: {
|
|
1608
|
+
__typename?: any;
|
|
1609
|
+
} | null) => obj is Sponsorship;
|
|
1610
|
+
export declare const isFollowStats: (obj?: {
|
|
1611
|
+
__typename?: any;
|
|
1612
|
+
} | null) => obj is FollowStats;
|
|
977
1613
|
export declare const isSport: (obj?: {
|
|
978
1614
|
__typename?: any;
|
|
979
1615
|
} | null) => obj is Sport;
|
|
1616
|
+
export declare const isVtxScores: (obj?: {
|
|
1617
|
+
__typename?: any;
|
|
1618
|
+
} | null) => obj is VtxScores;
|
|
1619
|
+
export declare const isSportLevelTranslation: (obj?: {
|
|
1620
|
+
__typename?: any;
|
|
1621
|
+
} | null) => obj is SportLevelTranslation;
|
|
1622
|
+
export declare const isSportLevel: (obj?: {
|
|
1623
|
+
__typename?: any;
|
|
1624
|
+
} | null) => obj is SportLevel;
|
|
1625
|
+
export declare const isRanking: (obj?: {
|
|
1626
|
+
__typename?: any;
|
|
1627
|
+
} | null) => obj is Ranking;
|
|
1628
|
+
export declare const isAthleteRankings: (obj?: {
|
|
1629
|
+
__typename?: any;
|
|
1630
|
+
} | null) => obj is AthleteRankings;
|
|
1631
|
+
export declare const isTeam: (obj?: {
|
|
1632
|
+
__typename?: any;
|
|
1633
|
+
} | null) => obj is Team;
|
|
1634
|
+
export declare const isSportsEvent: (obj?: {
|
|
1635
|
+
__typename?: any;
|
|
1636
|
+
} | null) => obj is SportsEvent;
|
|
1637
|
+
export declare const isAthleteCompetitionResult: (obj?: {
|
|
1638
|
+
__typename?: any;
|
|
1639
|
+
} | null) => obj is AthleteCompetitionResult;
|
|
1640
|
+
export declare const isAthleteCompetition: (obj?: {
|
|
1641
|
+
__typename?: any;
|
|
1642
|
+
} | null) => obj is AthleteCompetition;
|
|
1643
|
+
export declare const isAthlete: (obj?: {
|
|
1644
|
+
__typename?: any;
|
|
1645
|
+
} | null) => obj is Athlete;
|
|
1646
|
+
export declare const isIndustry: (obj?: {
|
|
1647
|
+
__typename?: any;
|
|
1648
|
+
} | null) => obj is Industry;
|
|
1649
|
+
export declare const isSponsor: (obj?: {
|
|
1650
|
+
__typename?: any;
|
|
1651
|
+
} | null) => obj is Sponsor;
|
|
1652
|
+
export declare const isWorldCity: (obj?: {
|
|
1653
|
+
__typename?: any;
|
|
1654
|
+
} | null) => obj is WorldCity;
|
|
1655
|
+
export declare const isCountry: (obj?: {
|
|
1656
|
+
__typename?: any;
|
|
1657
|
+
} | null) => obj is Country;
|
|
1658
|
+
export declare const isState: (obj?: {
|
|
1659
|
+
__typename?: any;
|
|
1660
|
+
} | null) => obj is State;
|
|
980
1661
|
export declare const isQuery: (obj?: {
|
|
981
1662
|
__typename?: any;
|
|
982
1663
|
} | null) => obj is Query;
|