@@ -1524,6 +1524,7 @@ export type CreateUserStakeInput = {
1524
1524
id ?: InputMaybe < Scalars [ 'ID' ] > ;
1525
1525
isClaimed : Scalars [ 'Boolean' ] ;
1526
1526
isForfeited ?: InputMaybe < Scalars [ 'Boolean' ] > ;
1527
+ type ?: InputMaybe < UserStakeType > ;
1527
1528
userAddress : Scalars [ 'ID' ] ;
1528
1529
} ;
1529
1530
@@ -4009,6 +4010,7 @@ export type ModelSubscriptionUserStakeFilterInput = {
4009
4010
isClaimed ?: InputMaybe < ModelSubscriptionBooleanInput > ;
4010
4011
isForfeited ?: InputMaybe < ModelSubscriptionBooleanInput > ;
4011
4012
or ?: InputMaybe < Array < InputMaybe < ModelSubscriptionUserStakeFilterInput > > > ;
4013
+ type ?: InputMaybe < ModelSubscriptionStringInput > ;
4012
4014
userAddress ?: InputMaybe < ModelSubscriptionIdInput > ;
4013
4015
} ;
4014
4016
@@ -4168,6 +4170,7 @@ export type ModelUserStakeConditionInput = {
4168
4170
isForfeited ?: InputMaybe < ModelBooleanInput > ;
4169
4171
not ?: InputMaybe < ModelUserStakeConditionInput > ;
4170
4172
or ?: InputMaybe < Array < InputMaybe < ModelUserStakeConditionInput > > > ;
4173
+ type ?: InputMaybe < ModelUserStakeTypeInput > ;
4171
4174
userAddress ?: InputMaybe < ModelIdInput > ;
4172
4175
} ;
4173
4176
@@ -4188,9 +4191,15 @@ export type ModelUserStakeFilterInput = {
4188
4191
isForfeited ?: InputMaybe < ModelBooleanInput > ;
4189
4192
not ?: InputMaybe < ModelUserStakeFilterInput > ;
4190
4193
or ?: InputMaybe < Array < InputMaybe < ModelUserStakeFilterInput > > > ;
4194
+ type ?: InputMaybe < ModelUserStakeTypeInput > ;
4191
4195
userAddress ?: InputMaybe < ModelIdInput > ;
4192
4196
} ;
4193
4197
4198
+ export type ModelUserStakeTypeInput = {
4199
+ eq ?: InputMaybe < UserStakeType > ;
4200
+ ne ?: InputMaybe < UserStakeType > ;
4201
+ } ;
4202
+
4194
4203
export type ModelUserTokensConditionInput = {
4195
4204
and ?: InputMaybe < Array < InputMaybe < ModelUserTokensConditionInput > > > ;
4196
4205
not ?: InputMaybe < ModelUserTokensConditionInput > ;
@@ -7949,6 +7958,7 @@ export type UpdateUserStakeInput = {
7949
7958
id : Scalars [ 'ID' ] ;
7950
7959
isClaimed ?: InputMaybe < Scalars [ 'Boolean' ] > ;
7951
7960
isForfeited ?: InputMaybe < Scalars [ 'Boolean' ] > ;
7961
+ type ?: InputMaybe < UserStakeType > ;
7952
7962
userAddress ?: InputMaybe < Scalars [ 'ID' ] > ;
7953
7963
} ;
7954
7964
@@ -8032,11 +8042,18 @@ export type UserStake = {
8032
8042
isClaimed : Scalars [ 'Boolean' ] ;
8033
8043
/** Only applicable for expenditure stakes, indicates if the creator's stake was forfeited when expenditure was cancelled */
8034
8044
isForfeited ?: Maybe < Scalars [ 'Boolean' ] > ;
8045
+ type ?: Maybe < UserStakeType > ;
8035
8046
updatedAt : Scalars [ 'AWSDateTime' ] ;
8036
8047
user : User ;
8037
8048
userAddress : Scalars [ 'ID' ] ;
8038
8049
} ;
8039
8050
8051
+ /** Type of stake a user can make */
8052
+ export enum UserStakeType {
8053
+ Motion = 'MOTION' ,
8054
+ StakedExpenditure = 'STAKED_EXPENDITURE' ,
8055
+ }
8056
+
8040
8057
export type UserTokens = {
8041
8058
__typename ?: 'UserTokens' ;
8042
8059
createdAt : Scalars [ 'AWSDateTime' ] ;
0 commit comments