mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 01:40:03 +01:00
chore: update dependencies (#333)
This commit is contained in:
parent
942870e3af
commit
8b2650ffbf
26868
package-lock.json
generated
26868
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
@ -48,7 +48,7 @@
|
||||
"@visx/shape": "^2.1.0",
|
||||
"@visx/tooltip": "^2.1.0",
|
||||
"apollo-server-micro": "^2.25.2",
|
||||
"balanceofsatoshis": "^10.10.2",
|
||||
"balanceofsatoshis": "^10.12.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"bech32": "^2.0.0",
|
||||
"bip32": "^2.0.6",
|
||||
@ -60,9 +60,9 @@
|
||||
"d3-array": "^2.12.1",
|
||||
"d3-time-format": "^3.0.0",
|
||||
"date-fns": "^2.23.0",
|
||||
"graphql": "^15.5.2",
|
||||
"graphql": "^15.5.3",
|
||||
"graphql-iso-date": "^3.6.1",
|
||||
"graphql-middleware": "^6.1.5",
|
||||
"graphql-middleware": "^6.1.6",
|
||||
"graphql-rate-limit": "^3.1.0",
|
||||
"js-cookie": "^3.0.1",
|
||||
"js-yaml": "^4.1.0",
|
||||
@ -96,18 +96,18 @@
|
||||
"winston": "^3.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.15.4",
|
||||
"@babel/core": "^7.15.5",
|
||||
"@commitlint/cli": "^13.1.0",
|
||||
"@commitlint/config-conventional": "^13.1.0",
|
||||
"@graphql-codegen/add": "^3.1.0",
|
||||
"@graphql-codegen/cli": "^2.1.1",
|
||||
"@graphql-codegen/cli": "^2.2.0",
|
||||
"@graphql-codegen/fragment-matcher": "^3.1.0",
|
||||
"@graphql-codegen/introspection": "^2.1.0",
|
||||
"@graphql-codegen/near-operation-file-preset": "^2.1.2",
|
||||
"@graphql-codegen/typescript": "^2.1.2",
|
||||
"@graphql-codegen/typescript-operations": "^2.1.2",
|
||||
"@graphql-codegen/typescript-react-apollo": "^3.1.2",
|
||||
"@graphql-codegen/typescript-resolvers": "^2.1.2",
|
||||
"@graphql-codegen/near-operation-file-preset": "^2.1.3",
|
||||
"@graphql-codegen/typescript": "^2.2.1",
|
||||
"@graphql-codegen/typescript-operations": "^2.1.3",
|
||||
"@graphql-codegen/typescript-react-apollo": "^3.1.3",
|
||||
"@graphql-codegen/typescript-resolvers": "^2.2.0",
|
||||
"@testing-library/jest-dom": "^5.14.1",
|
||||
"@testing-library/react": "^12.0.0",
|
||||
"@types/bcryptjs": "^2.4.2",
|
||||
@ -119,11 +119,11 @@
|
||||
"@types/js-cookie": "^2.2.7",
|
||||
"@types/js-yaml": "^4.0.3",
|
||||
"@types/jsonwebtoken": "^8.5.5",
|
||||
"@types/node": "^16.7.10",
|
||||
"@types/node": "^16.7.13",
|
||||
"@types/node-fetch": "^2.5.12",
|
||||
"@types/numeral": "^2.0.1",
|
||||
"@types/qrcode.react": "^1.0.2",
|
||||
"@types/react": "^17.0.19",
|
||||
"@types/react": "^17.0.20",
|
||||
"@types/react-copy-to-clipboard": "^5.0.1",
|
||||
"@types/react-grid-layout": "^1.1.2",
|
||||
"@types/react-qr-reader": "^2.1.4",
|
||||
@ -131,15 +131,15 @@
|
||||
"@types/react-slider": "^1.3.1",
|
||||
"@types/react-table": "^7.7.2",
|
||||
"@types/secp256k1": "^4.0.3",
|
||||
"@types/styled-components": "^5.1.13",
|
||||
"@types/styled-components": "^5.1.14",
|
||||
"@types/styled-react-modal": "^1.2.1",
|
||||
"@types/styled-theming": "^2.2.5",
|
||||
"@types/uuid": "^8.3.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.30.0",
|
||||
"@typescript-eslint/parser": "^4.30.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.31.0",
|
||||
"@typescript-eslint/parser": "^4.31.0",
|
||||
"apollo-server": "^2.25.2",
|
||||
"apollo-server-testing": "^2.25.2",
|
||||
"babel-jest": "^27.1.0",
|
||||
"babel-jest": "^27.1.1",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-inline-react-svg": "^2.0.1",
|
||||
"babel-plugin-styled-components": "^1.13.2",
|
||||
@ -154,7 +154,7 @@
|
||||
"eslint-plugin-react": "^7.25.1",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"husky": "^7.0.2",
|
||||
"jest": "^27.1.0",
|
||||
"jest": "^27.1.1",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"lint-staged": "^11.1.2",
|
||||
"prettier": "^2.3.2",
|
||||
|
@ -1,22 +1,17 @@
|
||||
import styled from 'styled-components';
|
||||
import { ToastContainer } from 'react-toastify';
|
||||
import { themeColors, chartColors } from 'src/styles/Themes';
|
||||
|
||||
export const StyledToastContainer = styled(ToastContainer)`
|
||||
.Toastify__toast {
|
||||
border-radius: 4px;
|
||||
background-color: ${themeColors.blue2};
|
||||
}
|
||||
.Toastify__toast--error {
|
||||
border-radius: 4px;
|
||||
background-color: ${chartColors.red};
|
||||
}
|
||||
.Toastify__toast--warning {
|
||||
border-radius: 4px;
|
||||
background-color: ${chartColors.orange};
|
||||
}
|
||||
.Toastify__toast--success {
|
||||
border-radius: 4px;
|
||||
background-color: ${chartColors.green};
|
||||
}
|
||||
`;
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"possibleTypes": {
|
||||
"LnUrlRequest": [
|
||||
"WithdrawRequest",
|
||||
"ChannelRequest",
|
||||
"PayRequest",
|
||||
"ChannelRequest"
|
||||
"WithdrawRequest"
|
||||
],
|
||||
"Transaction": [
|
||||
"InvoiceType",
|
||||
|
@ -12,10 +12,7 @@ export type AddPeerMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type AddPeerMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'addPeer'>
|
||||
);
|
||||
export type AddPeerMutation = { __typename?: 'Mutation', addPeer?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const AddPeerDocument = gql`
|
||||
|
@ -13,10 +13,7 @@ export type BosPayMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type BosPayMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'bosPay'>
|
||||
);
|
||||
export type BosPayMutation = { __typename?: 'Mutation', bosPay?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const BosPayDocument = gql`
|
||||
|
@ -17,22 +17,7 @@ export type BosRebalanceMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type BosRebalanceMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { bosRebalance?: Types.Maybe<(
|
||||
{ __typename?: 'bosRebalanceResultType' }
|
||||
& { increase?: Types.Maybe<(
|
||||
{ __typename?: 'bosIncreaseType' }
|
||||
& Pick<Types.BosIncreaseType, 'increased_inbound_on' | 'liquidity_inbound' | 'liquidity_inbound_opening' | 'liquidity_inbound_pending' | 'liquidity_outbound' | 'liquidity_outbound_opening' | 'liquidity_outbound_pending'>
|
||||
)>, decrease?: Types.Maybe<(
|
||||
{ __typename?: 'bosDecreaseType' }
|
||||
& Pick<Types.BosDecreaseType, 'decreased_inbound_on' | 'liquidity_inbound' | 'liquidity_inbound_opening' | 'liquidity_inbound_pending' | 'liquidity_outbound' | 'liquidity_outbound_opening' | 'liquidity_outbound_pending'>
|
||||
)>, result?: Types.Maybe<(
|
||||
{ __typename?: 'bosResultType' }
|
||||
& Pick<Types.BosResultType, 'rebalanced' | 'rebalance_fees_spent'>
|
||||
)> }
|
||||
)> }
|
||||
);
|
||||
export type BosRebalanceMutation = { __typename?: 'Mutation', bosRebalance?: Types.Maybe<{ __typename?: 'bosRebalanceResultType', increase?: Types.Maybe<{ __typename?: 'bosIncreaseType', increased_inbound_on?: Types.Maybe<string>, liquidity_inbound?: Types.Maybe<string>, liquidity_inbound_opening?: Types.Maybe<string>, liquidity_inbound_pending?: Types.Maybe<string>, liquidity_outbound?: Types.Maybe<string>, liquidity_outbound_opening?: Types.Maybe<string>, liquidity_outbound_pending?: Types.Maybe<string> }>, decrease?: Types.Maybe<{ __typename?: 'bosDecreaseType', decreased_inbound_on?: Types.Maybe<string>, liquidity_inbound?: Types.Maybe<string>, liquidity_inbound_opening?: Types.Maybe<string>, liquidity_inbound_pending?: Types.Maybe<string>, liquidity_outbound?: Types.Maybe<string>, liquidity_outbound_opening?: Types.Maybe<string>, liquidity_outbound_pending?: Types.Maybe<string> }>, result?: Types.Maybe<{ __typename?: 'bosResultType', rebalanced?: Types.Maybe<string>, rebalance_fees_spent?: Types.Maybe<string> }> }> };
|
||||
|
||||
|
||||
export const BosRebalanceDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type CircularRebalanceMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CircularRebalanceMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'circularRebalance'>
|
||||
);
|
||||
export type CircularRebalanceMutation = { __typename?: 'Mutation', circularRebalance?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const CircularRebalanceDocument = gql`
|
||||
|
@ -14,10 +14,7 @@ export type ClaimBoltzTransactionMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type ClaimBoltzTransactionMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'claimBoltzTransaction'>
|
||||
);
|
||||
export type ClaimBoltzTransactionMutation = { __typename?: 'Mutation', claimBoltzTransaction: string };
|
||||
|
||||
|
||||
export const ClaimBoltzTransactionDocument = gql`
|
||||
|
@ -12,13 +12,7 @@ export type CloseChannelMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CloseChannelMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { closeChannel?: Types.Maybe<(
|
||||
{ __typename?: 'closeChannelType' }
|
||||
& Pick<Types.CloseChannelType, 'transactionId' | 'transactionOutputIndex'>
|
||||
)> }
|
||||
);
|
||||
export type CloseChannelMutation = { __typename?: 'Mutation', closeChannel?: Types.Maybe<{ __typename?: 'closeChannelType', transactionId?: Types.Maybe<string>, transactionOutputIndex?: Types.Maybe<string> }> };
|
||||
|
||||
|
||||
export const CloseChannelDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type CreateAddressMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CreateAddressMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'createAddress'>
|
||||
);
|
||||
export type CreateAddressMutation = { __typename?: 'Mutation', createAddress?: Types.Maybe<string> };
|
||||
|
||||
|
||||
export const CreateAddressDocument = gql`
|
||||
|
@ -9,13 +9,7 @@ export type CreateBaseInvoiceMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CreateBaseInvoiceMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { createBaseInvoice?: Types.Maybe<(
|
||||
{ __typename?: 'baseInvoiceType' }
|
||||
& Pick<Types.BaseInvoiceType, 'request' | 'id'>
|
||||
)> }
|
||||
);
|
||||
export type CreateBaseInvoiceMutation = { __typename?: 'Mutation', createBaseInvoice?: Types.Maybe<{ __typename?: 'baseInvoiceType', request: string, id: string }> };
|
||||
|
||||
|
||||
export const CreateBaseInvoiceDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type CreateBaseTokenMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CreateBaseTokenMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'createBaseToken'>
|
||||
);
|
||||
export type CreateBaseTokenMutation = { __typename?: 'Mutation', createBaseToken: boolean };
|
||||
|
||||
|
||||
export const CreateBaseTokenDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type CreateBaseTokenInvoiceMutationVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type CreateBaseTokenInvoiceMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { createBaseTokenInvoice?: Types.Maybe<(
|
||||
{ __typename?: 'baseInvoiceType' }
|
||||
& Pick<Types.BaseInvoiceType, 'request' | 'id'>
|
||||
)> }
|
||||
);
|
||||
export type CreateBaseTokenInvoiceMutation = { __typename?: 'Mutation', createBaseTokenInvoice?: Types.Maybe<{ __typename?: 'baseInvoiceType', request: string, id: string }> };
|
||||
|
||||
|
||||
export const CreateBaseTokenInvoiceDocument = gql`
|
||||
|
@ -10,24 +10,7 @@ export type CreateBoltzReverseSwapMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CreateBoltzReverseSwapMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { createBoltzReverseSwap: (
|
||||
{ __typename?: 'CreateBoltzReverseSwapType' }
|
||||
& Pick<Types.CreateBoltzReverseSwapType, 'id' | 'invoice' | 'redeemScript' | 'onchainAmount' | 'timeoutBlockHeight' | 'lockupAddress' | 'minerFeeInvoice' | 'receivingAddress' | 'preimage' | 'preimageHash' | 'privateKey' | 'publicKey'>
|
||||
& { decodedInvoice?: Types.Maybe<(
|
||||
{ __typename?: 'decodeType' }
|
||||
& Pick<Types.DecodeType, 'description' | 'destination' | 'expires_at' | 'id' | 'safe_tokens' | 'tokens'>
|
||||
& { destination_node: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
) }
|
||||
)> }
|
||||
) }
|
||||
);
|
||||
export type CreateBoltzReverseSwapMutation = { __typename?: 'Mutation', createBoltzReverseSwap: { __typename?: 'CreateBoltzReverseSwapType', id: string, invoice: string, redeemScript: string, onchainAmount: number, timeoutBlockHeight: number, lockupAddress: string, minerFeeInvoice?: Types.Maybe<string>, receivingAddress: string, preimage?: Types.Maybe<string>, preimageHash?: Types.Maybe<string>, privateKey?: Types.Maybe<string>, publicKey?: Types.Maybe<string>, decodedInvoice?: Types.Maybe<{ __typename?: 'decodeType', description: string, destination: string, expires_at: string, id: string, safe_tokens: number, tokens: number, destination_node: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } } }> } };
|
||||
|
||||
|
||||
export const CreateBoltzReverseSwapDocument = gql`
|
||||
|
@ -12,13 +12,7 @@ export type CreateInvoiceMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CreateInvoiceMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { createInvoice?: Types.Maybe<(
|
||||
{ __typename?: 'newInvoiceType' }
|
||||
& Pick<Types.NewInvoiceType, 'request' | 'id'>
|
||||
)> }
|
||||
);
|
||||
export type CreateInvoiceMutation = { __typename?: 'Mutation', createInvoice?: Types.Maybe<{ __typename?: 'newInvoiceType', request: string, id: string }> };
|
||||
|
||||
|
||||
export const CreateInvoiceDocument = gql`
|
||||
|
@ -9,13 +9,7 @@ export type CreateMacaroonMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CreateMacaroonMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { createMacaroon: (
|
||||
{ __typename?: 'CreateMacaroon' }
|
||||
& Pick<Types.CreateMacaroon, 'base' | 'hex'>
|
||||
) }
|
||||
);
|
||||
export type CreateMacaroonMutation = { __typename?: 'Mutation', createMacaroon: { __typename?: 'CreateMacaroon', base: string, hex: string } };
|
||||
|
||||
|
||||
export const CreateMacaroonDocument = gql`
|
||||
|
@ -12,10 +12,7 @@ export type CreateThunderPointsMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type CreateThunderPointsMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'createThunderPoints'>
|
||||
);
|
||||
export type CreateThunderPointsMutation = { __typename?: 'Mutation', createThunderPoints: boolean };
|
||||
|
||||
|
||||
export const CreateThunderPointsDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type DeleteBaseTokenMutationVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type DeleteBaseTokenMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'deleteBaseToken'>
|
||||
);
|
||||
export type DeleteBaseTokenMutation = { __typename?: 'Mutation', deleteBaseToken: boolean };
|
||||
|
||||
|
||||
export const DeleteBaseTokenDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type GetAuthTokenMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetAuthTokenMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'getAuthToken'>
|
||||
);
|
||||
export type GetAuthTokenMutation = { __typename?: 'Mutation', getAuthToken: boolean };
|
||||
|
||||
|
||||
export const GetAuthTokenDocument = gql`
|
||||
|
@ -10,10 +10,7 @@ export type GetSessionTokenMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetSessionTokenMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'getSessionToken'>
|
||||
);
|
||||
export type GetSessionTokenMutation = { __typename?: 'Mutation', getSessionToken: string };
|
||||
|
||||
|
||||
export const GetSessionTokenDocument = gql`
|
||||
|
@ -10,13 +10,7 @@ export type KeysendMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type KeysendMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { keysend?: Types.Maybe<(
|
||||
{ __typename?: 'payType' }
|
||||
& Pick<Types.PayType, 'is_confirmed'>
|
||||
)> }
|
||||
);
|
||||
export type KeysendMutation = { __typename?: 'Mutation', keysend?: Types.Maybe<{ __typename?: 'payType', is_confirmed?: Types.Maybe<boolean> }> };
|
||||
|
||||
|
||||
export const KeysendDocument = gql`
|
||||
|
@ -7,41 +7,26 @@ const defaultOptions = {}
|
||||
export type LnMarketsLoginMutationVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type LnMarketsLoginMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { lnMarketsLogin: (
|
||||
{ __typename?: 'AuthResponse' }
|
||||
& Pick<Types.AuthResponse, 'status' | 'message'>
|
||||
) }
|
||||
);
|
||||
export type LnMarketsLoginMutation = { __typename?: 'Mutation', lnMarketsLogin: { __typename?: 'AuthResponse', status: string, message: string } };
|
||||
|
||||
export type LnMarketsWithdrawMutationVariables = Types.Exact<{
|
||||
amount: Types.Scalars['Int'];
|
||||
}>;
|
||||
|
||||
|
||||
export type LnMarketsWithdrawMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'lnMarketsWithdraw'>
|
||||
);
|
||||
export type LnMarketsWithdrawMutation = { __typename?: 'Mutation', lnMarketsWithdraw: boolean };
|
||||
|
||||
export type LnMarketsDepositMutationVariables = Types.Exact<{
|
||||
amount: Types.Scalars['Int'];
|
||||
}>;
|
||||
|
||||
|
||||
export type LnMarketsDepositMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'lnMarketsDeposit'>
|
||||
);
|
||||
export type LnMarketsDepositMutation = { __typename?: 'Mutation', lnMarketsDeposit: boolean };
|
||||
|
||||
export type LnMarketsLogoutMutationVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type LnMarketsLogoutMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'lnMarketsLogout'>
|
||||
);
|
||||
export type LnMarketsLogoutMutation = { __typename?: 'Mutation', lnMarketsLogout: boolean };
|
||||
|
||||
|
||||
export const LnMarketsLoginDocument = gql`
|
||||
|
@ -9,32 +9,14 @@ export type FetchLnUrlMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type FetchLnUrlMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { fetchLnUrl?: Types.Maybe<(
|
||||
{ __typename?: 'WithdrawRequest' }
|
||||
& Pick<Types.WithdrawRequest, 'callback' | 'k1' | 'maxWithdrawable' | 'defaultDescription' | 'minWithdrawable' | 'tag'>
|
||||
) | (
|
||||
{ __typename?: 'PayRequest' }
|
||||
& Pick<Types.PayRequest, 'callback' | 'maxSendable' | 'minSendable' | 'metadata' | 'commentAllowed' | 'tag'>
|
||||
) | (
|
||||
{ __typename?: 'ChannelRequest' }
|
||||
& Pick<Types.ChannelRequest, 'tag' | 'k1' | 'callback' | 'uri'>
|
||||
)> }
|
||||
);
|
||||
export type FetchLnUrlMutation = { __typename?: 'Mutation', fetchLnUrl?: Types.Maybe<{ __typename?: 'ChannelRequest', tag?: Types.Maybe<string>, k1?: Types.Maybe<string>, callback?: Types.Maybe<string>, uri?: Types.Maybe<string> } | { __typename?: 'PayRequest', callback?: Types.Maybe<string>, maxSendable?: Types.Maybe<string>, minSendable?: Types.Maybe<string>, metadata?: Types.Maybe<string>, commentAllowed?: Types.Maybe<number>, tag?: Types.Maybe<string> } | { __typename?: 'WithdrawRequest', callback?: Types.Maybe<string>, k1?: Types.Maybe<string>, maxWithdrawable?: Types.Maybe<string>, defaultDescription?: Types.Maybe<string>, minWithdrawable?: Types.Maybe<string>, tag?: Types.Maybe<string> }> };
|
||||
|
||||
export type AuthLnUrlMutationVariables = Types.Exact<{
|
||||
url: Types.Scalars['String'];
|
||||
}>;
|
||||
|
||||
|
||||
export type AuthLnUrlMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { lnUrlAuth: (
|
||||
{ __typename?: 'AuthResponse' }
|
||||
& Pick<Types.AuthResponse, 'status' | 'message'>
|
||||
) }
|
||||
);
|
||||
export type AuthLnUrlMutation = { __typename?: 'Mutation', lnUrlAuth: { __typename?: 'AuthResponse', status: string, message: string } };
|
||||
|
||||
export type PayLnUrlMutationVariables = Types.Exact<{
|
||||
callback: Types.Scalars['String'];
|
||||
@ -43,13 +25,7 @@ export type PayLnUrlMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type PayLnUrlMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { lnUrlPay: (
|
||||
{ __typename?: 'PaySuccess' }
|
||||
& Pick<Types.PaySuccess, 'tag' | 'description' | 'url' | 'message' | 'ciphertext' | 'iv'>
|
||||
) }
|
||||
);
|
||||
export type PayLnUrlMutation = { __typename?: 'Mutation', lnUrlPay: { __typename?: 'PaySuccess', tag?: Types.Maybe<string>, description?: Types.Maybe<string>, url?: Types.Maybe<string>, message?: Types.Maybe<string>, ciphertext?: Types.Maybe<string>, iv?: Types.Maybe<string> } };
|
||||
|
||||
export type WithdrawLnUrlMutationVariables = Types.Exact<{
|
||||
callback: Types.Scalars['String'];
|
||||
@ -59,10 +35,7 @@ export type WithdrawLnUrlMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type WithdrawLnUrlMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'lnUrlWithdraw'>
|
||||
);
|
||||
export type WithdrawLnUrlMutation = { __typename?: 'Mutation', lnUrlWithdraw: string };
|
||||
|
||||
export type ChannelLnUrlMutationVariables = Types.Exact<{
|
||||
callback: Types.Scalars['String'];
|
||||
@ -71,10 +44,7 @@ export type ChannelLnUrlMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type ChannelLnUrlMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'lnUrlChannel'>
|
||||
);
|
||||
export type ChannelLnUrlMutation = { __typename?: 'Mutation', lnUrlChannel: string };
|
||||
|
||||
|
||||
export const FetchLnUrlDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type LogoutMutationVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type LogoutMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'logout'>
|
||||
);
|
||||
export type LogoutMutation = { __typename?: 'Mutation', logout: boolean };
|
||||
|
||||
|
||||
export const LogoutDocument = gql`
|
||||
|
@ -13,13 +13,7 @@ export type OpenChannelMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type OpenChannelMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { openChannel?: Types.Maybe<(
|
||||
{ __typename?: 'openChannelType' }
|
||||
& Pick<Types.OpenChannelType, 'transactionId' | 'transactionOutputIndex'>
|
||||
)> }
|
||||
);
|
||||
export type OpenChannelMutation = { __typename?: 'Mutation', openChannel?: Types.Maybe<{ __typename?: 'openChannelType', transactionId?: Types.Maybe<string>, transactionOutputIndex?: Types.Maybe<string> }> };
|
||||
|
||||
|
||||
export const OpenChannelDocument = gql`
|
||||
|
@ -10,10 +10,7 @@ export type PayViaRouteMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type PayViaRouteMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'payViaRoute'>
|
||||
);
|
||||
export type PayViaRouteMutation = { __typename?: 'Mutation', payViaRoute?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const PayViaRouteDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type RemovePeerMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type RemovePeerMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'removePeer'>
|
||||
);
|
||||
export type RemovePeerMutation = { __typename?: 'Mutation', removePeer?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const RemovePeerDocument = gql`
|
||||
|
@ -13,10 +13,7 @@ export type SendMessageMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type SendMessageMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'sendMessage'>
|
||||
);
|
||||
export type SendMessageMutation = { __typename?: 'Mutation', sendMessage?: Types.Maybe<number> };
|
||||
|
||||
|
||||
export const SendMessageDocument = gql`
|
||||
|
@ -13,13 +13,7 @@ export type PayAddressMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type PayAddressMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& { sendToAddress?: Types.Maybe<(
|
||||
{ __typename?: 'sendToType' }
|
||||
& Pick<Types.SendToType, 'confirmationCount' | 'id' | 'isConfirmed' | 'isOutgoing' | 'tokens'>
|
||||
)> }
|
||||
);
|
||||
export type PayAddressMutation = { __typename?: 'Mutation', sendToAddress?: Types.Maybe<{ __typename?: 'sendToType', confirmationCount: string, id: string, isConfirmed: boolean, isOutgoing: boolean, tokens?: Types.Maybe<number> }> };
|
||||
|
||||
|
||||
export const PayAddressDocument = gql`
|
||||
|
@ -15,10 +15,7 @@ export type UpdateFeesMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type UpdateFeesMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'updateFees'>
|
||||
);
|
||||
export type UpdateFeesMutation = { __typename?: 'Mutation', updateFees?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const UpdateFeesDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type UpdateMultipleFeesMutationVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type UpdateMultipleFeesMutation = (
|
||||
{ __typename?: 'Mutation' }
|
||||
& Pick<Types.Mutation, 'updateMultipleFees'>
|
||||
);
|
||||
export type UpdateMultipleFeesMutation = { __typename?: 'Mutation', updateMultipleFees?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const UpdateMultipleFeesDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type GetCanAdminQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetCanAdminQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'adminCheck'>
|
||||
);
|
||||
export type GetCanAdminQuery = { __typename?: 'Query', adminCheck?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const GetCanAdminDocument = gql`
|
||||
|
@ -9,40 +9,7 @@ export type DecodeRequestQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type DecodeRequestQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { decodeRequest?: Types.Maybe<(
|
||||
{ __typename?: 'decodeType' }
|
||||
& Pick<Types.DecodeType, 'chain_address' | 'cltv_delta' | 'description' | 'description_hash' | 'destination' | 'expires_at' | 'id' | 'tokens'>
|
||||
& { destination_node: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
), routes: Array<Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'RouteType' }
|
||||
& Pick<Types.RouteType, 'base_fee_mtokens' | 'channel' | 'cltv_delta' | 'fee_rate' | 'public_key'>
|
||||
)>>>>, probe_route?: Types.Maybe<(
|
||||
{ __typename?: 'ProbeRoute' }
|
||||
& { route?: Types.Maybe<(
|
||||
{ __typename?: 'probedRoute' }
|
||||
& Pick<Types.ProbedRoute, 'confidence' | 'fee' | 'fee_mtokens' | 'mtokens' | 'safe_fee' | 'safe_tokens' | 'timeout' | 'tokens'>
|
||||
& { hops: Array<(
|
||||
{ __typename?: 'probedRouteHop' }
|
||||
& Pick<Types.ProbedRouteHop, 'channel' | 'channel_capacity' | 'fee' | 'fee_mtokens' | 'forward' | 'forward_mtokens' | 'public_key' | 'timeout'>
|
||||
& { node: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
) }
|
||||
)> }
|
||||
)> }
|
||||
)> }
|
||||
)> }
|
||||
);
|
||||
export type DecodeRequestQuery = { __typename?: 'Query', decodeRequest?: Types.Maybe<{ __typename?: 'decodeType', chain_address?: Types.Maybe<string>, cltv_delta?: Types.Maybe<number>, description: string, description_hash?: Types.Maybe<string>, destination: string, expires_at: string, id: string, tokens: number, destination_node: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } }, routes: Array<Types.Maybe<Array<Types.Maybe<{ __typename?: 'RouteType', base_fee_mtokens?: Types.Maybe<string>, channel?: Types.Maybe<string>, cltv_delta?: Types.Maybe<number>, fee_rate?: Types.Maybe<number>, public_key: string }>>>>, probe_route?: Types.Maybe<{ __typename?: 'ProbeRoute', route?: Types.Maybe<{ __typename?: 'probedRoute', confidence: number, fee: number, fee_mtokens: string, mtokens: string, safe_fee: number, safe_tokens: number, timeout: number, tokens: number, hops: Array<{ __typename?: 'probedRouteHop', channel: string, channel_capacity: number, fee: number, fee_mtokens: string, forward: number, forward_mtokens: string, public_key: string, timeout: number, node: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } } }> }> }> }> };
|
||||
|
||||
|
||||
export const DecodeRequestDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetAccountQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetAccountQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getAccount?: Types.Maybe<(
|
||||
{ __typename?: 'serverAccountType' }
|
||||
& Pick<Types.ServerAccountType, 'name' | 'id' | 'loggedIn' | 'type'>
|
||||
)> }
|
||||
);
|
||||
export type GetAccountQuery = { __typename?: 'Query', getAccount?: Types.Maybe<{ __typename?: 'serverAccountType', name: string, id: string, loggedIn: boolean, type: string }> };
|
||||
|
||||
|
||||
export const GetAccountDocument = gql`
|
||||
|
@ -13,10 +13,7 @@ export type GetAccountingReportQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetAccountingReportQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getAccountingReport'>
|
||||
);
|
||||
export type GetAccountingReportQuery = { __typename?: 'Query', getAccountingReport: string };
|
||||
|
||||
|
||||
export const GetAccountingReportDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBackupsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBackupsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getBackups'>
|
||||
);
|
||||
export type GetBackupsQuery = { __typename?: 'Query', getBackups?: Types.Maybe<string> };
|
||||
|
||||
|
||||
export const GetBackupsDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBaseCanConnectQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBaseCanConnectQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getBaseCanConnect'>
|
||||
);
|
||||
export type GetBaseCanConnectQuery = { __typename?: 'Query', getBaseCanConnect: boolean };
|
||||
|
||||
|
||||
export const GetBaseCanConnectDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBaseInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBaseInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBaseInfo: (
|
||||
{ __typename?: 'BaseInfo' }
|
||||
& Pick<Types.BaseInfo, 'lastBosUpdate' | 'apiTokenSatPrice' | 'apiTokenOriginalSatPrice'>
|
||||
) }
|
||||
);
|
||||
export type GetBaseInfoQuery = { __typename?: 'Query', getBaseInfo: { __typename?: 'BaseInfo', lastBosUpdate: string, apiTokenSatPrice: number, apiTokenOriginalSatPrice: number } };
|
||||
|
||||
|
||||
export const GetBaseInfoDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBaseNodesQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBaseNodesQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBaseNodes: Array<Types.Maybe<(
|
||||
{ __typename?: 'baseNodesType' }
|
||||
& Pick<Types.BaseNodesType, '_id' | 'name' | 'public_key' | 'socket'>
|
||||
)>> }
|
||||
);
|
||||
export type GetBaseNodesQuery = { __typename?: 'Query', getBaseNodes: Array<Types.Maybe<{ __typename?: 'baseNodesType', _id?: Types.Maybe<string>, name?: Types.Maybe<string>, public_key: string, socket: string }>> };
|
||||
|
||||
|
||||
export const GetBaseNodesDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBasePointsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBasePointsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBasePoints: Array<Types.Maybe<(
|
||||
{ __typename?: 'basePointsType' }
|
||||
& Pick<Types.BasePointsType, 'alias' | 'amount'>
|
||||
)>> }
|
||||
);
|
||||
export type GetBasePointsQuery = { __typename?: 'Query', getBasePoints: Array<Types.Maybe<{ __typename?: 'basePointsType', alias: string, amount: number }>> };
|
||||
|
||||
|
||||
export const GetBasePointsDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBitcoinFeesQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBitcoinFeesQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBitcoinFees?: Types.Maybe<(
|
||||
{ __typename?: 'bitcoinFeeType' }
|
||||
& Pick<Types.BitcoinFeeType, 'fast' | 'halfHour' | 'hour' | 'minimum'>
|
||||
)> }
|
||||
);
|
||||
export type GetBitcoinFeesQuery = { __typename?: 'Query', getBitcoinFees?: Types.Maybe<{ __typename?: 'bitcoinFeeType', fast?: Types.Maybe<number>, halfHour?: Types.Maybe<number>, hour?: Types.Maybe<number>, minimum?: Types.Maybe<number> }> };
|
||||
|
||||
|
||||
export const GetBitcoinFeesDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBitcoinPriceQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBitcoinPriceQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getBitcoinPrice'>
|
||||
);
|
||||
export type GetBitcoinPriceQuery = { __typename?: 'Query', getBitcoinPrice?: Types.Maybe<string> };
|
||||
|
||||
|
||||
export const GetBitcoinPriceDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBoltzInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBoltzInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBoltzInfo: (
|
||||
{ __typename?: 'BoltzInfoType' }
|
||||
& Pick<Types.BoltzInfoType, 'max' | 'min' | 'feePercent'>
|
||||
) }
|
||||
);
|
||||
export type GetBoltzInfoQuery = { __typename?: 'Query', getBoltzInfo: { __typename?: 'BoltzInfoType', max: number, min: number, feePercent: number } };
|
||||
|
||||
|
||||
export const GetBoltzInfoDocument = gql`
|
||||
|
@ -9,21 +9,7 @@ export type GetBoltzSwapStatusQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetBoltzSwapStatusQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBoltzSwapStatus: Array<Types.Maybe<(
|
||||
{ __typename?: 'BoltzSwap' }
|
||||
& Pick<Types.BoltzSwap, 'id'>
|
||||
& { boltz?: Types.Maybe<(
|
||||
{ __typename?: 'BoltzSwapStatus' }
|
||||
& Pick<Types.BoltzSwapStatus, 'status'>
|
||||
& { transaction?: Types.Maybe<(
|
||||
{ __typename?: 'BoltzSwapTransaction' }
|
||||
& Pick<Types.BoltzSwapTransaction, 'id' | 'hex' | 'eta'>
|
||||
)> }
|
||||
)> }
|
||||
)>> }
|
||||
);
|
||||
export type GetBoltzSwapStatusQuery = { __typename?: 'Query', getBoltzSwapStatus: Array<Types.Maybe<{ __typename?: 'BoltzSwap', id?: Types.Maybe<string>, boltz?: Types.Maybe<{ __typename?: 'BoltzSwapStatus', status: string, transaction?: Types.Maybe<{ __typename?: 'BoltzSwapTransaction', id?: Types.Maybe<string>, hex?: Types.Maybe<string>, eta?: Types.Maybe<number> }> }> }>> };
|
||||
|
||||
|
||||
export const GetBoltzSwapStatusDocument = gql`
|
||||
|
@ -9,13 +9,7 @@ export type GetBosNodeScoresQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetBosNodeScoresQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBosNodeScores: Array<Types.Maybe<(
|
||||
{ __typename?: 'BosScore' }
|
||||
& Pick<Types.BosScore, 'alias' | 'public_key' | 'score' | 'updated' | 'position'>
|
||||
)>> }
|
||||
);
|
||||
export type GetBosNodeScoresQuery = { __typename?: 'Query', getBosNodeScores: Array<Types.Maybe<{ __typename?: 'BosScore', alias: string, public_key: string, score: number, updated: string, position: number }>> };
|
||||
|
||||
|
||||
export const GetBosNodeScoresDocument = gql`
|
||||
|
@ -7,17 +7,7 @@ const defaultOptions = {}
|
||||
export type GetBosScoresQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetBosScoresQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getBosScores: (
|
||||
{ __typename?: 'BosScoreResponse' }
|
||||
& Pick<Types.BosScoreResponse, 'updated'>
|
||||
& { scores: Array<(
|
||||
{ __typename?: 'BosScore' }
|
||||
& Pick<Types.BosScore, 'alias' | 'public_key' | 'score' | 'updated' | 'position'>
|
||||
)> }
|
||||
) }
|
||||
);
|
||||
export type GetBosScoresQuery = { __typename?: 'Query', getBosScores: { __typename?: 'BosScoreResponse', updated: string, scores: Array<{ __typename?: 'BosScore', alias: string, public_key: string, score: number, updated: string, position: number }> } };
|
||||
|
||||
|
||||
export const GetBosScoresDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetChainTransactionsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetChainTransactionsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getChainTransactions?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'getTransactionsType' }
|
||||
& Pick<Types.GetTransactionsType, 'block_id' | 'confirmation_count' | 'confirmation_height' | 'created_at' | 'fee' | 'id' | 'output_addresses' | 'tokens'>
|
||||
)>>> }
|
||||
);
|
||||
export type GetChainTransactionsQuery = { __typename?: 'Query', getChainTransactions?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'getTransactionsType', block_id?: Types.Maybe<string>, confirmation_count?: Types.Maybe<number>, confirmation_height?: Types.Maybe<number>, created_at: string, fee?: Types.Maybe<number>, id: string, output_addresses: Array<Types.Maybe<string>>, tokens: number }>>> };
|
||||
|
||||
|
||||
export const GetChainTransactionsDocument = gql`
|
||||
|
@ -10,22 +10,7 @@ export type GetChannelQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetChannelQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getChannel: (
|
||||
{ __typename?: 'singleChannelType' }
|
||||
& { partner_node_policies?: Types.Maybe<(
|
||||
{ __typename?: 'nodePolicyType' }
|
||||
& { node?: Types.Maybe<(
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
)> }
|
||||
)> }
|
||||
) }
|
||||
);
|
||||
export type GetChannelQuery = { __typename?: 'Query', getChannel: { __typename?: 'singleChannelType', partner_node_policies?: Types.Maybe<{ __typename?: 'nodePolicyType', node?: Types.Maybe<{ __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } }> }> } };
|
||||
|
||||
|
||||
export const GetChannelDocument = gql`
|
||||
|
@ -7,29 +7,7 @@ const defaultOptions = {}
|
||||
export type ChannelFeesQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type ChannelFeesQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getChannels: Array<Types.Maybe<(
|
||||
{ __typename?: 'channelType' }
|
||||
& Pick<Types.ChannelType, 'id' | 'transaction_id' | 'transaction_vout' | 'partner_public_key'>
|
||||
& { partner_node_info: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias' | 'color'>
|
||||
) }
|
||||
), partner_fee_info?: Types.Maybe<(
|
||||
{ __typename?: 'singleChannelType' }
|
||||
& { node_policies?: Types.Maybe<(
|
||||
{ __typename?: 'nodePolicyType' }
|
||||
& Pick<Types.NodePolicyType, 'base_fee_mtokens' | 'fee_rate' | 'cltv_delta' | 'max_htlc_mtokens' | 'min_htlc_mtokens'>
|
||||
)>, partner_node_policies?: Types.Maybe<(
|
||||
{ __typename?: 'nodePolicyType' }
|
||||
& Pick<Types.NodePolicyType, 'base_fee_mtokens' | 'fee_rate' | 'cltv_delta' | 'max_htlc_mtokens' | 'min_htlc_mtokens'>
|
||||
)> }
|
||||
)> }
|
||||
)>> }
|
||||
);
|
||||
export type ChannelFeesQuery = { __typename?: 'Query', getChannels: Array<Types.Maybe<{ __typename?: 'channelType', id: string, transaction_id: string, transaction_vout: number, partner_public_key: string, partner_node_info: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string, color?: Types.Maybe<string> } }, partner_fee_info?: Types.Maybe<{ __typename?: 'singleChannelType', node_policies?: Types.Maybe<{ __typename?: 'nodePolicyType', base_fee_mtokens?: Types.Maybe<string>, fee_rate?: Types.Maybe<number>, cltv_delta?: Types.Maybe<number>, max_htlc_mtokens?: Types.Maybe<string>, min_htlc_mtokens?: Types.Maybe<string> }>, partner_node_policies?: Types.Maybe<{ __typename?: 'nodePolicyType', base_fee_mtokens?: Types.Maybe<string>, fee_rate?: Types.Maybe<number>, cltv_delta?: Types.Maybe<number>, max_htlc_mtokens?: Types.Maybe<string>, min_htlc_mtokens?: Types.Maybe<string> }> }> }>> };
|
||||
|
||||
|
||||
export const ChannelFeesDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetLiquidReportQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetLiquidReportQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getChannelReport?: Types.Maybe<(
|
||||
{ __typename?: 'channelReportType' }
|
||||
& Pick<Types.ChannelReportType, 'local' | 'remote' | 'maxIn' | 'maxOut' | 'commit' | 'totalPendingHtlc' | 'outgoingPendingHtlc' | 'incomingPendingHtlc'>
|
||||
)> }
|
||||
);
|
||||
export type GetLiquidReportQuery = { __typename?: 'Query', getChannelReport?: Types.Maybe<{ __typename?: 'channelReportType', local?: Types.Maybe<number>, remote?: Types.Maybe<number>, maxIn?: Types.Maybe<number>, maxOut?: Types.Maybe<number>, commit?: Types.Maybe<number>, totalPendingHtlc?: Types.Maybe<number>, outgoingPendingHtlc?: Types.Maybe<number>, incomingPendingHtlc?: Types.Maybe<number> }> };
|
||||
|
||||
|
||||
export const GetLiquidReportDocument = gql`
|
||||
|
@ -9,35 +9,7 @@ export type GetChannelsQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetChannelsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getChannels: Array<Types.Maybe<(
|
||||
{ __typename?: 'channelType' }
|
||||
& Pick<Types.ChannelType, 'capacity' | 'commit_transaction_fee' | 'commit_transaction_weight' | 'id' | 'is_active' | 'is_closing' | 'is_opening' | 'is_partner_initiated' | 'is_private' | 'is_static_remote_key' | 'local_balance' | 'local_reserve' | 'partner_public_key' | 'received' | 'remote_balance' | 'remote_reserve' | 'sent' | 'time_offline' | 'time_online' | 'transaction_id' | 'transaction_vout' | 'unsettled_balance' | 'channel_age'>
|
||||
& { pending_resume: (
|
||||
{ __typename?: 'pendingResumeType' }
|
||||
& Pick<Types.PendingResumeType, 'incoming_tokens' | 'outgoing_tokens' | 'incoming_amount' | 'outgoing_amount' | 'total_tokens' | 'total_amount'>
|
||||
), partner_node_info: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias' | 'capacity' | 'channel_count' | 'color' | 'updated_at'>
|
||||
) }
|
||||
), partner_fee_info?: Types.Maybe<(
|
||||
{ __typename?: 'singleChannelType' }
|
||||
& { node_policies?: Types.Maybe<(
|
||||
{ __typename?: 'nodePolicyType' }
|
||||
& Pick<Types.NodePolicyType, 'base_fee_mtokens' | 'fee_rate' | 'cltv_delta' | 'max_htlc_mtokens' | 'min_htlc_mtokens'>
|
||||
)>, partner_node_policies?: Types.Maybe<(
|
||||
{ __typename?: 'nodePolicyType' }
|
||||
& Pick<Types.NodePolicyType, 'base_fee_mtokens' | 'fee_rate' | 'cltv_delta'>
|
||||
)> }
|
||||
)>, bosScore?: Types.Maybe<(
|
||||
{ __typename?: 'BosScore' }
|
||||
& Pick<Types.BosScore, 'alias' | 'public_key' | 'score' | 'updated' | 'position'>
|
||||
)> }
|
||||
)>> }
|
||||
);
|
||||
export type GetChannelsQuery = { __typename?: 'Query', getChannels: Array<Types.Maybe<{ __typename?: 'channelType', capacity: number, commit_transaction_fee: number, commit_transaction_weight: number, id: string, is_active: boolean, is_closing: boolean, is_opening: boolean, is_partner_initiated: boolean, is_private: boolean, is_static_remote_key?: Types.Maybe<boolean>, local_balance: number, local_reserve: number, partner_public_key: string, received: number, remote_balance: number, remote_reserve: number, sent: number, time_offline?: Types.Maybe<number>, time_online?: Types.Maybe<number>, transaction_id: string, transaction_vout: number, unsettled_balance: number, channel_age: number, pending_resume: { __typename?: 'pendingResumeType', incoming_tokens: number, outgoing_tokens: number, incoming_amount: number, outgoing_amount: number, total_tokens: number, total_amount: number }, partner_node_info: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string, capacity?: Types.Maybe<string>, channel_count?: Types.Maybe<number>, color?: Types.Maybe<string>, updated_at?: Types.Maybe<string> } }, partner_fee_info?: Types.Maybe<{ __typename?: 'singleChannelType', node_policies?: Types.Maybe<{ __typename?: 'nodePolicyType', base_fee_mtokens?: Types.Maybe<string>, fee_rate?: Types.Maybe<number>, cltv_delta?: Types.Maybe<number>, max_htlc_mtokens?: Types.Maybe<string>, min_htlc_mtokens?: Types.Maybe<string> }>, partner_node_policies?: Types.Maybe<{ __typename?: 'nodePolicyType', base_fee_mtokens?: Types.Maybe<string>, fee_rate?: Types.Maybe<number>, cltv_delta?: Types.Maybe<number> }> }>, bosScore?: Types.Maybe<{ __typename?: 'BosScore', alias: string, public_key: string, score: number, updated: string, position: number }> }>> };
|
||||
|
||||
|
||||
export const GetChannelsDocument = gql`
|
||||
|
@ -7,20 +7,7 @@ const defaultOptions = {}
|
||||
export type GetClosedChannelsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetClosedChannelsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getClosedChannels?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'closedChannelType' }
|
||||
& Pick<Types.ClosedChannelType, 'capacity' | 'close_confirm_height' | 'close_transaction_id' | 'final_local_balance' | 'final_time_locked_balance' | 'id' | 'is_breach_close' | 'is_cooperative_close' | 'is_funding_cancel' | 'is_local_force_close' | 'is_remote_force_close' | 'partner_public_key' | 'transaction_id' | 'transaction_vout' | 'channel_age'>
|
||||
& { partner_node_info: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias' | 'capacity' | 'channel_count' | 'color' | 'updated_at'>
|
||||
) }
|
||||
) }
|
||||
)>>> }
|
||||
);
|
||||
export type GetClosedChannelsQuery = { __typename?: 'Query', getClosedChannels?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'closedChannelType', capacity: number, close_confirm_height?: Types.Maybe<number>, close_transaction_id?: Types.Maybe<string>, final_local_balance: number, final_time_locked_balance: number, id?: Types.Maybe<string>, is_breach_close: boolean, is_cooperative_close: boolean, is_funding_cancel: boolean, is_local_force_close: boolean, is_remote_force_close: boolean, partner_public_key: string, transaction_id: string, transaction_vout: number, channel_age: number, partner_node_info: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string, capacity?: Types.Maybe<string>, channel_count?: Types.Maybe<number>, color?: Types.Maybe<string>, updated_at?: Types.Maybe<string> } } }>>> };
|
||||
|
||||
|
||||
export const GetClosedChannelsDocument = gql`
|
||||
|
@ -7,30 +7,7 @@ const defaultOptions = {}
|
||||
export type GetFeeHealthQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetFeeHealthQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getFeeHealth?: Types.Maybe<(
|
||||
{ __typename?: 'channelsFeeHealth' }
|
||||
& Pick<Types.ChannelsFeeHealth, 'score'>
|
||||
& { channels?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'channelFeeHealth' }
|
||||
& Pick<Types.ChannelFeeHealth, 'id'>
|
||||
& { partnerSide?: Types.Maybe<(
|
||||
{ __typename?: 'feeHealth' }
|
||||
& Pick<Types.FeeHealth, 'score' | 'rate' | 'base' | 'rateScore' | 'baseScore' | 'rateOver' | 'baseOver'>
|
||||
)>, mySide?: Types.Maybe<(
|
||||
{ __typename?: 'feeHealth' }
|
||||
& Pick<Types.FeeHealth, 'score' | 'rate' | 'base' | 'rateScore' | 'baseScore' | 'rateOver' | 'baseOver'>
|
||||
)>, partner?: Types.Maybe<(
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
)> }
|
||||
)>>> }
|
||||
)> }
|
||||
);
|
||||
export type GetFeeHealthQuery = { __typename?: 'Query', getFeeHealth?: Types.Maybe<{ __typename?: 'channelsFeeHealth', score?: Types.Maybe<number>, channels?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'channelFeeHealth', id?: Types.Maybe<string>, partnerSide?: Types.Maybe<{ __typename?: 'feeHealth', score?: Types.Maybe<number>, rate?: Types.Maybe<number>, base?: Types.Maybe<string>, rateScore?: Types.Maybe<number>, baseScore?: Types.Maybe<number>, rateOver?: Types.Maybe<boolean>, baseOver?: Types.Maybe<boolean> }>, mySide?: Types.Maybe<{ __typename?: 'feeHealth', score?: Types.Maybe<number>, rate?: Types.Maybe<number>, base?: Types.Maybe<string>, rateScore?: Types.Maybe<number>, baseScore?: Types.Maybe<number>, rateOver?: Types.Maybe<boolean>, baseOver?: Types.Maybe<boolean> }>, partner?: Types.Maybe<{ __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } }> }>>> }> };
|
||||
|
||||
|
||||
export const GetFeeHealthDocument = gql`
|
||||
|
@ -9,13 +9,7 @@ export type GetForwardsQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetForwardsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getForwards: Array<Types.Maybe<(
|
||||
{ __typename?: 'Forward' }
|
||||
& Pick<Types.Forward, 'created_at' | 'fee' | 'fee_mtokens' | 'incoming_channel' | 'mtokens' | 'outgoing_channel' | 'tokens'>
|
||||
)>> }
|
||||
);
|
||||
export type GetForwardsQuery = { __typename?: 'Query', getForwards: Array<Types.Maybe<{ __typename?: 'Forward', created_at: string, fee: number, fee_mtokens: string, incoming_channel: string, mtokens: string, outgoing_channel: string, tokens: number }>> };
|
||||
|
||||
|
||||
export const GetForwardsDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type GetInvoiceStatusChangeQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetInvoiceStatusChangeQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getInvoiceStatusChange'>
|
||||
);
|
||||
export type GetInvoiceStatusChangeQuery = { __typename?: 'Query', getInvoiceStatusChange?: Types.Maybe<string> };
|
||||
|
||||
|
||||
export const GetInvoiceStatusChangeDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type GetLatestVersionQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetLatestVersionQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getLatestVersion'>
|
||||
);
|
||||
export type GetLatestVersionQuery = { __typename?: 'Query', getLatestVersion?: Types.Maybe<string> };
|
||||
|
||||
|
||||
export const GetLatestVersionDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type GetLnMarketsStatusQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetLnMarketsStatusQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getLnMarketsStatus'>
|
||||
);
|
||||
export type GetLnMarketsStatusQuery = { __typename?: 'Query', getLnMarketsStatus: string };
|
||||
|
||||
|
||||
export const GetLnMarketsStatusDocument = gql`
|
||||
|
@ -7,10 +7,7 @@ const defaultOptions = {}
|
||||
export type GetLnMarketsUrlQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetLnMarketsUrlQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getLnMarketsUrl'>
|
||||
);
|
||||
export type GetLnMarketsUrlQuery = { __typename?: 'Query', getLnMarketsUrl: string };
|
||||
|
||||
|
||||
export const GetLnMarketsUrlDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetLnMarketsUserInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetLnMarketsUserInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getLnMarketsUserInfo?: Types.Maybe<(
|
||||
{ __typename?: 'LnMarketsUserInfo' }
|
||||
& Pick<Types.LnMarketsUserInfo, 'uid' | 'balance' | 'account_type' | 'username' | 'linkingpublickey' | 'last_ip'>
|
||||
)> }
|
||||
);
|
||||
export type GetLnMarketsUserInfoQuery = { __typename?: 'Query', getLnMarketsUserInfo?: Types.Maybe<{ __typename?: 'LnMarketsUserInfo', uid?: Types.Maybe<string>, balance?: Types.Maybe<string>, account_type?: Types.Maybe<string>, username?: Types.Maybe<string>, linkingpublickey?: Types.Maybe<string>, last_ip?: Types.Maybe<string> }> };
|
||||
|
||||
|
||||
export const GetLnMarketsUserInfoDocument = gql`
|
||||
|
@ -10,17 +10,7 @@ export type GetMessagesQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetMessagesQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getMessages?: Types.Maybe<(
|
||||
{ __typename?: 'getMessagesType' }
|
||||
& Pick<Types.GetMessagesType, 'token'>
|
||||
& { messages: Array<Types.Maybe<(
|
||||
{ __typename?: 'messagesType' }
|
||||
& Pick<Types.MessagesType, 'date' | 'contentType' | 'alias' | 'message' | 'id' | 'sender' | 'verified' | 'tokens'>
|
||||
)>> }
|
||||
)> }
|
||||
);
|
||||
export type GetMessagesQuery = { __typename?: 'Query', getMessages?: Types.Maybe<{ __typename?: 'getMessagesType', token?: Types.Maybe<string>, messages: Array<Types.Maybe<{ __typename?: 'messagesType', date: string, contentType?: Types.Maybe<string>, alias?: Types.Maybe<string>, message?: Types.Maybe<string>, id: string, sender?: Types.Maybe<string>, verified: boolean, tokens?: Types.Maybe<number> }>> }> };
|
||||
|
||||
|
||||
export const GetMessagesDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetNetworkInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetNetworkInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getNetworkInfo?: Types.Maybe<(
|
||||
{ __typename?: 'networkInfoType' }
|
||||
& Pick<Types.NetworkInfoType, 'averageChannelSize' | 'channelCount' | 'maxChannelSize' | 'medianChannelSize' | 'minChannelSize' | 'nodeCount' | 'notRecentlyUpdatedPolicyCount' | 'totalCapacity'>
|
||||
)> }
|
||||
);
|
||||
export type GetNetworkInfoQuery = { __typename?: 'Query', getNetworkInfo?: Types.Maybe<{ __typename?: 'networkInfoType', averageChannelSize?: Types.Maybe<string>, channelCount?: Types.Maybe<number>, maxChannelSize?: Types.Maybe<number>, medianChannelSize?: Types.Maybe<number>, minChannelSize?: Types.Maybe<number>, nodeCount?: Types.Maybe<number>, notRecentlyUpdatedPolicyCount?: Types.Maybe<number>, totalCapacity?: Types.Maybe<string> }> };
|
||||
|
||||
|
||||
export const GetNetworkInfoDocument = gql`
|
||||
|
@ -10,16 +10,7 @@ export type GetNodeQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetNodeQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getNode: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias' | 'capacity' | 'channel_count' | 'color' | 'updated_at'>
|
||||
) }
|
||||
) }
|
||||
);
|
||||
export type GetNodeQuery = { __typename?: 'Query', getNode: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string, capacity?: Types.Maybe<string>, channel_count?: Types.Maybe<number>, color?: Types.Maybe<string>, updated_at?: Types.Maybe<string> } } };
|
||||
|
||||
|
||||
export const GetNodeDocument = gql`
|
||||
|
@ -7,50 +7,22 @@ const defaultOptions = {}
|
||||
export type GetCanConnectQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetCanConnectQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getNodeInfo?: Types.Maybe<(
|
||||
{ __typename?: 'nodeInfoType' }
|
||||
& Pick<Types.NodeInfoType, 'chains' | 'color' | 'active_channels_count' | 'closed_channels_count' | 'alias' | 'is_synced_to_chain' | 'peers_count' | 'pending_channels_count' | 'version'>
|
||||
)> }
|
||||
);
|
||||
export type GetCanConnectQuery = { __typename?: 'Query', getNodeInfo?: Types.Maybe<{ __typename?: 'nodeInfoType', chains: Array<string>, color: string, active_channels_count: number, closed_channels_count: number, alias: string, is_synced_to_chain: boolean, peers_count: number, pending_channels_count: number, version: string }> };
|
||||
|
||||
export type GetNodeInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetNodeInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'getChainBalance' | 'getPendingChainBalance'>
|
||||
& { getNodeInfo?: Types.Maybe<(
|
||||
{ __typename?: 'nodeInfoType' }
|
||||
& Pick<Types.NodeInfoType, 'chains' | 'color' | 'active_channels_count' | 'closed_channels_count' | 'alias' | 'is_synced_to_chain' | 'peers_count' | 'pending_channels_count' | 'version' | 'public_key'>
|
||||
)>, getChannelBalance?: Types.Maybe<(
|
||||
{ __typename?: 'channelBalanceType' }
|
||||
& Pick<Types.ChannelBalanceType, 'confirmedBalance' | 'pendingBalance'>
|
||||
)> }
|
||||
);
|
||||
export type GetNodeInfoQuery = { __typename?: 'Query', getChainBalance: string, getPendingChainBalance: string, getNodeInfo?: Types.Maybe<{ __typename?: 'nodeInfoType', chains: Array<string>, color: string, active_channels_count: number, closed_channels_count: number, alias: string, is_synced_to_chain: boolean, peers_count: number, pending_channels_count: number, version: string, public_key: string }>, getChannelBalance?: Types.Maybe<{ __typename?: 'channelBalanceType', confirmedBalance: number, pendingBalance: number }> };
|
||||
|
||||
export type GetChannelAmountInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetChannelAmountInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getNodeInfo?: Types.Maybe<(
|
||||
{ __typename?: 'nodeInfoType' }
|
||||
& Pick<Types.NodeInfoType, 'active_channels_count' | 'closed_channels_count' | 'pending_channels_count'>
|
||||
)> }
|
||||
);
|
||||
export type GetChannelAmountInfoQuery = { __typename?: 'Query', getNodeInfo?: Types.Maybe<{ __typename?: 'nodeInfoType', active_channels_count: number, closed_channels_count: number, pending_channels_count: number }> };
|
||||
|
||||
export type GetCanConnectInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetCanConnectInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getNodeInfo?: Types.Maybe<(
|
||||
{ __typename?: 'nodeInfoType' }
|
||||
& Pick<Types.NodeInfoType, 'alias' | 'public_key' | 'uris'>
|
||||
)> }
|
||||
);
|
||||
export type GetCanConnectInfoQuery = { __typename?: 'Query', getNodeInfo?: Types.Maybe<{ __typename?: 'nodeInfoType', alias: string, public_key: string, uris: Array<string> }> };
|
||||
|
||||
|
||||
export const GetCanConnectDocument = gql`
|
||||
|
@ -7,20 +7,7 @@ const defaultOptions = {}
|
||||
export type GetPeersQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetPeersQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getPeers?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'peerType' }
|
||||
& Pick<Types.PeerType, 'bytes_received' | 'bytes_sent' | 'is_inbound' | 'is_sync_peer' | 'ping_time' | 'public_key' | 'socket' | 'tokens_received' | 'tokens_sent'>
|
||||
& { partner_node_info: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias' | 'capacity' | 'channel_count' | 'color' | 'updated_at'>
|
||||
) }
|
||||
) }
|
||||
)>>> }
|
||||
);
|
||||
export type GetPeersQuery = { __typename?: 'Query', getPeers?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'peerType', bytes_received: number, bytes_sent: number, is_inbound: boolean, is_sync_peer?: Types.Maybe<boolean>, ping_time: number, public_key: string, socket: string, tokens_received: number, tokens_sent: number, partner_node_info: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string, capacity?: Types.Maybe<string>, channel_count?: Types.Maybe<number>, color?: Types.Maybe<string>, updated_at?: Types.Maybe<string> } } }>>> };
|
||||
|
||||
|
||||
export const GetPeersDocument = gql`
|
||||
|
@ -7,20 +7,7 @@ const defaultOptions = {}
|
||||
export type GetPendingChannelsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetPendingChannelsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getPendingChannels?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'pendingChannelType' }
|
||||
& Pick<Types.PendingChannelType, 'close_transaction_id' | 'is_active' | 'is_closing' | 'is_opening' | 'local_balance' | 'local_reserve' | 'partner_public_key' | 'received' | 'remote_balance' | 'remote_reserve' | 'sent' | 'transaction_fee' | 'transaction_id' | 'transaction_vout'>
|
||||
& { partner_node_info: (
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias' | 'capacity' | 'channel_count' | 'color' | 'updated_at'>
|
||||
) }
|
||||
) }
|
||||
)>>> }
|
||||
);
|
||||
export type GetPendingChannelsQuery = { __typename?: 'Query', getPendingChannels?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'pendingChannelType', close_transaction_id?: Types.Maybe<string>, is_active: boolean, is_closing: boolean, is_opening: boolean, local_balance: number, local_reserve: number, partner_public_key: string, received: number, remote_balance: number, remote_reserve: number, sent: number, transaction_fee?: Types.Maybe<number>, transaction_id: string, transaction_vout: number, partner_node_info: { __typename?: 'Node', node: { __typename?: 'nodeType', alias: string, capacity?: Types.Maybe<string>, channel_count?: Types.Maybe<number>, color?: Types.Maybe<string>, updated_at?: Types.Maybe<string> } } }>>> };
|
||||
|
||||
|
||||
export const GetPendingChannelsDocument = gql`
|
||||
|
@ -10,41 +10,7 @@ export type GetResumeQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetResumeQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getResume: (
|
||||
{ __typename?: 'getResumeType' }
|
||||
& Pick<Types.GetResumeType, 'offset'>
|
||||
& { resume: Array<Types.Maybe<(
|
||||
{ __typename?: 'InvoiceType' }
|
||||
& Pick<Types.InvoiceType, 'chain_address' | 'confirmed_at' | 'created_at' | 'description' | 'description_hash' | 'expires_at' | 'id' | 'is_canceled' | 'is_confirmed' | 'is_held' | 'is_private' | 'is_push' | 'received' | 'received_mtokens' | 'request' | 'secret' | 'tokens' | 'type' | 'date'>
|
||||
& { payments: Array<Types.Maybe<(
|
||||
{ __typename?: 'InvoicePayment' }
|
||||
& Pick<Types.InvoicePayment, 'in_channel'>
|
||||
& { messages?: Types.Maybe<(
|
||||
{ __typename?: 'MessageType' }
|
||||
& Pick<Types.MessageType, 'message'>
|
||||
)> }
|
||||
)>> }
|
||||
) | (
|
||||
{ __typename?: 'PaymentType' }
|
||||
& Pick<Types.PaymentType, 'created_at' | 'destination' | 'fee' | 'fee_mtokens' | 'id' | 'index' | 'is_confirmed' | 'is_outgoing' | 'mtokens' | 'request' | 'safe_fee' | 'safe_tokens' | 'secret' | 'tokens' | 'type' | 'date'>
|
||||
& { destination_node?: Types.Maybe<(
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
)>, hops: Array<(
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias' | 'public_key'>
|
||||
) }
|
||||
)> }
|
||||
)>> }
|
||||
) }
|
||||
);
|
||||
export type GetResumeQuery = { __typename?: 'Query', getResume: { __typename?: 'getResumeType', offset?: Types.Maybe<number>, resume: Array<Types.Maybe<{ __typename?: 'InvoiceType', chain_address?: Types.Maybe<string>, confirmed_at?: Types.Maybe<string>, created_at: string, description: string, description_hash?: Types.Maybe<string>, expires_at: string, id: string, is_canceled?: Types.Maybe<boolean>, is_confirmed: boolean, is_held?: Types.Maybe<boolean>, is_private: boolean, is_push?: Types.Maybe<boolean>, received: number, received_mtokens: string, request?: Types.Maybe<string>, secret: string, tokens: string, type: string, date: string, payments: Array<Types.Maybe<{ __typename?: 'InvoicePayment', in_channel: string, messages?: Types.Maybe<{ __typename?: 'MessageType', message?: Types.Maybe<string> }> }>> } | { __typename?: 'PaymentType', created_at: string, destination: string, fee: number, fee_mtokens: string, id: string, index?: Types.Maybe<number>, is_confirmed: boolean, is_outgoing: boolean, mtokens: string, request?: Types.Maybe<string>, safe_fee: number, safe_tokens?: Types.Maybe<number>, secret: string, tokens: string, type: string, date: string, destination_node?: Types.Maybe<{ __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } }>, hops: Array<{ __typename?: 'Node', node: { __typename?: 'nodeType', alias: string, public_key?: Types.Maybe<string> } }> }>> } };
|
||||
|
||||
|
||||
export const GetResumeDocument = gql`
|
||||
|
@ -12,17 +12,7 @@ export type GetRoutesQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type GetRoutesQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getRoutes?: Types.Maybe<(
|
||||
{ __typename?: 'GetRouteType' }
|
||||
& Pick<Types.GetRouteType, 'confidence' | 'fee' | 'fee_mtokens' | 'mtokens' | 'safe_fee' | 'safe_tokens' | 'timeout' | 'tokens'>
|
||||
& { hops: Array<(
|
||||
{ __typename?: 'RouteHopType' }
|
||||
& Pick<Types.RouteHopType, 'channel' | 'channel_capacity' | 'fee' | 'fee_mtokens' | 'forward' | 'forward_mtokens' | 'public_key' | 'timeout'>
|
||||
)> }
|
||||
)> }
|
||||
);
|
||||
export type GetRoutesQuery = { __typename?: 'Query', getRoutes?: Types.Maybe<{ __typename?: 'GetRouteType', confidence?: Types.Maybe<number>, fee: number, fee_mtokens: string, mtokens: string, safe_fee: number, safe_tokens: number, timeout: number, tokens: number, hops: Array<{ __typename?: 'RouteHopType', channel: string, channel_capacity: number, fee: number, fee_mtokens: string, forward: number, forward_mtokens: string, public_key: string, timeout: number }> }> };
|
||||
|
||||
|
||||
export const GetRoutesDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetServerAccountsQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetServerAccountsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getServerAccounts?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'serverAccountType' }
|
||||
& Pick<Types.ServerAccountType, 'name' | 'id' | 'loggedIn' | 'type'>
|
||||
)>>> }
|
||||
);
|
||||
export type GetServerAccountsQuery = { __typename?: 'Query', getServerAccounts?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'serverAccountType', name: string, id: string, loggedIn: boolean, type: string }>>> };
|
||||
|
||||
|
||||
export const GetServerAccountsDocument = gql`
|
||||
|
@ -7,24 +7,7 @@ const defaultOptions = {}
|
||||
export type GetTimeHealthQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetTimeHealthQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getTimeHealth?: Types.Maybe<(
|
||||
{ __typename?: 'channelsTimeHealth' }
|
||||
& Pick<Types.ChannelsTimeHealth, 'score'>
|
||||
& { channels?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'channelTimeHealth' }
|
||||
& Pick<Types.ChannelTimeHealth, 'id' | 'score' | 'significant' | 'monitoredTime' | 'monitoredUptime' | 'monitoredDowntime'>
|
||||
& { partner?: Types.Maybe<(
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
)> }
|
||||
)>>> }
|
||||
)> }
|
||||
);
|
||||
export type GetTimeHealthQuery = { __typename?: 'Query', getTimeHealth?: Types.Maybe<{ __typename?: 'channelsTimeHealth', score?: Types.Maybe<number>, channels?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'channelTimeHealth', id?: Types.Maybe<string>, score?: Types.Maybe<number>, significant?: Types.Maybe<boolean>, monitoredTime?: Types.Maybe<number>, monitoredUptime?: Types.Maybe<number>, monitoredDowntime?: Types.Maybe<number>, partner?: Types.Maybe<{ __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } }> }>>> }> };
|
||||
|
||||
|
||||
export const GetTimeHealthDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetUtxosQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetUtxosQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getUtxos?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'getUtxosType' }
|
||||
& Pick<Types.GetUtxosType, 'address' | 'address_format' | 'confirmation_count' | 'output_script' | 'tokens' | 'transaction_id' | 'transaction_vout'>
|
||||
)>>> }
|
||||
);
|
||||
export type GetUtxosQuery = { __typename?: 'Query', getUtxos?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'getUtxosType', address: string, address_format: string, confirmation_count: number, output_script: string, tokens: number, transaction_id: string, transaction_vout: number }>>> };
|
||||
|
||||
|
||||
export const GetUtxosDocument = gql`
|
||||
|
@ -7,24 +7,7 @@ const defaultOptions = {}
|
||||
export type GetVolumeHealthQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetVolumeHealthQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getVolumeHealth?: Types.Maybe<(
|
||||
{ __typename?: 'channelsHealth' }
|
||||
& Pick<Types.ChannelsHealth, 'score'>
|
||||
& { channels?: Types.Maybe<Array<Types.Maybe<(
|
||||
{ __typename?: 'channelHealth' }
|
||||
& Pick<Types.ChannelHealth, 'id' | 'score' | 'volumeNormalized' | 'averageVolumeNormalized'>
|
||||
& { partner?: Types.Maybe<(
|
||||
{ __typename?: 'Node' }
|
||||
& { node: (
|
||||
{ __typename?: 'nodeType' }
|
||||
& Pick<Types.NodeType, 'alias'>
|
||||
) }
|
||||
)> }
|
||||
)>>> }
|
||||
)> }
|
||||
);
|
||||
export type GetVolumeHealthQuery = { __typename?: 'Query', getVolumeHealth?: Types.Maybe<{ __typename?: 'channelsHealth', score?: Types.Maybe<number>, channels?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'channelHealth', id?: Types.Maybe<string>, score?: Types.Maybe<number>, volumeNormalized?: Types.Maybe<string>, averageVolumeNormalized?: Types.Maybe<string>, partner?: Types.Maybe<{ __typename?: 'Node', node: { __typename?: 'nodeType', alias: string } }> }>>> }> };
|
||||
|
||||
|
||||
export const GetVolumeHealthDocument = gql`
|
||||
|
@ -7,13 +7,7 @@ const defaultOptions = {}
|
||||
export type GetWalletInfoQueryVariables = Types.Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetWalletInfoQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& { getWalletInfo?: Types.Maybe<(
|
||||
{ __typename?: 'walletInfoType' }
|
||||
& Pick<Types.WalletInfoType, 'build_tags' | 'commit_hash' | 'is_autopilotrpc_enabled' | 'is_chainrpc_enabled' | 'is_invoicesrpc_enabled' | 'is_signrpc_enabled' | 'is_walletrpc_enabled' | 'is_watchtowerrpc_enabled' | 'is_wtclientrpc_enabled'>
|
||||
)> }
|
||||
);
|
||||
export type GetWalletInfoQuery = { __typename?: 'Query', getWalletInfo?: Types.Maybe<{ __typename?: 'walletInfoType', build_tags: Array<string>, commit_hash: string, is_autopilotrpc_enabled: boolean, is_chainrpc_enabled: boolean, is_invoicesrpc_enabled: boolean, is_signrpc_enabled: boolean, is_walletrpc_enabled: boolean, is_watchtowerrpc_enabled: boolean, is_wtclientrpc_enabled: boolean }> };
|
||||
|
||||
|
||||
export const GetWalletInfoDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type RecoverFundsQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type RecoverFundsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'recoverFunds'>
|
||||
);
|
||||
export type RecoverFundsQuery = { __typename?: 'Query', recoverFunds?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const RecoverFundsDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type SignMessageQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type SignMessageQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'signMessage'>
|
||||
);
|
||||
export type SignMessageQuery = { __typename?: 'Query', signMessage?: Types.Maybe<string> };
|
||||
|
||||
|
||||
export const SignMessageDocument = gql`
|
||||
|
@ -9,10 +9,7 @@ export type VerifyBackupsQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type VerifyBackupsQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'verifyBackups'>
|
||||
);
|
||||
export type VerifyBackupsQuery = { __typename?: 'Query', verifyBackups?: Types.Maybe<boolean> };
|
||||
|
||||
|
||||
export const VerifyBackupsDocument = gql`
|
||||
|
@ -10,10 +10,7 @@ export type VerifyMessageQueryVariables = Types.Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type VerifyMessageQuery = (
|
||||
{ __typename?: 'Query' }
|
||||
& Pick<Types.Query, 'verifyMessage'>
|
||||
);
|
||||
export type VerifyMessageQuery = { __typename?: 'Query', verifyMessage?: Types.Maybe<string> };
|
||||
|
||||
|
||||
export const VerifyMessageDocument = gql`
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user