4
4
*/
5
5
6
6
7
- import { IRequestContext } from "./../../../core"
8
- import { core } from "nexus"
7
+ import { IRequestContext } from './../../../core' ;
8
+ import { core } from 'nexus' ;
9
+
9
10
declare global {
10
11
interface NexusGenCustomInputMethods < TypeName extends string > {
11
12
date < FieldName extends string > ( fieldName : FieldName , opts ?: core . CommonInputFieldConfig < TypeName , FieldName > ) : void // "Date";
@@ -61,6 +62,14 @@ export interface NexusGenScalars {
61
62
}
62
63
63
64
export interface NexusGenObjects {
65
+ Amount : { // root type
66
+ amount ?: string | null ; // String
67
+ currency ?: string | null ; // String
68
+ }
69
+ Balance : { // root type
70
+ available ?: NexusGenRootTypes [ 'Amount' ] | null ; // Amount
71
+ unsettled ?: NexusGenRootTypes [ 'Amount' ] | null ; // Amount
72
+ }
64
73
Card : { // root type
65
74
circleCardId : string ; // ID!
66
75
createdAt : NexusGenScalars [ 'Date' ] ; // Date!
@@ -98,9 +107,7 @@ export interface NexusGenObjects {
98
107
userId : string ; // ID!
99
108
}
100
109
CommonMetadata : { // root type
101
- byline : string ; // String!
102
110
contributionType ?: NexusGenEnums [ 'CommonContributionType' ] | null ; // CommonContributionType
103
- description : string ; // String!
104
111
founderId : string ; // String!
105
112
minFeeToJoin : number ; // Int!
106
113
}
@@ -266,6 +273,14 @@ export type NexusGenRootTypes = NexusGenObjects
266
273
export type NexusGenAllTypes = NexusGenRootTypes & NexusGenScalars & NexusGenEnums
267
274
268
275
export interface NexusGenFieldTypes {
276
+ Amount : { // field return type
277
+ amount : string | null ; // String
278
+ currency : string | null ; // String
279
+ }
280
+ Balance : { // field return type
281
+ available : NexusGenRootTypes [ 'Amount' ] | null ; // Amount
282
+ unsettled : NexusGenRootTypes [ 'Amount' ] | null ; // Amount
283
+ }
269
284
Card : { // field return type
270
285
circleCardId : string ; // ID!
271
286
createdAt : NexusGenScalars [ 'Date' ] ; // Date!
@@ -310,9 +325,7 @@ export interface NexusGenFieldTypes {
310
325
userId : string ; // ID!
311
326
}
312
327
CommonMetadata : { // field return type
313
- byline : string ; // String!
314
328
contributionType : NexusGenEnums [ 'CommonContributionType' ] | null ; // CommonContributionType
315
- description : string ; // String!
316
329
founderId : string ; // String!
317
330
minFeeToJoin : number ; // Int!
318
331
}
@@ -333,10 +346,15 @@ export interface NexusGenFieldTypes {
333
346
updatedAt : NexusGenScalars [ 'Date' ] ; // Date!
334
347
}
335
348
Mutation : { // field return type
349
+ approvePayout : boolean | null ; // Boolean
336
350
createIntention : NexusGenRootTypes [ 'Intention' ] | null ; // Intention
337
351
executePayouts : NexusGenRootTypes [ 'Payout' ] | null ; // Payout
338
352
refreshCommonMembers : number | null ; // Int
339
353
updatePaymentData : boolean | null ; // Boolean
354
+ updatePaymentsCommonId : boolean | null ; // Boolean
355
+ updatePayoutStatus : boolean | null ; // Boolean
356
+ updatePayoutsStatus : boolean | null ; // Boolean
357
+ whitelistCommon : boolean | null ; // Boolean
340
358
}
341
359
Payment : { // field return type
342
360
amount : NexusGenRootTypes [ 'PaymentAmount' ] ; // PaymentAmount!
@@ -425,6 +443,7 @@ export interface NexusGenFieldTypes {
425
443
voterId : string ; // ID!
426
444
}
427
445
Query : { // field return type
446
+ balance : NexusGenRootTypes [ 'Balance' ] | null ; // Balance
428
447
common : NexusGenRootTypes [ 'Common' ] | null ; // Common
429
448
commons : Array < NexusGenRootTypes [ 'Common' ] | null > | null ; // [Common]
430
449
event : NexusGenRootTypes [ 'Event' ] | null ; // Event
@@ -509,6 +528,14 @@ export interface NexusGenFieldTypes {
509
528
}
510
529
511
530
export interface NexusGenFieldTypeNames {
531
+ Amount : { // field return type name
532
+ amount : 'String'
533
+ currency : 'String'
534
+ }
535
+ Balance : { // field return type name
536
+ available : 'Amount'
537
+ unsettled : 'Amount'
538
+ }
512
539
Card : { // field return type name
513
540
circleCardId : 'ID'
514
541
createdAt : 'Date'
@@ -553,9 +580,7 @@ export interface NexusGenFieldTypeNames {
553
580
userId : 'ID'
554
581
}
555
582
CommonMetadata : { // field return type name
556
- byline : 'String'
557
583
contributionType : 'CommonContributionType'
558
- description : 'String'
559
584
founderId : 'String'
560
585
minFeeToJoin : 'Int'
561
586
}
@@ -576,10 +601,15 @@ export interface NexusGenFieldTypeNames {
576
601
updatedAt : 'Date'
577
602
}
578
603
Mutation : { // field return type name
604
+ approvePayout : 'Boolean'
579
605
createIntention : 'Intention'
580
606
executePayouts : 'Payout'
581
607
refreshCommonMembers : 'Int'
582
608
updatePaymentData : 'Boolean'
609
+ updatePaymentsCommonId : 'Boolean'
610
+ updatePayoutStatus : 'Boolean'
611
+ updatePayoutsStatus : 'Boolean'
612
+ whitelistCommon : 'Boolean'
583
613
}
584
614
Payment : { // field return type name
585
615
amount : 'PaymentAmount'
@@ -668,6 +698,7 @@ export interface NexusGenFieldTypeNames {
668
698
voterId : 'ID'
669
699
}
670
700
Query : { // field return type name
701
+ balance : 'Balance'
671
702
common : 'Common'
672
703
commons : 'Common'
673
704
event : 'Event'
@@ -761,6 +792,11 @@ export interface NexusGenArgTypes {
761
792
}
762
793
}
763
794
Mutation : {
795
+ approvePayout : { // args
796
+ index : number ; // Int!
797
+ payoutId : string ; // ID!
798
+ token : string ; // String!
799
+ }
764
800
createIntention : { // args
765
801
input : NexusGenInputs [ 'CreateIntentionInput' ] ; // CreateIntentionInput!
766
802
}
@@ -774,6 +810,12 @@ export interface NexusGenArgTypes {
774
810
id : string ; // ID!
775
811
trackId : string | null ; // ID
776
812
}
813
+ updatePayoutStatus : { // args
814
+ payoutId : string ; // ID!
815
+ }
816
+ whitelistCommon : { // args
817
+ commonId : string ; // ID!
818
+ }
777
819
}
778
820
Query : {
779
821
common : { // args
0 commit comments