Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: codegen1 #3175

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions app/graphql/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export type Scalars = {
TotpRegistrationId: { input: string; output: string; }
/** A secret to generate time-based one-time password */
TotpSecret: { input: string; output: string; }
/** An external reference id that can be optionally added for transactions. */
TxExternalId: { input: string; output: string; }
/** Unique identifier of a user */
Username: { input: string; output: string; }
/** Unique identifier of a wallet */
Expand Down Expand Up @@ -620,6 +622,8 @@ export type IntraLedgerUsdPaymentSendInput = {
/** A lightning invoice. */
export type Invoice = {
readonly createdAt: Scalars['Timestamp']['output'];
/** The unique external id set for the invoice. */
readonly externalId: Scalars['TxExternalId']['output'];
/** The payment hash of the lightning invoice. */
readonly paymentHash: Scalars['PaymentHash']['output'];
/** The bolt11 invoice to be paid. */
Expand Down Expand Up @@ -680,6 +684,7 @@ export type LnAddressPaymentSendInput = {
export type LnInvoice = Invoice & {
readonly __typename: 'LnInvoice';
readonly createdAt: Scalars['Timestamp']['output'];
readonly externalId: Scalars['TxExternalId']['output'];
readonly paymentHash: Scalars['PaymentHash']['output'];
readonly paymentRequest: Scalars['LnPaymentRequest']['output'];
readonly paymentSecret: Scalars['LnPaymentSecret']['output'];
Expand Down Expand Up @@ -766,6 +771,7 @@ export type LnInvoicePaymentStatusPayload = {
export type LnNoAmountInvoice = Invoice & {
readonly __typename: 'LnNoAmountInvoice';
readonly createdAt: Scalars['Timestamp']['output'];
readonly externalId: Scalars['TxExternalId']['output'];
readonly paymentHash: Scalars['PaymentHash']['output'];
readonly paymentRequest: Scalars['LnPaymentRequest']['output'];
readonly paymentSecret: Scalars['LnPaymentSecret']['output'];
Expand Down Expand Up @@ -1868,6 +1874,7 @@ export type Transaction = {
readonly __typename: 'Transaction';
readonly createdAt: Scalars['Timestamp']['output'];
readonly direction: TxDirection;
readonly externalId?: Maybe<Scalars['TxExternalId']['output']>;
readonly id: Scalars['ID']['output'];
/** From which protocol the payment has been initiated. */
readonly initiationVia: InitiationVia;
Expand Down Expand Up @@ -7510,6 +7517,7 @@ export type ResolversTypes = {
TransactionConnection: ResolverTypeWrapper<TransactionConnection>;
TransactionEdge: ResolverTypeWrapper<TransactionEdge>;
TxDirection: TxDirection;
TxExternalId: ResolverTypeWrapper<Scalars['TxExternalId']['output']>;
TxNotificationType: TxNotificationType;
TxStatus: TxStatus;
UpgradePayload: ResolverTypeWrapper<UpgradePayload>;
Expand Down Expand Up @@ -7726,6 +7734,7 @@ export type ResolversParentTypes = {
Transaction: Omit<Transaction, 'initiationVia' | 'settlementVia'> & { initiationVia: ResolversParentTypes['InitiationVia'], settlementVia: ResolversParentTypes['SettlementVia'] };
TransactionConnection: TransactionConnection;
TransactionEdge: TransactionEdge;
TxExternalId: Scalars['TxExternalId']['output'];
UpgradePayload: UpgradePayload;
UsdWallet: UsdWallet;
User: User;
Expand Down Expand Up @@ -8099,6 +8108,7 @@ export type IntraLedgerUpdateResolvers<ContextType = any, ParentType extends Res
export type InvoiceResolvers<ContextType = any, ParentType extends ResolversParentTypes['Invoice'] = ResolversParentTypes['Invoice']> = {
__resolveType: TypeResolveFn<'LnInvoice' | 'LnNoAmountInvoice', ParentType, ContextType>;
createdAt?: Resolver<ResolversTypes['Timestamp'], ParentType, ContextType>;
externalId?: Resolver<ResolversTypes['TxExternalId'], ParentType, ContextType>;
paymentHash?: Resolver<ResolversTypes['PaymentHash'], ParentType, ContextType>;
paymentRequest?: Resolver<ResolversTypes['LnPaymentRequest'], ParentType, ContextType>;
paymentSecret?: Resolver<ResolversTypes['LnPaymentSecret'], ParentType, ContextType>;
Expand Down Expand Up @@ -8140,6 +8150,7 @@ export interface LeaderboardNameScalarConfig extends GraphQLScalarTypeConfig<Res

export type LnInvoiceResolvers<ContextType = any, ParentType extends ResolversParentTypes['LnInvoice'] = ResolversParentTypes['LnInvoice']> = {
createdAt?: Resolver<ResolversTypes['Timestamp'], ParentType, ContextType>;
externalId?: Resolver<ResolversTypes['TxExternalId'], ParentType, ContextType>;
paymentHash?: Resolver<ResolversTypes['PaymentHash'], ParentType, ContextType>;
paymentRequest?: Resolver<ResolversTypes['LnPaymentRequest'], ParentType, ContextType>;
paymentSecret?: Resolver<ResolversTypes['LnPaymentSecret'], ParentType, ContextType>;
Expand Down Expand Up @@ -8171,6 +8182,7 @@ export type LnInvoicePaymentStatusPayloadResolvers<ContextType = any, ParentType

export type LnNoAmountInvoiceResolvers<ContextType = any, ParentType extends ResolversParentTypes['LnNoAmountInvoice'] = ResolversParentTypes['LnNoAmountInvoice']> = {
createdAt?: Resolver<ResolversTypes['Timestamp'], ParentType, ContextType>;
externalId?: Resolver<ResolversTypes['TxExternalId'], ParentType, ContextType>;
paymentHash?: Resolver<ResolversTypes['PaymentHash'], ParentType, ContextType>;
paymentRequest?: Resolver<ResolversTypes['LnPaymentRequest'], ParentType, ContextType>;
paymentSecret?: Resolver<ResolversTypes['LnPaymentSecret'], ParentType, ContextType>;
Expand Down Expand Up @@ -8633,6 +8645,7 @@ export interface TotpSecretScalarConfig extends GraphQLScalarTypeConfig<Resolver
export type TransactionResolvers<ContextType = any, ParentType extends ResolversParentTypes['Transaction'] = ResolversParentTypes['Transaction']> = {
createdAt?: Resolver<ResolversTypes['Timestamp'], ParentType, ContextType>;
direction?: Resolver<ResolversTypes['TxDirection'], ParentType, ContextType>;
externalId?: Resolver<Maybe<ResolversTypes['TxExternalId']>, ParentType, ContextType>;
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
initiationVia?: Resolver<ResolversTypes['InitiationVia'], ParentType, ContextType>;
memo?: Resolver<Maybe<ResolversTypes['Memo']>, ParentType, ContextType>;
Expand Down Expand Up @@ -8660,6 +8673,10 @@ export type TransactionEdgeResolvers<ContextType = any, ParentType extends Resol
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

export interface TxExternalIdScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['TxExternalId'], any> {
name: 'TxExternalId';
}

export type UpgradePayloadResolvers<ContextType = any, ParentType extends ResolversParentTypes['UpgradePayload'] = ResolversParentTypes['UpgradePayload']> = {
authToken?: Resolver<Maybe<ResolversTypes['AuthToken']>, ParentType, ContextType>;
errors?: Resolver<ReadonlyArray<ResolversTypes['Error']>, ParentType, ContextType>;
Expand Down Expand Up @@ -8946,6 +8963,7 @@ export type Resolvers<ContextType = any> = {
Transaction?: TransactionResolvers<ContextType>;
TransactionConnection?: TransactionConnectionResolvers<ContextType>;
TransactionEdge?: TransactionEdgeResolvers<ContextType>;
TxExternalId?: GraphQLScalarType;
UpgradePayload?: UpgradePayloadResolvers<ContextType>;
UsdWallet?: UsdWalletResolvers<ContextType>;
User?: UserResolvers<ContextType>;
Expand Down
1 change: 1 addition & 0 deletions codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ generates:
EndpointUrl: "string"
NotificationCategory: "string"
DateTime: "string"
TxExternalId: "string"
Loading