Skip to content

Commit ba1f2bc

Browse files
committed
fix: update schemas/codegen
1 parent b6da7ea commit ba1f2bc

File tree

8 files changed

+57
-0
lines changed

8 files changed

+57
-0
lines changed

apps/admin-panel/generated.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,8 @@ export type Wallet = {
700700
readonly transactionsByAddress?: Maybe<TransactionConnection>;
701701
/** Returns the transactions that include this paymentHash. This should be a list of size one for a received lightning payment. This can be more that one transaction for a sent lightning payment. */
702702
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
703+
/** Returns the transactions that include this paymentRequest. */
704+
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
703705
readonly walletCurrency: WalletCurrency;
704706
};
705707

@@ -755,6 +757,12 @@ export type WalletTransactionsByPaymentHashArgs = {
755757
paymentHash: Scalars['PaymentHash']['input'];
756758
};
757759

760+
761+
/** A generic wallet which stores value in one of our supported currencies. */
762+
export type WalletTransactionsByPaymentRequestArgs = {
763+
paymentRequest: Scalars['LnPaymentRequest']['input'];
764+
};
765+
758766
export const WalletCurrency = {
759767
Btc: 'BTC',
760768
Usd: 'USD'

apps/consent/app/graphql/generated.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,6 +2040,8 @@ export type Wallet = {
20402040
readonly transactionsByAddress?: Maybe<TransactionConnection>;
20412041
/** Returns the transactions that include this paymentHash. This should be a list of size one for a received lightning payment. This can be more that one transaction for a sent lightning payment. */
20422042
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
2043+
/** Returns the transactions that include this paymentRequest. */
2044+
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
20432045
readonly walletCurrency: WalletCurrency;
20442046
};
20452047

@@ -2095,6 +2097,12 @@ export type WalletTransactionsByPaymentHashArgs = {
20952097
paymentHash: Scalars['PaymentHash']['input'];
20962098
};
20972099

2100+
2101+
/** A generic wallet which stores value in one of our supported currencies. */
2102+
export type WalletTransactionsByPaymentRequestArgs = {
2103+
paymentRequest: Scalars['LnPaymentRequest']['input'];
2104+
};
2105+
20982106
export const WalletCurrency = {
20992107
Btc: 'BTC',
21002108
Usd: 'USD'

apps/dashboard/services/graphql/generated.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2164,6 +2164,8 @@ export type Wallet = {
21642164
readonly transactionsByAddress?: Maybe<TransactionConnection>;
21652165
/** Returns the transactions that include this paymentHash. This should be a list of size one for a received lightning payment. This can be more that one transaction for a sent lightning payment. */
21662166
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
2167+
/** Returns the transactions that include this paymentRequest. */
2168+
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
21672169
readonly walletCurrency: WalletCurrency;
21682170
};
21692171

@@ -2219,6 +2221,12 @@ export type WalletTransactionsByPaymentHashArgs = {
22192221
paymentHash: Scalars['PaymentHash']['input'];
22202222
};
22212223

2224+
2225+
/** A generic wallet which stores value in one of our supported currencies. */
2226+
export type WalletTransactionsByPaymentRequestArgs = {
2227+
paymentRequest: Scalars['LnPaymentRequest']['input'];
2228+
};
2229+
22222230
export const WalletCurrency = {
22232231
Btc: 'BTC',
22242232
Usd: 'USD'
@@ -4802,6 +4810,7 @@ export type WalletResolvers<ContextType = any, ParentType extends ResolversParen
48024810
transactions?: Resolver<Maybe<ResolversTypes['TransactionConnection']>, ParentType, ContextType, Partial<WalletTransactionsArgs>>;
48034811
transactionsByAddress?: Resolver<Maybe<ResolversTypes['TransactionConnection']>, ParentType, ContextType, RequireFields<WalletTransactionsByAddressArgs, 'address'>>;
48044812
transactionsByPaymentHash?: Resolver<ReadonlyArray<ResolversTypes['Transaction']>, ParentType, ContextType, RequireFields<WalletTransactionsByPaymentHashArgs, 'paymentHash'>>;
4813+
transactionsByPaymentRequest?: Resolver<ReadonlyArray<ResolversTypes['Transaction']>, ParentType, ContextType, RequireFields<WalletTransactionsByPaymentRequestArgs, 'paymentRequest'>>;
48054814
walletCurrency?: Resolver<ResolversTypes['WalletCurrency'], ParentType, ContextType>;
48064815
};
48074816

apps/pay/lib/graphql/generated.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,6 +2039,8 @@ export type Wallet = {
20392039
readonly transactionsByAddress?: Maybe<TransactionConnection>;
20402040
/** Returns the transactions that include this paymentHash. This should be a list of size one for a received lightning payment. This can be more that one transaction for a sent lightning payment. */
20412041
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
2042+
/** Returns the transactions that include this paymentRequest. */
2043+
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
20422044
readonly walletCurrency: WalletCurrency;
20432045
};
20442046

@@ -2094,6 +2096,12 @@ export type WalletTransactionsByPaymentHashArgs = {
20942096
paymentHash: Scalars['PaymentHash'];
20952097
};
20962098

2099+
2100+
/** A generic wallet which stores value in one of our supported currencies. */
2101+
export type WalletTransactionsByPaymentRequestArgs = {
2102+
paymentRequest: Scalars['LnPaymentRequest'];
2103+
};
2104+
20972105
export const WalletCurrency = {
20982106
Btc: 'BTC',
20992107
Usd: 'USD'

core/api/dev/apollo-federation/supergraph.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,6 +2304,12 @@ interface Wallet
23042304
"""The payment hash of the lightning invoice paid in this transaction."""
23052305
paymentHash: PaymentHash!
23062306
): [Transaction!]!
2307+
2308+
"""Returns the transactions that include this paymentRequest."""
2309+
transactionsByPaymentRequest(
2310+
"""Lightning invoice paid in this transaction."""
2311+
paymentRequest: LnPaymentRequest!
2312+
): [Transaction!]!
23072313
walletCurrency: WalletCurrency!
23082314
}
23092315

core/api/src/graphql/admin/schema.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,12 @@ interface Wallet {
643643
"""The payment hash of the lightning invoice paid in this transaction."""
644644
paymentHash: PaymentHash!
645645
): [Transaction!]!
646+
647+
"""Returns the transactions that include this paymentRequest."""
648+
transactionsByPaymentRequest(
649+
"""Lightning invoice paid in this transaction."""
650+
paymentRequest: LnPaymentRequest!
651+
): [Transaction!]!
646652
walletCurrency: WalletCurrency!
647653
}
648654

core/api/src/graphql/public/schema.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,6 +1763,12 @@ interface Wallet {
17631763
"""The payment hash of the lightning invoice paid in this transaction."""
17641764
paymentHash: PaymentHash!
17651765
): [Transaction!]!
1766+
1767+
"""Returns the transactions that include this paymentRequest."""
1768+
transactionsByPaymentRequest(
1769+
"""Lightning invoice paid in this transaction."""
1770+
paymentRequest: LnPaymentRequest!
1771+
): [Transaction!]!
17661772
walletCurrency: WalletCurrency!
17671773
}
17681774

dev/config/apollo-federation/supergraph.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,6 +2304,12 @@ interface Wallet
23042304
"""The payment hash of the lightning invoice paid in this transaction."""
23052305
paymentHash: PaymentHash!
23062306
): [Transaction!]!
2307+
2308+
"""Returns the transactions that include this paymentRequest."""
2309+
transactionsByPaymentRequest(
2310+
"""Lightning invoice paid in this transaction."""
2311+
paymentRequest: LnPaymentRequest!
2312+
): [Transaction!]!
23072313
walletCurrency: WalletCurrency!
23082314
}
23092315

0 commit comments

Comments
 (0)