From daaf074908cee01c543d37ad62cb5ec87cf5c12c Mon Sep 17 00:00:00 2001 From: broody Date: Mon, 21 Oct 2024 10:04:09 -1000 Subject: [PATCH] format --- .../src/components/Funding/Balance.tsx | 10 +- packages/keychain/src/generated/graphql.ts | 2492 +++++++++-------- .../keychain/src/generated/introspection.ts | 32 +- 3 files changed, 1324 insertions(+), 1210 deletions(-) diff --git a/packages/keychain/src/components/Funding/Balance.tsx b/packages/keychain/src/components/Funding/Balance.tsx index 3f7a6c5bf..85726791f 100644 --- a/packages/keychain/src/components/Funding/Balance.tsx +++ b/packages/keychain/src/components/Funding/Balance.tsx @@ -20,7 +20,7 @@ function formatTokenBalance(balance: bigint): string { } function formatUsdBalance(balance: bigint, price: number) { - return parseFloat(formatEther(balance)) * price + return parseFloat(formatEther(balance)) * price; } export function Balance({ showBalances }: BalanceProps) { @@ -58,7 +58,9 @@ export function Balance({ showBalances }: BalanceProps) { {formatTokenBalance(creditsBalance)} - ${formatUsdBalance(creditsBalance, 1).toFixed(2)} + + ${formatUsdBalance(creditsBalance, 1).toFixed(2)} + @@ -80,7 +82,9 @@ export function Balance({ showBalances }: BalanceProps) { {formatTokenBalance(ethBalance)} - ${formatUsdBalance(ethBalance, price).toFixed(2)} + + ${formatUsdBalance(ethBalance, price).toFixed(2)} + diff --git a/packages/keychain/src/generated/graphql.ts b/packages/keychain/src/generated/graphql.ts index 3fbcd36f0..f444d5e40 100644 --- a/packages/keychain/src/generated/graphql.ts +++ b/packages/keychain/src/generated/graphql.ts @@ -1,10 +1,24 @@ -import { useQuery, useInfiniteQuery, useMutation, UseQueryOptions, UseInfiniteQueryOptions, UseMutationOptions, QueryFunctionContext } from 'react-query'; -import { useFetchData } from 'hooks/fetcher'; +import { + useQuery, + useInfiniteQuery, + useMutation, + UseQueryOptions, + UseInfiniteQueryOptions, + UseMutationOptions, + QueryFunctionContext, +} from "react-query"; +import { useFetchData } from "hooks/fetcher"; export type Maybe = T | null; export type InputMaybe = Maybe; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type Exact = { + [K in keyof T]: T[K]; +}; +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe; +}; +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe; +}; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; @@ -23,52 +37,50 @@ export type Scalars = { }; export type Account = Node & { - __typename?: 'Account'; + __typename?: "Account"; controllers?: Maybe>; - createdAt: Scalars['Time']; + createdAt: Scalars["Time"]; credentials: Credentials; - credits: Scalars['BigInt']; - id: Scalars['ID']; + credits: Scalars["BigInt"]; + id: Scalars["ID"]; membership: AccountTeamConnection; - name?: Maybe; + name?: Maybe; teams: TeamConnection; - updatedAt: Scalars['Time']; + updatedAt: Scalars["Time"]; }; - export type AccountMembershipArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; where?: InputMaybe; }; - export type AccountTeamsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; where?: InputMaybe; }; /** A connection to a list of items. */ export type AccountConnection = { - __typename?: 'AccountConnection'; + __typename?: "AccountConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type AccountEdge = { - __typename?: 'AccountEdge'; + __typename?: "AccountEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; @@ -83,42 +95,42 @@ export type AccountOrder = { /** Properties by which Account connections can be ordered. */ export enum AccountOrderField { - CreatedAt = 'CREATED_AT' + CreatedAt = "CREATED_AT", } export type AccountTeam = Node & { - __typename?: 'AccountTeam'; + __typename?: "AccountTeam"; account: Account; - accountID: Scalars['ID']; - id: Scalars['ID']; + accountID: Scalars["ID"]; + id: Scalars["ID"]; role: AccountTeamRole; team: Team; - teamID: Scalars['ID']; + teamID: Scalars["ID"]; }; /** A connection to a list of items. */ export type AccountTeamConnection = { - __typename?: 'AccountTeamConnection'; + __typename?: "AccountTeamConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type AccountTeamEdge = { - __typename?: 'AccountTeamEdge'; + __typename?: "AccountTeamEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; /** AccountTeamRole is enum for the field role */ export enum AccountTeamRole { - Owner = 'owner' + Owner = "owner", } /** @@ -128,14 +140,14 @@ export enum AccountTeamRole { export type AccountTeamWhereInput = { and?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; /** role field predicates */ @@ -152,71 +164,71 @@ export type AccountTeamWhereInput = { export type AccountWhereInput = { and?: InputMaybe>; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** controllers edge predicates */ - hasControllers?: InputMaybe; + hasControllers?: InputMaybe; hasControllersWith?: InputMaybe>; /** membership edge predicates */ - hasMembership?: InputMaybe; + hasMembership?: InputMaybe; hasMembershipWith?: InputMaybe>; /** teams edge predicates */ - hasTeams?: InputMaybe; + hasTeams?: InputMaybe; hasTeamsWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; /** name field predicates */ - name?: InputMaybe; - nameContains?: InputMaybe; - nameContainsFold?: InputMaybe; - nameEqualFold?: InputMaybe; - nameGT?: InputMaybe; - nameGTE?: InputMaybe; - nameHasPrefix?: InputMaybe; - nameHasSuffix?: InputMaybe; - nameIn?: InputMaybe>; - nameIsNil?: InputMaybe; - nameLT?: InputMaybe; - nameLTE?: InputMaybe; - nameNEQ?: InputMaybe; - nameNotIn?: InputMaybe>; - nameNotNil?: InputMaybe; + name?: InputMaybe; + nameContains?: InputMaybe; + nameContainsFold?: InputMaybe; + nameEqualFold?: InputMaybe; + nameGT?: InputMaybe; + nameGTE?: InputMaybe; + nameHasPrefix?: InputMaybe; + nameHasSuffix?: InputMaybe; + nameIn?: InputMaybe>; + nameIsNil?: InputMaybe; + nameLT?: InputMaybe; + nameLTE?: InputMaybe; + nameNEQ?: InputMaybe; + nameNotIn?: InputMaybe>; + nameNotNil?: InputMaybe; not?: InputMaybe; or?: InputMaybe>; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; }; export type Controller = Node & { - __typename?: 'Controller'; + __typename?: "Controller"; account: Account; - accountID: Scalars['ID']; - address: Scalars['String']; - createdAt: Scalars['Time']; - id: Scalars['ID']; - network: Scalars['String']; + accountID: Scalars["ID"]; + address: Scalars["String"]; + createdAt: Scalars["Time"]; + id: Scalars["ID"]; + network: Scalars["String"]; signers?: Maybe>; - updatedAt: Scalars['Time']; + updatedAt: Scalars["Time"]; }; /** Ordering options for Controller connections */ @@ -229,7 +241,7 @@ export type ControllerOrder = { /** Properties by which Controller connections can be ordered. */ export enum ControllerOrderField { - CreatedAt = 'CREATED_AT' + CreatedAt = "CREATED_AT", } /** @@ -238,113 +250,113 @@ export enum ControllerOrderField { */ export type ControllerWhereInput = { /** account_id field predicates */ - accountID?: InputMaybe; - accountIDContains?: InputMaybe; - accountIDContainsFold?: InputMaybe; - accountIDEqualFold?: InputMaybe; - accountIDGT?: InputMaybe; - accountIDGTE?: InputMaybe; - accountIDHasPrefix?: InputMaybe; - accountIDHasSuffix?: InputMaybe; - accountIDIn?: InputMaybe>; - accountIDLT?: InputMaybe; - accountIDLTE?: InputMaybe; - accountIDNEQ?: InputMaybe; - accountIDNotIn?: InputMaybe>; + accountID?: InputMaybe; + accountIDContains?: InputMaybe; + accountIDContainsFold?: InputMaybe; + accountIDEqualFold?: InputMaybe; + accountIDGT?: InputMaybe; + accountIDGTE?: InputMaybe; + accountIDHasPrefix?: InputMaybe; + accountIDHasSuffix?: InputMaybe; + accountIDIn?: InputMaybe>; + accountIDLT?: InputMaybe; + accountIDLTE?: InputMaybe; + accountIDNEQ?: InputMaybe; + accountIDNotIn?: InputMaybe>; /** address field predicates */ - address?: InputMaybe; - addressContains?: InputMaybe; - addressContainsFold?: InputMaybe; - addressEqualFold?: InputMaybe; - addressGT?: InputMaybe; - addressGTE?: InputMaybe; - addressHasPrefix?: InputMaybe; - addressHasSuffix?: InputMaybe; - addressIn?: InputMaybe>; - addressLT?: InputMaybe; - addressLTE?: InputMaybe; - addressNEQ?: InputMaybe; - addressNotIn?: InputMaybe>; + address?: InputMaybe; + addressContains?: InputMaybe; + addressContainsFold?: InputMaybe; + addressEqualFold?: InputMaybe; + addressGT?: InputMaybe; + addressGTE?: InputMaybe; + addressHasPrefix?: InputMaybe; + addressHasSuffix?: InputMaybe; + addressIn?: InputMaybe>; + addressLT?: InputMaybe; + addressLTE?: InputMaybe; + addressNEQ?: InputMaybe; + addressNotIn?: InputMaybe>; and?: InputMaybe>; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** account edge predicates */ - hasAccount?: InputMaybe; + hasAccount?: InputMaybe; hasAccountWith?: InputMaybe>; /** signers edge predicates */ - hasSigners?: InputMaybe; + hasSigners?: InputMaybe; hasSignersWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; /** network field predicates */ - network?: InputMaybe; - networkContains?: InputMaybe; - networkContainsFold?: InputMaybe; - networkEqualFold?: InputMaybe; - networkGT?: InputMaybe; - networkGTE?: InputMaybe; - networkHasPrefix?: InputMaybe; - networkHasSuffix?: InputMaybe; - networkIn?: InputMaybe>; - networkLT?: InputMaybe; - networkLTE?: InputMaybe; - networkNEQ?: InputMaybe; - networkNotIn?: InputMaybe>; + network?: InputMaybe; + networkContains?: InputMaybe; + networkContainsFold?: InputMaybe; + networkEqualFold?: InputMaybe; + networkGT?: InputMaybe; + networkGTE?: InputMaybe; + networkHasPrefix?: InputMaybe; + networkHasSuffix?: InputMaybe; + networkIn?: InputMaybe>; + networkLT?: InputMaybe; + networkLTE?: InputMaybe; + networkNEQ?: InputMaybe; + networkNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; }; export type CreateKatanaConfigInput = { - accounts?: InputMaybe; - blockTime?: InputMaybe; - dev?: InputMaybe; - disableFee?: InputMaybe; - forkBlockNumber?: InputMaybe; - forkRpcUrl?: InputMaybe; - gasPrice?: InputMaybe; - genesis?: InputMaybe; - invokeMaxSteps?: InputMaybe; - seed?: InputMaybe; - validateMaxSteps?: InputMaybe; + accounts?: InputMaybe; + blockTime?: InputMaybe; + dev?: InputMaybe; + disableFee?: InputMaybe; + forkBlockNumber?: InputMaybe; + forkRpcUrl?: InputMaybe; + gasPrice?: InputMaybe; + genesis?: InputMaybe; + invokeMaxSteps?: InputMaybe; + seed?: InputMaybe; + validateMaxSteps?: InputMaybe; }; export type CreateSayaConfigInput = { - batchSize: Scalars['Int']; - mode: Scalars['String']; - privateKey: Scalars['String']; - proverUrl: Scalars['String']; - registry: Scalars['String']; - rpcUrl: Scalars['String']; - settlementContract: Scalars['String']; - signerAddress: Scalars['String']; - signerKey: Scalars['String']; - starknetUrl: Scalars['String']; - startBlock: Scalars['Int']; - storeProofs: Scalars['Boolean']; - world: Scalars['String']; + batchSize: Scalars["Int"]; + mode: Scalars["String"]; + privateKey: Scalars["String"]; + proverUrl: Scalars["String"]; + registry: Scalars["String"]; + rpcUrl: Scalars["String"]; + settlementContract: Scalars["String"]; + signerAddress: Scalars["String"]; + signerKey: Scalars["String"]; + starknetUrl: Scalars["String"]; + startBlock: Scalars["Int"]; + storeProofs: Scalars["Boolean"]; + world: Scalars["String"]; }; export type CreateServiceConfigInput = { @@ -356,51 +368,51 @@ export type CreateServiceConfigInput = { export type CreateServiceInput = { config?: InputMaybe; type: DeploymentService; - version?: InputMaybe; + version?: InputMaybe; }; export type CreateToriiConfigInput = { - indexPending?: InputMaybe; - pollingInterval?: InputMaybe; - rpc?: InputMaybe; - startBlock?: InputMaybe; - world: Scalars['String']; + indexPending?: InputMaybe; + pollingInterval?: InputMaybe; + rpc?: InputMaybe; + startBlock?: InputMaybe; + world: Scalars["String"]; }; export type Credentials = { - __typename?: 'Credentials'; + __typename?: "Credentials"; webauthn?: Maybe>; }; export type CreditsHistory = Node & { - __typename?: 'CreditsHistory'; - accountID: Scalars['String']; - createdAt: Scalars['Time']; - id: Scalars['ID']; + __typename?: "CreditsHistory"; + accountID: Scalars["String"]; + createdAt: Scalars["Time"]; + id: Scalars["ID"]; stripePayment?: Maybe; /** Transaction hash for debit transactions */ - transactionHash?: Maybe; + transactionHash?: Maybe; /** Type of transaction: credit or debit */ transactionType: CreditsHistoryTransactionType; - updatedAt: Scalars['Time']; + updatedAt: Scalars["Time"]; }; /** A connection to a list of items. */ export type CreditsHistoryConnection = { - __typename?: 'CreditsHistoryConnection'; + __typename?: "CreditsHistoryConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type CreditsHistoryEdge = { - __typename?: 'CreditsHistoryEdge'; + __typename?: "CreditsHistoryEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; @@ -415,13 +427,13 @@ export type CreditsHistoryOrder = { /** Properties by which CreditsHistory connections can be ordered. */ export enum CreditsHistoryOrderField { - CreatedAt = 'CREATED_AT' + CreatedAt = "CREATED_AT", } /** CreditsHistoryTransactionType is enum for the field transaction_type */ export enum CreditsHistoryTransactionType { - Credit = 'credit', - Debit = 'debit' + Credit = "credit", + Debit = "debit", } /** @@ -430,118 +442,116 @@ export enum CreditsHistoryTransactionType { */ export type CreditsHistoryWhereInput = { /** account_id field predicates */ - accountID?: InputMaybe; - accountIDContains?: InputMaybe; - accountIDContainsFold?: InputMaybe; - accountIDEqualFold?: InputMaybe; - accountIDGT?: InputMaybe; - accountIDGTE?: InputMaybe; - accountIDHasPrefix?: InputMaybe; - accountIDHasSuffix?: InputMaybe; - accountIDIn?: InputMaybe>; - accountIDLT?: InputMaybe; - accountIDLTE?: InputMaybe; - accountIDNEQ?: InputMaybe; - accountIDNotIn?: InputMaybe>; + accountID?: InputMaybe; + accountIDContains?: InputMaybe; + accountIDContainsFold?: InputMaybe; + accountIDEqualFold?: InputMaybe; + accountIDGT?: InputMaybe; + accountIDGTE?: InputMaybe; + accountIDHasPrefix?: InputMaybe; + accountIDHasSuffix?: InputMaybe; + accountIDIn?: InputMaybe>; + accountIDLT?: InputMaybe; + accountIDLTE?: InputMaybe; + accountIDNEQ?: InputMaybe; + accountIDNotIn?: InputMaybe>; and?: InputMaybe>; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** stripe_payment edge predicates */ - hasStripePayment?: InputMaybe; + hasStripePayment?: InputMaybe; hasStripePaymentWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; /** transaction_hash field predicates */ - transactionHash?: InputMaybe; - transactionHashContains?: InputMaybe; - transactionHashContainsFold?: InputMaybe; - transactionHashEqualFold?: InputMaybe; - transactionHashGT?: InputMaybe; - transactionHashGTE?: InputMaybe; - transactionHashHasPrefix?: InputMaybe; - transactionHashHasSuffix?: InputMaybe; - transactionHashIn?: InputMaybe>; - transactionHashIsNil?: InputMaybe; - transactionHashLT?: InputMaybe; - transactionHashLTE?: InputMaybe; - transactionHashNEQ?: InputMaybe; - transactionHashNotIn?: InputMaybe>; - transactionHashNotNil?: InputMaybe; + transactionHash?: InputMaybe; + transactionHashContains?: InputMaybe; + transactionHashContainsFold?: InputMaybe; + transactionHashEqualFold?: InputMaybe; + transactionHashGT?: InputMaybe; + transactionHashGTE?: InputMaybe; + transactionHashHasPrefix?: InputMaybe; + transactionHashHasSuffix?: InputMaybe; + transactionHashIn?: InputMaybe>; + transactionHashIsNil?: InputMaybe; + transactionHashLT?: InputMaybe; + transactionHashLTE?: InputMaybe; + transactionHashNEQ?: InputMaybe; + transactionHashNotIn?: InputMaybe>; + transactionHashNotNil?: InputMaybe; /** transaction_type field predicates */ transactionType?: InputMaybe; transactionTypeIn?: InputMaybe>; transactionTypeNEQ?: InputMaybe; transactionTypeNotIn?: InputMaybe>; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; }; export enum CurrencyBase { - Usd = 'USD' + Usd = "USD", } export enum CurrencyQuote { - Btc = 'BTC', - Eth = 'ETH' + Btc = "BTC", + Eth = "ETH", } export type Deployment = Node & { - __typename?: 'Deployment'; - autoUpgrade: Scalars['Boolean']; - branch?: Maybe; + __typename?: "Deployment"; + autoUpgrade: Scalars["Boolean"]; + branch?: Maybe; config: DeploymentConfig; - createdAt: Scalars['Time']; + createdAt: Scalars["Time"]; events?: Maybe>; - id: Scalars['ID']; + id: Scalars["ID"]; logs: Logs; - project: Scalars['String']; - regions: Array; + project: Scalars["String"]; + regions: Array; service: Service; - serviceID: Scalars['ID']; - spinDownAt?: Maybe; - spinUpAt?: Maybe; + serviceID: Scalars["ID"]; + spinDownAt?: Maybe; + spinUpAt?: Maybe; status: DeploymentStatus; teams: TeamConnection; tier: DeploymentTier; - updatedAt: Scalars['Time']; + updatedAt: Scalars["Time"]; }; - export type DeploymentLogsArgs = { - limit?: InputMaybe; + limit?: InputMaybe; order?: InputMaybe; - since?: InputMaybe; + since?: InputMaybe; }; - export type DeploymentTeamsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; where?: InputMaybe; }; @@ -549,59 +559,59 @@ export type DeploymentConfig = KatanaConfig | SayaConfig | ToriiConfig; /** A connection to a list of items. */ export type DeploymentConnection = { - __typename?: 'DeploymentConnection'; + __typename?: "DeploymentConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type DeploymentEdge = { - __typename?: 'DeploymentEdge'; + __typename?: "DeploymentEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; export type DeploymentLog = Node & { - __typename?: 'DeploymentLog'; + __typename?: "DeploymentLog"; deployment: Deployment; - deploymentID: Scalars['ID']; - id: Scalars['ID']; + deploymentID: Scalars["ID"]; + id: Scalars["ID"]; logType: DeploymentLogLogType; - timestamp: Scalars['Time']; + timestamp: Scalars["Time"]; }; /** A connection to a list of items. */ export type DeploymentLogConnection = { - __typename?: 'DeploymentLogConnection'; + __typename?: "DeploymentLogConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type DeploymentLogEdge = { - __typename?: 'DeploymentLogEdge'; + __typename?: "DeploymentLogEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; /** DeploymentLogLogType is enum for the field log_type */ export enum DeploymentLogLogType { - Created = 'created', - Deleted = 'deleted', - ScaledDown = 'scaled_down', - ScaledUp = 'scaled_up' + Created = "created", + Deleted = "deleted", + ScaledDown = "scaled_down", + ScaledUp = "scaled_up", } /** @@ -611,31 +621,31 @@ export enum DeploymentLogLogType { export type DeploymentLogWhereInput = { and?: InputMaybe>; /** deployment_id field predicates */ - deploymentID?: InputMaybe; - deploymentIDContains?: InputMaybe; - deploymentIDContainsFold?: InputMaybe; - deploymentIDEqualFold?: InputMaybe; - deploymentIDGT?: InputMaybe; - deploymentIDGTE?: InputMaybe; - deploymentIDHasPrefix?: InputMaybe; - deploymentIDHasSuffix?: InputMaybe; - deploymentIDIn?: InputMaybe>; - deploymentIDLT?: InputMaybe; - deploymentIDLTE?: InputMaybe; - deploymentIDNEQ?: InputMaybe; - deploymentIDNotIn?: InputMaybe>; + deploymentID?: InputMaybe; + deploymentIDContains?: InputMaybe; + deploymentIDContainsFold?: InputMaybe; + deploymentIDEqualFold?: InputMaybe; + deploymentIDGT?: InputMaybe; + deploymentIDGTE?: InputMaybe; + deploymentIDHasPrefix?: InputMaybe; + deploymentIDHasSuffix?: InputMaybe; + deploymentIDIn?: InputMaybe>; + deploymentIDLT?: InputMaybe; + deploymentIDLTE?: InputMaybe; + deploymentIDNEQ?: InputMaybe; + deploymentIDNotIn?: InputMaybe>; /** deployment edge predicates */ - hasDeployment?: InputMaybe; + hasDeployment?: InputMaybe; hasDeploymentWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; /** log_type field predicates */ logType?: InputMaybe; logTypeIn?: InputMaybe>; @@ -644,14 +654,14 @@ export type DeploymentLogWhereInput = { not?: InputMaybe; or?: InputMaybe>; /** timestamp field predicates */ - timestamp?: InputMaybe; - timestampGT?: InputMaybe; - timestampGTE?: InputMaybe; - timestampIn?: InputMaybe>; - timestampLT?: InputMaybe; - timestampLTE?: InputMaybe; - timestampNEQ?: InputMaybe; - timestampNotIn?: InputMaybe>; + timestamp?: InputMaybe; + timestampGT?: InputMaybe; + timestampGTE?: InputMaybe; + timestampIn?: InputMaybe>; + timestampLT?: InputMaybe; + timestampLTE?: InputMaybe; + timestampNEQ?: InputMaybe; + timestampNotIn?: InputMaybe>; }; /** Ordering options for Deployment connections */ @@ -664,29 +674,29 @@ export type DeploymentOrder = { /** Properties by which Deployment connections can be ordered. */ export enum DeploymentOrderField { - CreatedAt = 'CREATED_AT' + CreatedAt = "CREATED_AT", } export enum DeploymentService { - Katana = 'katana', - Saya = 'saya', - Torii = 'torii' + Katana = "katana", + Saya = "saya", + Torii = "torii", } /** DeploymentStatus is enum for the field status */ export enum DeploymentStatus { - Active = 'active', - Disabled = 'disabled' + Active = "active", + Disabled = "disabled", } /** DeploymentTier is enum for the field tier */ export enum DeploymentTier { - Basic = 'basic', - Common = 'common', - Epic = 'epic', - Legendary = 'legendary', - Rare = 'rare', - Uncommon = 'uncommon' + Basic = "basic", + Common = "common", + Epic = "epic", + Legendary = "legendary", + Rare = "rare", + Uncommon = "uncommon", } /** @@ -696,103 +706,103 @@ export enum DeploymentTier { export type DeploymentWhereInput = { and?: InputMaybe>; /** auto_upgrade field predicates */ - autoUpgrade?: InputMaybe; - autoUpgradeNEQ?: InputMaybe; + autoUpgrade?: InputMaybe; + autoUpgradeNEQ?: InputMaybe; /** branch field predicates */ - branch?: InputMaybe; - branchContains?: InputMaybe; - branchContainsFold?: InputMaybe; - branchEqualFold?: InputMaybe; - branchGT?: InputMaybe; - branchGTE?: InputMaybe; - branchHasPrefix?: InputMaybe; - branchHasSuffix?: InputMaybe; - branchIn?: InputMaybe>; - branchIsNil?: InputMaybe; - branchLT?: InputMaybe; - branchLTE?: InputMaybe; - branchNEQ?: InputMaybe; - branchNotIn?: InputMaybe>; - branchNotNil?: InputMaybe; + branch?: InputMaybe; + branchContains?: InputMaybe; + branchContainsFold?: InputMaybe; + branchEqualFold?: InputMaybe; + branchGT?: InputMaybe; + branchGTE?: InputMaybe; + branchHasPrefix?: InputMaybe; + branchHasSuffix?: InputMaybe; + branchIn?: InputMaybe>; + branchIsNil?: InputMaybe; + branchLT?: InputMaybe; + branchLTE?: InputMaybe; + branchNEQ?: InputMaybe; + branchNotIn?: InputMaybe>; + branchNotNil?: InputMaybe; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** events edge predicates */ - hasEvents?: InputMaybe; + hasEvents?: InputMaybe; hasEventsWith?: InputMaybe>; /** service edge predicates */ - hasService?: InputMaybe; + hasService?: InputMaybe; hasServiceWith?: InputMaybe>; /** teams edge predicates */ - hasTeams?: InputMaybe; + hasTeams?: InputMaybe; hasTeamsWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; /** project field predicates */ - project?: InputMaybe; - projectContains?: InputMaybe; - projectContainsFold?: InputMaybe; - projectEqualFold?: InputMaybe; - projectGT?: InputMaybe; - projectGTE?: InputMaybe; - projectHasPrefix?: InputMaybe; - projectHasSuffix?: InputMaybe; - projectIn?: InputMaybe>; - projectLT?: InputMaybe; - projectLTE?: InputMaybe; - projectNEQ?: InputMaybe; - projectNotIn?: InputMaybe>; + project?: InputMaybe; + projectContains?: InputMaybe; + projectContainsFold?: InputMaybe; + projectEqualFold?: InputMaybe; + projectGT?: InputMaybe; + projectGTE?: InputMaybe; + projectHasPrefix?: InputMaybe; + projectHasSuffix?: InputMaybe; + projectIn?: InputMaybe>; + projectLT?: InputMaybe; + projectLTE?: InputMaybe; + projectNEQ?: InputMaybe; + projectNotIn?: InputMaybe>; /** service_id field predicates */ - serviceID?: InputMaybe; - serviceIDContains?: InputMaybe; - serviceIDContainsFold?: InputMaybe; - serviceIDEqualFold?: InputMaybe; - serviceIDGT?: InputMaybe; - serviceIDGTE?: InputMaybe; - serviceIDHasPrefix?: InputMaybe; - serviceIDHasSuffix?: InputMaybe; - serviceIDIn?: InputMaybe>; - serviceIDLT?: InputMaybe; - serviceIDLTE?: InputMaybe; - serviceIDNEQ?: InputMaybe; - serviceIDNotIn?: InputMaybe>; + serviceID?: InputMaybe; + serviceIDContains?: InputMaybe; + serviceIDContainsFold?: InputMaybe; + serviceIDEqualFold?: InputMaybe; + serviceIDGT?: InputMaybe; + serviceIDGTE?: InputMaybe; + serviceIDHasPrefix?: InputMaybe; + serviceIDHasSuffix?: InputMaybe; + serviceIDIn?: InputMaybe>; + serviceIDLT?: InputMaybe; + serviceIDLTE?: InputMaybe; + serviceIDNEQ?: InputMaybe; + serviceIDNotIn?: InputMaybe>; /** spin_down_at field predicates */ - spinDownAt?: InputMaybe; - spinDownAtGT?: InputMaybe; - spinDownAtGTE?: InputMaybe; - spinDownAtIn?: InputMaybe>; - spinDownAtIsNil?: InputMaybe; - spinDownAtLT?: InputMaybe; - spinDownAtLTE?: InputMaybe; - spinDownAtNEQ?: InputMaybe; - spinDownAtNotIn?: InputMaybe>; - spinDownAtNotNil?: InputMaybe; + spinDownAt?: InputMaybe; + spinDownAtGT?: InputMaybe; + spinDownAtGTE?: InputMaybe; + spinDownAtIn?: InputMaybe>; + spinDownAtIsNil?: InputMaybe; + spinDownAtLT?: InputMaybe; + spinDownAtLTE?: InputMaybe; + spinDownAtNEQ?: InputMaybe; + spinDownAtNotIn?: InputMaybe>; + spinDownAtNotNil?: InputMaybe; /** spin_up_at field predicates */ - spinUpAt?: InputMaybe; - spinUpAtGT?: InputMaybe; - spinUpAtGTE?: InputMaybe; - spinUpAtIn?: InputMaybe>; - spinUpAtIsNil?: InputMaybe; - spinUpAtLT?: InputMaybe; - spinUpAtLTE?: InputMaybe; - spinUpAtNEQ?: InputMaybe; - spinUpAtNotIn?: InputMaybe>; - spinUpAtNotNil?: InputMaybe; + spinUpAt?: InputMaybe; + spinUpAtGT?: InputMaybe; + spinUpAtGTE?: InputMaybe; + spinUpAtIn?: InputMaybe>; + spinUpAtIsNil?: InputMaybe; + spinUpAtLT?: InputMaybe; + spinUpAtLTE?: InputMaybe; + spinUpAtNEQ?: InputMaybe; + spinUpAtNotIn?: InputMaybe>; + spinUpAtNotNil?: InputMaybe; /** status field predicates */ status?: InputMaybe; statusIn?: InputMaybe>; @@ -804,45 +814,45 @@ export type DeploymentWhereInput = { tierNEQ?: InputMaybe; tierNotIn?: InputMaybe>; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; }; export type File = Node & { - __typename?: 'File'; - alt?: Maybe; - createdAt: Scalars['Time']; - directory: Scalars['String']; - id: Scalars['ID']; - name: Scalars['String']; - priority: Scalars['Int']; - thumbnail: Scalars['String']; - updatedAt: Scalars['Time']; - uri: Scalars['String']; + __typename?: "File"; + alt?: Maybe; + createdAt: Scalars["Time"]; + directory: Scalars["String"]; + id: Scalars["ID"]; + name: Scalars["String"]; + priority: Scalars["Int"]; + thumbnail: Scalars["String"]; + updatedAt: Scalars["Time"]; + uri: Scalars["String"]; }; /** A connection to a list of items. */ export type FileConnection = { - __typename?: 'FileConnection'; + __typename?: "FileConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type FileEdge = { - __typename?: 'FileEdge'; + __typename?: "FileEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; @@ -857,8 +867,8 @@ export type FileOrder = { /** Properties by which File connections can be ordered. */ export enum FileOrderField { - CreatedAt = 'CREATED_AT', - Priority = 'PRIORITY' + CreatedAt = "CREATED_AT", + Priority = "PRIORITY", } /** @@ -867,225 +877,213 @@ export enum FileOrderField { */ export type FileWhereInput = { /** alt field predicates */ - alt?: InputMaybe; - altContains?: InputMaybe; - altContainsFold?: InputMaybe; - altEqualFold?: InputMaybe; - altGT?: InputMaybe; - altGTE?: InputMaybe; - altHasPrefix?: InputMaybe; - altHasSuffix?: InputMaybe; - altIn?: InputMaybe>; - altIsNil?: InputMaybe; - altLT?: InputMaybe; - altLTE?: InputMaybe; - altNEQ?: InputMaybe; - altNotIn?: InputMaybe>; - altNotNil?: InputMaybe; + alt?: InputMaybe; + altContains?: InputMaybe; + altContainsFold?: InputMaybe; + altEqualFold?: InputMaybe; + altGT?: InputMaybe; + altGTE?: InputMaybe; + altHasPrefix?: InputMaybe; + altHasSuffix?: InputMaybe; + altIn?: InputMaybe>; + altIsNil?: InputMaybe; + altLT?: InputMaybe; + altLTE?: InputMaybe; + altNEQ?: InputMaybe; + altNotIn?: InputMaybe>; + altNotNil?: InputMaybe; and?: InputMaybe>; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** directory field predicates */ - directory?: InputMaybe; - directoryContains?: InputMaybe; - directoryContainsFold?: InputMaybe; - directoryEqualFold?: InputMaybe; - directoryGT?: InputMaybe; - directoryGTE?: InputMaybe; - directoryHasPrefix?: InputMaybe; - directoryHasSuffix?: InputMaybe; - directoryIn?: InputMaybe>; - directoryLT?: InputMaybe; - directoryLTE?: InputMaybe; - directoryNEQ?: InputMaybe; - directoryNotIn?: InputMaybe>; + directory?: InputMaybe; + directoryContains?: InputMaybe; + directoryContainsFold?: InputMaybe; + directoryEqualFold?: InputMaybe; + directoryGT?: InputMaybe; + directoryGTE?: InputMaybe; + directoryHasPrefix?: InputMaybe; + directoryHasSuffix?: InputMaybe; + directoryIn?: InputMaybe>; + directoryLT?: InputMaybe; + directoryLTE?: InputMaybe; + directoryNEQ?: InputMaybe; + directoryNotIn?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; /** name field predicates */ - name?: InputMaybe; - nameContains?: InputMaybe; - nameContainsFold?: InputMaybe; - nameEqualFold?: InputMaybe; - nameGT?: InputMaybe; - nameGTE?: InputMaybe; - nameHasPrefix?: InputMaybe; - nameHasSuffix?: InputMaybe; - nameIn?: InputMaybe>; - nameLT?: InputMaybe; - nameLTE?: InputMaybe; - nameNEQ?: InputMaybe; - nameNotIn?: InputMaybe>; + name?: InputMaybe; + nameContains?: InputMaybe; + nameContainsFold?: InputMaybe; + nameEqualFold?: InputMaybe; + nameGT?: InputMaybe; + nameGTE?: InputMaybe; + nameHasPrefix?: InputMaybe; + nameHasSuffix?: InputMaybe; + nameIn?: InputMaybe>; + nameLT?: InputMaybe; + nameLTE?: InputMaybe; + nameNEQ?: InputMaybe; + nameNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; /** priority field predicates */ - priority?: InputMaybe; - priorityGT?: InputMaybe; - priorityGTE?: InputMaybe; - priorityIn?: InputMaybe>; - priorityLT?: InputMaybe; - priorityLTE?: InputMaybe; - priorityNEQ?: InputMaybe; - priorityNotIn?: InputMaybe>; + priority?: InputMaybe; + priorityGT?: InputMaybe; + priorityGTE?: InputMaybe; + priorityIn?: InputMaybe>; + priorityLT?: InputMaybe; + priorityLTE?: InputMaybe; + priorityNEQ?: InputMaybe; + priorityNotIn?: InputMaybe>; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; }; export type HasValueInput = { - index: Scalars['Int']; - value: Scalars['String']; + index: Scalars["Int"]; + value: Scalars["String"]; }; export type KatanaAccount = { - __typename?: 'KatanaAccount'; - address: Scalars['String']; - privateKey: Scalars['String']; - publicKey: Scalars['String']; + __typename?: "KatanaAccount"; + address: Scalars["String"]; + privateKey: Scalars["String"]; + publicKey: Scalars["String"]; }; export type KatanaConfig = { - __typename?: 'KatanaConfig'; + __typename?: "KatanaConfig"; accounts?: Maybe>; - blockTime?: Maybe; - chainId: Scalars['String']; - disableFee?: Maybe; - forkBlockNumber?: Maybe; - forkRpcUrl?: Maybe; - gasPrice?: Maybe; - genesis?: Maybe; - invokeMaxSteps?: Maybe; - rpc: Scalars['String']; - seed: Scalars['String']; - validateMaxSteps?: Maybe; - version: Scalars['String']; + blockTime?: Maybe; + chainId: Scalars["String"]; + disableFee?: Maybe; + forkBlockNumber?: Maybe; + forkRpcUrl?: Maybe; + gasPrice?: Maybe; + genesis?: Maybe; + invokeMaxSteps?: Maybe; + rpc: Scalars["String"]; + seed: Scalars["String"]; + validateMaxSteps?: Maybe; + version: Scalars["String"]; }; export type L1Message = { - __typename?: 'L1Message'; - payload?: Maybe>; - toAddress: Scalars['String']; + __typename?: "L1Message"; + payload?: Maybe>; + toAddress: Scalars["String"]; }; export type L2Message = { - __typename?: 'L2Message'; - fromAddress: Scalars['String']; - payload?: Maybe>; + __typename?: "L2Message"; + fromAddress: Scalars["String"]; + payload?: Maybe>; }; export type Logs = { - __typename?: 'Logs'; - content: Scalars['String']; - until: Scalars['Time']; + __typename?: "Logs"; + content: Scalars["String"]; + until: Scalars["Time"]; }; export type Mutation = { - __typename?: 'Mutation'; - addToTeam: Scalars['Boolean']; - beginLogin: Scalars['JSON']; - beginRegistration: Scalars['JSON']; + __typename?: "Mutation"; + addToTeam: Scalars["Boolean"]; + beginLogin: Scalars["JSON"]; + beginRegistration: Scalars["JSON"]; createDeployment: DeploymentConfig; - deleteDeployment: Scalars['Boolean']; - finalizeLogin: Scalars['String']; + deleteDeployment: Scalars["Boolean"]; + finalizeLogin: Scalars["String"]; finalizeRegistration: Account; forkDeployment: DeploymentConfig; - removeFromTeam: Scalars['Boolean']; + removeFromTeam: Scalars["Boolean"]; updateDeployment: DeploymentConfig; - updateFile: Scalars['Boolean']; + updateFile: Scalars["Boolean"]; upload: Array; }; - export type MutationAddToTeamArgs = { - teamID: Scalars['ID']; - userIDs: Array; + teamID: Scalars["ID"]; + userIDs: Array; }; - export type MutationBeginLoginArgs = { - id: Scalars['String']; + id: Scalars["String"]; }; - export type MutationBeginRegistrationArgs = { - id: Scalars['String']; + id: Scalars["String"]; }; - export type MutationCreateDeploymentArgs = { - name: Scalars['String']; - regions?: InputMaybe>; + name: Scalars["String"]; + regions?: InputMaybe>; service: CreateServiceInput; tier?: InputMaybe; - wait?: InputMaybe; + wait?: InputMaybe; }; - export type MutationDeleteDeploymentArgs = { - name: Scalars['String']; + name: Scalars["String"]; service: DeploymentService; }; - export type MutationFinalizeLoginArgs = { - credentials: Scalars['String']; + credentials: Scalars["String"]; }; - export type MutationFinalizeRegistrationArgs = { - credentials: Scalars['String']; - network: Scalars['String']; + credentials: Scalars["String"]; + network: Scalars["String"]; }; - export type MutationForkDeploymentArgs = { - forkBlockNumber: Scalars['Long']; - forkName: Scalars['String']; - name: Scalars['String']; + forkBlockNumber: Scalars["Long"]; + forkName: Scalars["String"]; + name: Scalars["String"]; tier?: InputMaybe; - wait?: InputMaybe; + wait?: InputMaybe; }; - export type MutationRemoveFromTeamArgs = { - teamID: Scalars['ID']; - userIDs: Array; + teamID: Scalars["ID"]; + userIDs: Array; }; - export type MutationUpdateDeploymentArgs = { - name: Scalars['String']; + name: Scalars["String"]; service: UpdateServiceInput; tier?: InputMaybe; - wait?: InputMaybe; + wait?: InputMaybe; }; - export type MutationUpdateFileArgs = { - id: Scalars['ID']; - priority: Scalars['Int']; + id: Scalars["ID"]; + priority: Scalars["Int"]; }; - export type MutationUploadArgs = { req: Array; }; @@ -1096,20 +1094,20 @@ export type MutationUploadArgs = { */ export type Node = { /** The id of the object. */ - id: Scalars['ID']; + id: Scalars["ID"]; }; export enum Order { - Asc = 'asc', - Desc = 'desc' + Asc = "asc", + Desc = "desc", } /** Possible directions in which to order a list of items when provided an `orderBy` argument. */ export enum OrderDirection { /** Specifies an ascending order for a given `orderBy` argument. */ - Asc = 'ASC', + Asc = "ASC", /** Specifies a descending order for a given `orderBy` argument. */ - Desc = 'DESC' + Desc = "DESC", } /** @@ -1117,26 +1115,26 @@ export enum OrderDirection { * https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo */ export type PageInfo = { - __typename?: 'PageInfo'; + __typename?: "PageInfo"; /** When paginating forwards, the cursor to continue. */ - endCursor?: Maybe; + endCursor?: Maybe; /** When paginating forwards, are there more items? */ - hasNextPage: Scalars['Boolean']; + hasNextPage: Scalars["Boolean"]; /** When paginating backwards, are there more items? */ - hasPreviousPage: Scalars['Boolean']; + hasPreviousPage: Scalars["Boolean"]; /** When paginating backwards, the cursor to continue. */ - startCursor?: Maybe; + startCursor?: Maybe; }; export type Price = { - __typename?: 'Price'; - amount?: Maybe; - base?: Maybe; - currency?: Maybe; + __typename?: "Price"; + amount?: Maybe; + base?: Maybe; + currency?: Maybe; }; export type Query = { - __typename?: 'Query'; + __typename?: "Query"; account?: Maybe; accounts?: Maybe; deployment?: Maybe; @@ -1152,127 +1150,117 @@ export type Query = { teams?: Maybe; }; - export type QueryAccountArgs = { - id: Scalars['ID']; + id: Scalars["ID"]; }; - export type QueryAccountsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; where?: InputMaybe; }; - export type QueryDeploymentArgs = { - name: Scalars['String']; + name: Scalars["String"]; service: DeploymentService; }; - export type QueryDeploymentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; where?: InputMaybe; }; - export type QueryNodeArgs = { - id: Scalars['ID']; + id: Scalars["ID"]; }; - export type QueryNodesArgs = { - ids: Array; + ids: Array; }; - export type QueryPriceArgs = { base: CurrencyBase; quote: CurrencyQuote; }; - export type QueryStripePaymentArgs = { - referenceId: Scalars['String']; + referenceId: Scalars["String"]; }; - export type QueryTeamArgs = { - id: Scalars['ID']; + id: Scalars["ID"]; }; - export type QueryTeamsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; where?: InputMaybe; }; export type Resources = { - __typename?: 'Resources'; - cpu?: Maybe; - memory?: Maybe; + __typename?: "Resources"; + cpu?: Maybe; + memory?: Maybe; }; export enum Role { - Admin = 'ADMIN', - User = 'USER' + Admin = "ADMIN", + User = "USER", } export type SayaConfig = { - __typename?: 'SayaConfig'; - batchSize: Scalars['Int']; - mode: Scalars['String']; - privateKey: Scalars['String']; - proverUrl: Scalars['String']; - registry: Scalars['String']; - rpcUrl: Scalars['String']; - settlementContract: Scalars['String']; - signerAddress: Scalars['String']; - signerKey: Scalars['String']; - starknetUrl: Scalars['String']; - startBlock: Scalars['Int']; - storeProofs: Scalars['Boolean']; - version: Scalars['String']; - world: Scalars['String']; + __typename?: "SayaConfig"; + batchSize: Scalars["Int"]; + mode: Scalars["String"]; + privateKey: Scalars["String"]; + proverUrl: Scalars["String"]; + registry: Scalars["String"]; + rpcUrl: Scalars["String"]; + settlementContract: Scalars["String"]; + signerAddress: Scalars["String"]; + signerKey: Scalars["String"]; + starknetUrl: Scalars["String"]; + startBlock: Scalars["Int"]; + storeProofs: Scalars["Boolean"]; + version: Scalars["String"]; + world: Scalars["String"]; }; export type Service = Node & { - __typename?: 'Service'; - createdAt: Scalars['Time']; - defaultVersion: Scalars['String']; + __typename?: "Service"; + createdAt: Scalars["Time"]; + defaultVersion: Scalars["String"]; deployments?: Maybe>; - id: Scalars['ID']; - updatedAt: Scalars['Time']; - versions: Array; + id: Scalars["ID"]; + updatedAt: Scalars["Time"]; + versions: Array; }; /** A connection to a list of items. */ export type ServiceConnection = { - __typename?: 'ServiceConnection'; + __typename?: "ServiceConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type ServiceEdge = { - __typename?: 'ServiceEdge'; + __typename?: "ServiceEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1287,7 +1275,7 @@ export type ServiceOrder = { /** Properties by which Service connections can be ordered. */ export enum ServiceOrderField { - CreatedAt = 'CREATED_AT' + CreatedAt = "CREATED_AT", } /** @@ -1297,61 +1285,61 @@ export enum ServiceOrderField { export type ServiceWhereInput = { and?: InputMaybe>; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** default_version field predicates */ - defaultVersion?: InputMaybe; - defaultVersionContains?: InputMaybe; - defaultVersionContainsFold?: InputMaybe; - defaultVersionEqualFold?: InputMaybe; - defaultVersionGT?: InputMaybe; - defaultVersionGTE?: InputMaybe; - defaultVersionHasPrefix?: InputMaybe; - defaultVersionHasSuffix?: InputMaybe; - defaultVersionIn?: InputMaybe>; - defaultVersionLT?: InputMaybe; - defaultVersionLTE?: InputMaybe; - defaultVersionNEQ?: InputMaybe; - defaultVersionNotIn?: InputMaybe>; + defaultVersion?: InputMaybe; + defaultVersionContains?: InputMaybe; + defaultVersionContainsFold?: InputMaybe; + defaultVersionEqualFold?: InputMaybe; + defaultVersionGT?: InputMaybe; + defaultVersionGTE?: InputMaybe; + defaultVersionHasPrefix?: InputMaybe; + defaultVersionHasSuffix?: InputMaybe; + defaultVersionIn?: InputMaybe>; + defaultVersionLT?: InputMaybe; + defaultVersionLTE?: InputMaybe; + defaultVersionNEQ?: InputMaybe; + defaultVersionNotIn?: InputMaybe>; /** deployments edge predicates */ - hasDeployments?: InputMaybe; + hasDeployments?: InputMaybe; hasDeploymentsWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; }; export type Signer = Node & { - __typename?: 'Signer'; + __typename?: "Signer"; controller: Controller; - controllerID: Scalars['ID']; - createdAt: Scalars['Time']; - id: Scalars['ID']; + controllerID: Scalars["ID"]; + createdAt: Scalars["Time"]; + id: Scalars["ID"]; type: SignerType; - updatedAt: Scalars['Time']; + updatedAt: Scalars["Time"]; }; /** Ordering options for Signer connections */ @@ -1364,13 +1352,13 @@ export type SignerOrder = { /** Properties by which Signer connections can be ordered. */ export enum SignerOrderField { - CreatedAt = 'CREATED_AT' + CreatedAt = "CREATED_AT", } /** SignerType is enum for the field type */ export enum SignerType { - StarknetAccount = 'starknet_account', - Webauthn = 'webauthn' + StarknetAccount = "starknet_account", + Webauthn = "webauthn", } /** @@ -1380,40 +1368,40 @@ export enum SignerType { export type SignerWhereInput = { and?: InputMaybe>; /** controller_id field predicates */ - controllerID?: InputMaybe; - controllerIDContains?: InputMaybe; - controllerIDContainsFold?: InputMaybe; - controllerIDEqualFold?: InputMaybe; - controllerIDGT?: InputMaybe; - controllerIDGTE?: InputMaybe; - controllerIDHasPrefix?: InputMaybe; - controllerIDHasSuffix?: InputMaybe; - controllerIDIn?: InputMaybe>; - controllerIDLT?: InputMaybe; - controllerIDLTE?: InputMaybe; - controllerIDNEQ?: InputMaybe; - controllerIDNotIn?: InputMaybe>; + controllerID?: InputMaybe; + controllerIDContains?: InputMaybe; + controllerIDContainsFold?: InputMaybe; + controllerIDEqualFold?: InputMaybe; + controllerIDGT?: InputMaybe; + controllerIDGTE?: InputMaybe; + controllerIDHasPrefix?: InputMaybe; + controllerIDHasSuffix?: InputMaybe; + controllerIDIn?: InputMaybe>; + controllerIDLT?: InputMaybe; + controllerIDLTE?: InputMaybe; + controllerIDNEQ?: InputMaybe; + controllerIDNotIn?: InputMaybe>; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** controller edge predicates */ - hasController?: InputMaybe; + hasController?: InputMaybe; hasControllerWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; /** type field predicates */ @@ -1422,33 +1410,33 @@ export type SignerWhereInput = { typeNEQ?: InputMaybe; typeNotIn?: InputMaybe>; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; }; export type StripePayment = { - __typename?: 'StripePayment'; - amount: Scalars['Int']; - referenceId: Scalars['String']; + __typename?: "StripePayment"; + amount: Scalars["Int"]; + referenceId: Scalars["String"]; }; export type StripePayments = Node & { - __typename?: 'StripePayments'; - amount: Scalars['Int']; - createdAt: Scalars['Time']; - id: Scalars['ID']; - liveMode: Scalars['Boolean']; - paymentIntentID: Scalars['String']; + __typename?: "StripePayments"; + amount: Scalars["Int"]; + createdAt: Scalars["Time"]; + id: Scalars["ID"]; + liveMode: Scalars["Boolean"]; + paymentIntentID: Scalars["String"]; paymentIntentStatus?: Maybe; - referenceID?: Maybe; - updatedAt: Scalars['Time']; - userID: Scalars['String']; + referenceID?: Maybe; + updatedAt: Scalars["Time"]; + userID: Scalars["String"]; }; /** Ordering options for StripePayments connections */ @@ -1461,18 +1449,18 @@ export type StripePaymentsOrder = { /** Properties by which StripePayments connections can be ordered. */ export enum StripePaymentsOrderField { - CreatedAt = 'CREATED_AT' + CreatedAt = "CREATED_AT", } /** StripePaymentsPaymentIntentStatus is enum for the field payment_intent_status */ export enum StripePaymentsPaymentIntentStatus { - Canceled = 'canceled', - Processing = 'processing', - RequiresAction = 'requires_action', - RequiresCapture = 'requires_capture', - RequiresConfirmation = 'requires_confirmation', - RequiresPaymentMethod = 'requires_payment_method', - Succeeded = 'succeeded' + Canceled = "canceled", + Processing = "processing", + RequiresAction = "requires_action", + RequiresCapture = "requires_capture", + RequiresConfirmation = "requires_confirmation", + RequiresPaymentMethod = "requires_payment_method", + Succeeded = "succeeded", } /** @@ -1481,155 +1469,154 @@ export enum StripePaymentsPaymentIntentStatus { */ export type StripePaymentsWhereInput = { /** amount field predicates */ - amount?: InputMaybe; - amountGT?: InputMaybe; - amountGTE?: InputMaybe; - amountIn?: InputMaybe>; - amountLT?: InputMaybe; - amountLTE?: InputMaybe; - amountNEQ?: InputMaybe; - amountNotIn?: InputMaybe>; + amount?: InputMaybe; + amountGT?: InputMaybe; + amountGTE?: InputMaybe; + amountIn?: InputMaybe>; + amountLT?: InputMaybe; + amountLTE?: InputMaybe; + amountNEQ?: InputMaybe; + amountNotIn?: InputMaybe>; and?: InputMaybe>; /** created_at field predicates */ - createdAt?: InputMaybe; - createdAtGT?: InputMaybe; - createdAtGTE?: InputMaybe; - createdAtIn?: InputMaybe>; - createdAtLT?: InputMaybe; - createdAtLTE?: InputMaybe; - createdAtNEQ?: InputMaybe; - createdAtNotIn?: InputMaybe>; + createdAt?: InputMaybe; + createdAtGT?: InputMaybe; + createdAtGTE?: InputMaybe; + createdAtIn?: InputMaybe>; + createdAtLT?: InputMaybe; + createdAtLTE?: InputMaybe; + createdAtNEQ?: InputMaybe; + createdAtNotIn?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; /** live_mode field predicates */ - liveMode?: InputMaybe; - liveModeNEQ?: InputMaybe; + liveMode?: InputMaybe; + liveModeNEQ?: InputMaybe; not?: InputMaybe; or?: InputMaybe>; /** payment_intent_id field predicates */ - paymentIntentID?: InputMaybe; - paymentIntentIDContains?: InputMaybe; - paymentIntentIDContainsFold?: InputMaybe; - paymentIntentIDEqualFold?: InputMaybe; - paymentIntentIDGT?: InputMaybe; - paymentIntentIDGTE?: InputMaybe; - paymentIntentIDHasPrefix?: InputMaybe; - paymentIntentIDHasSuffix?: InputMaybe; - paymentIntentIDIn?: InputMaybe>; - paymentIntentIDLT?: InputMaybe; - paymentIntentIDLTE?: InputMaybe; - paymentIntentIDNEQ?: InputMaybe; - paymentIntentIDNotIn?: InputMaybe>; + paymentIntentID?: InputMaybe; + paymentIntentIDContains?: InputMaybe; + paymentIntentIDContainsFold?: InputMaybe; + paymentIntentIDEqualFold?: InputMaybe; + paymentIntentIDGT?: InputMaybe; + paymentIntentIDGTE?: InputMaybe; + paymentIntentIDHasPrefix?: InputMaybe; + paymentIntentIDHasSuffix?: InputMaybe; + paymentIntentIDIn?: InputMaybe>; + paymentIntentIDLT?: InputMaybe; + paymentIntentIDLTE?: InputMaybe; + paymentIntentIDNEQ?: InputMaybe; + paymentIntentIDNotIn?: InputMaybe>; /** payment_intent_status field predicates */ paymentIntentStatus?: InputMaybe; paymentIntentStatusIn?: InputMaybe>; - paymentIntentStatusIsNil?: InputMaybe; + paymentIntentStatusIsNil?: InputMaybe; paymentIntentStatusNEQ?: InputMaybe; - paymentIntentStatusNotIn?: InputMaybe>; - paymentIntentStatusNotNil?: InputMaybe; + paymentIntentStatusNotIn?: InputMaybe< + Array + >; + paymentIntentStatusNotNil?: InputMaybe; /** reference_id field predicates */ - referenceID?: InputMaybe; - referenceIDContains?: InputMaybe; - referenceIDContainsFold?: InputMaybe; - referenceIDEqualFold?: InputMaybe; - referenceIDGT?: InputMaybe; - referenceIDGTE?: InputMaybe; - referenceIDHasPrefix?: InputMaybe; - referenceIDHasSuffix?: InputMaybe; - referenceIDIn?: InputMaybe>; - referenceIDIsNil?: InputMaybe; - referenceIDLT?: InputMaybe; - referenceIDLTE?: InputMaybe; - referenceIDNEQ?: InputMaybe; - referenceIDNotIn?: InputMaybe>; - referenceIDNotNil?: InputMaybe; + referenceID?: InputMaybe; + referenceIDContains?: InputMaybe; + referenceIDContainsFold?: InputMaybe; + referenceIDEqualFold?: InputMaybe; + referenceIDGT?: InputMaybe; + referenceIDGTE?: InputMaybe; + referenceIDHasPrefix?: InputMaybe; + referenceIDHasSuffix?: InputMaybe; + referenceIDIn?: InputMaybe>; + referenceIDIsNil?: InputMaybe; + referenceIDLT?: InputMaybe; + referenceIDLTE?: InputMaybe; + referenceIDNEQ?: InputMaybe; + referenceIDNotIn?: InputMaybe>; + referenceIDNotNil?: InputMaybe; /** updated_at field predicates */ - updatedAt?: InputMaybe; - updatedAtGT?: InputMaybe; - updatedAtGTE?: InputMaybe; - updatedAtIn?: InputMaybe>; - updatedAtLT?: InputMaybe; - updatedAtLTE?: InputMaybe; - updatedAtNEQ?: InputMaybe; - updatedAtNotIn?: InputMaybe>; + updatedAt?: InputMaybe; + updatedAtGT?: InputMaybe; + updatedAtGTE?: InputMaybe; + updatedAtIn?: InputMaybe>; + updatedAtLT?: InputMaybe; + updatedAtLTE?: InputMaybe; + updatedAtNEQ?: InputMaybe; + updatedAtNotIn?: InputMaybe>; /** user_id field predicates */ - userID?: InputMaybe; - userIDContains?: InputMaybe; - userIDContainsFold?: InputMaybe; - userIDEqualFold?: InputMaybe; - userIDGT?: InputMaybe; - userIDGTE?: InputMaybe; - userIDHasPrefix?: InputMaybe; - userIDHasSuffix?: InputMaybe; - userIDIn?: InputMaybe>; - userIDLT?: InputMaybe; - userIDLTE?: InputMaybe; - userIDNEQ?: InputMaybe; - userIDNotIn?: InputMaybe>; + userID?: InputMaybe; + userIDContains?: InputMaybe; + userIDContainsFold?: InputMaybe; + userIDEqualFold?: InputMaybe; + userIDGT?: InputMaybe; + userIDGTE?: InputMaybe; + userIDHasPrefix?: InputMaybe; + userIDHasSuffix?: InputMaybe; + userIDIn?: InputMaybe>; + userIDLT?: InputMaybe; + userIDLTE?: InputMaybe; + userIDNEQ?: InputMaybe; + userIDNotIn?: InputMaybe>; }; export type Team = Node & { - __typename?: 'Team'; + __typename?: "Team"; deployments: DeploymentConnection; - description?: Maybe; - id: Scalars['ID']; + description?: Maybe; + id: Scalars["ID"]; members: AccountConnection; membership: AccountTeamConnection; - name: Scalars['String']; + name: Scalars["String"]; }; - export type TeamDeploymentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; where?: InputMaybe; }; - export type TeamMembersArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; orderBy?: InputMaybe; where?: InputMaybe; }; - export type TeamMembershipArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; where?: InputMaybe; }; /** A connection to a list of items. */ export type TeamConnection = { - __typename?: 'TeamConnection'; + __typename?: "TeamConnection"; /** A list of edges. */ edges?: Maybe>>; /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars['Int']; + totalCount: Scalars["Int"]; }; /** An edge in a connection. */ export type TeamEdge = { - __typename?: 'TeamEdge'; + __typename?: "TeamEdge"; /** A cursor for use in pagination. */ - cursor: Scalars['Cursor']; + cursor: Scalars["Cursor"]; /** The item at the end of the edge. */ node?: Maybe; }; @@ -1641,81 +1628,81 @@ export type TeamEdge = { export type TeamWhereInput = { and?: InputMaybe>; /** description field predicates */ - description?: InputMaybe; - descriptionContains?: InputMaybe; - descriptionContainsFold?: InputMaybe; - descriptionEqualFold?: InputMaybe; - descriptionGT?: InputMaybe; - descriptionGTE?: InputMaybe; - descriptionHasPrefix?: InputMaybe; - descriptionHasSuffix?: InputMaybe; - descriptionIn?: InputMaybe>; - descriptionIsNil?: InputMaybe; - descriptionLT?: InputMaybe; - descriptionLTE?: InputMaybe; - descriptionNEQ?: InputMaybe; - descriptionNotIn?: InputMaybe>; - descriptionNotNil?: InputMaybe; + description?: InputMaybe; + descriptionContains?: InputMaybe; + descriptionContainsFold?: InputMaybe; + descriptionEqualFold?: InputMaybe; + descriptionGT?: InputMaybe; + descriptionGTE?: InputMaybe; + descriptionHasPrefix?: InputMaybe; + descriptionHasSuffix?: InputMaybe; + descriptionIn?: InputMaybe>; + descriptionIsNil?: InputMaybe; + descriptionLT?: InputMaybe; + descriptionLTE?: InputMaybe; + descriptionNEQ?: InputMaybe; + descriptionNotIn?: InputMaybe>; + descriptionNotNil?: InputMaybe; /** deployments edge predicates */ - hasDeployments?: InputMaybe; + hasDeployments?: InputMaybe; hasDeploymentsWith?: InputMaybe>; /** members edge predicates */ - hasMembers?: InputMaybe; + hasMembers?: InputMaybe; hasMembersWith?: InputMaybe>; /** membership edge predicates */ - hasMembership?: InputMaybe; + hasMembership?: InputMaybe; hasMembershipWith?: InputMaybe>; /** id field predicates */ - id?: InputMaybe; - idGT?: InputMaybe; - idGTE?: InputMaybe; - idIn?: InputMaybe>; - idLT?: InputMaybe; - idLTE?: InputMaybe; - idNEQ?: InputMaybe; - idNotIn?: InputMaybe>; + id?: InputMaybe; + idGT?: InputMaybe; + idGTE?: InputMaybe; + idIn?: InputMaybe>; + idLT?: InputMaybe; + idLTE?: InputMaybe; + idNEQ?: InputMaybe; + idNotIn?: InputMaybe>; /** name field predicates */ - name?: InputMaybe; - nameContains?: InputMaybe; - nameContainsFold?: InputMaybe; - nameEqualFold?: InputMaybe; - nameGT?: InputMaybe; - nameGTE?: InputMaybe; - nameHasPrefix?: InputMaybe; - nameHasSuffix?: InputMaybe; - nameIn?: InputMaybe>; - nameLT?: InputMaybe; - nameLTE?: InputMaybe; - nameNEQ?: InputMaybe; - nameNotIn?: InputMaybe>; + name?: InputMaybe; + nameContains?: InputMaybe; + nameContainsFold?: InputMaybe; + nameEqualFold?: InputMaybe; + nameGT?: InputMaybe; + nameGTE?: InputMaybe; + nameHasPrefix?: InputMaybe; + nameHasSuffix?: InputMaybe; + nameIn?: InputMaybe>; + nameLT?: InputMaybe; + nameLTE?: InputMaybe; + nameNEQ?: InputMaybe; + nameNotIn?: InputMaybe>; not?: InputMaybe; or?: InputMaybe>; }; export type ToriiConfig = { - __typename?: 'ToriiConfig'; - graphql: Scalars['String']; - grpc: Scalars['String']; - indexPending?: Maybe; - pollingInterval?: Maybe; - rpc: Scalars['String']; - startBlock?: Maybe; - version: Scalars['String']; - world: Scalars['String']; + __typename?: "ToriiConfig"; + graphql: Scalars["String"]; + grpc: Scalars["String"]; + indexPending?: Maybe; + pollingInterval?: Maybe; + rpc: Scalars["String"]; + startBlock?: Maybe; + version: Scalars["String"]; + world: Scalars["String"]; }; export type TransactionReceipt = { - __typename?: 'TransactionReceipt'; + __typename?: "TransactionReceipt"; messagesSent: Array>; }; export type UpdateKatanaConfigInput = { - blockTime?: InputMaybe; - dev?: InputMaybe; - disableFee?: InputMaybe; - gasPrice?: InputMaybe; - invokeMaxSteps?: InputMaybe; - validateMaxSteps?: InputMaybe; + blockTime?: InputMaybe; + dev?: InputMaybe; + disableFee?: InputMaybe; + gasPrice?: InputMaybe; + invokeMaxSteps?: InputMaybe; + validateMaxSteps?: InputMaybe; }; export type UpdateServiceConfigInput = { @@ -1725,93 +1712,168 @@ export type UpdateServiceConfigInput = { export type UpdateServiceInput = { config?: InputMaybe; type: DeploymentService; - version?: InputMaybe; + version?: InputMaybe; }; /** The `UploadFile` type, represents the request for uploading a file with a certain payload. */ export type UploadFile = { - alt?: InputMaybe; - file: Scalars['Upload']; - id: Scalars['Int']; + alt?: InputMaybe; + file: Scalars["Upload"]; + id: Scalars["Int"]; }; export type WebauthnCredential = { - __typename?: 'WebauthnCredential'; - id: Scalars['ID']; - publicKey: Scalars['String']; + __typename?: "WebauthnCredential"; + id: Scalars["ID"]; + publicKey: Scalars["String"]; }; export type StripePaymentQueryVariables = Exact<{ - referenceId: Scalars['String']; + referenceId: Scalars["String"]; }>; - -export type StripePaymentQuery = { __typename?: 'Query', stripePayment?: { __typename?: 'StripePayment', referenceId: string, amount: number } | null }; +export type StripePaymentQuery = { + __typename?: "Query"; + stripePayment?: { + __typename?: "StripePayment"; + referenceId: string; + amount: number; + } | null; +}; export type AccountInfoQueryVariables = Exact<{ - address: Scalars['String']; + address: Scalars["String"]; }>; - -export type AccountInfoQuery = { __typename?: 'Query', accounts?: { __typename?: 'AccountConnection', edges?: Array<{ __typename?: 'AccountEdge', node?: { __typename?: 'Account', id: string, credits: any } | null } | null> | null } | null }; +export type AccountInfoQuery = { + __typename?: "Query"; + accounts?: { + __typename?: "AccountConnection"; + edges?: Array<{ + __typename?: "AccountEdge"; + node?: { __typename?: "Account"; id: string; credits: any } | null; + } | null> | null; + } | null; +}; export type BeginRegistrationMutationVariables = Exact<{ - id: Scalars['String']; + id: Scalars["String"]; }>; - -export type BeginRegistrationMutation = { __typename?: 'Mutation', beginRegistration: any }; +export type BeginRegistrationMutation = { + __typename?: "Mutation"; + beginRegistration: any; +}; export type FinalizeRegistrationMutationVariables = Exact<{ - credentials: Scalars['String']; - network: Scalars['String']; + credentials: Scalars["String"]; + network: Scalars["String"]; }>; - -export type FinalizeRegistrationMutation = { __typename?: 'Mutation', finalizeRegistration: { __typename?: 'Account', id: string, controllers?: Array<{ __typename?: 'Controller', address: string, signers?: Array<{ __typename?: 'Signer', type: SignerType }> | null }> | null, credentials: { __typename?: 'Credentials', webauthn?: Array<{ __typename?: 'WebauthnCredential', id: string, publicKey: string }> | null } } }; +export type FinalizeRegistrationMutation = { + __typename?: "Mutation"; + finalizeRegistration: { + __typename?: "Account"; + id: string; + controllers?: Array<{ + __typename?: "Controller"; + address: string; + signers?: Array<{ __typename?: "Signer"; type: SignerType }> | null; + }> | null; + credentials: { + __typename?: "Credentials"; + webauthn?: Array<{ + __typename?: "WebauthnCredential"; + id: string; + publicKey: string; + }> | null; + }; + }; +}; export type AccountQueryVariables = Exact<{ - id: Scalars['ID']; + id: Scalars["ID"]; }>; - -export type AccountQuery = { __typename?: 'Query', account?: { __typename?: 'Account', id: string, credentials: { __typename?: 'Credentials', webauthn?: Array<{ __typename?: 'WebauthnCredential', id: string, publicKey: string }> | null }, controllers?: Array<{ __typename?: 'Controller', address: string, signers?: Array<{ __typename?: 'Signer', type: SignerType }> | null }> | null } | null }; +export type AccountQuery = { + __typename?: "Query"; + account?: { + __typename?: "Account"; + id: string; + credentials: { + __typename?: "Credentials"; + webauthn?: Array<{ + __typename?: "WebauthnCredential"; + id: string; + publicKey: string; + }> | null; + }; + controllers?: Array<{ + __typename?: "Controller"; + address: string; + signers?: Array<{ __typename?: "Signer"; type: SignerType }> | null; + }> | null; + } | null; +}; export type BeginLoginMutationVariables = Exact<{ - id: Scalars['String']; + id: Scalars["String"]; }>; - -export type BeginLoginMutation = { __typename?: 'Mutation', beginLogin: any }; +export type BeginLoginMutation = { __typename?: "Mutation"; beginLogin: any }; export type FinalizeLoginMutationVariables = Exact<{ - credentials: Scalars['String']; + credentials: Scalars["String"]; }>; - -export type FinalizeLoginMutation = { __typename?: 'Mutation', finalizeLogin: string }; +export type FinalizeLoginMutation = { + __typename?: "Mutation"; + finalizeLogin: string; +}; export type PriceQueryVariables = Exact<{ quote: CurrencyQuote; base: CurrencyBase; }>; +export type PriceQuery = { + __typename?: "Query"; + price?: { + __typename?: "Price"; + amount?: string | null; + currency?: string | null; + } | null; +}; -export type PriceQuery = { __typename?: 'Query', price?: { __typename?: 'Price', amount?: string | null, currency?: string | null } | null }; - -export type MeQueryVariables = Exact<{ [key: string]: never; }>; - +export type MeQueryVariables = Exact<{ [key: string]: never }>; -export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'Account', id: string } | null }; +export type MeQuery = { + __typename?: "Query"; + me?: { __typename?: "Account"; id: string } | null; +}; export type FetchControllersQueryVariables = Exact<{ - addresses: Array | Scalars['String']; - first?: InputMaybe; + addresses: Array | Scalars["String"]; + first?: InputMaybe; }>; - -export type FetchControllersQuery = { __typename?: 'Query', accounts?: { __typename?: 'AccountConnection', edges?: Array<{ __typename?: 'AccountEdge', node?: { __typename?: 'Account', id: string, controllers?: Array<{ __typename?: 'Controller', address: string }> | null } | null } | null> | null } | null }; - +export type FetchControllersQuery = { + __typename?: "Query"; + accounts?: { + __typename?: "AccountConnection"; + edges?: Array<{ + __typename?: "AccountEdge"; + node?: { + __typename?: "Account"; + id: string; + controllers?: Array<{ + __typename?: "Controller"; + address: string; + }> | null; + } | null; + } | null> | null; + } | null; +}; export const StripePaymentDocument = ` query StripePayment($referenceId: String!) { @@ -1822,39 +1884,44 @@ export const StripePaymentDocument = ` } `; export const useStripePaymentQuery = < - TData = StripePaymentQuery, - TError = unknown - >( - variables: StripePaymentQueryVariables, - options?: UseQueryOptions - ) => - useQuery( - ['StripePayment', variables], - useFetchData(StripePaymentDocument).bind(null, variables), - options - ); - -useStripePaymentQuery.getKey = (variables: StripePaymentQueryVariables) => ['StripePayment', variables]; -; - + TData = StripePaymentQuery, + TError = unknown, +>( + variables: StripePaymentQueryVariables, + options?: UseQueryOptions, +) => + useQuery( + ["StripePayment", variables], + useFetchData( + StripePaymentDocument, + ).bind(null, variables), + options, + ); + +useStripePaymentQuery.getKey = (variables: StripePaymentQueryVariables) => [ + "StripePayment", + variables, +]; export const useInfiniteStripePaymentQuery = < - TData = StripePaymentQuery, - TError = unknown - >( - variables: StripePaymentQueryVariables, - options?: UseInfiniteQueryOptions - ) =>{ - const query = useFetchData(StripePaymentDocument) - return useInfiniteQuery( - ['StripePayment.infinite', variables], - (metaData) => query({...variables, ...(metaData.pageParam ?? {})}), - options - )}; - - -useInfiniteStripePaymentQuery.getKey = (variables: StripePaymentQueryVariables) => ['StripePayment.infinite', variables]; -; - + TData = StripePaymentQuery, + TError = unknown, +>( + variables: StripePaymentQueryVariables, + options?: UseInfiniteQueryOptions, +) => { + const query = useFetchData( + StripePaymentDocument, + ); + return useInfiniteQuery( + ["StripePayment.infinite", variables], + (metaData) => query({ ...variables, ...(metaData.pageParam ?? {}) }), + options, + ); +}; + +useInfiniteStripePaymentQuery.getKey = ( + variables: StripePaymentQueryVariables, +) => ["StripePayment.infinite", variables]; export const AccountInfoDocument = ` query AccountInfo($address: String!) { accounts(where: {hasControllersWith: {address: $address}}, first: 1) { @@ -1867,54 +1934,71 @@ export const AccountInfoDocument = ` } } `; -export const useAccountInfoQuery = < - TData = AccountInfoQuery, - TError = unknown - >( - variables: AccountInfoQueryVariables, - options?: UseQueryOptions - ) => - useQuery( - ['AccountInfo', variables], - useFetchData(AccountInfoDocument).bind(null, variables), - options - ); - -useAccountInfoQuery.getKey = (variables: AccountInfoQueryVariables) => ['AccountInfo', variables]; -; - +export const useAccountInfoQuery = ( + variables: AccountInfoQueryVariables, + options?: UseQueryOptions, +) => + useQuery( + ["AccountInfo", variables], + useFetchData( + AccountInfoDocument, + ).bind(null, variables), + options, + ); + +useAccountInfoQuery.getKey = (variables: AccountInfoQueryVariables) => [ + "AccountInfo", + variables, +]; export const useInfiniteAccountInfoQuery = < - TData = AccountInfoQuery, - TError = unknown - >( - variables: AccountInfoQueryVariables, - options?: UseInfiniteQueryOptions - ) =>{ - const query = useFetchData(AccountInfoDocument) - return useInfiniteQuery( - ['AccountInfo.infinite', variables], - (metaData) => query({...variables, ...(metaData.pageParam ?? {})}), - options - )}; - - -useInfiniteAccountInfoQuery.getKey = (variables: AccountInfoQueryVariables) => ['AccountInfo.infinite', variables]; -; - + TData = AccountInfoQuery, + TError = unknown, +>( + variables: AccountInfoQueryVariables, + options?: UseInfiniteQueryOptions, +) => { + const query = useFetchData( + AccountInfoDocument, + ); + return useInfiniteQuery( + ["AccountInfo.infinite", variables], + (metaData) => query({ ...variables, ...(metaData.pageParam ?? {}) }), + options, + ); +}; + +useInfiniteAccountInfoQuery.getKey = (variables: AccountInfoQueryVariables) => [ + "AccountInfo.infinite", + variables, +]; export const BeginRegistrationDocument = ` mutation BeginRegistration($id: String!) { beginRegistration(id: $id) } `; export const useBeginRegistrationMutation = < - TError = unknown, - TContext = unknown - >(options?: UseMutationOptions) => - useMutation( - ['BeginRegistration'], - useFetchData(BeginRegistrationDocument), - options - ); + TError = unknown, + TContext = unknown, +>( + options?: UseMutationOptions< + BeginRegistrationMutation, + TError, + BeginRegistrationMutationVariables, + TContext + >, +) => + useMutation< + BeginRegistrationMutation, + TError, + BeginRegistrationMutationVariables, + TContext + >( + ["BeginRegistration"], + useFetchData( + BeginRegistrationDocument, + ), + options, + ); export const FinalizeRegistrationDocument = ` mutation FinalizeRegistration($credentials: String!, $network: String!) { finalizeRegistration(credentials: $credentials, network: $network) { @@ -1935,14 +2019,29 @@ export const FinalizeRegistrationDocument = ` } `; export const useFinalizeRegistrationMutation = < - TError = unknown, - TContext = unknown - >(options?: UseMutationOptions) => - useMutation( - ['FinalizeRegistration'], - useFetchData(FinalizeRegistrationDocument), - options - ); + TError = unknown, + TContext = unknown, +>( + options?: UseMutationOptions< + FinalizeRegistrationMutation, + TError, + FinalizeRegistrationMutationVariables, + TContext + >, +) => + useMutation< + FinalizeRegistrationMutation, + TError, + FinalizeRegistrationMutationVariables, + TContext + >( + ["FinalizeRegistration"], + useFetchData< + FinalizeRegistrationMutation, + FinalizeRegistrationMutationVariables + >(FinalizeRegistrationDocument), + options, + ); export const AccountDocument = ` query Account($id: ID!) { account(id: $id) { @@ -1962,68 +2061,91 @@ export const AccountDocument = ` } } `; -export const useAccountQuery = < - TData = AccountQuery, - TError = unknown - >( - variables: AccountQueryVariables, - options?: UseQueryOptions - ) => - useQuery( - ['Account', variables], - useFetchData(AccountDocument).bind(null, variables), - options - ); - -useAccountQuery.getKey = (variables: AccountQueryVariables) => ['Account', variables]; -; - -export const useInfiniteAccountQuery = < - TData = AccountQuery, - TError = unknown - >( - variables: AccountQueryVariables, - options?: UseInfiniteQueryOptions - ) =>{ - const query = useFetchData(AccountDocument) - return useInfiniteQuery( - ['Account.infinite', variables], - (metaData) => query({...variables, ...(metaData.pageParam ?? {})}), - options - )}; - - -useInfiniteAccountQuery.getKey = (variables: AccountQueryVariables) => ['Account.infinite', variables]; -; - +export const useAccountQuery = ( + variables: AccountQueryVariables, + options?: UseQueryOptions, +) => + useQuery( + ["Account", variables], + useFetchData(AccountDocument).bind( + null, + variables, + ), + options, + ); + +useAccountQuery.getKey = (variables: AccountQueryVariables) => [ + "Account", + variables, +]; +export const useInfiniteAccountQuery = ( + variables: AccountQueryVariables, + options?: UseInfiniteQueryOptions, +) => { + const query = useFetchData( + AccountDocument, + ); + return useInfiniteQuery( + ["Account.infinite", variables], + (metaData) => query({ ...variables, ...(metaData.pageParam ?? {}) }), + options, + ); +}; + +useInfiniteAccountQuery.getKey = (variables: AccountQueryVariables) => [ + "Account.infinite", + variables, +]; export const BeginLoginDocument = ` mutation BeginLogin($id: String!) { beginLogin(id: $id) } `; -export const useBeginLoginMutation = < - TError = unknown, - TContext = unknown - >(options?: UseMutationOptions) => - useMutation( - ['BeginLogin'], - useFetchData(BeginLoginDocument), - options - ); +export const useBeginLoginMutation = ( + options?: UseMutationOptions< + BeginLoginMutation, + TError, + BeginLoginMutationVariables, + TContext + >, +) => + useMutation< + BeginLoginMutation, + TError, + BeginLoginMutationVariables, + TContext + >( + ["BeginLogin"], + useFetchData( + BeginLoginDocument, + ), + options, + ); export const FinalizeLoginDocument = ` mutation FinalizeLogin($credentials: String!) { finalizeLogin(credentials: $credentials) } `; -export const useFinalizeLoginMutation = < - TError = unknown, - TContext = unknown - >(options?: UseMutationOptions) => - useMutation( - ['FinalizeLogin'], - useFetchData(FinalizeLoginDocument), - options - ); +export const useFinalizeLoginMutation = ( + options?: UseMutationOptions< + FinalizeLoginMutation, + TError, + FinalizeLoginMutationVariables, + TContext + >, +) => + useMutation< + FinalizeLoginMutation, + TError, + FinalizeLoginMutationVariables, + TContext + >( + ["FinalizeLogin"], + useFetchData( + FinalizeLoginDocument, + ), + options, + ); export const PriceDocument = ` query Price($quote: CurrencyQuote!, $base: CurrencyBase!) { price(quote: $quote, base: $base) { @@ -2032,40 +2154,36 @@ export const PriceDocument = ` } } `; -export const usePriceQuery = < - TData = PriceQuery, - TError = unknown - >( - variables: PriceQueryVariables, - options?: UseQueryOptions - ) => - useQuery( - ['Price', variables], - useFetchData(PriceDocument).bind(null, variables), - options - ); - -usePriceQuery.getKey = (variables: PriceQueryVariables) => ['Price', variables]; -; - -export const useInfinitePriceQuery = < - TData = PriceQuery, - TError = unknown - >( - variables: PriceQueryVariables, - options?: UseInfiniteQueryOptions - ) =>{ - const query = useFetchData(PriceDocument) - return useInfiniteQuery( - ['Price.infinite', variables], - (metaData) => query({...variables, ...(metaData.pageParam ?? {})}), - options - )}; - - -useInfinitePriceQuery.getKey = (variables: PriceQueryVariables) => ['Price.infinite', variables]; -; - +export const usePriceQuery = ( + variables: PriceQueryVariables, + options?: UseQueryOptions, +) => + useQuery( + ["Price", variables], + useFetchData(PriceDocument).bind( + null, + variables, + ), + options, + ); + +usePriceQuery.getKey = (variables: PriceQueryVariables) => ["Price", variables]; +export const useInfinitePriceQuery = ( + variables: PriceQueryVariables, + options?: UseInfiniteQueryOptions, +) => { + const query = useFetchData(PriceDocument); + return useInfiniteQuery( + ["Price.infinite", variables], + (metaData) => query({ ...variables, ...(metaData.pageParam ?? {}) }), + options, + ); +}; + +useInfinitePriceQuery.getKey = (variables: PriceQueryVariables) => [ + "Price.infinite", + variables, +]; export const MeDocument = ` query Me { me { @@ -2073,40 +2191,32 @@ export const MeDocument = ` } } `; -export const useMeQuery = < - TData = MeQuery, - TError = unknown - >( - variables?: MeQueryVariables, - options?: UseQueryOptions - ) => - useQuery( - variables === undefined ? ['Me'] : ['Me', variables], - useFetchData(MeDocument).bind(null, variables), - options - ); - -useMeQuery.getKey = (variables?: MeQueryVariables) => variables === undefined ? ['Me'] : ['Me', variables]; -; - -export const useInfiniteMeQuery = < - TData = MeQuery, - TError = unknown - >( - variables?: MeQueryVariables, - options?: UseInfiniteQueryOptions - ) =>{ - const query = useFetchData(MeDocument) - return useInfiniteQuery( - variables === undefined ? ['Me.infinite'] : ['Me.infinite', variables], - (metaData) => query({...variables, ...(metaData.pageParam ?? {})}), - options - )}; - - -useInfiniteMeQuery.getKey = (variables?: MeQueryVariables) => variables === undefined ? ['Me.infinite'] : ['Me.infinite', variables]; -; - +export const useMeQuery = ( + variables?: MeQueryVariables, + options?: UseQueryOptions, +) => + useQuery( + variables === undefined ? ["Me"] : ["Me", variables], + useFetchData(MeDocument).bind(null, variables), + options, + ); + +useMeQuery.getKey = (variables?: MeQueryVariables) => + variables === undefined ? ["Me"] : ["Me", variables]; +export const useInfiniteMeQuery = ( + variables?: MeQueryVariables, + options?: UseInfiniteQueryOptions, +) => { + const query = useFetchData(MeDocument); + return useInfiniteQuery( + variables === undefined ? ["Me.infinite"] : ["Me.infinite", variables], + (metaData) => query({ ...variables, ...(metaData.pageParam ?? {}) }), + options, + ); +}; + +useInfiniteMeQuery.getKey = (variables?: MeQueryVariables) => + variables === undefined ? ["Me.infinite"] : ["Me.infinite", variables]; export const FetchControllersDocument = ` query FetchControllers($addresses: [String!]!, $first: Int) { accounts(where: {hasControllersWith: [{addressIn: $addresses}]}, first: $first) { @@ -2122,35 +2232,41 @@ export const FetchControllersDocument = ` } `; export const useFetchControllersQuery = < - TData = FetchControllersQuery, - TError = unknown - >( - variables: FetchControllersQueryVariables, - options?: UseQueryOptions - ) => - useQuery( - ['FetchControllers', variables], - useFetchData(FetchControllersDocument).bind(null, variables), - options - ); - -useFetchControllersQuery.getKey = (variables: FetchControllersQueryVariables) => ['FetchControllers', variables]; -; - + TData = FetchControllersQuery, + TError = unknown, +>( + variables: FetchControllersQueryVariables, + options?: UseQueryOptions, +) => + useQuery( + ["FetchControllers", variables], + useFetchData( + FetchControllersDocument, + ).bind(null, variables), + options, + ); + +useFetchControllersQuery.getKey = ( + variables: FetchControllersQueryVariables, +) => ["FetchControllers", variables]; export const useInfiniteFetchControllersQuery = < - TData = FetchControllersQuery, - TError = unknown - >( - variables: FetchControllersQueryVariables, - options?: UseInfiniteQueryOptions - ) =>{ - const query = useFetchData(FetchControllersDocument) - return useInfiniteQuery( - ['FetchControllers.infinite', variables], - (metaData) => query({...variables, ...(metaData.pageParam ?? {})}), - options - )}; - - -useInfiniteFetchControllersQuery.getKey = (variables: FetchControllersQueryVariables) => ['FetchControllers.infinite', variables]; -; + TData = FetchControllersQuery, + TError = unknown, +>( + variables: FetchControllersQueryVariables, + options?: UseInfiniteQueryOptions, +) => { + const query = useFetchData< + FetchControllersQuery, + FetchControllersQueryVariables + >(FetchControllersDocument); + return useInfiniteQuery( + ["FetchControllers.infinite", variables], + (metaData) => query({ ...variables, ...(metaData.pageParam ?? {}) }), + options, + ); +}; + +useInfiniteFetchControllersQuery.getKey = ( + variables: FetchControllersQueryVariables, +) => ["FetchControllers.infinite", variables]; diff --git a/packages/keychain/src/generated/introspection.ts b/packages/keychain/src/generated/introspection.ts index 2e35e933d..22fca2f0b 100644 --- a/packages/keychain/src/generated/introspection.ts +++ b/packages/keychain/src/generated/introspection.ts @@ -1,17 +1,12 @@ - - export interface PossibleTypesResultData { - possibleTypes: { - [key: string]: string[] - } - } - const result: PossibleTypesResultData = { - "possibleTypes": { - "DeploymentConfig": [ - "KatanaConfig", - "SayaConfig", - "ToriiConfig" - ], - "Node": [ +export interface PossibleTypesResultData { + possibleTypes: { + [key: string]: string[]; + }; +} +const result: PossibleTypesResultData = { + possibleTypes: { + DeploymentConfig: ["KatanaConfig", "SayaConfig", "ToriiConfig"], + Node: [ "Account", "AccountTeam", "Controller", @@ -22,9 +17,8 @@ "Service", "Signer", "StripePayments", - "Team" - ] - } + "Team", + ], + }, }; - export default result; - \ No newline at end of file +export default result;