Skip to content

Commit

Permalink
chore: buletin enabled dev codegen update (GaloyMoney#3252)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev authored May 8, 2024
1 parent c9737a7 commit f77007f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/graphql/generated.gql
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ query StatefulNotifications($after: String) {
deepLink
createdAt
acknowledgedAt
addToBulletin
bulletinEnabled
__typename
}
pageInfo {
Expand Down
16 changes: 12 additions & 4 deletions app/graphql/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1815,8 +1815,8 @@ export type SettlementViaOnChain = {
export type StatefulNotification = {
readonly __typename: 'StatefulNotification';
readonly acknowledgedAt?: Maybe<Scalars['Timestamp']['output']>;
readonly addToBulletin: Scalars['Boolean']['output'];
readonly body: Scalars['String']['output'];
readonly bulletinEnabled: Scalars['Boolean']['output'];
readonly createdAt: Scalars['Timestamp']['output'];
readonly deepLink?: Maybe<Scalars['String']['output']>;
readonly id: Scalars['ID']['output'];
Expand Down Expand Up @@ -2108,6 +2108,7 @@ export type User = {
/** Whether TOTP is enabled for this user. */
readonly totpEnabled: Scalars['Boolean']['output'];
readonly unacknowledgedStatefulNotificationsCount: Scalars['Int']['output'];
readonly unacknowledgedStatefulNotificationsWithBulletinEnabled: StatefulNotificationConnection;
/**
* Optional immutable user friendly identifier.
* @deprecated will be moved to @Handle in Account and Wallet
Expand All @@ -2126,6 +2127,12 @@ export type UserStatefulNotificationsArgs = {
first: Scalars['Int']['input'];
};


export type UserUnacknowledgedStatefulNotificationsWithBulletinEnabledArgs = {
after?: InputMaybe<Scalars['String']['input']>;
first: Scalars['Int']['input'];
};

export type UserContact = {
readonly __typename: 'UserContact';
/**
Expand Down Expand Up @@ -2611,7 +2618,7 @@ export type StatefulNotificationsQueryVariables = Exact<{
}>;


export type StatefulNotificationsQuery = { readonly __typename: 'Query', readonly me?: { readonly __typename: 'User', readonly statefulNotifications: { readonly __typename: 'StatefulNotificationConnection', readonly nodes: ReadonlyArray<{ readonly __typename: 'StatefulNotification', readonly id: string, readonly title: string, readonly body: string, readonly deepLink?: string | null, readonly createdAt: number, readonly acknowledgedAt?: number | null, readonly addToBulletin: boolean }>, readonly pageInfo: { readonly __typename: 'PageInfo', readonly endCursor?: string | null, readonly hasNextPage: boolean, readonly hasPreviousPage: boolean, readonly startCursor?: string | null } } } | null };
export type StatefulNotificationsQuery = { readonly __typename: 'Query', readonly me?: { readonly __typename: 'User', readonly statefulNotifications: { readonly __typename: 'StatefulNotificationConnection', readonly nodes: ReadonlyArray<{ readonly __typename: 'StatefulNotification', readonly id: string, readonly title: string, readonly body: string, readonly deepLink?: string | null, readonly createdAt: number, readonly acknowledgedAt?: number | null, readonly bulletinEnabled: boolean }>, readonly pageInfo: { readonly __typename: 'PageInfo', readonly endCursor?: string | null, readonly hasNextPage: boolean, readonly hasPreviousPage: boolean, readonly startCursor?: string | null } } } | null };

export type StatefulNotificationAcknowledgeMutationVariables = Exact<{
input: StatefulNotificationAcknowledgeInput;
Expand Down Expand Up @@ -4742,7 +4749,7 @@ export const StatefulNotificationsDocument = gql`
deepLink
createdAt
acknowledgedAt
addToBulletin
bulletinEnabled
}
pageInfo {
endCursor
Expand Down Expand Up @@ -9161,8 +9168,8 @@ export interface SignedDisplayMajorAmountScalarConfig extends GraphQLScalarTypeC

export type StatefulNotificationResolvers<ContextType = any, ParentType extends ResolversParentTypes['StatefulNotification'] = ResolversParentTypes['StatefulNotification']> = {
acknowledgedAt?: Resolver<Maybe<ResolversTypes['Timestamp']>, ParentType, ContextType>;
addToBulletin?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
body?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
bulletinEnabled?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
createdAt?: Resolver<ResolversTypes['Timestamp'], ParentType, ContextType>;
deepLink?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
Expand Down Expand Up @@ -9307,6 +9314,7 @@ export type UserResolvers<ContextType = any, ParentType extends ResolversParentT
supportChat?: Resolver<ReadonlyArray<ResolversTypes['SupportMessage']>, ParentType, ContextType>;
totpEnabled?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
unacknowledgedStatefulNotificationsCount?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
unacknowledgedStatefulNotificationsWithBulletinEnabled?: Resolver<ResolversTypes['StatefulNotificationConnection'], ParentType, ContextType, RequireFields<UserUnacknowledgedStatefulNotificationsWithBulletinEnabledArgs, 'first'>>;
username?: Resolver<Maybe<ResolversTypes['Username']>, ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ gql`
deepLink
createdAt
acknowledgedAt
addToBulletin
bulletinEnabled
}
pageInfo {
endCursor
Expand Down

0 comments on commit f77007f

Please sign in to comment.