From e3b48c6e3dba1680f0e3a3d394ae5b694364781b Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 15:29:54 -0300 Subject: [PATCH 01/13] chore: add graphql internally on nextjs --- package.json | 2 +- packages/app/.env.example | 2 + packages/app/.gitignore | 1 + packages/app/codegen.schema.ts | 14 + packages/{graphql => app}/codegen.ts | 10 +- packages/app/next-env.d.ts | 1 + packages/app/next.config.mjs | 11 +- packages/app/package.json | 31 +- .../scripts/fix-generated.mjs | 13 +- packages/app/src/graphql/graphql.d.ts | 5 + .../src/graphql}/queries/last-tx.graphql | 0 .../src/graphql/schema.ts} | 23 +- .../src/graphql/schemas/fullschema.graphql | 794 ++ .../extender/delegators/QueryAccounts.ts | 2 +- .../extender/delegators/QueryTokens.ts | 2 +- .../services/extender/extender.graphql | 0 .../src/graphql/services/extender/index.ts | 4 + .../extender/resolvers/Transaction.ts | 2 +- .../resolvers/TransactionConnection.ts | 2 +- .../services/extender/resolvers/index.ts | 0 .../graphql}/services/metadata/custom.graphql | 0 .../services/metadata/data/accounts.json | 0 .../services/metadata/data/tokens.json | 0 .../src/graphql}/services/metadata/index.ts | 0 .../resolvers/Account/QueryAccounts.ts | 0 .../metadata/resolvers/Token/QueryTokens.ts | 0 .../services/metadata/resolvers/index.ts | 0 .../src/graphql}/services/metadata/schema.ts | 5 +- .../src => app/src/graphql}/utils/dayjs.ts | 0 .../src/graphql}/utils/getFieldsValues.ts | 0 .../src/graphql}/utils/graphqlFetch.ts | 0 .../src => app/src/graphql}/utils/index.ts | 1 - packages/app/src/pages/api/graphql.ts | 17 + packages/app/src/systems/Core/utils/client.ts | 5 + .../Transaction/actions/get-last-txs.ts | 4 +- .../Transaction/component/__mocks__/tx.ts | 2 +- packages/app/src/systems/Transaction/types.ts | 2 +- packages/app/src/systems/explerer.ts | 5 - packages/app/tsconfig.json | 10 +- packages/graphql/.env.example | 1 - packages/graphql/README.md | 9 - packages/graphql/graphql.schema.json | 6701 ----------------- packages/graphql/package.json | 58 - packages/graphql/src/bin.ts | 9 - packages/graphql/src/generated/graphql.ts | 1160 --- packages/graphql/src/generated/mocks.ts | 714 -- packages/graphql/src/index.ts | 28 - packages/graphql/src/lib.ts | 4 - .../graphql/src/schemas/fullschema.graphql | 740 -- .../graphql/src/services/extender/index.ts | 8 - .../graphql/src/services/extender/schema.ts | 4 - packages/graphql/src/utils/requireEnv.ts | 12 - packages/graphql/tsconfig.json | 13 - packages/graphql/tsup.config.mjs | 15 - packages/storybook-addon-theme/package.json | 2 +- packages/ui/package.json | 6 +- pnpm-lock.yaml | 1607 ++-- 57 files changed, 1661 insertions(+), 10400 deletions(-) create mode 100644 packages/app/codegen.schema.ts rename packages/{graphql => app}/codegen.ts (75%) rename packages/{graphql => app}/scripts/fix-generated.mjs (58%) create mode 100644 packages/app/src/graphql/graphql.d.ts rename packages/{graphql/src => app/src/graphql}/queries/last-tx.graphql (100%) rename packages/{graphql/src/startGraphql.ts => app/src/graphql/schema.ts} (53%) create mode 100644 packages/app/src/graphql/schemas/fullschema.graphql rename packages/{graphql/src => app/src/graphql}/services/extender/delegators/QueryAccounts.ts (89%) rename packages/{graphql/src => app/src/graphql}/services/extender/delegators/QueryTokens.ts (88%) rename packages/{graphql/src => app/src/graphql}/services/extender/extender.graphql (100%) create mode 100644 packages/app/src/graphql/services/extender/index.ts rename packages/{graphql/src => app/src/graphql}/services/extender/resolvers/Transaction.ts (97%) rename packages/{graphql/src => app/src/graphql}/services/extender/resolvers/TransactionConnection.ts (92%) rename packages/{graphql/src => app/src/graphql}/services/extender/resolvers/index.ts (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/custom.graphql (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/data/accounts.json (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/data/tokens.json (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/index.ts (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/resolvers/Account/QueryAccounts.ts (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/resolvers/Token/QueryTokens.ts (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/resolvers/index.ts (100%) rename packages/{graphql/src => app/src/graphql}/services/metadata/schema.ts (67%) rename packages/{graphql/src => app/src/graphql}/utils/dayjs.ts (100%) rename packages/{graphql/src => app/src/graphql}/utils/getFieldsValues.ts (100%) rename packages/{graphql/src => app/src/graphql}/utils/graphqlFetch.ts (100%) rename packages/{graphql/src => app/src/graphql}/utils/index.ts (69%) create mode 100644 packages/app/src/pages/api/graphql.ts create mode 100644 packages/app/src/systems/Core/utils/client.ts delete mode 100644 packages/app/src/systems/explerer.ts delete mode 100644 packages/graphql/.env.example delete mode 100644 packages/graphql/README.md delete mode 100644 packages/graphql/graphql.schema.json delete mode 100644 packages/graphql/package.json delete mode 100644 packages/graphql/src/bin.ts delete mode 100644 packages/graphql/src/generated/graphql.ts delete mode 100644 packages/graphql/src/generated/mocks.ts delete mode 100644 packages/graphql/src/index.ts delete mode 100644 packages/graphql/src/lib.ts delete mode 100644 packages/graphql/src/schemas/fullschema.graphql delete mode 100644 packages/graphql/src/services/extender/index.ts delete mode 100644 packages/graphql/src/services/extender/schema.ts delete mode 100644 packages/graphql/src/utils/requireEnv.ts delete mode 100644 packages/graphql/tsconfig.json delete mode 100644 packages/graphql/tsup.config.mjs diff --git a/package.json b/package.json index 1ca1738d1..39b6cf679 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@swc/core": "1.3.89", "@swc/jest": "0.2.29", "@types/jest": "29.5.5", - "@types/node": "20.6.5", + "@types/node": "20.7.0", "deepmerge-json": "1.5.0", "@next/eslint-plugin-next": "^13.5.3", "@typescript-eslint/eslint-plugin": "^6.7.3", diff --git a/packages/app/.env.example b/packages/app/.env.example index efd85eb1d..cd4e00978 100644 --- a/packages/app/.env.example +++ b/packages/app/.env.example @@ -1,2 +1,4 @@ GRAPHQL_API=http://beta-4.fuel.network/graphql +FUEL_PROVIDER_URL=http://beta-4.fuel.network/graphql + diff --git a/packages/app/.gitignore b/packages/app/.gitignore index 371b45136..884dd54c1 100644 --- a/packages/app/.gitignore +++ b/packages/app/.gitignore @@ -1,2 +1,3 @@ public/storybook public/ui +src/graphql/generated diff --git a/packages/app/codegen.schema.ts b/packages/app/codegen.schema.ts new file mode 100644 index 000000000..c74f4b141 --- /dev/null +++ b/packages/app/codegen.schema.ts @@ -0,0 +1,14 @@ +import type { CodegenConfig } from '@graphql-codegen/cli'; + +const config: CodegenConfig = { + schema: 'http://localhost:3000/api/graphql', + generates: { + './src/graphql/schemas/fullschema.graphql': { + plugins: ['schema-ast'], + config: { + includeDirectives: true, + }, + }, + }, +}; +export default config; diff --git a/packages/graphql/codegen.ts b/packages/app/codegen.ts similarity index 75% rename from packages/graphql/codegen.ts rename to packages/app/codegen.ts index 43c39b96d..39b956594 100644 --- a/packages/graphql/codegen.ts +++ b/packages/app/codegen.ts @@ -2,10 +2,10 @@ import type { CodegenConfig } from '@graphql-codegen/cli'; const config: CodegenConfig = { overwrite: true, - schema: 'http://localhost:4444/graphql', - documents: ['./src/queries/**.graphql'], + schema: './src/graphql/schemas/fullschema.graphql', + documents: ['./src/graphql/queries/**.graphql'], generates: { - 'src/generated/graphql.ts': { + 'src/graphql/generated/types.ts': { plugins: [ 'typescript', 'typescript-operations', @@ -17,11 +17,11 @@ const config: CodegenConfig = { useTypeImports: true, }, }, - 'src/generated/mocks.ts': { + 'src/graphql/generated/mocks.ts': { plugins: ['typescript-mock-data'], config: { addTypename: true, - typesFile: './graphql.ts', + typesFile: './types.ts', typesNames: 'keep', scalars: { Tai64Timestamp: 'unix_time', diff --git a/packages/app/next-env.d.ts b/packages/app/next-env.d.ts index 4f11a03dc..fd36f9494 100644 --- a/packages/app/next-env.d.ts +++ b/packages/app/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +/// // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/packages/app/next.config.mjs b/packages/app/next.config.mjs index bd8b33adb..fd93de56c 100644 --- a/packages/app/next.config.mjs +++ b/packages/app/next.config.mjs @@ -19,7 +19,7 @@ const config = { ? [ { source: '/graphql', - destination: process.env.GRAPHQL_API, + destination: '/api/graphql', }, ] : []; @@ -38,6 +38,15 @@ const config = { }, ]; }, + webpack: (config) => { + config.module.rules.push({ + test: /\.(graphql|gql)/, + exclude: /node_modules/, + loader: 'graphql-tag/loader', + }); + + return config; + }, }; export default config; diff --git a/packages/app/package.json b/packages/app/package.json index eb3bfa68e..fabc445b1 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -5,20 +5,29 @@ "scripts": { "build": "next build", "build:storybook": "./scripts/build-storybook.sh", - "build:preview": "run-s build:storybook build", + "build:preview": "run-s codegen build:storybook build", "dev": "next dev", "dev:storybook": "storybook dev -p 6007", "start": "next start", "test": "jest --verbose --passWithNoTests", - "ts:check": "tsc --noEmit" + "ts:check": "tsc --noEmit", + "codegen": "gql-gen --config codegen.ts", + "codegen:schema": "gql-gen --config codegen.schema.ts", + "fix:generated": "node ./scripts/fix-generated.mjs", + "prepare": "pnpm codegen" }, "dependencies": { "@fontsource-variable/inter": "5.0.8", - "@fuel-explorer/graphql": "workspace:*", "@fuel-ts/math": "0.59.0", "@fuel-wallet/sdk": "0.13.0", "@fuels/assets": "0.0.11", "@fuels/ui": "workspace:*", + "@graphql-tools/delegate": "^10.0.3", + "@graphql-tools/load": "^8.0.0", + "@graphql-tools/schema": "^10.0.0", + "@graphql-tools/stitch": "^9.0.3", + "@graphql-tools/url-loader": "^8.0.0", + "@graphql-tools/utils": "^10.0.6", "@tabler/icons-react": "2.35.0", "@tanstack/react-query": "4.35.3", "clsx": "2.0.0", @@ -26,10 +35,14 @@ "dayjs": "1.11.10", "framer-motion": "10.16.4", "fuels": "0.59.0", + "graphql": "16.8.1", "graphql-request": "6.1.0", + "graphql-tag": "2.12.6", + "graphql-yoga": "4.0.4", "next": "13.5.3", "react": "18.2.0", "react-dom": "18.2.0", + "tai64": "1.0.0", "tailwind-merge": "1.14.0", "tailwind-variants": "0.1.14", "zod": "3.22.2", @@ -37,6 +50,12 @@ }, "devDependencies": { "@babel/core": "^7.23.0", + "@graphql-codegen/cli": "5.0.0", + "@graphql-codegen/introspection": "4.0.0", + "@graphql-codegen/schema-ast": "4.0.0", + "@graphql-codegen/typescript": "4.0.1", + "@graphql-codegen/typescript-graphql-request": "6.0.0", + "@graphql-codegen/typescript-operations": "4.0.1", "@storybook/addon-a11y": "^7.4.5", "@storybook/addon-actions": "^7.4.5", "@storybook/addon-essentials": "^7.4.5", @@ -51,11 +70,13 @@ "@storybook/types": "^7.4.5", "@testing-library/dom": "9.3.3", "@testing-library/jest-dom": "6.1.3", - "@types/node": "20.6.5", - "@types/react": "^18.2.22", + "@types/node": "20.7.0", + "@types/react": "^18.2.23", "@types/react-dom": "^18.2.7", "@xstate/cli": "^0.5.2", "autoprefixer": "10.4.16", + "graphql-codegen-typescript-common": "0.18.2", + "graphql-codegen-typescript-mock-data": "3.5.0", "postcss": "8.4.30", "postcss-import": "15.1.0", "radix-ui-themes-with-tailwind": "1.2.6", diff --git a/packages/graphql/scripts/fix-generated.mjs b/packages/app/scripts/fix-generated.mjs similarity index 58% rename from packages/graphql/scripts/fix-generated.mjs rename to packages/app/scripts/fix-generated.mjs index 50b24b645..becac6a7e 100644 --- a/packages/graphql/scripts/fix-generated.mjs +++ b/packages/app/scripts/fix-generated.mjs @@ -3,21 +3,22 @@ import path from 'node:path'; import * as url from 'url'; const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); +const TYPES_FILE = path.resolve(__dirname, '../src/graphql/generated/types.ts'); +const MOCKS_FILE = path.resolve(__dirname, '../src/graphql/generated/mocks.ts'); async function types() { - const filepath = path.resolve(__dirname, '../src/generated/graphql.ts'); - let file = await fs.readFile(filepath, 'utf-8'); + let file = await fs.readFile(TYPES_FILE, 'utf-8'); file = file.replace('returnType: ReturnType', 'returnType: _ReturnType'); file = file.replace('export enum ReturnType {', 'export enum _ReturnType {'); file = file.replace('Dom.Headers', 'any'); - await fs.writeFile(filepath, file, 'utf-8'); + file = file.replace('GraphQLError', 'any'); + await fs.writeFile(TYPES_FILE, file, 'utf-8'); } async function mocks() { - const filepath = path.resolve(__dirname, '../src/generated/mocks.ts'); - let file = await fs.readFile(filepath, 'utf-8'); + let file = await fs.readFile(MOCKS_FILE, 'utf-8'); file = file.replace(', ReturnType, ', ', _ReturnType as ReturnType, '); - await fs.writeFile(filepath, file, 'utf-8'); + await fs.writeFile(MOCKS_FILE, file, 'utf-8'); } async function main() { diff --git a/packages/app/src/graphql/graphql.d.ts b/packages/app/src/graphql/graphql.d.ts new file mode 100644 index 000000000..a7eac6db2 --- /dev/null +++ b/packages/app/src/graphql/graphql.d.ts @@ -0,0 +1,5 @@ +declare module '*.graphql' { + import type { DocumentNode } from 'graphql'; + const Schema: DocumentNode; + export = Schema; +} diff --git a/packages/graphql/src/queries/last-tx.graphql b/packages/app/src/graphql/queries/last-tx.graphql similarity index 100% rename from packages/graphql/src/queries/last-tx.graphql rename to packages/app/src/graphql/queries/last-tx.graphql diff --git a/packages/graphql/src/startGraphql.ts b/packages/app/src/graphql/schema.ts similarity index 53% rename from packages/graphql/src/startGraphql.ts rename to packages/app/src/graphql/schema.ts index d64e9e8e9..d91bb8405 100644 --- a/packages/graphql/src/startGraphql.ts +++ b/packages/app/src/graphql/schema.ts @@ -1,13 +1,14 @@ import { loadSchema } from '@graphql-tools/load'; import { stitchSchemas } from '@graphql-tools/stitch'; import { UrlLoader } from '@graphql-tools/url-loader'; -import type { Application } from 'express'; -import { createHandler } from 'graphql-http/lib/use/express'; -import { ExtenderResolvers, ExtenderTypeDefs } from '~/services/extender'; -import { metadataSchema } from '~/services/metadata/schema'; -import { createGraphqlFetch } from '~/utils'; +import { + ExtenderResolvers, + ExtenderTypeDefs, +} from '~/graphql/services/extender'; +import { metadataSchema } from '~/graphql/services/metadata/schema'; +import { createGraphqlFetch } from '~/graphql/utils'; -async function createSchema(fuelCoreGraphql: string) { +export async function createSchema(fuelCoreGraphql: string) { return stitchSchemas({ subschemas: [ { @@ -26,13 +27,3 @@ async function createSchema(fuelCoreGraphql: string) { resolvers: ExtenderResolvers, }); } - -export async function startGraphql(fuelCoreGraphql: string, app: Application) { - const schema = await createSchema(fuelCoreGraphql); - app.post( - '/graphql', - createHandler({ - schema, - }), - ); -} diff --git a/packages/app/src/graphql/schemas/fullschema.graphql b/packages/app/src/graphql/schemas/fullschema.graphql new file mode 100644 index 000000000..50efeab0f --- /dev/null +++ b/packages/app/src/graphql/schemas/fullschema.graphql @@ -0,0 +1,794 @@ +schema { + query: Query + mutation: Mutation + subscription: Subscription +} + +type Account { + address: String! + name: String! + url: String +} + +scalar Address + +scalar AssetId + +type Balance { + amount: U64! + assetId: AssetId! + owner: Address! +} + +type BalanceConnection { + """A list of edges.""" + edges: [BalanceEdge!]! + """A list of nodes.""" + nodes: [Balance!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type BalanceEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Balance! +} + +input BalanceFilterInput { + """Filter coins based on the `owner` field""" + owner: Address! +} + +type Block { + consensus: Consensus! + header: Header! + id: BlockId! + transactions: [Transaction!]! +} + +type BlockConnection { + """A list of edges.""" + edges: [BlockEdge!]! + """A list of nodes.""" + nodes: [Block!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type BlockEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Block! +} + +scalar BlockId + +scalar Bytes32 + +type ChainInfo { + baseChainHeight: U32! + consensusParameters: ConsensusParameters! + gasCosts: GasCosts! + latestBlock: Block! + name: String! + peerCount: Int! +} + +type ChangeOutput { + amount: U64! + assetId: AssetId! + to: Address! +} + +type Coin { + amount: U64! + assetId: AssetId! + """TxPointer - the height of the block this coin was created in""" + blockCreated: U32! + maturity: U32! + owner: Address! + """TxPointer - the index of the transaction that created this coin""" + txCreatedIdx: U64! + utxoId: UtxoId! +} + +type CoinConnection { + """A list of edges.""" + edges: [CoinEdge!]! + """A list of nodes.""" + nodes: [Coin!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type CoinEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Coin! +} + +input CoinFilterInput { + """Returns coins only with `asset_id`.""" + assetId: AssetId + """Returns coins owned by the `owner`.""" + owner: Address! +} + +type CoinOutput { + amount: U64! + assetId: AssetId! + to: Address! +} + +"""The schema analog of the [`coins::CoinType`].""" +union CoinType = Coin | MessageCoin + +union Consensus = Genesis | PoAConsensus + +type ConsensusParameters { + chainId: U64! + contractMaxSize: U64! + gasPerByte: U64! + gasPriceFactor: U64! + maxGasPerPredicate: U64! + maxGasPerTx: U64! + maxInputs: U64! + maxMessageDataLength: U64! + maxOutputs: U64! + maxPredicateDataLength: U64! + maxPredicateLength: U64! + maxScriptDataLength: U64! + maxScriptLength: U64! + maxStorageSlots: U64! + maxWitnesses: U64! +} + +type Contract { + bytecode: HexString! + id: ContractId! + salt: Salt! +} + +type ContractBalance { + amount: U64! + assetId: AssetId! + contract: ContractId! +} + +type ContractBalanceConnection { + """A list of edges.""" + edges: [ContractBalanceEdge!]! + """A list of nodes.""" + nodes: [ContractBalance!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type ContractBalanceEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: ContractBalance! +} + +input ContractBalanceFilterInput { + """Filter assets based on the `contractId` field""" + contract: ContractId! +} + +type ContractCreated { + contract: Contract! + stateRoot: Bytes32! +} + +scalar ContractId + +type ContractOutput { + balanceRoot: Bytes32! + inputIndex: Int! + stateRoot: Bytes32! +} + +type DependentCost { + base: U64! + depPerUnit: U64! +} + +input ExcludeInput { + """Messages to exclude from the selection.""" + messages: [Nonce!]! + """Utxos to exclude from the selection.""" + utxos: [UtxoId!]! +} + +type FailureStatus { + block: Block! + programState: ProgramState + reason: String! + time: Tai64Timestamp! +} + +type GasCosts { + add: U64! + addi: U64! + aloc: U64! + and: U64! + andi: U64! + bal: U64! + bhei: U64! + bhsh: U64! + burn: U64! + call: DependentCost! + cb: U64! + ccp: DependentCost! + cfei: U64! + cfsi: U64! + croo: U64! + csiz: DependentCost! + div: U64! + divi: U64! + eck1: U64! + ecr1: U64! + ed19: U64! + eq: U64! + exp: U64! + expi: U64! + flag: U64! + gm: U64! + gt: U64! + gtf: U64! + ji: U64! + jmp: U64! + jmpb: U64! + jmpf: U64! + jne: U64! + jneb: U64! + jnef: U64! + jnei: U64! + jnzb: U64! + jnzf: U64! + jnzi: U64! + k256: U64! + lb: U64! + ldc: DependentCost! + log: U64! + logd: DependentCost! + lt: U64! + lw: U64! + mcl: DependentCost! + mcli: DependentCost! + mcp: DependentCost! + mcpi: U64! + meq: DependentCost! + mint: U64! + mldv: U64! + mlog: U64! + modOp: U64! + modi: U64! + moveOp: U64! + movi: U64! + mroo: U64! + mul: U64! + muli: U64! + noop: U64! + not: U64! + or: U64! + ori: U64! + ret: U64! + retd: DependentCost! + rvrt: U64! + s256: U64! + sb: U64! + scwq: U64! + sll: U64! + slli: U64! + smo: DependentCost! + srl: U64! + srli: U64! + srw: U64! + srwq: DependentCost! + sub: U64! + subi: U64! + sw: U64! + sww: U64! + swwq: U64! + time: U64! + tr: U64! + tro: U64! + wdam: U64! + wdcm: U64! + wddv: U64! + wdmd: U64! + wdml: U64! + wdmm: U64! + wdop: U64! + wqam: U64! + wqcm: U64! + wqdv: U64! + wqmd: U64! + wqml: U64! + wqmm: U64! + wqop: U64! + xor: U64! + xori: U64! +} + +type Genesis { + """ + The chain configs define what consensus type to use, what settlement layer to use, + rules of block validity, etc. + """ + chainConfigHash: Bytes32! + """The Binary Merkle Tree root of all genesis coins.""" + coinsRoot: Bytes32! + """ + The Binary Merkle Tree root of state, balances, contracts code hash of each contract. + """ + contractsRoot: Bytes32! + """The Binary Merkle Tree root of all genesis messages.""" + messagesRoot: Bytes32! +} + +type Header { + """Hash of the application header.""" + applicationHash: Bytes32! + """ + The layer 1 height of messages and events to include since the last layer 1 block number. + """ + daHeight: U64! + """Fuel block height.""" + height: U32! + """Hash of the header""" + id: BlockId! + """Number of message receipts in this block.""" + messageReceiptCount: U64! + """Merkle root of message receipts in this block.""" + messageReceiptRoot: Bytes32! + """Merkle root of all previous block header hashes.""" + prevRoot: Bytes32! + """The block producer time.""" + time: Tai64Timestamp! + """Number of transactions in this block.""" + transactionsCount: U64! + """Merkle root of transactions.""" + transactionsRoot: Bytes32! +} + +scalar HexString + +union Input = InputCoin | InputContract | InputMessage + +type InputCoin { + amount: U64! + assetId: AssetId! + maturity: U32! + owner: Address! + predicate: HexString! + predicateData: HexString! + predicateGasUsed: U64! + txPointer: TxPointer! + utxoId: UtxoId! + witnessIndex: Int! +} + +type InputContract { + balanceRoot: Bytes32! + contract: Contract! + stateRoot: Bytes32! + txPointer: TxPointer! + utxoId: UtxoId! +} + +type InputMessage { + amount: U64! + data: HexString! + nonce: Nonce! + predicate: HexString! + predicateData: HexString! + predicateGasUsed: U64! + recipient: Address! + sender: Address! + witnessIndex: Int! +} + +type MerkleProof { + proofIndex: U64! + proofSet: [Bytes32!]! +} + +type Message { + amount: U64! + daHeight: U64! + data: HexString! + nonce: Nonce! + recipient: Address! + sender: Address! +} + +type MessageCoin { + amount: U64! + assetId: AssetId! + daHeight: U64! + nonce: Nonce! + recipient: Address! + sender: Address! +} + +type MessageConnection { + """A list of edges.""" + edges: [MessageEdge!]! + """A list of nodes.""" + nodes: [Message!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type MessageEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Message! +} + +scalar MessageId + +type MessageProof { + amount: U64! + blockProof: MerkleProof! + commitBlockHeader: Header! + data: HexString! + messageBlockHeader: Header! + messageProof: MerkleProof! + nonce: Nonce! + recipient: Address! + sender: Address! +} + +type Mutation { + """ + Execute a dry-run of the transaction using a fork of current state, no changes are committed. + """ + dryRun(tx: HexString!, utxoValidation: Boolean): [Receipt!]! + """ + Sequentially produces `blocks_to_produce` blocks. The first block starts with + `start_timestamp`. If the block production in the [`crate::service::Config`] is + `Trigger::Interval { block_time }`, produces blocks with `block_time ` intervals between + them. The `start_timestamp` is the timestamp in seconds. + """ + produceBlocks(blocksToProduce: U64!, startTimestamp: Tai64Timestamp): U32! + """ + Submits transaction to the `TxPool`. + + Returns submitted transaction if the transaction is included in the `TxPool` without problems. + """ + submit(tx: HexString!): Transaction! +} + +type NodeInfo { + maxDepth: U64! + maxTx: U64! + minGasPrice: U64! + nodeVersion: String! + utxoValidation: Boolean! + vmBacktrace: Boolean! +} + +scalar Nonce + +union Output = ChangeOutput | CoinOutput | ContractCreated | ContractOutput | VariableOutput + +"""Information about pagination in a connection""" +type PageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +type ParsedTime { + fromNow: String + full: String + rawTai64: String + rawUnix: String +} + +type PoAConsensus { + """Gets the signature of the block produced by `PoA` consensus.""" + signature: Signature! +} + +type ProgramState { + data: HexString! + returnType: ReturnType! +} + +type Query { + accounts(addresses: [String]!): [Account!]! + balance( + """asset_id of the coin""" + assetId: AssetId! + """address of the owner""" + owner: Address! + ): Balance! + balances(after: String, before: String, filter: BalanceFilterInput!, first: Int, last: Int): BalanceConnection! + block( + """Height of the block""" + height: U64 + """ID of the block""" + id: BlockId + ): Block + blocks(after: String, before: String, first: Int, last: Int): BlockConnection! + chain: ChainInfo! + """Gets the coin by `utxo_id`.""" + coin( + """The ID of the coin""" + utxoId: UtxoId! + ): Coin + """ + Gets all unspent coins of some `owner` maybe filtered with by `asset_id` per page. + """ + coins(after: String, before: String, filter: CoinFilterInput!, first: Int, last: Int): CoinConnection! + """ + For each `query_per_asset`, get some spendable coins(of asset specified by the query) owned by + `owner` that add up at least the query amount. The returned coins can be spent. + The number of coins is optimized to prevent dust accumulation. + + The query supports excluding and maximum the number of coins. + + Returns: + The list of spendable coins per asset from the query. The length of the result is + the same as the length of `query_per_asset`. The ordering of assets and `query_per_asset` + is the same. + """ + coinsToSpend( + """The excluded coins from the selection.""" + excludedIds: ExcludeInput + """The `Address` of the coins owner.""" + owner: Address! + """ + The list of requested assets` coins with asset ids, `target` amount the user wants to reach, and the `max` number of coins in the selection. Several entries with the same asset id are not allowed. + """ + queryPerAsset: [SpendQueryElementInput!]! + ): [[CoinType!]!]! + contract( + """ID of the Contract""" + id: ContractId! + ): Contract + contractBalance(asset: AssetId!, contract: ContractId!): ContractBalance! + contractBalances(after: String, before: String, filter: ContractBalanceFilterInput!, first: Int, last: Int): ContractBalanceConnection! + """Estimate the predicate gas for the provided transaction""" + estimatePredicates(tx: HexString!): Transaction! + """Returns true when the GraphQL API is serving requests.""" + health: Boolean! + messageProof(commitBlockHeight: U32, commitBlockId: BlockId, messageId: MessageId!, transactionId: TransactionId!): MessageProof + messages( + after: String + before: String + first: Int + last: Int + """address of the owner""" + owner: Address + ): MessageConnection! + nodeInfo: NodeInfo! + tokens(assetsId: [String]!): [Token!]! + transaction( + """The ID of the transaction""" + id: TransactionId! + ): Transaction + transactions(after: String, before: String, first: Int, last: Int): TransactionConnection! + transactionsByOwner(after: String, before: String, first: Int, last: Int, owner: Address!): TransactionConnection! +} + +type Receipt { + amount: U64 + assetId: AssetId + contract: Contract + contractId: ContractId + data: HexString + digest: Bytes32 + gas: U64 + gasUsed: U64 + is: U64 + len: U64 + nonce: Nonce + param1: U64 + param2: U64 + pc: U64 + ptr: U64 + ra: U64 + rb: U64 + rc: U64 + rd: U64 + reason: U64 + receiptType: ReceiptType! + recipient: Address + result: U64 + sender: Address + subId: Bytes32 + to: Contract + toAddress: Address + val: U64 +} + +enum ReceiptType { + BURN + CALL + LOG + LOG_DATA + MESSAGE_OUT + MINT + PANIC + RETURN + RETURN_DATA + REVERT + SCRIPT_RESULT + TRANSFER + TRANSFER_OUT +} + +enum ReturnType { + RETURN + RETURN_DATA + REVERT +} + +scalar Salt + +scalar Signature + +input SpendQueryElementInput { + """Target amount for the query.""" + amount: U64! + """Identifier of the asset to spend.""" + assetId: AssetId! + """The maximum number of currencies for selection.""" + max: U64 +} + +type SqueezedOutStatus { + reason: String! +} + +type SubmittedStatus { + time: Tai64Timestamp! +} + +type Subscription { + """ + Returns a stream of status updates for the given transaction id. + If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`] + or [`TransactionStatus::Failed`] the stream will return that and end immediately. + If the current status is [`TransactionStatus::Submitted`] this will be returned + and the stream will wait for a future update. + + This stream will wait forever so it's advised to use within a timeout. + + It is possible for the stream to miss an update if it is polled slower + then the updates arrive. In such a case the stream will close without + a status. If this occurs the stream can simply be restarted to return + the latest status. + """ + statusChange( + """The ID of the transaction""" + id: TransactionId! + ): TransactionStatus! + """ + Submits transaction to the `TxPool` and await either confirmation or failure. + """ + submitAndAwait(tx: HexString!): TransactionStatus! +} + +type SuccessStatus { + block: Block! + programState: ProgramState + time: Tai64Timestamp! +} + +scalar Tai64Timestamp + +type Token { + assetId: String! + decimals: U64! + name: String! + symbol: String! + totalAssets: U64 + totalSupply: U64 + url: String +} + +type Transaction { + blockHeight: String + bytecodeLength: U64 + bytecodeWitnessIndex: Int + gasLimit: U64 + gasPrice: U64 + gasUsed: U64 + id: TransactionId! + inputAssetIds: [AssetId!] + inputContracts: [Contract!] + inputs: [Input!] + isCreate: Boolean! + isMint: Boolean! + isScript: Boolean! + maturity: U32 + outputs: [Output!]! + """Return the transaction bytes using canonical encoding""" + rawPayload: HexString! + receipts: [Receipt!] + receiptsRoot: Bytes32 + salt: Salt + script: HexString + scriptData: HexString + status: TransactionStatus + statusType: TransactionStatusType + storageSlots: [HexString!] + time: ParsedTime + title: TransactionTitle + totalAccounts: Int + totalAssets: Int + totalOperations: Int + txPointer: TxPointer + witnesses: [HexString!] +} + +type TransactionConnection { + accounts: [Account] + """A list of edges.""" + edges: [TransactionEdge!]! + """A list of nodes.""" + nodes: [Transaction!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! + tokens: [Token] +} + +"""An edge in a connection.""" +type TransactionEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Transaction! +} + +scalar TransactionId + +union TransactionStatus = FailureStatus | SqueezedOutStatus | SubmittedStatus | SuccessStatus + +enum TransactionStatusType { + Failure + Submitted + Success +} + +enum TransactionTitle { + Burn + ContractCall + Mint +} + +scalar TxPointer + +scalar U32 + +scalar U64 + +scalar UtxoId + +type VariableOutput { + amount: U64! + assetId: AssetId! + to: Address! +} \ No newline at end of file diff --git a/packages/graphql/src/services/extender/delegators/QueryAccounts.ts b/packages/app/src/graphql/services/extender/delegators/QueryAccounts.ts similarity index 89% rename from packages/graphql/src/services/extender/delegators/QueryAccounts.ts rename to packages/app/src/graphql/services/extender/delegators/QueryAccounts.ts index 01a6a73e8..43c7001d6 100644 --- a/packages/graphql/src/services/extender/delegators/QueryAccounts.ts +++ b/packages/app/src/graphql/services/extender/delegators/QueryAccounts.ts @@ -2,7 +2,7 @@ import { delegateToSchema } from '@graphql-tools/delegate'; import type { GraphQLResolveInfo } from 'graphql'; import { OperationTypeNode } from 'graphql'; -import { metadataSchema } from '~/services/metadata'; +import { metadataSchema } from '~/graphql/services/metadata'; export function delegateQueryAccounts( addresses: Array, diff --git a/packages/graphql/src/services/extender/delegators/QueryTokens.ts b/packages/app/src/graphql/services/extender/delegators/QueryTokens.ts similarity index 88% rename from packages/graphql/src/services/extender/delegators/QueryTokens.ts rename to packages/app/src/graphql/services/extender/delegators/QueryTokens.ts index fb9db3e3c..ef5f656c1 100644 --- a/packages/graphql/src/services/extender/delegators/QueryTokens.ts +++ b/packages/app/src/graphql/services/extender/delegators/QueryTokens.ts @@ -2,7 +2,7 @@ import { delegateToSchema } from '@graphql-tools/delegate'; import type { GraphQLResolveInfo } from 'graphql'; import { OperationTypeNode } from 'graphql'; -import { metadataSchema } from '~/services/metadata'; +import { metadataSchema } from '~/graphql/services/metadata'; export function delegateQueryTokens( assetsId: Array, diff --git a/packages/graphql/src/services/extender/extender.graphql b/packages/app/src/graphql/services/extender/extender.graphql similarity index 100% rename from packages/graphql/src/services/extender/extender.graphql rename to packages/app/src/graphql/services/extender/extender.graphql diff --git a/packages/app/src/graphql/services/extender/index.ts b/packages/app/src/graphql/services/extender/index.ts new file mode 100644 index 000000000..a16136bb6 --- /dev/null +++ b/packages/app/src/graphql/services/extender/index.ts @@ -0,0 +1,4 @@ +import * as typeDefs from './extender.graphql'; + +export * as ExtenderResolvers from './resolvers'; +export const ExtenderTypeDefs = typeDefs; diff --git a/packages/graphql/src/services/extender/resolvers/Transaction.ts b/packages/app/src/graphql/services/extender/resolvers/Transaction.ts similarity index 97% rename from packages/graphql/src/services/extender/resolvers/Transaction.ts rename to packages/app/src/graphql/services/extender/resolvers/Transaction.ts index c55ee42ca..1c99e65a3 100644 --- a/packages/graphql/src/services/extender/resolvers/Transaction.ts +++ b/packages/app/src/graphql/services/extender/resolvers/Transaction.ts @@ -1,6 +1,6 @@ import { bn } from '@fuel-ts/math'; import type { IResolvers } from '@graphql-tools/utils'; -import { tai64toDate } from '~/utils/dayjs'; +import { tai64toDate } from '~/graphql/utils/dayjs'; export const Transaction: IResolvers = { title: { diff --git a/packages/graphql/src/services/extender/resolvers/TransactionConnection.ts b/packages/app/src/graphql/services/extender/resolvers/TransactionConnection.ts similarity index 92% rename from packages/graphql/src/services/extender/resolvers/TransactionConnection.ts rename to packages/app/src/graphql/services/extender/resolvers/TransactionConnection.ts index 2d5371700..d196b1728 100644 --- a/packages/graphql/src/services/extender/resolvers/TransactionConnection.ts +++ b/packages/app/src/graphql/services/extender/resolvers/TransactionConnection.ts @@ -1,5 +1,5 @@ import type { IResolvers } from '@graphql-tools/utils'; -import { getFieldsValues, removeDuplicates } from '~/utils'; +import { getFieldsValues, removeDuplicates } from '~/graphql/utils'; import { delegateQueryAccounts } from '../delegators/QueryAccounts'; import { delegateQueryTokens } from '../delegators/QueryTokens'; diff --git a/packages/graphql/src/services/extender/resolvers/index.ts b/packages/app/src/graphql/services/extender/resolvers/index.ts similarity index 100% rename from packages/graphql/src/services/extender/resolvers/index.ts rename to packages/app/src/graphql/services/extender/resolvers/index.ts diff --git a/packages/graphql/src/services/metadata/custom.graphql b/packages/app/src/graphql/services/metadata/custom.graphql similarity index 100% rename from packages/graphql/src/services/metadata/custom.graphql rename to packages/app/src/graphql/services/metadata/custom.graphql diff --git a/packages/graphql/src/services/metadata/data/accounts.json b/packages/app/src/graphql/services/metadata/data/accounts.json similarity index 100% rename from packages/graphql/src/services/metadata/data/accounts.json rename to packages/app/src/graphql/services/metadata/data/accounts.json diff --git a/packages/graphql/src/services/metadata/data/tokens.json b/packages/app/src/graphql/services/metadata/data/tokens.json similarity index 100% rename from packages/graphql/src/services/metadata/data/tokens.json rename to packages/app/src/graphql/services/metadata/data/tokens.json diff --git a/packages/graphql/src/services/metadata/index.ts b/packages/app/src/graphql/services/metadata/index.ts similarity index 100% rename from packages/graphql/src/services/metadata/index.ts rename to packages/app/src/graphql/services/metadata/index.ts diff --git a/packages/graphql/src/services/metadata/resolvers/Account/QueryAccounts.ts b/packages/app/src/graphql/services/metadata/resolvers/Account/QueryAccounts.ts similarity index 100% rename from packages/graphql/src/services/metadata/resolvers/Account/QueryAccounts.ts rename to packages/app/src/graphql/services/metadata/resolvers/Account/QueryAccounts.ts diff --git a/packages/graphql/src/services/metadata/resolvers/Token/QueryTokens.ts b/packages/app/src/graphql/services/metadata/resolvers/Token/QueryTokens.ts similarity index 100% rename from packages/graphql/src/services/metadata/resolvers/Token/QueryTokens.ts rename to packages/app/src/graphql/services/metadata/resolvers/Token/QueryTokens.ts diff --git a/packages/graphql/src/services/metadata/resolvers/index.ts b/packages/app/src/graphql/services/metadata/resolvers/index.ts similarity index 100% rename from packages/graphql/src/services/metadata/resolvers/index.ts rename to packages/app/src/graphql/services/metadata/resolvers/index.ts diff --git a/packages/graphql/src/services/metadata/schema.ts b/packages/app/src/graphql/services/metadata/schema.ts similarity index 67% rename from packages/graphql/src/services/metadata/schema.ts rename to packages/app/src/graphql/services/metadata/schema.ts index 1fffcb8a9..8f9d11d40 100644 --- a/packages/graphql/src/services/metadata/schema.ts +++ b/packages/app/src/graphql/services/metadata/schema.ts @@ -1,11 +1,10 @@ import { makeExecutableSchema } from '@graphql-tools/schema'; -import { readFileSync } from 'fs'; -import { join } from 'path'; +import typeDefs from './custom.graphql'; import { QueryTokens, QueryAccounts } from './resolvers'; export const metadataSchema = makeExecutableSchema({ - typeDefs: readFileSync(join(__dirname, './custom.graphql'), 'utf-8'), + typeDefs, resolvers: { Query: { tokens: QueryTokens, diff --git a/packages/graphql/src/utils/dayjs.ts b/packages/app/src/graphql/utils/dayjs.ts similarity index 100% rename from packages/graphql/src/utils/dayjs.ts rename to packages/app/src/graphql/utils/dayjs.ts diff --git a/packages/graphql/src/utils/getFieldsValues.ts b/packages/app/src/graphql/utils/getFieldsValues.ts similarity index 100% rename from packages/graphql/src/utils/getFieldsValues.ts rename to packages/app/src/graphql/utils/getFieldsValues.ts diff --git a/packages/graphql/src/utils/graphqlFetch.ts b/packages/app/src/graphql/utils/graphqlFetch.ts similarity index 100% rename from packages/graphql/src/utils/graphqlFetch.ts rename to packages/app/src/graphql/utils/graphqlFetch.ts diff --git a/packages/graphql/src/utils/index.ts b/packages/app/src/graphql/utils/index.ts similarity index 69% rename from packages/graphql/src/utils/index.ts rename to packages/app/src/graphql/utils/index.ts index b9f06894f..c6e5b706f 100644 --- a/packages/graphql/src/utils/index.ts +++ b/packages/app/src/graphql/utils/index.ts @@ -1,3 +1,2 @@ export * from './graphqlFetch'; export * from './getFieldsValues'; -export * from './requireEnv'; diff --git a/packages/app/src/pages/api/graphql.ts b/packages/app/src/pages/api/graphql.ts new file mode 100644 index 000000000..918086604 --- /dev/null +++ b/packages/app/src/pages/api/graphql.ts @@ -0,0 +1,17 @@ +import { createYoga } from 'graphql-yoga'; +import { createSchema } from '~/graphql/schema'; + +export const config = { + api: { + // Disable body parsing (required for file uploads) + bodyParser: false, + }, +}; + +const schema = createSchema(process.env.FUEL_PROVIDER_URL!); + +export default createYoga({ + schema, + // Needed to be defined explicitly because our endpoint lives at a different path other than `/graphql` + graphqlEndpoint: '/api/graphql', +}); diff --git a/packages/app/src/systems/Core/utils/client.ts b/packages/app/src/systems/Core/utils/client.ts new file mode 100644 index 000000000..d20a0634c --- /dev/null +++ b/packages/app/src/systems/Core/utils/client.ts @@ -0,0 +1,5 @@ +import { GraphQLClient } from 'graphql-request'; +import { getSdk } from '~/graphql/generated/types'; + +const graphql = new GraphQLClient('http://localhost:3000/api/graphql'); +export const client = getSdk(graphql); diff --git a/packages/app/src/systems/Transaction/actions/get-last-txs.ts b/packages/app/src/systems/Transaction/actions/get-last-txs.ts index 79aecd3fc..d9701da91 100644 --- a/packages/app/src/systems/Transaction/actions/get-last-txs.ts +++ b/packages/app/src/systems/Transaction/actions/get-last-txs.ts @@ -2,14 +2,14 @@ import { z } from 'zod'; import { act } from '~/systems/Core/utils/act-server'; -import { explorer } from '~/systems/explerer'; +import { client } from '~/systems/Core/utils/client'; const schema = z.object({ last: z.number().default(12).optional(), }); export const getLastTxs = act(schema, async ({ last = 12 }) => { - const { data } = await explorer.getLastTransactions({ last }).catch(() => ({ + const { data } = await client.getLastTransactions({ last }).catch(() => ({ data: { transactions: { nodes: [] } }, })); return data.transactions.nodes; diff --git a/packages/app/src/systems/Transaction/component/__mocks__/tx.ts b/packages/app/src/systems/Transaction/component/__mocks__/tx.ts index 47b0e298e..a0eca0de6 100644 --- a/packages/app/src/systems/Transaction/component/__mocks__/tx.ts +++ b/packages/app/src/systems/Transaction/component/__mocks__/tx.ts @@ -1,5 +1,5 @@ -import { mocks } from '@fuel-explorer/graphql'; import { bn } from '@fuel-ts/math'; +import * as mocks from '~/graphql/generated/mocks'; import { dayjs } from '~/systems/Core/utils/dayjs'; const status = mocks.aSuccessStatus({ diff --git a/packages/app/src/systems/Transaction/types.ts b/packages/app/src/systems/Transaction/types.ts index 5cc04fb47..821c2184f 100644 --- a/packages/app/src/systems/Transaction/types.ts +++ b/packages/app/src/systems/Transaction/types.ts @@ -1,4 +1,4 @@ -import type { TransactionItemFragment } from '@fuel-explorer/graphql'; +import type { TransactionItemFragment } from '~/graphql/generated/types'; export enum TxTypeEnum { ContractCall = 'ContractCall', diff --git a/packages/app/src/systems/explerer.ts b/packages/app/src/systems/explerer.ts deleted file mode 100644 index 762a8dc2e..000000000 --- a/packages/app/src/systems/explerer.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { getSdk } from '@fuel-explorer/graphql'; -import { GraphQLClient } from 'graphql-request'; - -const client = new GraphQLClient(process.env.GRAPHQL_API!); -export const explorer = getSdk(client); diff --git a/packages/app/tsconfig.json b/packages/app/tsconfig.json index 37b9149f9..a2c17fa2f 100644 --- a/packages/app/tsconfig.json +++ b/packages/app/tsconfig.json @@ -1,7 +1,11 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "plugins": [{ "name": "next" }], + "plugins": [ + { + "name": "next" + } + ], "allowJs": true, "noEmit": true, "lib": ["dom"], @@ -17,11 +21,13 @@ "@react-aria/interactions": [ "../../node_modules/@react-aria/interactions" ] - } + }, + "strictNullChecks": true }, "include": [ "next-env.d.ts", ".next/types/**/*.ts", + "./src/graphql/generated", "src", ".storybook", "*.config.*" diff --git a/packages/graphql/.env.example b/packages/graphql/.env.example deleted file mode 100644 index a9438ce5e..000000000 --- a/packages/graphql/.env.example +++ /dev/null @@ -1 +0,0 @@ -FUEL_PROVIDER_URL=http://beta-4.fuel.network/graphql \ No newline at end of file diff --git a/packages/graphql/README.md b/packages/graphql/README.md deleted file mode 100644 index 536ea4e92..000000000 --- a/packages/graphql/README.md +++ /dev/null @@ -1,9 +0,0 @@ -## Mock API - -This is a mock api for block-explorer - -## Run development server - -```sh -pnpm dev -``` diff --git a/packages/graphql/graphql.schema.json b/packages/graphql/graphql.schema.json deleted file mode 100644 index 2a5fc92d5..000000000 --- a/packages/graphql/graphql.schema.json +++ /dev/null @@ -1,6701 +0,0 @@ -{ - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": { - "name": "Mutation" - }, - "subscriptionType": { - "name": "Subscription" - }, - "types": [ - { - "kind": "SCALAR", - "name": "Address", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "AssetId", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Balance", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "BalanceConnection", - "description": null, - "fields": [ - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BalanceEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Balance", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "BalanceEdge", - "description": null, - "fields": [ - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Balance", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "BalanceFilterInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "owner", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Block", - "description": null, - "fields": [ - { - "name": "consensus", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "Consensus", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "header", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Header", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BlockId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transactions", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Transaction", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "BlockConnection", - "description": null, - "fields": [ - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BlockEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Block", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "BlockEdge", - "description": null, - "fields": [ - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Block", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "BlockId", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Bytes32", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChainInfo", - "description": null, - "fields": [ - { - "name": "baseChainHeight", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "consensusParameters", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ConsensusParameters", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "latestBlock", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Block", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "peerCount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChangeOutput", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "to", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Coin", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "blockCreated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maturity", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CoinStatus", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "utxoId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UtxoId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CoinConnection", - "description": null, - "fields": [ - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CoinEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Coin", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CoinEdge", - "description": null, - "fields": [ - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Coin", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CoinFilterInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "assetId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CoinOutput", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "to", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "CoinStatus", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SPENT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNSPENT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "Consensus", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Genesis", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "PoAConsensus", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "ConsensusParameters", - "description": null, - "fields": [ - { - "name": "contractMaxSize", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gasPerByte", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gasPriceFactor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxGasPerTx", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxInputs", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxMessageDataLength", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxOutputs", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxPredicateDataLength", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxPredicateLength", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxScriptDataLength", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxScriptLength", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxStorageSlots", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxWitnesses", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Contract", - "description": null, - "fields": [ - { - "name": "bytecode", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ContractId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "salt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Salt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ContractBalance", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contract", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ContractId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ContractBalanceConnection", - "description": null, - "fields": [ - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ContractBalanceEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ContractBalance", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ContractBalanceEdge", - "description": null, - "fields": [ - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ContractBalance", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ContractBalanceFilterInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "contract", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ContractId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ContractCreated", - "description": null, - "fields": [ - { - "name": "contract", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Contract", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stateRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ContractId", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ContractOutput", - "description": null, - "fields": [ - { - "name": "balanceRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputIndex", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stateRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ExcludeInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "messages", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MessageId", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "utxos", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UtxoId", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FailureStatus", - "description": null, - "fields": [ - { - "name": "block", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Block", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "programState", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ProgramState", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reason", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Tai64Timestamp", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Genesis", - "description": null, - "fields": [ - { - "name": "chainConfigHash", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coinsRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contractsRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "messagesRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Header", - "description": null, - "fields": [ - { - "name": "applicationHash", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "daHeight", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "height", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BlockId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "outputMessagesCount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "outputMessagesRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "prevRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Tai64Timestamp", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transactionsCount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transactionsRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "HexString", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "Input", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "InputCoin", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InputContract", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InputMessage", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "InputCoin", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maturity", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "predicate", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "predicateData", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "txPointer", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TxPointer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "utxoId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UtxoId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "witnessIndex", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "InputContract", - "description": null, - "fields": [ - { - "name": "balanceRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contract", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Contract", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stateRoot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "txPointer", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TxPointer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "utxoId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UtxoId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "InputMessage", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "messageId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MessageId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nonce", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "predicate", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "predicateData", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recipient", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sender", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "witnessIndex", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Message", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "daHeight", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "messageId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MessageId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nonce", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recipient", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sender", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MessageStatus", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MessageConnection", - "description": null, - "fields": [ - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MessageEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Message", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MessageEdge", - "description": null, - "fields": [ - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Message", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "MessageId", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MessageOutput", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recipient", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MessageProof", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "header", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Header", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nonce", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "proofIndex", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "proofSet", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recipient", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sender", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "signature", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Signature", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "MessageStatus", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SPENT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNSPENT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Mutation", - "description": null, - "fields": [ - { - "name": "dryRun", - "description": null, - "args": [ - { - "name": "tx", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "utxoValidation", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Receipt", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "produceBlocks", - "description": null, - "args": [ - { - "name": "blocksToProduce", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "TimeParameters", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "submit", - "description": null, - "args": [ - { - "name": "tx", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Transaction", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "NodeInfo", - "description": null, - "fields": [ - { - "name": "maxDepth", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxTx", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minGasPrice", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodeVersion", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "utxoValidation", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "vmBacktrace", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "Output", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "ChangeOutput", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CoinOutput", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ContractCreated", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ContractOutput", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MessageOutput", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "VariableOutput", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "PageInfo", - "description": null, - "fields": [ - { - "name": "endCursor", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hasNextPage", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hasPreviousPage", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "startCursor", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PoAConsensus", - "description": null, - "fields": [ - { - "name": "signature", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Signature", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProgramState", - "description": null, - "fields": [ - { - "name": "data", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "returnType", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReturnType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Query", - "description": null, - "fields": [ - { - "name": "balance", - "description": null, - "args": [ - { - "name": "assetId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Balance", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "balances", - "description": null, - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filter", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BalanceFilterInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BalanceConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "block", - "description": null, - "args": [ - { - "name": "height", - "description": null, - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BlockId", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Block", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "blocks", - "description": null, - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BlockConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "chain", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChainInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coin", - "description": null, - "args": [ - { - "name": "utxoId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UtxoId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Coin", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coins", - "description": null, - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filter", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CoinFilterInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CoinConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contract", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ContractId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Contract", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contractBalance", - "description": null, - "args": [ - { - "name": "asset", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contract", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ContractId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ContractBalance", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contractBalances", - "description": null, - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filter", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ContractBalanceFilterInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ContractBalanceConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "health", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "messageProof", - "description": null, - "args": [ - { - "name": "messageId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "MessageId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transactionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TransactionId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "MessageProof", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "messages", - "description": null, - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MessageConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodeInfo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "NodeInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resourcesToSpend", - "description": null, - "args": [ - { - "name": "excludedIds", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "ExcludeInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "queryPerAsset", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SpendQueryElementInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "Resource", - "ofType": null - } - } - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transaction", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TransactionId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Transaction", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transactions", - "description": null, - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TransactionConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transactionsByOwner", - "description": null, - "args": [ - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TransactionConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Receipt", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contract", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Contract", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contractId", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "ContractId", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "digest", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gas", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gasUsed", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "is", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "len", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "messageId", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "MessageId", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nonce", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "param1", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "param2", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pc", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ptr", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ra", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rawPayload", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rb", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rc", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rd", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "receiptType", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ReceiptType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recipient", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "result", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sender", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "to", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Contract", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "toAddress", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "val", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ReceiptType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "CALL", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LOG", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LOG_DATA", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MESSAGE_OUT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PANIC", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RETURN", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RETURN_DATA", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "REVERT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCRIPT_RESULT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TRANSFER", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TRANSFER_OUT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "Resource", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Coin", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Message", - "ofType": null - } - ] - }, - { - "kind": "ENUM", - "name": "ReturnType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "RETURN", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RETURN_DATA", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "REVERT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Salt", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Signature", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SpendQueryElementInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "amount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "max", - "description": null, - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SqueezedOutStatus", - "description": null, - "fields": [ - { - "name": "reason", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SubmittedStatus", - "description": null, - "fields": [ - { - "name": "time", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Tai64Timestamp", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Subscription", - "description": null, - "fields": [ - { - "name": "statusChange", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TransactionId", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "TransactionStatus", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SuccessStatus", - "description": null, - "fields": [ - { - "name": "block", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Block", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "programState", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ProgramState", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Tai64Timestamp", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Tai64Timestamp", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TimeParameters", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "blockTimeInterval", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "startTime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Transaction", - "description": null, - "fields": [ - { - "name": "bytecodeLength", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "bytecodeWitnessIndex", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gasLimit", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gasPrice", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TransactionId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputAssetIds", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputContracts", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Contract", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputs", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "Input", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isCreate", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isMint", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isScript", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maturity", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "outputs", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "Output", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rawPayload", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "receipts", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Receipt", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "receiptsRoot", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Bytes32", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "salt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Salt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "script", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scriptData", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "args": [], - "type": { - "kind": "UNION", - "name": "TransactionStatus", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "storageSlots", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "txPointer", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "TxPointer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "witnesses", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "HexString", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TransactionConnection", - "description": null, - "fields": [ - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TransactionEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Transaction", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pageInfo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TransactionEdge", - "description": null, - "fields": [ - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Transaction", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "TransactionId", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "TransactionStatus", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "FailureStatus", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SqueezedOutStatus", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SubmittedStatus", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SuccessStatus", - "ofType": null - } - ] - }, - { - "kind": "SCALAR", - "name": "TxPointer", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "U64", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "UtxoId", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "VariableOutput", - "description": null, - "fields": [ - { - "name": "amount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "U64", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "assetId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "AssetId", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "to", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Address", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isRepeatable", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIABLE_DEFINITION", - "description": "Location adjacent to a variable definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "fields": [ - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types", - "description": "A list of all types supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "fields": [ - { - "name": "kind", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "specifiedByURL", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interfaces", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "possibleTypes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enumValues", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputFields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ofType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - } - ], - "directives": [ - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "isRepeatable": false, - "locations": [ - "ARGUMENT_DEFINITION", - "ENUM_VALUE", - "FIELD_DEFINITION", - "INPUT_FIELD_DEFINITION" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "isRepeatable": false, - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "isRepeatable": false, - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "specifiedBy", - "description": "Exposes a URL that specifies the behavior of this scalar.", - "isRepeatable": false, - "locations": [ - "SCALAR" - ], - "args": [ - { - "name": "url", - "description": "The URL that specifies the behavior of this scalar.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ] - } -} \ No newline at end of file diff --git a/packages/graphql/package.json b/packages/graphql/package.json deleted file mode 100644 index d0855c64a..000000000 --- a/packages/graphql/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@fuel-explorer/graphql", - "version": "1.0.0", - "description": "", - "private": true, - "author": "Fuel Labs (https://fuel.network/)", - "license": "Apache-2.0", - "main": "./dist/index.cjs.js", - "module": "./dist/index.cjs.js", - "types": "./dist/index.d.ts", - "typings": "./dist/index.d.ts", - "scripts": { - "dev": "ts-node-dev -r tsconfig-paths/register --transpile-only --watch ./src/**/*, src/bin.ts", - "start": "ts-node -r tsconfig-paths/register --transpile-only src/bin.ts", - "lint": "eslint .", - "codegen": "gql-gen --config codegen.ts", - "build": "tsup", - "build:dev": "pnpm codegen && tsup", - "prepare": "pnpm build", - "fix:generated": "node ./scripts/fix-generated.mjs" - }, - "dependencies": { - "@fuel-ts/math": "0.59.0", - "@graphql-tools/delegate": "^10.0.3", - "@graphql-tools/load": "^8.0.0", - "@graphql-tools/schema": "^10.0.0", - "@graphql-tools/stitch": "^9.0.3", - "@graphql-tools/url-loader": "^8.0.0", - "cors": "^2.8.5", - "dayjs": "1.11.10", - "dotenv": "16.3.1", - "express": "^4.18.2", - "graphql": "^16.8.1", - "graphql-http": "^1.22.0", - "graphql-playground-middleware-express": "^1.7.23", - "graphql-request": "6.1.0", - "graphql-tag": "2.12.6", - "tai64": "1.0.0", - "typescript": "^5.2.2" - }, - "devDependencies": { - "@fuels/ts-config": "^0.0.11", - "@graphql-codegen/cli": "5.0.0", - "@graphql-codegen/introspection": "4.0.0", - "@graphql-codegen/typescript": "4.0.1", - "@graphql-codegen/typescript-graphql-request": "5.0.0", - "@graphql-codegen/typescript-operations": "4.0.1", - "@graphql-tools/utils": "^10.0.6", - "@types/cors": "^2.8.14", - "@types/express": "^4.17.18", - "@types/node": "^20.6.5", - "graphql-codegen-typescript-common": "0.18.2", - "graphql-codegen-typescript-mock-data": "3.5.0", - "ts-node": "^10.9.1", - "ts-node-dev": "^2.0.0", - "tsconfig-paths": "^4.2.0" - } -} diff --git a/packages/graphql/src/bin.ts b/packages/graphql/src/bin.ts deleted file mode 100644 index 17019a3c6..000000000 --- a/packages/graphql/src/bin.ts +++ /dev/null @@ -1,9 +0,0 @@ -import dotenv from 'dotenv'; -dotenv.config(); - -import app from './'; - -// Start the server: -app.listen(4444, () => - console.log('🚀 Explorer api running at http://localhost:4444/graphql'), -); diff --git a/packages/graphql/src/generated/graphql.ts b/packages/graphql/src/generated/graphql.ts deleted file mode 100644 index 963660fb0..000000000 --- a/packages/graphql/src/generated/graphql.ts +++ /dev/null @@ -1,1160 +0,0 @@ -import type { GraphQLClient } from 'graphql-request'; -import type { GraphQLClientRequestHeaders } from 'graphql-request/build/cjs/types'; -import { print } from 'graphql' -import gql from 'graphql-tag'; -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 MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - Address: { input: any; output: any; } - AssetId: { input: any; output: any; } - BlockId: { input: any; output: any; } - Bytes32: { input: any; output: any; } - ContractId: { input: any; output: any; } - HexString: { input: any; output: any; } - MessageId: { input: any; output: any; } - Nonce: { input: any; output: any; } - Salt: { input: any; output: any; } - Signature: { input: any; output: any; } - Tai64Timestamp: { input: any; output: any; } - TransactionId: { input: any; output: any; } - TxPointer: { input: any; output: any; } - U32: { input: any; output: any; } - U64: { input: any; output: any; } - UtxoId: { input: any; output: any; } -}; - -export type Account = { - __typename: 'Account'; - address: Scalars['String']['output']; - name: Scalars['String']['output']; - url?: Maybe; -}; - -export type Balance = { - __typename: 'Balance'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - owner: Scalars['Address']['output']; -}; - -export type BalanceConnection = { - __typename: 'BalanceConnection'; - /** A list of edges. */ - edges: Array; - /** A list of nodes. */ - nodes: Array; - /** Information to aid in pagination. */ - pageInfo: PageInfo; -}; - -/** An edge in a connection. */ -export type BalanceEdge = { - __typename: 'BalanceEdge'; - /** A cursor for use in pagination */ - cursor: Scalars['String']['output']; - /** The item at the end of the edge */ - node: Balance; -}; - -export type BalanceFilterInput = { - /** Filter coins based on the `owner` field */ - owner: Scalars['Address']['input']; -}; - -export type Block = { - __typename: 'Block'; - consensus: Consensus; - header: Header; - id: Scalars['BlockId']['output']; - transactions: Array; -}; - -export type BlockConnection = { - __typename: 'BlockConnection'; - /** A list of edges. */ - edges: Array; - /** A list of nodes. */ - nodes: Array; - /** Information to aid in pagination. */ - pageInfo: PageInfo; -}; - -/** An edge in a connection. */ -export type BlockEdge = { - __typename: 'BlockEdge'; - /** A cursor for use in pagination */ - cursor: Scalars['String']['output']; - /** The item at the end of the edge */ - node: Block; -}; - -export type ChainInfo = { - __typename: 'ChainInfo'; - baseChainHeight: Scalars['U32']['output']; - consensusParameters: ConsensusParameters; - gasCosts: GasCosts; - latestBlock: Block; - name: Scalars['String']['output']; - peerCount: Scalars['Int']['output']; -}; - -export type ChangeOutput = { - __typename: 'ChangeOutput'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - to: Scalars['Address']['output']; -}; - -export type Coin = { - __typename: 'Coin'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - /** TxPointer - the height of the block this coin was created in */ - blockCreated: Scalars['U32']['output']; - maturity: Scalars['U32']['output']; - owner: Scalars['Address']['output']; - /** TxPointer - the index of the transaction that created this coin */ - txCreatedIdx: Scalars['U64']['output']; - utxoId: Scalars['UtxoId']['output']; -}; - -export type CoinConnection = { - __typename: 'CoinConnection'; - /** A list of edges. */ - edges: Array; - /** A list of nodes. */ - nodes: Array; - /** Information to aid in pagination. */ - pageInfo: PageInfo; -}; - -/** An edge in a connection. */ -export type CoinEdge = { - __typename: 'CoinEdge'; - /** A cursor for use in pagination */ - cursor: Scalars['String']['output']; - /** The item at the end of the edge */ - node: Coin; -}; - -export type CoinFilterInput = { - /** Returns coins only with `asset_id`. */ - assetId?: InputMaybe; - /** Returns coins owned by the `owner`. */ - owner: Scalars['Address']['input']; -}; - -export type CoinOutput = { - __typename: 'CoinOutput'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - to: Scalars['Address']['output']; -}; - -/** The schema analog of the [`coins::CoinType`]. */ -export type CoinType = Coin | MessageCoin; - -export type Consensus = Genesis | PoAConsensus; - -export type ConsensusParameters = { - __typename: 'ConsensusParameters'; - chainId: Scalars['U64']['output']; - contractMaxSize: Scalars['U64']['output']; - gasPerByte: Scalars['U64']['output']; - gasPriceFactor: Scalars['U64']['output']; - maxGasPerPredicate: Scalars['U64']['output']; - maxGasPerTx: Scalars['U64']['output']; - maxInputs: Scalars['U64']['output']; - maxMessageDataLength: Scalars['U64']['output']; - maxOutputs: Scalars['U64']['output']; - maxPredicateDataLength: Scalars['U64']['output']; - maxPredicateLength: Scalars['U64']['output']; - maxScriptDataLength: Scalars['U64']['output']; - maxScriptLength: Scalars['U64']['output']; - maxStorageSlots: Scalars['U64']['output']; - maxWitnesses: Scalars['U64']['output']; -}; - -export type Contract = { - __typename: 'Contract'; - bytecode: Scalars['HexString']['output']; - id: Scalars['ContractId']['output']; - salt: Scalars['Salt']['output']; -}; - -export type ContractBalance = { - __typename: 'ContractBalance'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - contract: Scalars['ContractId']['output']; -}; - -export type ContractBalanceConnection = { - __typename: 'ContractBalanceConnection'; - /** A list of edges. */ - edges: Array; - /** A list of nodes. */ - nodes: Array; - /** Information to aid in pagination. */ - pageInfo: PageInfo; -}; - -/** An edge in a connection. */ -export type ContractBalanceEdge = { - __typename: 'ContractBalanceEdge'; - /** A cursor for use in pagination */ - cursor: Scalars['String']['output']; - /** The item at the end of the edge */ - node: ContractBalance; -}; - -export type ContractBalanceFilterInput = { - /** Filter assets based on the `contractId` field */ - contract: Scalars['ContractId']['input']; -}; - -export type ContractCreated = { - __typename: 'ContractCreated'; - contract: Contract; - stateRoot: Scalars['Bytes32']['output']; -}; - -export type ContractOutput = { - __typename: 'ContractOutput'; - balanceRoot: Scalars['Bytes32']['output']; - inputIndex: Scalars['Int']['output']; - stateRoot: Scalars['Bytes32']['output']; -}; - -export type DependentCost = { - __typename: 'DependentCost'; - base: Scalars['U64']['output']; - depPerUnit: Scalars['U64']['output']; -}; - -export type ExcludeInput = { - /** Messages to exclude from the selection. */ - messages: Array; - /** Utxos to exclude from the selection. */ - utxos: Array; -}; - -export type FailureStatus = { - __typename: 'FailureStatus'; - block: Block; - programState?: Maybe; - reason: Scalars['String']['output']; - time: Scalars['Tai64Timestamp']['output']; -}; - -export type GasCosts = { - __typename: 'GasCosts'; - add: Scalars['U64']['output']; - addi: Scalars['U64']['output']; - aloc: Scalars['U64']['output']; - and: Scalars['U64']['output']; - andi: Scalars['U64']['output']; - bal: Scalars['U64']['output']; - bhei: Scalars['U64']['output']; - bhsh: Scalars['U64']['output']; - burn: Scalars['U64']['output']; - call: DependentCost; - cb: Scalars['U64']['output']; - ccp: DependentCost; - cfei: Scalars['U64']['output']; - cfsi: Scalars['U64']['output']; - croo: Scalars['U64']['output']; - csiz: DependentCost; - div: Scalars['U64']['output']; - divi: Scalars['U64']['output']; - eck1: Scalars['U64']['output']; - ecr1: Scalars['U64']['output']; - ed19: Scalars['U64']['output']; - eq: Scalars['U64']['output']; - exp: Scalars['U64']['output']; - expi: Scalars['U64']['output']; - flag: Scalars['U64']['output']; - gm: Scalars['U64']['output']; - gt: Scalars['U64']['output']; - gtf: Scalars['U64']['output']; - ji: Scalars['U64']['output']; - jmp: Scalars['U64']['output']; - jmpb: Scalars['U64']['output']; - jmpf: Scalars['U64']['output']; - jne: Scalars['U64']['output']; - jneb: Scalars['U64']['output']; - jnef: Scalars['U64']['output']; - jnei: Scalars['U64']['output']; - jnzb: Scalars['U64']['output']; - jnzf: Scalars['U64']['output']; - jnzi: Scalars['U64']['output']; - k256: Scalars['U64']['output']; - lb: Scalars['U64']['output']; - ldc: DependentCost; - log: Scalars['U64']['output']; - logd: DependentCost; - lt: Scalars['U64']['output']; - lw: Scalars['U64']['output']; - mcl: DependentCost; - mcli: DependentCost; - mcp: DependentCost; - mcpi: Scalars['U64']['output']; - meq: DependentCost; - mint: Scalars['U64']['output']; - mldv: Scalars['U64']['output']; - mlog: Scalars['U64']['output']; - modOp: Scalars['U64']['output']; - modi: Scalars['U64']['output']; - moveOp: Scalars['U64']['output']; - movi: Scalars['U64']['output']; - mroo: Scalars['U64']['output']; - mul: Scalars['U64']['output']; - muli: Scalars['U64']['output']; - noop: Scalars['U64']['output']; - not: Scalars['U64']['output']; - or: Scalars['U64']['output']; - ori: Scalars['U64']['output']; - ret: Scalars['U64']['output']; - retd: DependentCost; - rvrt: Scalars['U64']['output']; - s256: Scalars['U64']['output']; - sb: Scalars['U64']['output']; - scwq: Scalars['U64']['output']; - sll: Scalars['U64']['output']; - slli: Scalars['U64']['output']; - smo: DependentCost; - srl: Scalars['U64']['output']; - srli: Scalars['U64']['output']; - srw: Scalars['U64']['output']; - srwq: DependentCost; - sub: Scalars['U64']['output']; - subi: Scalars['U64']['output']; - sw: Scalars['U64']['output']; - sww: Scalars['U64']['output']; - swwq: Scalars['U64']['output']; - time: Scalars['U64']['output']; - tr: Scalars['U64']['output']; - tro: Scalars['U64']['output']; - wdam: Scalars['U64']['output']; - wdcm: Scalars['U64']['output']; - wddv: Scalars['U64']['output']; - wdmd: Scalars['U64']['output']; - wdml: Scalars['U64']['output']; - wdmm: Scalars['U64']['output']; - wdop: Scalars['U64']['output']; - wqam: Scalars['U64']['output']; - wqcm: Scalars['U64']['output']; - wqdv: Scalars['U64']['output']; - wqmd: Scalars['U64']['output']; - wqml: Scalars['U64']['output']; - wqmm: Scalars['U64']['output']; - wqop: Scalars['U64']['output']; - xor: Scalars['U64']['output']; - xori: Scalars['U64']['output']; -}; - -export type Genesis = { - __typename: 'Genesis'; - /** - * The chain configs define what consensus type to use, what settlement layer to use, - * rules of block validity, etc. - */ - chainConfigHash: Scalars['Bytes32']['output']; - /** The Binary Merkle Tree root of all genesis coins. */ - coinsRoot: Scalars['Bytes32']['output']; - /** The Binary Merkle Tree root of state, balances, contracts code hash of each contract. */ - contractsRoot: Scalars['Bytes32']['output']; - /** The Binary Merkle Tree root of all genesis messages. */ - messagesRoot: Scalars['Bytes32']['output']; -}; - -export type Header = { - __typename: 'Header'; - /** Hash of the application header. */ - applicationHash: Scalars['Bytes32']['output']; - /** The layer 1 height of messages and events to include since the last layer 1 block number. */ - daHeight: Scalars['U64']['output']; - /** Fuel block height. */ - height: Scalars['U32']['output']; - /** Hash of the header */ - id: Scalars['BlockId']['output']; - /** Number of message receipts in this block. */ - messageReceiptCount: Scalars['U64']['output']; - /** Merkle root of message receipts in this block. */ - messageReceiptRoot: Scalars['Bytes32']['output']; - /** Merkle root of all previous block header hashes. */ - prevRoot: Scalars['Bytes32']['output']; - /** The block producer time. */ - time: Scalars['Tai64Timestamp']['output']; - /** Number of transactions in this block. */ - transactionsCount: Scalars['U64']['output']; - /** Merkle root of transactions. */ - transactionsRoot: Scalars['Bytes32']['output']; -}; - -export type Input = InputCoin | InputContract | InputMessage; - -export type InputCoin = { - __typename: 'InputCoin'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - maturity: Scalars['U32']['output']; - owner: Scalars['Address']['output']; - predicate: Scalars['HexString']['output']; - predicateData: Scalars['HexString']['output']; - predicateGasUsed: Scalars['U64']['output']; - txPointer: Scalars['TxPointer']['output']; - utxoId: Scalars['UtxoId']['output']; - witnessIndex: Scalars['Int']['output']; -}; - -export type InputContract = { - __typename: 'InputContract'; - balanceRoot: Scalars['Bytes32']['output']; - contract: Contract; - stateRoot: Scalars['Bytes32']['output']; - txPointer: Scalars['TxPointer']['output']; - utxoId: Scalars['UtxoId']['output']; -}; - -export type InputMessage = { - __typename: 'InputMessage'; - amount: Scalars['U64']['output']; - data: Scalars['HexString']['output']; - nonce: Scalars['Nonce']['output']; - predicate: Scalars['HexString']['output']; - predicateData: Scalars['HexString']['output']; - predicateGasUsed: Scalars['U64']['output']; - recipient: Scalars['Address']['output']; - sender: Scalars['Address']['output']; - witnessIndex: Scalars['Int']['output']; -}; - -export type MerkleProof = { - __typename: 'MerkleProof'; - proofIndex: Scalars['U64']['output']; - proofSet: Array; -}; - -export type Message = { - __typename: 'Message'; - amount: Scalars['U64']['output']; - daHeight: Scalars['U64']['output']; - data: Scalars['HexString']['output']; - nonce: Scalars['Nonce']['output']; - recipient: Scalars['Address']['output']; - sender: Scalars['Address']['output']; -}; - -export type MessageCoin = { - __typename: 'MessageCoin'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - daHeight: Scalars['U64']['output']; - nonce: Scalars['Nonce']['output']; - recipient: Scalars['Address']['output']; - sender: Scalars['Address']['output']; -}; - -export type MessageConnection = { - __typename: 'MessageConnection'; - /** A list of edges. */ - edges: Array; - /** A list of nodes. */ - nodes: Array; - /** Information to aid in pagination. */ - pageInfo: PageInfo; -}; - -/** An edge in a connection. */ -export type MessageEdge = { - __typename: 'MessageEdge'; - /** A cursor for use in pagination */ - cursor: Scalars['String']['output']; - /** The item at the end of the edge */ - node: Message; -}; - -export type MessageProof = { - __typename: 'MessageProof'; - amount: Scalars['U64']['output']; - blockProof: MerkleProof; - commitBlockHeader: Header; - data: Scalars['HexString']['output']; - messageBlockHeader: Header; - messageProof: MerkleProof; - nonce: Scalars['Nonce']['output']; - recipient: Scalars['Address']['output']; - sender: Scalars['Address']['output']; -}; - -export type Mutation = { - __typename: 'Mutation'; - /** Execute a dry-run of the transaction using a fork of current state, no changes are committed. */ - dryRun: Array; - /** - * Sequentially produces `blocks_to_produce` blocks. The first block starts with - * `start_timestamp`. If the block production in the [`crate::service::Config`] is - * `Trigger::Interval { block_time }`, produces blocks with `block_time ` intervals between - * them. The `start_timestamp` is the timestamp in seconds. - */ - produceBlocks: Scalars['U32']['output']; - /** - * Submits transaction to the `TxPool`. - * - * Returns submitted transaction if the transaction is included in the `TxPool` without problems. - */ - submit: Transaction; -}; - - -export type MutationDryRunArgs = { - tx: Scalars['HexString']['input']; - utxoValidation?: InputMaybe; -}; - - -export type MutationProduceBlocksArgs = { - blocksToProduce: Scalars['U64']['input']; - startTimestamp?: InputMaybe; -}; - - -export type MutationSubmitArgs = { - tx: Scalars['HexString']['input']; -}; - -export type NodeInfo = { - __typename: 'NodeInfo'; - maxDepth: Scalars['U64']['output']; - maxTx: Scalars['U64']['output']; - minGasPrice: Scalars['U64']['output']; - nodeVersion: Scalars['String']['output']; - utxoValidation: Scalars['Boolean']['output']; - vmBacktrace: Scalars['Boolean']['output']; -}; - -export type Output = ChangeOutput | CoinOutput | ContractCreated | ContractOutput | VariableOutput; - -/** Information about pagination in a connection */ -export type PageInfo = { - __typename: 'PageInfo'; - /** When paginating forwards, the cursor to continue. */ - endCursor?: Maybe; - /** When paginating forwards, are there more items? */ - hasNextPage: Scalars['Boolean']['output']; - /** When paginating backwards, are there more items? */ - hasPreviousPage: Scalars['Boolean']['output']; - /** When paginating backwards, the cursor to continue. */ - startCursor?: Maybe; -}; - -export type ParsedTime = { - __typename: 'ParsedTime'; - fromNow?: Maybe; - full?: Maybe; - rawTai64?: Maybe; - rawUnix?: Maybe; -}; - -export type PoAConsensus = { - __typename: 'PoAConsensus'; - /** Gets the signature of the block produced by `PoA` consensus. */ - signature: Scalars['Signature']['output']; -}; - -export type ProgramState = { - __typename: 'ProgramState'; - data: Scalars['HexString']['output']; - returnType: _ReturnType; -}; - -export type Query = { - __typename: 'Query'; - accounts: Array; - balance: Balance; - balances: BalanceConnection; - block?: Maybe; - blocks: BlockConnection; - chain: ChainInfo; - /** Gets the coin by `utxo_id`. */ - coin?: Maybe; - /** Gets all unspent coins of some `owner` maybe filtered with by `asset_id` per page. */ - coins: CoinConnection; - /** - * For each `query_per_asset`, get some spendable coins(of asset specified by the query) owned by - * `owner` that add up at least the query amount. The returned coins can be spent. - * The number of coins is optimized to prevent dust accumulation. - * - * The query supports excluding and maximum the number of coins. - * - * Returns: - * The list of spendable coins per asset from the query. The length of the result is - * the same as the length of `query_per_asset`. The ordering of assets and `query_per_asset` - * is the same. - */ - coinsToSpend: Array>; - contract?: Maybe; - contractBalance: ContractBalance; - contractBalances: ContractBalanceConnection; - /** Estimate the predicate gas for the provided transaction */ - estimatePredicates: Transaction; - /** Returns true when the GraphQL API is serving requests. */ - health: Scalars['Boolean']['output']; - messageProof?: Maybe; - messages: MessageConnection; - nodeInfo: NodeInfo; - tokens: Array; - transaction?: Maybe; - transactions: TransactionConnection; - transactionsByOwner: TransactionConnection; -}; - - -export type QueryAccountsArgs = { - addresses: Array>; -}; - - -export type QueryBalanceArgs = { - assetId: Scalars['AssetId']['input']; - owner: Scalars['Address']['input']; -}; - - -export type QueryBalancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - filter: BalanceFilterInput; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type QueryBlockArgs = { - height?: InputMaybe; - id?: InputMaybe; -}; - - -export type QueryBlocksArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type QueryCoinArgs = { - utxoId: Scalars['UtxoId']['input']; -}; - - -export type QueryCoinsArgs = { - after?: InputMaybe; - before?: InputMaybe; - filter: CoinFilterInput; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type QueryCoinsToSpendArgs = { - excludedIds?: InputMaybe; - owner: Scalars['Address']['input']; - queryPerAsset: Array; -}; - - -export type QueryContractArgs = { - id: Scalars['ContractId']['input']; -}; - - -export type QueryContractBalanceArgs = { - asset: Scalars['AssetId']['input']; - contract: Scalars['ContractId']['input']; -}; - - -export type QueryContractBalancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - filter: ContractBalanceFilterInput; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type QueryEstimatePredicatesArgs = { - tx: Scalars['HexString']['input']; -}; - - -export type QueryMessageProofArgs = { - commitBlockHeight?: InputMaybe; - commitBlockId?: InputMaybe; - messageId: Scalars['MessageId']['input']; - transactionId: Scalars['TransactionId']['input']; -}; - - -export type QueryMessagesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - owner?: InputMaybe; -}; - - -export type QueryTokensArgs = { - assetsId: Array>; -}; - - -export type QueryTransactionArgs = { - id: Scalars['TransactionId']['input']; -}; - - -export type QueryTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type QueryTransactionsByOwnerArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - owner: Scalars['Address']['input']; -}; - -export type Receipt = { - __typename: 'Receipt'; - amount?: Maybe; - assetId?: Maybe; - contract?: Maybe; - contractId?: Maybe; - data?: Maybe; - digest?: Maybe; - gas?: Maybe; - gasUsed?: Maybe; - is?: Maybe; - len?: Maybe; - nonce?: Maybe; - param1?: Maybe; - param2?: Maybe; - pc?: Maybe; - ptr?: Maybe; - ra?: Maybe; - rb?: Maybe; - rc?: Maybe; - rd?: Maybe; - reason?: Maybe; - receiptType: ReceiptType; - recipient?: Maybe; - result?: Maybe; - sender?: Maybe; - subId?: Maybe; - to?: Maybe; - toAddress?: Maybe; - val?: Maybe; -}; - -export enum ReceiptType { - Burn = 'BURN', - Call = 'CALL', - Log = 'LOG', - LogData = 'LOG_DATA', - MessageOut = 'MESSAGE_OUT', - Mint = 'MINT', - Panic = 'PANIC', - Return = 'RETURN', - ReturnData = 'RETURN_DATA', - Revert = 'REVERT', - ScriptResult = 'SCRIPT_RESULT', - Transfer = 'TRANSFER', - TransferOut = 'TRANSFER_OUT' -} - -export enum _ReturnType { - Return = 'RETURN', - ReturnData = 'RETURN_DATA', - Revert = 'REVERT' -} - -export type SpendQueryElementInput = { - /** Target amount for the query. */ - amount: Scalars['U64']['input']; - /** Identifier of the asset to spend. */ - assetId: Scalars['AssetId']['input']; - /** The maximum number of currencies for selection. */ - max?: InputMaybe; -}; - -export type SqueezedOutStatus = { - __typename: 'SqueezedOutStatus'; - reason: Scalars['String']['output']; -}; - -export type SubmittedStatus = { - __typename: 'SubmittedStatus'; - time: Scalars['Tai64Timestamp']['output']; -}; - -export type Subscription = { - __typename: 'Subscription'; - /** - * Returns a stream of status updates for the given transaction id. - * If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`] - * or [`TransactionStatus::Failed`] the stream will return that and end immediately. - * If the current status is [`TransactionStatus::Submitted`] this will be returned - * and the stream will wait for a future update. - * - * This stream will wait forever so it's advised to use within a timeout. - * - * It is possible for the stream to miss an update if it is polled slower - * then the updates arrive. In such a case the stream will close without - * a status. If this occurs the stream can simply be restarted to return - * the latest status. - */ - statusChange: TransactionStatus; - /** Submits transaction to the `TxPool` and await either confirmation or failure. */ - submitAndAwait: TransactionStatus; -}; - - -export type SubscriptionStatusChangeArgs = { - id: Scalars['TransactionId']['input']; -}; - - -export type SubscriptionSubmitAndAwaitArgs = { - tx: Scalars['HexString']['input']; -}; - -export type SuccessStatus = { - __typename: 'SuccessStatus'; - block: Block; - programState?: Maybe; - time: Scalars['Tai64Timestamp']['output']; -}; - -export type Token = { - __typename: 'Token'; - assetId: Scalars['String']['output']; - decimals: Scalars['U64']['output']; - name: Scalars['String']['output']; - symbol: Scalars['String']['output']; - totalAssets?: Maybe; - totalSupply?: Maybe; - url?: Maybe; -}; - -export type Transaction = { - __typename: 'Transaction'; - blockHeight?: Maybe; - bytecodeLength?: Maybe; - bytecodeWitnessIndex?: Maybe; - gasLimit?: Maybe; - gasPrice?: Maybe; - gasUsed?: Maybe; - id: Scalars['TransactionId']['output']; - inputAssetIds?: Maybe>; - inputContracts?: Maybe>; - inputs?: Maybe>; - isCreate: Scalars['Boolean']['output']; - isMint: Scalars['Boolean']['output']; - isScript: Scalars['Boolean']['output']; - maturity?: Maybe; - outputs: Array; - /** Return the transaction bytes using canonical encoding */ - rawPayload: Scalars['HexString']['output']; - receipts?: Maybe>; - receiptsRoot?: Maybe; - salt?: Maybe; - script?: Maybe; - scriptData?: Maybe; - status?: Maybe; - statusType?: Maybe; - storageSlots?: Maybe>; - time?: Maybe; - title?: Maybe; - totalAccounts?: Maybe; - totalAssets?: Maybe; - totalOperations?: Maybe; - txPointer?: Maybe; - witnesses?: Maybe>; -}; - -export type TransactionConnection = { - __typename: 'TransactionConnection'; - accounts?: Maybe>>; - /** A list of edges. */ - edges: Array; - /** A list of nodes. */ - nodes: Array; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - tokens?: Maybe>>; -}; - -/** An edge in a connection. */ -export type TransactionEdge = { - __typename: 'TransactionEdge'; - /** A cursor for use in pagination */ - cursor: Scalars['String']['output']; - /** The item at the end of the edge */ - node: Transaction; -}; - -export type TransactionStatus = FailureStatus | SqueezedOutStatus | SubmittedStatus | SuccessStatus; - -export enum TransactionStatusType { - Failure = 'Failure', - Submitted = 'Submitted', - Success = 'Success' -} - -export enum TransactionTitle { - Burn = 'Burn', - ContractCall = 'ContractCall', - Mint = 'Mint' -} - -export type VariableOutput = { - __typename: 'VariableOutput'; - amount: Scalars['U64']['output']; - assetId: Scalars['AssetId']['output']; - to: Scalars['Address']['output']; -}; - -export type ContractItemFragment = { __typename: 'Contract', id: any }; - -type TransactionStatus_FailureStatus_Fragment = { __typename: 'FailureStatus', time: any }; - -type TransactionStatus_SqueezedOutStatus_Fragment = { __typename: 'SqueezedOutStatus' }; - -type TransactionStatus_SubmittedStatus_Fragment = { __typename: 'SubmittedStatus', time: any }; - -type TransactionStatus_SuccessStatus_Fragment = { __typename: 'SuccessStatus', time: any, block: { __typename: 'Block', id: any } }; - -export type TransactionStatusFragment = TransactionStatus_FailureStatus_Fragment | TransactionStatus_SqueezedOutStatus_Fragment | TransactionStatus_SubmittedStatus_Fragment | TransactionStatus_SuccessStatus_Fragment; - -type TransactionInput_InputCoin_Fragment = { __typename: 'InputCoin', amount: any, assetId: any, owner: any, predicate: any, predicateData: any, txPointer: any, utxoId: any }; - -type TransactionInput_InputContract_Fragment = { __typename: 'InputContract', utxoId: any, balanceRoot: any, stateRoot: any, txPointer: any, contract: { __typename: 'Contract', id: any } }; - -type TransactionInput_InputMessage_Fragment = { __typename: 'InputMessage', sender: any, recipient: any, amount: any, nonce: any, data: any, predicate: any, predicateData: any }; - -export type TransactionInputFragment = TransactionInput_InputCoin_Fragment | TransactionInput_InputContract_Fragment | TransactionInput_InputMessage_Fragment; - -type TransactionOutput_ChangeOutput_Fragment = { __typename: 'ChangeOutput', to: any, amount: any, assetId: any }; - -type TransactionOutput_CoinOutput_Fragment = { __typename: 'CoinOutput', to: any, amount: any, assetId: any }; - -type TransactionOutput_ContractCreated_Fragment = { __typename: 'ContractCreated', contract: { __typename: 'Contract', id: any } }; - -type TransactionOutput_ContractOutput_Fragment = { __typename: 'ContractOutput' }; - -type TransactionOutput_VariableOutput_Fragment = { __typename: 'VariableOutput', to: any, amount: any, assetId: any }; - -export type TransactionOutputFragment = TransactionOutput_ChangeOutput_Fragment | TransactionOutput_CoinOutput_Fragment | TransactionOutput_ContractCreated_Fragment | TransactionOutput_ContractOutput_Fragment | TransactionOutput_VariableOutput_Fragment; - -export type TransactionReceiptFragment = { __typename: 'Receipt', data?: any | null, toAddress?: any | null, amount?: any | null, assetId?: any | null, param1?: any | null, param2?: any | null, receiptType: ReceiptType, gas?: any | null, gasUsed?: any | null, sender?: any | null, recipient?: any | null, contractId?: any | null, contract?: { __typename: 'Contract', id: any } | null, to?: { __typename: 'Contract', id: any } | null }; - -export type TransactionItemFragment = { __typename: 'Transaction', id: any, title?: TransactionTitle | null, blockHeight?: string | null, statusType?: TransactionStatusType | null, totalAccounts?: number | null, totalAssets?: number | null, totalOperations?: number | null, gasUsed?: any | null, isScript: boolean, isMint: boolean, isCreate: boolean, gasPrice?: any | null, gasLimit?: any | null, inputAssetIds?: Array | null, time?: { __typename: 'ParsedTime', fromNow?: string | null, full?: string | null, rawTai64?: string | null, rawUnix?: string | null } | null, status?: { __typename: 'FailureStatus', time: any } | { __typename: 'SqueezedOutStatus' } | { __typename: 'SubmittedStatus', time: any } | { __typename: 'SuccessStatus', time: any, block: { __typename: 'Block', id: any } } | null, inputContracts?: Array<{ __typename: 'Contract', id: any }> | null, inputs?: Array<{ __typename: 'InputCoin', amount: any, assetId: any, owner: any, predicate: any, predicateData: any, txPointer: any, utxoId: any } | { __typename: 'InputContract', utxoId: any, balanceRoot: any, stateRoot: any, txPointer: any, contract: { __typename: 'Contract', id: any } } | { __typename: 'InputMessage', sender: any, recipient: any, amount: any, nonce: any, data: any, predicate: any, predicateData: any }> | null, outputs: Array<{ __typename: 'ChangeOutput', to: any, amount: any, assetId: any } | { __typename: 'CoinOutput', to: any, amount: any, assetId: any } | { __typename: 'ContractCreated', contract: { __typename: 'Contract', id: any } } | { __typename: 'ContractOutput' } | { __typename: 'VariableOutput', to: any, amount: any, assetId: any }>, receipts?: Array<{ __typename: 'Receipt', data?: any | null, toAddress?: any | null, amount?: any | null, assetId?: any | null, param1?: any | null, param2?: any | null, receiptType: ReceiptType, gas?: any | null, gasUsed?: any | null, sender?: any | null, recipient?: any | null, contractId?: any | null, contract?: { __typename: 'Contract', id: any } | null, to?: { __typename: 'Contract', id: any } | null }> | null }; - -export type GetLastTransactionsQueryVariables = Exact<{ - last: Scalars['Int']['input']; -}>; - - -export type GetLastTransactionsQuery = { __typename: 'Query', transactions: { __typename: 'TransactionConnection', nodes: Array<{ __typename: 'Transaction', id: any, title?: TransactionTitle | null, blockHeight?: string | null, statusType?: TransactionStatusType | null, totalAccounts?: number | null, totalAssets?: number | null, totalOperations?: number | null, gasUsed?: any | null, isScript: boolean, isMint: boolean, isCreate: boolean, gasPrice?: any | null, gasLimit?: any | null, inputAssetIds?: Array | null, time?: { __typename: 'ParsedTime', fromNow?: string | null, full?: string | null, rawTai64?: string | null, rawUnix?: string | null } | null, status?: { __typename: 'FailureStatus', time: any } | { __typename: 'SqueezedOutStatus' } | { __typename: 'SubmittedStatus', time: any } | { __typename: 'SuccessStatus', time: any, block: { __typename: 'Block', id: any } } | null, inputContracts?: Array<{ __typename: 'Contract', id: any }> | null, inputs?: Array<{ __typename: 'InputCoin', amount: any, assetId: any, owner: any, predicate: any, predicateData: any, txPointer: any, utxoId: any } | { __typename: 'InputContract', utxoId: any, balanceRoot: any, stateRoot: any, txPointer: any, contract: { __typename: 'Contract', id: any } } | { __typename: 'InputMessage', sender: any, recipient: any, amount: any, nonce: any, data: any, predicate: any, predicateData: any }> | null, outputs: Array<{ __typename: 'ChangeOutput', to: any, amount: any, assetId: any } | { __typename: 'CoinOutput', to: any, amount: any, assetId: any } | { __typename: 'ContractCreated', contract: { __typename: 'Contract', id: any } } | { __typename: 'ContractOutput' } | { __typename: 'VariableOutput', to: any, amount: any, assetId: any }>, receipts?: Array<{ __typename: 'Receipt', data?: any | null, toAddress?: any | null, amount?: any | null, assetId?: any | null, param1?: any | null, param2?: any | null, receiptType: ReceiptType, gas?: any | null, gasUsed?: any | null, sender?: any | null, recipient?: any | null, contractId?: any | null, contract?: { __typename: 'Contract', id: any } | null, to?: { __typename: 'Contract', id: any } | null }> | null }> } }; - -export const TransactionStatusFragmentDoc = gql` - fragment TransactionStatus on TransactionStatus { - __typename - ... on SuccessStatus { - time - block { - id - } - } - ... on FailureStatus { - time - } - ... on SubmittedStatus { - time - } -} - `; -export const ContractItemFragmentDoc = gql` - fragment ContractItem on Contract { - __typename - id -} - `; -export const TransactionInputFragmentDoc = gql` - fragment TransactionInput on Input { - __typename - ... on InputCoin { - amount - assetId - owner - predicate - predicateData - txPointer - utxoId - } - ... on InputContract { - utxoId - balanceRoot - stateRoot - txPointer - contract { - ...ContractItem - } - } - ... on InputMessage { - sender - recipient - amount - nonce - data - predicate - predicateData - } -} - ${ContractItemFragmentDoc}`; -export const TransactionOutputFragmentDoc = gql` - fragment TransactionOutput on Output { - __typename - ... on CoinOutput { - to - amount - assetId - } - ... on ChangeOutput { - to - amount - assetId - } - ... on VariableOutput { - to - amount - assetId - } - ... on ContractCreated { - contract { - ...ContractItem - } - } -} - ${ContractItemFragmentDoc}`; -export const TransactionReceiptFragmentDoc = gql` - fragment TransactionReceipt on Receipt { - __typename - contract { - ...ContractItem - } - to { - ...ContractItem - } - data - toAddress - amount - assetId - param1 - param2 - receiptType - gas - gasUsed - sender - recipient - contractId -} - ${ContractItemFragmentDoc}`; -export const TransactionItemFragmentDoc = gql` - fragment TransactionItem on Transaction { - __typename - id - title - time { - fromNow - full - rawTai64 - rawUnix - } - blockHeight - statusType - totalAccounts - totalAssets - totalOperations - gasUsed - isScript - isMint - isCreate - gasPrice - gasLimit - status { - ...TransactionStatus - } - inputAssetIds - inputContracts { - ...ContractItem - } - inputs { - ...TransactionInput - } - outputs { - ...TransactionOutput - } - receipts { - ...TransactionReceipt - } -} - ${TransactionStatusFragmentDoc} -${ContractItemFragmentDoc} -${TransactionInputFragmentDoc} -${TransactionOutputFragmentDoc} -${TransactionReceiptFragmentDoc}`; -export const GetLastTransactionsDocument = gql` - query getLastTransactions($last: Int!) { - transactions(last: $last) { - nodes { - ...TransactionItem - } - } -} - ${TransactionItemFragmentDoc}`; - -export type SdkFunctionWrapper = (action: (requestHeaders?:Record) => Promise, operationName: string, operationType?: string) => Promise; - - -const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationType) => action(); -const GetLastTransactionsDocumentString = print(GetLastTransactionsDocument); -export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) { - return { - getLastTransactions(variables: GetLastTransactionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{ data: GetLastTransactionsQuery; extensions?: any; headers: any; status: number; }> { - return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLastTransactionsDocumentString, variables, {...requestHeaders, ...wrappedRequestHeaders}), 'getLastTransactions', 'query'); - } - }; -} -export type Sdk = ReturnType; \ No newline at end of file diff --git a/packages/graphql/src/generated/mocks.ts b/packages/graphql/src/generated/mocks.ts deleted file mode 100644 index 14b07e032..000000000 --- a/packages/graphql/src/generated/mocks.ts +++ /dev/null @@ -1,714 +0,0 @@ -import { Account, Balance, BalanceConnection, BalanceEdge, BalanceFilterInput, Block, BlockConnection, BlockEdge, ChainInfo, ChangeOutput, Coin, CoinConnection, CoinEdge, CoinFilterInput, CoinOutput, ConsensusParameters, Contract, ContractBalance, ContractBalanceConnection, ContractBalanceEdge, ContractBalanceFilterInput, ContractCreated, ContractOutput, DependentCost, ExcludeInput, FailureStatus, GasCosts, Genesis, Header, InputCoin, InputContract, InputMessage, MerkleProof, Message, MessageCoin, MessageConnection, MessageEdge, MessageProof, Mutation, NodeInfo, PageInfo, ParsedTime, PoAConsensus, ProgramState, Query, Receipt, SpendQueryElementInput, SqueezedOutStatus, SubmittedStatus, Subscription, SuccessStatus, Token, Transaction, TransactionConnection, TransactionEdge, VariableOutput, ReceiptType, _ReturnType as ReturnType, TransactionStatusType, TransactionTitle } from './graphql'; - -export const anAccount = (overrides?: Partial): { __typename: 'Account' } & Account => { - return { - __typename: 'Account', - address: overrides && overrides.hasOwnProperty('address') ? overrides.address! : 'quam', - name: overrides && overrides.hasOwnProperty('name') ? overrides.name! : 'ut', - url: overrides && overrides.hasOwnProperty('url') ? overrides.url! : 'cumque', - }; -}; - -export const aBalance = (overrides?: Partial): { __typename: 'Balance' } & Balance => { - return { - __typename: 'Balance', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'eaque', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'ullam', - owner: overrides && overrides.hasOwnProperty('owner') ? overrides.owner! : 'qui', - }; -}; - -export const aBalanceConnection = (overrides?: Partial): { __typename: 'BalanceConnection' } & BalanceConnection => { - return { - __typename: 'BalanceConnection', - edges: overrides && overrides.hasOwnProperty('edges') ? overrides.edges! : [aBalanceEdge()], - nodes: overrides && overrides.hasOwnProperty('nodes') ? overrides.nodes! : [aBalance()], - pageInfo: overrides && overrides.hasOwnProperty('pageInfo') ? overrides.pageInfo! : aPageInfo(), - }; -}; - -export const aBalanceEdge = (overrides?: Partial): { __typename: 'BalanceEdge' } & BalanceEdge => { - return { - __typename: 'BalanceEdge', - cursor: overrides && overrides.hasOwnProperty('cursor') ? overrides.cursor! : 'rerum', - node: overrides && overrides.hasOwnProperty('node') ? overrides.node! : aBalance(), - }; -}; - -export const aBalanceFilterInput = (overrides?: Partial): BalanceFilterInput => { - return { - owner: overrides && overrides.hasOwnProperty('owner') ? overrides.owner! : 'minima', - }; -}; - -export const aBlock = (overrides?: Partial): { __typename: 'Block' } & Block => { - return { - __typename: 'Block', - consensus: overrides && overrides.hasOwnProperty('consensus') ? overrides.consensus! : aGenesis(), - header: overrides && overrides.hasOwnProperty('header') ? overrides.header! : aHeader(), - id: overrides && overrides.hasOwnProperty('id') ? overrides.id! : 'nobis', - transactions: overrides && overrides.hasOwnProperty('transactions') ? overrides.transactions! : [aTransaction()], - }; -}; - -export const aBlockConnection = (overrides?: Partial): { __typename: 'BlockConnection' } & BlockConnection => { - return { - __typename: 'BlockConnection', - edges: overrides && overrides.hasOwnProperty('edges') ? overrides.edges! : [aBlockEdge()], - nodes: overrides && overrides.hasOwnProperty('nodes') ? overrides.nodes! : [aBlock()], - pageInfo: overrides && overrides.hasOwnProperty('pageInfo') ? overrides.pageInfo! : aPageInfo(), - }; -}; - -export const aBlockEdge = (overrides?: Partial): { __typename: 'BlockEdge' } & BlockEdge => { - return { - __typename: 'BlockEdge', - cursor: overrides && overrides.hasOwnProperty('cursor') ? overrides.cursor! : 'distinctio', - node: overrides && overrides.hasOwnProperty('node') ? overrides.node! : aBlock(), - }; -}; - -export const aChainInfo = (overrides?: Partial): { __typename: 'ChainInfo' } & ChainInfo => { - return { - __typename: 'ChainInfo', - baseChainHeight: overrides && overrides.hasOwnProperty('baseChainHeight') ? overrides.baseChainHeight! : 'similique', - consensusParameters: overrides && overrides.hasOwnProperty('consensusParameters') ? overrides.consensusParameters! : aConsensusParameters(), - gasCosts: overrides && overrides.hasOwnProperty('gasCosts') ? overrides.gasCosts! : aGasCosts(), - latestBlock: overrides && overrides.hasOwnProperty('latestBlock') ? overrides.latestBlock! : aBlock(), - name: overrides && overrides.hasOwnProperty('name') ? overrides.name! : 'quam', - peerCount: overrides && overrides.hasOwnProperty('peerCount') ? overrides.peerCount! : 4337, - }; -}; - -export const aChangeOutput = (overrides?: Partial): { __typename: 'ChangeOutput' } & ChangeOutput => { - return { - __typename: 'ChangeOutput', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'officiis', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'ea', - to: overrides && overrides.hasOwnProperty('to') ? overrides.to! : 'commodi', - }; -}; - -export const aCoin = (overrides?: Partial): { __typename: 'Coin' } & Coin => { - return { - __typename: 'Coin', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'officiis', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'aut', - blockCreated: overrides && overrides.hasOwnProperty('blockCreated') ? overrides.blockCreated! : 'ipsa', - maturity: overrides && overrides.hasOwnProperty('maturity') ? overrides.maturity! : 'odit', - owner: overrides && overrides.hasOwnProperty('owner') ? overrides.owner! : 'nobis', - txCreatedIdx: overrides && overrides.hasOwnProperty('txCreatedIdx') ? overrides.txCreatedIdx! : 'voluptatem', - utxoId: overrides && overrides.hasOwnProperty('utxoId') ? overrides.utxoId! : 'non', - }; -}; - -export const aCoinConnection = (overrides?: Partial): { __typename: 'CoinConnection' } & CoinConnection => { - return { - __typename: 'CoinConnection', - edges: overrides && overrides.hasOwnProperty('edges') ? overrides.edges! : [aCoinEdge()], - nodes: overrides && overrides.hasOwnProperty('nodes') ? overrides.nodes! : [aCoin()], - pageInfo: overrides && overrides.hasOwnProperty('pageInfo') ? overrides.pageInfo! : aPageInfo(), - }; -}; - -export const aCoinEdge = (overrides?: Partial): { __typename: 'CoinEdge' } & CoinEdge => { - return { - __typename: 'CoinEdge', - cursor: overrides && overrides.hasOwnProperty('cursor') ? overrides.cursor! : 'similique', - node: overrides && overrides.hasOwnProperty('node') ? overrides.node! : aCoin(), - }; -}; - -export const aCoinFilterInput = (overrides?: Partial): CoinFilterInput => { - return { - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'sunt', - owner: overrides && overrides.hasOwnProperty('owner') ? overrides.owner! : 'voluptatem', - }; -}; - -export const aCoinOutput = (overrides?: Partial): { __typename: 'CoinOutput' } & CoinOutput => { - return { - __typename: 'CoinOutput', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'et', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'illum', - to: overrides && overrides.hasOwnProperty('to') ? overrides.to! : 'magnam', - }; -}; - -export const aConsensusParameters = (overrides?: Partial): { __typename: 'ConsensusParameters' } & ConsensusParameters => { - return { - __typename: 'ConsensusParameters', - chainId: overrides && overrides.hasOwnProperty('chainId') ? overrides.chainId! : 'quia', - contractMaxSize: overrides && overrides.hasOwnProperty('contractMaxSize') ? overrides.contractMaxSize! : 'recusandae', - gasPerByte: overrides && overrides.hasOwnProperty('gasPerByte') ? overrides.gasPerByte! : 'quibusdam', - gasPriceFactor: overrides && overrides.hasOwnProperty('gasPriceFactor') ? overrides.gasPriceFactor! : 'et', - maxGasPerPredicate: overrides && overrides.hasOwnProperty('maxGasPerPredicate') ? overrides.maxGasPerPredicate! : 'voluptatem', - maxGasPerTx: overrides && overrides.hasOwnProperty('maxGasPerTx') ? overrides.maxGasPerTx! : 'maiores', - maxInputs: overrides && overrides.hasOwnProperty('maxInputs') ? overrides.maxInputs! : 'error', - maxMessageDataLength: overrides && overrides.hasOwnProperty('maxMessageDataLength') ? overrides.maxMessageDataLength! : 'ut', - maxOutputs: overrides && overrides.hasOwnProperty('maxOutputs') ? overrides.maxOutputs! : 'voluptate', - maxPredicateDataLength: overrides && overrides.hasOwnProperty('maxPredicateDataLength') ? overrides.maxPredicateDataLength! : 'quis', - maxPredicateLength: overrides && overrides.hasOwnProperty('maxPredicateLength') ? overrides.maxPredicateLength! : 'ex', - maxScriptDataLength: overrides && overrides.hasOwnProperty('maxScriptDataLength') ? overrides.maxScriptDataLength! : 'nobis', - maxScriptLength: overrides && overrides.hasOwnProperty('maxScriptLength') ? overrides.maxScriptLength! : 'aut', - maxStorageSlots: overrides && overrides.hasOwnProperty('maxStorageSlots') ? overrides.maxStorageSlots! : 'qui', - maxWitnesses: overrides && overrides.hasOwnProperty('maxWitnesses') ? overrides.maxWitnesses! : 'quisquam', - }; -}; - -export const aContract = (overrides?: Partial): { __typename: 'Contract' } & Contract => { - return { - __typename: 'Contract', - bytecode: overrides && overrides.hasOwnProperty('bytecode') ? overrides.bytecode! : 'ipsam', - id: overrides && overrides.hasOwnProperty('id') ? overrides.id! : 'sequi', - salt: overrides && overrides.hasOwnProperty('salt') ? overrides.salt! : 'fugiat', - }; -}; - -export const aContractBalance = (overrides?: Partial): { __typename: 'ContractBalance' } & ContractBalance => { - return { - __typename: 'ContractBalance', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'culpa', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'et', - contract: overrides && overrides.hasOwnProperty('contract') ? overrides.contract! : 'eius', - }; -}; - -export const aContractBalanceConnection = (overrides?: Partial): { __typename: 'ContractBalanceConnection' } & ContractBalanceConnection => { - return { - __typename: 'ContractBalanceConnection', - edges: overrides && overrides.hasOwnProperty('edges') ? overrides.edges! : [aContractBalanceEdge()], - nodes: overrides && overrides.hasOwnProperty('nodes') ? overrides.nodes! : [aContractBalance()], - pageInfo: overrides && overrides.hasOwnProperty('pageInfo') ? overrides.pageInfo! : aPageInfo(), - }; -}; - -export const aContractBalanceEdge = (overrides?: Partial): { __typename: 'ContractBalanceEdge' } & ContractBalanceEdge => { - return { - __typename: 'ContractBalanceEdge', - cursor: overrides && overrides.hasOwnProperty('cursor') ? overrides.cursor! : 'velit', - node: overrides && overrides.hasOwnProperty('node') ? overrides.node! : aContractBalance(), - }; -}; - -export const aContractBalanceFilterInput = (overrides?: Partial): ContractBalanceFilterInput => { - return { - contract: overrides && overrides.hasOwnProperty('contract') ? overrides.contract! : 'officia', - }; -}; - -export const aContractCreated = (overrides?: Partial): { __typename: 'ContractCreated' } & ContractCreated => { - return { - __typename: 'ContractCreated', - contract: overrides && overrides.hasOwnProperty('contract') ? overrides.contract! : aContract(), - stateRoot: overrides && overrides.hasOwnProperty('stateRoot') ? overrides.stateRoot! : 'ipsum', - }; -}; - -export const aContractOutput = (overrides?: Partial): { __typename: 'ContractOutput' } & ContractOutput => { - return { - __typename: 'ContractOutput', - balanceRoot: overrides && overrides.hasOwnProperty('balanceRoot') ? overrides.balanceRoot! : 'aut', - inputIndex: overrides && overrides.hasOwnProperty('inputIndex') ? overrides.inputIndex! : 3397, - stateRoot: overrides && overrides.hasOwnProperty('stateRoot') ? overrides.stateRoot! : 'et', - }; -}; - -export const aDependentCost = (overrides?: Partial): { __typename: 'DependentCost' } & DependentCost => { - return { - __typename: 'DependentCost', - base: overrides && overrides.hasOwnProperty('base') ? overrides.base! : 'quo', - depPerUnit: overrides && overrides.hasOwnProperty('depPerUnit') ? overrides.depPerUnit! : 'sint', - }; -}; - -export const anExcludeInput = (overrides?: Partial): ExcludeInput => { - return { - messages: overrides && overrides.hasOwnProperty('messages') ? overrides.messages! : ['nihil'], - utxos: overrides && overrides.hasOwnProperty('utxos') ? overrides.utxos! : ['est'], - }; -}; - -export const aFailureStatus = (overrides?: Partial): { __typename: 'FailureStatus' } & FailureStatus => { - return { - __typename: 'FailureStatus', - block: overrides && overrides.hasOwnProperty('block') ? overrides.block! : aBlock(), - programState: overrides && overrides.hasOwnProperty('programState') ? overrides.programState! : aProgramState(), - reason: overrides && overrides.hasOwnProperty('reason') ? overrides.reason! : 'commodi', - time: overrides && overrides.hasOwnProperty('time') ? overrides.time! : 1365172147, - }; -}; - -export const aGasCosts = (overrides?: Partial): { __typename: 'GasCosts' } & GasCosts => { - return { - __typename: 'GasCosts', - add: overrides && overrides.hasOwnProperty('add') ? overrides.add! : 'et', - addi: overrides && overrides.hasOwnProperty('addi') ? overrides.addi! : 'numquam', - aloc: overrides && overrides.hasOwnProperty('aloc') ? overrides.aloc! : 'dolore', - and: overrides && overrides.hasOwnProperty('and') ? overrides.and! : 'repudiandae', - andi: overrides && overrides.hasOwnProperty('andi') ? overrides.andi! : 'quasi', - bal: overrides && overrides.hasOwnProperty('bal') ? overrides.bal! : 'soluta', - bhei: overrides && overrides.hasOwnProperty('bhei') ? overrides.bhei! : 'qui', - bhsh: overrides && overrides.hasOwnProperty('bhsh') ? overrides.bhsh! : 'aliquid', - burn: overrides && overrides.hasOwnProperty('burn') ? overrides.burn! : 'voluptatem', - call: overrides && overrides.hasOwnProperty('call') ? overrides.call! : aDependentCost(), - cb: overrides && overrides.hasOwnProperty('cb') ? overrides.cb! : 'consequuntur', - ccp: overrides && overrides.hasOwnProperty('ccp') ? overrides.ccp! : aDependentCost(), - cfei: overrides && overrides.hasOwnProperty('cfei') ? overrides.cfei! : 'omnis', - cfsi: overrides && overrides.hasOwnProperty('cfsi') ? overrides.cfsi! : 'aut', - croo: overrides && overrides.hasOwnProperty('croo') ? overrides.croo! : 'numquam', - csiz: overrides && overrides.hasOwnProperty('csiz') ? overrides.csiz! : aDependentCost(), - div: overrides && overrides.hasOwnProperty('div') ? overrides.div! : 'quaerat', - divi: overrides && overrides.hasOwnProperty('divi') ? overrides.divi! : 'omnis', - eck1: overrides && overrides.hasOwnProperty('eck1') ? overrides.eck1! : 'sed', - ecr1: overrides && overrides.hasOwnProperty('ecr1') ? overrides.ecr1! : 'consectetur', - ed19: overrides && overrides.hasOwnProperty('ed19') ? overrides.ed19! : 'molestiae', - eq: overrides && overrides.hasOwnProperty('eq') ? overrides.eq! : 'atque', - exp: overrides && overrides.hasOwnProperty('exp') ? overrides.exp! : 'ad', - expi: overrides && overrides.hasOwnProperty('expi') ? overrides.expi! : 'ut', - flag: overrides && overrides.hasOwnProperty('flag') ? overrides.flag! : 'corrupti', - gm: overrides && overrides.hasOwnProperty('gm') ? overrides.gm! : 'ad', - gt: overrides && overrides.hasOwnProperty('gt') ? overrides.gt! : 'autem', - gtf: overrides && overrides.hasOwnProperty('gtf') ? overrides.gtf! : 'culpa', - ji: overrides && overrides.hasOwnProperty('ji') ? overrides.ji! : 'reiciendis', - jmp: overrides && overrides.hasOwnProperty('jmp') ? overrides.jmp! : 'saepe', - jmpb: overrides && overrides.hasOwnProperty('jmpb') ? overrides.jmpb! : 'unde', - jmpf: overrides && overrides.hasOwnProperty('jmpf') ? overrides.jmpf! : 'vel', - jne: overrides && overrides.hasOwnProperty('jne') ? overrides.jne! : 'aperiam', - jneb: overrides && overrides.hasOwnProperty('jneb') ? overrides.jneb! : 'doloremque', - jnef: overrides && overrides.hasOwnProperty('jnef') ? overrides.jnef! : 'eius', - jnei: overrides && overrides.hasOwnProperty('jnei') ? overrides.jnei! : 'temporibus', - jnzb: overrides && overrides.hasOwnProperty('jnzb') ? overrides.jnzb! : 'architecto', - jnzf: overrides && overrides.hasOwnProperty('jnzf') ? overrides.jnzf! : 'et', - jnzi: overrides && overrides.hasOwnProperty('jnzi') ? overrides.jnzi! : 'quae', - k256: overrides && overrides.hasOwnProperty('k256') ? overrides.k256! : 'labore', - lb: overrides && overrides.hasOwnProperty('lb') ? overrides.lb! : 'placeat', - ldc: overrides && overrides.hasOwnProperty('ldc') ? overrides.ldc! : aDependentCost(), - log: overrides && overrides.hasOwnProperty('log') ? overrides.log! : 'nostrum', - logd: overrides && overrides.hasOwnProperty('logd') ? overrides.logd! : aDependentCost(), - lt: overrides && overrides.hasOwnProperty('lt') ? overrides.lt! : 'qui', - lw: overrides && overrides.hasOwnProperty('lw') ? overrides.lw! : 'officiis', - mcl: overrides && overrides.hasOwnProperty('mcl') ? overrides.mcl! : aDependentCost(), - mcli: overrides && overrides.hasOwnProperty('mcli') ? overrides.mcli! : aDependentCost(), - mcp: overrides && overrides.hasOwnProperty('mcp') ? overrides.mcp! : aDependentCost(), - mcpi: overrides && overrides.hasOwnProperty('mcpi') ? overrides.mcpi! : 'at', - meq: overrides && overrides.hasOwnProperty('meq') ? overrides.meq! : aDependentCost(), - mint: overrides && overrides.hasOwnProperty('mint') ? overrides.mint! : 'veritatis', - mldv: overrides && overrides.hasOwnProperty('mldv') ? overrides.mldv! : 'ut', - mlog: overrides && overrides.hasOwnProperty('mlog') ? overrides.mlog! : 'reprehenderit', - modOp: overrides && overrides.hasOwnProperty('modOp') ? overrides.modOp! : 'reiciendis', - modi: overrides && overrides.hasOwnProperty('modi') ? overrides.modi! : 'qui', - moveOp: overrides && overrides.hasOwnProperty('moveOp') ? overrides.moveOp! : 'sit', - movi: overrides && overrides.hasOwnProperty('movi') ? overrides.movi! : 'repellat', - mroo: overrides && overrides.hasOwnProperty('mroo') ? overrides.mroo! : 'placeat', - mul: overrides && overrides.hasOwnProperty('mul') ? overrides.mul! : 'repudiandae', - muli: overrides && overrides.hasOwnProperty('muli') ? overrides.muli! : 'recusandae', - noop: overrides && overrides.hasOwnProperty('noop') ? overrides.noop! : 'eos', - not: overrides && overrides.hasOwnProperty('not') ? overrides.not! : 'sunt', - or: overrides && overrides.hasOwnProperty('or') ? overrides.or! : 'eum', - ori: overrides && overrides.hasOwnProperty('ori') ? overrides.ori! : 'rerum', - ret: overrides && overrides.hasOwnProperty('ret') ? overrides.ret! : 'corrupti', - retd: overrides && overrides.hasOwnProperty('retd') ? overrides.retd! : aDependentCost(), - rvrt: overrides && overrides.hasOwnProperty('rvrt') ? overrides.rvrt! : 'accusamus', - s256: overrides && overrides.hasOwnProperty('s256') ? overrides.s256! : 'aut', - sb: overrides && overrides.hasOwnProperty('sb') ? overrides.sb! : 'vel', - scwq: overrides && overrides.hasOwnProperty('scwq') ? overrides.scwq! : 'ut', - sll: overrides && overrides.hasOwnProperty('sll') ? overrides.sll! : 'tenetur', - slli: overrides && overrides.hasOwnProperty('slli') ? overrides.slli! : 'sint', - smo: overrides && overrides.hasOwnProperty('smo') ? overrides.smo! : aDependentCost(), - srl: overrides && overrides.hasOwnProperty('srl') ? overrides.srl! : 'est', - srli: overrides && overrides.hasOwnProperty('srli') ? overrides.srli! : 'aut', - srw: overrides && overrides.hasOwnProperty('srw') ? overrides.srw! : 'dolores', - srwq: overrides && overrides.hasOwnProperty('srwq') ? overrides.srwq! : aDependentCost(), - sub: overrides && overrides.hasOwnProperty('sub') ? overrides.sub! : 'praesentium', - subi: overrides && overrides.hasOwnProperty('subi') ? overrides.subi! : 'hic', - sw: overrides && overrides.hasOwnProperty('sw') ? overrides.sw! : 'totam', - sww: overrides && overrides.hasOwnProperty('sww') ? overrides.sww! : 'eum', - swwq: overrides && overrides.hasOwnProperty('swwq') ? overrides.swwq! : 'architecto', - time: overrides && overrides.hasOwnProperty('time') ? overrides.time! : 'beatae', - tr: overrides && overrides.hasOwnProperty('tr') ? overrides.tr! : 'voluptatem', - tro: overrides && overrides.hasOwnProperty('tro') ? overrides.tro! : 'aut', - wdam: overrides && overrides.hasOwnProperty('wdam') ? overrides.wdam! : 'cumque', - wdcm: overrides && overrides.hasOwnProperty('wdcm') ? overrides.wdcm! : 'et', - wddv: overrides && overrides.hasOwnProperty('wddv') ? overrides.wddv! : 'facilis', - wdmd: overrides && overrides.hasOwnProperty('wdmd') ? overrides.wdmd! : 'dolor', - wdml: overrides && overrides.hasOwnProperty('wdml') ? overrides.wdml! : 'distinctio', - wdmm: overrides && overrides.hasOwnProperty('wdmm') ? overrides.wdmm! : 'nemo', - wdop: overrides && overrides.hasOwnProperty('wdop') ? overrides.wdop! : 'consequatur', - wqam: overrides && overrides.hasOwnProperty('wqam') ? overrides.wqam! : 'delectus', - wqcm: overrides && overrides.hasOwnProperty('wqcm') ? overrides.wqcm! : 'qui', - wqdv: overrides && overrides.hasOwnProperty('wqdv') ? overrides.wqdv! : 'et', - wqmd: overrides && overrides.hasOwnProperty('wqmd') ? overrides.wqmd! : 'nesciunt', - wqml: overrides && overrides.hasOwnProperty('wqml') ? overrides.wqml! : 'magnam', - wqmm: overrides && overrides.hasOwnProperty('wqmm') ? overrides.wqmm! : 'molestiae', - wqop: overrides && overrides.hasOwnProperty('wqop') ? overrides.wqop! : 'possimus', - xor: overrides && overrides.hasOwnProperty('xor') ? overrides.xor! : 'veritatis', - xori: overrides && overrides.hasOwnProperty('xori') ? overrides.xori! : 'occaecati', - }; -}; - -export const aGenesis = (overrides?: Partial): { __typename: 'Genesis' } & Genesis => { - return { - __typename: 'Genesis', - chainConfigHash: overrides && overrides.hasOwnProperty('chainConfigHash') ? overrides.chainConfigHash! : 'nemo', - coinsRoot: overrides && overrides.hasOwnProperty('coinsRoot') ? overrides.coinsRoot! : 'veritatis', - contractsRoot: overrides && overrides.hasOwnProperty('contractsRoot') ? overrides.contractsRoot! : 'non', - messagesRoot: overrides && overrides.hasOwnProperty('messagesRoot') ? overrides.messagesRoot! : 'possimus', - }; -}; - -export const aHeader = (overrides?: Partial
): { __typename: 'Header' } & Header => { - return { - __typename: 'Header', - applicationHash: overrides && overrides.hasOwnProperty('applicationHash') ? overrides.applicationHash! : 'sunt', - daHeight: overrides && overrides.hasOwnProperty('daHeight') ? overrides.daHeight! : 'molestias', - height: overrides && overrides.hasOwnProperty('height') ? overrides.height! : 'ut', - id: overrides && overrides.hasOwnProperty('id') ? overrides.id! : 'eos', - messageReceiptCount: overrides && overrides.hasOwnProperty('messageReceiptCount') ? overrides.messageReceiptCount! : 'architecto', - messageReceiptRoot: overrides && overrides.hasOwnProperty('messageReceiptRoot') ? overrides.messageReceiptRoot! : 'natus', - prevRoot: overrides && overrides.hasOwnProperty('prevRoot') ? overrides.prevRoot! : 'dignissimos', - time: overrides && overrides.hasOwnProperty('time') ? overrides.time! : 871463606, - transactionsCount: overrides && overrides.hasOwnProperty('transactionsCount') ? overrides.transactionsCount! : 'perferendis', - transactionsRoot: overrides && overrides.hasOwnProperty('transactionsRoot') ? overrides.transactionsRoot! : 'expedita', - }; -}; - -export const anInputCoin = (overrides?: Partial): { __typename: 'InputCoin' } & InputCoin => { - return { - __typename: 'InputCoin', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'assumenda', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'ut', - maturity: overrides && overrides.hasOwnProperty('maturity') ? overrides.maturity! : 'minima', - owner: overrides && overrides.hasOwnProperty('owner') ? overrides.owner! : 'aut', - predicate: overrides && overrides.hasOwnProperty('predicate') ? overrides.predicate! : 'dolores', - predicateData: overrides && overrides.hasOwnProperty('predicateData') ? overrides.predicateData! : 'nemo', - predicateGasUsed: overrides && overrides.hasOwnProperty('predicateGasUsed') ? overrides.predicateGasUsed! : 'fuga', - txPointer: overrides && overrides.hasOwnProperty('txPointer') ? overrides.txPointer! : 'rerum', - utxoId: overrides && overrides.hasOwnProperty('utxoId') ? overrides.utxoId! : 'fugit', - witnessIndex: overrides && overrides.hasOwnProperty('witnessIndex') ? overrides.witnessIndex! : 8295, - }; -}; - -export const anInputContract = (overrides?: Partial): { __typename: 'InputContract' } & InputContract => { - return { - __typename: 'InputContract', - balanceRoot: overrides && overrides.hasOwnProperty('balanceRoot') ? overrides.balanceRoot! : 'iure', - contract: overrides && overrides.hasOwnProperty('contract') ? overrides.contract! : aContract(), - stateRoot: overrides && overrides.hasOwnProperty('stateRoot') ? overrides.stateRoot! : 'aperiam', - txPointer: overrides && overrides.hasOwnProperty('txPointer') ? overrides.txPointer! : 'et', - utxoId: overrides && overrides.hasOwnProperty('utxoId') ? overrides.utxoId! : 'sit', - }; -}; - -export const anInputMessage = (overrides?: Partial): { __typename: 'InputMessage' } & InputMessage => { - return { - __typename: 'InputMessage', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'ut', - data: overrides && overrides.hasOwnProperty('data') ? overrides.data! : 'nihil', - nonce: overrides && overrides.hasOwnProperty('nonce') ? overrides.nonce! : 'quis', - predicate: overrides && overrides.hasOwnProperty('predicate') ? overrides.predicate! : 'amet', - predicateData: overrides && overrides.hasOwnProperty('predicateData') ? overrides.predicateData! : 'voluptatem', - predicateGasUsed: overrides && overrides.hasOwnProperty('predicateGasUsed') ? overrides.predicateGasUsed! : 'ut', - recipient: overrides && overrides.hasOwnProperty('recipient') ? overrides.recipient! : 'ad', - sender: overrides && overrides.hasOwnProperty('sender') ? overrides.sender! : 'voluptatibus', - witnessIndex: overrides && overrides.hasOwnProperty('witnessIndex') ? overrides.witnessIndex! : 4160, - }; -}; - -export const aMerkleProof = (overrides?: Partial): { __typename: 'MerkleProof' } & MerkleProof => { - return { - __typename: 'MerkleProof', - proofIndex: overrides && overrides.hasOwnProperty('proofIndex') ? overrides.proofIndex! : 'commodi', - proofSet: overrides && overrides.hasOwnProperty('proofSet') ? overrides.proofSet! : ['doloremque'], - }; -}; - -export const aMessage = (overrides?: Partial): { __typename: 'Message' } & Message => { - return { - __typename: 'Message', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'cumque', - daHeight: overrides && overrides.hasOwnProperty('daHeight') ? overrides.daHeight! : 'debitis', - data: overrides && overrides.hasOwnProperty('data') ? overrides.data! : 'est', - nonce: overrides && overrides.hasOwnProperty('nonce') ? overrides.nonce! : 'a', - recipient: overrides && overrides.hasOwnProperty('recipient') ? overrides.recipient! : 'voluptates', - sender: overrides && overrides.hasOwnProperty('sender') ? overrides.sender! : 'nobis', - }; -}; - -export const aMessageCoin = (overrides?: Partial): { __typename: 'MessageCoin' } & MessageCoin => { - return { - __typename: 'MessageCoin', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'hic', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'sed', - daHeight: overrides && overrides.hasOwnProperty('daHeight') ? overrides.daHeight! : 'et', - nonce: overrides && overrides.hasOwnProperty('nonce') ? overrides.nonce! : 'enim', - recipient: overrides && overrides.hasOwnProperty('recipient') ? overrides.recipient! : 'ut', - sender: overrides && overrides.hasOwnProperty('sender') ? overrides.sender! : 'inventore', - }; -}; - -export const aMessageConnection = (overrides?: Partial): { __typename: 'MessageConnection' } & MessageConnection => { - return { - __typename: 'MessageConnection', - edges: overrides && overrides.hasOwnProperty('edges') ? overrides.edges! : [aMessageEdge()], - nodes: overrides && overrides.hasOwnProperty('nodes') ? overrides.nodes! : [aMessage()], - pageInfo: overrides && overrides.hasOwnProperty('pageInfo') ? overrides.pageInfo! : aPageInfo(), - }; -}; - -export const aMessageEdge = (overrides?: Partial): { __typename: 'MessageEdge' } & MessageEdge => { - return { - __typename: 'MessageEdge', - cursor: overrides && overrides.hasOwnProperty('cursor') ? overrides.cursor! : 'iste', - node: overrides && overrides.hasOwnProperty('node') ? overrides.node! : aMessage(), - }; -}; - -export const aMessageProof = (overrides?: Partial): { __typename: 'MessageProof' } & MessageProof => { - return { - __typename: 'MessageProof', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'dolores', - blockProof: overrides && overrides.hasOwnProperty('blockProof') ? overrides.blockProof! : aMerkleProof(), - commitBlockHeader: overrides && overrides.hasOwnProperty('commitBlockHeader') ? overrides.commitBlockHeader! : aHeader(), - data: overrides && overrides.hasOwnProperty('data') ? overrides.data! : 'laboriosam', - messageBlockHeader: overrides && overrides.hasOwnProperty('messageBlockHeader') ? overrides.messageBlockHeader! : aHeader(), - messageProof: overrides && overrides.hasOwnProperty('messageProof') ? overrides.messageProof! : aMerkleProof(), - nonce: overrides && overrides.hasOwnProperty('nonce') ? overrides.nonce! : 'voluptatem', - recipient: overrides && overrides.hasOwnProperty('recipient') ? overrides.recipient! : 'iure', - sender: overrides && overrides.hasOwnProperty('sender') ? overrides.sender! : 'hic', - }; -}; - -export const aMutation = (overrides?: Partial): { __typename: 'Mutation' } & Mutation => { - return { - __typename: 'Mutation', - dryRun: overrides && overrides.hasOwnProperty('dryRun') ? overrides.dryRun! : [aReceipt()], - produceBlocks: overrides && overrides.hasOwnProperty('produceBlocks') ? overrides.produceBlocks! : 'non', - submit: overrides && overrides.hasOwnProperty('submit') ? overrides.submit! : aTransaction(), - }; -}; - -export const aNodeInfo = (overrides?: Partial): { __typename: 'NodeInfo' } & NodeInfo => { - return { - __typename: 'NodeInfo', - maxDepth: overrides && overrides.hasOwnProperty('maxDepth') ? overrides.maxDepth! : 'optio', - maxTx: overrides && overrides.hasOwnProperty('maxTx') ? overrides.maxTx! : 'quia', - minGasPrice: overrides && overrides.hasOwnProperty('minGasPrice') ? overrides.minGasPrice! : 'quia', - nodeVersion: overrides && overrides.hasOwnProperty('nodeVersion') ? overrides.nodeVersion! : 'placeat', - utxoValidation: overrides && overrides.hasOwnProperty('utxoValidation') ? overrides.utxoValidation! : false, - vmBacktrace: overrides && overrides.hasOwnProperty('vmBacktrace') ? overrides.vmBacktrace! : false, - }; -}; - -export const aPageInfo = (overrides?: Partial): { __typename: 'PageInfo' } & PageInfo => { - return { - __typename: 'PageInfo', - endCursor: overrides && overrides.hasOwnProperty('endCursor') ? overrides.endCursor! : 'id', - hasNextPage: overrides && overrides.hasOwnProperty('hasNextPage') ? overrides.hasNextPage! : true, - hasPreviousPage: overrides && overrides.hasOwnProperty('hasPreviousPage') ? overrides.hasPreviousPage! : false, - startCursor: overrides && overrides.hasOwnProperty('startCursor') ? overrides.startCursor! : 'eum', - }; -}; - -export const aParsedTime = (overrides?: Partial): { __typename: 'ParsedTime' } & ParsedTime => { - return { - __typename: 'ParsedTime', - fromNow: overrides && overrides.hasOwnProperty('fromNow') ? overrides.fromNow! : 'tempora', - full: overrides && overrides.hasOwnProperty('full') ? overrides.full! : 'odit', - rawTai64: overrides && overrides.hasOwnProperty('rawTai64') ? overrides.rawTai64! : 'blanditiis', - rawUnix: overrides && overrides.hasOwnProperty('rawUnix') ? overrides.rawUnix! : 'laboriosam', - }; -}; - -export const aPoAConsensus = (overrides?: Partial): { __typename: 'PoAConsensus' } & PoAConsensus => { - return { - __typename: 'PoAConsensus', - signature: overrides && overrides.hasOwnProperty('signature') ? overrides.signature! : 'labore', - }; -}; - -export const aProgramState = (overrides?: Partial): { __typename: 'ProgramState' } & ProgramState => { - return { - __typename: 'ProgramState', - data: overrides && overrides.hasOwnProperty('data') ? overrides.data! : 'et', - returnType: overrides && overrides.hasOwnProperty('returnType') ? overrides.returnType! : ReturnType.Return, - }; -}; - -export const aQuery = (overrides?: Partial): { __typename: 'Query' } & Query => { - return { - __typename: 'Query', - accounts: overrides && overrides.hasOwnProperty('accounts') ? overrides.accounts! : [anAccount()], - balance: overrides && overrides.hasOwnProperty('balance') ? overrides.balance! : aBalance(), - balances: overrides && overrides.hasOwnProperty('balances') ? overrides.balances! : aBalanceConnection(), - block: overrides && overrides.hasOwnProperty('block') ? overrides.block! : aBlock(), - blocks: overrides && overrides.hasOwnProperty('blocks') ? overrides.blocks! : aBlockConnection(), - chain: overrides && overrides.hasOwnProperty('chain') ? overrides.chain! : aChainInfo(), - coin: overrides && overrides.hasOwnProperty('coin') ? overrides.coin! : aCoin(), - coins: overrides && overrides.hasOwnProperty('coins') ? overrides.coins! : aCoinConnection(), - coinsToSpend: overrides && overrides.hasOwnProperty('coinsToSpend') ? overrides.coinsToSpend! : [[aCoin()]], - contract: overrides && overrides.hasOwnProperty('contract') ? overrides.contract! : aContract(), - contractBalance: overrides && overrides.hasOwnProperty('contractBalance') ? overrides.contractBalance! : aContractBalance(), - contractBalances: overrides && overrides.hasOwnProperty('contractBalances') ? overrides.contractBalances! : aContractBalanceConnection(), - estimatePredicates: overrides && overrides.hasOwnProperty('estimatePredicates') ? overrides.estimatePredicates! : aTransaction(), - health: overrides && overrides.hasOwnProperty('health') ? overrides.health! : false, - messageProof: overrides && overrides.hasOwnProperty('messageProof') ? overrides.messageProof! : aMessageProof(), - messages: overrides && overrides.hasOwnProperty('messages') ? overrides.messages! : aMessageConnection(), - nodeInfo: overrides && overrides.hasOwnProperty('nodeInfo') ? overrides.nodeInfo! : aNodeInfo(), - tokens: overrides && overrides.hasOwnProperty('tokens') ? overrides.tokens! : [aToken()], - transaction: overrides && overrides.hasOwnProperty('transaction') ? overrides.transaction! : aTransaction(), - transactions: overrides && overrides.hasOwnProperty('transactions') ? overrides.transactions! : aTransactionConnection(), - transactionsByOwner: overrides && overrides.hasOwnProperty('transactionsByOwner') ? overrides.transactionsByOwner! : aTransactionConnection(), - }; -}; - -export const aReceipt = (overrides?: Partial): { __typename: 'Receipt' } & Receipt => { - return { - __typename: 'Receipt', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'illum', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'maiores', - contract: overrides && overrides.hasOwnProperty('contract') ? overrides.contract! : aContract(), - contractId: overrides && overrides.hasOwnProperty('contractId') ? overrides.contractId! : 'ut', - data: overrides && overrides.hasOwnProperty('data') ? overrides.data! : 'tempore', - digest: overrides && overrides.hasOwnProperty('digest') ? overrides.digest! : 'aut', - gas: overrides && overrides.hasOwnProperty('gas') ? overrides.gas! : 'sed', - gasUsed: overrides && overrides.hasOwnProperty('gasUsed') ? overrides.gasUsed! : 'explicabo', - is: overrides && overrides.hasOwnProperty('is') ? overrides.is! : 'sint', - len: overrides && overrides.hasOwnProperty('len') ? overrides.len! : 'quo', - nonce: overrides && overrides.hasOwnProperty('nonce') ? overrides.nonce! : 'et', - param1: overrides && overrides.hasOwnProperty('param1') ? overrides.param1! : 'nihil', - param2: overrides && overrides.hasOwnProperty('param2') ? overrides.param2! : 'facilis', - pc: overrides && overrides.hasOwnProperty('pc') ? overrides.pc! : 'animi', - ptr: overrides && overrides.hasOwnProperty('ptr') ? overrides.ptr! : 'quis', - ra: overrides && overrides.hasOwnProperty('ra') ? overrides.ra! : 'placeat', - rb: overrides && overrides.hasOwnProperty('rb') ? overrides.rb! : 'animi', - rc: overrides && overrides.hasOwnProperty('rc') ? overrides.rc! : 'aspernatur', - rd: overrides && overrides.hasOwnProperty('rd') ? overrides.rd! : 'a', - reason: overrides && overrides.hasOwnProperty('reason') ? overrides.reason! : 'a', - receiptType: overrides && overrides.hasOwnProperty('receiptType') ? overrides.receiptType! : ReceiptType.Burn, - recipient: overrides && overrides.hasOwnProperty('recipient') ? overrides.recipient! : 'est', - result: overrides && overrides.hasOwnProperty('result') ? overrides.result! : 'ipsa', - sender: overrides && overrides.hasOwnProperty('sender') ? overrides.sender! : 'a', - subId: overrides && overrides.hasOwnProperty('subId') ? overrides.subId! : 'laudantium', - to: overrides && overrides.hasOwnProperty('to') ? overrides.to! : aContract(), - toAddress: overrides && overrides.hasOwnProperty('toAddress') ? overrides.toAddress! : 'sed', - val: overrides && overrides.hasOwnProperty('val') ? overrides.val! : 'nobis', - }; -}; - -export const aSpendQueryElementInput = (overrides?: Partial): SpendQueryElementInput => { - return { - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'deserunt', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'voluptas', - max: overrides && overrides.hasOwnProperty('max') ? overrides.max! : 'qui', - }; -}; - -export const aSqueezedOutStatus = (overrides?: Partial): { __typename: 'SqueezedOutStatus' } & SqueezedOutStatus => { - return { - __typename: 'SqueezedOutStatus', - reason: overrides && overrides.hasOwnProperty('reason') ? overrides.reason! : 'aut', - }; -}; - -export const aSubmittedStatus = (overrides?: Partial): { __typename: 'SubmittedStatus' } & SubmittedStatus => { - return { - __typename: 'SubmittedStatus', - time: overrides && overrides.hasOwnProperty('time') ? overrides.time! : 904647984, - }; -}; - -export const aSubscription = (overrides?: Partial): { __typename: 'Subscription' } & Subscription => { - return { - __typename: 'Subscription', - statusChange: overrides && overrides.hasOwnProperty('statusChange') ? overrides.statusChange! : aFailureStatus(), - submitAndAwait: overrides && overrides.hasOwnProperty('submitAndAwait') ? overrides.submitAndAwait! : aFailureStatus(), - }; -}; - -export const aSuccessStatus = (overrides?: Partial): { __typename: 'SuccessStatus' } & SuccessStatus => { - return { - __typename: 'SuccessStatus', - block: overrides && overrides.hasOwnProperty('block') ? overrides.block! : aBlock(), - programState: overrides && overrides.hasOwnProperty('programState') ? overrides.programState! : aProgramState(), - time: overrides && overrides.hasOwnProperty('time') ? overrides.time! : 388335830, - }; -}; - -export const aToken = (overrides?: Partial): { __typename: 'Token' } & Token => { - return { - __typename: 'Token', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'culpa', - decimals: overrides && overrides.hasOwnProperty('decimals') ? overrides.decimals! : 'nostrum', - name: overrides && overrides.hasOwnProperty('name') ? overrides.name! : 'repudiandae', - symbol: overrides && overrides.hasOwnProperty('symbol') ? overrides.symbol! : 'deleniti', - totalAssets: overrides && overrides.hasOwnProperty('totalAssets') ? overrides.totalAssets! : 'vel', - totalSupply: overrides && overrides.hasOwnProperty('totalSupply') ? overrides.totalSupply! : 'labore', - url: overrides && overrides.hasOwnProperty('url') ? overrides.url! : 'non', - }; -}; - -export const aTransaction = (overrides?: Partial): { __typename: 'Transaction' } & Transaction => { - return { - __typename: 'Transaction', - blockHeight: overrides && overrides.hasOwnProperty('blockHeight') ? overrides.blockHeight! : 'magnam', - bytecodeLength: overrides && overrides.hasOwnProperty('bytecodeLength') ? overrides.bytecodeLength! : 'minima', - bytecodeWitnessIndex: overrides && overrides.hasOwnProperty('bytecodeWitnessIndex') ? overrides.bytecodeWitnessIndex! : 9379, - gasLimit: overrides && overrides.hasOwnProperty('gasLimit') ? overrides.gasLimit! : 'totam', - gasPrice: overrides && overrides.hasOwnProperty('gasPrice') ? overrides.gasPrice! : 'rerum', - gasUsed: overrides && overrides.hasOwnProperty('gasUsed') ? overrides.gasUsed! : 'ut', - id: overrides && overrides.hasOwnProperty('id') ? overrides.id! : 'quidem', - inputAssetIds: overrides && overrides.hasOwnProperty('inputAssetIds') ? overrides.inputAssetIds! : ['excepturi'], - inputContracts: overrides && overrides.hasOwnProperty('inputContracts') ? overrides.inputContracts! : [aContract()], - inputs: overrides && overrides.hasOwnProperty('inputs') ? overrides.inputs! : [anInputCoin()], - isCreate: overrides && overrides.hasOwnProperty('isCreate') ? overrides.isCreate! : false, - isMint: overrides && overrides.hasOwnProperty('isMint') ? overrides.isMint! : true, - isScript: overrides && overrides.hasOwnProperty('isScript') ? overrides.isScript! : false, - maturity: overrides && overrides.hasOwnProperty('maturity') ? overrides.maturity! : 'porro', - outputs: overrides && overrides.hasOwnProperty('outputs') ? overrides.outputs! : [aChangeOutput()], - rawPayload: overrides && overrides.hasOwnProperty('rawPayload') ? overrides.rawPayload! : 'qui', - receipts: overrides && overrides.hasOwnProperty('receipts') ? overrides.receipts! : [aReceipt()], - receiptsRoot: overrides && overrides.hasOwnProperty('receiptsRoot') ? overrides.receiptsRoot! : 'saepe', - salt: overrides && overrides.hasOwnProperty('salt') ? overrides.salt! : 'nobis', - script: overrides && overrides.hasOwnProperty('script') ? overrides.script! : 'perspiciatis', - scriptData: overrides && overrides.hasOwnProperty('scriptData') ? overrides.scriptData! : 'voluptatum', - status: overrides && overrides.hasOwnProperty('status') ? overrides.status! : aFailureStatus(), - statusType: overrides && overrides.hasOwnProperty('statusType') ? overrides.statusType! : TransactionStatusType.Failure, - storageSlots: overrides && overrides.hasOwnProperty('storageSlots') ? overrides.storageSlots! : ['ducimus'], - time: overrides && overrides.hasOwnProperty('time') ? overrides.time! : aParsedTime(), - title: overrides && overrides.hasOwnProperty('title') ? overrides.title! : TransactionTitle.Burn, - totalAccounts: overrides && overrides.hasOwnProperty('totalAccounts') ? overrides.totalAccounts! : 206, - totalAssets: overrides && overrides.hasOwnProperty('totalAssets') ? overrides.totalAssets! : 4943, - totalOperations: overrides && overrides.hasOwnProperty('totalOperations') ? overrides.totalOperations! : 1611, - txPointer: overrides && overrides.hasOwnProperty('txPointer') ? overrides.txPointer! : 'impedit', - witnesses: overrides && overrides.hasOwnProperty('witnesses') ? overrides.witnesses! : ['iure'], - }; -}; - -export const aTransactionConnection = (overrides?: Partial): { __typename: 'TransactionConnection' } & TransactionConnection => { - return { - __typename: 'TransactionConnection', - accounts: overrides && overrides.hasOwnProperty('accounts') ? overrides.accounts! : [anAccount()], - edges: overrides && overrides.hasOwnProperty('edges') ? overrides.edges! : [aTransactionEdge()], - nodes: overrides && overrides.hasOwnProperty('nodes') ? overrides.nodes! : [aTransaction()], - pageInfo: overrides && overrides.hasOwnProperty('pageInfo') ? overrides.pageInfo! : aPageInfo(), - tokens: overrides && overrides.hasOwnProperty('tokens') ? overrides.tokens! : [aToken()], - }; -}; - -export const aTransactionEdge = (overrides?: Partial): { __typename: 'TransactionEdge' } & TransactionEdge => { - return { - __typename: 'TransactionEdge', - cursor: overrides && overrides.hasOwnProperty('cursor') ? overrides.cursor! : 'dolor', - node: overrides && overrides.hasOwnProperty('node') ? overrides.node! : aTransaction(), - }; -}; - -export const aVariableOutput = (overrides?: Partial): { __typename: 'VariableOutput' } & VariableOutput => { - return { - __typename: 'VariableOutput', - amount: overrides && overrides.hasOwnProperty('amount') ? overrides.amount! : 'unde', - assetId: overrides && overrides.hasOwnProperty('assetId') ? overrides.assetId! : 'deleniti', - to: overrides && overrides.hasOwnProperty('to') ? overrides.to! : 'fugit', - }; -}; diff --git a/packages/graphql/src/index.ts b/packages/graphql/src/index.ts deleted file mode 100644 index fb0d7bb46..000000000 --- a/packages/graphql/src/index.ts +++ /dev/null @@ -1,28 +0,0 @@ -import cors from 'cors'; -import express from 'express'; -import expressPlayground from 'graphql-playground-middleware-express'; -import { startGraphql } from '~/startGraphql'; -import { requireEnv } from '~/utils'; - -const { FUEL_PROVIDER_URL } = requireEnv(['FUEL_PROVIDER_URL']); - -// Create a server: -const app = express(); - -app.use(cors()); -app.use(express.json()); - -app.get( - '/graphql', - expressPlayground({ - endpoint: '/graphql', - settings: { - 'schema.polling.enable': false, - }, - }), -); - -// Start graphql server -startGraphql(FUEL_PROVIDER_URL, app); - -export default app; diff --git a/packages/graphql/src/lib.ts b/packages/graphql/src/lib.ts deleted file mode 100644 index 4632df3d4..000000000 --- a/packages/graphql/src/lib.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as mocks from './generated/mocks'; -export * from './generated/graphql'; - -export { mocks }; diff --git a/packages/graphql/src/schemas/fullschema.graphql b/packages/graphql/src/schemas/fullschema.graphql deleted file mode 100644 index 813a20609..000000000 --- a/packages/graphql/src/schemas/fullschema.graphql +++ /dev/null @@ -1,740 +0,0 @@ -########################################################## -## This is a backup file of the Fuel Core GraphQL schema. -## it will be used once we create local database -########################################################## - -scalar Address -scalar AssetId -scalar BlockId -scalar Bytes32 -scalar ContractId -scalar HexString -scalar MessageId -scalar Salt -scalar Signature -scalar Tai64Timestamp -scalar TransactionId -scalar TxPointer -scalar U64 -scalar UtxoId - -########################################################## -## Account -########################################################## - -type Balance { - owner: Address! - amount: U64! - assetId: AssetId! -} - -type BalanceConnection { - # Information to aid in pagination. - pageInfo: PageInfo! - - # A list of edges. - edges: [BalanceEdge!]! - - # A list of nodes. - nodes: [Balance!]! -} - -# An edge in a connection. -type BalanceEdge { - # A cursor for use in pagination - cursor: String! - - # The item at the end of the edge - node: Balance! -} - -input BalanceFilterInput { - # Filter coins based on the `owner` field - owner: Address! -} - -input ExcludeInput { - # Utxos to exclude from the selection. - utxos: [UtxoId!]! - - # Messages to exclude from the selection. - messages: [MessageId!]! -} - -########################################################## -## Contract -########################################################## - -type Contract { - id: ContractId! - bytecode: HexString! - salt: Salt! -} - -type ContractBalance { - contract: ContractId! - amount: U64! - assetId: AssetId! -} - -type ContractBalanceConnection { - # Information to aid in pagination. - pageInfo: PageInfo! - - # A list of edges. - edges: [ContractBalanceEdge!]! - - # A list of nodes. - nodes: [ContractBalance!]! -} - -# An edge in a connection. -type ContractBalanceEdge { - # A cursor for use in pagination - cursor: String! - - # The item at the end of the edge - node: ContractBalance! -} - -input ContractBalanceFilterInput { - # Filter assets based on the `contractId` field - contract: ContractId! -} - -########################################################## -## Block -########################################################## - -type Block { - id: BlockId! - header: Header! - consensus: Consensus! - transactions: [Transaction!]! -} - -type BlockConnection { - # Information to aid in pagination. - pageInfo: PageInfo! - - # A list of edges. - edges: [BlockEdge!]! - - # A list of nodes. - nodes: [Block!]! -} - -# An edge in a connection. -type BlockEdge { - # A cursor for use in pagination - cursor: String! - - # The item at the end of the edge - node: Block! -} - -type Header { - # Hash of the header - id: BlockId! - - # The layer 1 height of messages and events to include since the last layer 1 block number. - daHeight: U64! - - # Number of transactions in this block. - transactionsCount: U64! - - # Number of output messages in this block. - outputMessagesCount: U64! - - # Merkle root of transactions. - transactionsRoot: Bytes32! - - # Merkle root of messages in this block. - outputMessagesRoot: Bytes32! - - # Fuel block height. - height: U64! - - # Merkle root of all previous block header hashes. - prevRoot: Bytes32! - - # The block producer time. - time: Tai64Timestamp! - - # Hash of the application header. - applicationHash: Bytes32! -} - -########################################################## -## Chain -########################################################## - -union Consensus = Genesis | PoAConsensus - -type ConsensusParameters { - contractMaxSize: U64! - maxInputs: U64! - maxOutputs: U64! - maxWitnesses: U64! - maxGasPerTx: U64! - maxScriptLength: U64! - maxScriptDataLength: U64! - maxStorageSlots: U64! - maxPredicateLength: U64! - maxPredicateDataLength: U64! - gasPriceFactor: U64! - gasPerByte: U64! - maxMessageDataLength: U64! -} - -type ChainInfo { - name: String! - latestBlock: Block! - baseChainHeight: U64! - peerCount: Int! - consensusParameters: ConsensusParameters! -} - -type Genesis { - # The chain configs define what consensus type to use, what settlement layer to use, - # rules of block validity, etc. - chainConfigHash: Bytes32! - - # The Binary Merkle Tree root of all genesis coins. - coinsRoot: Bytes32! - - # The Binary Merkle Tree root of state, balances, contracts code hash of each contract. - contractsRoot: Bytes32! - - # The Binary Merkle Tree root of all genesis messages. - messagesRoot: Bytes32! -} - -type PoAConsensus { - # Gets the signature of the block produced by `PoA` consensus. - signature: Signature! -} - -########################################################## -## NodeInfo -########################################################## - -type NodeInfo { - utxoValidation: Boolean! - vmBacktrace: Boolean! - minGasPrice: U64! - maxTx: U64! - maxDepth: U64! - nodeVersion: String! -} - -########################################################## -## UTXO -########################################################## - -# The schema analog of the [`resource::Resource`]. -union Resource = Coin | Message - -enum CoinStatus { - UNSPENT - SPENT -} - -type Coin { - utxoId: UtxoId! - owner: Address! - amount: U64! - assetId: AssetId! - maturity: U64! - status: CoinStatus! - blockCreated: U64! -} - -type CoinConnection { - # Information to aid in pagination. - pageInfo: PageInfo! - - # A list of edges. - edges: [CoinEdge!]! - - # A list of nodes. - nodes: [Coin!]! -} - -# An edge in a connection. -type CoinEdge { - # A cursor for use in pagination - cursor: String! - - # The item at the end of the edge - node: Coin! -} - -input SpendQueryElementInput { - # Identifier of the asset to spend. - assetId: AssetId! - - # Target amount for the query. - amount: U64! - - # The maximum number of currencies for selection. - max: U64 -} - -input CoinFilterInput { - # Returns coins owned by the `owner`. - owner: Address! - - # Returns coins only with `asset_id`. - assetId: AssetId -} - -########################################################## -## Message -########################################################## - -type Message { - messageId: MessageId! - amount: U64! - sender: Address! - recipient: Address! - nonce: U64! - data: HexString! - daHeight: U64! - status: MessageStatus! -} - -type MessageConnection { - # Information to aid in pagination. - pageInfo: PageInfo! - - # A list of edges. - edges: [MessageEdge!]! - - # A list of nodes. - nodes: [Message!]! -} - -# An edge in a connection. -type MessageEdge { - # A cursor for use in pagination - cursor: String! - - # The item at the end of the edge - node: Message! -} - -type MessageOutput { - recipient: Address! - amount: U64! -} - -type MessageProof { - proofSet: [Bytes32!]! - proofIndex: U64! - sender: Address! - recipient: Address! - nonce: Bytes32! - amount: U64! - data: HexString! - signature: Signature! - header: Header! -} - -enum MessageStatus { - UNSPENT - SPENT -} - -########################################################## -## Transaction -########################################################## - -type Transaction { - id: TransactionId! - inputAssetIds: [AssetId!] - inputContracts: [Contract!] - gasPrice: U64 - gasLimit: U64 - maturity: U64 - txPointer: TxPointer - isScript: Boolean! - isCreate: Boolean! - isMint: Boolean! - inputs: [Input!] - outputs: [Output!]! - witnesses: [HexString!] - receiptsRoot: Bytes32 - status: TransactionStatus - receipts: [Receipt!] - script: HexString - scriptData: HexString - bytecodeWitnessIndex: Int - bytecodeLength: U64 - salt: Salt - storageSlots: [HexString!] - - # Return the transaction bytes using canonical encoding - rawPayload: HexString! -} - -type TransactionConnection { - # Information to aid in pagination. - pageInfo: PageInfo! - - # A list of edges. - edges: [TransactionEdge!]! - - # A list of nodes. - nodes: [Transaction!]! -} - -# An edge in a connection. -type TransactionEdge { - # A cursor for use in pagination - cursor: String! - - # The item at the end of the edge - node: Transaction! -} - -########################################################## -## Transaction =>> Metadata -########################################################## - -type ProgramState { - returnType: ReturnType! - data: HexString! -} - -type SqueezedOutStatus { - reason: String! -} - -type SubmittedStatus { - time: Tai64Timestamp! -} - -type FailureStatus { - block: Block! - time: Tai64Timestamp! - reason: String! - programState: ProgramState -} - -type SuccessStatus { - block: Block! - time: Tai64Timestamp! - programState: ProgramState -} - -input TimeParameters { - # The time to set on the first block - startTime: U64! - - # The time interval between subsequent blocks - blockTimeInterval: U64! -} - -union TransactionStatus = - SubmittedStatus - | SuccessStatus - | SqueezedOutStatus - | FailureStatus - -########################################################## -## Transaction =>> Outputs -########################################################## - -type ChangeOutput { - to: Address! - amount: U64! - assetId: AssetId! -} - -type CoinOutput { - to: Address! - amount: U64! - assetId: AssetId! -} - -type ContractCreated { - contract: Contract! - stateRoot: Bytes32! -} - -type ContractOutput { - inputIndex: Int! - balanceRoot: Bytes32! - stateRoot: Bytes32! -} - -type VariableOutput { - to: Address! - amount: U64! - assetId: AssetId! -} - -union Output = - CoinOutput - | ContractOutput - | MessageOutput - | ChangeOutput - | VariableOutput - | ContractCreated - -########################################################## -## Transaction =>> Inputs -########################################################## - -union Input = InputCoin | InputContract | InputMessage - -type InputCoin { - utxoId: UtxoId! - owner: Address! - amount: U64! - assetId: AssetId! - txPointer: TxPointer! - witnessIndex: Int! - maturity: U64! - predicate: HexString! - predicateData: HexString! -} - -type InputContract { - utxoId: UtxoId! - balanceRoot: Bytes32! - stateRoot: Bytes32! - txPointer: TxPointer! - contract: Contract! -} - -type InputMessage { - messageId: MessageId! - sender: Address! - recipient: Address! - amount: U64! - nonce: U64! - witnessIndex: Int! - data: HexString! - predicate: HexString! - predicateData: HexString! -} - -########################################################## -## Transaction =>> Receipts -########################################################## - -type Receipt { - contract: Contract - pc: U64 - is: U64 - to: Contract - toAddress: Address - amount: U64 - assetId: AssetId - gas: U64 - param1: U64 - param2: U64 - val: U64 - ptr: U64 - digest: Bytes32 - reason: U64 - ra: U64 - rb: U64 - rc: U64 - rd: U64 - len: U64 - receiptType: ReceiptType! - rawPayload: HexString! - result: U64 - gasUsed: U64 - data: HexString - messageId: MessageId - sender: Address - recipient: Address - nonce: Bytes32 - contractId: ContractId -} - -enum ReceiptType { - CALL - RETURN - RETURN_DATA - PANIC - REVERT - LOG - LOG_DATA - TRANSFER - TRANSFER_OUT - SCRIPT_RESULT - MESSAGE_OUT -} - -enum ReturnType { - RETURN - RETURN_DATA - REVERT -} - -########################################################## -## Mutation -########################################################## - -type Mutation { - # Execute a dry-run of the transaction using a fork of current state, no changes are committed. - dryRun(tx: HexString!, utxoValidation: Boolean): [Receipt!]! - - # Submits transaction to the txpool - submit(tx: HexString!): Transaction! - produceBlocks(blocksToProduce: U64!, time: TimeParameters): U64! -} - -########################################################## -## Subscription -########################################################## - -type Subscription { - # Returns a stream of status updates for the given transaction id. - # If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`] - # or [`TransactionStatus::Failed`] the stream will return that and end immediately. - # If the current status is [`TransactionStatus::Submitted`] this will be returned - # and the stream will wait for a future update. - # - # This stream will wait forever so it's advised to use within a timeout. - # - # It is possible for the stream to miss an update if it is polled slower - # then the updates arrive. In such a case the stream will close without - # a status. If this occurs the stream can simply be restarted to return - # the latest status. - statusChange( - # The ID of the transaction - id: TransactionId! - ): TransactionStatus! -} - -########################################################## -## Query -########################################################## - -# Information about pagination in a connection -type PageInfo { - # When paginating backwards, are there more items? - hasPreviousPage: Boolean! - - # When paginating forwards, are there more items? - hasNextPage: Boolean! - - # When paginating backwards, the cursor to continue. - startCursor: String - - # When paginating forwards, the cursor to continue. - endCursor: String -} - -type Query { - balance( - # address of the owner - owner: Address! - - # asset_id of the coin - assetId: AssetId! - ): Balance! - balances( - filter: BalanceFilterInput! - first: Int - after: String - last: Int - before: String - ): BalanceConnection! - block( - # ID of the block - id: BlockId - - # Height of the block - height: U64 - ): Block - blocks(first: Int, after: String, last: Int, before: String): BlockConnection! - chain: ChainInfo! - transaction( - # The ID of the transaction - id: TransactionId! - ): Transaction - transactions( - first: Int - after: String - last: Int - before: String - ): TransactionConnection! - transactionsByOwner( - owner: Address! - first: Int - after: String - last: Int - before: String - ): TransactionConnection! - - # Returns true when the GraphQL API is serving requests. - health: Boolean! - - # Gets the coin by `utxo_id`. - coin( - # The ID of the coin - utxoId: UtxoId! - ): Coin - - # Gets all coins of some `owner` maybe filtered with by `asset_id` per page. - # It includes `CoinStatus::Spent` and `CoinStatus::Unspent` coins. - coins( - filter: CoinFilterInput! - first: Int - after: String - last: Int - before: String - ): CoinConnection! - contract( - # ID of the Contract - id: ContractId! - ): Contract - contractBalance(contract: ContractId!, asset: AssetId!): ContractBalance! - contractBalances( - filter: ContractBalanceFilterInput! - first: Int - after: String - last: Int - before: String - ): ContractBalanceConnection! - nodeInfo: NodeInfo! - messages( - # address of the owner - owner: Address - first: Int - after: String - last: Int - before: String - ): MessageConnection! - messageProof( - transactionId: TransactionId! - messageId: MessageId! - ): MessageProof - - # For each `query_per_asset`, get some spendable resources(of asset specified by the query) owned by - # `owner` that add up at least the query amount. The returned resources are actual resources - # that can be spent. The number of resources is optimized to prevent dust accumulation. - # Max number of resources and excluded resources can also be specified. - # - # Returns: - # The list of spendable resources per asset from the query. The length of the result is - # the same as the length of `query_per_asset`. The ordering of assets and `query_per_asset` - # is the same. - resourcesToSpend( - # The `Address` of the resources owner. - owner: Address! - - # The list of requested assets` resources with asset ids, `target` amount the user wants to reach, and the `max` number of resources in the selection. Several entries with the same asset id are not allowed. - queryPerAsset: [SpendQueryElementInput!]! - - # The excluded resources from the selection. - excludedIds: ExcludeInput - ): [[Resource!]!]! -} diff --git a/packages/graphql/src/services/extender/index.ts b/packages/graphql/src/services/extender/index.ts deleted file mode 100644 index f2358f760..000000000 --- a/packages/graphql/src/services/extender/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { readFileSync } from 'fs'; -import { join } from 'path'; - -export * as ExtenderResolvers from './resolvers'; -export const ExtenderTypeDefs = readFileSync( - join(__dirname, './extender.graphql'), - 'utf-8', -); diff --git a/packages/graphql/src/services/extender/schema.ts b/packages/graphql/src/services/extender/schema.ts deleted file mode 100644 index 623b1a8cc..000000000 --- a/packages/graphql/src/services/extender/schema.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { readFileSync } from 'fs'; -import { join } from 'path'; - -readFileSync(join(__dirname, './schemas/extend.graphql'), 'utf-8'); diff --git a/packages/graphql/src/utils/requireEnv.ts b/packages/graphql/src/utils/requireEnv.ts deleted file mode 100644 index 0be150313..000000000 --- a/packages/graphql/src/utils/requireEnv.ts +++ /dev/null @@ -1,12 +0,0 @@ -export function requireEnv< - A extends string[], - B extends { [key in A[number]]: string }, ->(keys: string[]): B { - return keys.reduce((ret, key) => { - if (!process.env[key]) { - throw new Error(`Environment variable ${key} is required`); - } - ret[key] = process.env[key]!; - return ret; - }, {} as B); -} diff --git a/packages/graphql/tsconfig.json b/packages/graphql/tsconfig.json deleted file mode 100644 index 19de573e2..000000000 --- a/packages/graphql/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "./dist", - "module": "commonjs", - "lib": ["dom", "es6"], - "baseUrl": ".", - "paths": { - "~/*": ["./src/*"] - } - }, - "include": ["src", "*.config.*"] -} diff --git a/packages/graphql/tsup.config.mjs b/packages/graphql/tsup.config.mjs deleted file mode 100644 index 63b3f2a73..000000000 --- a/packages/graphql/tsup.config.mjs +++ /dev/null @@ -1,15 +0,0 @@ -import { defineConfig } from 'tsup'; - -export default defineConfig(() => ({ - dts: true, - format: ['cjs', 'esm'], - outExtension({ format }) { - return { - js: `.${format}.js`, - }; - }, - entry: { - index: 'src/lib.ts', - }, - minify: process.env.NODE_ENV === 'production' ? 'terser' : false, -})); diff --git a/packages/storybook-addon-theme/package.json b/packages/storybook-addon-theme/package.json index b93eb44d7..9c5a3045b 100644 --- a/packages/storybook-addon-theme/package.json +++ b/packages/storybook-addon-theme/package.json @@ -51,7 +51,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@types/react": "^18.2.22", + "@types/react": "^18.2.23", "@types/react-dom": "^18.2.7" } } diff --git a/packages/ui/package.json b/packages/ui/package.json index 6be67d844..b427c8e92 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -56,7 +56,7 @@ "dependencies": { "@fontsource-variable/inter": "5.0.8", "@fuel-ts/math": "0.59.0", - "@radix-ui/colors": "3.0.0-rc.4", + "@radix-ui/colors": "3.0.0-rc.5", "@radix-ui/react-accordion": "1.1.2", "@radix-ui/react-aspect-ratio": "1.0.3", "@radix-ui/react-dialog": "1.0.5", @@ -81,7 +81,7 @@ "tailwind-variants": "0.1.14", "tailwindcss-animate": "1.0.7", "tailwindcss-radix": "2.8.0", - "tailwindcss-themer": "3.1.0" + "tailwindcss-themer": "3.1.1" }, "devDependencies": { "@chialab/esbuild-plugin-meta-url": "0.17.7", @@ -98,7 +98,7 @@ "@storybook/testing-library": "^0.2.1", "@storybook/types": "^7.4.5", "@types/lodash": "4.14.199", - "@types/react": "^18.2.22", + "@types/react": "^18.2.23", "@types/react-dom": "^18.2.7", "autoprefixer": "10.4.16", "globby": "13.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 009853202..319cc108d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,7 +35,7 @@ importers: version: 0.0.11(typescript@5.2.2) jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.6.5) + version: 29.7.0(@types/node@20.7.0) lint-staged: specifier: 14.0.1 version: 14.0.1 @@ -56,8 +56,8 @@ importers: specifier: 29.5.5 version: 29.5.5 '@types/node': - specifier: 20.6.5 - version: 20.6.5 + specifier: 20.7.0 + version: 20.7.0 '@typescript-eslint/eslint-plugin': specifier: ^6.7.3 version: 6.7.3(@typescript-eslint/parser@6.7.3)(eslint@8.50.0)(typescript@5.2.2) @@ -130,9 +130,6 @@ importers: '@fontsource-variable/inter': specifier: 5.0.8 version: 5.0.8 - '@fuel-explorer/graphql': - specifier: workspace:* - version: link:../graphql '@fuel-ts/math': specifier: 0.59.0 version: 0.59.0 @@ -145,6 +142,24 @@ importers: '@fuels/ui': specifier: workspace:* version: link:../ui + '@graphql-tools/delegate': + specifier: ^10.0.3 + version: 10.0.3(graphql@16.8.1) + '@graphql-tools/load': + specifier: ^8.0.0 + version: 8.0.0(graphql@16.8.1) + '@graphql-tools/schema': + specifier: ^10.0.0 + version: 10.0.0(graphql@16.8.1) + '@graphql-tools/stitch': + specifier: ^9.0.3 + version: 9.0.3(graphql@16.8.1) + '@graphql-tools/url-loader': + specifier: ^8.0.0 + version: 8.0.0(@types/node@20.7.0)(graphql@16.8.1) + '@graphql-tools/utils': + specifier: ^10.0.6 + version: 10.0.6(graphql@16.8.1) '@tabler/icons-react': specifier: 2.35.0 version: 2.35.0(react@18.2.0) @@ -166,9 +181,18 @@ importers: fuels: specifier: 0.59.0 version: 0.59.0 + graphql: + specifier: '>=16.8.1' + version: 16.8.1 graphql-request: specifier: 6.1.0 version: 6.1.0(graphql@16.8.1) + graphql-tag: + specifier: 2.12.6 + version: 2.12.6(graphql@16.8.1) + graphql-yoga: + specifier: 4.0.4 + version: 4.0.4(graphql@16.8.1) next: specifier: 13.5.3 version: 13.5.3(@babel/core@7.23.0)(react-dom@18.2.0)(react@18.2.0) @@ -178,6 +202,9 @@ importers: react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) + tai64: + specifier: 1.0.0 + version: 1.0.0 tailwind-merge: specifier: 1.14.0 version: 1.14.0 @@ -194,33 +221,51 @@ importers: '@babel/core': specifier: ^7.23.0 version: 7.23.0 + '@graphql-codegen/cli': + specifier: 5.0.0 + version: 5.0.0(@types/node@20.7.0)(graphql@16.8.1)(typescript@5.2.2) + '@graphql-codegen/introspection': + specifier: 4.0.0 + version: 4.0.0(graphql@16.8.1) + '@graphql-codegen/schema-ast': + specifier: 4.0.0 + version: 4.0.0(graphql@16.8.1) + '@graphql-codegen/typescript': + specifier: 4.0.1 + version: 4.0.1(graphql@16.8.1) + '@graphql-codegen/typescript-graphql-request': + specifier: 6.0.0 + version: 6.0.0(graphql-request@6.1.0)(graphql-tag@2.12.6)(graphql@16.8.1) + '@graphql-codegen/typescript-operations': + specifier: 4.0.1 + version: 4.0.1(graphql@16.8.1) '@storybook/addon-a11y': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-actions': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-essentials': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-interactions': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-links': specifier: ^7.4.5 version: 7.4.5(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-storysource': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-viewport': specifier: 7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addons': specifier: ^7.4.5 version: 7.4.5(react-dom@18.2.0)(react@18.2.0) '@storybook/nextjs': specifier: ^7.4.5 - version: 7.4.5(@swc/core@1.3.89)(@types/react-dom@18.2.7)(@types/react@18.2.22)(next@13.5.3)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) + version: 7.4.5(@swc/core@1.3.89)(@types/react-dom@18.2.7)(@types/react@18.2.23)(next@13.5.3)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) '@storybook/react': specifier: ^7.4.5 version: 7.4.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) @@ -237,11 +282,11 @@ importers: specifier: 6.1.3 version: 6.1.3(@types/jest@29.5.5)(jest@29.7.0) '@types/node': - specifier: 20.6.5 - version: 20.6.5 + specifier: 20.7.0 + version: 20.7.0 '@types/react': - specifier: ^18.2.22 - version: 18.2.22 + specifier: ^18.2.23 + version: 18.2.23 '@types/react-dom': specifier: ^18.2.7 version: 18.2.7 @@ -251,6 +296,12 @@ importers: autoprefixer: specifier: 10.4.16 version: 10.4.16(postcss@8.4.30) + graphql-codegen-typescript-common: + specifier: 0.18.2 + version: 0.18.2(graphql@16.8.1) + graphql-codegen-typescript-mock-data: + specifier: 3.5.0 + version: 3.5.0(graphql@16.8.1) postcss: specifier: 8.4.30 version: 8.4.30 @@ -283,111 +334,11 @@ importers: version: 5.2.2 vite: specifier: ^4.4.9 - version: 4.4.9(@types/node@20.6.5) + version: 4.4.9(@types/node@20.7.0) vite-tsconfig-paths: specifier: ^4.2.1 version: 4.2.1(typescript@5.2.2)(vite@4.4.9) - packages/graphql: - dependencies: - '@fuel-ts/math': - specifier: 0.59.0 - version: 0.59.0 - '@graphql-tools/delegate': - specifier: ^10.0.3 - version: 10.0.3(graphql@16.8.1) - '@graphql-tools/load': - specifier: ^8.0.0 - version: 8.0.0(graphql@16.8.1) - '@graphql-tools/schema': - specifier: ^10.0.0 - version: 10.0.0(graphql@16.8.1) - '@graphql-tools/stitch': - specifier: ^9.0.3 - version: 9.0.3(graphql@16.8.1) - '@graphql-tools/url-loader': - specifier: ^8.0.0 - version: 8.0.0(@types/node@20.6.5)(graphql@16.8.1) - cors: - specifier: ^2.8.5 - version: 2.8.5 - dayjs: - specifier: 1.11.10 - version: 1.11.10 - dotenv: - specifier: 16.3.1 - version: 16.3.1 - express: - specifier: ^4.18.2 - version: 4.18.2 - graphql: - specifier: '>=16.8.1' - version: 16.8.1 - graphql-http: - specifier: ^1.22.0 - version: 1.22.0(graphql@16.8.1) - graphql-playground-middleware-express: - specifier: ^1.7.23 - version: 1.7.23(express@4.18.2) - graphql-request: - specifier: 6.1.0 - version: 6.1.0(graphql@16.8.1) - graphql-tag: - specifier: 2.12.6 - version: 2.12.6(graphql@16.8.1) - tai64: - specifier: 1.0.0 - version: 1.0.0 - typescript: - specifier: ^5.2.2 - version: 5.2.2 - devDependencies: - '@fuels/ts-config': - specifier: ^0.0.11 - version: 0.0.11(typescript@5.2.2) - '@graphql-codegen/cli': - specifier: 5.0.0 - version: 5.0.0(@types/node@20.6.5)(graphql@16.8.1)(typescript@5.2.2) - '@graphql-codegen/introspection': - specifier: 4.0.0 - version: 4.0.0(graphql@16.8.1) - '@graphql-codegen/typescript': - specifier: 4.0.1 - version: 4.0.1(graphql@16.8.1) - '@graphql-codegen/typescript-graphql-request': - specifier: 5.0.0 - version: 5.0.0(graphql-request@6.1.0)(graphql-tag@2.12.6)(graphql@16.8.1) - '@graphql-codegen/typescript-operations': - specifier: 4.0.1 - version: 4.0.1(graphql@16.8.1) - '@graphql-tools/utils': - specifier: ^10.0.6 - version: 10.0.6(graphql@16.8.1) - '@types/cors': - specifier: ^2.8.14 - version: 2.8.14 - '@types/express': - specifier: ^4.17.18 - version: 4.17.18 - '@types/node': - specifier: ^20.6.5 - version: 20.6.5 - graphql-codegen-typescript-common: - specifier: 0.18.2 - version: 0.18.2(graphql@16.8.1) - graphql-codegen-typescript-mock-data: - specifier: 3.5.0 - version: 3.5.0(graphql@16.8.1) - ts-node: - specifier: ^10.9.1 - version: 10.9.1(@swc/core@1.3.89)(@types/node@20.6.5)(typescript@5.2.2) - ts-node-dev: - specifier: ^2.0.0 - version: 2.0.0(@swc/core@1.3.89)(@types/node@20.6.5)(typescript@5.2.2) - tsconfig-paths: - specifier: ^4.2.0 - version: 4.2.0 - packages/indexer: devDependencies: nodemon: @@ -401,7 +352,7 @@ importers: version: 7.4.5(react-dom@18.2.0)(react@18.2.0) '@storybook/components': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': specifier: ^7.4.5 version: 7.4.5 @@ -419,8 +370,8 @@ importers: version: 18.2.0(react@18.2.0) devDependencies: '@types/react': - specifier: ^18.2.22 - version: 18.2.22 + specifier: ^18.2.23 + version: 18.2.23 '@types/react-dom': specifier: ^18.2.7 version: 18.2.7 @@ -434,26 +385,26 @@ importers: specifier: 0.59.0 version: 0.59.0 '@radix-ui/colors': - specifier: 3.0.0-rc.4 - version: 3.0.0-rc.4 + specifier: 3.0.0-rc.5 + version: 3.0.0-rc.5 '@radix-ui/react-accordion': specifier: 1.1.2 - version: 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-aspect-ratio': specifier: 1.0.3 - version: 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-dialog': specifier: 1.0.5 - version: 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-slot': specifier: 1.0.2 - version: 1.0.2(@types/react@18.2.22)(react@18.2.0) + version: 1.0.2(@types/react@18.2.23)(react@18.2.0) '@radix-ui/react-toast': specifier: 1.1.5 - version: 1.1.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 1.1.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/themes': specifier: ^1.1.2 - version: 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@react-aria/focus': specifier: 3.14.1 version: 3.14.1(react@18.2.0) @@ -509,33 +460,33 @@ importers: specifier: 2.8.0 version: 2.8.0 tailwindcss-themer: - specifier: 3.1.0 - version: 3.1.0(tailwindcss@3.3.3) + specifier: 3.1.1 + version: 3.1.1(tailwindcss@3.3.3) devDependencies: '@chialab/esbuild-plugin-meta-url': specifier: 0.17.7 version: 0.17.7 '@storybook/addon-a11y': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-actions': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-essentials': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-interactions': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-links': specifier: ^7.4.5 version: 7.4.5(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-storysource': specifier: ^7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-viewport': specifier: 7.4.5 - version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addons': specifier: ^7.4.5 version: 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -555,8 +506,8 @@ importers: specifier: 4.14.199 version: 4.14.199 '@types/react': - specifier: ^18.2.22 - version: 18.2.22 + specifier: ^18.2.23 + version: 18.2.23 '@types/react-dom': specifier: ^18.2.7 version: 18.2.7 @@ -592,7 +543,7 @@ importers: version: 5.2.2 vite: specifier: ^4.4.9 - version: 4.4.9(@types/node@20.6.5) + version: 4.4.9(@types/node@20.7.0) vite-tsconfig-paths: specifier: ^4.2.1 version: 4.2.1(typescript@5.2.2)(vite@4.4.9) @@ -2170,13 +2121,6 @@ packages: engines: {node: '>=0.1.90'} dev: true - /@cspotcode/source-map-support@0.8.1: - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - dev: true - /@discoveryjs/json-ext@0.5.7: resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} engines: {node: '>=10.0.0'} @@ -2206,6 +2150,21 @@ packages: dependencies: react: 18.2.0 + /@envelop/core@4.0.1: + resolution: {integrity: sha512-uBLI7ql3hZopz7vMi9UDAb9HWzKw4STKiqg4QT+lb+tu5ZNaeuJ4fom2rrmgITz38B85QZOhZrGyVrlJXxfDzw==} + engines: {node: '>=16.0.0'} + dependencies: + '@envelop/types': 4.0.1 + tslib: 2.6.2 + dev: false + + /@envelop/types@4.0.1: + resolution: {integrity: sha512-ULo27/doEsP7uUhm2iTnElx13qTO6I5FKvmLoX41cpfuw8x6e0NUFknoqhEsLzAbgz8xVS5mjwcxGCXh4lDYzg==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: false + /@esbuild/android-arm64@0.18.20: resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} engines: {node: '>=12'} @@ -3083,11 +3042,11 @@ packages: '@testing-library/jest-dom': 6.1.3(@types/jest@29.5.5)(jest@29.7.0) '@testing-library/react': 14.0.0(react-dom@18.2.0)(react@18.2.0) '@testing-library/user-event': 14.5.1(@testing-library/dom@9.3.3) - '@types/react': 18.2.22 + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 dotenv: 16.3.1 identity-obj-proxy: 3.0.0 - jest: 29.7.0(@types/node@20.6.5) + jest: 29.7.0(@types/node@20.7.0) jest-axe: 8.0.0 jest-environment-jsdom: 29.7.0 jest-fail-on-console: 3.1.1 @@ -3120,6 +3079,7 @@ packages: typescript: 5.2.2 dependencies: typescript: 5.2.2 + dev: false /@fuels/tsup-config@0.0.11(tsup@7.2.0): resolution: {integrity: sha512-OnLhm7qedbmynirYrMc+8deTQLaLSi5lH5C1OneNbxaaS8bI1mwDIKprU1jFZ1BMX6ef+Tk+UiRUhdJJ069kBQ==} @@ -3136,7 +3096,7 @@ packages: resolution: {integrity: sha512-MXtNDk0WXONIrDJOlk07+X7GegpCz2hfbAgSIWycOD0th2z1GndvMqBryiw/pTVDHLnHe+5TGIODLsprI4RiEw==} dev: false - /@graphql-codegen/cli@5.0.0(@types/node@20.6.5)(graphql@16.8.1)(typescript@5.2.2): + /@graphql-codegen/cli@5.0.0(@types/node@20.7.0)(graphql@16.8.1)(typescript@5.2.2): resolution: {integrity: sha512-A7J7+be/a6e+/ul2KI5sfJlpoqeqwX8EzktaKCeduyVKgOLA6W5t+NUGf6QumBDXU8PEOqXk3o3F+RAwCWOiqA==} hasBin: true peerDependencies: @@ -3154,12 +3114,12 @@ packages: '@graphql-tools/apollo-engine-loader': 8.0.0(graphql@16.8.1) '@graphql-tools/code-file-loader': 8.0.2(graphql@16.8.1) '@graphql-tools/git-loader': 8.0.2(graphql@16.8.1) - '@graphql-tools/github-loader': 8.0.0(@types/node@20.6.5)(graphql@16.8.1) + '@graphql-tools/github-loader': 8.0.0(@types/node@20.7.0)(graphql@16.8.1) '@graphql-tools/graphql-file-loader': 8.0.0(graphql@16.8.1) '@graphql-tools/json-file-loader': 8.0.0(graphql@16.8.1) '@graphql-tools/load': 8.0.0(graphql@16.8.1) - '@graphql-tools/prisma-loader': 8.0.1(@types/node@20.6.5)(graphql@16.8.1) - '@graphql-tools/url-loader': 8.0.0(@types/node@20.6.5)(graphql@16.8.1) + '@graphql-tools/prisma-loader': 8.0.1(@types/node@20.7.0)(graphql@16.8.1) + '@graphql-tools/url-loader': 8.0.0(@types/node@20.7.0)(graphql@16.8.1) '@graphql-tools/utils': 10.0.6(graphql@16.8.1) '@whatwg-node/fetch': 0.8.8 chalk: 4.1.2 @@ -3167,7 +3127,7 @@ packages: debounce: 1.2.1 detect-indent: 6.1.0 graphql: 16.8.1 - graphql-config: 5.0.2(@types/node@20.6.5)(graphql@16.8.1)(typescript@5.2.2) + graphql-config: 5.0.2(@types/node@20.7.0)(graphql@16.8.1)(typescript@5.2.2) inquirer: 8.2.6 is-glob: 4.0.3 jiti: 1.20.0 @@ -3271,8 +3231,9 @@ packages: tslib: 2.5.3 dev: true - /@graphql-codegen/typescript-graphql-request@5.0.0(graphql-request@6.1.0)(graphql-tag@2.12.6)(graphql@16.8.1): - resolution: {integrity: sha512-BM9UzZD/5q3b3Q4c+VOy/QoPWgsnfs1GAnGJjh9xtuty6YsCprwhh12BaV16F+xndNUd6qkghigGyjR8m8RdkA==} + /@graphql-codegen/typescript-graphql-request@6.0.0(graphql-request@6.1.0)(graphql-tag@2.12.6)(graphql@16.8.1): + resolution: {integrity: sha512-Vi6tawqtcnOje/AW8a8ijwf7OLbNGolBB8VlVzG3Cb2bFnI7Vetocy7xUxkEpxe0Lqp2vmOvXTRNdC7eiQeoCw==} + engines: {node: '>= 16.0.0'} peerDependencies: graphql: '>=16.8.1' graphql-request: ^6.0.0 @@ -3284,7 +3245,7 @@ packages: graphql: 16.8.1 graphql-request: 6.1.0(graphql@16.8.1) graphql-tag: 2.12.6(graphql@16.8.1) - tslib: 2.4.0 + tslib: 2.6.2 transitivePeerDependencies: - encoding - supports-color @@ -3452,7 +3413,7 @@ packages: - bufferutil - utf-8-validate - /@graphql-tools/executor-http@1.0.2(@types/node@20.6.5)(graphql@16.8.1): + /@graphql-tools/executor-http@1.0.2(@types/node@20.7.0)(graphql@16.8.1): resolution: {integrity: sha512-JKTB4E3kdQM2/1NEcyrVPyQ8057ZVthCV5dFJiKktqY9IdmF00M8gupFcW3jlbM/Udn78ickeUBsUzA3EouqpA==} engines: {node: '>=16.0.0'} peerDependencies: @@ -3463,7 +3424,7 @@ packages: '@whatwg-node/fetch': 0.9.13 extract-files: 11.0.0 graphql: 16.8.1 - meros: 1.3.0(@types/node@20.6.5) + meros: 1.3.0(@types/node@20.7.0) tslib: 2.6.2 value-or-promise: 1.0.12 transitivePeerDependencies: @@ -3515,14 +3476,14 @@ packages: - supports-color dev: true - /@graphql-tools/github-loader@8.0.0(@types/node@20.6.5)(graphql@16.8.1): + /@graphql-tools/github-loader@8.0.0(@types/node@20.7.0)(graphql@16.8.1): resolution: {integrity: sha512-VuroArWKcG4yaOWzV0r19ElVIV6iH6UKDQn1MXemND0xu5TzrFme0kf3U9o0YwNo0kUYEk9CyFM0BYg4he17FA==} engines: {node: '>=16.0.0'} peerDependencies: graphql: '>=16.8.1' dependencies: '@ardatan/sync-fetch': 0.0.1 - '@graphql-tools/executor-http': 1.0.2(@types/node@20.6.5)(graphql@16.8.1) + '@graphql-tools/executor-http': 1.0.2(@types/node@20.7.0)(graphql@16.8.1) '@graphql-tools/graphql-tag-pluck': 8.0.2(graphql@16.8.1) '@graphql-tools/utils': 10.0.6(graphql@16.8.1) '@whatwg-node/fetch': 0.9.13 @@ -3633,13 +3594,13 @@ packages: tslib: 2.6.2 dev: true - /@graphql-tools/prisma-loader@8.0.1(@types/node@20.6.5)(graphql@16.8.1): + /@graphql-tools/prisma-loader@8.0.1(@types/node@20.7.0)(graphql@16.8.1): resolution: {integrity: sha512-bl6e5sAYe35Z6fEbgKXNrqRhXlCJYeWKBkarohgYA338/SD9eEhXtg3Cedj7fut3WyRLoQFpHzfiwxKs7XrgXg==} engines: {node: '>=16.0.0'} peerDependencies: graphql: '>=16.8.1' dependencies: - '@graphql-tools/url-loader': 8.0.0(@types/node@20.6.5)(graphql@16.8.1) + '@graphql-tools/url-loader': 8.0.0(@types/node@20.7.0)(graphql@16.8.1) '@graphql-tools/utils': 10.0.6(graphql@16.8.1) '@types/js-yaml': 4.0.6 '@types/json-stable-stringify': 1.0.34 @@ -3725,7 +3686,7 @@ packages: value-or-promise: 1.0.12 dev: false - /@graphql-tools/url-loader@8.0.0(@types/node@20.6.5)(graphql@16.8.1): + /@graphql-tools/url-loader@8.0.0(@types/node@20.7.0)(graphql@16.8.1): resolution: {integrity: sha512-rPc9oDzMnycvz+X+wrN3PLrhMBQkG4+sd8EzaFN6dypcssiefgWKToXtRKI8HHK68n2xEq1PyrOpkjHFJB+GwA==} engines: {node: '>=16.0.0'} peerDependencies: @@ -3734,7 +3695,7 @@ packages: '@ardatan/sync-fetch': 0.0.1 '@graphql-tools/delegate': 10.0.3(graphql@16.8.1) '@graphql-tools/executor-graphql-ws': 1.1.0(graphql@16.8.1) - '@graphql-tools/executor-http': 1.0.2(@types/node@20.6.5)(graphql@16.8.1) + '@graphql-tools/executor-http': 1.0.2(@types/node@20.7.0)(graphql@16.8.1) '@graphql-tools/executor-legacy-ws': 1.0.3(graphql@16.8.1) '@graphql-tools/utils': 10.0.6(graphql@16.8.1) '@graphql-tools/wrap': 10.0.1(graphql@16.8.1) @@ -3801,6 +3762,31 @@ packages: dependencies: graphql: 16.8.1 + /@graphql-yoga/logger@1.0.0: + resolution: {integrity: sha512-JYoxwnPggH2BfO+dWlWZkDeFhyFZqaTRGLvFhy+Pjp2UxitEW6nDrw+pEDw/K9tJwMjIFMmTT9VfTqrnESmBHg==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: false + + /@graphql-yoga/subscription@4.0.0: + resolution: {integrity: sha512-0qsN/BPPZNMoC2CZ8i+P6PgiJyHh1H35aKDt37qARBDaIOKDQuvEOq7+4txUKElcmXi7DYFo109FkhSQoEajrg==} + engines: {node: '>=16.0.0'} + dependencies: + '@graphql-yoga/typed-event-target': 2.0.0 + '@repeaterjs/repeater': 3.0.4 + '@whatwg-node/events': 0.1.1 + tslib: 2.6.2 + dev: false + + /@graphql-yoga/typed-event-target@2.0.0: + resolution: {integrity: sha512-oA/VGxGmaSDym1glOHrltw43qZsFwLLjBwvh57B79UKX/vo3+UQcRgOyE44c5RP7DCYjkrC2tuArZmb6jCzysw==} + engines: {node: '>=16.0.0'} + dependencies: + '@repeaterjs/repeater': 3.0.4 + tslib: 2.6.2 + dev: false + /@humanwhocodes/config-array@0.11.11: resolution: {integrity: sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==} engines: {node: '>=10.10.0'} @@ -3873,7 +3859,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -3893,14 +3879,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.8.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.6.5) + jest-config: 29.7.0(@types/node@20.7.0) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -3934,7 +3920,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 jest-mock: 29.7.0 /@jest/expect-utils@29.7.0: @@ -3958,7 +3944,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.6.5 + '@types/node': 20.7.0 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -3989,7 +3975,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.19 - '@types/node': 20.6.5 + '@types/node': 20.7.0 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -4070,7 +4056,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.6.5 + '@types/node': 20.7.0 '@types/yargs': 16.0.5 chalk: 4.1.2 dev: true @@ -4082,7 +4068,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.6.5 + '@types/node': 20.7.0 '@types/yargs': 17.0.24 chalk: 4.1.2 @@ -4100,7 +4086,7 @@ packages: magic-string: 0.27.0 react-docgen-typescript: 2.2.2(typescript@5.2.2) typescript: 5.2.2 - vite: 4.4.9(@types/node@20.6.5) + vite: 4.4.9(@types/node@20.7.0) dev: true /@jridgewell/gen-mapping@0.3.3: @@ -4135,13 +4121,6 @@ packages: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - /@jridgewell/trace-mapping@0.3.9: - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - dependencies: - '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /@juggle/resize-observer@3.4.0: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} @@ -4154,7 +4133,7 @@ packages: optional: true dependencies: '@types/mdx': 2.0.7 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 dev: true @@ -4368,8 +4347,8 @@ packages: resolution: {integrity: sha512-gcBnxjS2u2c6thQz/9K1+Pt2ZYcm5WKU4SLi0emYkRmYbVUw+37rlc5wgLtYOsSsRP9nxVtbJJYj6WVO7UUmZg==} dev: false - /@radix-ui/colors@3.0.0-rc.4: - resolution: {integrity: sha512-dUG9WQCdjKPiiqbQsahUGmOuC+9kCltckQtej7hkVIQp56xirLaMsNrOs9xMYXnIbNqK/vZCmoEk+q1Nda+2AA==} + /@radix-ui/colors@3.0.0-rc.5: + resolution: {integrity: sha512-SHAmQwvoRFuX1Kqo0ZwOwp/24GQqNMUaS3tWcR5RgDaC1ZpUKQfT+IbdzGm63OVzQhpyA4PRcjimM2UMa9SYTw==} dev: false /@radix-ui/number@1.0.1: @@ -4382,7 +4361,7 @@ packages: dependencies: '@babel/runtime': 7.22.15 - /@radix-ui/react-accessible-icon@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-accessible-icon@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-duVGKeWPSUILr/MdlPxV+GeULTc2rS1aihGdQ3N2qCUPMgxYLxvAsHJM3mCVLF8d5eK+ympmB22mb1F3a5biNw==} peerDependencies: '@types/react': '*' @@ -4400,14 +4379,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-accordion@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-accordion@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-fDG7jcoNKVjSK6yfmuAs0EnPDro0WMXIhMtXdTBWqEioVW206ku+4Lw07e+13lUkFkpoEQ2PdeMIAGpdqEAmDg==} peerDependencies: '@types/react': '*' @@ -4426,21 +4405,21 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collapsible': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-collapsible': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-alert-dialog@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-alert-dialog@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-jbfBCRlKYlhbitueOAv7z74PXYeIQmWpKwm3jllsdkw7fGWNkxqP3v0nY9WmOzcPqpQuoorNtvViBgL46n5gVg==} peerDependencies: '@types/react': '*' @@ -4459,18 +4438,18 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dialog': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dialog': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-arrow@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-arrow@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==} peerDependencies: '@types/react': '*' @@ -4488,13 +4467,13 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-aspect-ratio@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-aspect-ratio@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-fXR5kbMan9oQqMuacfzlGG/SQMcmMlZ4wrvpckv8SgUulD0MMpspxJrxg/Gp/ISV3JfV1AeSWTYK9GvxA4ySwA==} peerDependencies: '@types/react': '*' @@ -4512,14 +4491,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-avatar@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-avatar@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-9ToF7YNex3Ste45LrAeTlKtONI9yVRt/zOS158iilIkW5K/Apeyb/TUQlcEFTEFvWr8Kzdi2ZYrm1/suiXPajQ==} peerDependencies: '@types/react': '*' @@ -4537,17 +4516,17 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-checkbox@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-checkbox@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-CBuGQa52aAYnADZVt/KBQzXrwx6TqnlwtcIPGtVt5JkkzQwMOLJjPukimhfKEr4GQNd43C+djUh5Ikopj8pSLg==} peerDependencies: '@types/react': '*' @@ -4566,20 +4545,20 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-collapsible@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-collapsible@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-UBmVDkmR6IvDsloHVN+3rtx4Mi5TFvylYXpluuv0f37dtaz3H99bp8No0LGXRigVpl3UAT4l9j6bIchh42S/Gg==} peerDependencies: '@types/react': '*' @@ -4598,20 +4577,20 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-collection@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-collection@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==} peerDependencies: '@types/react': '*' @@ -4629,16 +4608,16 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-compose-refs@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-compose-refs@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==} peerDependencies: '@types/react': '*' @@ -4650,10 +4629,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-context-menu@2.1.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-context-menu@2.1.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-R5XaDj06Xul1KGb+WP8qiOh7tKJNz2durpLBXAGZjSVtctcRFCuEvy2gtMwRJGePwQQE5nV77gs4FwRi8T+r2g==} peerDependencies: '@types/react': '*' @@ -4672,18 +4651,18 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-context@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-context@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==} peerDependencies: '@types/react': '*' @@ -4695,10 +4674,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-dialog@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-dialog@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-hJtRy/jPULGQZceSAP2Re6/4NpKo8im6V8P2hUqZsdFiSL8l35kYsw3qbRI6Ay5mQd2+wlLqje770eq+RJ3yZg==} peerDependencies: '@types/react': '*' @@ -4717,26 +4696,26 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 aria-hidden: 1.2.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.5.5(@types/react@18.2.22)(react@18.2.0) + react-remove-scroll: 2.5.5(@types/react@18.2.23)(react@18.2.0) dev: false - /@radix-ui/react-dialog@1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-dialog@1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==} peerDependencies: '@types/react': '*' @@ -4755,26 +4734,26 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 aria-hidden: 1.2.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.5.5(@types/react@18.2.22)(react@18.2.0) + react-remove-scroll: 2.5.5(@types/react@18.2.23)(react@18.2.0) dev: false - /@radix-ui/react-direction@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-direction@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==} peerDependencies: '@types/react': '*' @@ -4786,10 +4765,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-dismissable-layer@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-dismissable-layer@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-7UpBa/RKMoHJYjie1gkF1DlK8l1fdU/VKDpoS3rCCo8YBJR294GwcEHyxHw72yvphJ7ld0AXEcSLAzY2F/WyCg==} peerDependencies: '@types/react': '*' @@ -4808,16 +4787,16 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==} peerDependencies: '@types/react': '*' @@ -4836,17 +4815,17 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-dropdown-menu@2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-dropdown-menu@2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-i6TuFOoWmLWq+M/eCLGd/bQ2HfAX1RJgvrBQ6AQLmzfvsLdefxbWu8G9zczcPFfcSPehz9GcpF6K9QYreFV8hA==} peerDependencies: '@types/react': '*' @@ -4865,19 +4844,19 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-menu': 2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-focus-guards@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-focus-guards@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==} peerDependencies: '@types/react': '*' @@ -4889,10 +4868,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-focus-scope@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-focus-scope@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-upXdPfqI4islj2CslyfUBNlaJCPybbqRHAi1KER7Isel9Q2AtSJ0zRBZv8mWQiFXD2nyAJ4BhC3yXgZ6kMBSrQ==} peerDependencies: '@types/react': '*' @@ -4910,15 +4889,15 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==} peerDependencies: '@types/react': '*' @@ -4936,16 +4915,16 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-form@0.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-form@0.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-kgE+Z/haV6fxE5WqIXj05KkaXa3OkZASoTDy25yX2EIp/x0c54rOH/vFr5nOZTg7n7T1z8bSyXmiVIFP9bbhPQ==} peerDependencies: '@types/react': '*' @@ -4964,18 +4943,18 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-label': 2.0.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-label': 2.0.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-hover-card@1.0.7(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-hover-card@1.0.7(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-OcUN2FU0YpmajD/qkph3XzMcK/NmSk9hGWnjV68p6QiZMgILugusgQwnLSDs3oFSJYGKf3Y49zgFedhGh04k9A==} peerDependencies: '@types/react': '*' @@ -4994,21 +4973,21 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-id@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-id@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==} peerDependencies: '@types/react': '*' @@ -5020,11 +4999,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-label@2.0.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-label@2.0.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-N5ehvlM7qoTLx7nWPodsPYPgMzA5WM8zZChQg8nyFJKnDO5WHdba1vv5/H6IO5LtJMfD2Q3wh1qHFGNtK0w3bQ==} peerDependencies: '@types/react': '*' @@ -5042,14 +5021,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-menu@2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-menu@2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-BVkFLS+bUC8HcImkRKPSiVumA1VPOOEC5WBMiT+QAVsPzW1FJzI9KnqgGxVDPBcql5xXrHkD3JOVoXWEXD8SYA==} peerDependencies: '@types/react': '*' @@ -5068,30 +5047,30 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-popper': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 aria-hidden: 1.2.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.5.5(@types/react@18.2.22)(react@18.2.0) + react-remove-scroll: 2.5.5(@types/react@18.2.23)(react@18.2.0) dev: false - /@radix-ui/react-popover@1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-popover@1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-cZ4defGpkZ0qTRtlIBzJLSzL6ht7ofhhW4i1+pkemjV1IKXm0wgCRnee154qlV6r9Ttunmh2TNZhMfV2bavUyA==} peerDependencies: '@types/react': '*' @@ -5110,27 +5089,27 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 aria-hidden: 1.2.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.5.5(@types/react@18.2.22)(react@18.2.0) + react-remove-scroll: 2.5.5(@types/react@18.2.23)(react@18.2.0) dev: false - /@radix-ui/react-popper@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-popper@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-1CnGGfFi/bbqtJZZ0P/NQY20xdG3E0LALJaLUEoKwPLwl6PPPfbeiCqMVQnhoFRAxjJj4RpBRJzDmUgsex2tSg==} peerDependencies: '@types/react': '*' @@ -5149,21 +5128,21 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@floating-ui/react-dom': 2.0.2(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-rect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.22)(react@18.2.0) + '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-rect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.23)(react@18.2.0) '@radix-ui/rect': 1.0.1 - '@types/react': 18.2.22 + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-popper@1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-popper@1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==} peerDependencies: '@types/react': '*' @@ -5182,22 +5161,22 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@floating-ui/react-dom': 2.0.2(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-rect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.22)(react@18.2.0) + '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-rect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.23)(react@18.2.0) '@radix-ui/rect': 1.0.1 - '@types/react': 18.2.22 + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-portal@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-portal@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA==} peerDependencies: '@types/react': '*' @@ -5215,13 +5194,13 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-portal@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-portal@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==} peerDependencies: '@types/react': '*' @@ -5239,14 +5218,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-presence@1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-presence@1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==} peerDependencies: '@types/react': '*' @@ -5264,15 +5243,15 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-primitive@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-primitive@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==} peerDependencies: '@types/react': '*' @@ -5290,13 +5269,13 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-radio-group@1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-radio-group@1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-x+yELayyefNeKeTx4fjK6j99Fs6c4qKm3aY38G3swQVTN6xMpsrbigC0uHs2L//g8q4qR7qOcww8430jJmi2ag==} peerDependencies: '@types/react': '*' @@ -5315,22 +5294,22 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-roving-focus@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-roving-focus@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==} peerDependencies: '@types/react': '*' @@ -5349,20 +5328,20 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-scroll-area@1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-scroll-area@1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-b6PAgH4GQf9QEn8zbT2XUHpW5z8BzqEc7Kl11TwDrvuTrxlkcjTD5qa/bxgKr+nmuXKu4L/W5UZ4mlP/VG/5Gw==} peerDependencies: '@types/react': '*' @@ -5382,20 +5361,20 @@ packages: '@babel/runtime': 7.22.15 '@radix-ui/number': 1.0.1 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-select@1.2.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-select@1.2.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-zI7McXr8fNaSrUY9mZe4x/HC0jTLY9fWNhO1oLWYMQGDXuV4UCivIGTxwioSzO0ZCYX9iSLyWmAh/1TOmX3Cnw==} peerDependencies: '@types/react': '*' @@ -5415,31 +5394,31 @@ packages: '@babel/runtime': 7.22.15 '@radix-ui/number': 1.0.1 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 aria-hidden: 1.2.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-remove-scroll: 2.5.5(@types/react@18.2.22)(react@18.2.0) + react-remove-scroll: 2.5.5(@types/react@18.2.23)(react@18.2.0) - /@radix-ui/react-separator@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-separator@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-itYmTy/kokS21aiV5+Z56MZB54KrhPgn6eHDKkFeOLR34HMN2s8PaN47qZZAGnvupcjxHaFZnW4pQEh0BvvVuw==} peerDependencies: '@types/react': '*' @@ -5457,13 +5436,13 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-slider@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-slider@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-NKs15MJylfzVsCagVSWKhGGLNR1W9qWs+HtgbmjjVUB3B9+lb3PYoXxVju3kOrpf0VKyVCtZp+iTwVoqpa1Chw==} peerDependencies: '@types/react': '*' @@ -5483,22 +5462,22 @@ packages: '@babel/runtime': 7.22.15 '@radix-ui/number': 1.0.1 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-slot@1.0.2(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-slot@1.0.2(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==} peerDependencies: '@types/react': '*' @@ -5510,11 +5489,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-switch@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-switch@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-mxm87F88HyHztsI7N+ZUmEoARGkC22YVW5CaC+Byc+HRpuvCrOBPTAnXgf+tZ/7i0Sg/eOePGdMhUKhPaQEqow==} peerDependencies: '@types/react': '*' @@ -5533,19 +5512,19 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-tabs@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-tabs@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-egZfYY/+wRNCflXNHx+dePvnz9FbmssDTJBtgRfDY7e8SE5oIo3Py2eCB1ckAbh1Q7cQ/6yJZThJ++sgbxibog==} peerDependencies: '@types/react': '*' @@ -5564,20 +5543,20 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-toast@1.1.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-toast@1.1.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-fRLn227WHIBRSzuRzGJ8W+5YALxofH23y0MlPLddaIpLpCDqdE0NZlS2NRQDRiptfxDeeCjgFIpexB1/zkxDlw==} peerDependencies: '@types/react': '*' @@ -5596,24 +5575,24 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-toggle-group@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-toggle-group@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Uaj/M/cMyiyT9Bx6fOZO0SAG4Cls0GptBWiBmBxofmDbNVnYYoyRWj/2M/6VCi/7qcXFWnHhRUfdfZFvvkuu8A==} peerDependencies: '@types/react': '*' @@ -5632,18 +5611,18 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-toggle': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-toggle': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-toggle@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-toggle@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Pkqg3+Bc98ftZGsl60CLANXQBBQ4W3mTFS9EJvNxKMZ7magklKV69/id1mlAlOFDDfHvlCms0fx8fA4CMKDJHg==} peerDependencies: '@types/react': '*' @@ -5662,14 +5641,14 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-toolbar@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-toolbar@1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-tBgmM/O7a07xbaEkYJWYTXkIdU/1pW4/KZORR43toC/4XWyBCURK0ei9kMUdp+gTPPKBgYLxXmRSH1EVcIDp8Q==} peerDependencies: '@types/react': '*' @@ -5688,18 +5667,18 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-separator': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-toggle-group': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-roving-focus': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-separator': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-toggle-group': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@radix-ui/react-tooltip@1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-tooltip@1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-DmNFOiwEc2UDigsYj6clJENma58OelxD24O4IODoZ+3sQc3Zb+L8w1EP+y9laTuKCLAysPw4fD6/v0j4KNV8rg==} peerDependencies: '@types/react': '*' @@ -5718,24 +5697,24 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-context': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-id': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==} peerDependencies: '@types/react': '*' @@ -5747,10 +5726,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==} peerDependencies: '@types/react': '*' @@ -5762,11 +5741,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==} peerDependencies: '@types/react': '*' @@ -5778,11 +5757,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==} peerDependencies: '@types/react': '*' @@ -5794,10 +5773,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-use-previous@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-use-previous@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-cV5La9DPwiQ7S0gf/0qiD6YgNqM5Fk97Kdrlc5yBcrF3jyEZQwm7vYFqMo4IfeHgJXsRaMvLABFtd0OVEmZhDw==} peerDependencies: '@types/react': '*' @@ -5809,10 +5788,10 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-use-rect@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-use-rect@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==} peerDependencies: '@types/react': '*' @@ -5825,10 +5804,10 @@ packages: dependencies: '@babel/runtime': 7.22.15 '@radix-ui/rect': 1.0.1 - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-use-size@1.0.1(@types/react@18.2.22)(react@18.2.0): + /@radix-ui/react-use-size@1.0.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==} peerDependencies: '@types/react': '*' @@ -5840,11 +5819,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@types/react': 18.2.23 react: 18.2.0 - /@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==} peerDependencies: '@types/react': '*' @@ -5862,8 +5841,8 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.15 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -5873,7 +5852,7 @@ packages: dependencies: '@babel/runtime': 7.22.15 - /@radix-ui/themes@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@radix-ui/themes@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-VnNeanSxHQurSgwQe5Z3zNZP5SrwhRY+RW97FPZe7TOJGpa+rpDHLDR9vourSsEGxsgrtTXHJaoII1pyIXDi8A==} peerDependencies: '@types/react': '*' @@ -5892,30 +5871,30 @@ packages: dependencies: '@radix-ui/colors': 2.1.0 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-accessible-icon': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-alert-dialog': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-aspect-ratio': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-avatar': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-checkbox': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-context-menu': 2.1.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-dialog': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-direction': 1.0.1(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-dropdown-menu': 2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-form': 0.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-hover-card': 1.0.7(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-popover': 1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-radio-group': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-scroll-area': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-separator': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slider': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': 1.0.2(@types/react@18.2.22)(react@18.2.0) - '@radix-ui/react-switch': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-tabs': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-tooltip': 1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.22 + '@radix-ui/react-accessible-icon': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-alert-dialog': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-aspect-ratio': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-avatar': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-checkbox': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-context-menu': 2.1.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-dialog': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-direction': 1.0.1(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-dropdown-menu': 2.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-form': 0.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-hover-card': 1.0.7(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-popover': 1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-radio-group': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-scroll-area': 1.0.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-separator': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slider': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': 1.0.2(@types/react@18.2.23)(react@18.2.0) + '@radix-ui/react-switch': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-tabs': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-tooltip': 1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.23 '@types/react-dom': 18.2.7 classnames: 2.3.2 react: 18.2.0 @@ -7498,7 +7477,7 @@ packages: dependencies: '@sinonjs/commons': 3.0.0 - /@storybook/addon-a11y@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-a11y@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-7W8fjCdmwX4zlDM4jpzVKNgelWSqbYr3cH834pqOFAkyiyNVIsNRPQBgSwkkljgz0uAsz8nFCRFK3Oo1btl6Yg==} peerDependencies: react: '*' @@ -7512,7 +7491,7 @@ packages: '@storybook/addon-highlight': 7.4.5 '@storybook/channels': 7.4.5 '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': 7.4.5 '@storybook/global': 5.0.0 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7529,7 +7508,7 @@ packages: - '@types/react-dom' dev: true - /@storybook/addon-actions@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-actions@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-FkjJWmPN/+duLSkRwfa2bwlwjKfY6yCXYn7CRzn3rb64B8f50NB79zAgVLHjkJh9l6T3DIlWtol6vqPHj1aRpw==} peerDependencies: react: '*' @@ -7541,7 +7520,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': 7.4.5 '@storybook/global': 5.0.0 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7563,7 +7542,7 @@ packages: - '@types/react-dom' dev: true - /@storybook/addon-backgrounds@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-backgrounds@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-fTq9E1WrYH/9hwDemFVLVcaI2iSSuwWnvY/8tqGrY9xhQF5dIpeHf+z8+HWXpau7e6Z0/WiYR+1vwAcIKt95LQ==} peerDependencies: react: '*' @@ -7575,7 +7554,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': 7.4.5 '@storybook/global': 5.0.0 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7591,7 +7570,7 @@ packages: - '@types/react-dom' dev: true - /@storybook/addon-controls@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-controls@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Mxs56jt44HIbZ4gJa0AII1U8GqEGFsvcM5Iob0ETNpxCW5Kj5iHly/4Ws0RFWPH/krrQKaLpWXaUxKmbtEzhJA==} peerDependencies: react: '*' @@ -7602,9 +7581,9 @@ packages: react-dom: optional: true dependencies: - '@storybook/blocks': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/blocks': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-common': 7.4.5 '@storybook/core-events': 7.4.5 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7623,7 +7602,7 @@ packages: - supports-color dev: true - /@storybook/addon-docs@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-docs@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-KjFVeq8oL7ZC1gsk8iY3Nn0RrHHUpczmOTCd8FeVNmKD4vq+dkPb/8bJLy+jArmIZ8vRhknpTh6kp1BqB7qHGQ==} peerDependencies: react: '*' @@ -7636,9 +7615,9 @@ packages: dependencies: '@jest/transform': 29.7.0 '@mdx-js/react': 2.3.0(react@18.2.0) - '@storybook/blocks': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/blocks': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/csf-plugin': 7.4.5 '@storybook/csf-tools': 7.4.5 '@storybook/global': 5.0.0 @@ -7662,7 +7641,7 @@ packages: - supports-color dev: true - /@storybook/addon-essentials@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-essentials@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-H7zZWJXZP0UU2kXfo9zlQfjIKHuuqYBK7PZ2/SL5y08mTrbtt1BfqYScz3xRvHocaFcsBWCXdy8jJULT4KFUpw==} peerDependencies: react: '*' @@ -7673,15 +7652,15 @@ packages: react-dom: optional: true dependencies: - '@storybook/addon-actions': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-backgrounds': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-controls': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-docs': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-actions': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-backgrounds': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-controls': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-docs': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-highlight': 7.4.5 - '@storybook/addon-measure': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-outline': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-toolbars': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-viewport': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-measure': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-outline': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-toolbars': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-viewport': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-common': 7.4.5 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) '@storybook/node-logger': 7.4.5 @@ -7704,7 +7683,7 @@ packages: '@storybook/preview-api': 7.4.5 dev: true - /@storybook/addon-interactions@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-interactions@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-KDdV/THxj38VsuOevrUefev0rZPhzqUXCgrw1Jc2PsJGidHf9d9nnB7wbA9ZFYsxTz90M/Vk5sm7i1QkMmsquA==} peerDependencies: react: '*' @@ -7716,7 +7695,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-common': 7.4.5 '@storybook/core-events': 7.4.5 '@storybook/global': 5.0.0 @@ -7762,7 +7741,7 @@ packages: ts-dedent: 2.2.0 dev: true - /@storybook/addon-measure@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-measure@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-FQGZniTH67nC1YPR4ep0p+isgxwLaNAmIAyCZWXPRTkZssIrnXVwNgi0A2QkHdxZvxj8yXGFTOVXLWEPT9YvFQ==} peerDependencies: react: '*' @@ -7774,7 +7753,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': 7.4.5 '@storybook/global': 5.0.0 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7788,7 +7767,7 @@ packages: - '@types/react-dom' dev: true - /@storybook/addon-outline@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-outline@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-eOH9BZzpehUz5FXD98OLnWgzmBFMvEB2kFfw5JiO7IRx7Fan80fx/WDQuMSNDOgLBCTTvsZ4TBMMXZHpw91WAw==} peerDependencies: react: '*' @@ -7800,7 +7779,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': 7.4.5 '@storybook/global': 5.0.0 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7814,7 +7793,7 @@ packages: - '@types/react-dom' dev: true - /@storybook/addon-storysource@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-storysource@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-aWQkW4IzDHRXdUyHPfksSdk4zK4gIJvXpxVCqX+oz3FuadmwZmhK1vWxNdm4Jo/0EZdwe2YZOBJwXHIwpZtigg==} peerDependencies: react: '*' @@ -7826,7 +7805,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) '@storybook/preview-api': 7.4.5 '@storybook/router': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7843,7 +7822,7 @@ packages: - '@types/react-dom' dev: true - /@storybook/addon-toolbars@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-toolbars@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-PZlwUTIdQ18de3zNb+627VSF4UrCGIXDdikyO9O5j2Cd0xfr5uhS6tgQ+3AT0DfUj0UIkKxilwcAt+agpNyicA==} peerDependencies: react: '*' @@ -7855,7 +7834,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) '@storybook/preview-api': 7.4.5 '@storybook/theming': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7866,7 +7845,7 @@ packages: - '@types/react-dom' dev: true - /@storybook/addon-viewport@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/addon-viewport@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-SBLnUMIztVrqJ0fRCsVg9KZ29APLIxqAvTsYHF3twy5KB2naeCFuX3K9LxSH7vbROI6zHEfnPduz/Ykyvu9yUg==} peerDependencies: react: '*' @@ -7878,7 +7857,7 @@ packages: optional: true dependencies: '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': 7.4.5 '@storybook/global': 5.0.0 '@storybook/manager-api': 7.4.5(react-dom@18.2.0)(react@18.2.0) @@ -7910,7 +7889,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@storybook/blocks@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/blocks@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-FhAIkCT2HrzJcKsC3mL5+uG3GrbS23mYAT1h3iyPjCliZzxfCCI9UCMUXqYx4Z/FmAGJgpsQQXiBFZuoTHO9aQ==} peerDependencies: react: '*' @@ -7923,7 +7902,7 @@ packages: dependencies: '@storybook/channels': 7.4.5 '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': 7.4.5 '@storybook/csf': 0.1.1 '@storybook/docs-tools': 7.4.5 @@ -8012,13 +7991,13 @@ packages: remark-slug: 6.1.0 rollup: 3.29.2 typescript: 5.2.2 - vite: 4.4.9(@types/node@20.6.5) + vite: 4.4.9(@types/node@20.7.0) transitivePeerDependencies: - encoding - supports-color dev: true - /@storybook/builder-webpack5@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2): + /@storybook/builder-webpack5@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2): resolution: {integrity: sha512-XSZLZ2kNlZaOJ3i2uZ9vI25cJkmQhmTVHPER+FPKM/yliqsQj7p2P9zYz/Mn0LepUheK1Y+aWWiead1r2DnNMg==} peerDependencies: react: '*' @@ -8037,7 +8016,7 @@ packages: '@storybook/channels': 7.4.5 '@storybook/client-api': 7.4.5 '@storybook/client-logger': 7.4.5 - '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@storybook/components': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-common': 7.4.5 '@storybook/core-events': 7.4.5 '@storybook/core-webpack': 7.4.5 @@ -8185,7 +8164,7 @@ packages: - supports-color dev: true - /@storybook/components@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0): + /@storybook/components@7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-boskkfvMBB8CFYY9+1ofFNyKrdWXTY/ghzt7oK80dz6f2Eseo/WXK3OsCdCq5vWbLRCdbgJ8zXG8pAFi4yBsxA==} peerDependencies: react: '*' @@ -8196,8 +8175,8 @@ packages: react-dom: optional: true dependencies: - '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-toolbar': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-toolbar': 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) '@storybook/client-logger': 7.4.5 '@storybook/csf': 0.1.1 '@storybook/global': 5.0.0 @@ -8418,7 +8397,7 @@ packages: resolution: {integrity: sha512-TXJJd5RAKakWx4BtpwvSNdgTDkKM6RkXU8GK34S/LhidQ5Pjz3wcnqb0TxEkfhK/ztbP8nKHqXFwLfa2CYkvQw==} dev: true - /@storybook/nextjs@7.4.5(@swc/core@1.3.89)(@types/react-dom@18.2.7)(@types/react@18.2.22)(next@13.5.3)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2): + /@storybook/nextjs@7.4.5(@swc/core@1.3.89)(@types/react-dom@18.2.7)(@types/react@18.2.23)(next@13.5.3)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2): resolution: {integrity: sha512-NXO9AwuyekD/BjP+DD0Bupa3gXAJGiYWoWvtRGntewhvDEXllX7ohrv5ldnwxeCsAM7a8Iih+Vs+aKsSLeGN8Q==} engines: {node: '>=16.0.0'} peerDependencies: @@ -8455,8 +8434,8 @@ packages: '@babel/preset-react': 7.22.15(@babel/core@7.23.0) '@babel/preset-typescript': 7.22.15(@babel/core@7.23.0) '@babel/runtime': 7.22.15 - '@storybook/addon-actions': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0) - '@storybook/builder-webpack5': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.22)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) + '@storybook/addon-actions': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) + '@storybook/builder-webpack5': 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) '@storybook/core-common': 7.4.5 '@storybook/node-logger': 7.4.5 '@storybook/preset-react-webpack': 7.4.5(@babel/core@7.23.0)(@swc/core@1.3.89)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) @@ -8647,7 +8626,7 @@ packages: react: 18.2.0 react-docgen: 6.0.0-alpha.3 react-dom: 18.2.0(react@18.2.0) - vite: 4.4.9(@types/node@20.6.5) + vite: 4.4.9(@types/node@20.7.0) transitivePeerDependencies: - '@preact/preset-vite' - encoding @@ -9038,7 +9017,7 @@ packages: chalk: 3.0.0 css.escape: 1.5.1 dom-accessibility-api: 0.5.16 - jest: 29.7.0(@types/node@20.6.5) + jest: 29.7.0(@types/node@20.7.0) lodash: 4.17.21 redent: 3.0.0 @@ -9084,22 +9063,6 @@ packages: engines: {node: '>= 10'} dev: false - /@tsconfig/node10@1.0.9: - resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} - dev: true - - /@tsconfig/node12@1.0.11: - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - dev: true - - /@tsconfig/node14@1.0.3: - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true - - /@tsconfig/node16@1.0.4: - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - dev: true - /@types/aria-query@5.0.2: resolution: {integrity: sha512-PHKZuMN+K5qgKIWhBodXzQslTo5P+K/6LqeKXS6O/4liIDdZqaX5RXrCK++LAw+y/nptN48YmUMFiQHRSWYwtQ==} @@ -9131,14 +9094,14 @@ packages: /@types/bn.js@5.1.2: resolution: {integrity: sha512-dkpZu0szUtn9UXTmw+e0AJFd4D2XAxDnsCLdc05SfqpqzPEBft8eQr8uaFitfo/dUUOZERaLec2hHMG87A4Dxg==} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 dev: false /@types/body-parser@1.19.3: resolution: {integrity: sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==} dependencies: '@types/connect': 3.4.36 - '@types/node': 20.6.5 + '@types/node': 20.7.0 /@types/chrome@0.0.243: resolution: {integrity: sha512-4PHv0kxxxpZFHWPBiJJ9TWH8kbx0567j1b2djnhpJjpiSGNI7UKkz7dSEECBtQ0B3N5nQTMwSB/5IopkWGAbEA==} @@ -9150,18 +9113,12 @@ packages: /@types/connect@3.4.36: resolution: {integrity: sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==} dependencies: - '@types/node': 20.6.5 - - /@types/cors@2.8.14: - resolution: {integrity: sha512-RXHUvNWYICtbP6s18PnOCaqToK8y14DnLd75c6HfyKf228dxy7pHNOQkxPtvXKp/hINFMDjbYzsj63nnpPMSRQ==} - dependencies: - '@types/node': 20.6.5 - dev: true + '@types/node': 20.7.0 /@types/cross-spawn@6.0.3: resolution: {integrity: sha512-BDAkU7WHHRHnvBf5z89lcvACsvkz/n7Tv+HyD/uW76O29HoH1Tk/W6iQrepaZVbisvlEek4ygwT8IW7ow9XLAA==} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 dev: true /@types/detect-port@1.3.3: @@ -9209,7 +9166,7 @@ packages: /@types/express-serve-static-core@4.17.36: resolution: {integrity: sha512-zbivROJ0ZqLAtMzgzIUC4oNqDG9iF0lSsAqpOD9kbs5xcIM3dTiyuHvBc7R8MtWBp3AAWGaovJa+wzWPjLYW7Q==} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 '@types/qs': 6.9.8 '@types/range-parser': 1.2.4 '@types/send': 0.17.1 @@ -9240,13 +9197,13 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.6.5 + '@types/node': 20.7.0 dev: true /@types/graceful-fs@4.1.7: resolution: {integrity: sha512-MhzcwU8aUygZroVwL2jeYk6JisJrPl/oov/gsgGCue9mkgl9wjGbzReYQClxiUgFDnib9FuHqTndccKeZKxTRw==} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 /@types/har-format@1.2.13: resolution: {integrity: sha512-PwBsCBD3lDODn4xpje3Y1di0aDJp4Ww7aSfMRVw6ysnxD4I7Wmq2mBkSKaDtN403hqH5sp6c9xQUvFYY3+lkBg==} @@ -9295,7 +9252,7 @@ packages: /@types/jsdom@20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 '@types/tough-cookie': 4.0.3 parse5: 7.1.2 dev: false @@ -9344,7 +9301,7 @@ packages: /@types/node-fetch@2.6.5: resolution: {integrity: sha512-OZsUlr2nxvkqUFLSaY2ZbA+P1q22q+KrlxWOn/38RX+u5kTkYL2mTujEpzUhGkS+K/QCYp9oagfXG39XOzyySg==} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 form-data: 4.0.0 dev: true @@ -9356,8 +9313,8 @@ packages: resolution: {integrity: sha512-vVmHeo4tpF8zsknALU90Hh24VueYdu45ZlXzYWFbom61YR4avJqTFDC3QlWzjuTdAv6/3xHaxiO9NrtVZXrkmw==} dev: true - /@types/node@20.6.5: - resolution: {integrity: sha512-2qGq5LAOTh9izcc0+F+dToFigBWiK1phKPt7rNhOqJSr35y8rlIBjDwGtFSgAI6MGIhjwOVNSQZVdJsZJ2uR1w==} + /@types/node@20.7.0: + resolution: {integrity: sha512-zI22/pJW2wUZOVyguFaUL1HABdmSVxpXrzIqkjsHmyUjNhPoWM1CKfvVuXfetHhIok4RY573cqS0mZ1SJEnoTg==} /@types/normalize-package-data@2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} @@ -9383,10 +9340,10 @@ packages: /@types/react-dom@18.2.7: resolution: {integrity: sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==} dependencies: - '@types/react': 18.2.22 + '@types/react': 18.2.23 - /@types/react@18.2.22: - resolution: {integrity: sha512-60fLTOLqzarLED2O3UQImc/lsNRgG0jE/a1mPW9KjMemY0LMITWEsbS4VvZ4p6rorEHd5YKxxmMKSDK505GHpA==} + /@types/react@18.2.23: + resolution: {integrity: sha512-qHLW6n1q2+7KyBEYnrZpcsAmU/iiCh9WGCKgXvMxx89+TYdJWRjZohVIo9XTcoLhfX3+/hP0Pbulu3bCZQ9PSA==} dependencies: '@types/prop-types': 15.7.6 '@types/scheduler': 0.16.3 @@ -9402,26 +9359,18 @@ packages: resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} dependencies: '@types/mime': 1.3.2 - '@types/node': 20.6.5 + '@types/node': 20.7.0 /@types/serve-static@1.15.2: resolution: {integrity: sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==} dependencies: '@types/http-errors': 2.0.2 '@types/mime': 3.0.1 - '@types/node': 20.6.5 + '@types/node': 20.7.0 /@types/stack-utils@2.0.1: resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} - /@types/strip-bom@3.0.0: - resolution: {integrity: sha512-xevGOReSYGM7g/kUBZzPqCrR/KYAo+F0yiPc85WFTJa0MSLtyFTVTU6cJu/aV4mid7IffDIWqo69THF2o4JiEQ==} - dev: true - - /@types/strip-json-comments@0.0.30: - resolution: {integrity: sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==} - dev: true - /@types/tough-cookie@4.0.3: resolution: {integrity: sha512-THo502dA5PzG/sfQH+42Lw3fvmYkceefOspdCwpHRul8ik2Jv1K8I5OZz1AT3/rs46kwgMCe9bSBmDLYkkOMGg==} dev: false @@ -9437,7 +9386,7 @@ packages: /@types/ws@8.5.5: resolution: {integrity: sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 /@types/yargs-parser@21.0.0: resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} @@ -9644,7 +9593,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.0) magic-string: 0.27.0 react-refresh: 0.14.0 - vite: 4.4.9(@types/node@20.6.5) + vite: 4.4.9(@types/node@20.7.0) transitivePeerDependencies: - supports-color dev: true @@ -9800,6 +9749,14 @@ packages: fast-url-parser: 1.1.3 tslib: 2.6.2 + /@whatwg-node/server@0.9.14: + resolution: {integrity: sha512-I8TT0NoCP+xThLBuGlU6dgq5wpExkphNMo2geZwQW0vAmEPtc3MNMZMIYqg5GyNmpv5Nf7fnxb8tVOIHbDvuDA==} + engines: {node: '>=16.0.0'} + dependencies: + '@whatwg-node/fetch': 0.9.13 + tslib: 2.6.2 + dev: false + /@wry/equality@0.1.11: resolution: {integrity: sha512-mwEVBDUVODlsQQ5dfuLUS5/Tf7jqUKyhKYHmVi4fPB6bDMOfWvUPJmKgS1Z7Za/sOI3vzWt4+O7yCiL/70MogA==} dependencies: @@ -9905,6 +9862,7 @@ packages: dependencies: mime-types: 2.1.35 negotiator: 0.6.3 + dev: true /acorn-globals@7.0.1: resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} @@ -9944,6 +9902,7 @@ packages: /acorn-walk@8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} + dev: false /acorn@7.4.1: resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} @@ -10135,10 +10094,6 @@ packages: resolution: {integrity: sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==} dev: true - /arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - dev: true - /arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -10174,6 +10129,7 @@ packages: /array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} + dev: true /array-includes@3.1.7: resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} @@ -10627,6 +10583,7 @@ packages: unpipe: 1.0.0 transitivePeerDependencies: - supports-color + dev: true /boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} @@ -10797,6 +10754,7 @@ packages: /bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} + dev: true /c8@7.14.0: resolution: {integrity: sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==} @@ -11248,6 +11206,7 @@ packages: /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: true /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} @@ -11349,10 +11308,12 @@ packages: engines: {node: '>= 0.6'} dependencies: safe-buffer: 5.2.1 + dev: true /content-type@1.0.5: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} + dev: true /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} @@ -11362,10 +11323,12 @@ packages: /cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} + dev: true /cookie@0.5.0: resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} engines: {node: '>= 0.6'} + dev: true /copy-to-clipboard@3.3.3: resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==} @@ -11392,14 +11355,6 @@ packages: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: true - /cors@2.8.5: - resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} - engines: {node: '>= 0.10'} - dependencies: - object-assign: 4.1.1 - vary: 1.1.2 - dev: false - /cosmiconfig@7.1.0: resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==} engines: {node: '>=10'} @@ -11455,7 +11410,7 @@ packages: sha.js: 2.4.11 dev: true - /create-jest@29.7.0(@types/node@20.6.5): + /create-jest@29.7.0(@types/node@20.7.0): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -11464,7 +11419,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.6.5) + jest-config: 29.7.0(@types/node@20.7.0) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -11473,10 +11428,6 @@ packages: - supports-color - ts-node - /create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - dev: true - /cross-fetch@3.1.8: resolution: {integrity: sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==} dependencies: @@ -11584,10 +11535,6 @@ packages: engines: {node: '>=4'} hasBin: true - /cssfilter@0.0.10: - resolution: {integrity: sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==} - dev: false - /cssom@0.3.8: resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} dev: false @@ -11645,6 +11592,7 @@ packages: optional: true dependencies: ms: 2.0.0 + dev: true /debug@3.2.7(supports-color@5.5.0): resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} @@ -11799,6 +11747,7 @@ packages: /depd@2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} + dev: true /dependency-graph@0.11.0: resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==} @@ -11823,6 +11772,7 @@ packages: /destroy@1.2.0: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + dev: true /detect-indent@6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} @@ -11880,11 +11830,6 @@ packages: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - /diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - dev: true - /diffie-hellman@5.0.3: resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==} dependencies: @@ -11997,12 +11942,6 @@ packages: stream-shift: 1.0.1 dev: true - /dynamic-dedupe@0.3.0: - resolution: {integrity: sha512-ssuANeD+z97meYOqd50e04Ze5qp4bPqo8cCkI4TRjZkzAUgIDTrXV1R8QCdINpiI+hw14+rYazvTRdQrz0/rFQ==} - dependencies: - xtend: 4.0.2 - dev: true - /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -12015,6 +11954,7 @@ packages: /ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + dev: true /ejs@3.1.9: resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} @@ -12062,6 +12002,7 @@ packages: /encodeurl@1.0.2: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} + dev: true /end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} @@ -12268,6 +12209,7 @@ packages: /escape-html@1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + dev: true /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} @@ -12624,6 +12566,7 @@ packages: /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} + dev: true /ethereum-cryptography@2.1.2: resolution: {integrity: sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug==} @@ -12733,6 +12676,7 @@ packages: vary: 1.1.2 transitivePeerDependencies: - supports-color + dev: true /extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} @@ -12921,6 +12865,7 @@ packages: unpipe: 1.0.0 transitivePeerDependencies: - supports-color + dev: true /find-cache-dir@2.1.0: resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} @@ -13074,6 +13019,7 @@ packages: /forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} + dev: true /fraction.js@4.3.6: resolution: {integrity: sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==} @@ -13106,6 +13052,7 @@ packages: /fresh@0.5.2: resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} + dev: true /fs-constants@1.0.0: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} @@ -13459,7 +13406,7 @@ packages: upper-case: 2.0.2 dev: true - /graphql-config@5.0.2(@types/node@20.6.5)(graphql@16.8.1)(typescript@5.2.2): + /graphql-config@5.0.2(@types/node@20.7.0)(graphql@16.8.1)(typescript@5.2.2): resolution: {integrity: sha512-7TPxOrlbiG0JplSZYCyxn2XQtqVhXomEjXUmWJVSS5ET1nPhOJSsIb/WTwqWhcYX6G0RlHXSj9PLtGTKmxLNGg==} engines: {node: '>= 16.0.0'} peerDependencies: @@ -13473,7 +13420,7 @@ packages: '@graphql-tools/json-file-loader': 8.0.0(graphql@16.8.1) '@graphql-tools/load': 8.0.0(graphql@16.8.1) '@graphql-tools/merge': 9.0.0(graphql@16.8.1) - '@graphql-tools/url-loader': 8.0.0(@types/node@20.6.5)(graphql@16.8.1) + '@graphql-tools/url-loader': 8.0.0(@types/node@20.7.0)(graphql@16.8.1) '@graphql-tools/utils': 10.0.6(graphql@16.8.1) cosmiconfig: 8.3.6(typescript@5.2.2) graphql: 16.8.1 @@ -13489,15 +13436,6 @@ packages: - utf-8-validate dev: true - /graphql-http@1.22.0(graphql@16.8.1): - resolution: {integrity: sha512-9RBUlGJWBFqz9LwfpmAbjJL/8j/HCNkZwPBU5+Bfmwez+1Ay43DocMNQYpIWsWqH0Ftv6PTNAh2aRnnMCBJgLw==} - engines: {node: '>=12'} - peerDependencies: - graphql: '>=16.8.1' - dependencies: - graphql: 16.8.1 - dev: false - /graphql-import@0.7.1(graphql@16.8.1): resolution: {integrity: sha512-YpwpaPjRUVlw2SN3OPljpWbVRWAhMAyfSba5U47qGMOSsPLi2gYeJtngGpymjm9nk57RFWEpjqwh4+dpYuFAPw==} engines: {node: '>=4.0.0'} @@ -13510,21 +13448,6 @@ packages: resolve-from: 4.0.0 dev: true - /graphql-playground-html@1.6.30: - resolution: {integrity: sha512-tpCujhsJMva4aqE8ULnF7/l3xw4sNRZcSHu+R00VV+W0mfp+Q20Plvcrp+5UXD+2yS6oyCXncA+zoQJQqhGCEw==} - dependencies: - xss: 1.0.14 - dev: false - - /graphql-playground-middleware-express@1.7.23(express@4.18.2): - resolution: {integrity: sha512-M/zbTyC1rkgiQjFSgmzAv6umMHOphYLNWZp6Ye5QrD77WfGOOoSqDsVmGUczc2pDkEPEzzGB/bvBO5rdzaTRgw==} - peerDependencies: - express: ^4.16.2 - dependencies: - express: 4.18.2 - graphql-playground-html: 1.6.30 - dev: false - /graphql-request@5.2.0(graphql@16.8.1): resolution: {integrity: sha512-pLhKIvnMyBERL0dtFI3medKqWOz/RhHdcgbZ+hMMIb32mEPa5MJSzS4AuXxfI4sRAu6JVVk5tvXuGfCWl9JYWQ==} peerDependencies: @@ -13627,6 +13550,26 @@ packages: dependencies: graphql: 16.8.1 + /graphql-yoga@4.0.4(graphql@16.8.1): + resolution: {integrity: sha512-MvCLhFecYNIKuxAZisPjpIL9lxRYbpgPSNKENDO/8CV3oiFlsLJHZb5dp2sVAeLafXHeZ9TgkijLthUBc1+Jag==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: '>=16.8.1' + dependencies: + '@envelop/core': 4.0.1 + '@graphql-tools/executor': 1.2.0(graphql@16.8.1) + '@graphql-tools/schema': 10.0.0(graphql@16.8.1) + '@graphql-tools/utils': 10.0.6(graphql@16.8.1) + '@graphql-yoga/logger': 1.0.0 + '@graphql-yoga/subscription': 4.0.0 + '@whatwg-node/fetch': 0.9.13 + '@whatwg-node/server': 0.9.14 + dset: 3.1.2 + graphql: 16.8.1 + lru-cache: 10.0.1 + tslib: 2.6.2 + dev: false + /graphql@16.8.1: resolution: {integrity: sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} @@ -13837,6 +13780,7 @@ packages: setprototypeof: 1.2.0 statuses: 2.0.1 toidentifier: 1.0.1 + dev: true /http-proxy-agent@5.0.0: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} @@ -13924,6 +13868,7 @@ packages: engines: {node: '>=0.10.0'} dependencies: safer-buffer: 2.1.2 + dev: true /iconv-lite@0.6.3: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} @@ -14089,6 +14034,7 @@ packages: /ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} + dev: true /is-absolute-url@3.0.3: resolution: {integrity: sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q==} @@ -14591,7 +14537,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -14611,7 +14557,7 @@ packages: - babel-plugin-macros - supports-color - /jest-cli@29.7.0(@types/node@20.6.5): + /jest-cli@29.7.0(@types/node@20.7.0): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -14625,10 +14571,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.6.5) + create-jest: 29.7.0(@types/node@20.7.0) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.6.5) + jest-config: 29.7.0(@types/node@20.7.0) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -14638,7 +14584,7 @@ packages: - supports-color - ts-node - /jest-config@29.7.0(@types/node@20.6.5): + /jest-config@29.7.0(@types/node@20.7.0): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -14653,7 +14599,7 @@ packages: '@babel/core': 7.23.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 babel-jest: 29.7.0(@babel/core@7.23.0) chalk: 4.1.2 ci-info: 3.8.0 @@ -14715,7 +14661,7 @@ packages: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 20.6.5 + '@types/node': 20.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -14732,7 +14678,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -14752,7 +14698,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.7 - '@types/node': 20.6.5 + '@types/node': 20.7.0 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -14809,7 +14755,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.6.5 + '@types/node': 20.7.0 dev: true /jest-mock@29.7.0: @@ -14817,7 +14763,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 jest-util: 29.7.0 /jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): @@ -14867,7 +14813,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -14897,7 +14843,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -14951,7 +14897,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -14974,7 +14920,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.5 + '@types/node': 20.7.0 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -14985,7 +14931,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -14994,12 +14940,12 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - /jest@29.7.0(@types/node@20.6.5): + /jest@29.7.0(@types/node@20.7.0): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -15012,7 +14958,7 @@ packages: '@jest/core': 29.7.0 '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.6.5) + jest-cli: 29.7.0(@types/node@20.7.0) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -15570,10 +15516,6 @@ packages: dependencies: semver: 7.5.4 - /make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - dev: true - /makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} dependencies: @@ -15624,6 +15566,7 @@ packages: /media-typer@0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} + dev: true /memfs@3.5.3: resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} @@ -15644,6 +15587,7 @@ packages: /merge-descriptors@1.0.1: resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} + dev: true /merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -15652,7 +15596,7 @@ packages: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - /meros@1.3.0(@types/node@20.6.5): + /meros@1.3.0(@types/node@20.7.0): resolution: {integrity: sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w==} engines: {node: '>=13'} peerDependencies: @@ -15661,7 +15605,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 /mersenne-twister@1.1.0: resolution: {integrity: sha512-mUYWsMKNrm4lfygPkL3OfGzOPTR2DBlTkBNHM//F6hGp8cLThY897crAlk3/Jo17LEOOjQUrNAx6DvgO77QJkA==} @@ -15670,6 +15614,7 @@ packages: /methods@1.1.2: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} + dev: true /micromatch@4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} @@ -15700,6 +15645,7 @@ packages: resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} engines: {node: '>=4'} hasBin: true + dev: true /mime@2.6.0: resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==} @@ -15808,6 +15754,7 @@ packages: /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + dev: true /ms@2.1.1: resolution: {integrity: sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==} @@ -15864,6 +15811,7 @@ packages: /negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} + dev: true /neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} @@ -16166,6 +16114,7 @@ packages: engines: {node: '>= 0.8'} dependencies: ee-first: 1.1.1 + dev: true /on-headers@1.0.2: resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==} @@ -16385,6 +16334,7 @@ packages: /parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} + dev: true /pascal-case@2.0.1: resolution: {integrity: sha512-qjS4s8rBOJa2Xm0jmxXiyh1+OFf6ekCWOvUaRgAQSktzlTbMotS0nmG9gyYAybCWBcuP4fsBeRCKNwGBnMe2OQ==} @@ -16472,6 +16422,7 @@ packages: /path-to-regexp@0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} + dev: true /path-type@3.0.0: resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==} @@ -16846,6 +16797,7 @@ packages: dependencies: forwarded: 0.2.0 ipaddr.js: 1.9.1 + dev: true /proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} @@ -16937,6 +16889,7 @@ packages: engines: {node: '>=0.6'} dependencies: side-channel: 1.0.4 + dev: true /qs@6.11.2: resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==} @@ -16989,6 +16942,7 @@ packages: /range-parser@1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} engines: {node: '>= 0.6'} + dev: true /raw-body@2.5.1: resolution: {integrity: sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==} @@ -16998,6 +16952,7 @@ packages: http-errors: 2.0.0 iconv-lite: 0.4.24 unpipe: 1.0.0 + dev: true /react-aria@3.28.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-M0R12U5X83zktim4V/4le7KEV4REu25yDr6zOwRFOTXwILLxYsmWnaajX7ye5da84tl4kDjYoJIKJWVNvhjNoA==} @@ -17175,7 +17130,7 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-remove-scroll-bar@2.3.4(@types/react@18.2.22)(react@18.2.0): + /react-remove-scroll-bar@2.3.4(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==} engines: {node: '>=10'} peerDependencies: @@ -17187,12 +17142,12 @@ packages: react: optional: true dependencies: - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - react-style-singleton: 2.2.1(@types/react@18.2.22)(react@18.2.0) + react-style-singleton: 2.2.1(@types/react@18.2.23)(react@18.2.0) tslib: 2.6.2 - /react-remove-scroll@2.5.5(@types/react@18.2.22)(react@18.2.0): + /react-remove-scroll@2.5.5(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==} engines: {node: '>=10'} peerDependencies: @@ -17204,13 +17159,13 @@ packages: react: optional: true dependencies: - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 - react-remove-scroll-bar: 2.3.4(@types/react@18.2.22)(react@18.2.0) - react-style-singleton: 2.2.1(@types/react@18.2.22)(react@18.2.0) + react-remove-scroll-bar: 2.3.4(@types/react@18.2.23)(react@18.2.0) + react-style-singleton: 2.2.1(@types/react@18.2.23)(react@18.2.0) tslib: 2.6.2 - use-callback-ref: 1.3.0(@types/react@18.2.22)(react@18.2.0) - use-sidecar: 1.1.2(@types/react@18.2.22)(react@18.2.0) + use-callback-ref: 1.3.0(@types/react@18.2.23)(react@18.2.0) + use-sidecar: 1.1.2(@types/react@18.2.23)(react@18.2.0) /react-resize-detector@7.1.2(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-zXnPJ2m8+6oq9Nn8zsep/orts9vQv3elrpA+R8XTcW7DVVUJ9vwDwMXaBtykAYjMnkCIaOoK9vObyR7ZgFNlOw==} @@ -17261,7 +17216,7 @@ packages: react: 18.2.0 dev: false - /react-style-singleton@2.2.1(@types/react@18.2.22)(react@18.2.0): + /react-style-singleton@2.2.1(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: @@ -17273,7 +17228,7 @@ packages: react: optional: true dependencies: - '@types/react': 18.2.22 + '@types/react': 18.2.23 get-nonce: 1.0.1 invariant: 2.2.4 react: 18.2.0 @@ -17784,6 +17739,7 @@ packages: /safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + dev: true /safe-regex-test@1.0.0: resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} @@ -17889,6 +17845,7 @@ packages: statuses: 2.0.1 transitivePeerDependencies: - supports-color + dev: true /sentence-case@2.1.1: resolution: {integrity: sha512-ENl7cYHaK/Ktwk5OTD+aDbQ3uC8IByu/6Bkg+HDv8Mm+XnBnppVNalcfJTNsp1ibstKh030/JKQQWglDvtKwEQ==} @@ -17932,6 +17889,7 @@ packages: send: 0.18.0 transitivePeerDependencies: - supports-color + dev: true /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} @@ -17956,6 +17914,7 @@ packages: /setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + dev: true /sha.js@2.4.11: resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} @@ -18220,6 +18179,7 @@ packages: /statuses@2.0.1: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} + dev: true /stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} @@ -18388,11 +18348,6 @@ packages: dependencies: min-indent: 1.0.1 - /strip-json-comments@2.0.1: - resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} - engines: {node: '>=0.10.0'} - dev: true - /strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} @@ -18533,8 +18488,8 @@ packages: /tailwindcss-radix@2.8.0: resolution: {integrity: sha512-1k1UfoIYgVyBl13FKwwoKavjnJ5VEaUClCTAsgz3VLquN4ay/lyaMPzkbqD71sACDs2fRGImytAUlMb4TzOt1A==} - /tailwindcss-themer@3.1.0(tailwindcss@3.3.3): - resolution: {integrity: sha512-IfgxpCxWm5rRK3Q7aTvVyhQ/7tyyn8EJl5tFak5tS+/n8oXT7OGfv8praYepR7+IsM92waAuBDZng1HgnstrYA==} + /tailwindcss-themer@3.1.1(tailwindcss@3.3.3): + resolution: {integrity: sha512-gGXTiJB3wfh0ABNMsjBMP4/jrdOsJN7AJn+usfKXY2dw6kYyalqcAc72b02yYc+1dMjBuCjkhwU4JNux/pphkg==} peerDependencies: tailwindcss: ^3.1.0 dependencies: @@ -18775,6 +18730,7 @@ packages: /toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} + dev: true /touch@3.1.0: resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} @@ -18859,66 +18815,6 @@ packages: resolution: {integrity: sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==} dev: true - /ts-node-dev@2.0.0(@swc/core@1.3.89)(@types/node@20.6.5)(typescript@5.2.2): - resolution: {integrity: sha512-ywMrhCfH6M75yftYvrvNarLEY+SUXtUvU8/0Z6llrHQVBx12GiFk5sStF8UdfE/yfzk9IAq7O5EEbTQsxlBI8w==} - engines: {node: '>=0.8.0'} - hasBin: true - peerDependencies: - node-notifier: '*' - typescript: '*' - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - chokidar: 3.5.3 - dynamic-dedupe: 0.3.0 - minimist: 1.2.8 - mkdirp: 1.0.4 - resolve: 1.22.6 - rimraf: 2.7.1 - source-map-support: 0.5.21 - tree-kill: 1.2.2 - ts-node: 10.9.1(@swc/core@1.3.89)(@types/node@20.6.5)(typescript@5.2.2) - tsconfig: 7.0.0 - typescript: 5.2.2 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - - '@types/node' - dev: true - - /ts-node@10.9.1(@swc/core@1.3.89)(@types/node@20.6.5)(typescript@5.2.2): - resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@swc/core': 1.3.89 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.6.5 - acorn: 8.10.0 - acorn-walk: 8.2.0 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.2.2 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - /ts-pnp@1.2.0(typescript@5.2.2): resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==} engines: {node: '>=6'} @@ -18970,15 +18866,6 @@ packages: strip-bom: 3.0.0 dev: true - /tsconfig@7.0.0: - resolution: {integrity: sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw==} - dependencies: - '@types/strip-bom': 3.0.0 - '@types/strip-json-comments': 0.0.30 - strip-bom: 3.0.0 - strip-json-comments: 2.0.1 - dev: true - /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} @@ -19165,6 +19052,7 @@ packages: dependencies: media-typer: 0.3.0 mime-types: 2.1.35 + dev: true /typed-array-buffer@1.0.0: resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} @@ -19311,6 +19199,7 @@ packages: /unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} + dev: true /unplugin@1.5.0: resolution: {integrity: sha512-9ZdRwbh/4gcm1JTOkp9lAkIDrtOyOxgHmY7cjuwI8L/2RTikMcVG25GsZwNAgRuap3iDw2jeq7eoqtAsz5rW3A==} @@ -19389,7 +19278,7 @@ packages: /urlpattern-polyfill@9.0.0: resolution: {integrity: sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g==} - /use-callback-ref@1.3.0(@types/react@18.2.22)(react@18.2.0): + /use-callback-ref@1.3.0(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==} engines: {node: '>=10'} peerDependencies: @@ -19401,7 +19290,7 @@ packages: react: optional: true dependencies: - '@types/react': 18.2.22 + '@types/react': 18.2.23 react: 18.2.0 tslib: 2.6.2 @@ -19420,7 +19309,7 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /use-sidecar@1.1.2(@types/react@18.2.22)(react@18.2.0): + /use-sidecar@1.1.2(@types/react@18.2.23)(react@18.2.0): resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==} engines: {node: '>=10'} peerDependencies: @@ -19432,7 +19321,7 @@ packages: react: optional: true dependencies: - '@types/react': 18.2.22 + '@types/react': 18.2.23 detect-node-es: 1.1.0 react: 18.2.0 tslib: 2.6.2 @@ -19468,6 +19357,7 @@ packages: /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} + dev: true /uuid@3.4.0: resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} @@ -19479,10 +19369,6 @@ packages: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true - /v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - dev: true - /v8-to-istanbul@9.1.0: resolution: {integrity: sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==} engines: {node: '>=10.12.0'} @@ -19509,6 +19395,7 @@ packages: /vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} + dev: true /verror@1.10.0: resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} @@ -19530,13 +19417,13 @@ packages: debug: 4.3.4 globrex: 0.1.2 tsconfck: 2.1.2(typescript@5.2.2) - vite: 4.4.9(@types/node@20.6.5) + vite: 4.4.9(@types/node@20.7.0) transitivePeerDependencies: - supports-color - typescript dev: true - /vite@4.4.9(@types/node@20.6.5): + /vite@4.4.9(@types/node@20.7.0): resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -19564,7 +19451,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.6.5 + '@types/node': 20.7.0 esbuild: 0.18.20 postcss: 8.4.30 rollup: 3.29.2 @@ -19915,15 +19802,6 @@ packages: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} dev: false - /xss@1.0.14: - resolution: {integrity: sha512-og7TEJhXvn1a7kzZGQ7ETjdQVS2UfZyTlsEdDOqvQF7GoxNfY+0YLCzBy1kPdsDDx4QuNAonQPddpsn6Xl/7sw==} - engines: {node: '>= 0.10.0'} - hasBin: true - dependencies: - commander: 2.20.3 - cssfilter: 0.0.10 - dev: false - /xstate@4.38.2: resolution: {integrity: sha512-Fba/DwEPDLneHT3tbJ9F3zafbQXszOlyCJyQqqdzmtlY/cwE2th462KK48yaANf98jHlP6lJvxfNtN0LFKXPQg==} @@ -20030,11 +19908,6 @@ packages: fd-slicer: 1.1.0 dev: true - /yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - dev: true - /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} From 0564c733b0417cb2ef4d6d8e89c1528d9bb14ea6 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 15:31:56 -0300 Subject: [PATCH 02/13] chore: env variables --- packages/app/.env.example | 1 - packages/app/.env.production | 2 ++ turbo.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 packages/app/.env.production diff --git a/packages/app/.env.example b/packages/app/.env.example index cd4e00978..037950fa5 100644 --- a/packages/app/.env.example +++ b/packages/app/.env.example @@ -1,4 +1,3 @@ -GRAPHQL_API=http://beta-4.fuel.network/graphql FUEL_PROVIDER_URL=http://beta-4.fuel.network/graphql diff --git a/packages/app/.env.production b/packages/app/.env.production new file mode 100644 index 000000000..e4dbc4235 --- /dev/null +++ b/packages/app/.env.production @@ -0,0 +1,2 @@ +FUEL_PROVIDER_URL=http://beta-4.fuel.network/graphql + diff --git a/turbo.json b/turbo.json index cb43cbbf0..2ce81951e 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,6 @@ { "$schema": "https://turbo.build/schema.json", - "globalEnv": ["NODE_ENV", "IS_PREVIEW", "FUEL_PROVIDER_URL", "GRAPHQL_API"], + "globalEnv": ["NODE_ENV", "IS_PREVIEW", "FUEL_PROVIDER_URL"], "pipeline": { "build": { "outputs": ["dist/**", "build/**", ".next/**"], From 3537745d79222b0673611f57bcc3f9b5c1243169 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 15:45:06 -0300 Subject: [PATCH 03/13] fix: vercel url when prod --- .npmrc | 1 + package.json | 5 +- packages/app/src/systems/Core/utils/client.ts | 9 +- pnpm-lock.yaml | 150 +++++++++++++----- 4 files changed, 120 insertions(+), 45 deletions(-) diff --git a/.npmrc b/.npmrc index 0493c4d02..7d987eafa 100644 --- a/.npmrc +++ b/.npmrc @@ -29,4 +29,5 @@ public-hoist-pattern[]=*framer-motion* public-hoist-pattern[]=*@react-aria/interactions* public-hoist-pattern[]=*eslint* public-hoist-pattern[]=*prettier* +public-hoist-pattern[]=*ts-node* public-hoist-pattern[]=@types* diff --git a/package.json b/package.json index 39b6cf679..53287cd7c 100644 --- a/package.json +++ b/package.json @@ -60,14 +60,14 @@ }, "devDependencies": { "@fuels/tsup-config": "^0.0.11", + "@next/eslint-plugin-next": "^13.5.3", "@swc/core": "1.3.89", "@swc/jest": "0.2.29", "@types/jest": "29.5.5", "@types/node": "20.7.0", - "deepmerge-json": "1.5.0", - "@next/eslint-plugin-next": "^13.5.3", "@typescript-eslint/eslint-plugin": "^6.7.3", "@typescript-eslint/parser": "^6.7.3", + "deepmerge-json": "1.5.0", "eslint": "^8.50.0", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-node": "^0.3.9", @@ -83,6 +83,7 @@ "husky": "^8.0.3", "npm-run-all": "^4.1.5", "prettier": "^3.0.3", + "ts-node": "10.9.1", "tsup": "7.2.0", "turbo": "^1.10.14", "typescript": "5.2.2", diff --git a/packages/app/src/systems/Core/utils/client.ts b/packages/app/src/systems/Core/utils/client.ts index d20a0634c..b9d616424 100644 --- a/packages/app/src/systems/Core/utils/client.ts +++ b/packages/app/src/systems/Core/utils/client.ts @@ -1,5 +1,12 @@ import { GraphQLClient } from 'graphql-request'; +import { resolve } from 'url'; import { getSdk } from '~/graphql/generated/types'; -const graphql = new GraphQLClient('http://localhost:3000/api/graphql'); +const VERCEL_URL = process.env.VERCEL_URL; +const API_URL = + process.env.NODE_ENV === 'production' + ? resolve(VERCEL_URL!, '/api/graphql') + : 'http://localhost:3000/api/graphql'; + +const graphql = new GraphQLClient(API_URL); export const client = getSdk(graphql); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 319cc108d..db5c73a4c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,7 +35,7 @@ importers: version: 0.0.11(typescript@5.2.2) jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.7.0) + version: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) lint-staged: specifier: 14.0.1 version: 14.0.1 @@ -112,9 +112,12 @@ importers: prettier: specifier: ^3.0.3 version: 3.0.3 + ts-node: + specifier: 10.9.1 + version: 10.9.1(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2) tsup: specifier: 7.2.0 - version: 7.2.0(@swc/core@1.3.89)(typescript@5.2.2) + version: 7.2.0(@swc/core@1.3.89)(ts-node@10.9.1)(typescript@5.2.2) turbo: specifier: ^1.10.14 version: 1.10.14 @@ -319,7 +322,7 @@ importers: version: link:../storybook-addon-theme tailwindcss: specifier: 3.3.3 - version: 3.3.3 + version: 3.3.3(ts-node@10.9.1) tailwindcss-animate: specifier: 1.0.7 version: 1.0.7(tailwindcss@3.3.3) @@ -534,7 +537,7 @@ importers: version: link:../storybook-addon-theme tailwindcss: specifier: 3.3.3 - version: 3.3.3 + version: 3.3.3(ts-node@10.9.1) tsconfig-paths-webpack-plugin: specifier: ^4.1.0 version: 4.1.0 @@ -2121,6 +2124,12 @@ packages: engines: {node: '>=0.1.90'} dev: true + /@cspotcode/source-map-support@0.8.1: + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + /@discoveryjs/json-ext@0.5.7: resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} engines: {node: '>=10.0.0'} @@ -3046,7 +3055,7 @@ packages: '@types/react-dom': 18.2.7 dotenv: 16.3.1 identity-obj-proxy: 3.0.0 - jest: 29.7.0(@types/node@20.7.0) + jest: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) jest-axe: 8.0.0 jest-environment-jsdom: 29.7.0 jest-fail-on-console: 3.1.1 @@ -3089,7 +3098,7 @@ packages: dotenv: 16.3.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - tsup: 7.2.0(@swc/core@1.3.89)(typescript@5.2.2) + tsup: 7.2.0(@swc/core@1.3.89)(ts-node@10.9.1)(typescript@5.2.2) dev: true /@fuels/vm-asm@0.36.1: @@ -3865,7 +3874,7 @@ packages: jest-util: 29.7.0 slash: 3.0.0 - /@jest/core@29.7.0: + /@jest/core@29.7.0(ts-node@10.9.1): resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -3886,7 +3895,7 @@ packages: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.7.0) + jest-config: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -4121,6 +4130,12 @@ packages: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 + /@jridgewell/trace-mapping@0.3.9: + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + /@juggle/resize-observer@3.4.0: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} @@ -8780,7 +8795,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true optional: true /@swc/core-darwin-x64@1.3.89: @@ -8789,7 +8803,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true optional: true /@swc/core-linux-arm-gnueabihf@1.3.89: @@ -8798,7 +8811,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-arm64-gnu@1.3.89: @@ -8807,7 +8819,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-arm64-musl@1.3.89: @@ -8816,7 +8827,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-x64-gnu@1.3.89: @@ -8825,7 +8835,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-x64-musl@1.3.89: @@ -8834,7 +8843,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-win32-arm64-msvc@1.3.89: @@ -8843,7 +8851,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true optional: true /@swc/core-win32-ia32-msvc@1.3.89: @@ -8852,7 +8859,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true optional: true /@swc/core-win32-x64-msvc@1.3.89: @@ -8861,7 +8867,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@swc/core@1.3.89: @@ -8887,11 +8892,9 @@ packages: '@swc/core-win32-arm64-msvc': 1.3.89 '@swc/core-win32-ia32-msvc': 1.3.89 '@swc/core-win32-x64-msvc': 1.3.89 - dev: true /@swc/counter@0.1.1: resolution: {integrity: sha512-xVRaR4u9hcYjFvcSg71Lz5Bo4//CyjAAfMxa7UsaDSYxAshflUkVJWiyVWrfxC59z2kP1IzI4/1BEpnhI9o3Mw==} - dev: true /@swc/helpers@0.4.14: resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==} @@ -8924,7 +8927,6 @@ packages: /@swc/types@0.1.5: resolution: {integrity: sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==} - dev: true /@tabler/icons-react@2.35.0(react@18.2.0): resolution: {integrity: sha512-jK2zgtMF2+LSjtbjYsfer+ryz72TwyJqv3MsmCfEpQwP37u01xvmTlVhJ+ox3bV+trsgjojsldVDuB05JuXLaw==} @@ -8952,7 +8954,7 @@ packages: lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 postcss-selector-parser: 6.0.10 - tailwindcss: 3.3.3 + tailwindcss: 3.3.3(ts-node@10.9.1) dev: false /@tanstack/query-core@4.35.3: @@ -9017,7 +9019,7 @@ packages: chalk: 3.0.0 css.escape: 1.5.1 dom-accessibility-api: 0.5.16 - jest: 29.7.0(@types/node@20.7.0) + jest: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) lodash: 4.17.21 redent: 3.0.0 @@ -9063,6 +9065,18 @@ packages: engines: {node: '>= 10'} dev: false + /@tsconfig/node10@1.0.9: + resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} + + /@tsconfig/node12@1.0.11: + resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} + + /@tsconfig/node14@1.0.3: + resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} + + /@tsconfig/node16@1.0.4: + resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} + /@types/aria-query@5.0.2: resolution: {integrity: sha512-PHKZuMN+K5qgKIWhBodXzQslTo5P+K/6LqeKXS6O/4liIDdZqaX5RXrCK++LAw+y/nptN48YmUMFiQHRSWYwtQ==} @@ -9902,7 +9916,6 @@ packages: /acorn-walk@8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} - dev: false /acorn@7.4.1: resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} @@ -10094,6 +10107,9 @@ packages: resolution: {integrity: sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==} dev: true + /arg@4.1.3: + resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + /arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -11410,7 +11426,7 @@ packages: sha.js: 2.4.11 dev: true - /create-jest@29.7.0(@types/node@20.7.0): + /create-jest@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -11419,7 +11435,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.7.0) + jest-config: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -11428,6 +11444,9 @@ packages: - supports-color - ts-node + /create-require@1.1.1: + resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + /cross-fetch@3.1.8: resolution: {integrity: sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==} dependencies: @@ -11830,6 +11849,10 @@ packages: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + /diff@4.0.2: + resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} + engines: {node: '>=0.3.1'} + /diffie-hellman@5.0.3: resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==} dependencies: @@ -14557,7 +14580,7 @@ packages: - babel-plugin-macros - supports-color - /jest-cli@29.7.0(@types/node@20.7.0): + /jest-cli@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -14567,14 +14590,14 @@ packages: node-notifier: optional: true dependencies: - '@jest/core': 29.7.0 + '@jest/core': 29.7.0(ts-node@10.9.1) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.7.0) + create-jest: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.7.0) + jest-config: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -14584,7 +14607,7 @@ packages: - supports-color - ts-node - /jest-config@29.7.0(@types/node@20.7.0): + /jest-config@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -14619,6 +14642,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 + ts-node: 10.9.1(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -14945,7 +14969,7 @@ packages: merge-stream: 2.0.0 supports-color: 8.1.1 - /jest@29.7.0(@types/node@20.7.0): + /jest@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -14955,10 +14979,10 @@ packages: node-notifier: optional: true dependencies: - '@jest/core': 29.7.0 + '@jest/core': 29.7.0(ts-node@10.9.1) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.7.0) + jest-cli: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -15516,6 +15540,9 @@ packages: dependencies: semver: 7.5.4 + /make-error@1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + /makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} dependencies: @@ -16577,7 +16604,7 @@ packages: camelcase-css: 2.0.1 postcss: 8.4.30 - /postcss-load-config@4.0.1(postcss@8.4.30): + /postcss-load-config@4.0.1(postcss@8.4.30)(ts-node@10.9.1): resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} engines: {node: '>= 14'} peerDependencies: @@ -16591,6 +16618,7 @@ packages: dependencies: lilconfig: 2.1.0 postcss: 8.4.30 + ts-node: 10.9.1(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2) yaml: 2.3.2 /postcss-loader@7.3.3(postcss@8.4.30)(typescript@5.2.2): @@ -18475,7 +18503,7 @@ packages: tailwindcss: '*' dependencies: tailwind-merge: 1.14.0 - tailwindcss: 3.3.3 + tailwindcss: 3.3.3(ts-node@10.9.1) dev: false /tailwindcss-animate@1.0.7(tailwindcss@3.3.3): @@ -18483,7 +18511,7 @@ packages: peerDependencies: tailwindcss: '>=3.0.0 || insiders' dependencies: - tailwindcss: 3.3.3 + tailwindcss: 3.3.3(ts-node@10.9.1) /tailwindcss-radix@2.8.0: resolution: {integrity: sha512-1k1UfoIYgVyBl13FKwwoKavjnJ5VEaUClCTAsgz3VLquN4ay/lyaMPzkbqD71sACDs2fRGImytAUlMb4TzOt1A==} @@ -18497,10 +18525,10 @@ packages: just-unique: 4.2.0 lodash.merge: 4.6.2 lodash.mergewith: 4.6.2 - tailwindcss: 3.3.3 + tailwindcss: 3.3.3(ts-node@10.9.1) dev: false - /tailwindcss@3.3.3: + /tailwindcss@3.3.3(ts-node@10.9.1): resolution: {integrity: sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==} engines: {node: '>=14.0.0'} hasBin: true @@ -18522,7 +18550,7 @@ packages: postcss: 8.4.30 postcss-import: 15.1.0(postcss@8.4.30) postcss-js: 4.0.1(postcss@8.4.30) - postcss-load-config: 4.0.1(postcss@8.4.30) + postcss-load-config: 4.0.1(postcss@8.4.30)(ts-node@10.9.1) postcss-nested: 6.0.1(postcss@8.4.30) postcss-selector-parser: 6.0.13 resolve: 1.22.6 @@ -18815,6 +18843,37 @@ packages: resolution: {integrity: sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==} dev: true + /ts-node@10.9.1(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2): + resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@swc/core': 1.3.89 + '@tsconfig/node10': 1.0.9 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 20.7.0 + acorn: 8.10.0 + acorn-walk: 8.2.0 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.2.2 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + /ts-pnp@1.2.0(typescript@5.2.2): resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==} engines: {node: '>=6'} @@ -18879,7 +18938,7 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsup@7.2.0(@swc/core@1.3.89)(typescript@5.2.2): + /tsup@7.2.0(@swc/core@1.3.89)(ts-node@10.9.1)(typescript@5.2.2): resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==} engines: {node: '>=16.14'} hasBin: true @@ -18904,7 +18963,7 @@ packages: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 4.0.1(postcss@8.4.30) + postcss-load-config: 4.0.1(postcss@8.4.30)(ts-node@10.9.1) resolve-from: 5.0.0 rollup: 3.29.2 source-map: 0.8.0-beta.0 @@ -19369,6 +19428,9 @@ packages: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true + /v8-compile-cache-lib@3.0.1: + resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} + /v8-to-istanbul@9.1.0: resolution: {integrity: sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==} engines: {node: '>=10.12.0'} @@ -19908,6 +19970,10 @@ packages: fd-slicer: 1.1.0 dev: true + /yn@3.1.1: + resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} + engines: {node: '>=6'} + /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} From 81f39d11ddd22b94e3fd5bc7578c02d7b7196a8d Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 15:52:08 -0300 Subject: [PATCH 04/13] fix: vercel env --- packages/app/src/systems/Core/utils/client.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/app/src/systems/Core/utils/client.ts b/packages/app/src/systems/Core/utils/client.ts index b9d616424..dfd39cc93 100644 --- a/packages/app/src/systems/Core/utils/client.ts +++ b/packages/app/src/systems/Core/utils/client.ts @@ -3,10 +3,9 @@ import { resolve } from 'url'; import { getSdk } from '~/graphql/generated/types'; const VERCEL_URL = process.env.VERCEL_URL; -const API_URL = - process.env.NODE_ENV === 'production' - ? resolve(VERCEL_URL!, '/api/graphql') - : 'http://localhost:3000/api/graphql'; +const API_URL = process.env.VERCEL_URL + ? resolve(VERCEL_URL!, '/api/graphql') + : 'http://localhost:3000/api/graphql'; const graphql = new GraphQLClient(API_URL); export const client = getSdk(graphql); From d0061ecf4fa6b3ec60eb9a3558d99958cbf7ff6f Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 16:04:50 -0300 Subject: [PATCH 05/13] fix: vercel env --- packages/app/src/systems/Core/utils/client.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/app/src/systems/Core/utils/client.ts b/packages/app/src/systems/Core/utils/client.ts index dfd39cc93..212abfb71 100644 --- a/packages/app/src/systems/Core/utils/client.ts +++ b/packages/app/src/systems/Core/utils/client.ts @@ -2,10 +2,11 @@ import { GraphQLClient } from 'graphql-request'; import { resolve } from 'url'; import { getSdk } from '~/graphql/generated/types'; -const VERCEL_URL = process.env.VERCEL_URL; -const API_URL = process.env.VERCEL_URL - ? resolve(VERCEL_URL!, '/api/graphql') - : 'http://localhost:3000/api/graphql'; +const getBaseUrl = () => { + if (process.env.VERCEL_ENV) return `https://${process.env.VERCEL_URL}`; + return 'http://localhost:3000'; +}; +const API_URL = resolve(getBaseUrl(), '/api/graphql'); const graphql = new GraphQLClient(API_URL); export const client = getSdk(graphql); From efe3dd47131430188c66910a050cadb5e7c863f7 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 16:07:20 -0300 Subject: [PATCH 06/13] fix: vercel env --- packages/app/src/systems/Core/utils/client.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/app/src/systems/Core/utils/client.ts b/packages/app/src/systems/Core/utils/client.ts index 212abfb71..24392b87b 100644 --- a/packages/app/src/systems/Core/utils/client.ts +++ b/packages/app/src/systems/Core/utils/client.ts @@ -2,8 +2,12 @@ import { GraphQLClient } from 'graphql-request'; import { resolve } from 'url'; import { getSdk } from '~/graphql/generated/types'; +const VERCEL_URL = process.env.VERCEL_URL || process.env.NEXT_PUBLIC_VERCEL_URL; +const VERCEL_ENV = + process.env.VERCEL_ENV || process.env.NEXT_PUBLIC_VERCEL_ENV || 'development'; + const getBaseUrl = () => { - if (process.env.VERCEL_ENV) return `https://${process.env.VERCEL_URL}`; + if (VERCEL_ENV !== 'development') return `https://${VERCEL_URL}`; return 'http://localhost:3000'; }; From 2b263f99ff0a92856bb23fc7b159c763e7bcd8bf Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 21:37:40 -0300 Subject: [PATCH 07/13] chore: add graphql as package --- packages/app/next.config.mjs | 12 +- packages/app/package.json | 21 +- packages/app/src/pages/api/graphql.ts | 2 +- packages/app/src/systems/Core/utils/client.ts | 2 +- packages/app/src/systems/Transaction/types.ts | 2 +- packages/app/tsconfig.json | 2 +- packages/graphql/.babelrc | 4 + packages/graphql/.env.example | 1 + packages/graphql/.gitignore | 1 + packages/graphql/README.md | 9 + packages/{app => graphql}/codegen.schema.ts | 4 +- packages/{app => graphql}/codegen.ts | 8 +- packages/graphql/package.json | 67 ++ .../scripts/fix-generated.mjs | 4 +- packages/graphql/src/bin.ts | 9 + .../src/graphql => graphql/src}/graphql.d.ts | 0 .../src/graphql/schemas/fullschema.graphql | 11 + packages/graphql/src/index.ts | 3 + .../src}/queries/last-tx.graphql | 0 .../src/graphql => graphql/src}/schema.ts | 22 +- .../graphql/src/schemas/fullschema.graphql | 805 ++++++++++++++++++ packages/graphql/src/server.ts | 29 + .../extender/delegators/QueryAccounts.ts | 3 +- .../extender/delegators/QueryTokens.ts | 3 +- .../src}/services/extender/extender.graphql | 0 .../src}/services/extender/index.ts | 0 .../extender/resolvers/Transaction.ts | 3 +- .../resolvers/TransactionConnection.ts | 2 +- .../src}/services/extender/resolvers/index.ts | 0 .../src}/services/metadata/custom.graphql | 0 .../src}/services/metadata/data/accounts.json | 0 .../src}/services/metadata/data/tokens.json | 0 .../src}/services/metadata/index.ts | 0 .../resolvers/Account/QueryAccounts.ts | 0 .../metadata/resolvers/Token/QueryTokens.ts | 0 .../src}/services/metadata/resolvers/index.ts | 0 .../src}/services/metadata/schema.ts | 0 .../graphql => graphql/src}/utils/dayjs.ts | 0 .../src}/utils/getFieldsValues.ts | 0 .../src}/utils/graphqlFetch.ts | 0 .../graphql => graphql/src}/utils/index.ts | 0 packages/graphql/src/utils/requireEnv.ts | 15 + packages/graphql/tsconfig.build.json | 11 + packages/graphql/tsconfig.json | 9 + pnpm-lock.yaml | 472 ++++++---- 45 files changed, 1350 insertions(+), 186 deletions(-) create mode 100644 packages/graphql/.babelrc create mode 100644 packages/graphql/.env.example create mode 100644 packages/graphql/.gitignore create mode 100644 packages/graphql/README.md rename packages/{app => graphql}/codegen.schema.ts (70%) rename packages/{app => graphql}/codegen.ts (78%) create mode 100644 packages/graphql/package.json rename packages/{app => graphql}/scripts/fix-generated.mjs (83%) create mode 100644 packages/graphql/src/bin.ts rename packages/{app/src/graphql => graphql/src}/graphql.d.ts (100%) rename packages/{app => graphql}/src/graphql/schemas/fullschema.graphql (99%) create mode 100644 packages/graphql/src/index.ts rename packages/{app/src/graphql => graphql/src}/queries/last-tx.graphql (100%) rename packages/{app/src/graphql => graphql/src}/schema.ts (57%) create mode 100644 packages/graphql/src/schemas/fullschema.graphql create mode 100644 packages/graphql/src/server.ts rename packages/{app/src/graphql => graphql/src}/services/extender/delegators/QueryAccounts.ts (89%) rename packages/{app/src/graphql => graphql/src}/services/extender/delegators/QueryTokens.ts (88%) rename packages/{app/src/graphql => graphql/src}/services/extender/extender.graphql (100%) rename packages/{app/src/graphql => graphql/src}/services/extender/index.ts (100%) rename packages/{app/src/graphql => graphql/src}/services/extender/resolvers/Transaction.ts (97%) rename packages/{app/src/graphql => graphql/src}/services/extender/resolvers/TransactionConnection.ts (92%) rename packages/{app/src/graphql => graphql/src}/services/extender/resolvers/index.ts (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/custom.graphql (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/data/accounts.json (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/data/tokens.json (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/index.ts (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/resolvers/Account/QueryAccounts.ts (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/resolvers/Token/QueryTokens.ts (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/resolvers/index.ts (100%) rename packages/{app/src/graphql => graphql/src}/services/metadata/schema.ts (100%) rename packages/{app/src/graphql => graphql/src}/utils/dayjs.ts (100%) rename packages/{app/src/graphql => graphql/src}/utils/getFieldsValues.ts (100%) rename packages/{app/src/graphql => graphql/src}/utils/graphqlFetch.ts (100%) rename packages/{app/src/graphql => graphql/src}/utils/index.ts (100%) create mode 100644 packages/graphql/src/utils/requireEnv.ts create mode 100644 packages/graphql/tsconfig.build.json create mode 100644 packages/graphql/tsconfig.json diff --git a/packages/app/next.config.mjs b/packages/app/next.config.mjs index fd93de56c..27f06f715 100644 --- a/packages/app/next.config.mjs +++ b/packages/app/next.config.mjs @@ -2,10 +2,20 @@ const config = { reactStrictMode: true, swcMinify: true, + transpilePackages: ['@fuel-explorer/graphql'], experimental: { externalDir: true, - serverComponentsExternalPackages: ['bcryptjs'], + serverComponentsExternalPackages: [ + 'bcryptjs', + '@graphql-tools/delegate', + '@graphql-tools/load', + '@graphql-tools/schema', + '@graphql-tools/stitch', + '@graphql-tools/url-loader', + '@graphql-tools/utils', + ], serverActions: true, + esmExternals: true, }, /** We run eslint as a separate task in CI */ eslint: { diff --git a/packages/app/package.json b/packages/app/package.json index fabc445b1..4af127914 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -10,24 +10,15 @@ "dev:storybook": "storybook dev -p 6007", "start": "next start", "test": "jest --verbose --passWithNoTests", - "ts:check": "tsc --noEmit", - "codegen": "gql-gen --config codegen.ts", - "codegen:schema": "gql-gen --config codegen.schema.ts", - "fix:generated": "node ./scripts/fix-generated.mjs", - "prepare": "pnpm codegen" + "ts:check": "tsc --noEmit" }, "dependencies": { "@fontsource-variable/inter": "5.0.8", + "@fuel-explorer/graphql": "workspace:*", "@fuel-ts/math": "0.59.0", "@fuel-wallet/sdk": "0.13.0", "@fuels/assets": "0.0.11", "@fuels/ui": "workspace:*", - "@graphql-tools/delegate": "^10.0.3", - "@graphql-tools/load": "^8.0.0", - "@graphql-tools/schema": "^10.0.0", - "@graphql-tools/stitch": "^9.0.3", - "@graphql-tools/url-loader": "^8.0.0", - "@graphql-tools/utils": "^10.0.6", "@tabler/icons-react": "2.35.0", "@tanstack/react-query": "4.35.3", "clsx": "2.0.0", @@ -50,12 +41,6 @@ }, "devDependencies": { "@babel/core": "^7.23.0", - "@graphql-codegen/cli": "5.0.0", - "@graphql-codegen/introspection": "4.0.0", - "@graphql-codegen/schema-ast": "4.0.0", - "@graphql-codegen/typescript": "4.0.1", - "@graphql-codegen/typescript-graphql-request": "6.0.0", - "@graphql-codegen/typescript-operations": "4.0.1", "@storybook/addon-a11y": "^7.4.5", "@storybook/addon-actions": "^7.4.5", "@storybook/addon-essentials": "^7.4.5", @@ -75,8 +60,6 @@ "@types/react-dom": "^18.2.7", "@xstate/cli": "^0.5.2", "autoprefixer": "10.4.16", - "graphql-codegen-typescript-common": "0.18.2", - "graphql-codegen-typescript-mock-data": "3.5.0", "postcss": "8.4.30", "postcss-import": "15.1.0", "radix-ui-themes-with-tailwind": "1.2.6", diff --git a/packages/app/src/pages/api/graphql.ts b/packages/app/src/pages/api/graphql.ts index 918086604..70c256a05 100644 --- a/packages/app/src/pages/api/graphql.ts +++ b/packages/app/src/pages/api/graphql.ts @@ -1,5 +1,5 @@ +import { createSchema } from '@fuel-explorer/graphql'; import { createYoga } from 'graphql-yoga'; -import { createSchema } from '~/graphql/schema'; export const config = { api: { diff --git a/packages/app/src/systems/Core/utils/client.ts b/packages/app/src/systems/Core/utils/client.ts index 24392b87b..51193aa26 100644 --- a/packages/app/src/systems/Core/utils/client.ts +++ b/packages/app/src/systems/Core/utils/client.ts @@ -1,6 +1,6 @@ +import { getSdk } from '@fuel-explorer/graphql'; import { GraphQLClient } from 'graphql-request'; import { resolve } from 'url'; -import { getSdk } from '~/graphql/generated/types'; const VERCEL_URL = process.env.VERCEL_URL || process.env.NEXT_PUBLIC_VERCEL_URL; const VERCEL_ENV = diff --git a/packages/app/src/systems/Transaction/types.ts b/packages/app/src/systems/Transaction/types.ts index 821c2184f..5cc04fb47 100644 --- a/packages/app/src/systems/Transaction/types.ts +++ b/packages/app/src/systems/Transaction/types.ts @@ -1,4 +1,4 @@ -import type { TransactionItemFragment } from '~/graphql/generated/types'; +import type { TransactionItemFragment } from '@fuel-explorer/graphql'; export enum TxTypeEnum { ContractCall = 'ContractCall', diff --git a/packages/app/tsconfig.json b/packages/app/tsconfig.json index a2c17fa2f..54fb64e65 100644 --- a/packages/app/tsconfig.json +++ b/packages/app/tsconfig.json @@ -27,7 +27,7 @@ "include": [ "next-env.d.ts", ".next/types/**/*.ts", - "./src/graphql/generated", + "./src/generated", "src", ".storybook", "*.config.*" diff --git a/packages/graphql/.babelrc b/packages/graphql/.babelrc new file mode 100644 index 000000000..d8cf9c8f5 --- /dev/null +++ b/packages/graphql/.babelrc @@ -0,0 +1,4 @@ +{ + "presets": ["@babel/preset-env", "@babel/preset-typescript"], + "plugins": ["import-graphql"] +} diff --git a/packages/graphql/.env.example b/packages/graphql/.env.example new file mode 100644 index 000000000..d35912e92 --- /dev/null +++ b/packages/graphql/.env.example @@ -0,0 +1 @@ +FUEL_PROVIDER_URL=http://beta-4.fuel.network/graphql diff --git a/packages/graphql/.gitignore b/packages/graphql/.gitignore new file mode 100644 index 000000000..c83f90a2b --- /dev/null +++ b/packages/graphql/.gitignore @@ -0,0 +1 @@ +src/generated diff --git a/packages/graphql/README.md b/packages/graphql/README.md new file mode 100644 index 000000000..536ea4e92 --- /dev/null +++ b/packages/graphql/README.md @@ -0,0 +1,9 @@ +## Mock API + +This is a mock api for block-explorer + +## Run development server + +```sh +pnpm dev +``` diff --git a/packages/app/codegen.schema.ts b/packages/graphql/codegen.schema.ts similarity index 70% rename from packages/app/codegen.schema.ts rename to packages/graphql/codegen.schema.ts index c74f4b141..ee67f3970 100644 --- a/packages/app/codegen.schema.ts +++ b/packages/graphql/codegen.schema.ts @@ -1,9 +1,9 @@ import type { CodegenConfig } from '@graphql-codegen/cli'; const config: CodegenConfig = { - schema: 'http://localhost:3000/api/graphql', + schema: 'http://localhost:4444/graphql', generates: { - './src/graphql/schemas/fullschema.graphql': { + './src/schemas/fullschema.graphql': { plugins: ['schema-ast'], config: { includeDirectives: true, diff --git a/packages/app/codegen.ts b/packages/graphql/codegen.ts similarity index 78% rename from packages/app/codegen.ts rename to packages/graphql/codegen.ts index 39b956594..1d53c27c6 100644 --- a/packages/app/codegen.ts +++ b/packages/graphql/codegen.ts @@ -2,10 +2,10 @@ import type { CodegenConfig } from '@graphql-codegen/cli'; const config: CodegenConfig = { overwrite: true, - schema: './src/graphql/schemas/fullschema.graphql', - documents: ['./src/graphql/queries/**.graphql'], + schema: './src/schemas/fullschema.graphql', + documents: ['./src/queries/**.graphql'], generates: { - 'src/graphql/generated/types.ts': { + 'src/generated/types.ts': { plugins: [ 'typescript', 'typescript-operations', @@ -17,7 +17,7 @@ const config: CodegenConfig = { useTypeImports: true, }, }, - 'src/graphql/generated/mocks.ts': { + 'src/generated/mocks.ts': { plugins: ['typescript-mock-data'], config: { addTypename: true, diff --git a/packages/graphql/package.json b/packages/graphql/package.json new file mode 100644 index 000000000..412c45f30 --- /dev/null +++ b/packages/graphql/package.json @@ -0,0 +1,67 @@ +{ + "name": "@fuel-explorer/graphql", + "version": "1.0.0", + "description": "", + "private": true, + "author": "Fuel Labs (https://fuel.network/)", + "license": "Apache-2.0", + "main": "./src/index.ts", + "types": "./src/index.ts", + "typings": "./src/index.ts", + "scripts": { + "build": "run-s codegen build:*", + "build:lib": "babel ./src --out-dir dist --extensions .ts --source-maps", + "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json", + "dev": "node -r babel-register-ts src/bin.ts", + "start": "pnpm dev", + "codegen": "gql-gen --config codegen.ts", + "codegen:schema": "gql-gen --config codegen.schema.ts", + "fix:generated": "node ./scripts/fix-generated.mjs", + "prepare": "pnpm build" + }, + "dependencies": { + "@fuel-ts/math": "0.59.0", + "@graphql-tools/delegate": "^10.0.3", + "@graphql-tools/load": "^8.0.0", + "@graphql-tools/schema": "^10.0.0", + "@graphql-tools/stitch": "^9.0.3", + "@graphql-tools/url-loader": "^8.0.0", + "@graphql-tools/utils": "^10.0.6", + "cors": "^2.8.5", + "dayjs": "1.11.10", + "dotenv": "16.3.1", + "express": "^4.18.2", + "graphql": "^16.8.1", + "graphql-http": "^1.22.0", + "graphql-playground-middleware-express": "^1.7.23", + "graphql-request": "6.1.0", + "graphql-tag": "2.12.6", + "lodash": "^4.17.21", + "tai64": "1.0.0", + "typescript": "^5.2.2" + }, + "devDependencies": { + "@babel/cli": "7.23.0", + "@babel/core": "^7.23.0", + "@babel/preset-env": "7.22.20", + "@babel/preset-typescript": "7.23.0", + "@fuels/ts-config": "^0.0.11", + "@graphql-codegen/cli": "5.0.0", + "@graphql-codegen/introspection": "4.0.0", + "@graphql-codegen/schema-ast": "4.0.0", + "@graphql-codegen/typescript": "4.0.1", + "@graphql-codegen/typescript-graphql-request": "6.0.0", + "@graphql-codegen/typescript-operations": "4.0.1", + "@types/cors": "^2.8.14", + "@types/express": "^4.17.18", + "@types/lodash": "4.14.199", + "@types/node": "^20.7.0", + "babel-plugin-import-graphql": "2.8.1", + "babel-register-ts": "7.0.0", + "graphql-codegen-typescript-common": "0.18.2", + "graphql-codegen-typescript-mock-data": "3.5.0", + "ts-node": "^10.9.1", + "ts-node-dev": "^2.0.0", + "tsconfig-paths": "^4.2.0" + } +} diff --git a/packages/app/scripts/fix-generated.mjs b/packages/graphql/scripts/fix-generated.mjs similarity index 83% rename from packages/app/scripts/fix-generated.mjs rename to packages/graphql/scripts/fix-generated.mjs index becac6a7e..3a8f29b5c 100644 --- a/packages/app/scripts/fix-generated.mjs +++ b/packages/graphql/scripts/fix-generated.mjs @@ -3,8 +3,8 @@ import path from 'node:path'; import * as url from 'url'; const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); -const TYPES_FILE = path.resolve(__dirname, '../src/graphql/generated/types.ts'); -const MOCKS_FILE = path.resolve(__dirname, '../src/graphql/generated/mocks.ts'); +const TYPES_FILE = path.resolve(__dirname, '../src/generated/types.ts'); +const MOCKS_FILE = path.resolve(__dirname, '../src/generated/mocks.ts'); async function types() { let file = await fs.readFile(TYPES_FILE, 'utf-8'); diff --git a/packages/graphql/src/bin.ts b/packages/graphql/src/bin.ts new file mode 100644 index 000000000..f1fc08c74 --- /dev/null +++ b/packages/graphql/src/bin.ts @@ -0,0 +1,9 @@ +import dotenv from 'dotenv'; +dotenv.config(); + +import app from './server'; + +// Start the server: +app.listen(4444, () => + console.log('🚀 Explorer api running at http://localhost:4444/graphql'), +); diff --git a/packages/app/src/graphql/graphql.d.ts b/packages/graphql/src/graphql.d.ts similarity index 100% rename from packages/app/src/graphql/graphql.d.ts rename to packages/graphql/src/graphql.d.ts diff --git a/packages/app/src/graphql/schemas/fullschema.graphql b/packages/graphql/src/graphql/schemas/fullschema.graphql similarity index 99% rename from packages/app/src/graphql/schemas/fullschema.graphql rename to packages/graphql/src/graphql/schemas/fullschema.graphql index 50efeab0f..4650ce6d2 100644 --- a/packages/app/src/graphql/schemas/fullschema.graphql +++ b/packages/graphql/src/graphql/schemas/fullschema.graphql @@ -453,6 +453,16 @@ type MessageProof { sender: Address! } +enum MessageState { + NOT_FOUND + SPENT + UNSPENT +} + +type MessageStatus { + state: MessageState! +} + type Mutation { """ Execute a dry-run of the transaction using a fork of current state, no changes are committed. @@ -574,6 +584,7 @@ type Query { """Returns true when the GraphQL API is serving requests.""" health: Boolean! messageProof(commitBlockHeight: U32, commitBlockId: BlockId, messageId: MessageId!, transactionId: TransactionId!): MessageProof + messageStatus(nonce: Nonce!): MessageStatus! messages( after: String before: String diff --git a/packages/graphql/src/index.ts b/packages/graphql/src/index.ts new file mode 100644 index 000000000..30de94628 --- /dev/null +++ b/packages/graphql/src/index.ts @@ -0,0 +1,3 @@ +export { createSchema } from './schema'; +export * as mocks from './generated/mocks'; +export * from './generated/types'; diff --git a/packages/app/src/graphql/queries/last-tx.graphql b/packages/graphql/src/queries/last-tx.graphql similarity index 100% rename from packages/app/src/graphql/queries/last-tx.graphql rename to packages/graphql/src/queries/last-tx.graphql diff --git a/packages/app/src/graphql/schema.ts b/packages/graphql/src/schema.ts similarity index 57% rename from packages/app/src/graphql/schema.ts rename to packages/graphql/src/schema.ts index d91bb8405..02d8d30b6 100644 --- a/packages/app/src/graphql/schema.ts +++ b/packages/graphql/src/schema.ts @@ -1,12 +1,12 @@ import { loadSchema } from '@graphql-tools/load'; import { stitchSchemas } from '@graphql-tools/stitch'; import { UrlLoader } from '@graphql-tools/url-loader'; -import { - ExtenderResolvers, - ExtenderTypeDefs, -} from '~/graphql/services/extender'; -import { metadataSchema } from '~/graphql/services/metadata/schema'; -import { createGraphqlFetch } from '~/graphql/utils'; +import type { Application } from 'express'; +import { createHandler } from 'graphql-http/lib/use/express'; + +import { ExtenderResolvers, ExtenderTypeDefs } from './services/extender'; +import { metadataSchema } from './services/metadata/schema'; +import { createGraphqlFetch } from './utils'; export async function createSchema(fuelCoreGraphql: string) { return stitchSchemas({ @@ -27,3 +27,13 @@ export async function createSchema(fuelCoreGraphql: string) { resolvers: ExtenderResolvers, }); } + +export async function startGraphql(fuelCoreGraphql: string, app: Application) { + const schema = await createSchema(fuelCoreGraphql); + app.post( + '/graphql', + createHandler({ + schema, + }), + ); +} diff --git a/packages/graphql/src/schemas/fullschema.graphql b/packages/graphql/src/schemas/fullschema.graphql new file mode 100644 index 000000000..4650ce6d2 --- /dev/null +++ b/packages/graphql/src/schemas/fullschema.graphql @@ -0,0 +1,805 @@ +schema { + query: Query + mutation: Mutation + subscription: Subscription +} + +type Account { + address: String! + name: String! + url: String +} + +scalar Address + +scalar AssetId + +type Balance { + amount: U64! + assetId: AssetId! + owner: Address! +} + +type BalanceConnection { + """A list of edges.""" + edges: [BalanceEdge!]! + """A list of nodes.""" + nodes: [Balance!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type BalanceEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Balance! +} + +input BalanceFilterInput { + """Filter coins based on the `owner` field""" + owner: Address! +} + +type Block { + consensus: Consensus! + header: Header! + id: BlockId! + transactions: [Transaction!]! +} + +type BlockConnection { + """A list of edges.""" + edges: [BlockEdge!]! + """A list of nodes.""" + nodes: [Block!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type BlockEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Block! +} + +scalar BlockId + +scalar Bytes32 + +type ChainInfo { + baseChainHeight: U32! + consensusParameters: ConsensusParameters! + gasCosts: GasCosts! + latestBlock: Block! + name: String! + peerCount: Int! +} + +type ChangeOutput { + amount: U64! + assetId: AssetId! + to: Address! +} + +type Coin { + amount: U64! + assetId: AssetId! + """TxPointer - the height of the block this coin was created in""" + blockCreated: U32! + maturity: U32! + owner: Address! + """TxPointer - the index of the transaction that created this coin""" + txCreatedIdx: U64! + utxoId: UtxoId! +} + +type CoinConnection { + """A list of edges.""" + edges: [CoinEdge!]! + """A list of nodes.""" + nodes: [Coin!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type CoinEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Coin! +} + +input CoinFilterInput { + """Returns coins only with `asset_id`.""" + assetId: AssetId + """Returns coins owned by the `owner`.""" + owner: Address! +} + +type CoinOutput { + amount: U64! + assetId: AssetId! + to: Address! +} + +"""The schema analog of the [`coins::CoinType`].""" +union CoinType = Coin | MessageCoin + +union Consensus = Genesis | PoAConsensus + +type ConsensusParameters { + chainId: U64! + contractMaxSize: U64! + gasPerByte: U64! + gasPriceFactor: U64! + maxGasPerPredicate: U64! + maxGasPerTx: U64! + maxInputs: U64! + maxMessageDataLength: U64! + maxOutputs: U64! + maxPredicateDataLength: U64! + maxPredicateLength: U64! + maxScriptDataLength: U64! + maxScriptLength: U64! + maxStorageSlots: U64! + maxWitnesses: U64! +} + +type Contract { + bytecode: HexString! + id: ContractId! + salt: Salt! +} + +type ContractBalance { + amount: U64! + assetId: AssetId! + contract: ContractId! +} + +type ContractBalanceConnection { + """A list of edges.""" + edges: [ContractBalanceEdge!]! + """A list of nodes.""" + nodes: [ContractBalance!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type ContractBalanceEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: ContractBalance! +} + +input ContractBalanceFilterInput { + """Filter assets based on the `contractId` field""" + contract: ContractId! +} + +type ContractCreated { + contract: Contract! + stateRoot: Bytes32! +} + +scalar ContractId + +type ContractOutput { + balanceRoot: Bytes32! + inputIndex: Int! + stateRoot: Bytes32! +} + +type DependentCost { + base: U64! + depPerUnit: U64! +} + +input ExcludeInput { + """Messages to exclude from the selection.""" + messages: [Nonce!]! + """Utxos to exclude from the selection.""" + utxos: [UtxoId!]! +} + +type FailureStatus { + block: Block! + programState: ProgramState + reason: String! + time: Tai64Timestamp! +} + +type GasCosts { + add: U64! + addi: U64! + aloc: U64! + and: U64! + andi: U64! + bal: U64! + bhei: U64! + bhsh: U64! + burn: U64! + call: DependentCost! + cb: U64! + ccp: DependentCost! + cfei: U64! + cfsi: U64! + croo: U64! + csiz: DependentCost! + div: U64! + divi: U64! + eck1: U64! + ecr1: U64! + ed19: U64! + eq: U64! + exp: U64! + expi: U64! + flag: U64! + gm: U64! + gt: U64! + gtf: U64! + ji: U64! + jmp: U64! + jmpb: U64! + jmpf: U64! + jne: U64! + jneb: U64! + jnef: U64! + jnei: U64! + jnzb: U64! + jnzf: U64! + jnzi: U64! + k256: U64! + lb: U64! + ldc: DependentCost! + log: U64! + logd: DependentCost! + lt: U64! + lw: U64! + mcl: DependentCost! + mcli: DependentCost! + mcp: DependentCost! + mcpi: U64! + meq: DependentCost! + mint: U64! + mldv: U64! + mlog: U64! + modOp: U64! + modi: U64! + moveOp: U64! + movi: U64! + mroo: U64! + mul: U64! + muli: U64! + noop: U64! + not: U64! + or: U64! + ori: U64! + ret: U64! + retd: DependentCost! + rvrt: U64! + s256: U64! + sb: U64! + scwq: U64! + sll: U64! + slli: U64! + smo: DependentCost! + srl: U64! + srli: U64! + srw: U64! + srwq: DependentCost! + sub: U64! + subi: U64! + sw: U64! + sww: U64! + swwq: U64! + time: U64! + tr: U64! + tro: U64! + wdam: U64! + wdcm: U64! + wddv: U64! + wdmd: U64! + wdml: U64! + wdmm: U64! + wdop: U64! + wqam: U64! + wqcm: U64! + wqdv: U64! + wqmd: U64! + wqml: U64! + wqmm: U64! + wqop: U64! + xor: U64! + xori: U64! +} + +type Genesis { + """ + The chain configs define what consensus type to use, what settlement layer to use, + rules of block validity, etc. + """ + chainConfigHash: Bytes32! + """The Binary Merkle Tree root of all genesis coins.""" + coinsRoot: Bytes32! + """ + The Binary Merkle Tree root of state, balances, contracts code hash of each contract. + """ + contractsRoot: Bytes32! + """The Binary Merkle Tree root of all genesis messages.""" + messagesRoot: Bytes32! +} + +type Header { + """Hash of the application header.""" + applicationHash: Bytes32! + """ + The layer 1 height of messages and events to include since the last layer 1 block number. + """ + daHeight: U64! + """Fuel block height.""" + height: U32! + """Hash of the header""" + id: BlockId! + """Number of message receipts in this block.""" + messageReceiptCount: U64! + """Merkle root of message receipts in this block.""" + messageReceiptRoot: Bytes32! + """Merkle root of all previous block header hashes.""" + prevRoot: Bytes32! + """The block producer time.""" + time: Tai64Timestamp! + """Number of transactions in this block.""" + transactionsCount: U64! + """Merkle root of transactions.""" + transactionsRoot: Bytes32! +} + +scalar HexString + +union Input = InputCoin | InputContract | InputMessage + +type InputCoin { + amount: U64! + assetId: AssetId! + maturity: U32! + owner: Address! + predicate: HexString! + predicateData: HexString! + predicateGasUsed: U64! + txPointer: TxPointer! + utxoId: UtxoId! + witnessIndex: Int! +} + +type InputContract { + balanceRoot: Bytes32! + contract: Contract! + stateRoot: Bytes32! + txPointer: TxPointer! + utxoId: UtxoId! +} + +type InputMessage { + amount: U64! + data: HexString! + nonce: Nonce! + predicate: HexString! + predicateData: HexString! + predicateGasUsed: U64! + recipient: Address! + sender: Address! + witnessIndex: Int! +} + +type MerkleProof { + proofIndex: U64! + proofSet: [Bytes32!]! +} + +type Message { + amount: U64! + daHeight: U64! + data: HexString! + nonce: Nonce! + recipient: Address! + sender: Address! +} + +type MessageCoin { + amount: U64! + assetId: AssetId! + daHeight: U64! + nonce: Nonce! + recipient: Address! + sender: Address! +} + +type MessageConnection { + """A list of edges.""" + edges: [MessageEdge!]! + """A list of nodes.""" + nodes: [Message!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! +} + +"""An edge in a connection.""" +type MessageEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Message! +} + +scalar MessageId + +type MessageProof { + amount: U64! + blockProof: MerkleProof! + commitBlockHeader: Header! + data: HexString! + messageBlockHeader: Header! + messageProof: MerkleProof! + nonce: Nonce! + recipient: Address! + sender: Address! +} + +enum MessageState { + NOT_FOUND + SPENT + UNSPENT +} + +type MessageStatus { + state: MessageState! +} + +type Mutation { + """ + Execute a dry-run of the transaction using a fork of current state, no changes are committed. + """ + dryRun(tx: HexString!, utxoValidation: Boolean): [Receipt!]! + """ + Sequentially produces `blocks_to_produce` blocks. The first block starts with + `start_timestamp`. If the block production in the [`crate::service::Config`] is + `Trigger::Interval { block_time }`, produces blocks with `block_time ` intervals between + them. The `start_timestamp` is the timestamp in seconds. + """ + produceBlocks(blocksToProduce: U64!, startTimestamp: Tai64Timestamp): U32! + """ + Submits transaction to the `TxPool`. + + Returns submitted transaction if the transaction is included in the `TxPool` without problems. + """ + submit(tx: HexString!): Transaction! +} + +type NodeInfo { + maxDepth: U64! + maxTx: U64! + minGasPrice: U64! + nodeVersion: String! + utxoValidation: Boolean! + vmBacktrace: Boolean! +} + +scalar Nonce + +union Output = ChangeOutput | CoinOutput | ContractCreated | ContractOutput | VariableOutput + +"""Information about pagination in a connection""" +type PageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +type ParsedTime { + fromNow: String + full: String + rawTai64: String + rawUnix: String +} + +type PoAConsensus { + """Gets the signature of the block produced by `PoA` consensus.""" + signature: Signature! +} + +type ProgramState { + data: HexString! + returnType: ReturnType! +} + +type Query { + accounts(addresses: [String]!): [Account!]! + balance( + """asset_id of the coin""" + assetId: AssetId! + """address of the owner""" + owner: Address! + ): Balance! + balances(after: String, before: String, filter: BalanceFilterInput!, first: Int, last: Int): BalanceConnection! + block( + """Height of the block""" + height: U64 + """ID of the block""" + id: BlockId + ): Block + blocks(after: String, before: String, first: Int, last: Int): BlockConnection! + chain: ChainInfo! + """Gets the coin by `utxo_id`.""" + coin( + """The ID of the coin""" + utxoId: UtxoId! + ): Coin + """ + Gets all unspent coins of some `owner` maybe filtered with by `asset_id` per page. + """ + coins(after: String, before: String, filter: CoinFilterInput!, first: Int, last: Int): CoinConnection! + """ + For each `query_per_asset`, get some spendable coins(of asset specified by the query) owned by + `owner` that add up at least the query amount. The returned coins can be spent. + The number of coins is optimized to prevent dust accumulation. + + The query supports excluding and maximum the number of coins. + + Returns: + The list of spendable coins per asset from the query. The length of the result is + the same as the length of `query_per_asset`. The ordering of assets and `query_per_asset` + is the same. + """ + coinsToSpend( + """The excluded coins from the selection.""" + excludedIds: ExcludeInput + """The `Address` of the coins owner.""" + owner: Address! + """ + The list of requested assets` coins with asset ids, `target` amount the user wants to reach, and the `max` number of coins in the selection. Several entries with the same asset id are not allowed. + """ + queryPerAsset: [SpendQueryElementInput!]! + ): [[CoinType!]!]! + contract( + """ID of the Contract""" + id: ContractId! + ): Contract + contractBalance(asset: AssetId!, contract: ContractId!): ContractBalance! + contractBalances(after: String, before: String, filter: ContractBalanceFilterInput!, first: Int, last: Int): ContractBalanceConnection! + """Estimate the predicate gas for the provided transaction""" + estimatePredicates(tx: HexString!): Transaction! + """Returns true when the GraphQL API is serving requests.""" + health: Boolean! + messageProof(commitBlockHeight: U32, commitBlockId: BlockId, messageId: MessageId!, transactionId: TransactionId!): MessageProof + messageStatus(nonce: Nonce!): MessageStatus! + messages( + after: String + before: String + first: Int + last: Int + """address of the owner""" + owner: Address + ): MessageConnection! + nodeInfo: NodeInfo! + tokens(assetsId: [String]!): [Token!]! + transaction( + """The ID of the transaction""" + id: TransactionId! + ): Transaction + transactions(after: String, before: String, first: Int, last: Int): TransactionConnection! + transactionsByOwner(after: String, before: String, first: Int, last: Int, owner: Address!): TransactionConnection! +} + +type Receipt { + amount: U64 + assetId: AssetId + contract: Contract + contractId: ContractId + data: HexString + digest: Bytes32 + gas: U64 + gasUsed: U64 + is: U64 + len: U64 + nonce: Nonce + param1: U64 + param2: U64 + pc: U64 + ptr: U64 + ra: U64 + rb: U64 + rc: U64 + rd: U64 + reason: U64 + receiptType: ReceiptType! + recipient: Address + result: U64 + sender: Address + subId: Bytes32 + to: Contract + toAddress: Address + val: U64 +} + +enum ReceiptType { + BURN + CALL + LOG + LOG_DATA + MESSAGE_OUT + MINT + PANIC + RETURN + RETURN_DATA + REVERT + SCRIPT_RESULT + TRANSFER + TRANSFER_OUT +} + +enum ReturnType { + RETURN + RETURN_DATA + REVERT +} + +scalar Salt + +scalar Signature + +input SpendQueryElementInput { + """Target amount for the query.""" + amount: U64! + """Identifier of the asset to spend.""" + assetId: AssetId! + """The maximum number of currencies for selection.""" + max: U64 +} + +type SqueezedOutStatus { + reason: String! +} + +type SubmittedStatus { + time: Tai64Timestamp! +} + +type Subscription { + """ + Returns a stream of status updates for the given transaction id. + If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`] + or [`TransactionStatus::Failed`] the stream will return that and end immediately. + If the current status is [`TransactionStatus::Submitted`] this will be returned + and the stream will wait for a future update. + + This stream will wait forever so it's advised to use within a timeout. + + It is possible for the stream to miss an update if it is polled slower + then the updates arrive. In such a case the stream will close without + a status. If this occurs the stream can simply be restarted to return + the latest status. + """ + statusChange( + """The ID of the transaction""" + id: TransactionId! + ): TransactionStatus! + """ + Submits transaction to the `TxPool` and await either confirmation or failure. + """ + submitAndAwait(tx: HexString!): TransactionStatus! +} + +type SuccessStatus { + block: Block! + programState: ProgramState + time: Tai64Timestamp! +} + +scalar Tai64Timestamp + +type Token { + assetId: String! + decimals: U64! + name: String! + symbol: String! + totalAssets: U64 + totalSupply: U64 + url: String +} + +type Transaction { + blockHeight: String + bytecodeLength: U64 + bytecodeWitnessIndex: Int + gasLimit: U64 + gasPrice: U64 + gasUsed: U64 + id: TransactionId! + inputAssetIds: [AssetId!] + inputContracts: [Contract!] + inputs: [Input!] + isCreate: Boolean! + isMint: Boolean! + isScript: Boolean! + maturity: U32 + outputs: [Output!]! + """Return the transaction bytes using canonical encoding""" + rawPayload: HexString! + receipts: [Receipt!] + receiptsRoot: Bytes32 + salt: Salt + script: HexString + scriptData: HexString + status: TransactionStatus + statusType: TransactionStatusType + storageSlots: [HexString!] + time: ParsedTime + title: TransactionTitle + totalAccounts: Int + totalAssets: Int + totalOperations: Int + txPointer: TxPointer + witnesses: [HexString!] +} + +type TransactionConnection { + accounts: [Account] + """A list of edges.""" + edges: [TransactionEdge!]! + """A list of nodes.""" + nodes: [Transaction!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! + tokens: [Token] +} + +"""An edge in a connection.""" +type TransactionEdge { + """A cursor for use in pagination""" + cursor: String! + """The item at the end of the edge""" + node: Transaction! +} + +scalar TransactionId + +union TransactionStatus = FailureStatus | SqueezedOutStatus | SubmittedStatus | SuccessStatus + +enum TransactionStatusType { + Failure + Submitted + Success +} + +enum TransactionTitle { + Burn + ContractCall + Mint +} + +scalar TxPointer + +scalar U32 + +scalar U64 + +scalar UtxoId + +type VariableOutput { + amount: U64! + assetId: AssetId! + to: Address! +} \ No newline at end of file diff --git a/packages/graphql/src/server.ts b/packages/graphql/src/server.ts new file mode 100644 index 000000000..c2eb00205 --- /dev/null +++ b/packages/graphql/src/server.ts @@ -0,0 +1,29 @@ +import cors from 'cors'; +import express from 'express'; +import expressPlayground from 'graphql-playground-middleware-express'; + +import { startGraphql } from './schema'; +import { requireEnv } from './utils/requireEnv'; + +const { FUEL_PROVIDER_URL } = requireEnv(['FUEL_PROVIDER_URL']); + +// Create a server: +const app = express(); + +app.use(cors()); +app.use(express.json()); + +app.get( + '/graphql', + expressPlayground({ + endpoint: '/graphql', + settings: { + 'schema.polling.enable': false, + }, + }), +); + +// Start graphql server +startGraphql(FUEL_PROVIDER_URL, app); + +export default app; diff --git a/packages/app/src/graphql/services/extender/delegators/QueryAccounts.ts b/packages/graphql/src/services/extender/delegators/QueryAccounts.ts similarity index 89% rename from packages/app/src/graphql/services/extender/delegators/QueryAccounts.ts rename to packages/graphql/src/services/extender/delegators/QueryAccounts.ts index 43c7001d6..5b31db09f 100644 --- a/packages/app/src/graphql/services/extender/delegators/QueryAccounts.ts +++ b/packages/graphql/src/services/extender/delegators/QueryAccounts.ts @@ -2,7 +2,8 @@ import { delegateToSchema } from '@graphql-tools/delegate'; import type { GraphQLResolveInfo } from 'graphql'; import { OperationTypeNode } from 'graphql'; -import { metadataSchema } from '~/graphql/services/metadata'; + +import { metadataSchema } from '../../metadata'; export function delegateQueryAccounts( addresses: Array, diff --git a/packages/app/src/graphql/services/extender/delegators/QueryTokens.ts b/packages/graphql/src/services/extender/delegators/QueryTokens.ts similarity index 88% rename from packages/app/src/graphql/services/extender/delegators/QueryTokens.ts rename to packages/graphql/src/services/extender/delegators/QueryTokens.ts index ef5f656c1..e5b225bad 100644 --- a/packages/app/src/graphql/services/extender/delegators/QueryTokens.ts +++ b/packages/graphql/src/services/extender/delegators/QueryTokens.ts @@ -2,7 +2,8 @@ import { delegateToSchema } from '@graphql-tools/delegate'; import type { GraphQLResolveInfo } from 'graphql'; import { OperationTypeNode } from 'graphql'; -import { metadataSchema } from '~/graphql/services/metadata'; + +import { metadataSchema } from '../../metadata'; export function delegateQueryTokens( assetsId: Array, diff --git a/packages/app/src/graphql/services/extender/extender.graphql b/packages/graphql/src/services/extender/extender.graphql similarity index 100% rename from packages/app/src/graphql/services/extender/extender.graphql rename to packages/graphql/src/services/extender/extender.graphql diff --git a/packages/app/src/graphql/services/extender/index.ts b/packages/graphql/src/services/extender/index.ts similarity index 100% rename from packages/app/src/graphql/services/extender/index.ts rename to packages/graphql/src/services/extender/index.ts diff --git a/packages/app/src/graphql/services/extender/resolvers/Transaction.ts b/packages/graphql/src/services/extender/resolvers/Transaction.ts similarity index 97% rename from packages/app/src/graphql/services/extender/resolvers/Transaction.ts rename to packages/graphql/src/services/extender/resolvers/Transaction.ts index 1c99e65a3..5eaa99b19 100644 --- a/packages/app/src/graphql/services/extender/resolvers/Transaction.ts +++ b/packages/graphql/src/services/extender/resolvers/Transaction.ts @@ -1,6 +1,7 @@ import { bn } from '@fuel-ts/math'; import type { IResolvers } from '@graphql-tools/utils'; -import { tai64toDate } from '~/graphql/utils/dayjs'; + +import { tai64toDate } from '../../../utils/dayjs'; export const Transaction: IResolvers = { title: { diff --git a/packages/app/src/graphql/services/extender/resolvers/TransactionConnection.ts b/packages/graphql/src/services/extender/resolvers/TransactionConnection.ts similarity index 92% rename from packages/app/src/graphql/services/extender/resolvers/TransactionConnection.ts rename to packages/graphql/src/services/extender/resolvers/TransactionConnection.ts index d196b1728..f44c50628 100644 --- a/packages/app/src/graphql/services/extender/resolvers/TransactionConnection.ts +++ b/packages/graphql/src/services/extender/resolvers/TransactionConnection.ts @@ -1,6 +1,6 @@ import type { IResolvers } from '@graphql-tools/utils'; -import { getFieldsValues, removeDuplicates } from '~/graphql/utils'; +import { getFieldsValues, removeDuplicates } from '../../../utils'; import { delegateQueryAccounts } from '../delegators/QueryAccounts'; import { delegateQueryTokens } from '../delegators/QueryTokens'; diff --git a/packages/app/src/graphql/services/extender/resolvers/index.ts b/packages/graphql/src/services/extender/resolvers/index.ts similarity index 100% rename from packages/app/src/graphql/services/extender/resolvers/index.ts rename to packages/graphql/src/services/extender/resolvers/index.ts diff --git a/packages/app/src/graphql/services/metadata/custom.graphql b/packages/graphql/src/services/metadata/custom.graphql similarity index 100% rename from packages/app/src/graphql/services/metadata/custom.graphql rename to packages/graphql/src/services/metadata/custom.graphql diff --git a/packages/app/src/graphql/services/metadata/data/accounts.json b/packages/graphql/src/services/metadata/data/accounts.json similarity index 100% rename from packages/app/src/graphql/services/metadata/data/accounts.json rename to packages/graphql/src/services/metadata/data/accounts.json diff --git a/packages/app/src/graphql/services/metadata/data/tokens.json b/packages/graphql/src/services/metadata/data/tokens.json similarity index 100% rename from packages/app/src/graphql/services/metadata/data/tokens.json rename to packages/graphql/src/services/metadata/data/tokens.json diff --git a/packages/app/src/graphql/services/metadata/index.ts b/packages/graphql/src/services/metadata/index.ts similarity index 100% rename from packages/app/src/graphql/services/metadata/index.ts rename to packages/graphql/src/services/metadata/index.ts diff --git a/packages/app/src/graphql/services/metadata/resolvers/Account/QueryAccounts.ts b/packages/graphql/src/services/metadata/resolvers/Account/QueryAccounts.ts similarity index 100% rename from packages/app/src/graphql/services/metadata/resolvers/Account/QueryAccounts.ts rename to packages/graphql/src/services/metadata/resolvers/Account/QueryAccounts.ts diff --git a/packages/app/src/graphql/services/metadata/resolvers/Token/QueryTokens.ts b/packages/graphql/src/services/metadata/resolvers/Token/QueryTokens.ts similarity index 100% rename from packages/app/src/graphql/services/metadata/resolvers/Token/QueryTokens.ts rename to packages/graphql/src/services/metadata/resolvers/Token/QueryTokens.ts diff --git a/packages/app/src/graphql/services/metadata/resolvers/index.ts b/packages/graphql/src/services/metadata/resolvers/index.ts similarity index 100% rename from packages/app/src/graphql/services/metadata/resolvers/index.ts rename to packages/graphql/src/services/metadata/resolvers/index.ts diff --git a/packages/app/src/graphql/services/metadata/schema.ts b/packages/graphql/src/services/metadata/schema.ts similarity index 100% rename from packages/app/src/graphql/services/metadata/schema.ts rename to packages/graphql/src/services/metadata/schema.ts diff --git a/packages/app/src/graphql/utils/dayjs.ts b/packages/graphql/src/utils/dayjs.ts similarity index 100% rename from packages/app/src/graphql/utils/dayjs.ts rename to packages/graphql/src/utils/dayjs.ts diff --git a/packages/app/src/graphql/utils/getFieldsValues.ts b/packages/graphql/src/utils/getFieldsValues.ts similarity index 100% rename from packages/app/src/graphql/utils/getFieldsValues.ts rename to packages/graphql/src/utils/getFieldsValues.ts diff --git a/packages/app/src/graphql/utils/graphqlFetch.ts b/packages/graphql/src/utils/graphqlFetch.ts similarity index 100% rename from packages/app/src/graphql/utils/graphqlFetch.ts rename to packages/graphql/src/utils/graphqlFetch.ts diff --git a/packages/app/src/graphql/utils/index.ts b/packages/graphql/src/utils/index.ts similarity index 100% rename from packages/app/src/graphql/utils/index.ts rename to packages/graphql/src/utils/index.ts diff --git a/packages/graphql/src/utils/requireEnv.ts b/packages/graphql/src/utils/requireEnv.ts new file mode 100644 index 000000000..8388d9018 --- /dev/null +++ b/packages/graphql/src/utils/requireEnv.ts @@ -0,0 +1,15 @@ +import dotenv from 'dotenv'; +dotenv.config(); + +export function requireEnv< + A extends string[], + B extends { [key in A[number]]: string }, +>(keys: string[]): B { + return keys.reduce((ret, key) => { + if (!process.env[key]) { + throw new Error(`Environment variable ${key} is required`); + } + ret[key] = process.env[key]!; + return ret; + }, {} as B); +} diff --git a/packages/graphql/tsconfig.build.json b/packages/graphql/tsconfig.build.json new file mode 100644 index 000000000..4490e84c8 --- /dev/null +++ b/packages/graphql/tsconfig.build.json @@ -0,0 +1,11 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "declaration": true, + "declarationDir": "dist", + "outDir": "./dist", + "module": "commonjs", + "lib": ["dom", "es6"] + }, + "include": ["src", "*.config.*"] +} diff --git a/packages/graphql/tsconfig.json b/packages/graphql/tsconfig.json new file mode 100644 index 000000000..eeea6dfbc --- /dev/null +++ b/packages/graphql/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./dist", + "module": "commonjs", + "lib": ["dom", "es6"] + }, + "include": ["src", "*.config.*"] +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index db5c73a4c..505d24fe8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -133,6 +133,9 @@ importers: '@fontsource-variable/inter': specifier: 5.0.8 version: 5.0.8 + '@fuel-explorer/graphql': + specifier: workspace:* + version: link:../graphql '@fuel-ts/math': specifier: 0.59.0 version: 0.59.0 @@ -145,24 +148,6 @@ importers: '@fuels/ui': specifier: workspace:* version: link:../ui - '@graphql-tools/delegate': - specifier: ^10.0.3 - version: 10.0.3(graphql@16.8.1) - '@graphql-tools/load': - specifier: ^8.0.0 - version: 8.0.0(graphql@16.8.1) - '@graphql-tools/schema': - specifier: ^10.0.0 - version: 10.0.0(graphql@16.8.1) - '@graphql-tools/stitch': - specifier: ^9.0.3 - version: 9.0.3(graphql@16.8.1) - '@graphql-tools/url-loader': - specifier: ^8.0.0 - version: 8.0.0(@types/node@20.7.0)(graphql@16.8.1) - '@graphql-tools/utils': - specifier: ^10.0.6 - version: 10.0.6(graphql@16.8.1) '@tabler/icons-react': specifier: 2.35.0 version: 2.35.0(react@18.2.0) @@ -224,24 +209,6 @@ importers: '@babel/core': specifier: ^7.23.0 version: 7.23.0 - '@graphql-codegen/cli': - specifier: 5.0.0 - version: 5.0.0(@types/node@20.7.0)(graphql@16.8.1)(typescript@5.2.2) - '@graphql-codegen/introspection': - specifier: 4.0.0 - version: 4.0.0(graphql@16.8.1) - '@graphql-codegen/schema-ast': - specifier: 4.0.0 - version: 4.0.0(graphql@16.8.1) - '@graphql-codegen/typescript': - specifier: 4.0.1 - version: 4.0.1(graphql@16.8.1) - '@graphql-codegen/typescript-graphql-request': - specifier: 6.0.0 - version: 6.0.0(graphql-request@6.1.0)(graphql-tag@2.12.6)(graphql@16.8.1) - '@graphql-codegen/typescript-operations': - specifier: 4.0.1 - version: 4.0.1(graphql@16.8.1) '@storybook/addon-a11y': specifier: ^7.4.5 version: 7.4.5(@types/react-dom@18.2.7)(@types/react@18.2.23)(react-dom@18.2.0)(react@18.2.0) @@ -299,12 +266,6 @@ importers: autoprefixer: specifier: 10.4.16 version: 10.4.16(postcss@8.4.30) - graphql-codegen-typescript-common: - specifier: 0.18.2 - version: 0.18.2(graphql@16.8.1) - graphql-codegen-typescript-mock-data: - specifier: 3.5.0 - version: 3.5.0(graphql@16.8.1) postcss: specifier: 8.4.30 version: 8.4.30 @@ -342,6 +303,133 @@ importers: specifier: ^4.2.1 version: 4.2.1(typescript@5.2.2)(vite@4.4.9) + packages/graphql: + dependencies: + '@fuel-ts/math': + specifier: 0.59.0 + version: 0.59.0 + '@graphql-tools/delegate': + specifier: ^10.0.3 + version: 10.0.3(graphql@16.8.1) + '@graphql-tools/load': + specifier: ^8.0.0 + version: 8.0.0(graphql@16.8.1) + '@graphql-tools/schema': + specifier: ^10.0.0 + version: 10.0.0(graphql@16.8.1) + '@graphql-tools/stitch': + specifier: ^9.0.3 + version: 9.0.3(graphql@16.8.1) + '@graphql-tools/url-loader': + specifier: ^8.0.0 + version: 8.0.0(@types/node@20.7.0)(graphql@16.8.1) + '@graphql-tools/utils': + specifier: ^10.0.6 + version: 10.0.6(graphql@16.8.1) + cors: + specifier: ^2.8.5 + version: 2.8.5 + dayjs: + specifier: 1.11.10 + version: 1.11.10 + dotenv: + specifier: 16.3.1 + version: 16.3.1 + express: + specifier: ^4.18.2 + version: 4.18.2 + graphql: + specifier: '>=16.8.1' + version: 16.8.1 + graphql-http: + specifier: ^1.22.0 + version: 1.22.0(graphql@16.8.1) + graphql-playground-middleware-express: + specifier: ^1.7.23 + version: 1.7.23(express@4.18.2) + graphql-request: + specifier: 6.1.0 + version: 6.1.0(graphql@16.8.1) + graphql-tag: + specifier: 2.12.6 + version: 2.12.6(graphql@16.8.1) + lodash: + specifier: ^4.17.21 + version: 4.17.21 + tai64: + specifier: 1.0.0 + version: 1.0.0 + typescript: + specifier: ^5.2.2 + version: 5.2.2 + devDependencies: + '@babel/cli': + specifier: 7.23.0 + version: 7.23.0(@babel/core@7.23.0) + '@babel/core': + specifier: ^7.23.0 + version: 7.23.0 + '@babel/preset-env': + specifier: 7.22.20 + version: 7.22.20(@babel/core@7.23.0) + '@babel/preset-typescript': + specifier: 7.23.0 + version: 7.23.0(@babel/core@7.23.0) + '@fuels/ts-config': + specifier: ^0.0.11 + version: 0.0.11(typescript@5.2.2) + '@graphql-codegen/cli': + specifier: 5.0.0 + version: 5.0.0(@types/node@20.7.0)(graphql@16.8.1)(typescript@5.2.2) + '@graphql-codegen/introspection': + specifier: 4.0.0 + version: 4.0.0(graphql@16.8.1) + '@graphql-codegen/schema-ast': + specifier: 4.0.0 + version: 4.0.0(graphql@16.8.1) + '@graphql-codegen/typescript': + specifier: 4.0.1 + version: 4.0.1(graphql@16.8.1) + '@graphql-codegen/typescript-graphql-request': + specifier: 6.0.0 + version: 6.0.0(graphql-request@6.1.0)(graphql-tag@2.12.6)(graphql@16.8.1) + '@graphql-codegen/typescript-operations': + specifier: 4.0.1 + version: 4.0.1(graphql@16.8.1) + '@types/cors': + specifier: ^2.8.14 + version: 2.8.14 + '@types/express': + specifier: ^4.17.18 + version: 4.17.18 + '@types/lodash': + specifier: 4.14.199 + version: 4.14.199 + '@types/node': + specifier: ^20.7.0 + version: 20.7.0 + babel-plugin-import-graphql: + specifier: 2.8.1 + version: 2.8.1(graphql-tag@2.12.6)(graphql@16.8.1) + babel-register-ts: + specifier: 7.0.0 + version: 7.0.0(@babel/core@7.23.0) + graphql-codegen-typescript-common: + specifier: 0.18.2 + version: 0.18.2(graphql@16.8.1) + graphql-codegen-typescript-mock-data: + specifier: 3.5.0 + version: 3.5.0(graphql@16.8.1) + ts-node: + specifier: ^10.9.1 + version: 10.9.1(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2) + ts-node-dev: + specifier: ^2.0.0 + version: 2.0.0(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2) + tsconfig-paths: + specifier: ^4.2.0 + version: 4.2.0 + packages/indexer: devDependencies: nodemon: @@ -578,11 +666,11 @@ packages: graphql: '>=16.8.1' dependencies: '@babel/core': 7.23.0 - '@babel/generator': 7.22.15 - '@babel/parser': 7.22.16 + '@babel/generator': 7.23.0 + '@babel/parser': 7.23.0 '@babel/runtime': 7.22.15 - '@babel/traverse': 7.22.20 - '@babel/types': 7.22.19 + '@babel/traverse': 7.23.0 + '@babel/types': 7.23.0 babel-preset-fbjs: 3.4.0(@babel/core@7.23.0) chalk: 4.1.2 fb-watchman: 2.0.2 @@ -635,6 +723,26 @@ packages: default-browser-id: 3.0.0 dev: true + /@babel/cli@7.23.0(@babel/core@7.23.0): + resolution: {integrity: sha512-17E1oSkGk2IwNILM4jtfAvgjt+ohmpfBky8aLerUfYZhiPNg7ca+CRCxZn8QDxwNhV/upsc2VHBCqGFIR+iBfA==} + engines: {node: '>=6.9.0'} + hasBin: true + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@jridgewell/trace-mapping': 0.3.19 + commander: 4.1.1 + convert-source-map: 2.0.0 + fs-readdir-recursive: 1.1.0 + glob: 7.2.3 + make-dir: 2.1.0 + slash: 2.0.0 + optionalDependencies: + '@nicolo-ribaudo/chokidar-2': 2.1.8-no-fsevents.3 + chokidar: 3.5.3 + dev: true + /@babel/code-frame@7.22.13: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} @@ -668,16 +776,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/generator@7.22.15: - resolution: {integrity: sha512-Zu9oWARBqeVOW0dZOjXc3JObrzuqothQ3y/n1kUtrjCoCPLkXUwMvOo/F/TCfoHMbWIFlWwpZtkZVb9ga4U2pA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.22.19 - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.19 - jsesc: 2.5.2 - dev: true - /@babel/generator@7.23.0: resolution: {integrity: sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==} engines: {node: '>=6.9.0'} @@ -892,14 +990,6 @@ packages: chalk: 2.4.2 js-tokens: 4.0.0 - /@babel/parser@7.22.16: - resolution: {integrity: sha512-+gPfKv8UWeKKeJTUxe59+OobVcrYHETCsORl61EmSkmgymguYk/X5bp7GuUIXaFsc6y++v8ZxPsLSSuujqDphA==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.23.0 - dev: true - /@babel/parser@7.23.0: resolution: {integrity: sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==} engines: {node: '>=6.0.0'} @@ -1477,6 +1567,18 @@ packages: '@babel/helper-simple-access': 7.22.5 dev: true + /@babel/plugin-transform-modules-commonjs@7.23.0(@babel/core@7.23.0): + resolution: {integrity: sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-module-transforms': 7.23.0(@babel/core@7.23.0) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-simple-access': 7.22.5 + dev: true + /@babel/plugin-transform-modules-systemjs@7.22.11(@babel/core@7.23.0): resolution: {integrity: sha512-rIqHmHoMEOhI3VkVf5jQ15l539KrwhzqcBO6wdCNWPWc/JWt9ILNYNUssbRpeq0qWns8svuw8LnMNCvWBIJ8wA==} engines: {node: '>=6.9.0'} @@ -1900,7 +2002,7 @@ packages: '@babel/plugin-transform-logical-assignment-operators': 7.22.11(@babel/core@7.23.0) '@babel/plugin-transform-member-expression-literals': 7.22.5(@babel/core@7.23.0) '@babel/plugin-transform-modules-amd': 7.22.5(@babel/core@7.23.0) - '@babel/plugin-transform-modules-commonjs': 7.22.15(@babel/core@7.23.0) + '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.0) '@babel/plugin-transform-modules-systemjs': 7.22.11(@babel/core@7.23.0) '@babel/plugin-transform-modules-umd': 7.22.5(@babel/core@7.23.0) '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.0) @@ -1989,6 +2091,20 @@ packages: '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.0) dev: true + /@babel/preset-typescript@7.23.0(@babel/core@7.23.0): + resolution: {integrity: sha512-6P6VVa/NM/VlAYj5s2Aq/gdVg8FSENCg3wlZ6Qau9AcPaoF5LbN1nyGlR9DTRIw9PpxI94e+ReydsJHcjwAweg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.0) + '@babel/plugin-transform-modules-commonjs': 7.23.0(@babel/core@7.23.0) + '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.0) + dev: true + /@babel/register@7.22.15(@babel/core@7.23.0): resolution: {integrity: sha512-V3Q3EqoQdn65RCgTLwauZaTfd1ShhwPmbBv+1dkZV/HpCGMKVyn6oFcRlI7RaKqiDQjX2Qd3AuoEguBgdjIKlg==} engines: {node: '>=6.9.0'} @@ -2021,24 +2137,6 @@ packages: '@babel/parser': 7.23.0 '@babel/types': 7.23.0 - /@babel/traverse@7.22.20: - resolution: {integrity: sha512-eU260mPZbU7mZ0N+X10pxXhQFMGTeLb9eFS0mxehS8HZp9o1uSnFeWQuG1UPrlxgA7QoUzFhOnilHDp0AXCyHw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.13 - '@babel/generator': 7.23.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/traverse@7.23.0: resolution: {integrity: sha512-t/QaEvyIoIkwzpiZ7aoSKK8kObQYeF7T2v+dazAYCb8SXtp58zEVkWW7zAnju8FNKNdr4ScAOEDmMItbyOmEYw==} engines: {node: '>=6.9.0'} @@ -2056,15 +2154,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/types@7.22.19: - resolution: {integrity: sha512-P7LAw/LbojPzkgp5oznjE6tQEIWbp4PkkfrZDINTro9zgBRtI324/EYsiSI7lhPbpIQ+DCeR2NNmMWANGGfZsg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: true - /@babel/types@7.23.0: resolution: {integrity: sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==} engines: {node: '>=6.9.0'} @@ -3088,7 +3177,6 @@ packages: typescript: 5.2.2 dependencies: typescript: 5.2.2 - dev: false /@fuels/tsup-config@0.0.11(tsup@7.2.0): resolution: {integrity: sha512-OnLhm7qedbmynirYrMc+8deTQLaLSi5lH5C1OneNbxaaS8bI1mwDIKprU1jFZ1BMX6ef+Tk+UiRUhdJJ069kBQ==} @@ -3115,9 +3203,9 @@ packages: '@parcel/watcher': optional: true dependencies: - '@babel/generator': 7.22.15 + '@babel/generator': 7.23.0 '@babel/template': 7.22.15 - '@babel/types': 7.22.19 + '@babel/types': 7.23.0 '@graphql-codegen/core': 4.0.0(graphql@16.8.1) '@graphql-codegen/plugin-helpers': 5.0.1(graphql@16.8.1) '@graphql-tools/apollo-engine-loader': 8.0.0(graphql@16.8.1) @@ -3526,10 +3614,10 @@ packages: graphql: '>=16.8.1' dependencies: '@babel/core': 7.23.0 - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.23.0) - '@babel/traverse': 7.22.20 - '@babel/types': 7.22.19 + '@babel/traverse': 7.23.0 + '@babel/types': 7.23.0 '@graphql-tools/utils': 10.0.6(graphql@16.8.1) graphql: 16.8.1 tslib: 2.6.2 @@ -4240,6 +4328,12 @@ packages: requiresBuild: true optional: true + /@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3: + resolution: {integrity: sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==} + requiresBuild: true + dev: true + optional: true + /@noble/curves@1.1.0: resolution: {integrity: sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA==} dependencies: @@ -9129,6 +9223,12 @@ packages: dependencies: '@types/node': 20.7.0 + /@types/cors@2.8.14: + resolution: {integrity: sha512-RXHUvNWYICtbP6s18PnOCaqToK8y14DnLd75c6HfyKf228dxy7pHNOQkxPtvXKp/hINFMDjbYzsj63nnpPMSRQ==} + dependencies: + '@types/node': 20.7.0 + dev: true + /@types/cross-spawn@6.0.3: resolution: {integrity: sha512-BDAkU7WHHRHnvBf5z89lcvACsvkz/n7Tv+HyD/uW76O29HoH1Tk/W6iQrepaZVbisvlEek4ygwT8IW7ow9XLAA==} dependencies: @@ -9385,6 +9485,14 @@ packages: /@types/stack-utils@2.0.1: resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} + /@types/strip-bom@3.0.0: + resolution: {integrity: sha512-xevGOReSYGM7g/kUBZzPqCrR/KYAo+F0yiPc85WFTJa0MSLtyFTVTU6cJu/aV4mid7IffDIWqo69THF2o4JiEQ==} + dev: true + + /@types/strip-json-comments@0.0.30: + resolution: {integrity: sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==} + dev: true + /@types/tough-cookie@4.0.3: resolution: {integrity: sha512-THo502dA5PzG/sfQH+42Lw3fvmYkceefOspdCwpHRul8ik2Jv1K8I5OZz1AT3/rs46kwgMCe9bSBmDLYkkOMGg==} dev: false @@ -9876,7 +9984,6 @@ packages: dependencies: mime-types: 2.1.35 negotiator: 0.6.3 - dev: true /acorn-globals@7.0.1: resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} @@ -10145,7 +10252,6 @@ packages: /array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} - dev: true /array-includes@3.1.7: resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} @@ -10392,6 +10498,17 @@ packages: resolution: {integrity: sha512-LY3+Y0XVDYcShHHorshrDbt4KFWL4bSeniCtl4SYZbask+Syngk1uMPCeN9+nSiZo6zX5s0RTq/J9Pnaaf/KHw==} dev: true + /babel-plugin-import-graphql@2.8.1(graphql-tag@2.12.6)(graphql@16.8.1): + resolution: {integrity: sha512-j8Y0rWfMCd7Q63+hzCENrzbwYvQ9GfRbD3S50oHJ0SmEeRRVgLMxj+jXCBVLTFlmFLzY8UYVQQGx3FgrK3wajA==} + engines: {node: '>= 4.x'} + peerDependencies: + graphql: '>=16.8.1' + graphql-tag: ^2.1.0 + dependencies: + graphql: 16.8.1 + graphql-tag: 2.12.6(graphql@16.8.1) + dev: true + /babel-plugin-istanbul@6.1.1: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} engines: {node: '>=8'} @@ -10531,6 +10648,15 @@ packages: babel-plugin-jest-hoist: 29.6.3 babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.0) + /babel-register-ts@7.0.0(@babel/core@7.23.0): + resolution: {integrity: sha512-EpW+ANiWXOGS4cHxJEErbKG0fyMyzHNw9VyD2LU7gXRdjVP7BOK6a/MjF6On01/r3abzvvFEzcBSrD6dBNuR3w==} + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/register': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + dev: true + /balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -10599,7 +10725,6 @@ packages: unpipe: 1.0.0 transitivePeerDependencies: - supports-color - dev: true /boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} @@ -10770,7 +10895,6 @@ packages: /bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} - dev: true /c8@7.14.0: resolution: {integrity: sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==} @@ -11222,7 +11346,6 @@ packages: /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} - dev: true /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} @@ -11324,12 +11447,10 @@ packages: engines: {node: '>= 0.6'} dependencies: safe-buffer: 5.2.1 - dev: true /content-type@1.0.5: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} - dev: true /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} @@ -11339,12 +11460,10 @@ packages: /cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} - dev: true /cookie@0.5.0: resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} engines: {node: '>= 0.6'} - dev: true /copy-to-clipboard@3.3.3: resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==} @@ -11371,6 +11490,14 @@ packages: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: true + /cors@2.8.5: + resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} + engines: {node: '>= 0.10'} + dependencies: + object-assign: 4.1.1 + vary: 1.1.2 + dev: false + /cosmiconfig@7.1.0: resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==} engines: {node: '>=10'} @@ -11554,6 +11681,10 @@ packages: engines: {node: '>=4'} hasBin: true + /cssfilter@0.0.10: + resolution: {integrity: sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==} + dev: false + /cssom@0.3.8: resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} dev: false @@ -11611,7 +11742,6 @@ packages: optional: true dependencies: ms: 2.0.0 - dev: true /debug@3.2.7(supports-color@5.5.0): resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} @@ -11766,7 +11896,6 @@ packages: /depd@2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} - dev: true /dependency-graph@0.11.0: resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==} @@ -11791,7 +11920,6 @@ packages: /destroy@1.2.0: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - dev: true /detect-indent@6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} @@ -11965,6 +12093,12 @@ packages: stream-shift: 1.0.1 dev: true + /dynamic-dedupe@0.3.0: + resolution: {integrity: sha512-ssuANeD+z97meYOqd50e04Ze5qp4bPqo8cCkI4TRjZkzAUgIDTrXV1R8QCdINpiI+hw14+rYazvTRdQrz0/rFQ==} + dependencies: + xtend: 4.0.2 + dev: true + /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -11977,7 +12111,6 @@ packages: /ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - dev: true /ejs@3.1.9: resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} @@ -12025,7 +12158,6 @@ packages: /encodeurl@1.0.2: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} - dev: true /end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} @@ -12232,7 +12364,6 @@ packages: /escape-html@1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} - dev: true /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} @@ -12589,7 +12720,6 @@ packages: /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} - dev: true /ethereum-cryptography@2.1.2: resolution: {integrity: sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug==} @@ -12699,7 +12829,6 @@ packages: vary: 1.1.2 transitivePeerDependencies: - supports-color - dev: true /extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} @@ -12888,7 +13017,6 @@ packages: unpipe: 1.0.0 transitivePeerDependencies: - supports-color - dev: true /find-cache-dir@2.1.0: resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} @@ -13042,7 +13170,6 @@ packages: /forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} - dev: true /fraction.js@4.3.6: resolution: {integrity: sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==} @@ -13075,7 +13202,6 @@ packages: /fresh@0.5.2: resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} - dev: true /fs-constants@1.0.0: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} @@ -13109,6 +13235,10 @@ packages: resolution: {integrity: sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ==} dev: true + /fs-readdir-recursive@1.1.0: + resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==} + dev: true + /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} @@ -13459,6 +13589,15 @@ packages: - utf-8-validate dev: true + /graphql-http@1.22.0(graphql@16.8.1): + resolution: {integrity: sha512-9RBUlGJWBFqz9LwfpmAbjJL/8j/HCNkZwPBU5+Bfmwez+1Ay43DocMNQYpIWsWqH0Ftv6PTNAh2aRnnMCBJgLw==} + engines: {node: '>=12'} + peerDependencies: + graphql: '>=16.8.1' + dependencies: + graphql: 16.8.1 + dev: false + /graphql-import@0.7.1(graphql@16.8.1): resolution: {integrity: sha512-YpwpaPjRUVlw2SN3OPljpWbVRWAhMAyfSba5U47qGMOSsPLi2gYeJtngGpymjm9nk57RFWEpjqwh4+dpYuFAPw==} engines: {node: '>=4.0.0'} @@ -13471,6 +13610,21 @@ packages: resolve-from: 4.0.0 dev: true + /graphql-playground-html@1.6.30: + resolution: {integrity: sha512-tpCujhsJMva4aqE8ULnF7/l3xw4sNRZcSHu+R00VV+W0mfp+Q20Plvcrp+5UXD+2yS6oyCXncA+zoQJQqhGCEw==} + dependencies: + xss: 1.0.14 + dev: false + + /graphql-playground-middleware-express@1.7.23(express@4.18.2): + resolution: {integrity: sha512-M/zbTyC1rkgiQjFSgmzAv6umMHOphYLNWZp6Ye5QrD77WfGOOoSqDsVmGUczc2pDkEPEzzGB/bvBO5rdzaTRgw==} + peerDependencies: + express: ^4.16.2 + dependencies: + express: 4.18.2 + graphql-playground-html: 1.6.30 + dev: false + /graphql-request@5.2.0(graphql@16.8.1): resolution: {integrity: sha512-pLhKIvnMyBERL0dtFI3medKqWOz/RhHdcgbZ+hMMIb32mEPa5MJSzS4AuXxfI4sRAu6JVVk5tvXuGfCWl9JYWQ==} peerDependencies: @@ -13803,7 +13957,6 @@ packages: setprototypeof: 1.2.0 statuses: 2.0.1 toidentifier: 1.0.1 - dev: true /http-proxy-agent@5.0.0: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} @@ -13891,7 +14044,6 @@ packages: engines: {node: '>=0.10.0'} dependencies: safer-buffer: 2.1.2 - dev: true /iconv-lite@0.6.3: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} @@ -14057,7 +14209,6 @@ packages: /ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} - dev: true /is-absolute-url@3.0.3: resolution: {integrity: sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q==} @@ -15593,7 +15744,6 @@ packages: /media-typer@0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} - dev: true /memfs@3.5.3: resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} @@ -15614,7 +15764,6 @@ packages: /merge-descriptors@1.0.1: resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} - dev: true /merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -15641,7 +15790,6 @@ packages: /methods@1.1.2: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} - dev: true /micromatch@4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} @@ -15672,7 +15820,6 @@ packages: resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} engines: {node: '>=4'} hasBin: true - dev: true /mime@2.6.0: resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==} @@ -15781,7 +15928,6 @@ packages: /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - dev: true /ms@2.1.1: resolution: {integrity: sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==} @@ -15838,7 +15984,6 @@ packages: /negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} - dev: true /neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} @@ -16141,7 +16286,6 @@ packages: engines: {node: '>= 0.8'} dependencies: ee-first: 1.1.1 - dev: true /on-headers@1.0.2: resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==} @@ -16361,7 +16505,6 @@ packages: /parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} - dev: true /pascal-case@2.0.1: resolution: {integrity: sha512-qjS4s8rBOJa2Xm0jmxXiyh1+OFf6ekCWOvUaRgAQSktzlTbMotS0nmG9gyYAybCWBcuP4fsBeRCKNwGBnMe2OQ==} @@ -16449,7 +16592,6 @@ packages: /path-to-regexp@0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} - dev: true /path-type@3.0.0: resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==} @@ -16825,7 +16967,6 @@ packages: dependencies: forwarded: 0.2.0 ipaddr.js: 1.9.1 - dev: true /proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} @@ -16917,7 +17058,6 @@ packages: engines: {node: '>=0.6'} dependencies: side-channel: 1.0.4 - dev: true /qs@6.11.2: resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==} @@ -16970,7 +17110,6 @@ packages: /range-parser@1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} engines: {node: '>= 0.6'} - dev: true /raw-body@2.5.1: resolution: {integrity: sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==} @@ -16980,7 +17119,6 @@ packages: http-errors: 2.0.0 iconv-lite: 0.4.24 unpipe: 1.0.0 - dev: true /react-aria@3.28.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-M0R12U5X83zktim4V/4le7KEV4REu25yDr6zOwRFOTXwILLxYsmWnaajX7ye5da84tl4kDjYoJIKJWVNvhjNoA==} @@ -17767,7 +17905,6 @@ packages: /safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - dev: true /safe-regex-test@1.0.0: resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} @@ -17873,7 +18010,6 @@ packages: statuses: 2.0.1 transitivePeerDependencies: - supports-color - dev: true /sentence-case@2.1.1: resolution: {integrity: sha512-ENl7cYHaK/Ktwk5OTD+aDbQ3uC8IByu/6Bkg+HDv8Mm+XnBnppVNalcfJTNsp1ibstKh030/JKQQWglDvtKwEQ==} @@ -17917,7 +18053,6 @@ packages: send: 0.18.0 transitivePeerDependencies: - supports-color - dev: true /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} @@ -17942,7 +18077,6 @@ packages: /setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - dev: true /sha.js@2.4.11: resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} @@ -18028,6 +18162,11 @@ packages: /sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + /slash@2.0.0: + resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==} + engines: {node: '>=6'} + dev: true + /slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -18207,7 +18346,6 @@ packages: /statuses@2.0.1: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} - dev: true /stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} @@ -18376,6 +18514,11 @@ packages: dependencies: min-indent: 1.0.1 + /strip-json-comments@2.0.1: + resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} + engines: {node: '>=0.10.0'} + dev: true + /strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} @@ -18758,7 +18901,6 @@ packages: /toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} - dev: true /touch@3.1.0: resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} @@ -18843,6 +18985,34 @@ packages: resolution: {integrity: sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==} dev: true + /ts-node-dev@2.0.0(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2): + resolution: {integrity: sha512-ywMrhCfH6M75yftYvrvNarLEY+SUXtUvU8/0Z6llrHQVBx12GiFk5sStF8UdfE/yfzk9IAq7O5EEbTQsxlBI8w==} + engines: {node: '>=0.8.0'} + hasBin: true + peerDependencies: + node-notifier: '*' + typescript: '*' + peerDependenciesMeta: + node-notifier: + optional: true + dependencies: + chokidar: 3.5.3 + dynamic-dedupe: 0.3.0 + minimist: 1.2.8 + mkdirp: 1.0.4 + resolve: 1.22.6 + rimraf: 2.7.1 + source-map-support: 0.5.21 + tree-kill: 1.2.2 + ts-node: 10.9.1(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2) + tsconfig: 7.0.0 + typescript: 5.2.2 + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' + dev: true + /ts-node@10.9.1(@swc/core@1.3.89)(@types/node@20.7.0)(typescript@5.2.2): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true @@ -18925,6 +19095,15 @@ packages: strip-bom: 3.0.0 dev: true + /tsconfig@7.0.0: + resolution: {integrity: sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw==} + dependencies: + '@types/strip-bom': 3.0.0 + '@types/strip-json-comments': 0.0.30 + strip-bom: 3.0.0 + strip-json-comments: 2.0.1 + dev: true + /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} @@ -19111,7 +19290,6 @@ packages: dependencies: media-typer: 0.3.0 mime-types: 2.1.35 - dev: true /typed-array-buffer@1.0.0: resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} @@ -19258,7 +19436,6 @@ packages: /unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - dev: true /unplugin@1.5.0: resolution: {integrity: sha512-9ZdRwbh/4gcm1JTOkp9lAkIDrtOyOxgHmY7cjuwI8L/2RTikMcVG25GsZwNAgRuap3iDw2jeq7eoqtAsz5rW3A==} @@ -19416,7 +19593,6 @@ packages: /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} - dev: true /uuid@3.4.0: resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} @@ -19457,7 +19633,6 @@ packages: /vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - dev: true /verror@1.10.0: resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} @@ -19864,6 +20039,15 @@ packages: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} dev: false + /xss@1.0.14: + resolution: {integrity: sha512-og7TEJhXvn1a7kzZGQ7ETjdQVS2UfZyTlsEdDOqvQF7GoxNfY+0YLCzBy1kPdsDDx4QuNAonQPddpsn6Xl/7sw==} + engines: {node: '>= 0.10.0'} + hasBin: true + dependencies: + commander: 2.20.3 + cssfilter: 0.0.10 + dev: false + /xstate@4.38.2: resolution: {integrity: sha512-Fba/DwEPDLneHT3tbJ9F3zafbQXszOlyCJyQqqdzmtlY/cwE2th462KK48yaANf98jHlP6lJvxfNtN0LFKXPQg==} From b49d451da9cdbee78cb270886cefe241418854b2 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 21:38:17 -0300 Subject: [PATCH 08/13] chore: remove build script from graphql --- packages/graphql/package.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 412c45f30..d57833a92 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -9,15 +9,11 @@ "types": "./src/index.ts", "typings": "./src/index.ts", "scripts": { - "build": "run-s codegen build:*", - "build:lib": "babel ./src --out-dir dist --extensions .ts --source-maps", - "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json", "dev": "node -r babel-register-ts src/bin.ts", "start": "pnpm dev", "codegen": "gql-gen --config codegen.ts", "codegen:schema": "gql-gen --config codegen.schema.ts", - "fix:generated": "node ./scripts/fix-generated.mjs", - "prepare": "pnpm build" + "fix:generated": "node ./scripts/fix-generated.mjs" }, "dependencies": { "@fuel-ts/math": "0.59.0", From 08c1d49365c0127a3da238c6d4332d457680ea72 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 21:54:32 -0300 Subject: [PATCH 09/13] fix: eslint warnings --- packages/app/src/systems/Transaction/component/__mocks__/tx.ts | 2 +- packages/graphql/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/app/src/systems/Transaction/component/__mocks__/tx.ts b/packages/app/src/systems/Transaction/component/__mocks__/tx.ts index a0eca0de6..47b0e298e 100644 --- a/packages/app/src/systems/Transaction/component/__mocks__/tx.ts +++ b/packages/app/src/systems/Transaction/component/__mocks__/tx.ts @@ -1,5 +1,5 @@ +import { mocks } from '@fuel-explorer/graphql'; import { bn } from '@fuel-ts/math'; -import * as mocks from '~/graphql/generated/mocks'; import { dayjs } from '~/systems/Core/utils/dayjs'; const status = mocks.aSuccessStatus({ diff --git a/packages/graphql/package.json b/packages/graphql/package.json index d57833a92..0d754c093 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -13,7 +13,8 @@ "start": "pnpm dev", "codegen": "gql-gen --config codegen.ts", "codegen:schema": "gql-gen --config codegen.schema.ts", - "fix:generated": "node ./scripts/fix-generated.mjs" + "fix:generated": "node ./scripts/fix-generated.mjs", + "prepare": "pnpm codegen" }, "dependencies": { "@fuel-ts/math": "0.59.0", From 3c8117db0884de7a37b504d26b56fb4aeed7cd63 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 21:56:49 -0300 Subject: [PATCH 10/13] fix: build --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 7c6abc99a..78a13cd25 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,5 @@ { - "buildCommand": "pnpm -w build:preview", + "buildCommand": "cd ../../ && pnpm build:preview", "github": { "silent": true } From 92360dc2cd6dca1f4f91ca9b2b91212a0564dcca Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 21:57:57 -0300 Subject: [PATCH 11/13] fix: build --- packages/app/package.json | 2 +- vercel.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/package.json b/packages/app/package.json index c2e4a7787..0bfbd3f06 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "next build", "build:storybook": "./scripts/build-storybook.sh", - "build:preview": "run-s codegen build:storybook build", + "build:preview": "run-s build:storybook build", "dev": "next dev", "dev:storybook": "storybook dev -p 6007", "start": "next start", diff --git a/vercel.json b/vercel.json index 78a13cd25..7c6abc99a 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,5 @@ { - "buildCommand": "cd ../../ && pnpm build:preview", + "buildCommand": "pnpm -w build:preview", "github": { "silent": true } From eb2ee44d949f0551c74ac43db32c513b61eeedfd Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 22:02:06 -0300 Subject: [PATCH 12/13] fix: build --- packages/app/src/graphql.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/app/src/graphql.d.ts diff --git a/packages/app/src/graphql.d.ts b/packages/app/src/graphql.d.ts new file mode 100644 index 000000000..a7eac6db2 --- /dev/null +++ b/packages/app/src/graphql.d.ts @@ -0,0 +1,5 @@ +declare module '*.graphql' { + import type { DocumentNode } from 'graphql'; + const Schema: DocumentNode; + export = Schema; +} From f53f0f14f6061fa80ec8834b7f50ce1da4f22154 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 26 Sep 2023 22:07:53 -0300 Subject: [PATCH 13/13] fix: build --- packages/app/src/systems/Core/utils/client.ts | 16 ---------------- packages/app/src/systems/Core/utils/sdk.ts | 15 +++++++++++++-- 2 files changed, 13 insertions(+), 18 deletions(-) delete mode 100644 packages/app/src/systems/Core/utils/client.ts diff --git a/packages/app/src/systems/Core/utils/client.ts b/packages/app/src/systems/Core/utils/client.ts deleted file mode 100644 index 51193aa26..000000000 --- a/packages/app/src/systems/Core/utils/client.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { getSdk } from '@fuel-explorer/graphql'; -import { GraphQLClient } from 'graphql-request'; -import { resolve } from 'url'; - -const VERCEL_URL = process.env.VERCEL_URL || process.env.NEXT_PUBLIC_VERCEL_URL; -const VERCEL_ENV = - process.env.VERCEL_ENV || process.env.NEXT_PUBLIC_VERCEL_ENV || 'development'; - -const getBaseUrl = () => { - if (VERCEL_ENV !== 'development') return `https://${VERCEL_URL}`; - return 'http://localhost:3000'; -}; - -const API_URL = resolve(getBaseUrl(), '/api/graphql'); -const graphql = new GraphQLClient(API_URL); -export const client = getSdk(graphql); diff --git a/packages/app/src/systems/Core/utils/sdk.ts b/packages/app/src/systems/Core/utils/sdk.ts index 3aa0db9dc..3194445e8 100644 --- a/packages/app/src/systems/Core/utils/sdk.ts +++ b/packages/app/src/systems/Core/utils/sdk.ts @@ -1,5 +1,16 @@ import { getSdk } from '@fuel-explorer/graphql'; import { GraphQLClient } from 'graphql-request'; +import { resolve } from 'url'; -const graphql = new GraphQLClient(process.env.GRAPHQL_API!); -export const sdk = getSdk(graphql); +const VERCEL_URL = process.env.VERCEL_URL || process.env.NEXT_PUBLIC_VERCEL_URL; +const VERCEL_ENV = + process.env.VERCEL_ENV || process.env.NEXT_PUBLIC_VERCEL_ENV || 'development'; + +const getBaseUrl = () => { + if (VERCEL_ENV !== 'development') return `https://${VERCEL_URL}`; + return 'http://localhost:3000'; +}; + +const API_URL = resolve(getBaseUrl(), '/api/graphql'); +const client = new GraphQLClient(API_URL); +export const sdk = getSdk(client);