Skip to content

Commit

Permalink
refactor: remove unused inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
gitwoz committed Nov 18, 2024
1 parent c3e3189 commit 908770f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 70 deletions.
21 changes: 0 additions & 21 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2975,13 +2975,6 @@ input ResetPasswordInput {
type: ResetPasswordType
}

input ChangeEmailInput {
oldEmail: String!
oldEmailCodeId: ID!
newEmail: String!
newEmailCodeId: ID!
}

input VerifyEmailInput {
email: String!
code: String!
Expand All @@ -2991,16 +2984,6 @@ input SetCurrencyInput {
currency: QuoteCurrency
}

input UserRegisterInput {
email: String!
userName: String
displayName: String!
password: String!
description: String
codeId: ID!
referralCode: String
}

input GenerateSigningMessageInput {
address: String!
purpose: SigningMessagePurpose
Expand All @@ -3027,10 +3010,6 @@ input ResetLikerIdInput {
id: ID!
}

input ResetWalletInput {
id: ID!
}

input UpdateNotificationSettingInput {
type: NotificationSettingType!
enabled: Boolean!
Expand Down
27 changes: 0 additions & 27 deletions src/definitions/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,13 +805,6 @@ export type GQLCampaignsInput = {

export type GQLChain = 'Optimism' | 'Polygon'

export type GQLChangeEmailInput = {
newEmail: Scalars['String']['input']
newEmailCodeId: Scalars['ID']['input']
oldEmail: Scalars['String']['input']
oldEmailCodeId: Scalars['ID']['input']
}

export type GQLCircle = GQLNode & {
__typename?: 'Circle'
/** Analytics dashboard. */
Expand Down Expand Up @@ -3125,10 +3118,6 @@ export type GQLResetPasswordInput = {

export type GQLResetPasswordType = 'account' | 'payment'

export type GQLResetWalletInput = {
id: Scalars['ID']['input']
}

export type GQLResponse = GQLArticle | GQLComment

export type GQLResponseConnection = GQLConnection & {
Expand Down Expand Up @@ -4078,16 +4067,6 @@ export type GQLUserRecommendationActivity = {

export type GQLUserRecommendationActivitySource = 'UserFollowing'

export type GQLUserRegisterInput = {
codeId: Scalars['ID']['input']
description?: InputMaybe<Scalars['String']['input']>
displayName: Scalars['String']['input']
email: Scalars['String']['input']
password: Scalars['String']['input']
referralCode?: InputMaybe<Scalars['String']['input']>
userName?: InputMaybe<Scalars['String']['input']>
}

export type GQLUserRestriction = {
__typename?: 'UserRestriction'
createdAt: Scalars['DateTime']['output']
Expand Down Expand Up @@ -4647,7 +4626,6 @@ export type GQLResolversTypes = ResolversObject<{
CampaignState: GQLCampaignState
CampaignsInput: GQLCampaignsInput
Chain: GQLChain
ChangeEmailInput: GQLChangeEmailInput
Circle: ResolverTypeWrapper<CircleModel>
CircleAnalytics: ResolverTypeWrapper<CircleModel>
CircleConnection: ResolverTypeWrapper<
Expand Down Expand Up @@ -4955,7 +4933,6 @@ export type GQLResolversTypes = ResolversObject<{
ResetLikerIdInput: GQLResetLikerIdInput
ResetPasswordInput: GQLResetPasswordInput
ResetPasswordType: GQLResetPasswordType
ResetWalletInput: GQLResetWalletInput
Response: ResolverTypeWrapper<
GQLResolversUnionTypes<GQLResolversTypes>['Response']
>
Expand Down Expand Up @@ -5137,7 +5114,6 @@ export type GQLResolversTypes = ResolversObject<{
}
>
UserRecommendationActivitySource: GQLUserRecommendationActivitySource
UserRegisterInput: GQLUserRegisterInput
UserRestriction: ResolverTypeWrapper<GQLUserRestriction>
UserRestrictionType: GQLUserRestrictionType
UserRole: GQLUserRole
Expand Down Expand Up @@ -5263,7 +5239,6 @@ export type GQLResolversParentTypes = ResolversObject<{
CampaignStage: CampaignStageModel
CampaignStageInput: GQLCampaignStageInput
CampaignsInput: GQLCampaignsInput
ChangeEmailInput: GQLChangeEmailInput
Circle: CircleModel
CircleAnalytics: CircleModel
CircleConnection: Omit<GQLCircleConnection, 'edges'> & {
Expand Down Expand Up @@ -5497,7 +5472,6 @@ export type GQLResolversParentTypes = ResolversObject<{
}
ResetLikerIdInput: GQLResetLikerIdInput
ResetPasswordInput: GQLResetPasswordInput
ResetWalletInput: GQLResetWalletInput
Response: GQLResolversUnionTypes<GQLResolversParentTypes>['Response']
ResponseConnection: GQLResponseConnection
ResponseEdge: Omit<GQLResponseEdge, 'node'> & {
Expand Down Expand Up @@ -5643,7 +5617,6 @@ export type GQLResolversParentTypes = ResolversObject<{
UserRecommendationActivity: Omit<GQLUserRecommendationActivity, 'nodes'> & {
nodes?: Maybe<Array<GQLResolversParentTypes['User']>>
}
UserRegisterInput: GQLUserRegisterInput
UserRestriction: GQLUserRestriction
UserSettings: UserModel
UserStatus: UserModel
Expand Down
22 changes: 0 additions & 22 deletions src/types/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -718,13 +718,6 @@ export default /* GraphQL */ `
type: ResetPasswordType
}
input ChangeEmailInput {
oldEmail: String! @constraint(format: "email")
oldEmailCodeId: ID!
newEmail: String! @constraint(format: "email")
newEmailCodeId: ID!
}
input VerifyEmailInput {
email: String!
code: String!
Expand All @@ -734,17 +727,6 @@ export default /* GraphQL */ `
currency: QuoteCurrency
}
input UserRegisterInput {
email: String! @constraint(format: "email")
userName: String
displayName: String!
password: String!
description: String
codeId: ID!
referralCode: String
}
input GenerateSigningMessageInput {
address: String!
purpose: SigningMessagePurpose
Expand Down Expand Up @@ -772,10 +754,6 @@ export default /* GraphQL */ `
id: ID!
}
input ResetWalletInput {
id: ID!
}
input UpdateNotificationSettingInput {
type: NotificationSettingType!
enabled: Boolean!
Expand Down

0 comments on commit 908770f

Please sign in to comment.