Skip to content

Commit

Permalink
fix: update schemas and codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Feb 19, 2024
1 parent 147c62a commit b58fb51
Show file tree
Hide file tree
Showing 9 changed files with 151 additions and 130 deletions.
14 changes: 14 additions & 0 deletions apps/admin-panel/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export type BtcWallet = Wallet & {
readonly transactions?: Maybe<TransactionConnection>;
readonly transactionsByAddress?: Maybe<TransactionConnection>;
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
readonly walletCurrency: WalletCurrency;
};

Expand Down Expand Up @@ -199,6 +200,12 @@ export type BtcWalletTransactionsByPaymentHashArgs = {
paymentHash: Scalars['PaymentHash']['input'];
};


/** A wallet belonging to an account which contains a BTC balance and a list of transactions. */
export type BtcWalletTransactionsByPaymentRequestArgs = {
paymentRequest: Scalars['LnPaymentRequest']['input'];
};

export type Coordinates = {
readonly __typename: 'Coordinates';
readonly latitude: Scalars['Float']['output'];
Expand Down Expand Up @@ -585,6 +592,7 @@ export type UsdWallet = Wallet & {
readonly transactions?: Maybe<TransactionConnection>;
readonly transactionsByAddress?: Maybe<TransactionConnection>;
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
readonly walletCurrency: WalletCurrency;
};

Expand Down Expand Up @@ -640,6 +648,12 @@ export type UsdWalletTransactionsByPaymentHashArgs = {
paymentHash: Scalars['PaymentHash']['input'];
};


/** A wallet belonging to an account which contains a USD balance and a list of transactions. */
export type UsdWalletTransactionsByPaymentRequestArgs = {
paymentRequest: Scalars['LnPaymentRequest']['input'];
};

export type UserUpdatePhoneInput = {
readonly accountId: Scalars['AccountId']['input'];
readonly phone: Scalars['Phone']['input'];
Expand Down
14 changes: 14 additions & 0 deletions apps/consent/app/graphql/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ export type BtcWallet = Wallet & {
readonly transactions?: Maybe<TransactionConnection>;
readonly transactionsByAddress?: Maybe<TransactionConnection>;
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
readonly walletCurrency: WalletCurrency;
};

Expand Down Expand Up @@ -289,6 +290,12 @@ export type BtcWalletTransactionsByPaymentHashArgs = {
paymentHash: Scalars['PaymentHash']['input'];
};


/** A wallet belonging to an account which contains a BTC balance and a list of transactions. */
export type BtcWalletTransactionsByPaymentRequestArgs = {
paymentRequest: Scalars['LnPaymentRequest']['input'];
};

export type BuildInformation = {
readonly __typename: 'BuildInformation';
readonly commitHash?: Maybe<Scalars['String']['output']>;
Expand Down Expand Up @@ -1751,6 +1758,7 @@ export type UsdWallet = Wallet & {
readonly transactions?: Maybe<TransactionConnection>;
readonly transactionsByAddress?: Maybe<TransactionConnection>;
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
readonly walletCurrency: WalletCurrency;
};

Expand Down Expand Up @@ -1806,6 +1814,12 @@ export type UsdWalletTransactionsByPaymentHashArgs = {
paymentHash: Scalars['PaymentHash']['input'];
};


/** A wallet belonging to an account which contains a USD balance and a list of transactions. */
export type UsdWalletTransactionsByPaymentRequestArgs = {
paymentRequest: Scalars['LnPaymentRequest']['input'];
};

export type User = {
readonly __typename: 'User';
/**
Expand Down
16 changes: 16 additions & 0 deletions apps/dashboard/services/graphql/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export type BtcWallet = Wallet & {
readonly transactions?: Maybe<TransactionConnection>;
readonly transactionsByAddress?: Maybe<TransactionConnection>;
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
readonly walletCurrency: WalletCurrency;
};

Expand Down Expand Up @@ -328,6 +329,12 @@ export type BtcWalletTransactionsByPaymentHashArgs = {
paymentHash: Scalars['PaymentHash']['input'];
};


/** A wallet belonging to an account which contains a BTC balance and a list of transactions. */
export type BtcWalletTransactionsByPaymentRequestArgs = {
paymentRequest: Scalars['LnPaymentRequest']['input'];
};

export type BuildInformation = {
readonly __typename: 'BuildInformation';
readonly commitHash?: Maybe<Scalars['String']['output']>;
Expand Down Expand Up @@ -1826,6 +1833,7 @@ export type UsdWallet = Wallet & {
readonly transactions?: Maybe<TransactionConnection>;
readonly transactionsByAddress?: Maybe<TransactionConnection>;
readonly transactionsByPaymentHash: ReadonlyArray<Transaction>;
readonly transactionsByPaymentRequest: ReadonlyArray<Transaction>;
readonly walletCurrency: WalletCurrency;
};

Expand Down Expand Up @@ -1881,6 +1889,12 @@ export type UsdWalletTransactionsByPaymentHashArgs = {
paymentHash: Scalars['PaymentHash']['input'];
};


/** A wallet belonging to an account which contains a USD balance and a list of transactions. */
export type UsdWalletTransactionsByPaymentRequestArgs = {
paymentRequest: Scalars['LnPaymentRequest']['input'];
};

export type User = {
readonly __typename: 'User';
readonly apiKeys: ReadonlyArray<ApiKey>;
Expand Down Expand Up @@ -3924,6 +3938,7 @@ export type BtcWalletResolvers<ContextType = any, ParentType extends ResolversPa
transactions?: Resolver<Maybe<ResolversTypes['TransactionConnection']>, ParentType, ContextType, Partial<BtcWalletTransactionsArgs>>;
transactionsByAddress?: Resolver<Maybe<ResolversTypes['TransactionConnection']>, ParentType, ContextType, RequireFields<BtcWalletTransactionsByAddressArgs, 'address'>>;
transactionsByPaymentHash?: Resolver<ReadonlyArray<ResolversTypes['Transaction']>, ParentType, ContextType, RequireFields<BtcWalletTransactionsByPaymentHashArgs, 'paymentHash'>>;
transactionsByPaymentRequest?: Resolver<ReadonlyArray<ResolversTypes['Transaction']>, ParentType, ContextType, RequireFields<BtcWalletTransactionsByPaymentRequestArgs, 'paymentRequest'>>;
walletCurrency?: Resolver<ResolversTypes['WalletCurrency'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};
Expand Down Expand Up @@ -4651,6 +4666,7 @@ export type UsdWalletResolvers<ContextType = any, ParentType extends ResolversPa
transactions?: Resolver<Maybe<ResolversTypes['TransactionConnection']>, ParentType, ContextType, Partial<UsdWalletTransactionsArgs>>;
transactionsByAddress?: Resolver<Maybe<ResolversTypes['TransactionConnection']>, ParentType, ContextType, RequireFields<UsdWalletTransactionsByAddressArgs, 'address'>>;
transactionsByPaymentHash?: Resolver<ReadonlyArray<ResolversTypes['Transaction']>, ParentType, ContextType, RequireFields<UsdWalletTransactionsByPaymentHashArgs, 'paymentHash'>>;
transactionsByPaymentRequest?: Resolver<ReadonlyArray<ResolversTypes['Transaction']>, ParentType, ContextType, RequireFields<UsdWalletTransactionsByPaymentRequestArgs, 'paymentRequest'>>;
walletCurrency?: Resolver<ResolversTypes['WalletCurrency'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};
Expand Down
Loading

0 comments on commit b58fb51

Please sign in to comment.