@vertikalx/vtx-backend-client 1.0.0-dev-daniel.27 → 1.0.0-dev-daniel.28
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/client/runtime/createClient.d.ts +4 -10
- package/src/client/runtime/generateGraphqlOperation.d.ts +1 -1
- package/src/client/schema.d.ts +128 -2
- package/src/client/schema.graphql +62 -1
- package/src/client/schema.js +22 -1
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +75 -1
- package/src/client/types.js +224 -33
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -10,14 +10,8 @@ export type ClientOptions = Omit<RequestInit, 'body' | 'headers'> & {
|
|
|
10
10
|
fetch?: Function;
|
|
11
11
|
headers?: Headers;
|
|
12
12
|
};
|
|
13
|
-
export declare const createClient: ({ queryRoot, mutationRoot, subscriptionRoot, ...options }:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
fetch?: Function | undefined;
|
|
18
|
-
headers?: Headers | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
queryRoot?: LinkedType | undefined;
|
|
21
|
-
mutationRoot?: LinkedType | undefined;
|
|
22
|
-
subscriptionRoot?: LinkedType | undefined;
|
|
13
|
+
export declare const createClient: ({ queryRoot, mutationRoot, subscriptionRoot, ...options }: ClientOptions & {
|
|
14
|
+
queryRoot?: LinkedType;
|
|
15
|
+
mutationRoot?: LinkedType;
|
|
16
|
+
subscriptionRoot?: LinkedType;
|
|
23
17
|
}) => any;
|
|
@@ -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
|
@@ -201,16 +201,37 @@ export interface SubscriptionPayment {
|
|
|
201
201
|
subscriber: PlanSubscription;
|
|
202
202
|
__typename: 'SubscriptionPayment';
|
|
203
203
|
}
|
|
204
|
+
export interface AWSS3File {
|
|
205
|
+
_id: Scalars['String'];
|
|
206
|
+
name: (Scalars['String'] | null);
|
|
207
|
+
contentType: (Scalars['String'] | null);
|
|
208
|
+
size: (Scalars['Float'] | null);
|
|
209
|
+
useType: (Scalars['String'] | null);
|
|
210
|
+
url: Scalars['String'];
|
|
211
|
+
key: Scalars['String'];
|
|
212
|
+
pendingDelete: Scalars['Boolean'];
|
|
213
|
+
__typename: 'AWSS3File';
|
|
214
|
+
}
|
|
204
215
|
export interface HttpRequestField {
|
|
205
216
|
key: Scalars['String'];
|
|
206
217
|
value: Scalars['String'];
|
|
207
218
|
__typename: 'HttpRequestField';
|
|
208
219
|
}
|
|
209
220
|
export interface AWSS3UploadUrl {
|
|
210
|
-
|
|
221
|
+
uploadUrl: Scalars['String'];
|
|
211
222
|
fields: HttpRequestField[];
|
|
223
|
+
downloadUrl: Scalars['String'];
|
|
224
|
+
bucket: Scalars['String'];
|
|
225
|
+
key: Scalars['String'];
|
|
212
226
|
__typename: 'AWSS3UploadUrl';
|
|
213
227
|
}
|
|
228
|
+
export interface AWSS3CallResult {
|
|
229
|
+
httpStatus: Scalars['Float'];
|
|
230
|
+
result: Scalars['String'];
|
|
231
|
+
message: Scalars['String'];
|
|
232
|
+
errors: (Scalars['String'][] | null);
|
|
233
|
+
__typename: 'AWSS3CallResult';
|
|
234
|
+
}
|
|
214
235
|
export interface BrandStatsType {
|
|
215
236
|
campaigns: (Scalars['Float'] | null);
|
|
216
237
|
sponsorships: (Scalars['Float'] | null);
|
|
@@ -259,6 +280,11 @@ export interface Athlete {
|
|
|
259
280
|
nationalityIso2: (Scalars['String'] | null);
|
|
260
281
|
__typename: 'Athlete';
|
|
261
282
|
}
|
|
283
|
+
export interface Sport {
|
|
284
|
+
_id: Scalars['String'];
|
|
285
|
+
name: Scalars['String'];
|
|
286
|
+
__typename: 'Sport';
|
|
287
|
+
}
|
|
262
288
|
export interface Query {
|
|
263
289
|
tenant: Tenant;
|
|
264
290
|
tenantByEmail: Tenant;
|
|
@@ -277,6 +303,8 @@ export interface Query {
|
|
|
277
303
|
sponsors: Sponsor[];
|
|
278
304
|
athlete: Athlete[];
|
|
279
305
|
findAthleteById: Athlete;
|
|
306
|
+
sports: Sport[];
|
|
307
|
+
findSportById: Sport;
|
|
280
308
|
__typename: 'Query';
|
|
281
309
|
}
|
|
282
310
|
export interface Mutation {
|
|
@@ -288,11 +316,16 @@ export interface Mutation {
|
|
|
288
316
|
createTenantUserTokenFromEmailAndUri: TenantUserTokenWithInfo;
|
|
289
317
|
createNonTenantedUserWithLogin: UserWithToken;
|
|
290
318
|
createNonTenantUserTokenFromEmail: UserToken;
|
|
319
|
+
deleteUploadedUseTypeFile: AWSS3CallResult;
|
|
320
|
+
deleteUploadedBucketFile: AWSS3CallResult;
|
|
321
|
+
registerS3UploadedFile: AWSS3File;
|
|
291
322
|
createIndustry: Industry;
|
|
292
323
|
createBrand: Brand;
|
|
293
324
|
registerSponsor: Sponsor;
|
|
294
325
|
createSponsor: Sponsor;
|
|
295
326
|
registerAthlete: Athlete;
|
|
327
|
+
createSport: Sport;
|
|
328
|
+
updateSport: Sport;
|
|
296
329
|
__typename: 'Mutation';
|
|
297
330
|
}
|
|
298
331
|
export interface ApiKeyGenqlSelection {
|
|
@@ -513,6 +546,18 @@ export interface SubscriptionPaymentGenqlSelection {
|
|
|
513
546
|
__typename?: boolean | number;
|
|
514
547
|
__scalar?: boolean | number;
|
|
515
548
|
}
|
|
549
|
+
export interface AWSS3FileGenqlSelection {
|
|
550
|
+
_id?: boolean | number;
|
|
551
|
+
name?: boolean | number;
|
|
552
|
+
contentType?: boolean | number;
|
|
553
|
+
size?: boolean | number;
|
|
554
|
+
useType?: boolean | number;
|
|
555
|
+
url?: boolean | number;
|
|
556
|
+
key?: boolean | number;
|
|
557
|
+
pendingDelete?: boolean | number;
|
|
558
|
+
__typename?: boolean | number;
|
|
559
|
+
__scalar?: boolean | number;
|
|
560
|
+
}
|
|
516
561
|
export interface HttpRequestFieldGenqlSelection {
|
|
517
562
|
key?: boolean | number;
|
|
518
563
|
value?: boolean | number;
|
|
@@ -520,8 +565,19 @@ export interface HttpRequestFieldGenqlSelection {
|
|
|
520
565
|
__scalar?: boolean | number;
|
|
521
566
|
}
|
|
522
567
|
export interface AWSS3UploadUrlGenqlSelection {
|
|
523
|
-
|
|
568
|
+
uploadUrl?: boolean | number;
|
|
524
569
|
fields?: HttpRequestFieldGenqlSelection;
|
|
570
|
+
downloadUrl?: boolean | number;
|
|
571
|
+
bucket?: boolean | number;
|
|
572
|
+
key?: boolean | number;
|
|
573
|
+
__typename?: boolean | number;
|
|
574
|
+
__scalar?: boolean | number;
|
|
575
|
+
}
|
|
576
|
+
export interface AWSS3CallResultGenqlSelection {
|
|
577
|
+
httpStatus?: boolean | number;
|
|
578
|
+
result?: boolean | number;
|
|
579
|
+
message?: boolean | number;
|
|
580
|
+
errors?: boolean | number;
|
|
525
581
|
__typename?: boolean | number;
|
|
526
582
|
__scalar?: boolean | number;
|
|
527
583
|
}
|
|
@@ -579,6 +635,12 @@ export interface AthleteGenqlSelection {
|
|
|
579
635
|
__typename?: boolean | number;
|
|
580
636
|
__scalar?: boolean | number;
|
|
581
637
|
}
|
|
638
|
+
export interface SportGenqlSelection {
|
|
639
|
+
_id?: boolean | number;
|
|
640
|
+
name?: boolean | number;
|
|
641
|
+
__typename?: boolean | number;
|
|
642
|
+
__scalar?: boolean | number;
|
|
643
|
+
}
|
|
582
644
|
export interface QueryGenqlSelection {
|
|
583
645
|
tenant?: (TenantGenqlSelection & {
|
|
584
646
|
__args: {
|
|
@@ -643,6 +705,12 @@ export interface QueryGenqlSelection {
|
|
|
643
705
|
athleteId: Scalars['String'];
|
|
644
706
|
};
|
|
645
707
|
});
|
|
708
|
+
sports?: SportGenqlSelection;
|
|
709
|
+
findSportById?: (SportGenqlSelection & {
|
|
710
|
+
__args: {
|
|
711
|
+
sportId: Scalars['String'];
|
|
712
|
+
};
|
|
713
|
+
});
|
|
646
714
|
__typename?: boolean | number;
|
|
647
715
|
__scalar?: boolean | number;
|
|
648
716
|
}
|
|
@@ -691,6 +759,21 @@ export interface MutationGenqlSelection {
|
|
|
691
759
|
email: Scalars['String'];
|
|
692
760
|
};
|
|
693
761
|
});
|
|
762
|
+
deleteUploadedUseTypeFile?: (AWSS3CallResultGenqlSelection & {
|
|
763
|
+
__args: {
|
|
764
|
+
input: AWSS3DeleteUseTypeFileDto;
|
|
765
|
+
};
|
|
766
|
+
});
|
|
767
|
+
deleteUploadedBucketFile?: (AWSS3CallResultGenqlSelection & {
|
|
768
|
+
__args: {
|
|
769
|
+
input: AWSS3DeleteBucketFileDto;
|
|
770
|
+
};
|
|
771
|
+
});
|
|
772
|
+
registerS3UploadedFile?: (AWSS3FileGenqlSelection & {
|
|
773
|
+
__args: {
|
|
774
|
+
input: AWSS3UploadedFileDto;
|
|
775
|
+
};
|
|
776
|
+
});
|
|
694
777
|
createIndustry?: (IndustryGenqlSelection & {
|
|
695
778
|
__args: {
|
|
696
779
|
input: CreateIndustryDto;
|
|
@@ -716,6 +799,17 @@ export interface MutationGenqlSelection {
|
|
|
716
799
|
input: RegisterAthleteDto;
|
|
717
800
|
};
|
|
718
801
|
});
|
|
802
|
+
createSport?: (SportGenqlSelection & {
|
|
803
|
+
__args: {
|
|
804
|
+
input: CreateSportDto;
|
|
805
|
+
};
|
|
806
|
+
});
|
|
807
|
+
updateSport?: (SportGenqlSelection & {
|
|
808
|
+
__args: {
|
|
809
|
+
sportId: Scalars['String'];
|
|
810
|
+
input: UpdateSportDto;
|
|
811
|
+
};
|
|
812
|
+
});
|
|
719
813
|
__typename?: boolean | number;
|
|
720
814
|
__scalar?: boolean | number;
|
|
721
815
|
}
|
|
@@ -741,6 +835,23 @@ export interface CreateActiveUserInput {
|
|
|
741
835
|
loginEmail: Scalars['String'];
|
|
742
836
|
password?: (Scalars['String'] | null);
|
|
743
837
|
}
|
|
838
|
+
export interface AWSS3DeleteUseTypeFileDto {
|
|
839
|
+
name: Scalars['String'];
|
|
840
|
+
useType: Scalars['String'];
|
|
841
|
+
}
|
|
842
|
+
export interface AWSS3DeleteBucketFileDto {
|
|
843
|
+
key: Scalars['String'];
|
|
844
|
+
bucket: Scalars['String'];
|
|
845
|
+
credentialsId?: (Scalars['String'] | null);
|
|
846
|
+
}
|
|
847
|
+
export interface AWSS3UploadedFileDto {
|
|
848
|
+
key: Scalars['String'];
|
|
849
|
+
useType: Scalars['String'];
|
|
850
|
+
uploadUrl: Scalars['String'];
|
|
851
|
+
contentType: Scalars['String'];
|
|
852
|
+
originalFileName?: (Scalars['String'] | null);
|
|
853
|
+
fileSize?: (Scalars['Float'] | null);
|
|
854
|
+
}
|
|
744
855
|
export interface CreateIndustryDto {
|
|
745
856
|
name: Scalars['String'];
|
|
746
857
|
}
|
|
@@ -787,6 +898,12 @@ export interface RegisterAthleteDto {
|
|
|
787
898
|
gender: Scalars['String'];
|
|
788
899
|
mainSport: Scalars['String'];
|
|
789
900
|
}
|
|
901
|
+
export interface CreateSportDto {
|
|
902
|
+
name: Scalars['String'];
|
|
903
|
+
}
|
|
904
|
+
export interface UpdateSportDto {
|
|
905
|
+
name: Scalars['String'];
|
|
906
|
+
}
|
|
790
907
|
export declare const isApiKey: (obj?: {
|
|
791
908
|
__typename?: any;
|
|
792
909
|
} | null) => obj is ApiKey;
|
|
@@ -850,12 +967,18 @@ export declare const isPlanSubscription: (obj?: {
|
|
|
850
967
|
export declare const isSubscriptionPayment: (obj?: {
|
|
851
968
|
__typename?: any;
|
|
852
969
|
} | null) => obj is SubscriptionPayment;
|
|
970
|
+
export declare const isAWSS3File: (obj?: {
|
|
971
|
+
__typename?: any;
|
|
972
|
+
} | null) => obj is AWSS3File;
|
|
853
973
|
export declare const isHttpRequestField: (obj?: {
|
|
854
974
|
__typename?: any;
|
|
855
975
|
} | null) => obj is HttpRequestField;
|
|
856
976
|
export declare const isAWSS3UploadUrl: (obj?: {
|
|
857
977
|
__typename?: any;
|
|
858
978
|
} | null) => obj is AWSS3UploadUrl;
|
|
979
|
+
export declare const isAWSS3CallResult: (obj?: {
|
|
980
|
+
__typename?: any;
|
|
981
|
+
} | null) => obj is AWSS3CallResult;
|
|
859
982
|
export declare const isBrandStatsType: (obj?: {
|
|
860
983
|
__typename?: any;
|
|
861
984
|
} | null) => obj is BrandStatsType;
|
|
@@ -874,6 +997,9 @@ export declare const isIndustry: (obj?: {
|
|
|
874
997
|
export declare const isAthlete: (obj?: {
|
|
875
998
|
__typename?: any;
|
|
876
999
|
} | null) => obj is Athlete;
|
|
1000
|
+
export declare const isSport: (obj?: {
|
|
1001
|
+
__typename?: any;
|
|
1002
|
+
} | null) => obj is Sport;
|
|
877
1003
|
export declare const isQuery: (obj?: {
|
|
878
1004
|
__typename?: any;
|
|
879
1005
|
} | null) => obj is Query;
|
|
@@ -200,14 +200,35 @@ type SubscriptionPayment {
|
|
|
200
200
|
subscriber: PlanSubscription!
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
type AWSS3File {
|
|
204
|
+
_id: String!
|
|
205
|
+
name: String
|
|
206
|
+
contentType: String
|
|
207
|
+
size: Float
|
|
208
|
+
useType: String
|
|
209
|
+
url: String!
|
|
210
|
+
key: String!
|
|
211
|
+
pendingDelete: Boolean!
|
|
212
|
+
}
|
|
213
|
+
|
|
203
214
|
type HttpRequestField {
|
|
204
215
|
key: String!
|
|
205
216
|
value: String!
|
|
206
217
|
}
|
|
207
218
|
|
|
208
219
|
type AWSS3UploadUrl {
|
|
209
|
-
|
|
220
|
+
uploadUrl: String!
|
|
210
221
|
fields: [HttpRequestField!]!
|
|
222
|
+
downloadUrl: String!
|
|
223
|
+
bucket: String!
|
|
224
|
+
key: String!
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
type AWSS3CallResult {
|
|
228
|
+
httpStatus: Float!
|
|
229
|
+
result: String!
|
|
230
|
+
message: String!
|
|
231
|
+
errors: [String!]
|
|
211
232
|
}
|
|
212
233
|
|
|
213
234
|
type BrandStatsType {
|
|
@@ -258,6 +279,11 @@ type Athlete {
|
|
|
258
279
|
nationalityIso2: String
|
|
259
280
|
}
|
|
260
281
|
|
|
282
|
+
type Sport {
|
|
283
|
+
_id: String!
|
|
284
|
+
name: String!
|
|
285
|
+
}
|
|
286
|
+
|
|
261
287
|
type Query {
|
|
262
288
|
tenant(_id: String!): Tenant!
|
|
263
289
|
tenantByEmail(email: String!): Tenant!
|
|
@@ -276,6 +302,8 @@ type Query {
|
|
|
276
302
|
sponsors: [Sponsor!]!
|
|
277
303
|
athlete: [Athlete!]!
|
|
278
304
|
findAthleteById(athleteId: String!): Athlete!
|
|
305
|
+
sports: [Sport!]!
|
|
306
|
+
findSportById(sportId: String!): Sport!
|
|
279
307
|
}
|
|
280
308
|
|
|
281
309
|
input AWSS3GetUploadDto {
|
|
@@ -292,11 +320,16 @@ type Mutation {
|
|
|
292
320
|
createTenantUserTokenFromEmailAndUri(requestTokenInfoDto: CreateTenantUserTokenFromEmailAndUriDto!): TenantUserTokenWithInfo!
|
|
293
321
|
createNonTenantedUserWithLogin(user: CreateActiveUserInput!): UserWithToken!
|
|
294
322
|
createNonTenantUserTokenFromEmail(email: String!): UserToken!
|
|
323
|
+
deleteUploadedUseTypeFile(input: AWSS3DeleteUseTypeFileDto!): AWSS3CallResult!
|
|
324
|
+
deleteUploadedBucketFile(input: AWSS3DeleteBucketFileDto!): AWSS3CallResult!
|
|
325
|
+
registerS3UploadedFile(input: AWSS3UploadedFileDto!): AWSS3File!
|
|
295
326
|
createIndustry(input: CreateIndustryDto!): Industry!
|
|
296
327
|
createBrand(input: CreateBrandDto!): Brand!
|
|
297
328
|
registerSponsor(input: RegisterSponsorInput!): Sponsor!
|
|
298
329
|
createSponsor(input: CreateSponsorDto!): Sponsor!
|
|
299
330
|
registerAthlete(input: RegisterAthleteDto!): Athlete!
|
|
331
|
+
createSport(input: CreateSportDto!): Sport!
|
|
332
|
+
updateSport(sportId: String!, input: UpdateSportDto!): Sport!
|
|
300
333
|
}
|
|
301
334
|
|
|
302
335
|
input CreateTenantInput {
|
|
@@ -326,6 +359,26 @@ input CreateActiveUserInput {
|
|
|
326
359
|
password: String
|
|
327
360
|
}
|
|
328
361
|
|
|
362
|
+
input AWSS3DeleteUseTypeFileDto {
|
|
363
|
+
name: String!
|
|
364
|
+
useType: String!
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
input AWSS3DeleteBucketFileDto {
|
|
368
|
+
key: String!
|
|
369
|
+
bucket: String!
|
|
370
|
+
credentialsId: String
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
input AWSS3UploadedFileDto {
|
|
374
|
+
key: String!
|
|
375
|
+
useType: String!
|
|
376
|
+
uploadUrl: String!
|
|
377
|
+
contentType: String!
|
|
378
|
+
originalFileName: String
|
|
379
|
+
fileSize: Float
|
|
380
|
+
}
|
|
381
|
+
|
|
329
382
|
input CreateIndustryDto {
|
|
330
383
|
name: String!
|
|
331
384
|
}
|
|
@@ -376,4 +429,12 @@ input RegisterAthleteDto {
|
|
|
376
429
|
team: String
|
|
377
430
|
gender: String!
|
|
378
431
|
mainSport: String!
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
input CreateSportDto {
|
|
435
|
+
name: String!
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
input UpdateSportDto {
|
|
439
|
+
name: String!
|
|
379
440
|
}
|
package/src/client/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isMutation = exports.isQuery = exports.isAthlete = exports.isIndustry = exports.isSponsor = exports.isBrand = exports.isBrandTranslation = exports.isBrandStatsType = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isAgreement = exports.isTenantUserTokenWithInfo = exports.isTenantWithUserLogin = exports.isUriAvailableType = exports.isTenant = exports.isUserWithToken = exports.isUser = exports.isDomain = exports.isUserToken = exports.isApiKeyWithValue = exports.isApiKey = void 0;
|
|
3
|
+
exports.isMutation = exports.isQuery = exports.isSport = exports.isAthlete = exports.isIndustry = exports.isSponsor = exports.isBrand = exports.isBrandTranslation = exports.isBrandStatsType = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isAWSS3File = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isAgreement = exports.isTenantUserTokenWithInfo = exports.isTenantWithUserLogin = exports.isUriAvailableType = exports.isTenant = exports.isUserWithToken = exports.isUser = exports.isDomain = exports.isUserToken = exports.isApiKeyWithValue = exports.isApiKey = void 0;
|
|
4
4
|
const ApiKey_possibleTypes = ['ApiKey'];
|
|
5
5
|
const isApiKey = (obj) => {
|
|
6
6
|
if (!obj?.__typename)
|
|
@@ -148,6 +148,13 @@ const isSubscriptionPayment = (obj) => {
|
|
|
148
148
|
return SubscriptionPayment_possibleTypes.includes(obj.__typename);
|
|
149
149
|
};
|
|
150
150
|
exports.isSubscriptionPayment = isSubscriptionPayment;
|
|
151
|
+
const AWSS3File_possibleTypes = ['AWSS3File'];
|
|
152
|
+
const isAWSS3File = (obj) => {
|
|
153
|
+
if (!obj?.__typename)
|
|
154
|
+
throw new Error('__typename is missing in "isAWSS3File"');
|
|
155
|
+
return AWSS3File_possibleTypes.includes(obj.__typename);
|
|
156
|
+
};
|
|
157
|
+
exports.isAWSS3File = isAWSS3File;
|
|
151
158
|
const HttpRequestField_possibleTypes = ['HttpRequestField'];
|
|
152
159
|
const isHttpRequestField = (obj) => {
|
|
153
160
|
if (!obj?.__typename)
|
|
@@ -162,6 +169,13 @@ const isAWSS3UploadUrl = (obj) => {
|
|
|
162
169
|
return AWSS3UploadUrl_possibleTypes.includes(obj.__typename);
|
|
163
170
|
};
|
|
164
171
|
exports.isAWSS3UploadUrl = isAWSS3UploadUrl;
|
|
172
|
+
const AWSS3CallResult_possibleTypes = ['AWSS3CallResult'];
|
|
173
|
+
const isAWSS3CallResult = (obj) => {
|
|
174
|
+
if (!obj?.__typename)
|
|
175
|
+
throw new Error('__typename is missing in "isAWSS3CallResult"');
|
|
176
|
+
return AWSS3CallResult_possibleTypes.includes(obj.__typename);
|
|
177
|
+
};
|
|
178
|
+
exports.isAWSS3CallResult = isAWSS3CallResult;
|
|
165
179
|
const BrandStatsType_possibleTypes = ['BrandStatsType'];
|
|
166
180
|
const isBrandStatsType = (obj) => {
|
|
167
181
|
if (!obj?.__typename)
|
|
@@ -204,6 +218,13 @@ const isAthlete = (obj) => {
|
|
|
204
218
|
return Athlete_possibleTypes.includes(obj.__typename);
|
|
205
219
|
};
|
|
206
220
|
exports.isAthlete = isAthlete;
|
|
221
|
+
const Sport_possibleTypes = ['Sport'];
|
|
222
|
+
const isSport = (obj) => {
|
|
223
|
+
if (!obj?.__typename)
|
|
224
|
+
throw new Error('__typename is missing in "isSport"');
|
|
225
|
+
return Sport_possibleTypes.includes(obj.__typename);
|
|
226
|
+
};
|
|
227
|
+
exports.isSport = isSport;
|
|
207
228
|
const Query_possibleTypes = ['Query'];
|
|
208
229
|
const isQuery = (obj) => {
|
|
209
230
|
if (!obj?.__typename)
|
package/src/client/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/vtx-backend-client/src/client/schema.ts"],"names":[],"mappings":";;;
|
|
1
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WAGnB;AAID,MAAM,mBAAmB,GAAa,CAAC,OAAO,CAAC,CAAA;AACxC,MAAM,OAAO,GAAG,CAAC,GAAiC,EAAgB,EAAE;IACzE,IAAI,CAAC,GAAG,EAAE,UAAU;QAAE,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAA;IAC3E,OAAO,mBAAmB,CAAC,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;AACrD,CAAC,CAAA;AAHY,QAAA,OAAO,WAGnB;AAID,MAAM,sBAAsB,GAAa,CAAC,UAAU,CAAC,CAAA;AAC9C,MAAM,UAAU,GAAG,CAAC,GAAiC,EAAmB,EAAE;IAC/E,IAAI,CAAC,GAAG,EAAE,UAAU;QAAE,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAA;IAC9E,OAAO,sBAAsB,CAAC,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;AACxD,CAAC,CAAA;AAHY,QAAA,UAAU,cAGtB"}
|
package/src/client/types.d.ts
CHANGED
|
@@ -202,14 +202,35 @@ declare const _default: {
|
|
|
202
202
|
subscriber: number[];
|
|
203
203
|
__typename: number[];
|
|
204
204
|
};
|
|
205
|
+
AWSS3File: {
|
|
206
|
+
_id: number[];
|
|
207
|
+
name: number[];
|
|
208
|
+
contentType: number[];
|
|
209
|
+
size: number[];
|
|
210
|
+
useType: number[];
|
|
211
|
+
url: number[];
|
|
212
|
+
key: number[];
|
|
213
|
+
pendingDelete: number[];
|
|
214
|
+
__typename: number[];
|
|
215
|
+
};
|
|
205
216
|
HttpRequestField: {
|
|
206
217
|
key: number[];
|
|
207
218
|
value: number[];
|
|
208
219
|
__typename: number[];
|
|
209
220
|
};
|
|
210
221
|
AWSS3UploadUrl: {
|
|
211
|
-
|
|
222
|
+
uploadUrl: number[];
|
|
212
223
|
fields: number[];
|
|
224
|
+
downloadUrl: number[];
|
|
225
|
+
bucket: number[];
|
|
226
|
+
key: number[];
|
|
227
|
+
__typename: number[];
|
|
228
|
+
};
|
|
229
|
+
AWSS3CallResult: {
|
|
230
|
+
httpStatus: number[];
|
|
231
|
+
result: number[];
|
|
232
|
+
message: number[];
|
|
233
|
+
errors: number[];
|
|
213
234
|
__typename: number[];
|
|
214
235
|
};
|
|
215
236
|
BrandStatsType: {
|
|
@@ -260,6 +281,11 @@ declare const _default: {
|
|
|
260
281
|
nationalityIso2: number[];
|
|
261
282
|
__typename: number[];
|
|
262
283
|
};
|
|
284
|
+
Sport: {
|
|
285
|
+
_id: number[];
|
|
286
|
+
name: number[];
|
|
287
|
+
__typename: number[];
|
|
288
|
+
};
|
|
263
289
|
Query: {
|
|
264
290
|
tenant: (number | {
|
|
265
291
|
_id: (string | number)[];
|
|
@@ -302,6 +328,10 @@ declare const _default: {
|
|
|
302
328
|
findAthleteById: (number | {
|
|
303
329
|
athleteId: (string | number)[];
|
|
304
330
|
})[];
|
|
331
|
+
sports: number[];
|
|
332
|
+
findSportById: (number | {
|
|
333
|
+
sportId: (string | number)[];
|
|
334
|
+
})[];
|
|
305
335
|
__typename: number[];
|
|
306
336
|
};
|
|
307
337
|
AWSS3GetUploadDto: {
|
|
@@ -334,6 +364,15 @@ declare const _default: {
|
|
|
334
364
|
createNonTenantUserTokenFromEmail: (number | {
|
|
335
365
|
email: (string | number)[];
|
|
336
366
|
})[];
|
|
367
|
+
deleteUploadedUseTypeFile: (number | {
|
|
368
|
+
input: (string | number)[];
|
|
369
|
+
})[];
|
|
370
|
+
deleteUploadedBucketFile: (number | {
|
|
371
|
+
input: (string | number)[];
|
|
372
|
+
})[];
|
|
373
|
+
registerS3UploadedFile: (number | {
|
|
374
|
+
input: (string | number)[];
|
|
375
|
+
})[];
|
|
337
376
|
createIndustry: (number | {
|
|
338
377
|
input: (string | number)[];
|
|
339
378
|
})[];
|
|
@@ -349,6 +388,13 @@ declare const _default: {
|
|
|
349
388
|
registerAthlete: (number | {
|
|
350
389
|
input: (string | number)[];
|
|
351
390
|
})[];
|
|
391
|
+
createSport: (number | {
|
|
392
|
+
input: (string | number)[];
|
|
393
|
+
})[];
|
|
394
|
+
updateSport: (number | {
|
|
395
|
+
sportId: (string | number)[];
|
|
396
|
+
input: (string | number)[];
|
|
397
|
+
})[];
|
|
352
398
|
__typename: number[];
|
|
353
399
|
};
|
|
354
400
|
CreateTenantInput: {
|
|
@@ -378,6 +424,26 @@ declare const _default: {
|
|
|
378
424
|
password: number[];
|
|
379
425
|
__typename: number[];
|
|
380
426
|
};
|
|
427
|
+
AWSS3DeleteUseTypeFileDto: {
|
|
428
|
+
name: number[];
|
|
429
|
+
useType: number[];
|
|
430
|
+
__typename: number[];
|
|
431
|
+
};
|
|
432
|
+
AWSS3DeleteBucketFileDto: {
|
|
433
|
+
key: number[];
|
|
434
|
+
bucket: number[];
|
|
435
|
+
credentialsId: number[];
|
|
436
|
+
__typename: number[];
|
|
437
|
+
};
|
|
438
|
+
AWSS3UploadedFileDto: {
|
|
439
|
+
key: number[];
|
|
440
|
+
useType: number[];
|
|
441
|
+
uploadUrl: number[];
|
|
442
|
+
contentType: number[];
|
|
443
|
+
originalFileName: number[];
|
|
444
|
+
fileSize: number[];
|
|
445
|
+
__typename: number[];
|
|
446
|
+
};
|
|
381
447
|
CreateIndustryDto: {
|
|
382
448
|
name: number[];
|
|
383
449
|
__typename: number[];
|
|
@@ -430,6 +496,14 @@ declare const _default: {
|
|
|
430
496
|
mainSport: number[];
|
|
431
497
|
__typename: number[];
|
|
432
498
|
};
|
|
499
|
+
CreateSportDto: {
|
|
500
|
+
name: number[];
|
|
501
|
+
__typename: number[];
|
|
502
|
+
};
|
|
503
|
+
UpdateSportDto: {
|
|
504
|
+
name: number[];
|
|
505
|
+
__typename: number[];
|
|
506
|
+
};
|
|
433
507
|
};
|
|
434
508
|
};
|
|
435
509
|
export default _default;
|