@vertikalx/vtx-backend-client 1.0.1-dev-max.9 → 1.0.1-dev-daniel.10
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/LICENSE.md +0 -0
- package/package.json +1 -1
- package/src/api/response-builder.js +2 -3
- package/src/api/response-builder.js.map +1 -1
- package/src/api/vtx-base-api.d.ts +0 -5
- package/src/api/vtx-base-api.js +1 -371
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/runtime/generateGraphqlOperation.d.ts +1 -1
- package/src/client/schema.d.ts +62 -124
- package/src/client/schema.js +16 -30
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +30 -68
- package/src/client/types.js +270 -360
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
- package/libs/vtx-backend-client/package.json +0 -16
- package/libs/vtx-backend-client/src/api/api-call-headers.d.ts +0 -12
- package/libs/vtx-backend-client/src/api/api-call-headers.js +0 -16
- package/libs/vtx-backend-client/src/api/api-call-headers.js.map +0 -1
- package/libs/vtx-backend-client/src/api/backend-response.d.ts +0 -10
- package/libs/vtx-backend-client/src/api/backend-response.js +0 -3
- package/libs/vtx-backend-client/src/api/backend-response.js.map +0 -1
- package/libs/vtx-backend-client/src/api/domains.d.ts +0 -3
- package/libs/vtx-backend-client/src/api/domains.js +0 -7
- package/libs/vtx-backend-client/src/api/domains.js.map +0 -1
- package/libs/vtx-backend-client/src/api/response-builder.d.ts +0 -4
- package/libs/vtx-backend-client/src/api/response-builder.js +0 -123
- package/libs/vtx-backend-client/src/api/response-builder.js.map +0 -1
- package/libs/vtx-backend-client/src/api/types.d.ts +0 -2
- package/libs/vtx-backend-client/src/api/types.js +0 -3
- package/libs/vtx-backend-client/src/api/types.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-apikey-api.d.ts +0 -6
- package/libs/vtx-backend-client/src/api/vtx-apikey-api.js +0 -19
- package/libs/vtx-backend-client/src/api/vtx-apikey-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-base-api.d.ts +0 -110
- package/libs/vtx-backend-client/src/api/vtx-base-api.js +0 -7073
- package/libs/vtx-backend-client/src/api/vtx-base-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-mobile-api.d.ts +0 -6
- package/libs/vtx-backend-client/src/api/vtx-mobile-api.js +0 -27
- package/libs/vtx-backend-client/src/api/vtx-mobile-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-web-browser-api.d.ts +0 -7
- package/libs/vtx-backend-client/src/api/vtx-web-browser-api.js +0 -36
- package/libs/vtx-backend-client/src/api/vtx-web-browser-api.js.map +0 -1
- package/libs/vtx-backend-client/src/api/vtx-web-server-api.d.ts +0 -7
- package/libs/vtx-backend-client/src/api/vtx-web-server-api.js +0 -33
- package/libs/vtx-backend-client/src/api/vtx-web-server-api.js.map +0 -1
- package/libs/vtx-backend-client/src/client/index.d.ts +0 -25
- package/libs/vtx-backend-client/src/client/index.js +0 -44
- package/libs/vtx-backend-client/src/client/index.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/batcher.d.ts +0 -36
- package/libs/vtx-backend-client/src/client/runtime/batcher.js +0 -123
- package/libs/vtx-backend-client/src/client/runtime/batcher.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/createClient.d.ts +0 -17
- package/libs/vtx-backend-client/src/client/runtime/createClient.js +0 -28
- package/libs/vtx-backend-client/src/client/runtime/createClient.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/error.d.ts +0 -15
- package/libs/vtx-backend-client/src/client/runtime/error.js +0 -19
- package/libs/vtx-backend-client/src/client/runtime/error.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/fetcher.d.ts +0 -10
- package/libs/vtx-backend-client/src/client/runtime/fetcher.js +0 -68
- package/libs/vtx-backend-client/src/client/runtime/fetcher.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.d.ts +0 -30
- package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.js +0 -134
- package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/index.d.ts +0 -11
- package/libs/vtx-backend-client/src/client/runtime/index.js +0 -17
- package/libs/vtx-backend-client/src/client/runtime/index.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.d.ts +0 -9
- package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.js +0 -95
- package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/typeSelection.d.ts +0 -28
- package/libs/vtx-backend-client/src/client/runtime/typeSelection.js +0 -3
- package/libs/vtx-backend-client/src/client/runtime/typeSelection.js.map +0 -1
- package/libs/vtx-backend-client/src/client/runtime/types.d.ts +0 -55
- package/libs/vtx-backend-client/src/client/runtime/types.js +0 -3
- package/libs/vtx-backend-client/src/client/runtime/types.js.map +0 -1
- package/libs/vtx-backend-client/src/client/schema.d.ts +0 -4325
- package/libs/vtx-backend-client/src/client/schema.js +0 -927
- package/libs/vtx-backend-client/src/client/schema.js.map +0 -1
- package/libs/vtx-backend-client/src/client/types.d.ts +0 -2312
- package/libs/vtx-backend-client/src/client/types.js +0 -6031
- package/libs/vtx-backend-client/src/client/types.js.map +0 -1
- package/libs/vtx-backend-client/src/index.d.ts +0 -11
- package/libs/vtx-backend-client/src/index.js +0 -28
- package/libs/vtx-backend-client/src/index.js.map +0 -1
- package/src/api/dto/create-budget.dto.d.ts +0 -15
- package/src/api/dto/create-budget.dto.js +0 -72
- package/src/api/dto/create-budget.dto.js.map +0 -1
- package/src/api/dto/create-funding-campaign.dto.d.ts +0 -21
- package/src/api/dto/create-funding-campaign.dto.js +0 -97
- package/src/api/dto/create-funding-campaign.dto.js.map +0 -1
- package/src/api/dto/get-athlete-campaigns.dto.d.ts +0 -3
- package/src/api/dto/get-athlete-campaigns.dto.js +0 -26
- package/src/api/dto/get-athlete-campaigns.dto.js.map +0 -1
|
@@ -26,5 +26,5 @@ export interface GraphqlOperation {
|
|
|
26
26
|
};
|
|
27
27
|
operationName?: string;
|
|
28
28
|
}
|
|
29
|
-
export declare const generateGraphqlOperation: (operation:
|
|
29
|
+
export declare const generateGraphqlOperation: (operation: "query" | "mutation" | "subscription", root: LinkedType, fields?: Fields) => GraphqlOperation;
|
|
30
30
|
export declare const getFieldFromPath: (root: LinkedType | undefined, path: string[]) => LinkedField;
|
package/src/client/schema.d.ts
CHANGED
|
@@ -701,8 +701,13 @@ export interface AthleteCompetitionResult {
|
|
|
701
701
|
score: (Scalars['String'] | null);
|
|
702
702
|
finishTimeMS: (Scalars['Float'] | null);
|
|
703
703
|
resultWebLink: (Scalars['String'] | null);
|
|
704
|
-
outcome:
|
|
704
|
+
outcome: Scalars['String'];
|
|
705
705
|
adversary: (Scalars['String'] | null);
|
|
706
|
+
genderPosition: (Scalars['Float'] | null);
|
|
707
|
+
genderParticipants: (Scalars['Float'] | null);
|
|
708
|
+
categoryPosition: (Scalars['Float'] | null);
|
|
709
|
+
categoryParticipants: (Scalars['Float'] | null);
|
|
710
|
+
categoryName: (Scalars['String'] | null);
|
|
706
711
|
__typename: 'AthleteCompetitionResult';
|
|
707
712
|
}
|
|
708
713
|
export interface BudgetItem {
|
|
@@ -719,6 +724,20 @@ export interface Budget {
|
|
|
719
724
|
items: (BudgetItem[] | null);
|
|
720
725
|
__typename: 'Budget';
|
|
721
726
|
}
|
|
727
|
+
export interface PhotoAlbum {
|
|
728
|
+
_id: Scalars['String'];
|
|
729
|
+
photo: (AWSS3File | null);
|
|
730
|
+
__typename: 'PhotoAlbum';
|
|
731
|
+
}
|
|
732
|
+
export interface Album {
|
|
733
|
+
_id: Scalars['String'];
|
|
734
|
+
label: Scalars['String'];
|
|
735
|
+
description: (Scalars['String'] | null);
|
|
736
|
+
photos: (PhotoAlbum[] | null);
|
|
737
|
+
displayIndex: Scalars['Float'];
|
|
738
|
+
competitionId: (Scalars['String'] | null);
|
|
739
|
+
__typename: 'Album';
|
|
740
|
+
}
|
|
722
741
|
export interface AthleteCompetition {
|
|
723
742
|
_id: Scalars['String'];
|
|
724
743
|
event: SportsEvent;
|
|
@@ -727,6 +746,7 @@ export interface AthleteCompetition {
|
|
|
727
746
|
result: (AthleteCompetitionResult | null);
|
|
728
747
|
fundRaisingCampaignIds: (Scalars['String'][] | null);
|
|
729
748
|
budget: (Budget | null);
|
|
749
|
+
albums: (Album[] | null);
|
|
730
750
|
__typename: 'AthleteCompetition';
|
|
731
751
|
}
|
|
732
752
|
export interface MembershipOrganizationReference {
|
|
@@ -779,18 +799,6 @@ export interface Channel {
|
|
|
779
799
|
linked: Scalars['Boolean'];
|
|
780
800
|
__typename: 'Channel';
|
|
781
801
|
}
|
|
782
|
-
export interface PhotoAlbum {
|
|
783
|
-
_id: Scalars['String'];
|
|
784
|
-
photo: (AWSS3File | null);
|
|
785
|
-
__typename: 'PhotoAlbum';
|
|
786
|
-
}
|
|
787
|
-
export interface Album {
|
|
788
|
-
_id: Scalars['String'];
|
|
789
|
-
label: Scalars['String'];
|
|
790
|
-
description: (Scalars['String'] | null);
|
|
791
|
-
photos: (PhotoAlbum[] | null);
|
|
792
|
-
__typename: 'Album';
|
|
793
|
-
}
|
|
794
802
|
export interface AthletePreferences {
|
|
795
803
|
_id: Scalars['String'];
|
|
796
804
|
showProfileHelper: Scalars['Boolean'];
|
|
@@ -809,7 +817,6 @@ export interface FundRaisingCampaign {
|
|
|
809
817
|
initialFundsObtained: Scalars['Float'];
|
|
810
818
|
fundsObtained: Scalars['Float'];
|
|
811
819
|
location: (WorldLocation | null);
|
|
812
|
-
createdDate: Scalars['DateTime'];
|
|
813
820
|
endingDate: Scalars['DateTime'];
|
|
814
821
|
budget: (Budget | null);
|
|
815
822
|
competitions: (AthleteCompetition[] | null);
|
|
@@ -941,11 +948,6 @@ export interface HistoricalScoreType {
|
|
|
941
948
|
athleteId: Scalars['String'];
|
|
942
949
|
__typename: 'HistoricalScoreType';
|
|
943
950
|
}
|
|
944
|
-
export interface UserDomain {
|
|
945
|
-
_id: Scalars['String'];
|
|
946
|
-
user: (User | null);
|
|
947
|
-
__typename: 'UserDomain';
|
|
948
|
-
}
|
|
949
951
|
export interface AthleteReference {
|
|
950
952
|
_id: Scalars['String'];
|
|
951
953
|
firstName: Scalars['String'];
|
|
@@ -970,7 +972,6 @@ export interface AthleteReference {
|
|
|
970
972
|
bannerPicture: (AWSS3File | null);
|
|
971
973
|
aboutMe: (Scalars['String'] | null);
|
|
972
974
|
preferences: AthletePreferences;
|
|
973
|
-
userDomain: UserDomain;
|
|
974
975
|
__typename: 'AthleteReference';
|
|
975
976
|
}
|
|
976
977
|
export interface Athlete {
|
|
@@ -997,7 +998,6 @@ export interface Athlete {
|
|
|
997
998
|
bannerPicture: (AWSS3File | null);
|
|
998
999
|
aboutMe: (Scalars['String'] | null);
|
|
999
1000
|
preferences: AthletePreferences;
|
|
1000
|
-
userDomain: UserDomain;
|
|
1001
1001
|
allSports: (Sport[] | null);
|
|
1002
1002
|
teams: (Team[] | null);
|
|
1003
1003
|
sponsorBrands: (Brand[] | null);
|
|
@@ -1151,7 +1151,7 @@ export interface AthleteIntegrationReference {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
export interface Receipt {
|
|
1153
1153
|
receiptId: Scalars['String'];
|
|
1154
|
-
campaignName:
|
|
1154
|
+
campaignName: Scalars['String'];
|
|
1155
1155
|
athleteName: (Scalars['String'] | null);
|
|
1156
1156
|
donorName: Scalars['String'];
|
|
1157
1157
|
amount: Scalars['Float'];
|
|
@@ -1229,11 +1229,6 @@ export interface ExistValueResponse {
|
|
|
1229
1229
|
exist: Scalars['Boolean'];
|
|
1230
1230
|
__typename: 'ExistValueResponse';
|
|
1231
1231
|
}
|
|
1232
|
-
export interface DeleteAthleteResponse {
|
|
1233
|
-
deletedAthlete: (AthleteReference | null);
|
|
1234
|
-
success: Scalars['Boolean'];
|
|
1235
|
-
__typename: 'DeleteAthleteResponse';
|
|
1236
|
-
}
|
|
1237
1232
|
export interface StripeObject {
|
|
1238
1233
|
type: Scalars['String'];
|
|
1239
1234
|
json: Scalars['JSONObject'];
|
|
@@ -1298,7 +1293,6 @@ export interface Query {
|
|
|
1298
1293
|
screenNameAvailability: ExistValueResponse;
|
|
1299
1294
|
getAthleteHistoricalScores: HistoricalScoreType[];
|
|
1300
1295
|
getMyHistoricalScores: HistoricalScoreType[];
|
|
1301
|
-
getAthleteCampaigns: FundRaisingCampaign[];
|
|
1302
1296
|
getSports: Sport[];
|
|
1303
1297
|
findSportById: Sport;
|
|
1304
1298
|
getSportLevels: SportLevel[];
|
|
@@ -1356,7 +1350,6 @@ export interface Mutation {
|
|
|
1356
1350
|
deleteAthletePhotos: DeleteValuesResponse;
|
|
1357
1351
|
saveAthleteCompetitionResult: AthleteCompetitionResult;
|
|
1358
1352
|
updateAthleteScores: Athlete;
|
|
1359
|
-
deleteAthleteUser: DeleteAthleteResponse;
|
|
1360
1353
|
createSport: Sport;
|
|
1361
1354
|
updateSport: Sport;
|
|
1362
1355
|
createSportLevel: SportLevel;
|
|
@@ -1372,14 +1365,11 @@ export interface Mutation {
|
|
|
1372
1365
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1373
1366
|
createResetPasswordCode: EditValueResponse;
|
|
1374
1367
|
resetUserPassword: EditValueResponse;
|
|
1375
|
-
updateUserSuspendedStatus: User;
|
|
1376
1368
|
handleStravaCallback: StravaToken;
|
|
1377
1369
|
refreshStravaToken: StravaToken;
|
|
1378
1370
|
createSportsEvent: SportsEvent;
|
|
1379
1371
|
setFundingStatus: FundRaisingCampaign;
|
|
1380
1372
|
createFundingCampaign: FundRaisingCampaign;
|
|
1381
|
-
updateFundingCampaign: FundRaisingCampaign;
|
|
1382
|
-
deleteFundingCampaign: DeleteSingleValueResponse;
|
|
1383
1373
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
1384
1374
|
createAthleteMembershipAffilation: AthleteMembership;
|
|
1385
1375
|
deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
|
|
@@ -2165,6 +2155,11 @@ export interface AthleteCompetitionResultGenqlSelection {
|
|
|
2165
2155
|
resultWebLink?: boolean | number;
|
|
2166
2156
|
outcome?: boolean | number;
|
|
2167
2157
|
adversary?: boolean | number;
|
|
2158
|
+
genderPosition?: boolean | number;
|
|
2159
|
+
genderParticipants?: boolean | number;
|
|
2160
|
+
categoryPosition?: boolean | number;
|
|
2161
|
+
categoryParticipants?: boolean | number;
|
|
2162
|
+
categoryName?: boolean | number;
|
|
2168
2163
|
__typename?: boolean | number;
|
|
2169
2164
|
__scalar?: boolean | number;
|
|
2170
2165
|
}
|
|
@@ -2184,6 +2179,22 @@ export interface BudgetGenqlSelection {
|
|
|
2184
2179
|
__typename?: boolean | number;
|
|
2185
2180
|
__scalar?: boolean | number;
|
|
2186
2181
|
}
|
|
2182
|
+
export interface PhotoAlbumGenqlSelection {
|
|
2183
|
+
_id?: boolean | number;
|
|
2184
|
+
photo?: AWSS3FileGenqlSelection;
|
|
2185
|
+
__typename?: boolean | number;
|
|
2186
|
+
__scalar?: boolean | number;
|
|
2187
|
+
}
|
|
2188
|
+
export interface AlbumGenqlSelection {
|
|
2189
|
+
_id?: boolean | number;
|
|
2190
|
+
label?: boolean | number;
|
|
2191
|
+
description?: boolean | number;
|
|
2192
|
+
photos?: PhotoAlbumGenqlSelection;
|
|
2193
|
+
displayIndex?: boolean | number;
|
|
2194
|
+
competitionId?: boolean | number;
|
|
2195
|
+
__typename?: boolean | number;
|
|
2196
|
+
__scalar?: boolean | number;
|
|
2197
|
+
}
|
|
2187
2198
|
export interface AthleteCompetitionGenqlSelection {
|
|
2188
2199
|
_id?: boolean | number;
|
|
2189
2200
|
event?: SportsEventGenqlSelection;
|
|
@@ -2192,6 +2203,7 @@ export interface AthleteCompetitionGenqlSelection {
|
|
|
2192
2203
|
result?: AthleteCompetitionResultGenqlSelection;
|
|
2193
2204
|
fundRaisingCampaignIds?: boolean | number;
|
|
2194
2205
|
budget?: BudgetGenqlSelection;
|
|
2206
|
+
albums?: AlbumGenqlSelection;
|
|
2195
2207
|
__typename?: boolean | number;
|
|
2196
2208
|
__scalar?: boolean | number;
|
|
2197
2209
|
}
|
|
@@ -2250,20 +2262,6 @@ export interface ChannelGenqlSelection {
|
|
|
2250
2262
|
__typename?: boolean | number;
|
|
2251
2263
|
__scalar?: boolean | number;
|
|
2252
2264
|
}
|
|
2253
|
-
export interface PhotoAlbumGenqlSelection {
|
|
2254
|
-
_id?: boolean | number;
|
|
2255
|
-
photo?: AWSS3FileGenqlSelection;
|
|
2256
|
-
__typename?: boolean | number;
|
|
2257
|
-
__scalar?: boolean | number;
|
|
2258
|
-
}
|
|
2259
|
-
export interface AlbumGenqlSelection {
|
|
2260
|
-
_id?: boolean | number;
|
|
2261
|
-
label?: boolean | number;
|
|
2262
|
-
description?: boolean | number;
|
|
2263
|
-
photos?: PhotoAlbumGenqlSelection;
|
|
2264
|
-
__typename?: boolean | number;
|
|
2265
|
-
__scalar?: boolean | number;
|
|
2266
|
-
}
|
|
2267
2265
|
export interface AthletePreferencesGenqlSelection {
|
|
2268
2266
|
_id?: boolean | number;
|
|
2269
2267
|
showProfileHelper?: boolean | number;
|
|
@@ -2283,7 +2281,6 @@ export interface FundRaisingCampaignGenqlSelection {
|
|
|
2283
2281
|
initialFundsObtained?: boolean | number;
|
|
2284
2282
|
fundsObtained?: boolean | number;
|
|
2285
2283
|
location?: WorldLocationGenqlSelection;
|
|
2286
|
-
createdDate?: boolean | number;
|
|
2287
2284
|
endingDate?: boolean | number;
|
|
2288
2285
|
budget?: BudgetGenqlSelection;
|
|
2289
2286
|
competitions?: AthleteCompetitionGenqlSelection;
|
|
@@ -2425,12 +2422,6 @@ export interface HistoricalScoreTypeGenqlSelection {
|
|
|
2425
2422
|
__typename?: boolean | number;
|
|
2426
2423
|
__scalar?: boolean | number;
|
|
2427
2424
|
}
|
|
2428
|
-
export interface UserDomainGenqlSelection {
|
|
2429
|
-
_id?: boolean | number;
|
|
2430
|
-
user?: UserGenqlSelection;
|
|
2431
|
-
__typename?: boolean | number;
|
|
2432
|
-
__scalar?: boolean | number;
|
|
2433
|
-
}
|
|
2434
2425
|
export interface AthleteReferenceGenqlSelection {
|
|
2435
2426
|
_id?: boolean | number;
|
|
2436
2427
|
firstName?: boolean | number;
|
|
@@ -2455,7 +2446,6 @@ export interface AthleteReferenceGenqlSelection {
|
|
|
2455
2446
|
bannerPicture?: AWSS3FileGenqlSelection;
|
|
2456
2447
|
aboutMe?: boolean | number;
|
|
2457
2448
|
preferences?: AthletePreferencesGenqlSelection;
|
|
2458
|
-
userDomain?: UserDomainGenqlSelection;
|
|
2459
2449
|
__typename?: boolean | number;
|
|
2460
2450
|
__scalar?: boolean | number;
|
|
2461
2451
|
}
|
|
@@ -2483,7 +2473,6 @@ export interface AthleteGenqlSelection {
|
|
|
2483
2473
|
bannerPicture?: AWSS3FileGenqlSelection;
|
|
2484
2474
|
aboutMe?: boolean | number;
|
|
2485
2475
|
preferences?: AthletePreferencesGenqlSelection;
|
|
2486
|
-
userDomain?: UserDomainGenqlSelection;
|
|
2487
2476
|
allSports?: SportGenqlSelection;
|
|
2488
2477
|
teams?: TeamGenqlSelection;
|
|
2489
2478
|
sponsorBrands?: BrandGenqlSelection;
|
|
@@ -2743,12 +2732,6 @@ export interface ExistValueResponseGenqlSelection {
|
|
|
2743
2732
|
__typename?: boolean | number;
|
|
2744
2733
|
__scalar?: boolean | number;
|
|
2745
2734
|
}
|
|
2746
|
-
export interface DeleteAthleteResponseGenqlSelection {
|
|
2747
|
-
deletedAthlete?: AthleteReferenceGenqlSelection;
|
|
2748
|
-
success?: boolean | number;
|
|
2749
|
-
__typename?: boolean | number;
|
|
2750
|
-
__scalar?: boolean | number;
|
|
2751
|
-
}
|
|
2752
2735
|
export interface StripeObjectGenqlSelection {
|
|
2753
2736
|
type?: boolean | number;
|
|
2754
2737
|
json?: boolean | number;
|
|
@@ -2845,8 +2828,13 @@ export interface CompetitionResultDto {
|
|
|
2845
2828
|
finishTimeMS?: (Scalars['Float'] | null);
|
|
2846
2829
|
resultWebLink?: (Scalars['String'] | null);
|
|
2847
2830
|
totalParticipants?: (Scalars['Float'] | null);
|
|
2848
|
-
outcome
|
|
2831
|
+
outcome: Scalars['String'];
|
|
2849
2832
|
adversary?: (Scalars['String'] | null);
|
|
2833
|
+
genderPosition?: (Scalars['Float'] | null);
|
|
2834
|
+
genderParticipants?: (Scalars['Float'] | null);
|
|
2835
|
+
categoryPosition?: (Scalars['Float'] | null);
|
|
2836
|
+
categoryParticipants?: (Scalars['Float'] | null);
|
|
2837
|
+
categoryName?: (Scalars['String'] | null);
|
|
2850
2838
|
}
|
|
2851
2839
|
export interface SetCompetitionResultDto {
|
|
2852
2840
|
resultType: Scalars['String'];
|
|
@@ -2855,8 +2843,13 @@ export interface SetCompetitionResultDto {
|
|
|
2855
2843
|
finishTimeMS?: (Scalars['Float'] | null);
|
|
2856
2844
|
resultWebLink?: (Scalars['String'] | null);
|
|
2857
2845
|
totalParticipants?: (Scalars['Float'] | null);
|
|
2858
|
-
outcome
|
|
2846
|
+
outcome: Scalars['String'];
|
|
2859
2847
|
adversary?: (Scalars['String'] | null);
|
|
2848
|
+
genderPosition?: (Scalars['Float'] | null);
|
|
2849
|
+
genderParticipants?: (Scalars['Float'] | null);
|
|
2850
|
+
categoryPosition?: (Scalars['Float'] | null);
|
|
2851
|
+
categoryParticipants?: (Scalars['Float'] | null);
|
|
2852
|
+
categoryName?: (Scalars['String'] | null);
|
|
2860
2853
|
competitionId: Scalars['String'];
|
|
2861
2854
|
}
|
|
2862
2855
|
export interface CreateAthleteCompetitionDto {
|
|
@@ -2970,12 +2963,6 @@ export interface GetHistoricalScoresDto {
|
|
|
2970
2963
|
scoreTypes: Scalars['String'][];
|
|
2971
2964
|
athleteIdOrEmail: Scalars['String'];
|
|
2972
2965
|
}
|
|
2973
|
-
export interface DeleteAthleteDto {
|
|
2974
|
-
userIdentifier: Scalars['String'];
|
|
2975
|
-
}
|
|
2976
|
-
export interface GetAthleteCampaignsDto {
|
|
2977
|
-
athleteId: Scalars['String'];
|
|
2978
|
-
}
|
|
2979
2966
|
export interface QualificationDto {
|
|
2980
2967
|
type: Scalars['String'];
|
|
2981
2968
|
}
|
|
@@ -3083,20 +3070,6 @@ export interface CreateFundingCampaignForDto {
|
|
|
3083
3070
|
competitionIds?: (Scalars['String'][] | null);
|
|
3084
3071
|
loginEmail: Scalars['String'];
|
|
3085
3072
|
}
|
|
3086
|
-
export interface UpdateFundingCampaignDto {
|
|
3087
|
-
budgetMode: Scalars['String'];
|
|
3088
|
-
title: Scalars['String'];
|
|
3089
|
-
motivation: Scalars['String'];
|
|
3090
|
-
website?: (Scalars['String'] | null);
|
|
3091
|
-
fundsRequired: Scalars['Float'];
|
|
3092
|
-
initialFundsObtained?: Scalars['Float'];
|
|
3093
|
-
cityId?: (Scalars['String'] | null);
|
|
3094
|
-
endingDate: Scalars['DateTime'];
|
|
3095
|
-
budget?: (CreateBudgetDto | null);
|
|
3096
|
-
competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
|
|
3097
|
-
competitionIds?: (Scalars['String'][] | null);
|
|
3098
|
-
_id: Scalars['String'];
|
|
3099
|
-
}
|
|
3100
3073
|
export interface SetFundingStatusDto {
|
|
3101
3074
|
fundingCampaignId: Scalars['String'];
|
|
3102
3075
|
newStatus: Scalars['String'];
|
|
@@ -3288,11 +3261,6 @@ export interface QueryGenqlSelection {
|
|
|
3288
3261
|
input: GetMyHistoricalScoresDto;
|
|
3289
3262
|
};
|
|
3290
3263
|
});
|
|
3291
|
-
getAthleteCampaigns?: (FundRaisingCampaignGenqlSelection & {
|
|
3292
|
-
__args: {
|
|
3293
|
-
input: GetAthleteCampaignsDto;
|
|
3294
|
-
};
|
|
3295
|
-
});
|
|
3296
3264
|
getSports?: SportGenqlSelection;
|
|
3297
3265
|
findSportById?: (SportGenqlSelection & {
|
|
3298
3266
|
__args: {
|
|
@@ -3541,11 +3509,6 @@ export interface MutationGenqlSelection {
|
|
|
3541
3509
|
};
|
|
3542
3510
|
});
|
|
3543
3511
|
updateAthleteScores?: AthleteGenqlSelection;
|
|
3544
|
-
deleteAthleteUser?: (DeleteAthleteResponseGenqlSelection & {
|
|
3545
|
-
__args: {
|
|
3546
|
-
input: DeleteAthleteDto;
|
|
3547
|
-
};
|
|
3548
|
-
});
|
|
3549
3512
|
createSport?: (SportGenqlSelection & {
|
|
3550
3513
|
__args: {
|
|
3551
3514
|
input: CreateSportDto;
|
|
@@ -3622,11 +3585,6 @@ export interface MutationGenqlSelection {
|
|
|
3622
3585
|
input: resetPasswordDto;
|
|
3623
3586
|
};
|
|
3624
3587
|
});
|
|
3625
|
-
updateUserSuspendedStatus?: (UserGenqlSelection & {
|
|
3626
|
-
__args: {
|
|
3627
|
-
input: UpdateUserSuspendedStatusDto;
|
|
3628
|
-
};
|
|
3629
|
-
});
|
|
3630
3588
|
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
3631
3589
|
__args: {
|
|
3632
3590
|
data: RegisterStravaDto;
|
|
@@ -3652,16 +3610,6 @@ export interface MutationGenqlSelection {
|
|
|
3652
3610
|
input: CreateFundingCampaignDto;
|
|
3653
3611
|
};
|
|
3654
3612
|
});
|
|
3655
|
-
updateFundingCampaign?: (FundRaisingCampaignGenqlSelection & {
|
|
3656
|
-
__args: {
|
|
3657
|
-
input: UpdateFundingCampaignDto;
|
|
3658
|
-
};
|
|
3659
|
-
});
|
|
3660
|
-
deleteFundingCampaign?: (DeleteSingleValueResponseGenqlSelection & {
|
|
3661
|
-
__args: {
|
|
3662
|
-
input: DeleteSingleValueDto;
|
|
3663
|
-
};
|
|
3664
|
-
});
|
|
3665
3613
|
createMembershipOrganization?: (MembershipOrganizationReferenceGenqlSelection & {
|
|
3666
3614
|
__args: {
|
|
3667
3615
|
input: CreateMembershipOrganizationDto;
|
|
@@ -3899,10 +3847,6 @@ export interface CreateCityDto {
|
|
|
3899
3847
|
ranking?: (Scalars['Float'] | null);
|
|
3900
3848
|
same_name?: (Scalars['String'] | null);
|
|
3901
3849
|
}
|
|
3902
|
-
export interface UpdateUserSuspendedStatusDto {
|
|
3903
|
-
userId: Scalars['String'];
|
|
3904
|
-
suspended: Scalars['Boolean'];
|
|
3905
|
-
}
|
|
3906
3850
|
export interface RegisterStravaDto {
|
|
3907
3851
|
idAthlete: Scalars['String'];
|
|
3908
3852
|
code: Scalars['String'];
|
|
@@ -4147,6 +4091,12 @@ export declare const isBudgetItem: (obj?: {
|
|
|
4147
4091
|
export declare const isBudget: (obj?: {
|
|
4148
4092
|
__typename?: any;
|
|
4149
4093
|
} | null) => obj is Budget;
|
|
4094
|
+
export declare const isPhotoAlbum: (obj?: {
|
|
4095
|
+
__typename?: any;
|
|
4096
|
+
} | null) => obj is PhotoAlbum;
|
|
4097
|
+
export declare const isAlbum: (obj?: {
|
|
4098
|
+
__typename?: any;
|
|
4099
|
+
} | null) => obj is Album;
|
|
4150
4100
|
export declare const isAthleteCompetition: (obj?: {
|
|
4151
4101
|
__typename?: any;
|
|
4152
4102
|
} | null) => obj is AthleteCompetition;
|
|
@@ -4165,12 +4115,6 @@ export declare const isNewsLink: (obj?: {
|
|
|
4165
4115
|
export declare const isChannel: (obj?: {
|
|
4166
4116
|
__typename?: any;
|
|
4167
4117
|
} | null) => obj is Channel;
|
|
4168
|
-
export declare const isPhotoAlbum: (obj?: {
|
|
4169
|
-
__typename?: any;
|
|
4170
|
-
} | null) => obj is PhotoAlbum;
|
|
4171
|
-
export declare const isAlbum: (obj?: {
|
|
4172
|
-
__typename?: any;
|
|
4173
|
-
} | null) => obj is Album;
|
|
4174
4118
|
export declare const isAthletePreferences: (obj?: {
|
|
4175
4119
|
__typename?: any;
|
|
4176
4120
|
} | null) => obj is AthletePreferences;
|
|
@@ -4204,9 +4148,6 @@ export declare const isStripeAccountReference: (obj?: {
|
|
|
4204
4148
|
export declare const isHistoricalScoreType: (obj?: {
|
|
4205
4149
|
__typename?: any;
|
|
4206
4150
|
} | null) => obj is HistoricalScoreType;
|
|
4207
|
-
export declare const isUserDomain: (obj?: {
|
|
4208
|
-
__typename?: any;
|
|
4209
|
-
} | null) => obj is UserDomain;
|
|
4210
4151
|
export declare const isAthleteReference: (obj?: {
|
|
4211
4152
|
__typename?: any;
|
|
4212
4153
|
} | null) => obj is AthleteReference;
|
|
@@ -4294,9 +4235,6 @@ export declare const isAddValuesResponse: (obj?: {
|
|
|
4294
4235
|
export declare const isExistValueResponse: (obj?: {
|
|
4295
4236
|
__typename?: any;
|
|
4296
4237
|
} | null) => obj is ExistValueResponse;
|
|
4297
|
-
export declare const isDeleteAthleteResponse: (obj?: {
|
|
4298
|
-
__typename?: any;
|
|
4299
|
-
} | null) => obj is DeleteAthleteResponse;
|
|
4300
4238
|
export declare const isStripeObject: (obj?: {
|
|
4301
4239
|
__typename?: any;
|
|
4302
4240
|
} | null) => obj is StripeObject;
|
package/src/client/schema.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isSportsLevelQualification = exports.isSportsQualification = exports.isDistanceQualification = exports.isNationalityQualification = exports.isLocationQualification = exports.isScoreQualification = exports.isGenderQualification = exports.isAgeQualification = exports.isCountry = exports.isState = exports.isCity = exports.isStravaTpiSwimDto = exports.isStravaTpiRunDto = exports.isStravaTpiRideDto = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isCodeVerificationResponse = exports.isTextDatabaseFile = exports.isDatabaseFile = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isErrorInfo = exports.isVerificationCode = exports.isMagicLink = exports.isAWSS3File = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isSignedAgreement = exports.isAgreement = exports.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = void 0;
|
|
4
|
-
exports.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = exports.isAthlete = exports.isAthleteReference = exports.
|
|
5
|
-
exports.enumDonationMode = exports.enumStripeTransferStatus = exports.isMutation = exports.isQuery = exports.isStripeTransfer = exports.isUserImages = exports.isStripeObject = exports.
|
|
4
|
+
exports.isStravaToken = exports.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = exports.isAthlete = exports.isAthleteReference = exports.isHistoricalScoreType = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isFundRaisingCampaign = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = exports.isSponsorshipCommitment = exports.isSponsorshipItem = exports.isSponsor = exports.isSponsorBrand = exports.isSponsorStats = exports.isIndustry = exports.isQualificationTypeUnion = exports.isAthleteCriteria = void 0;
|
|
5
|
+
exports.enumDonationMode = exports.enumStripeTransferStatus = exports.isMutation = exports.isQuery = exports.isStripeTransfer = exports.isUserImages = exports.isStripeObject = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.isDeleteValuesResponse = exports.isErrorType = exports.isEditValueResponse = exports.isReceiptUrl = exports.isReceipt = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = exports.isStripeCheckoutSession = exports.isStripeSession = void 0;
|
|
6
6
|
const User_possibleTypes = ['User'];
|
|
7
7
|
const isUser = (obj) => {
|
|
8
8
|
if (!obj?.__typename)
|
|
@@ -528,6 +528,20 @@ const isBudget = (obj) => {
|
|
|
528
528
|
return Budget_possibleTypes.includes(obj.__typename);
|
|
529
529
|
};
|
|
530
530
|
exports.isBudget = isBudget;
|
|
531
|
+
const PhotoAlbum_possibleTypes = ['PhotoAlbum'];
|
|
532
|
+
const isPhotoAlbum = (obj) => {
|
|
533
|
+
if (!obj?.__typename)
|
|
534
|
+
throw new Error('__typename is missing in "isPhotoAlbum"');
|
|
535
|
+
return PhotoAlbum_possibleTypes.includes(obj.__typename);
|
|
536
|
+
};
|
|
537
|
+
exports.isPhotoAlbum = isPhotoAlbum;
|
|
538
|
+
const Album_possibleTypes = ['Album'];
|
|
539
|
+
const isAlbum = (obj) => {
|
|
540
|
+
if (!obj?.__typename)
|
|
541
|
+
throw new Error('__typename is missing in "isAlbum"');
|
|
542
|
+
return Album_possibleTypes.includes(obj.__typename);
|
|
543
|
+
};
|
|
544
|
+
exports.isAlbum = isAlbum;
|
|
531
545
|
const AthleteCompetition_possibleTypes = ['AthleteCompetition'];
|
|
532
546
|
const isAthleteCompetition = (obj) => {
|
|
533
547
|
if (!obj?.__typename)
|
|
@@ -570,20 +584,6 @@ const isChannel = (obj) => {
|
|
|
570
584
|
return Channel_possibleTypes.includes(obj.__typename);
|
|
571
585
|
};
|
|
572
586
|
exports.isChannel = isChannel;
|
|
573
|
-
const PhotoAlbum_possibleTypes = ['PhotoAlbum'];
|
|
574
|
-
const isPhotoAlbum = (obj) => {
|
|
575
|
-
if (!obj?.__typename)
|
|
576
|
-
throw new Error('__typename is missing in "isPhotoAlbum"');
|
|
577
|
-
return PhotoAlbum_possibleTypes.includes(obj.__typename);
|
|
578
|
-
};
|
|
579
|
-
exports.isPhotoAlbum = isPhotoAlbum;
|
|
580
|
-
const Album_possibleTypes = ['Album'];
|
|
581
|
-
const isAlbum = (obj) => {
|
|
582
|
-
if (!obj?.__typename)
|
|
583
|
-
throw new Error('__typename is missing in "isAlbum"');
|
|
584
|
-
return Album_possibleTypes.includes(obj.__typename);
|
|
585
|
-
};
|
|
586
|
-
exports.isAlbum = isAlbum;
|
|
587
587
|
const AthletePreferences_possibleTypes = ['AthletePreferences'];
|
|
588
588
|
const isAthletePreferences = (obj) => {
|
|
589
589
|
if (!obj?.__typename)
|
|
@@ -661,13 +661,6 @@ const isHistoricalScoreType = (obj) => {
|
|
|
661
661
|
return HistoricalScoreType_possibleTypes.includes(obj.__typename);
|
|
662
662
|
};
|
|
663
663
|
exports.isHistoricalScoreType = isHistoricalScoreType;
|
|
664
|
-
const UserDomain_possibleTypes = ['UserDomain'];
|
|
665
|
-
const isUserDomain = (obj) => {
|
|
666
|
-
if (!obj?.__typename)
|
|
667
|
-
throw new Error('__typename is missing in "isUserDomain"');
|
|
668
|
-
return UserDomain_possibleTypes.includes(obj.__typename);
|
|
669
|
-
};
|
|
670
|
-
exports.isUserDomain = isUserDomain;
|
|
671
664
|
const AthleteReference_possibleTypes = ['AthleteReference'];
|
|
672
665
|
const isAthleteReference = (obj) => {
|
|
673
666
|
if (!obj?.__typename)
|
|
@@ -871,13 +864,6 @@ const isExistValueResponse = (obj) => {
|
|
|
871
864
|
return ExistValueResponse_possibleTypes.includes(obj.__typename);
|
|
872
865
|
};
|
|
873
866
|
exports.isExistValueResponse = isExistValueResponse;
|
|
874
|
-
const DeleteAthleteResponse_possibleTypes = ['DeleteAthleteResponse'];
|
|
875
|
-
const isDeleteAthleteResponse = (obj) => {
|
|
876
|
-
if (!obj?.__typename)
|
|
877
|
-
throw new Error('__typename is missing in "isDeleteAthleteResponse"');
|
|
878
|
-
return DeleteAthleteResponse_possibleTypes.includes(obj.__typename);
|
|
879
|
-
};
|
|
880
|
-
exports.isDeleteAthleteResponse = isDeleteAthleteResponse;
|
|
881
867
|
const StripeObject_possibleTypes = ['StripeObject'];
|
|
882
868
|
const isStripeObject = (obj) => {
|
|
883
869
|
if (!obj?.__typename)
|